Home | History | Annotate | Download | only in test

Lines Matching refs:cod

16 void cod() {
30 CompleteOrthogonalDecomposition<MatrixType> cod(matrix);
31 VERIFY(rank == cod.rank());
32 VERIFY(cols - cod.rank() == cod.dimensionOfKernel());
33 VERIFY(!cod.isInjective());
34 VERIFY(!cod.isInvertible());
35 VERIFY(!cod.isSurjective());
37 MatrixQType q = cod.householderQ();
40 MatrixType z = cod.matrixZ();
46 cod.matrixT().topLeftCorner(rank, rank).template triangularView<Upper>();
48 MatrixType c = q * t * z * cod.colsPermutation().inverse();
53 MatrixType cod_solution = cod.solve(rhs);
61 MatrixType pinv = cod.pseudoInverse();
75 CompleteOrthogonalDecomposition<Matrix<Scalar, Rows, Cols> > cod(matrix);
76 VERIFY(rank == cod.rank());
77 VERIFY(Cols - cod.rank() == cod.dimensionOfKernel());
78 VERIFY(cod.isInjective() == (rank == Rows));
79 VERIFY(cod.isSurjective() == (rank == Cols));
80 VERIFY(cod.isInvertible() == (cod.isInjective() && cod.isSurjective()));
85 Matrix<Scalar, Cols, Cols2> cod_solution = cod.solve(rhs);
315 CALL_SUBTEST_1( cod<MatrixXf>() );
316 CALL_SUBTEST_2( cod<MatrixXd>() );
317 CALL_SUBTEST_3( cod<MatrixXcd>() );