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

◆ symmetrize_from_upper_tri() [1/3]

template<typename T_x , require_all_kernel_expressions_and_none_scalar_t< T_x > * = nullptr>
auto stan::math::symmetrize_from_upper_tri ( T_x &&  x)
inline

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

Template Parameters
T_xtype of the matrix
Parameters
xMatrix.
Exceptions
std:invalid_argumentif the matrix is not square.

Definition at line 21 of file symmetrize_from_upper_tri.hpp.