GNU Octave  8.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 >:
Collaboration diagram for qrp< T >:

Public Types

typedef T::column_vector_type CV_T
 
typedef T::element_type ELT_T
 
typedef T::real_row_vector_type RV_T
 
typedef qr< T >::type type
 

Public Member Functions

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

Protected Member Functions

OCTAVE_API void form (octave_idx_type n, T &afact, ELT_T *tau, type qr_type)
 
OCTAVE_API void form (octave_idx_type n_arg, ComplexMatrix &afact, Complex *tau, type qr_type)
 
OCTAVE_API void form (octave_idx_type n_arg, FloatComplexMatrix &afact, FloatComplex *tau, type qr_type)
 
OCTAVE_API void form (octave_idx_type n_arg, FloatMatrix &afact, float *tau, type qr_type)
 
OCTAVE_API void form (octave_idx_type n_arg, Matrix &afact, double *tau, type qr_type)
 

Protected Attributes

m_q
 
m_r
 

Private Attributes

PermMatrix m_p
 

Detailed Description

template<typename T>
class qrp< T >

Definition at line 39 of file qrp.h.

Member Typedef Documentation

◆ CV_T

template<typename T >
typedef T::column_vector_type qr< T >::CV_T
inherited

Definition at line 45 of file qr.h.

◆ ELT_T

template<typename T >
typedef T::element_type qr< T >::ELT_T
inherited

Definition at line 43 of file qr.h.

◆ 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 ( void  )
inline

Definition at line 48 of file qrp.h.

◆ qrp() [2/7]

template<typename T >
OCTAVE_API 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 ( void  )
default

◆ qrp() [4/7]

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

Definition at line 107 of file qrp.cc.

References qrp< T >::init(), and qr_type().

◆ qrp() [5/7]

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

Definition at line 178 of file qrp.cc.

References qrp< T >::init(), and qr_type().

◆ qrp() [6/7]

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

Definition at line 257 of file qrp.cc.

References qrp< T >::init(), and qr_type().

◆ qrp() [7/7]

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

Definition at line 336 of file qrp.cc.

References qrp< T >::init(), and qr_type().

Member Function Documentation

◆ delete_col() [1/10]

OCTAVE_API void qr< Matrix >::delete_col ( const Array< octave_idx_type > &  j)
inherited

◆ delete_col() [2/10]

OCTAVE_API void qr< FloatMatrix >::delete_col ( const Array< octave_idx_type > &  j)
inherited

◆ delete_col() [3/10]

OCTAVE_API void qr< ComplexMatrix >::delete_col ( const Array< octave_idx_type > &  j)
inherited

◆ delete_col() [4/10]

OCTAVE_API void qr< FloatComplexMatrix >::delete_col ( const Array< octave_idx_type > &  j)
inherited

◆ delete_col() [5/10]

template<typename T >
OCTAVE_API void qr< T >::delete_col ( const Array< octave_idx_type > &  j)
inherited

◆ delete_col() [6/10]

template<typename T >
OCTAVE_API void qr< T >::delete_col ( octave_idx_type  j)
inherited

◆ delete_col() [7/10]

OCTAVE_API void qr< Matrix >::delete_col ( octave_idx_type  j_arg)
inherited

Definition at line 633 of file qr.cc.

References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_col() [8/10]

OCTAVE_API void qr< FloatMatrix >::delete_col ( octave_idx_type  j_arg)
inherited

Definition at line 1049 of file qr.cc.

References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_col() [9/10]

OCTAVE_API void qr< ComplexMatrix >::delete_col ( octave_idx_type  j_arg)
inherited

Definition at line 1489 of file qr.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, and OCTAVE_LOCAL_BUFFER.

◆ delete_col() [10/10]

OCTAVE_API void qr< FloatComplexMatrix >::delete_col ( octave_idx_type  j_arg)
inherited

Definition at line 1928 of file qr.cc.

References F77_CMPLX_ARG, F77_XFCN, m, n, and OCTAVE_LOCAL_BUFFER.

◆ delete_row() [1/5]

template<typename T >
OCTAVE_API void qr< T >::delete_row ( octave_idx_type  j)
inherited

◆ delete_row() [2/5]

OCTAVE_API void qr< Matrix >::delete_row ( octave_idx_type  j_arg)
inherited

Definition at line 744 of file qr.cc.

References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_row() [3/5]

OCTAVE_API void qr< FloatMatrix >::delete_row ( octave_idx_type  j_arg)
inherited

Definition at line 1161 of file qr.cc.

References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_row() [4/5]

OCTAVE_API void qr< ComplexMatrix >::delete_row ( octave_idx_type  j_arg)
inherited

Definition at line 1604 of file qr.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ delete_row() [5/5]

OCTAVE_API void qr< FloatComplexMatrix >::delete_row ( octave_idx_type  j_arg)
inherited

Definition at line 2042 of file qr.cc.

References F77_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ form() [1/5]

template<typename T >
OCTAVE_API void qr< T >::form ( octave_idx_type  n,
T &  afact,
ELT_T tau,
type  qr_type 
)
protectedinherited

◆ form() [2/5]

OCTAVE_API void qr< ComplexMatrix >::form ( octave_idx_type  n_arg,
ComplexMatrix afact,
Complex tau,
type  qr_type 
)
protectedinherited

◆ form() [3/5]

◆ form() [4/5]

OCTAVE_API void qr< FloatMatrix >::form ( octave_idx_type  n_arg,
FloatMatrix afact,
float *  tau,
type  qr_type 
)
protectedinherited

◆ form() [5/5]

OCTAVE_API void qr< Matrix >::form ( octave_idx_type  n_arg,
Matrix afact,
double *  tau,
type  qr_type 
)
protectedinherited

◆ get_type()

template<typename T >
qr< T >::type qr< T >::get_type ( void  ) const
inherited

Definition at line 73 of file qr.cc.

◆ init() [1/5]

◆ init() [2/5]

◆ init() [3/5]

◆ init() [4/5]

◆ init() [5/5]

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

Referenced by qrp< T >::qrp().

◆ insert_col() [1/10]

OCTAVE_API void qr< Matrix >::insert_col ( const ColumnVector u,
octave_idx_type  j_arg 
)
inherited

◆ insert_col() [2/10]

◆ insert_col() [3/10]

◆ insert_col() [4/10]

template<typename T >
OCTAVE_API void qr< T >::insert_col ( const CV_T u,
octave_idx_type  j 
)
inherited

◆ insert_col() [5/10]

OCTAVE_API void qr< FloatMatrix >::insert_col ( const FloatColumnVector u,
octave_idx_type  j_arg 
)
inherited

◆ insert_col() [6/10]

◆ insert_col() [7/10]

◆ insert_col() [8/10]

◆ insert_col() [9/10]

◆ insert_col() [10/10]

template<typename T >
OCTAVE_API void qr< T >::insert_col ( const T &  u,
const Array< octave_idx_type > &  j 
)
inherited

◆ insert_row() [1/5]

OCTAVE_API void qr< ComplexMatrix >::insert_row ( const ComplexRowVector u,
octave_idx_type  j_arg 
)
inherited

◆ insert_row() [2/5]

OCTAVE_API void qr< FloatComplexMatrix >::insert_row ( const FloatComplexRowVector u,
octave_idx_type  j_arg 
)
inherited

◆ insert_row() [3/5]

OCTAVE_API void qr< FloatMatrix >::insert_row ( const FloatRowVector u,
octave_idx_type  j_arg 
)
inherited

◆ insert_row() [4/5]

OCTAVE_API void qr< Matrix >::insert_row ( const RowVector u,
octave_idx_type  j_arg 
)
inherited

◆ insert_row() [5/5]

template<typename T >
OCTAVE_API void qr< T >::insert_row ( const RV_T u,
octave_idx_type  j 
)
inherited

◆ operator=()

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

Definition at line 54 of file qrp.h.

References qrp< T >::m_p, and qr< T >::operator=().

◆ P()

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

Definition at line 69 of file qrp.h.

◆ Pvec() [1/5]

OCTAVE_API RowVector qrp< Matrix >::Pvec ( void  ) const

Definition at line 116 of file qrp.cc.

◆ Pvec() [2/5]

OCTAVE_API FloatRowVector qrp< FloatMatrix >::Pvec ( void  ) const

Definition at line 187 of file qrp.cc.

◆ Pvec() [3/5]

OCTAVE_API RowVector qrp< ComplexMatrix >::Pvec ( void  ) const

Definition at line 266 of file qrp.cc.

◆ Pvec() [4/5]

OCTAVE_API FloatRowVector qrp< FloatComplexMatrix >::Pvec ( void  ) const

Definition at line 345 of file qrp.cc.

◆ Pvec() [5/5]

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

◆ Q()

template<typename T >
T qr< T >::Q ( void  ) const
inlineinherited

Definition at line 79 of file qr.h.

◆ R()

template<typename T >
T qr< T >::R ( void  ) const
inlineinherited

Definition at line 81 of file qr.h.

◆ regular()

template<typename T >
bool qr< T >::regular ( void  ) const
inherited

Definition at line 89 of file qr.cc.

References min().

◆ shift_cols() [1/5]

template<typename T >
OCTAVE_API void qr< T >::shift_cols ( octave_idx_type  i,
octave_idx_type  j 
)
inherited

◆ shift_cols() [2/5]

OCTAVE_API void qr< Matrix >::shift_cols ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)
inherited

Definition at line 770 of file qr.cc.

References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ shift_cols() [3/5]

OCTAVE_API void qr< FloatMatrix >::shift_cols ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)
inherited

Definition at line 1188 of file qr.cc.

References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ shift_cols() [4/5]

OCTAVE_API void qr< ComplexMatrix >::shift_cols ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)
inherited

Definition at line 1632 of file qr.cc.

References F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ shift_cols() [5/5]

OCTAVE_API void qr< FloatComplexMatrix >::shift_cols ( octave_idx_type  i_arg,
octave_idx_type  j_arg 
)
inherited

Definition at line 2070 of file qr.cc.

References F77_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().

◆ update() [1/10]

OCTAVE_API void qr< Matrix >::update ( const ColumnVector u,
const ColumnVector v 
)
inherited

◆ update() [2/10]

◆ update() [3/10]

◆ update() [4/10]

template<typename T >
OCTAVE_API void qr< T >::update ( const CV_T u,
const CV_T v 
)
inherited

◆ update() [5/10]

OCTAVE_API void qr< FloatMatrix >::update ( const FloatColumnVector u,
const FloatColumnVector v 
)
inherited

◆ update() [6/10]

◆ update() [7/10]

◆ update() [8/10]

◆ update() [9/10]

OCTAVE_API void qr< Matrix >::update ( const Matrix u,
const Matrix v 
)
inherited

◆ update() [10/10]

template<typename T >
OCTAVE_API void qr< T >::update ( const T &  u,
const T &  v 
)
inherited

Member Data Documentation

◆ m_p

template<typename T >
PermMatrix qrp< T >::m_p
private

Definition at line 75 of file qrp.h.

Referenced by qrp< T >::operator=().

◆ m_q

template<typename T >
T qr< T >::m_q
protectedinherited

Definition at line 109 of file qr.h.

Referenced by qr< T >::qr(), and qr< T >::operator=().

◆ m_r

template<typename T >
T qr< T >::m_r
protectedinherited

Definition at line 110 of file qr.h.

Referenced by qr< T >::qr(), and qr< T >::operator=().


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