GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::math::chol< T > Class Template Reference

#include "chol.h"

Collaboration diagram for octave::math::chol< T >:

Public Types

typedef T::real_elt_type COND_T
 
typedef T::column_vector_type VT
 

Public Member Functions

 chol (const chol &a)
 
 chol (const T &a, bool upper=true, bool calc_cond=false)
 
 chol (const T &a, octave_idx_type &info, bool upper=true, bool calc_cond=false)
 
 chol (void)
 
chol_matrix (void) const
 
OCTAVE_API void delete_sym (octave_idx_type j)
 
OCTAVE_API octave_idx_type downdate (const VT &u)
 
OCTAVE_API octave_idx_type insert_sym (const VT &u, octave_idx_type j)
 
OCTAVE_APIinverse (void) const
 
choloperator= (const chol &a)
 
COND_T rcond (void) const
 
OCTAVE_API void set (const T &R)
 
OCTAVE_API void shift_sym (octave_idx_type i, octave_idx_type j)
 
OCTAVE_API void update (const VT &u)
 

Private Member Functions

OCTAVE_API octave_idx_type init (const T &a, bool upper, bool calc_cond)
 

Private Attributes

m_chol_mat
 
bool m_is_upper
 
COND_T m_rcond
 

Detailed Description

template<typename T>
class octave::math::chol< T >

Definition at line 36 of file chol.h.

Member Typedef Documentation

◆ COND_T

template<typename T >
typedef T::real_elt_type octave::math::chol< T >::COND_T

Definition at line 42 of file chol.h.

◆ VT

template<typename T >
typedef T::column_vector_type octave::math::chol< T >::VT

Definition at line 41 of file chol.h.

Constructor & Destructor Documentation

◆ chol() [1/4]

template<typename T >
octave::math::chol< T >::chol ( void  )
inline

Definition at line 44 of file chol.h.

◆ chol() [2/4]

template<typename T >
octave::math::chol< T >::chol ( const T &  a,
bool  upper = true,
bool  calc_cond = false 
)
inline

Definition at line 46 of file chol.h.

◆ chol() [3/4]

template<typename T >
octave::math::chol< T >::chol ( const T &  a,
octave_idx_type info,
bool  upper = true,
bool  calc_cond = false 
)
inline

Definition at line 52 of file chol.h.

◆ chol() [4/4]

template<typename T >
octave::math::chol< T >::chol ( const chol< T > &  a)
inline

Definition at line 59 of file chol.h.

Member Function Documentation

◆ chol_matrix()

template<typename T >
T octave::math::chol< T >::chol_matrix ( void  ) const
inline

Definition at line 74 of file chol.h.

Referenced by make_cholb().

◆ delete_sym()

template<typename T >
OCTAVE_API void octave::math::chol< T >::delete_sym ( octave_idx_type  j)

◆ downdate()

template<typename T >
OCTAVE_API octave_idx_type octave::math::chol< T >::downdate ( const VT u)

◆ init()

template<typename T >
OCTAVE_API octave_idx_type octave::math::chol< T >::init ( const T &  a,
bool  upper,
bool  calc_cond 
)
private

◆ insert_sym()

template<typename T >
OCTAVE_API octave_idx_type octave::math::chol< T >::insert_sym ( const VT u,
octave_idx_type  j 
)

◆ inverse()

template<typename T >
T chol< T >::inverse ( void  ) const

Definition at line 250 of file chol.cc.

References octave::chol2inv_internal().

◆ operator=()

template<typename T >
chol & octave::math::chol< T >::operator= ( const chol< T > &  a)
inline

◆ rcond()

template<typename T >
COND_T octave::math::chol< T >::rcond ( void  ) const
inline

Definition at line 76 of file chol.h.

◆ set()

template<typename T >
void chol< T >::set ( const T &  R)

Definition at line 257 of file chol.cc.

◆ shift_sym()

template<typename T >
OCTAVE_API void octave::math::chol< T >::shift_sym ( octave_idx_type  i,
octave_idx_type  j 
)

◆ update()

template<typename T >
OCTAVE_API void octave::math::chol< T >::update ( const VT u)

Member Data Documentation

◆ m_chol_mat

template<typename T >
T octave::math::chol< T >::m_chol_mat
private

Definition at line 95 of file chol.h.

Referenced by octave::math::chol< T >::operator=().

◆ m_is_upper

template<typename T >
bool octave::math::chol< T >::m_is_upper
private

Definition at line 99 of file chol.h.

Referenced by octave::math::chol< T >::operator=().

◆ m_rcond

template<typename T >
COND_T octave::math::chol< T >::m_rcond
private

Definition at line 97 of file chol.h.

Referenced by octave::math::chol< T >::operator=().


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