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

#include "chol.h"

Public Types

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

Public Member Functions

 chol ()
 
 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_matrix () const
 
void delete_sym (octave_idx_type j)
 
void delete_sym (octave_idx_type j_arg)
 
void delete_sym (octave_idx_type j_arg)
 
void delete_sym (octave_idx_type j_arg)
 
void delete_sym (octave_idx_type j_arg)
 
octave_idx_type downdate (const ColumnVector &u)
 
octave_idx_type downdate (const ComplexColumnVector &u)
 
octave_idx_type downdate (const FloatColumnVector &u)
 
octave_idx_type downdate (const FloatComplexColumnVector &u)
 
octave_idx_type downdate (const VT &u)
 
octave_idx_type insert_sym (const ColumnVector &u, octave_idx_type j_arg)
 
octave_idx_type insert_sym (const ComplexColumnVector &u, octave_idx_type j_arg)
 
octave_idx_type insert_sym (const FloatColumnVector &u, octave_idx_type j_arg)
 
octave_idx_type insert_sym (const FloatComplexColumnVector &u, octave_idx_type j_arg)
 
octave_idx_type insert_sym (const VT &u, octave_idx_type j)
 
inverse () const
 
COND_T rcond () const
 
void set (const T &R)
 
void shift_sym (octave_idx_type i, octave_idx_type j)
 
void shift_sym (octave_idx_type i_arg, octave_idx_type j_arg)
 
void shift_sym (octave_idx_type i_arg, octave_idx_type j_arg)
 
void shift_sym (octave_idx_type i_arg, octave_idx_type j_arg)
 
void shift_sym (octave_idx_type i_arg, octave_idx_type j_arg)
 
void update (const ColumnVector &u)
 
void update (const ComplexColumnVector &u)
 
void update (const FloatColumnVector &u)
 
void update (const FloatComplexColumnVector &u)
 
void update (const VT &u)
 

Detailed Description

template<typename T>
class chol< T >

Definition at line 36 of file chol.h.

Member Typedef Documentation

◆ COND_T

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

Definition at line 42 of file chol.h.

◆ VT

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

Definition at line 41 of file chol.h.

Constructor & Destructor Documentation

◆ chol() [1/3]

template<typename T >
chol< T >::chol ( )
inline

Definition at line 44 of file chol.h.

◆ chol() [2/3]

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

Definition at line 46 of file chol.h.

◆ chol() [3/3]

template<typename T >
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.

Member Function Documentation

◆ chol_matrix()

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

Definition at line 61 of file chol.h.

◆ delete_sym() [1/5]

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

◆ delete_sym() [2/5]

void chol< Matrix >::delete_sym ( octave_idx_type  j_arg)

Definition at line 550 of file chol.cc.

References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_sym() [3/5]

void chol< FloatMatrix >::delete_sym ( octave_idx_type  j_arg)

Definition at line 727 of file chol.cc.

References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_sym() [4/5]

void chol< ComplexMatrix >::delete_sym ( octave_idx_type  j_arg)

Definition at line 913 of file chol.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, n, and OCTAVE_LOCAL_BUFFER.

◆ delete_sym() [5/5]

void chol< FloatComplexMatrix >::delete_sym ( octave_idx_type  j_arg)

Definition at line 1099 of file chol.cc.

References F77_CMPLX_ARG, F77_XFCN, n, and OCTAVE_LOCAL_BUFFER.

◆ downdate() [1/5]

octave_idx_type chol< Matrix >::downdate ( const ColumnVector u)

Definition at line 502 of file chol.cc.

References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ downdate() [2/5]

◆ downdate() [3/5]

octave_idx_type chol< FloatMatrix >::downdate ( const FloatColumnVector u)

Definition at line 678 of file chol.cc.

References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ downdate() [4/5]

◆ downdate() [5/5]

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

◆ insert_sym() [1/5]

octave_idx_type chol< Matrix >::insert_sym ( const ColumnVector u,
octave_idx_type  j_arg 
)

Definition at line 523 of file chol.cc.

References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ insert_sym() [2/5]

octave_idx_type chol< ComplexMatrix >::insert_sym ( const ComplexColumnVector u,
octave_idx_type  j_arg 
)

Definition at line 882 of file chol.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.

◆ insert_sym() [3/5]

octave_idx_type chol< FloatMatrix >::insert_sym ( const FloatColumnVector u,
octave_idx_type  j_arg 
)

Definition at line 699 of file chol.cc.

References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ insert_sym() [4/5]

Definition at line 1069 of file chol.cc.

References F77_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.

◆ insert_sym() [5/5]

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

◆ inverse()

template<typename T >
T chol< T >::inverse

Definition at line 250 of file chol.cc.

Referenced by Fcholinv().

◆ rcond()

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

Definition at line 63 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() [1/5]

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

◆ shift_sym() [2/5]

void chol< Matrix >::shift_sym ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)

Definition at line 567 of file chol.cc.

References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ shift_sym() [3/5]

void chol< FloatMatrix >::shift_sym ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)

Definition at line 745 of file chol.cc.

References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ shift_sym() [4/5]

void chol< ComplexMatrix >::shift_sym ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)

Definition at line 932 of file chol.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ shift_sym() [5/5]

void chol< FloatComplexMatrix >::shift_sym ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)

Definition at line 1117 of file chol.cc.

References F77_CMPLX_ARG, F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ update() [1/5]

void chol< Matrix >::update ( const ColumnVector u)

Definition at line 485 of file chol.cc.

References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ update() [2/5]

void chol< ComplexMatrix >::update ( const ComplexColumnVector u)

Definition at line 838 of file chol.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.

◆ update() [3/5]

void chol< FloatMatrix >::update ( const FloatColumnVector u)

Definition at line 661 of file chol.cc.

References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ update() [4/5]

void chol< FloatComplexMatrix >::update ( const FloatComplexColumnVector u)

Definition at line 1030 of file chol.cc.

References F77_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.

◆ update() [5/5]

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

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