GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "floatQRP.h"
Public Types | |
typedef FloatMatrix::element_type | qr_elt_type |
Public Member Functions | |
FloatQRP (void) | |
FloatQRP (const FloatMatrix &, qr_type_t=qr_type_std) | |
FloatQRP (const FloatQRP &a) | |
~FloatQRP (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 FloatMatrix &, qr_type_t=qr_type_std) |
void | insert_col (const FloatColumnVector &u, octave_idx_type j) |
void | insert_col (const FloatMatrix &u, const Array< octave_idx_type > &j) |
void | insert_row (const FloatRowVector &u, octave_idx_type j) |
FloatQRP & | operator= (const FloatQRP &a) |
PermMatrix | P (void) const |
FloatRowVector | Pvec (void) const |
FloatMatrix | Q (void) const |
FloatMatrix | R (void) const |
bool | regular (void) const |
void | shift_cols (octave_idx_type i, octave_idx_type j) |
void | update (const FloatColumnVector &u, const FloatColumnVector &v) |
void | update (const FloatMatrix &u, const FloatMatrix &v) |
Protected Member Functions | |
void | form (octave_idx_type n, FloatMatrix &afact, float *tau, qr_type_t qr_type) |
Protected Attributes | |
PermMatrix | p |
FloatMatrix | q |
FloatMatrix | r |
Friends | |
std::ostream & | operator<< (std::ostream &, const FloatQRP &) |
Definition at line 32 of file floatQRP.h.
|
inherited |
|
inline |
Definition at line 38 of file floatQRP.h.
F77_RET_T const octave_idx_type float const octave_idx_type octave_idx_type float float const octave_idx_type octave_idx_type & FloatQRP::FloatQRP | ( | const FloatMatrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
Definition at line 46 of file floatQRP.cc.
References init().
|
inline |
Definition at line 42 of file floatQRP.h.
|
inline |
Definition at line 55 of file floatQRP.h.
|
inherited |
Definition at line 329 of file floatQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, base_qr< FloatMatrix >::r, FloatMatrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrdelete().
|
inherited |
Definition at line 356 of file floatQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, DESCENDING, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, base_qr< FloatMatrix >::r, FloatMatrix::resize(), Array< T >::rows(), Array< T >::sort(), and Faddeeva::w().
|
inherited |
Definition at line 422 of file floatQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::is_square(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, base_qr< FloatMatrix >::r, FloatMatrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrdelete().
|
protectedinherited |
Definition at line 136 of file floatQR.cc.
References Array< T >::columns(), Array< T >::elem(), F77_XFCN, Array< T >::fortran_vec(), max(), min(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, qr_type_economy, qr_type_raw, base_qr< FloatMatrix >::r, Array< T >::rows(), and Array< T >::xelem().
Referenced by FloatQR::init(), and init().
|
inherited |
void FloatQRP::init | ( | const FloatMatrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
Definition at line 53 of file floatQRP.cc.
References Array< T >::cols(), F77_XFCN, FloatQR::form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, p, qr_type_raw, qr_type_std, FloatMatrix::resize(), and Array< T >::rows().
Referenced by FloatQRP().
|
inherited |
Definition at line 252 of file floatQR.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< FloatMatrix >::q, base_qr< FloatMatrix >::r, FloatMatrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrinsert().
|
inherited |
Definition at line 283 of file floatQR.cc.
References ASCENDING, FloatMatrix::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< FloatMatrix >::q, base_qr< FloatMatrix >::r, FloatMatrix::resize(), Array< T >::rows(), Array< T >::sort(), and Faddeeva::w().
|
inherited |
Definition at line 398 of file floatQR.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< FloatMatrix >::q, base_qr< FloatMatrix >::r, FloatMatrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrinsert().
Definition at line 44 of file floatQRP.h.
References base_qr< FloatMatrix >::operator=(), and p.
|
inline |
Definition at line 59 of file floatQRP.h.
Referenced by Gqr().
FloatRowVector FloatQRP::Pvec | ( | void | ) | const |
Definition at line 101 of file floatQRP.cc.
References PermMatrix::col_perm_vec(), f, and p.
Referenced by Gqr().
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
Definition at line 444 of file floatQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, base_qr< FloatMatrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrshift().
|
inherited |
Definition at line 208 of file floatQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, base_qr< FloatMatrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrupdate().
|
inherited |
Definition at line 228 of file floatQR.cc.
References Array< T >::cols(), FloatMatrix::column(), Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< FloatMatrix >::q, base_qr< FloatMatrix >::r, Array< T >::rows(), and Faddeeva::w().
|
friend |
|
protected |
Definition at line 67 of file floatQRP.h.
Referenced by init(), operator=(), and Pvec().
|
protectedinherited |
Definition at line 73 of file base-qr.h.
Referenced by FloatQR::delete_col(), FloatQR::delete_row(), FloatQR::form(), FloatQR::insert_col(), FloatQR::insert_row(), FloatQR::shift_cols(), and FloatQR::update().
|
protectedinherited |
Definition at line 74 of file base-qr.h.
Referenced by FloatQR::delete_col(), FloatQR::delete_row(), FloatQR::form(), FloatQR::insert_col(), FloatQR::insert_row(), FloatQR::shift_cols(), and FloatQR::update().