Automatic Differentiation
 
Loading...
Searching...
No Matches
factor_U.hpp File Reference
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/atanh.hpp>
#include <stan/math/prim/fun/sqrt.hpp>
#include <cstddef>
#include <stdexcept>
#include <vector>

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_U , typename T_CPCs , require_eigen_t< T_U > * = nullptr, require_eigen_vector_t< T_CPCs > * = nullptr, require_vt_same< T_U, T_CPCs > * = nullptr>
void stan::math::factor_U (const T_U &U, T_CPCs &&CPCs)
 This function is intended to make starting values, given a unit upper-triangular matrix U such that U'DU is a correlation matrix.