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

#include "sparse-qr.h"

Collaboration diagram for sparse_qr< SPARSE_T >:

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_qroperator= (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_repm_rep
 

Detailed Description

template<typename SPARSE_T>
class sparse_qr< SPARSE_T >

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

Constructor & Destructor Documentation

◆ sparse_qr() [1/3]

template<typename SPARSE_T >
template OCTAVE_API sparse_qr< SPARSE_T >::sparse_qr ( void  )

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

◆ sparse_qr() [2/3]

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

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

◆ sparse_qr() [3/3]

template<typename SPARSE_T >
sparse_qr< SPARSE_T >::sparse_qr ( const sparse_qr< SPARSE_T > &  a)
default

◆ ~sparse_qr()

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

Member Function Documentation

◆ C()

template<typename SPARSE_T >
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.

◆ E()

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

◆ E_MAT()

template<typename SPARSE_T >
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().

◆ min2norm_solve()

template<typename SPARSE_T >
template<typename RHS_T , typename RET_T >
static OCTAVE_API RET_T sparse_qr< SPARSE_T >::min2norm_solve ( const SPARSE_T &  a,
const RHS_T &  b,
octave_idx_type info,
int  order 
)
staticprivate

◆ ok()

template<typename SPARSE_T >
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().

◆ operator=()

template<typename SPARSE_T >
sparse_qr& sparse_qr< SPARSE_T >::operator= ( const sparse_qr< SPARSE_T > &  a)
default

◆ P()

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

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

◆ Pinv()

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

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

◆ Q()

template<typename SPARSE_T >
template OCTAVE_API ComplexMatrix sparse_qr< SPARSE_T >::Q ( bool  econ = false) const

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

◆ R()

template<typename SPARSE_T >
template OCTAVE_API SparseComplexMatrix sparse_qr< SPARSE_T >::R ( bool  econ = false) const

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

◆ solve() [1/2]

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

◆ solve() [2/2]

template<typename SPARSE_T >
template<typename RHS_T , typename RET_T >
static OCTAVE_API RET_T sparse_qr< SPARSE_T >::solve ( const SPARSE_T &  a,
const RHS_T &  b,
octave_idx_type info 
)
static

◆ tall_solve() [1/2]

template<typename SPARSE_T >
template<typename RHS_T , typename RET_T >
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.

◆ tall_solve() [2/2]

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

◆ V()

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

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

◆ wide_solve() [1/2]

template<typename SPARSE_T >
template<typename RHS_T , typename RET_T >
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.

◆ wide_solve() [2/2]

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

Member Data Documentation

◆ m_rep

template<typename SPARSE_T >
std::shared_ptr<sparse_qr_rep> sparse_qr< SPARSE_T >::m_rep
private

Definition at line 111 of file sparse-qr.h.


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