Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ singular_values() [2/2]

template<typename EigMat , require_rev_matrix_t< EigMat > * = nullptr>
auto stan::math::singular_values ( const EigMat &  m)
inline

Return the singular values of the specified matrix.

Adjoint update equation comes from Equation (4) in Differentiable Programming Tensor Networks(H. Liao, J. Liu, et al., arXiv:1903.09650).

Template Parameters
EigMattype of input matrix
Parameters
mMxN input matrix
Returns
Singular values of matrix

Definition at line 23 of file singular_values.hpp.