Stan Math Library
2.20.0
reverse mode automatic differentiation
stan
math
prim
mat
err
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
4
#include <
stan/math/prim/meta.hpp
>
5
#include <
stan/math/prim/mat/fun/Eigen.hpp
>
6
#include <
stan/math/prim/mat/fun/LDLT_factor.hpp
>
7
8
namespace
stan
{
9
namespace
math {
10
22
template
<
typename
T,
int
R,
int
C>
23
inline
bool
is_ldlt_factor
(
LDLT_factor<T, R, C>
& A) {
24
return
A.
success
();
25
}
26
27
}
// namespace math
28
}
// namespace stan
29
#endif
stan
Definition:
log_sum_exp.hpp:8
meta.hpp
stan::math::LDLT_factor::success
bool success() const
Definition:
LDLT_factor.hpp:83
stan::math::LDLT_factor
LDLT_factor is a thin wrapper on Eigen::LDLT to allow for reusing factorizations and efficient autodi...
Definition:
LDLT_factor.hpp:63
LDLT_factor.hpp
stan::math::is_ldlt_factor
bool is_ldlt_factor(LDLT_factor< T, R, C > &A)
Return true if the specified LDLT factor is invalid.
Definition:
is_ldlt_factor.hpp:23
Eigen.hpp
[
Stan Home Page
]
© 2011–2018, Stan Development Team.