#include "dbleQRP.h"
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) |
QRP & | operator= (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 &) |
Definition at line 32 of file dbleQRP.h.
typedef Matrix ::element_type base_qr< Matrix >::qr_elt_type [inherited] |
F77_RET_T const octave_idx_type double const octave_idx_type octave_idx_type double double const octave_idx_type octave_idx_type & QRP::QRP | ( | const Matrix & | a, | |
qr_type_t | qr_type = qr_type_std | |||
) |
Definition at line 46 of file dbleQRP.cc.
References init().
void QR::delete_col | ( | octave_idx_type | j | ) | [inherited] |
Definition at line 603 of file dbleQR.cc.
References Array< T >::columns(), base_qr< Matrix >::get_type(), QR::init(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD(), and QR::delete_col().
void QR::delete_col | ( | const Array< octave_idx_type > & | j | ) | [inherited] |
Definition at line 619 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, QR::delete_col(), DESCENDING, base_qr< Matrix >::get_type(), QR::init(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), Array< T >::sort(), and warn_qrupdate_once().
void QR::delete_row | ( | octave_idx_type | j | ) | [inherited] |
Definition at line 665 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), QR::init(), Array< T >::is_square(), base_qr< Matrix >::q, base_qr< Matrix >::r, and Array< T >::rows().
Referenced by DEFUN_DLD().
void QR::form | ( | octave_idx_type | n, | |
Matrix & | afact, | |||
double * | tau, | |||
qr_type_t | qr_type | |||
) | [protected, inherited] |
Definition at line 136 of file dbleQR.cc.
References Array< T >::columns(), Array< T >::elem(), F77_XFCN, Array< T >::fortran_vec(), max(), min(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, qr_type_economy, qr_type_raw, base_qr< Matrix >::r, Array< T >::rows(), and Array< T >::xelem().
Referenced by init(), and QR::init().
Referenced by QR::delete_col(), QR::delete_row(), QR::insert_col(), QR::insert_row(), QR::shift_cols(), and QR::update().
Reimplemented from QR.
Definition at line 53 of file dbleQRP.cc.
References Array< T >::cols(), F77_XFCN, QR::form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, p, qr_type_raw, qr_type_std, Matrix::resize(), and Array< T >::rows().
Referenced by QRP().
void QR::insert_col | ( | const Matrix & | u, | |
const Array< octave_idx_type > & | j | |||
) | [inherited] |
Definition at line 573 of file dbleQR.cc.
References ASCENDING, Matrix::column(), Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), QR::init(), QR::insert_col(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), Array< T >::sort(), and warn_qrupdate_once().
void QR::insert_col | ( | const ColumnVector & | u, | |
octave_idx_type | j | |||
) | [inherited] |
Definition at line 555 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), QR::init(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD(), and QR::insert_col().
void QR::insert_row | ( | const RowVector & | u, | |
octave_idx_type | j | |||
) | [inherited] |
Definition at line 647 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), QR::init(), Array< T >::is_square(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
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 99 of file dbleQRP.cc.
References p, and PermMatrix::pvec().
Referenced by DEFUN_DLD().
void QR::shift_cols | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inherited] |
Definition at line 681 of file dbleQR.cc.
References Array< T >::columns(), base_qr< Matrix >::get_type(), QR::init(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
void QR::update | ( | const ColumnVector & | u, | |
const ColumnVector & | v | |||
) | [inherited] |
Definition at line 460 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), QR::init(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), transpose(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
Definition at line 476 of file dbleQR.cc.
References Array< T >::cols(), Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), QR::init(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), Matrix::transpose(), and warn_qrupdate_once().
std::ostream& operator<< | ( | std::ostream & | , | |
const QRP & | ||||
) | [friend] |
F77_RET_T const octave_idx_type double const octave_idx_type double double const octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type const octave_idx_type double const octave_idx_type double double const octave_idx_type octave_idx_type &const QR::type QR::economy = qr_type_economy [static, inherited] |
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().
Definition at line 73 of file base-qr.h.
Referenced by QR::delete_col(), QR::delete_row(), QR::form(), QR::insert_col(), QR::insert_row(), QR::shift_cols(), and QR::update().
Definition at line 74 of file base-qr.h.
Referenced by QR::delete_col(), QR::delete_row(), QR::form(), QR::insert_col(), QR::insert_row(), QR::shift_cols(), and QR::update().
F77_RET_T const octave_idx_type double const octave_idx_type double double const octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type const octave_idx_type double const octave_idx_type double double const octave_idx_type octave_idx_type &const QR::type QR::raw = qr_type_raw [static, inherited] |
Definition at line 44 of file dbleQR.h.
Referenced by DEFUN_DLD().
F77_RET_T const octave_idx_type double const octave_idx_type double double const octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type const octave_idx_type double const octave_idx_type double double const octave_idx_type octave_idx_type &const QR::type QR::std = qr_type_std [static, inherited] |
Definition at line 43 of file dbleQR.h.
Referenced by DEFUN_DLD().