/external/eigen/test/eigen2/ |
eigen2_svd.cpp | 11 #include <Eigen/SVD> 13 template<typename MatrixType> void svd(const MatrixType& m) function 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) [all...] |
/external/eigen/unsupported/test/ |
jacobisvd.cpp | 14 void jacobisvd_check_full(const MatrixType& m, const JacobiSVD<MatrixType, QRPreconditioner>& svd) 16 svd_check_full<MatrixType, JacobiSVD<MatrixType, QRPreconditioner > >(m, svd); 128 JacobiSVD<Matrix2d> svd; local 129 svd.compute(M); // just check we don't loop indefinitely
|
svd_common.h | 21 #include <unsupported/Eigen/SVD> 25 // check if "svd" is the good image of "m" 26 template<typename MatrixType, typename SVD> 27 void svd_check_full(const MatrixType& m, const SVD& svd) 43 sigma.diagonal() = svd.singularValues().template cast<Scalar>(); 44 MatrixUType u = svd.matrixU(); 45 MatrixVType v = svd.matrixV(); 54 template<typename MatrixType, typename SVD> 57 const SVD& referenceSvd 154 SVD svd; local 199 SVD svd; local 227 SVD svd; local [all...] |
/external/opencv3/modules/stitching/src/ |
motion_estimators.cpp | 285 SVD svd; local 293 svd(cameras[i].R, SVD::FULL_UV); 294 Mat R = svd.u * svd.vt; 466 SVD svd; local 471 svd(cameras[i].R, SVD::FULL_UV) [all...] |