GNU Octave  6.2.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
 
void delete_sym (octave_idx_type j)
 
octave_idx_type downdate (const VT &u)
 
octave_idx_type insert_sym (const VT &u, octave_idx_type j)
 
inverse (void) const
 
choloperator= (const chol &a)
 
COND_T rcond (void) const
 
void set (const T &R)
 
void shift_sym (octave_idx_type i, octave_idx_type j)
 
void update (const VT &u)
 

Private Member Functions

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

Private Attributes

chol_mat
 
bool is_upper
 
COND_T xrcond
 

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(), and qp().

◆ delete_sym()

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

Referenced by Fcholdelete().

◆ downdate()

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

Referenced by Fcholupdate().

◆ init()

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

◆ insert_sym()

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

Referenced by Fcholinsert().

◆ 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.

Referenced by Fcholdelete(), Fcholinsert(), Fcholshift(), and Fcholupdate().

◆ shift_sym()

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

Referenced by Fcholshift().

◆ update()

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

Referenced by Fcholupdate().

Member Data Documentation

◆ chol_mat

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

Definition at line 95 of file chol.h.

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

◆ is_upper

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

Definition at line 99 of file chol.h.

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

◆ xrcond

template<typename T >
COND_T octave::math::chol< T >::xrcond
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: