Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::LDLT_factor< T, require_var_matrix_t< T > > Class Template Reference

Detailed Description

template<typename T>
class stan::math::LDLT_factor< T, require_var_matrix_t< T > >

An LDLT_factor of a var_value<Eigen::MatrixXd> holds a copy of the input var_value and the LDLT of its values.

Definition at line 45 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 noexcept
 Return a const reference the underlying var_value
 
const auto & ldlt () const noexcept
 Return a const reference to the LDLT factor of the matrix values.
 

Private Attributes

std::decay_t< T > matrix_
 
Eigen::LDLT< Eigen::MatrixXd > ldlt_
 

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