DirectionWise_replicate.cpp (186B)
1 MatrixXi m = MatrixXi::Random(2,3); 2 cout << "Here is the matrix m:" << endl << m << endl; 3 cout << "m.colwise().replicate<3>() = ..." << endl; 4 cout << m.colwise().replicate<3>() << endl;
cart-elcSource code for CART-ELC | |
| git clone git://git.laack.co/cart-elc.git | |
| Log | Files | Refs | README | LICENSE |