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 | List of all members
QR Class Reference

#include "dbleQR.h"

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

Public Types

typedef Matrix::element_type qr_elt_type
typedef qr_type_t type

Public Member Functions

 QR (void)
 QR (const Matrix &, qr_type_t=qr_type_std)
 QR (const Matrix &qx, const Matrix &rx)
 QR (const QR &a)
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)
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)
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

Matrix q
Matrix r

Detailed Description

Definition at line 34 of file dbleQR.h.

Member Typedef Documentation

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

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

Definition at line 41 of file dbleQR.h.

Constructor & Destructor Documentation

QR::QR ( void  )
inline

Definition at line 47 of file dbleQR.h.

QR::QR ( const Matrix a,
qr_type_t  qr_type = qr_type_std 
)

Definition at line 100 of file dbleQR.cc.

References init().

QR::QR ( const Matrix qx,
const Matrix rx 
)
inline

Definition at line 51 of file dbleQR.h.

QR::QR ( const QR a)
inline

Definition at line 54 of file dbleQR.h.

Member Function Documentation

void QR::delete_col ( octave_idx_type  j)
void QR::delete_col ( const Array< octave_idx_type > &  j)
void QR::delete_row ( octave_idx_type  j)
void QR::form ( octave_idx_type  n,
Matrix afact,
double tau,
qr_type_t  qr_type 
)
protected
qr_type_t base_qr< Matrix >::get_type ( void  ) const
inherited
void QR::init ( const Matrix a,
qr_type_t  qr_type 
)

Reimplemented in QRP.

Definition at line 106 of file dbleQR.cc.

References Array< T >::cols(), F77_XFCN, form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, qr_type_std, Matrix::resize(), and Array< T >::rows().

Referenced by QR().

void QR::insert_col ( const ColumnVector u,
octave_idx_type  j 
)
void QR::insert_col ( const Matrix u,
const Array< octave_idx_type > &  j 
)
void QR::insert_row ( const RowVector u,
octave_idx_type  j 
)
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 
)
void QR::update ( const ColumnVector u,
const ColumnVector v 
)
void QR::update ( const Matrix u,
const Matrix v 
)

Member Data Documentation

Definition at line 45 of file dbleQR.h.

Referenced by DEFUN_DLD().

Matrix base_qr< Matrix >::q
protectedinherited

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

Referenced by delete_col(), delete_row(), form(), insert_col(), insert_row(), shift_cols(), and update().

Matrix base_qr< Matrix >::r
protectedinherited

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

Referenced by delete_col(), delete_row(), form(), insert_col(), insert_row(), shift_cols(), and update().

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: