GNU Octave  4.4.1
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 (void)
 
 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 (const chol &a)
 
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 34 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 40 of file chol.h.

◆ VT

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

Definition at line 39 of file chol.h.

Constructor & Destructor Documentation

◆ chol() [1/4]

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

Definition at line 42 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 44 of file chol.h.

References a.

◆ 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 50 of file chol.h.

References a.

◆ chol() [4/4]

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

Definition at line 57 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 71 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)

◆ downdate()

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

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

◆ inverse()

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

Definition at line 250 of file chol.cc.

References chol2inv_internal().

◆ operator=()

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

Definition at line 60 of file chol.h.

References a.

◆ rcond()

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

Definition at line 73 of file chol.h.

◆ set()

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

Definition at line 257 of file chol.cc.

References current_liboctave_error_handler.

◆ shift_sym()

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

◆ update()

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

Member Data Documentation

◆ chol_mat

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

Definition at line 92 of file chol.h.

◆ is_upper

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

Definition at line 96 of file chol.h.

◆ xrcond

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

Definition at line 94 of file chol.h.


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