GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse_chol< chol_type >::sparse_chol_rep< chol_type > Class Template Reference
Collaboration diagram for 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
 

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 m_common
 
bool m_is_pd
 
cholmod_sparse * m_L
 
octave_idx_type m_minor_p
 
RowVector m_perm
 
double m_rcond
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ sparse_chol_rep() [1/4]

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

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

◆ sparse_chol_rep() [2/4]

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

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

◆ sparse_chol_rep() [3/4]

template<typename chol_type >
template<typename chol_type >
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 69 of file sparse-chol.cc.

◆ sparse_chol_rep() [4/4]

template<typename chol_type >
template<typename chol_type >
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 >
sparse_chol< chol_type >::sparse_chol_rep< chol_type >::~sparse_chol_rep ( void  )
inline

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

References CHOLMOD_NAME.

Member Function Documentation

◆ drop_zeros()

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

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

◆ init()

template<typename chol_type >
template<typename chol_type >
octave_idx_type 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 sparse_chol< chol_type >::sparse_chol_rep< chol_type >::is_positive_definite ( void  ) const
inline

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

◆ L()

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

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

◆ operator=()

template<typename chol_type >
template<typename chol_type >
sparse_chol_rep& 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 sparse_chol< chol_type >::sparse_chol_rep< chol_type >::P ( void  ) const
inline

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

◆ perm()

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

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

◆ Q()

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

◆ rcond()

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

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

Member Data Documentation

◆ m_common

template<typename chol_type >
template<typename chol_type >
cholmod_common sparse_chol< chol_type >::sparse_chol_rep< chol_type >::m_common
private

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

◆ m_is_pd

template<typename chol_type >
template<typename chol_type >
bool sparse_chol< chol_type >::sparse_chol_rep< chol_type >::m_is_pd
private

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

◆ m_L

template<typename chol_type >
template<typename chol_type >
cholmod_sparse* sparse_chol< chol_type >::sparse_chol_rep< chol_type >::m_L
private

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

◆ m_minor_p

template<typename chol_type >
template<typename chol_type >
octave_idx_type sparse_chol< chol_type >::sparse_chol_rep< chol_type >::m_minor_p
private

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

◆ m_perm

template<typename chol_type >
template<typename chol_type >
RowVector sparse_chol< chol_type >::sparse_chol_rep< chol_type >::m_perm
private

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

◆ m_rcond

template<typename chol_type >
template<typename chol_type >
double sparse_chol< chol_type >::sparse_chol_rep< chol_type >::m_rcond
private

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


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