#include "sparse-lu.h"
Public Types | |
typedef lu_type::element_type | lu_elt_type |
Public Member Functions | |
sparse_lu () | |
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 lu_type &a, const Matrix &piv_thres=Matrix(), bool scale=false) | |
sparse_lu (const sparse_lu &a) | |
virtual | ~sparse_lu ()=default |
const octave_idx_type * | col_perm () const |
lu_type | L () const |
sparse_lu & | operator= (const sparse_lu &a) |
SparseMatrix | Pc () const |
PermMatrix | Pc_mat () const |
ColumnVector | Pc_vec () const |
SparseMatrix | Pr () const |
PermMatrix | Pr_mat () const |
ColumnVector | Pr_vec () const |
SparseMatrix | R () const |
double | rcond () const |
const octave_idx_type * | row_perm () const |
lu_type | U () const |
lu_type | Y () const |
Protected Attributes | |
double | m_cond |
lu_type | m_L |
MArray< octave_idx_type > | m_P |
MArray< octave_idx_type > | m_Q |
SparseMatrix | m_R |
lu_type | m_U |
Definition at line 47 of file sparse-lu.h.
typedef lu_type::element_type sparse_lu< lu_type >::lu_elt_type |
Definition at line 53 of file sparse-lu.h.
Definition at line 55 of file sparse-lu.h.
sparse_lu< lu_type >::sparse_lu | ( | const lu_type & | a, |
const Matrix & | piv_thres = Matrix () , |
||
bool | scale = false |
||
) |
Definition at line 408 of file sparse-lu.cc.
References Sparse< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), sparse_params::get_key(), isnan(), sparse_lu< lu_type >::m_cond, sparse_lu< lu_type >::m_L, sparse_lu< lu_type >::m_P, sparse_lu< lu_type >::m_Q, sparse_lu< lu_type >::m_R, sparse_lu< lu_type >::m_U, Array< T, Alloc >::numel(), Array< T, Alloc >::resize(), scale(), Sparse< T, Alloc >::xcidx(), and Sparse< T, Alloc >::xridx().
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 |
||
) |
Definition at line 618 of file sparse-lu.cc.
References Sparse< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), sparse_params::get_key(), isnan(), sparse_lu< lu_type >::m_cond, sparse_lu< lu_type >::m_L, sparse_lu< lu_type >::m_P, sparse_lu< lu_type >::m_Q, sparse_lu< lu_type >::m_R, sparse_lu< lu_type >::m_U, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::resize(), scale(), Sparse< T, Alloc >::xcidx(), and Sparse< T, Alloc >::xridx().
|
inline |
Definition at line 68 of file sparse-lu.h.
|
inline |
Definition at line 111 of file sparse-lu.h.
|
inline |
Definition at line 89 of file sparse-lu.h.
|
inline |
Definition at line 73 of file sparse-lu.h.
References sparse_lu< lu_type >::m_cond, sparse_lu< lu_type >::m_L, sparse_lu< lu_type >::m_P, sparse_lu< lu_type >::m_Q, and sparse_lu< lu_type >::m_U.
SparseMatrix sparse_lu< lu_type >::Pc |
Definition at line 944 of file sparse-lu.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::ridx().
PermMatrix sparse_lu< lu_type >::Pc_mat |
Definition at line 978 of file sparse-lu.cc.
ColumnVector sparse_lu< lu_type >::Pc_vec |
Definition at line 964 of file sparse-lu.cc.
References Array< T, Alloc >::xelem().
SparseMatrix sparse_lu< lu_type >::Pr |
Definition at line 903 of file sparse-lu.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::ridx().
PermMatrix sparse_lu< lu_type >::Pr_mat |
Definition at line 937 of file sparse-lu.cc.
ColumnVector sparse_lu< lu_type >::Pr_vec |
Definition at line 923 of file sparse-lu.cc.
References Array< T, Alloc >::xelem().
|
inline |
Definition at line 93 of file sparse-lu.h.
|
inline |
Definition at line 113 of file sparse-lu.h.
|
inline |
Definition at line 109 of file sparse-lu.h.
|
inline |
Definition at line 91 of file sparse-lu.h.
lu_type sparse_lu< lu_type >::Y |
Definition at line 866 of file sparse-lu.cc.
|
protected |
Definition at line 121 of file sparse-lu.h.
Referenced by sparse_lu< lu_type >::sparse_lu(), and sparse_lu< lu_type >::operator=().
|
protected |
Definition at line 117 of file sparse-lu.h.
Referenced by sparse_lu< lu_type >::sparse_lu(), and sparse_lu< lu_type >::operator=().
|
protected |
Definition at line 123 of file sparse-lu.h.
Referenced by sparse_lu< lu_type >::sparse_lu(), and sparse_lu< lu_type >::operator=().
|
protected |
Definition at line 124 of file sparse-lu.h.
Referenced by sparse_lu< lu_type >::sparse_lu(), and sparse_lu< lu_type >::operator=().
|
protected |
Definition at line 119 of file sparse-lu.h.
Referenced by sparse_lu< lu_type >::sparse_lu().
|
protected |
Definition at line 118 of file sparse-lu.h.
Referenced by sparse_lu< lu_type >::sparse_lu(), and sparse_lu< lu_type >::operator=().