![]() |
Stan Math Library
5.4.0
Automatic Differentiation
|
#include <stan/math/rev/core.hpp>#include <stan/math/rev/fun/dot_product.hpp>#include <stan/math/rev/fun/log_cosh.hpp>#include <stan/math/rev/fun/to_arena.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/Eigen.hpp>#include <stan/math/prim/fun/log_cosh.hpp>#include <stan/math/prim/fun/sech.hpp>#include <stan/math/prim/fun/tanh.hpp>#include <stan/math/prim/constraint/cholesky_corr_constrain.hpp>#include <utility>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. | |
| namespace | stan::math::internal |
| A comparator that works for any container type that has the brackets operator. | |
Functions | |
| template<CorrOrder Order, typename T , require_var_vector_t< T > * = nullptr> | |
| var_value< Eigen::MatrixXd > | stan::math::internal::cholesky_corr_factor (T &&y, Eigen::Index K) |
Return the Cholesky factor of a correlation matrix from unconstrained values y, whose partial correlations are tanh(y), as the prim version does. | |
| template<typename T , require_var_vector_t< T > * = nullptr> | |
| var_value< Eigen::MatrixXd > | stan::math::cholesky_corr_constrain (T &&y, int K) |
Return the Cholesky factor of the correlation matrix of the specified size read from the unconstrained vector y. | |
| template<typename T , require_var_vector_t< T > * = nullptr> | |
| var_value< Eigen::MatrixXd > | stan::math::cholesky_corr_constrain (T &&y, int K, scalar_type_t< T > &lp) |
Return the Cholesky factor of the correlation matrix of the specified size read from the unconstrained vector y. | |