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

◆ symmetrize_from_lower_tri() [2/3]

template<typename T , require_all_kernel_expressions_and_none_scalar_t< T > * = nullptr>
var_value< matrix_cl< double > > stan::math::symmetrize_from_lower_tri ( const var_value< T > &  A)
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
AMatrix.
Exceptions
std:invalid_argumentif the matrix is not square.

Definition at line 22 of file symmetrize_from_lower_tri.hpp.