Stan Math Library
5.0.0
Automatic Differentiation
|
std::tuple< Eigen::Matrix< value_type_t< EigMat >, -1, -1 >, Eigen::Matrix< base_type_t< EigMat >, -1, 1 >, Eigen::Matrix< value_type_t< EigMat >, -1, -1 > > stan::math::svd | ( | const EigMat & | m | ) |
Given input matrix m, return the singular value decomposition (U,D,V) such that m = U*diag(D)*V^{T}
EigMat | type of the matrix |
m | MxN input matrix |