GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 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 |
|
inherited |
QR::QR | ( | const Matrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
void QR::delete_col | ( | octave_idx_type | j | ) |
Definition at line 328 of file dbleQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Matrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
void QR::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 355 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, DESCENDING, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Matrix::resize(), Array< T >::rows(), Array< T >::sort(), and Faddeeva::w().
void QR::delete_row | ( | octave_idx_type | j | ) |
Definition at line 421 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::is_square(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Matrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
|
protected |
Definition at line 138 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 QRP::init().
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 | ||
) |
Definition at line 251 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, Array< T >::data(), F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Matrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
void QR::insert_col | ( | const Matrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
Definition at line 282 of file dbleQR.cc.
References ASCENDING, Matrix::column(), Array< T >::columns(), current_liboctave_error_handler, Array< T >::data(), F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), min(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Matrix::resize(), Array< T >::rows(), Array< T >::sort(), and Faddeeva::w().
void QR::insert_row | ( | const RowVector & | u, |
octave_idx_type | j | ||
) |
Definition at line 397 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::is_square(), Array< T >::length(), min(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Matrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
void QR::shift_cols | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) |
Definition at line 443 of file dbleQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
void QR::update | ( | const ColumnVector & | u, |
const ColumnVector & | v | ||
) |
Definition at line 209 of file dbleQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
Definition at line 228 of file dbleQR.cc.
References Array< T >::cols(), Matrix::column(), Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< Matrix >::q, base_qr< Matrix >::r, Array< T >::rows(), and Faddeeva::w().
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().
|
static |
Definition at line 44 of file dbleQR.h.
Referenced by DEFUN_DLD().
|
static |
Definition at line 43 of file dbleQR.h.
Referenced by DEFUN_DLD().