GNU Octave  3.8.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 | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
QRP Class Reference

#include "dbleQRP.h"

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

Public Types

typedef Matrix::element_type qr_elt_type
typedef qr_type_t type

Public Member Functions

 QRP (void)
 QRP (const Matrix &, qr_type_t=qr_type_std)
 QRP (const QRP &a)
 ~QRP (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 Matrix &, qr_type_t=qr_type_std)
void insert_col (const ColumnVector &u, octave_idx_type j)
void insert_col (const Matrix &u, const Array< octave_idx_type > &j)
void insert_row (const RowVector &u, octave_idx_type j)
QRPoperator= (const QRP &a)
PermMatrix P (void) const
RowVector Pvec (void) const
Matrix Q (void) const
Matrix R (void) const
bool regular (void) const
void shift_cols (octave_idx_type i, octave_idx_type j)
void update (const ColumnVector &u, const ColumnVector &v)
void update (const Matrix &u, const Matrix &v)

Static Public Attributes

static const type economy = qr_type_economy
static const type raw = qr_type_raw
static const type std = qr_type_std

Protected Member Functions

void form (octave_idx_type n, Matrix &afact, double *tau, qr_type_t qr_type)

Protected Attributes

PermMatrix p
Matrix q
Matrix r

Friends

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

Detailed Description

Definition at line 32 of file dbleQRP.h.

Member Typedef Documentation

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

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

typedef qr_type_t QR::type
inherited

Definition at line 41 of file dbleQR.h.

Constructor & Destructor Documentation

QRP::QRP ( void  )
inline

Definition at line 38 of file dbleQRP.h.

Definition at line 46 of file dbleQRP.cc.

References init().

QRP::QRP ( const QRP a)
inline

Definition at line 42 of file dbleQRP.h.

QRP::~QRP ( void  )
inline

Definition at line 55 of file dbleQRP.h.

Member Function Documentation

void QR::delete_col ( octave_idx_type  j)
inherited
void QR::delete_col ( const Array< octave_idx_type > &  j)
inherited
void QR::delete_row ( octave_idx_type  j)
inherited
void QR::form ( octave_idx_type  n,
Matrix afact,
double tau,
qr_type_t  qr_type 
)
protectedinherited
qr_type_t base_qr< Matrix >::get_type ( void  ) const
inherited
void QRP::init ( const Matrix a,
qr_type_t  qr_type = qr_type_std 
)
void QR::insert_col ( const ColumnVector u,
octave_idx_type  j 
)
inherited
void QR::insert_col ( const Matrix u,
const Array< octave_idx_type > &  j 
)
inherited
void QR::insert_row ( const RowVector u,
octave_idx_type  j 
)
inherited
QRP& QRP::operator= ( const QRP a)
inline

Definition at line 44 of file dbleQRP.h.

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

PermMatrix QRP::P ( void  ) const
inline

Definition at line 59 of file dbleQRP.h.

Referenced by DEFUN_DLD().

RowVector QRP::Pvec ( void  ) const

Definition at line 101 of file dbleQRP.cc.

References p, and PermMatrix::pvec().

Referenced by DEFUN_DLD().

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

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

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

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

bool base_qr< Matrix >::regular ( void  ) const
inherited
void QR::shift_cols ( octave_idx_type  i,
octave_idx_type  j 
)
inherited
void QR::update ( const ColumnVector u,
const ColumnVector v 
)
inherited
void QR::update ( const Matrix u,
const Matrix v 
)
inherited

Friends And Related Function Documentation

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

Member Data Documentation

Definition at line 45 of file dbleQR.h.

Referenced by DEFUN_DLD().

PermMatrix QRP::p
protected

Definition at line 67 of file dbleQRP.h.

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

Matrix base_qr< Matrix >::q
protectedinherited
Matrix base_qr< Matrix >::r
protectedinherited

Definition at line 44 of file dbleQR.h.

Referenced by DEFUN_DLD().

Definition at line 43 of file dbleQR.h.

Referenced by DEFUN_DLD().


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