GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "floatQR.h"
Public Types | |
typedef FloatMatrix::element_type | qr_elt_type |
Public Member Functions | |
FloatQR (void) | |
FloatQR (const FloatMatrix &, qr_type_t=qr_type_std) | |
FloatQR (const FloatMatrix &qx, const FloatMatrix &rx) | |
FloatQR (const FloatQR &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 FloatMatrix &, qr_type_t) |
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) |
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 | |
FloatMatrix | q |
FloatMatrix | r |
|
inherited |
Definition at line 98 of file floatQR.cc.
References init().
|
inline |
void FloatQR::delete_col | ( | octave_idx_type | j | ) |
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().
void FloatQR::delete_col | ( | const Array< octave_idx_type > & | j | ) |
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().
void FloatQR::delete_row | ( | octave_idx_type | j | ) |
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().
|
protected |
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 init(), and FloatQRP::init().
|
inherited |
void FloatQR::init | ( | const FloatMatrix & | a, |
qr_type_t | qr_type | ||
) |
Definition at line 104 of file floatQR.cc.
References Array< T >::cols(), F77_XFCN, form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, qr_type_std, FloatMatrix::resize(), and Array< T >::rows().
Referenced by FloatQR().
void FloatQR::insert_col | ( | const FloatColumnVector & | u, |
octave_idx_type | j | ||
) |
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().
void FloatQR::insert_col | ( | const FloatMatrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
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().
void FloatQR::insert_row | ( | const FloatRowVector & | u, |
octave_idx_type | j | ||
) |
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().
|
inlineinherited |
|
inlineinherited |
|
inherited |
void FloatQR::shift_cols | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) |
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().
void FloatQR::update | ( | const FloatColumnVector & | u, |
const FloatColumnVector & | v | ||
) |
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().
void FloatQR::update | ( | const FloatMatrix & | u, |
const FloatMatrix & | v | ||
) |
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().
|
protectedinherited |
Definition at line 73 of file base-qr.h.
Referenced by delete_col(), delete_row(), form(), insert_col(), insert_row(), shift_cols(), and update().
|
protectedinherited |
Definition at line 74 of file base-qr.h.
Referenced by delete_col(), delete_row(), form(), insert_col(), insert_row(), shift_cols(), and update().