Tutorial_range_for_loop_2d_cxx11.cpp (148B)
1 Matrix2i A = Matrix2i::Random(); 2 cout << "Here are the coeffs of the 2x2 matrix A:\n"; 3 for(auto x : A.reshaped()) 4 cout << x << " "; 5 cout << "\n";
cart-elcSource code for CART-ELC | |
| git clone git://git.laack.co/cart-elc.git | |
| Log | Files | Refs | README | LICENSE |