Automatic Differentiation
 
Loading...
Searching...
No Matches
symmetrize_from_upper_tri.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , require_eigen_t< T > * = nullptr>
Eigen::Matrix< value_type_t< T >, Eigen::Dynamic, Eigen::Dynamic > stan::math::symmetrize_from_upper_tri (const T &m)
 Return a symmetric matrix using elements from the upper triangular part of the input matrix.