#include "sparse-qr.h"
Classes | |
class | sparse_qr_rep |
Public Member Functions | |
sparse_qr (const sparse_qr &a)=default | |
OCTAVE_API | sparse_qr (const SPARSE_T &a, int order=0) |
OCTAVE_API | sparse_qr (void) |
~sparse_qr (void)=default | |
OCTAVE_API SPARSE_T::dense_matrix_type | C (const typename SPARSE_T::dense_matrix_type &b, bool econ=false) const |
OCTAVE_API ColumnVector | E (void) const |
OCTAVE_API SparseMatrix | E_MAT () const |
OCTAVE_API bool | ok (void) const |
sparse_qr & | operator= (const sparse_qr &a)=default |
OCTAVE_API ColumnVector | P (void) const |
OCTAVE_API ColumnVector | Pinv (void) const |
OCTAVE_API SPARSE_T::dense_matrix_type | Q (bool econ=false) const |
OCTAVE_API SPARSE_T | R (bool econ=false) const |
template<typename RHS_T , typename RET_T > | |
RET_T | solve (const SPARSE_T &a, const RHS_T &b, octave_idx_type &info) |
template<typename RHS_T , typename RET_T > | |
RET_T | tall_solve (const RHS_T &b, octave_idx_type &info) const |
OCTAVE_API SPARSE_T | V (void) const |
template<typename RHS_T , typename RET_T > | |
RET_T | wide_solve (const RHS_T &b, octave_idx_type &info) const |
Static Public Member Functions | |
template<typename RHS_T , typename RET_T > | |
static OCTAVE_API RET_T | solve (const SPARSE_T &a, const RHS_T &b, octave_idx_type &info) |
Private Member Functions | |
template<typename RHS_T , typename RET_T > | |
OCTAVE_API RET_T | tall_solve (const RHS_T &b, octave_idx_type &info) const |
template<typename RHS_T , typename RET_T > | |
OCTAVE_API RET_T | wide_solve (const RHS_T &b, octave_idx_type &info) const |
Static Private Member Functions | |
template<typename RHS_T , typename RET_T > | |
static OCTAVE_API RET_T | min2norm_solve (const SPARSE_T &a, const RHS_T &b, octave_idx_type &info, int order) |
Private Attributes | |
std::shared_ptr< sparse_qr_rep > | m_rep |
Definition at line 47 of file sparse-qr.h.
template OCTAVE_API sparse_qr< SPARSE_T >::sparse_qr | ( | void | ) |
Definition at line 2678 of file sparse-qr.cc.
Definition at line 2683 of file sparse-qr.cc.
|
default |
template OCTAVE_API ComplexMatrix sparse_qr< SPARSE_T >::C | ( | const typename SPARSE_T::dense_matrix_type & | b, |
bool | econ = false |
||
) | const |
Definition at line 2745 of file sparse-qr.cc.
template OCTAVE_API ColumnVector sparse_qr< SPARSE_T >::E | ( | void | ) | const |
Definition at line 2717 of file sparse-qr.cc.
Referenced by sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve().
template OCTAVE_API SparseMatrix sparse_qr< SPARSE_T >::E_MAT | ( | ) | const |
Definition at line 2725 of file sparse-qr.cc.
References Array< T, Alloc >::rows().
|
staticprivate |
template OCTAVE_API bool sparse_qr< SPARSE_T >::ok | ( | void | ) | const |
Definition at line 2689 of file sparse-qr.cc.
Referenced by sparse_qr< SPARSE_T >::solve().
|
default |
template OCTAVE_API ColumnVector sparse_qr< SPARSE_T >::P | ( | void | ) | const |
Definition at line 2710 of file sparse-qr.cc.
template OCTAVE_API ColumnVector sparse_qr< SPARSE_T >::Pinv | ( | void | ) | const |
Definition at line 2703 of file sparse-qr.cc.
template OCTAVE_API ComplexMatrix sparse_qr< SPARSE_T >::Q | ( | bool | econ = false | ) | const |
Definition at line 2753 of file sparse-qr.cc.
template OCTAVE_API SparseComplexMatrix sparse_qr< SPARSE_T >::R | ( | bool | econ = false | ) | const |
Definition at line 2738 of file sparse-qr.cc.
RET_T sparse_qr< SPARSE_T >::solve | ( | const SPARSE_T & | a, |
const RHS_T & | b, | ||
octave_idx_type & | info | ||
) |
Definition at line 3106 of file sparse-qr.cc.
References sparse_qr< SPARSE_T >::ok(), sparse_qr< SPARSE_T >::tall_solve(), and sparse_qr< SPARSE_T >::wide_solve().
|
static |
RET_T sparse_qr< SPARSE_T >::tall_solve | ( | const RHS_T & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 3238 of file sparse-qr.cc.
|
private |
Referenced by sparse_qr< SPARSE_T >::solve().
template OCTAVE_API SparseComplexMatrix sparse_qr< SPARSE_T >::V | ( | void | ) | const |
Definition at line 2696 of file sparse-qr.cc.
RET_T sparse_qr< SPARSE_T >::wide_solve | ( | const RHS_T & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 3246 of file sparse-qr.cc.
|
private |
Referenced by sparse_qr< SPARSE_T >::solve().
|
private |
Definition at line 111 of file sparse-qr.h.