GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
qrp< T > Class Template Reference

#include "qrp.h"

Inheritance diagram for qrp< T >:
qr< T >

Public Types

typedef T::real_row_vector_type RV_T
 
typedef qr< T >::type type
 
- Public Types inherited from qr< T >
typedef T::column_vector_type CV_T
 
typedef T::element_type ELT_T
 
typedef T::row_vector_type RV_T
 
enum  type { std , raw , economy }
 

Public Member Functions

 qrp ()
 
 qrp (const ComplexMatrix &a, type qr_type)
 
 qrp (const FloatComplexMatrix &a, type qr_type)
 
 qrp (const FloatMatrix &a, type qr_type)
 
 qrp (const Matrix &a, type qr_type)
 
 qrp (const qrp &a)
 
 qrp (const T &, type=qr< T >::std)
 
 ~qrp ()=default
 
void init (const ComplexMatrix &a, type qr_type)
 
void init (const FloatComplexMatrix &a, type qr_type)
 
void init (const FloatMatrix &a, type qr_type)
 
void init (const Matrix &a, type qr_type)
 
void init (const T &, type=qr< T >::std)
 
qrpoperator= (const qrp &a)
 
PermMatrix P () const
 
RowVector Pvec () const
 
FloatRowVector Pvec () const
 
RowVector Pvec () const
 
FloatRowVector Pvec () const
 
RV_T Pvec () const
 
- Public Member Functions inherited from qr< T >
 qr ()
 
 qr (const qr &a)
 
 qr (const T &a, type qr_type=qr::std)
 
 qr (const T &m_q, const T &m_r)
 
virtual ~qr ()=default
 
void delete_col (const Array< octave_idx_type > &j)
 
void delete_col (const Array< octave_idx_type > &j)
 
void delete_col (const Array< octave_idx_type > &j)
 
void delete_col (const Array< octave_idx_type > &j)
 
void delete_col (const Array< octave_idx_type > &j)
 
void delete_col (octave_idx_type j)
 
void delete_col (octave_idx_type j_arg)
 
void delete_col (octave_idx_type j_arg)
 
void delete_col (octave_idx_type j_arg)
 
void delete_col (octave_idx_type j_arg)
 
void delete_row (octave_idx_type j)
 
void delete_row (octave_idx_type j_arg)
 
void delete_row (octave_idx_type j_arg)
 
void delete_row (octave_idx_type j_arg)
 
void delete_row (octave_idx_type j_arg)
 
type get_type () const
 
void init (const ComplexMatrix &a, type qr_type)
 
void init (const FloatComplexMatrix &a, type qr_type)
 
void init (const FloatMatrix &a, type qr_type)
 
void init (const Matrix &a, type qr_type)
 
void init (const T &a, type qr_type)
 
void insert_col (const ColumnVector &u, octave_idx_type j_arg)
 
void insert_col (const ComplexColumnVector &u, octave_idx_type j_arg)
 
void insert_col (const ComplexMatrix &u, const Array< octave_idx_type > &j)
 
void insert_col (const CV_T &u, octave_idx_type j)
 
void insert_col (const FloatColumnVector &u, octave_idx_type j_arg)
 
void insert_col (const FloatComplexColumnVector &u, octave_idx_type j_arg)
 
void insert_col (const FloatComplexMatrix &u, const Array< octave_idx_type > &j)
 
void insert_col (const FloatMatrix &u, const Array< octave_idx_type > &j)
 
void insert_col (const Matrix &u, const Array< octave_idx_type > &j)
 
void insert_col (const T &u, const Array< octave_idx_type > &j)
 
void insert_row (const ComplexRowVector &u, octave_idx_type j_arg)
 
void insert_row (const FloatComplexRowVector &u, octave_idx_type j_arg)
 
void insert_row (const FloatRowVector &u, octave_idx_type j_arg)
 
void insert_row (const RowVector &u, octave_idx_type j_arg)
 
void insert_row (const RV_T &u, octave_idx_type j)
 
qroperator= (const qr &a)
 
Q () const
 
R () const
 
bool regular () const
 
void shift_cols (octave_idx_type i, octave_idx_type j)
 
void shift_cols (octave_idx_type i_arg, octave_idx_type j_arg)
 
void shift_cols (octave_idx_type i_arg, octave_idx_type j_arg)
 
void shift_cols (octave_idx_type i_arg, octave_idx_type j_arg)
 
void shift_cols (octave_idx_type i_arg, octave_idx_type j_arg)
 
void update (const ColumnVector &u, const ColumnVector &v)
 
void update (const ComplexColumnVector &u, const ComplexColumnVector &v)
 
void update (const ComplexMatrix &u, const ComplexMatrix &v)
 
void update (const CV_T &u, const CV_T &v)
 
void update (const FloatColumnVector &u, const FloatColumnVector &v)
 
void update (const FloatComplexColumnVector &u, const FloatComplexColumnVector &v)
 
void update (const FloatComplexMatrix &u, const FloatComplexMatrix &v)
 
void update (const FloatMatrix &u, const FloatMatrix &v)
 
void update (const Matrix &u, const Matrix &v)
 
void update (const T &u, const T &v)
 

Additional Inherited Members

- Protected Member Functions inherited from qr< T >
void form (octave_idx_type n, T &afact, ELT_T *tau, type qr_type)
 
void form (octave_idx_type n_arg, ComplexMatrix &afact, Complex *tau, type qr_type)
 
void form (octave_idx_type n_arg, FloatComplexMatrix &afact, FloatComplex *tau, type qr_type)
 
void form (octave_idx_type n_arg, FloatMatrix &afact, float *tau, type qr_type)
 
void form (octave_idx_type n_arg, Matrix &afact, double *tau, type qr_type)
 
- Protected Attributes inherited from qr< T >
m_q
 
m_r
 

Detailed Description

template<typename T>
class qrp< T >

Definition at line 39 of file qrp.h.

Member Typedef Documentation

◆ RV_T

template<typename T >
typedef T::real_row_vector_type qrp< T >::RV_T

Definition at line 44 of file qrp.h.

◆ type

template<typename T >
typedef qr<T>::type qrp< T >::type

Definition at line 46 of file qrp.h.

Constructor & Destructor Documentation

◆ qrp() [1/7]

template<typename T >
qrp< T >::qrp ( )
inline

Definition at line 48 of file qrp.h.

◆ qrp() [2/7]

template<typename T >
qrp< T >::qrp ( const T &  ,
type  = qr< T >::std 
)

◆ qrp() [3/7]

template<typename T >
qrp< T >::qrp ( const qrp< T > &  a)
inline

Definition at line 52 of file qrp.h.

◆ ~qrp()

template<typename T >
qrp< T >::~qrp ( )
default

◆ qrp() [4/7]

qrp< Matrix >::qrp ( const Matrix a,
type  qr_type 
)

Definition at line 107 of file qrp.cc.

◆ qrp() [5/7]

qrp< FloatMatrix >::qrp ( const FloatMatrix a,
type  qr_type 
)

Definition at line 178 of file qrp.cc.

◆ qrp() [6/7]

qrp< ComplexMatrix >::qrp ( const ComplexMatrix a,
type  qr_type 
)

Definition at line 257 of file qrp.cc.

◆ qrp() [7/7]

qrp< FloatComplexMatrix >::qrp ( const FloatComplexMatrix a,
type  qr_type 
)

Definition at line 336 of file qrp.cc.

Member Function Documentation

◆ init() [1/5]

void qrp< ComplexMatrix >::init ( const ComplexMatrix a,
type  qr_type 
)

Definition at line 197 of file qrp.cc.

◆ init() [2/5]

void qrp< FloatComplexMatrix >::init ( const FloatComplexMatrix a,
type  qr_type 
)

Definition at line 276 of file qrp.cc.

◆ init() [3/5]

void qrp< FloatMatrix >::init ( const FloatMatrix a,
type  qr_type 
)

Definition at line 126 of file qrp.cc.

◆ init() [4/5]

void qrp< Matrix >::init ( const Matrix a,
type  qr_type 
)

Definition at line 55 of file qrp.cc.

◆ init() [5/5]

template<typename T >
void qrp< T >::init ( const T &  ,
type  = qr< T >::std 
)

◆ operator=()

template<typename T >
qrp& qrp< T >::operator= ( const qrp< T > &  a)
inline

Definition at line 54 of file qrp.h.

References qr< T >::operator=().

◆ P()

template<typename T >
PermMatrix qrp< T >::P ( ) const
inline

Definition at line 69 of file qrp.h.

◆ Pvec() [1/5]

RowVector qrp< Matrix >::Pvec ( ) const

Definition at line 116 of file qrp.cc.

◆ Pvec() [2/5]

FloatRowVector qrp< FloatMatrix >::Pvec ( ) const

Definition at line 187 of file qrp.cc.

◆ Pvec() [3/5]

RowVector qrp< ComplexMatrix >::Pvec ( ) const

Definition at line 266 of file qrp.cc.

◆ Pvec() [4/5]

Definition at line 345 of file qrp.cc.

◆ Pvec() [5/5]

template<typename T >
RV_T qrp< T >::Pvec ( ) const

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