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

◆ symmetrize_from_lower_tri() [3/3]

template<typename T , require_eigen_t< T > * = nullptr>
Eigen::Matrix< value_type_t< T >, Eigen::Dynamic, Eigen::Dynamic > stan::math::symmetrize_from_lower_tri ( const T &  m)
inline

Return a symmetric matrix using elements from the lower triangular part of the input matrix.

Template Parameters
Ttype of elements in the matrix
Parameters
mMatrix.
Exceptions
std:invalid_argumentif the matrix is not square.

Definition at line 20 of file symmetrize_from_lower_tri.hpp.