Lines Matching refs:MatrixXd
244 MatrixXd mat1(6,6), mat2(6,6); in test_evaluators()
245 VERIFY_IS_APPROX_EVALUATOR(mat1, MatrixXd::Identity(6,6)); in test_evaluators()
361 arr2.matrix() = MatrixXd::Identity(6,6); in test_evaluators()
362 VERIFY_IS_APPROX(arr2, MatrixXd::Identity(6,6).array()); in test_evaluators()
392 MatrixXd mat1, mat2, mat1ref, mat2ref; in test_evaluators()
393 mat1ref = mat1 = MatrixXd::Random(6, 6); in test_evaluators()
394 mat2ref = mat2 = 2 * mat1 + MatrixXd::Identity(6, 6); in test_evaluators()
438 MatrixXd A = MatrixXd::Random(6,6), B(6,6), C(6,6), D(6,6); in test_evaluators()
440 VERIFY_IS_APPROX_EVALUATOR2(B, A.triangularView<Upper>(), MatrixXd(A.triangularView<Upper>())); in test_evaluators()
443 …VERIFY_IS_APPROX_EVALUATOR2(B, A.triangularView<UnitLower>(), MatrixXd(A.triangularView<UnitLower>… in test_evaluators()
446 …VERIFY_IS_APPROX_EVALUATOR2(B, A.triangularView<UnitUpper>(), MatrixXd(A.triangularView<UnitUpper>… in test_evaluators()
471 …VERIFY_IS_APPROX_EVALUATOR2(B, prod(A.triangularView<Upper>(),A), MatrixXd(A.triangularView<Upper>… in test_evaluators()
473 …VERIFY_IS_APPROX_EVALUATOR2(B, prod(A.selfadjointView<Upper>(),A), MatrixXd(A.selfadjointView<Uppe… in test_evaluators()
479 MatrixXd A = MatrixXd::Random(6,6), B(6,6); in test_evaluators()
482 VERIFY_IS_APPROX_EVALUATOR2(B, lazyprod(d.asDiagonal(),A), MatrixXd(d.asDiagonal()*A)); in test_evaluators()
483 VERIFY_IS_APPROX_EVALUATOR2(B, lazyprod(A,d.asDiagonal()), MatrixXd(A*d.asDiagonal())); in test_evaluators()