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

#include "qrp.h"

Inheritance diagram for octave::math::qrp< T >:
Collaboration diagram for octave::math::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

 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 (octave_idx_type j)
 
OCTAVE_API void delete_row (octave_idx_type j)
 
OCTAVE_API type get_type (void) const
 
OCTAVE_API void init (const T &, type=qr< T >::std)
 
OCTAVE_API void insert_col (const CV_T &u, octave_idx_type j)
 
OCTAVE_API void insert_col (const T &u, const Array< octave_idx_type > &j)
 
OCTAVE_API void insert_row (const RV_T &u, octave_idx_type j)
 
qrpoperator= (const qrp &a)
 
PermMatrix P (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 update (const CV_T &u, const CV_T &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)
 

Protected Attributes

m_q
 
m_r
 

Private Attributes

PermMatrix m_p
 

Detailed Description

template<typename T>
class octave::math::qrp< T >

Definition at line 39 of file qrp.h.

Member Typedef Documentation

◆ CV_T

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

Definition at line 45 of file qr.h.

◆ ELT_T

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

Definition at line 43 of file qr.h.

◆ RV_T

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

Definition at line 44 of file qrp.h.

◆ type

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

Definition at line 46 of file qrp.h.

Constructor & Destructor Documentation

◆ qrp() [1/3]

template<typename T >
octave::math::qrp< T >::qrp ( void  )
inline

Definition at line 48 of file qrp.h.

◆ qrp() [2/3]

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

◆ qrp() [3/3]

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

Definition at line 52 of file qrp.h.

◆ ~qrp()

template<typename T >
octave::math::qrp< T >::~qrp ( void  )
default

Member Function Documentation

◆ delete_col() [1/2]

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

◆ delete_col() [2/2]

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

◆ delete_row()

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

◆ form()

template<typename T >
OCTAVE_API void octave::math::qr< T >::form ( octave_idx_type  n,
T &  afact,
ELT_T 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()

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

◆ insert_col() [1/2]

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

◆ insert_col() [2/2]

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

◆ insert_row()

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

◆ operator=()

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

Definition at line 54 of file qrp.h.

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

◆ P()

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

Definition at line 69 of file qrp.h.

◆ Pvec()

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

◆ Q()

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

Definition at line 79 of file qr.h.

◆ R()

template<typename T >
T octave::math::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()

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

◆ update() [1/2]

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

◆ update() [2/2]

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

Member Data Documentation

◆ m_p

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

Definition at line 75 of file qrp.h.

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

◆ m_q

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

Definition at line 109 of file qr.h.

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

◆ m_r

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

Definition at line 110 of file qr.h.

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


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