#include "dbleQR.h"
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 QR &a) | |
QR (const Matrix &qx, const Matrix &rx) | |
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 Matrix &u, const Matrix &v) |
void | update (const ColumnVector &u, const ColumnVector &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 |
Definition at line 34 of file dbleQR.h.
typedef Matrix ::element_type base_qr< Matrix >::qr_elt_type [inherited] |
void QR::delete_col | ( | octave_idx_type | j | ) |
Definition at line 603 of file dbleQR.cc.
References Array< T >::columns(), base_qr< Matrix >::get_type(), init(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD(), and delete_col().
void QR::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 619 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, delete_col(), DESCENDING, base_qr< Matrix >::get_type(), 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 | ) |
Definition at line 665 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), 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] |
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 QRP::init(), and init().
Referenced by delete_col(), delete_row(), insert_col(), insert_row(), shift_cols(), and update().
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 delete_col(), delete_row(), insert_col(), insert_row(), QR(), shift_cols(), and update().
void QR::insert_col | ( | const ColumnVector & | u, | |
octave_idx_type | j | |||
) |
Definition at line 555 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), init(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD(), and insert_col().
void QR::insert_col | ( | const Matrix & | u, | |
const Array< octave_idx_type > & | j | |||
) |
Definition at line 573 of file dbleQR.cc.
References ASCENDING, Matrix::column(), Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), init(), 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_row | ( | const RowVector & | u, | |
octave_idx_type | j | |||
) |
Definition at line 647 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), 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().
void QR::shift_cols | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) |
Definition at line 681 of file dbleQR.cc.
References Array< T >::columns(), base_qr< Matrix >::get_type(), init(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), 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(), init(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), Matrix::transpose(), and warn_qrupdate_once().
void QR::update | ( | const ColumnVector & | u, | |
const ColumnVector & | v | |||
) |
Definition at line 460 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, base_qr< Matrix >::get_type(), init(), Array< T >::length(), base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), transpose(), and warn_qrupdate_once().
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::economy = qr_type_economy [static] |
Definition at line 45 of file dbleQR.h.
Referenced by DEFUN_DLD().
Definition at line 73 of file base-qr.h.
Referenced by delete_col(), delete_row(), form(), insert_col(), insert_row(), shift_cols(), and update().
Definition at line 74 of file base-qr.h.
Referenced by delete_col(), delete_row(), form(), insert_col(), insert_row(), shift_cols(), and 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] |
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] |
Definition at line 43 of file dbleQR.h.
Referenced by DEFUN_DLD().