Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
log_determinant_ldlt.hpp
Go to the documentation of this file.
1 #ifndef STAN__MATH__MATRIX__LOG_DETERMINANT_LDLT_HPP
2 #define STAN__MATH__MATRIX__LOG_DETERMINANT_LDLT_HPP
3 
5 
6 namespace stan {
7  namespace math {
8 
9  // Returns log(abs(det(A))) given a LDLT_factor of A
10  template<int R, int C, typename T>
11  inline T
13  return A.log_abs_det();
14  }
15 
16  }
17 }
18 #endif
LDLT_factor is a thin wrapper on Eigen::LDLT to allow for reusing factorizations and efficient autodi...
Definition: LDLT_factor.hpp:56
T log_determinant_ldlt(stan::math::LDLT_factor< T, R, C > &A)

     [ Stan Home Page ] © 2011–2014, Stan Development Team.