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

#include "sparse-qr.h"

Collaboration diagram for octave::math::sparse_qr< SPARSE_T >:

Classes

class  sparse_qr_rep
 

Public Member Functions

 sparse_qr (const sparse_qr &a)
 
 sparse_qr (const SPARSE_T &a, int order=0)
 
 sparse_qr (void)
 
 ~sparse_qr (void)
 
SPARSE_T::dense_matrix_type C (const typename SPARSE_T::dense_matrix_type &b) const
 
bool ok (void) const
 
sparse_qroperator= (const sparse_qr &a)
 
ColumnVector P (void) const
 
ColumnVector Pinv (void) const
 
SPARSE_T::dense_matrix_type Q (void) const
 
SPARSE_T R (bool econ=false) const
 
SPARSE_T V (void) const
 

Static Public Member Functions

template<typename RHS_T , typename RET_T >
static 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 >
RET_T tall_solve (const RHS_T &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
 

Private Attributes

sparse_qr_reprep
 

Detailed Description

template<typename SPARSE_T>
class octave::math::sparse_qr< SPARSE_T >

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

Constructor & Destructor Documentation

◆ sparse_qr() [1/3]

template<typename SPARSE_T >
octave::math::sparse_qr< SPARSE_T >::sparse_qr ( void  )

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

◆ sparse_qr() [2/3]

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

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

◆ sparse_qr() [3/3]

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

◆ ~sparse_qr()

template<typename SPARSE_T >
octave::math::sparse_qr< SPARSE_T >::~sparse_qr ( void  )

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

Member Function Documentation

◆ C()

template<typename SPARSE_T >
SPARSE_T::dense_matrix_type octave::math::sparse_qr< SPARSE_T >::C ( const typename SPARSE_T::dense_matrix_type &  b) const

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

Referenced by Fqr().

◆ ok()

template<typename SPARSE_T >
bool octave::math::sparse_qr< SPARSE_T >::ok ( void  ) const

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

Referenced by octave::math::sparse_qr< SPARSE_T >::solve().

◆ operator=()

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

◆ P()

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

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

◆ Pinv()

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

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

◆ Q()

template<typename SPARSE_T >
SPARSE_T::dense_matrix_type octave::math::sparse_qr< SPARSE_T >::Q ( void  ) const

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

Referenced by Fqr().

◆ R()

template<typename SPARSE_T >
SPARSE_T octave::math::sparse_qr< SPARSE_T >::R ( bool  econ = false) const

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

Referenced by Fqr().

◆ solve()

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

◆ tall_solve()

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

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

Referenced by octave::math::sparse_qr< SPARSE_T >::solve().

◆ V()

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

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

◆ wide_solve()

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

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

Referenced by octave::math::sparse_qr< SPARSE_T >::solve().

Member Data Documentation

◆ rep

template<typename SPARSE_T >
sparse_qr_rep* octave::math::sparse_qr< SPARSE_T >::rep
private

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