Home | History | Annotate | Download | only in test

Lines Matching refs:ldm1

32   LeftDiagonalMatrix ldm1(v1), ldm2(v2);
44 ldm1 = v1.asDiagonal();
46 VERIFY_IS_APPROX(ldm1.diagonal(), ldm3.diagonal());
48 VERIFY_IS_APPROX(ldm1.diagonal(), ldm4.diagonal());
50 sq_m1.block(0,0,rows,rows) = ldm1;
51 VERIFY_IS_APPROX(sq_m1, ldm1.toDenseMatrix());
52 sq_m1.transpose() = ldm1;
53 VERIFY_IS_APPROX(sq_m1, ldm1.toDenseMatrix());
58 VERIFY_IS_APPROX( ((ldm1 * m1)(i,j)) , ldm1.diagonal()(i) * m1(i,j) );
59 VERIFY_IS_APPROX( ((ldm1 * (m1+m2))(i,j)) , ldm1.diagonal()(i) * (m1+m2)(i,j) );
82 VERIFY_IS_APPROX(LeftDiagonalMatrix(ldm1*s1).diagonal(), ldm1.diagonal() * s1);
83 VERIFY_IS_APPROX(LeftDiagonalMatrix(s1*ldm1).diagonal(), s1 * ldm1.diagonal());