Stan Math Library  2.20.0
reverse mode automatic differentiation
is_ldlt_factor.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_ERR_IS_LDLT_FACTOR_HPP
2 #define STAN_MATH_PRIM_MAT_ERR_IS_LDLT_FACTOR_HPP
3 
7 
8 namespace stan {
9 namespace math {
10 
22 template <typename T, int R, int C>
24  return A.success();
25 }
26 
27 } // namespace math
28 } // namespace stan
29 #endif
LDLT_factor is a thin wrapper on Eigen::LDLT to allow for reusing factorizations and efficient autodi...
Definition: LDLT_factor.hpp:63
bool is_ldlt_factor(LDLT_factor< T, R, C > &A)
Return true if the specified LDLT factor is invalid.

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