GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type > Class Template Reference
Collaboration diagram for octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >:

Public Member Functions

 sparse_chol_rep (const chol_type &a, bool natural, bool force)
 
 sparse_chol_rep (const chol_type &a, octave_idx_type &info, bool natural, bool force)
 
 sparse_chol_rep (const sparse_chol_rep &)=delete
 
 sparse_chol_rep (void)
 
 ~sparse_chol_rep (void)
 
bool is_positive_definite (void) const
 
cholmod_sparse * L (void) const
 
sparse_chol_repoperator= (const sparse_chol_rep &)=delete
 
octave_idx_type P (void) const
 
RowVector perm (void) const
 
SparseMatrix Q (void) const
 
double rcond (void) const
 

Public Attributes

refcount< octave_idx_typecount
 

Private Member Functions

void drop_zeros (const cholmod_sparse *S)
 
octave_idx_type init (const chol_type &a, bool natural, bool force)
 

Private Attributes

cholmod_common Common
 
double cond
 
bool is_pd
 
cholmod_sparse * Lsparse
 
octave_idx_type minor_p
 
RowVector perms
 

Detailed Description

template<typename chol_type>
template<typename chol_type>
class octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >

Definition at line 50 of file sparse-chol.cc.

Constructor & Destructor Documentation

◆ sparse_chol_rep() [1/4]

template<typename chol_type >
template<typename chol_type >
octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::sparse_chol_rep ( void  )
inline

Definition at line 54 of file sparse-chol.cc.

◆ sparse_chol_rep() [2/4]

template<typename chol_type >
template<typename chol_type >
octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::sparse_chol_rep ( const chol_type &  a,
bool  natural,
bool  force 
)
inline

Definition at line 61 of file sparse-chol.cc.

◆ sparse_chol_rep() [3/4]

template<typename chol_type >
template<typename chol_type >
octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::sparse_chol_rep ( const chol_type &  a,
octave_idx_type info,
bool  natural,
bool  force 
)
inline

Definition at line 70 of file sparse-chol.cc.

◆ sparse_chol_rep() [4/4]

template<typename chol_type >
template<typename chol_type >
octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::sparse_chol_rep ( const sparse_chol_rep< chol_type > &  )
delete

◆ ~sparse_chol_rep()

template<typename chol_type >
template<typename chol_type >
octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::~sparse_chol_rep ( void  )
inline

Definition at line 86 of file sparse-chol.cc.

References CHOLMOD_NAME.

Member Function Documentation

◆ drop_zeros()

template<typename chol_type >
template<typename chol_type >
void octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::drop_zeros ( const cholmod_sparse *  S)
private

Definition at line 151 of file sparse-chol.cc.

◆ init()

template<typename chol_type >
template<typename chol_type >
octave_idx_type octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::init ( const chol_type &  a,
bool  natural,
bool  force 
)
private

◆ is_positive_definite()

template<typename chol_type >
template<typename chol_type >
bool octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::is_positive_definite ( void  ) const
inline

Definition at line 117 of file sparse-chol.cc.

◆ L()

template<typename chol_type >
template<typename chol_type >
cholmod_sparse* octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::L ( void  ) const
inline

Definition at line 97 of file sparse-chol.cc.

◆ operator=()

template<typename chol_type >
template<typename chol_type >
sparse_chol_rep& octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::operator= ( const sparse_chol_rep< chol_type > &  )
delete

◆ P()

template<typename chol_type >
template<typename chol_type >
octave_idx_type octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::P ( void  ) const
inline

Definition at line 103 of file sparse-chol.cc.

◆ perm()

template<typename chol_type >
template<typename chol_type >
RowVector octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::perm ( void  ) const
inline

Definition at line 113 of file sparse-chol.cc.

◆ Q()

template<typename chol_type >
template<typename chol_type >
SparseMatrix octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q ( void  ) const

Definition at line 368 of file sparse-chol.cc.

References n, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().

◆ rcond()

template<typename chol_type >
template<typename chol_type >
double octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::rcond ( void  ) const
inline

Definition at line 119 of file sparse-chol.cc.

Member Data Documentation

◆ Common

template<typename chol_type >
template<typename chol_type >
cholmod_common octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Common
private

Definition at line 136 of file sparse-chol.cc.

◆ cond

template<typename chol_type >
template<typename chol_type >
double octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::cond
private

Definition at line 131 of file sparse-chol.cc.

◆ count

template<typename chol_type >
template<typename chol_type >
refcount<octave_idx_type> octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::count

◆ is_pd

template<typename chol_type >
template<typename chol_type >
bool octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::is_pd
private

Definition at line 125 of file sparse-chol.cc.

◆ Lsparse

template<typename chol_type >
template<typename chol_type >
cholmod_sparse* octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Lsparse
private

Definition at line 134 of file sparse-chol.cc.

◆ minor_p

template<typename chol_type >
template<typename chol_type >
octave_idx_type octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::minor_p
private

Definition at line 127 of file sparse-chol.cc.

◆ perms

template<typename chol_type >
template<typename chol_type >
RowVector octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::perms
private

Definition at line 129 of file sparse-chol.cc.


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