GNU Octave  4.4.1
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 (void)
 
 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)
 
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< int > count
 

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 49 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 53 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 60 of file sparse-chol.cc.

References a.

◆ 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 69 of file sparse-chol.cc.

References a.

◆ 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 85 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 150 of file sparse-chol.cc.

References k, and p.

◆ 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 116 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 96 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 102 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 112 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 367 of file sparse-chol.cc.

References i, and p.

◆ 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 118 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 135 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 130 of file sparse-chol.cc.

◆ count

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

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

Referenced by octave::math::sparse_chol< chol_type >::sparse_chol().

◆ 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 124 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 133 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 126 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 128 of file sparse-chol.cc.


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