GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T > Class Template Reference
Collaboration diagram for sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >:

Public Member Functions

 sparse_qr_rep (const sparse_qr_rep &)=delete
 
 sparse_qr_rep (const SPARSE_T &a, int order)
 
 sparse_qr_rep (const SparseComplexMatrix &a, int order)
 
 sparse_qr_rep (const SparseMatrix &a, int order)
 
 ~sparse_qr_rep (void)
 
 ~sparse_qr_rep (void)
 
 ~sparse_qr_rep (void)
 
ComplexMatrix C (const ComplexMatrix &b, bool econ)
 
Matrix C (const Matrix &b, bool econ)
 
SPARSE_T::dense_matrix_type C (const typename SPARSE_T::dense_matrix_type &b, bool econ=false)
 
ColumnVector E (void) const
 
bool ok (void) const
 
sparse_qr_repoperator= (const sparse_qr_rep &)=delete
 
ColumnVector P (void) const
 
ColumnVector Pinv (void) const
 
Matrix Q (bool econ)
 
ComplexMatrix Q (bool econ)
 
SPARSE_T::dense_matrix_type Q (bool econ=false)
 
SPARSE_T R (bool econ) const
 
SparseMatrix R (bool econ) const
 
SparseComplexMatrix R (bool econ) const
 
ComplexMatrix tall_solve (const MArray< Complex > &b, octave_idx_type &info)
 
ComplexMatrix tall_solve (const MArray< Complex > &b, octave_idx_type &info)
 
Matrix tall_solve (const MArray< double > &b, octave_idx_type &info)
 
ComplexMatrix tall_solve (const MArray< double > &b, octave_idx_type &info)
 
template<typename RHS_T , typename RET_T >
RET_T tall_solve (const RHS_T &b, octave_idx_type &info)
 
SparseComplexMatrix tall_solve (const SparseComplexMatrix &b, octave_idx_type &info)
 
SparseComplexMatrix tall_solve (const SparseComplexMatrix &b, octave_idx_type &info)
 
SparseMatrix tall_solve (const SparseMatrix &b, octave_idx_type &info)
 
SparseComplexMatrix tall_solve (const SparseMatrix &b, octave_idx_type &info)
 
SPARSE_T V (void) const
 
SparseMatrix V (void) const
 
SparseComplexMatrix V (void) const
 
ComplexMatrix wide_solve (const MArray< Complex > &b, octave_idx_type &info) const
 
ComplexMatrix wide_solve (const MArray< Complex > &b, octave_idx_type &info) const
 
Matrix wide_solve (const MArray< double > &b, octave_idx_type &info) const
 
ComplexMatrix wide_solve (const MArray< double > &b, octave_idx_type &info) const
 
template<typename RHS_T , typename RET_T >
RET_T wide_solve (const RHS_T &b, octave_idx_type &info) const
 
SparseComplexMatrix wide_solve (const SparseComplexMatrix &b, octave_idx_type &info) const
 
SparseComplexMatrix wide_solve (const SparseComplexMatrix &b, octave_idx_type &info) const
 
SparseMatrix wide_solve (const SparseMatrix &b, octave_idx_type &info) const
 
SparseComplexMatrix wide_solve (const SparseMatrix &b, octave_idx_type &info) const
 

Public Attributes

cxsparse_types< SPARSE_T >::numeric_type * N
 
octave_idx_type ncols
 
octave_idx_type nrows
 
cxsparse_types< SPARSE_T >::symbolic_type * S
 

Detailed Description

template<typename SPARSE_T>
template<typename SPARSE_T>
class sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >

Definition at line 72 of file sparse-qr.cc.

Constructor & Destructor Documentation

◆ sparse_qr_rep() [1/4]

template<typename SPARSE_T >
template<typename SPARSE_T >
sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep ( const SPARSE_T &  a,
int  order 
)

◆ sparse_qr_rep() [2/4]

template<typename SPARSE_T >
template<typename SPARSE_T >
sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep ( const sparse_qr_rep< SPARSE_T > &  )
delete

◆ ~sparse_qr_rep() [1/3]

template<typename SPARSE_T >
template<typename SPARSE_T >
sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::~sparse_qr_rep ( void  )

◆ sparse_qr_rep() [3/4]

Definition at line 502 of file sparse-qr.cc.

References A, Sparse< T, Alloc >::cols(), and Sparse< T, Alloc >::rows().

◆ ~sparse_qr_rep() [2/3]

Definition at line 573 of file sparse-qr.cc.

References CXSPARSE_DNAME, free(), and N.

◆ sparse_qr_rep() [4/4]

◆ ~sparse_qr_rep() [3/3]

Definition at line 1510 of file sparse-qr.cc.

References CXSPARSE_ZNAME, free(), and N.

Member Function Documentation

◆ C() [1/3]

◆ C() [2/3]

◆ C() [3/3]

template<typename SPARSE_T >
template<typename SPARSE_T >
SPARSE_T::dense_matrix_type sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C ( const typename SPARSE_T::dense_matrix_type &  b,
bool  econ = false 
)

◆ E()

template<typename SPARSE_T >
template<typename SPARSE_T >
ColumnVector sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::E ( void  ) const

Definition at line 202 of file sparse-qr.cc.

References ColumnVector, and from_suitesparse_long().

◆ ok()

template<typename SPARSE_T >
template<typename SPARSE_T >
bool sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::ok ( void  ) const
inline

Definition at line 86 of file sparse-qr.cc.

References N.

◆ operator=()

template<typename SPARSE_T >
template<typename SPARSE_T >
sparse_qr_rep& sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::operator= ( const sparse_qr_rep< SPARSE_T > &  )
delete

◆ P()

template<typename SPARSE_T >
template<typename SPARSE_T >
ColumnVector sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::P ( void  ) const

Definition at line 172 of file sparse-qr.cc.

References ColumnVector, from_suitesparse_long(), N, and Array< T, Alloc >::xelem().

◆ Pinv()

template<typename SPARSE_T >
template<typename SPARSE_T >
ColumnVector sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv ( void  ) const

◆ Q() [1/3]

◆ Q() [2/3]

◆ Q() [3/3]

template<typename SPARSE_T >
template<typename SPARSE_T >
SPARSE_T::dense_matrix_type sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q ( bool  econ = false)

◆ R() [1/3]

template<typename SPARSE_T >
template<typename SPARSE_T >
SPARSE_T sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R ( bool  econ) const

◆ R() [2/3]

◆ R() [3/3]

◆ tall_solve() [1/9]

Definition at line 1269 of file sparse-qr.cc.

References ComplexMatrix, CXSPARSE_DNAME, N, OCTAVE_LOCAL_BUFFER, and x.

◆ tall_solve() [2/9]

Definition at line 2365 of file sparse-qr.cc.

References ComplexMatrix, CXSPARSE_ZNAME, N, OCTAVE_LOCAL_BUFFER, and x.

◆ tall_solve() [3/9]

Matrix sparse_qr::sparse_qr_rep< SparseMatrix >::tall_solve< MArray< double >, Matrix > ( const MArray< double > &  b,
octave_idx_type info 
)

Definition at line 895 of file sparse-qr.cc.

References B, CXSPARSE_DNAME, sparse_qr< SPARSE_T >::E(), Matrix, N, OCTAVE_LOCAL_BUFFER, and x.

◆ tall_solve() [4/9]

ComplexMatrix sparse_qr::sparse_qr_rep< SparseComplexMatrix >::tall_solve< MArray< double >, ComplexMatrix > ( const MArray< double > &  b,
octave_idx_type info 
)

Definition at line 2047 of file sparse-qr.cc.

References ComplexMatrix, CXSPARSE_ZNAME, N, OCTAVE_LOCAL_BUFFER, and x.

◆ tall_solve() [5/9]

template<typename SPARSE_T >
template<typename SPARSE_T >
template<typename RHS_T , typename RET_T >
RET_T sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve ( const RHS_T &  b,
octave_idx_type info 
)

◆ tall_solve() [6/9]

◆ tall_solve() [7/9]

◆ tall_solve() [8/9]

◆ tall_solve() [9/9]

◆ V() [1/3]

template<typename SPARSE_T >
template<typename SPARSE_T >
SPARSE_T sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V ( void  ) const

◆ V() [2/3]

◆ V() [3/3]

◆ wide_solve() [1/9]

ComplexMatrix sparse_qr::sparse_qr_rep< SparseMatrix >::wide_solve< MArray< Complex >, ComplexMatrix > ( const MArray< Complex > &  b,
octave_idx_type info 
) const

Definition at line 1350 of file sparse-qr.cc.

References ComplexMatrix, CXSPARSE_DNAME, N, OCTAVE_LOCAL_BUFFER, and x.

◆ wide_solve() [2/9]

Definition at line 2425 of file sparse-qr.cc.

References B, ComplexMatrix, CXSPARSE_ZNAME, for(), N, OCTAVE_LOCAL_BUFFER, and x.

◆ wide_solve() [3/9]

Matrix sparse_qr::sparse_qr_rep< SparseMatrix >::wide_solve< MArray< double >, Matrix > ( const MArray< double > &  b,
octave_idx_type info 
) const

Definition at line 1037 of file sparse-qr.cc.

References CXSPARSE_DNAME, Matrix, N, OCTAVE_LOCAL_BUFFER, and x.

◆ wide_solve() [4/9]

ComplexMatrix sparse_qr::sparse_qr_rep< SparseComplexMatrix >::wide_solve< MArray< double >, ComplexMatrix > ( const MArray< double > &  b,
octave_idx_type info 
) const

Definition at line 2108 of file sparse-qr.cc.

References B, ComplexMatrix, CXSPARSE_ZNAME, for(), N, OCTAVE_LOCAL_BUFFER, and x.

◆ wide_solve() [5/9]

template<typename SPARSE_T >
template<typename SPARSE_T >
template<typename RHS_T , typename RET_T >
RET_T sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve ( const RHS_T &  b,
octave_idx_type info 
) const

◆ wide_solve() [6/9]

◆ wide_solve() [7/9]

◆ wide_solve() [8/9]

◆ wide_solve() [9/9]

Member Data Documentation

◆ N

template<typename SPARSE_T >
template<typename SPARSE_T >
cxsparse_types<SPARSE_T>::numeric_type* sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::N

◆ ncols

template<typename SPARSE_T >
template<typename SPARSE_T >
octave_idx_type sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::ncols

Definition at line 113 of file sparse-qr.cc.

◆ nrows

template<typename SPARSE_T >
template<typename SPARSE_T >
octave_idx_type sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::nrows

Definition at line 112 of file sparse-qr.cc.

◆ S

template<typename SPARSE_T >
template<typename SPARSE_T >
cxsparse_types<SPARSE_T>::symbolic_type* sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::S

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