1 #ifndef STAN_MATH_REV_MAT_FUN_LOG_DETERMINANT_LDLT_HPP 2 #define STAN_MATH_REV_MAT_FUN_LOG_DETERMINANT_LDLT_HPP 23 template <
int R,
int C>
30 Eigen::Matrix<double, R, C> invA;
47 template <
int R,
int C>
A template specialization of src/stan/math/matrix/LDLT_factor.hpp for var which can be used with all ...
const LDLT_alloc< R, C > * alloc_ldlt_
The variable implementation base class.
This object stores the actual (double typed) LDLT factorization of an Eigen::Matrix<var> along with p...
Independent (input) and dependent (output) variables for gradients.
Returns the log det of the matrix whose LDLT factorization is given See The Matrix Cookbook's chapter...
virtual void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
log_det_ldlt_vari(const LDLT_factor< var, R, C > &A)
double adj_
The adjoint of this variable, which is the partial derivative of this variable with respect to the ro...
T log_determinant_ldlt(LDLT_factor< T, R, C > &A)