GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 &) |
|
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().
|
inherited |
Definition at line 331 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 Gqrdelete().
|
inherited |
Definition at line 358 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().
|
inherited |
Definition at line 424 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 Gqrdelete().
|
protectedinherited |
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 QR::init(), and init().
void QRP::init | ( | const Matrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
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().
|
inherited |
Definition at line 254 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 Gqrinsert().
|
inherited |
Definition at line 285 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().
|
inherited |
Definition at line 400 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 Gqrinsert().
Definition at line 44 of file dbleQRP.h.
References base_qr< Matrix >::operator=(), and p.
|
inline |
RowVector QRP::Pvec | ( | void | ) | const |
Definition at line 101 of file dbleQRP.cc.
References PermMatrix::col_perm_vec(), and p.
Referenced by Gqr().
|
inherited |
Definition at line 446 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 Gqrshift().
|
inherited |
Definition at line 210 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 Gqrupdate().
Definition at line 230 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().
|
friend |
|
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().
|
staticinherited |
|
staticinherited |