Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::LDLT_factor< T, std::enable_if_t< bool_constant< is_eigen_matrix_dynamic< T >::value &&!is_var< scalar_type_t< T > >::value >::value > > Class Template Reference

Detailed Description

template<typename T>
class stan::math::LDLT_factor< T, std::enable_if_t< bool_constant< is_eigen_matrix_dynamic< T >::value &&!is_var< scalar_type_t< T > >::value >::value > >

An LDLT_factor is a structure that holds a matrix of type T and the LDLT of its values.

Template Parameters
Ttype of elements in the matrix

Definition at line 30 of file LDLT_factor.hpp.

#include <LDLT_factor.hpp>

Public Member Functions

template<typename S , require_same_t< plain_type_t< T >, plain_type_t< S > > * = nullptr>
 LDLT_factor (const S &matrix)
 
const auto & matrix () const
 Return a const reference to the underlying matrix.
 
const auto & ldlt () const
 Return a const reference to the LDLT factor of the matrix.
 

Private Attributes

plain_type_t< T > matrix_
 
Eigen::LDLT< plain_type_t< T > > ldlt_
 

The documentation for this class was generated from the following file: