GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::math::sparse_lu< lu_type > Class Template Reference

#include "sparse-lu.h"

Collaboration diagram for octave::math::sparse_lu< lu_type >:

Public Types

typedef lu_type::element_type lu_elt_type
 

Public Member Functions

 sparse_lu (void)
 
 sparse_lu (const lu_type &a, const Matrix &piv_thres=Matrix(), bool scale=false)
 
 sparse_lu (const lu_type &a, const ColumnVector &Qinit, const Matrix &piv_thres, bool scale=false, bool FixedQ=false, double droptol=-1.0, bool milu=false, bool udiag=false)
 
 sparse_lu (const sparse_lu &a)
 
virtual ~sparse_lu (void)=default
 
const octave_idx_typecol_perm (void) const
 
lu_type L (void) const
 
sparse_luoperator= (const sparse_lu &a)
 
SparseMatrix Pc (void) const
 
PermMatrix Pc_mat (void) const
 
ColumnVector Pc_vec (void) const
 
SparseMatrix Pr (void) const
 
PermMatrix Pr_mat (void) const
 
ColumnVector Pr_vec (void) const
 
SparseMatrix R (void) const
 
double rcond (void) const
 
const octave_idx_typerow_perm (void) const
 
lu_type U (void) const
 
lu_type Y (void) const
 

Protected Attributes

double cond
 
lu_type Lfact
 
MArray< octave_idx_typeP
 
MArray< octave_idx_typeQ
 
SparseMatrix Rfact
 
lu_type Ufact
 

Detailed Description

template<typename lu_type>
class octave::math::sparse_lu< lu_type >

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

Member Typedef Documentation

◆ lu_elt_type

template<typename lu_type>
typedef lu_type::element_type octave::math::sparse_lu< lu_type >::lu_elt_type

Definition at line 52 of file sparse-lu.h.

Constructor & Destructor Documentation

◆ sparse_lu() [1/4]

template<typename lu_type>
octave::math::sparse_lu< lu_type >::sparse_lu ( void  )
inline

Definition at line 54 of file sparse-lu.h.

◆ sparse_lu() [2/4]

◆ sparse_lu() [3/4]

◆ sparse_lu() [4/4]

template<typename lu_type>
octave::math::sparse_lu< lu_type >::sparse_lu ( const sparse_lu< lu_type > &  a)
inline

Definition at line 65 of file sparse-lu.h.

◆ ~sparse_lu()

template<typename lu_type>
virtual octave::math::sparse_lu< lu_type >::~sparse_lu ( void  )
virtualdefault

Member Function Documentation

◆ col_perm()

template<typename lu_type>
const octave_idx_type* octave::math::sparse_lu< lu_type >::col_perm ( void  ) const
inline

Definition at line 108 of file sparse-lu.h.

References Q.

Referenced by LuAminusSigmaB().

◆ L()

template<typename lu_type>
lu_type octave::math::sparse_lu< lu_type >::L ( void  ) const
inline

Definition at line 86 of file sparse-lu.h.

Referenced by SparseMatrix::inverse(), SparseComplexMatrix::inverse(), and LuAminusSigmaB().

◆ operator=()

template<typename lu_type>
sparse_lu& octave::math::sparse_lu< lu_type >::operator= ( const sparse_lu< lu_type > &  a)
inline

Definition at line 70 of file sparse-lu.h.

References a, and Q.

◆ Pc()

template<typename lu_type >
SparseMatrix octave::math::sparse_lu< lu_type >::Pc ( void  ) const

◆ Pc_mat()

template<typename lu_type >
PermMatrix octave::math::sparse_lu< lu_type >::Pc_mat ( void  ) const

Definition at line 977 of file sparse-lu.cc.

References Q.

◆ Pc_vec()

template<typename lu_type >
ColumnVector octave::math::sparse_lu< lu_type >::Pc_vec ( void  ) const

Definition at line 963 of file sparse-lu.cc.

References i, Q, and Array< T >::xelem().

◆ Pr()

template<typename lu_type >
SparseMatrix octave::math::sparse_lu< lu_type >::Pr ( void  ) const

◆ Pr_mat()

template<typename lu_type >
PermMatrix octave::math::sparse_lu< lu_type >::Pr_mat ( void  ) const

Definition at line 936 of file sparse-lu.cc.

◆ Pr_vec()

template<typename lu_type >
ColumnVector octave::math::sparse_lu< lu_type >::Pr_vec ( void  ) const

Definition at line 922 of file sparse-lu.cc.

References i, and Array< T >::xelem().

◆ R()

template<typename lu_type>
SparseMatrix octave::math::sparse_lu< lu_type >::R ( void  ) const
inline

Definition at line 90 of file sparse-lu.h.

Referenced by LuAminusSigmaB().

◆ rcond()

template<typename lu_type>
double octave::math::sparse_lu< lu_type >::rcond ( void  ) const
inline

Definition at line 110 of file sparse-lu.h.

Referenced by SparseMatrix::inverse(), and SparseComplexMatrix::inverse().

◆ row_perm()

template<typename lu_type>
const octave_idx_type* octave::math::sparse_lu< lu_type >::row_perm ( void  ) const
inline

Definition at line 106 of file sparse-lu.h.

Referenced by LuAminusSigmaB().

◆ U()

template<typename lu_type>
lu_type octave::math::sparse_lu< lu_type >::U ( void  ) const
inline

Definition at line 88 of file sparse-lu.h.

Referenced by SparseMatrix::inverse(), SparseComplexMatrix::inverse(), and LuAminusSigmaB().

◆ Y()

template<typename lu_type >
lu_type octave::math::sparse_lu< lu_type >::Y ( void  ) const

Definition at line 865 of file sparse-lu.cc.

References i.

Member Data Documentation

◆ cond

template<typename lu_type>
double octave::math::sparse_lu< lu_type >::cond
protected

Definition at line 118 of file sparse-lu.h.

Referenced by octave::math::sparse_lu< lu_type >::sparse_lu().

◆ Lfact

template<typename lu_type>
lu_type octave::math::sparse_lu< lu_type >::Lfact
protected

Definition at line 114 of file sparse-lu.h.

Referenced by octave::math::sparse_lu< lu_type >::sparse_lu().

◆ P

template<typename lu_type>
MArray<octave_idx_type> octave::math::sparse_lu< lu_type >::P
protected

Definition at line 120 of file sparse-lu.h.

Referenced by octave::math::sparse_lu< lu_type >::sparse_lu().

◆ Q

template<typename lu_type>
MArray<octave_idx_type> octave::math::sparse_lu< lu_type >::Q
protected

Definition at line 121 of file sparse-lu.h.

Referenced by octave::math::sparse_lu< lu_type >::sparse_lu().

◆ Rfact

template<typename lu_type>
SparseMatrix octave::math::sparse_lu< lu_type >::Rfact
protected

Definition at line 116 of file sparse-lu.h.

Referenced by octave::math::sparse_lu< lu_type >::sparse_lu().

◆ Ufact

template<typename lu_type>
lu_type octave::math::sparse_lu< lu_type >::Ufact
protected

Definition at line 115 of file sparse-lu.h.

Referenced by octave::math::sparse_lu< lu_type >::sparse_lu().


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