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

Detailed Description

template<typename T>
class stan::math::LDLT_factor< T, require_eigen_matrix_dynamic_vt< is_var, T > >

An LDLT_factor of an Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic> with alloc_in_arena = True holds a copy of the input matrix and the LDLT of its values, with all member variable allocations are done in the arena.

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

Private Attributes

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

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