Home | History | Annotate | Download | only in eigen2

Lines Matching defs:svd

11 #include <Eigen/SVD>
13 template<typename MatrixType> void svd(const MatrixType& m)
16 SVD.h
33 SVD<MatrixType> svd(a);
36 sigma.block(0,0,cols,cols) = svd.singularValues().asDiagonal();
37 matU.block(0,0,rows,cols) = svd.matrixU();
38 VERIFY_IS_APPROX(a, matU * sigma * svd.matrixV().transpose());
49 SVD<MatrixType> svd(a);
50 svd.solve(b, &x);
57 SVD<MatrixType> svd(a);
59 svd.computeUnitaryPositive(&unitary, &positive);
65 svd.computePositiveUnitary(&positive, &unitary);
76 CALL_SUBTEST_1( svd(Matrix3f()) );
77 CALL_SUBTEST_2( svd(Matrix4d()) );
78 CALL_SUBTEST_3( svd(MatrixXf(7,7)) );
79 CALL_SUBTEST_4( svd(MatrixXd(14,7)) );
81 // CALL_SUBTEST( svd(MatrixXcd(6,6)) );
82 // CALL_SUBTEST( svd(MatrixXcf(3,3)) );
83 SVD<MatrixXf> s;