GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse_chol< chol_type > Class Template Reference

#include "sparse-chol.h"

Collaboration diagram for sparse_chol< chol_type >:

Classes

class  sparse_chol_rep
 

Public Member Functions

 sparse_chol (const chol_type &a, bool natural, bool force)
 
 sparse_chol (const chol_type &a, octave_idx_type &info)
 
 sparse_chol (const chol_type &a, octave_idx_type &info, bool natural)
 
 sparse_chol (const chol_type &a, octave_idx_type &info, bool natural, bool force)
 
 sparse_chol (const sparse_chol< chol_type > &a)=default
 
OCTAVE_API sparse_chol (const SparseComplexMatrix &a, octave_idx_type &info)
 
 sparse_chol (void)
 
virtual ~sparse_chol (void)=default
 
chol_type inverse (void) const
 
bool is_positive_definite (void) const
 
chol_type L (void) const
 
sparse_chol< chol_type > & operator= (const sparse_chol< chol_type > &a)=default
 
octave_idx_type P (void) const
 
RowVector perm (void) const
 
SparseMatrix Q (void) const
 
chol_type R (void) const
 
double rcond (void) const
 

Protected Types

typedef chol_type::element_type chol_elt
 

Private Attributes

std::shared_ptr< sparse_chol_repm_rep
 

Detailed Description

template<typename chol_type>
class sparse_chol< chol_type >

Definition at line 47 of file sparse-chol.h.

Member Typedef Documentation

◆ chol_elt

template<typename chol_type >
typedef chol_type::element_type sparse_chol< chol_type >::chol_elt
protected

Definition at line 89 of file sparse-chol.h.

Constructor & Destructor Documentation

◆ sparse_chol() [1/7]

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

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

◆ sparse_chol() [2/7]

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

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

◆ sparse_chol() [3/7]

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

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

◆ sparse_chol() [4/7]

template<typename chol_type >
sparse_chol< chol_type >::sparse_chol ( const chol_type &  a,
octave_idx_type info,
bool  natural 
)

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

◆ sparse_chol() [5/7]

template<typename chol_type >
sparse_chol< chol_type >::sparse_chol ( const chol_type &  a,
octave_idx_type info 
)

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

◆ sparse_chol() [6/7]

template<typename chol_type >
sparse_chol< chol_type >::sparse_chol ( const sparse_chol< chol_type > &  a)
default

◆ ~sparse_chol()

template<typename chol_type >
virtual sparse_chol< chol_type >::~sparse_chol ( void  )
virtualdefault

◆ sparse_chol() [7/7]

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

Member Function Documentation

◆ inverse()

template<typename chol_type >
chol_type sparse_chol< chol_type >::inverse ( void  ) const

◆ is_positive_definite()

template<typename chol_type >
bool sparse_chol< chol_type >::is_positive_definite ( void  ) const

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

◆ L()

template<typename chol_type >
chol_type sparse_chol< chol_type >::L ( void  ) const

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

References m.

◆ operator=()

template<typename chol_type >
sparse_chol<chol_type>& sparse_chol< chol_type >::operator= ( const sparse_chol< chol_type > &  a)
default

◆ P()

template<typename chol_type >
octave_idx_type sparse_chol< chol_type >::P ( void  ) const

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

◆ perm()

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

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

◆ Q()

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

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

◆ R()

template<typename chol_type >
chol_type sparse_chol< chol_type >::R ( void  ) const
inline

Definition at line 73 of file sparse-chol.h.

◆ rcond()

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

Member Data Documentation

◆ m_rep

template<typename chol_type >
std::shared_ptr<sparse_chol_rep> sparse_chol< chol_type >::m_rep
private

Definition at line 95 of file sparse-chol.h.


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