GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
FloatQRP Class Reference

#include "floatQRP.h"

Inheritance diagram for FloatQRP:
Inheritance graph
[legend]
Collaboration diagram for FloatQRP:
Collaboration graph
[legend]

Public Types

typedef FloatMatrix::element_type qr_elt_type
 

Public Member Functions

 FloatQRP (void)
 
 FloatQRP (const FloatMatrix &, qr_type_t=qr_type_std)
 
 FloatQRP (const FloatQRP &a)
 
 ~FloatQRP (void)
 
void delete_col (octave_idx_type j)
 
void delete_col (const Array< octave_idx_type > &j)
 
void delete_row (octave_idx_type j)
 
qr_type_t get_type (void) const
 
void init (const FloatMatrix &, qr_type_t=qr_type_std)
 
void insert_col (const FloatColumnVector &u, octave_idx_type j)
 
void insert_col (const FloatMatrix &u, const Array< octave_idx_type > &j)
 
void insert_row (const FloatRowVector &u, octave_idx_type j)
 
FloatQRPoperator= (const FloatQRP &a)
 
PermMatrix P (void) const
 
FloatRowVector Pvec (void) const
 
FloatMatrix Q (void) const
 
FloatMatrix R (void) const
 
bool regular (void) const
 
void shift_cols (octave_idx_type i, octave_idx_type j)
 
void update (const FloatColumnVector &u, const FloatColumnVector &v)
 
void update (const FloatMatrix &u, const FloatMatrix &v)
 

Protected Member Functions

void form (octave_idx_type n, FloatMatrix &afact, float *tau, qr_type_t qr_type)
 

Protected Attributes

PermMatrix p
 
FloatMatrix q
 
FloatMatrix r
 

Friends

std::ostream & operator<< (std::ostream &, const FloatQRP &)
 

Detailed Description

Definition at line 32 of file floatQRP.h.

Member Typedef Documentation

typedef FloatMatrix ::element_type base_qr< FloatMatrix >::qr_elt_type
inherited

Definition at line 43 of file base-qr.h.

Constructor & Destructor Documentation

FloatQRP::FloatQRP ( void  )
inline

Definition at line 38 of file floatQRP.h.

Definition at line 46 of file floatQRP.cc.

References init().

FloatQRP::FloatQRP ( const FloatQRP a)
inline

Definition at line 42 of file floatQRP.h.

FloatQRP::~FloatQRP ( void  )
inline

Definition at line 55 of file floatQRP.h.

Member Function Documentation

void FloatQR::delete_col ( octave_idx_type  j)
inherited
void FloatQR::delete_col ( const Array< octave_idx_type > &  j)
inherited
void FloatQR::delete_row ( octave_idx_type  j)
inherited
void FloatQR::form ( octave_idx_type  n,
FloatMatrix afact,
float tau,
qr_type_t  qr_type 
)
protectedinherited
qr_type_t base_qr< FloatMatrix >::get_type ( void  ) const
inherited
void FloatQRP::init ( const FloatMatrix a,
qr_type_t  qr_type = qr_type_std 
)
void FloatQR::insert_col ( const FloatColumnVector u,
octave_idx_type  j 
)
inherited
void FloatQR::insert_col ( const FloatMatrix u,
const Array< octave_idx_type > &  j 
)
inherited
void FloatQR::insert_row ( const FloatRowVector u,
octave_idx_type  j 
)
inherited
FloatQRP& FloatQRP::operator= ( const FloatQRP a)
inline

Definition at line 44 of file floatQRP.h.

References base_qr< FloatMatrix >::operator=(), and p.

PermMatrix FloatQRP::P ( void  ) const
inline

Definition at line 59 of file floatQRP.h.

Referenced by Gqr().

FloatRowVector FloatQRP::Pvec ( void  ) const

Definition at line 101 of file floatQRP.cc.

References PermMatrix::col_perm_vec(), f, and p.

Referenced by Gqr().

FloatMatrix base_qr< FloatMatrix >::Q ( void  ) const
inlineinherited

Definition at line 63 of file base-qr.h.

FloatMatrix base_qr< FloatMatrix >::R ( void  ) const
inlineinherited

Definition at line 65 of file base-qr.h.

bool base_qr< FloatMatrix >::regular ( void  ) const
inherited
void FloatQR::shift_cols ( octave_idx_type  i,
octave_idx_type  j 
)
inherited
void FloatQR::update ( const FloatColumnVector u,
const FloatColumnVector v 
)
inherited
void FloatQR::update ( const FloatMatrix u,
const FloatMatrix v 
)
inherited

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const FloatQRP  
)
friend

Member Data Documentation

PermMatrix FloatQRP::p
protected

Definition at line 67 of file floatQRP.h.

Referenced by init(), operator=(), and Pvec().

FloatMatrix base_qr< FloatMatrix >::q
protectedinherited
FloatMatrix base_qr< FloatMatrix >::r
protectedinherited

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