GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
octave::math::sparse_lu< lu_type > Class Template Reference

#include "sparse-lu.h"

Collaboration diagram for octave::math::sparse_lu< lu_type >:
Collaboration graph
[legend]

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)
 
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 43 of file sparse-lu.h.

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

template<typename lu_type >
octave::math::sparse_lu< lu_type >::sparse_lu ( const lu_type &  a,
const Matrix piv_thres = Matrix (),
bool  scale = false 
)
template<typename lu_type >
octave::math::sparse_lu< lu_type >::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 
)
template<typename lu_type>
octave::math::sparse_lu< lu_type >::sparse_lu ( const sparse_lu< lu_type > &  a)
inline

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

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

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

Member Function Documentation

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

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

References Q.

Referenced by LuAminusSigmaB().

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

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

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

template<typename lu_type>
sparse_lu& octave::math::sparse_lu< lu_type >::operator= ( const sparse_lu< lu_type > &  a)
inline
template<typename lu_type >
SparseMatrix octave::math::sparse_lu< lu_type >::Pc ( void  ) const
template<typename lu_type >
PermMatrix octave::math::sparse_lu< lu_type >::Pc_mat ( void  ) const

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

References Q.

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

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

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

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

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

References P.

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

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

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

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

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

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

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

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

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

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

References P.

Referenced by LuAminusSigmaB().

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

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

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

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

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

Member Data Documentation

template<typename lu_type>
double octave::math::sparse_lu< lu_type >::cond
protected
template<typename lu_type>
lu_type octave::math::sparse_lu< lu_type >::Lfact
protected
template<typename lu_type>
MArray<octave_idx_type> octave::math::sparse_lu< lu_type >::P
protected
template<typename lu_type>
MArray<octave_idx_type> octave::math::sparse_lu< lu_type >::Q
protected
template<typename lu_type>
SparseMatrix octave::math::sparse_lu< lu_type >::Rfact
protected

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

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

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

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