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

◆ symmetrize_from_lower_tri() [1/3]

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

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

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

Definition at line 21 of file symmetrize_from_lower_tri.hpp.