Lines Matching refs:block
25 VERIFY_IS_APPROX(mi, m1.block(1,1,rows-1,cols-1));
42 Row.h Column.h Block.h Minor.h DiagonalCoeffs.h
79 //check block()
81 RowVectorType br1(m1.block(r1,0,1,cols));
82 VectorType bc1(m1.block(0,c1,rows,1));
83 VERIFY_IS_APPROX(b1, m1.block(r1,c1,1,1));
86 //check operator(), both constant and non-constant, on block()
87 m1.block(r1,c1,r2-r1+1,c2-c1+1) = s1 * m2.block(0, 0, r2-r1+1,c2-c1+1);
88 m1.block(r1,c1,r2-r1+1,c2-c1+1)(r2-r1,c2-c1) = m2.block(0, 0, r2-r1+1,c2-c1+1)(0,0);
105 // test fixed block() as lvalue
106 m1.template block<BlockRows,BlockCols>(1,1) *= s1;
107 // test operator() on fixed block() both as constant and non-constant
108 m1.template block<BlockRows,BlockCols>(1,1)(0, 3) = m1.template block<2,5>(1,1)(1,2);
109 // check that fixed block() and block() agree
110 Matrix<Scalar,Dynamic,Dynamic> b = m1.template block<BlockRows,BlockCols>(3,3);
111 VERIFY_IS_APPROX(b, m1.block(3,3,BlockRows,BlockCols));
117 VERIFY_IS_APPROX(v1.template start<2>(), v1.block(0,0,2,1));
122 VERIFY_IS_APPROX(v1.template end<2>(), v1.block(i,0,2,1));
130 // stress some basic stuffs with block matrices