cart-elc

Source code for CART-ELC
git clone git://git.laack.co/cart-elc.git
Log | Files | Refs | README | LICENSE

MatrixBase_rightCols_int.cpp (239B)


      1 Array44i a = Array44i::Random();
      2 cout << "Here is the array a:" << endl << a << endl;
      3 cout << "Here is a.rightCols(2):" << endl;
      4 cout << a.rightCols(2) << endl;
      5 a.rightCols(2).setZero();
      6 cout << "Now the array a is:" << endl << a << endl;