ref.cpp | 54 Index bcols = internal::random<Index>(1,cols-j); local 60 RefDynMat rm2 = m1.block(i,j,brows,bcols); 61 VERIFY_IS_EQUAL(rm2, m1.block(i,j,brows,bcols)); 63 m2.block(i,j,brows,bcols).setOnes(); 66 m2.block(i,j,brows,bcols).setRandom(); 67 rm2 = m2.block(i,j,brows,bcols); 70 ConstRefDynMat rm3 = m1.block(i,j,brows,bcols); 71 m1.block(i,j,brows,bcols) *= 2; 72 m2.block(i,j,brows,bcols) *= 2; 73 VERIFY_IS_EQUAL(rm3, m2.block(i,j,brows,bcols)); [all...] |