Home | History | Annotate | Download | only in eigen2

Lines Matching refs:c1

19     CheckMinor(MatrixType& m1, int r1, int c1)
26 mi = m1.minor(r1,c1);
27 VERIFY_IS_APPROX(mi.transpose(), m1.transpose().minor(c1,r1));
29 m1.minor(r1,c1)(0,0) = m1.minor(0,0)(0,0);
69 int c1 = ei_random<int>(0,cols-1);
70 int c2 = ei_random<int>(c1,cols-1);
73 VERIFY_IS_APPROX(m1.col(c1).transpose(), m1.transpose().row(c1));
74 VERIFY_IS_APPROX(square.row(r1).eigen2_dot(m1.col(c1)), (square.lazy() * m1.conjugate())(r1,c1));
77 m1.col(c1) += s1 * m1.col(c2);
80 Matrix<Scalar,Dynamic,Dynamic> b1(1,1); b1(0,0) = m1(r1,c1);
82 VectorType bc1(m1.block(0,c1,rows,1));
83 VERIFY_IS_APPROX(b1, m1.block(r1,c1,1,1));
85 VERIFY_IS_APPROX(m1.col(c1), bc1);
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);
91 CheckMinor<Scalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> checkminor(m1,r1,c1);
131 VERIFY(ei_real(ones.col(c1).sum()) == RealScalar(rows));
134 VERIFY(ei_real(ones.col(c1).eigen2_dot(ones.col(c2))) == RealScalar(rows));