![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "CmplxQR.h"


Public Types | |
| typedef ComplexMatrix::element_type | qr_elt_type |
Public Member Functions | |
| ComplexQR (void) | |
| ComplexQR (const ComplexMatrix &, qr_type_t=qr_type_std) | |
| ComplexQR (const ComplexMatrix &qx, const ComplexMatrix &rx) | |
| ComplexQR (const ComplexQR &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 ComplexMatrix &, qr_type_t=qr_type_std) |
| void | insert_col (const ComplexColumnVector &u, octave_idx_type j) |
| void | insert_col (const ComplexMatrix &u, const Array< octave_idx_type > &j) |
| void | insert_row (const ComplexRowVector &u, octave_idx_type j) |
| ComplexMatrix | Q (void) const |
| ComplexMatrix | R (void) const |
| bool | regular (void) const |
| void | shift_cols (octave_idx_type i, octave_idx_type j) |
| void | update (const ComplexColumnVector &u, const ComplexColumnVector &v) |
| void | update (const ComplexMatrix &u, const ComplexMatrix &v) |
Protected Member Functions | |
| void | form (octave_idx_type n, ComplexMatrix &afact, Complex *tau, qr_type_t qr_type) |
Protected Attributes | |
| ComplexMatrix | q |
| ComplexMatrix | r |
|
inherited |
Definition at line 99 of file CmplxQR.cc.
References init().
|
inline |
| void ComplexQR::delete_col | ( | octave_idx_type | j | ) |
Definition at line 330 of file CmplxQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, ComplexMatrix::resize(), and Array< T >::rows().
Referenced by DEFUN_DLD().
| void ComplexQR::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 357 of file CmplxQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, DESCENDING, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, ComplexMatrix::resize(), Array< T >::rows(), and Array< T >::sort().
| void ComplexQR::delete_row | ( | octave_idx_type | j | ) |
Definition at line 423 of file CmplxQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::is_square(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, ComplexMatrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
|
protected |
Definition at line 137 of file CmplxQR.cc.
References Array< T >::columns(), Array< T >::elem(), F77_XFCN, Array< T >::fortran_vec(), max(), min(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, qr_type_economy, qr_type_raw, base_qr< ComplexMatrix >::r, Array< T >::rows(), and Array< T >::xelem().
Referenced by init(), and ComplexQRP::init().
|
inherited |
| void ComplexQR::init | ( | const ComplexMatrix & | a, |
| qr_type_t | qr_type = qr_type_std |
||
| ) |
Reimplemented in ComplexQRP.
Definition at line 105 of file CmplxQR.cc.
References Array< T >::cols(), F77_XFCN, form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, qr_type_std, ComplexMatrix::resize(), and Array< T >::rows().
Referenced by ComplexQR().
| void ComplexQR::insert_col | ( | const ComplexColumnVector & | u, |
| octave_idx_type | j | ||
| ) |
Definition at line 253 of file CmplxQR.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< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, ComplexMatrix::resize(), and Array< T >::rows().
Referenced by DEFUN_DLD().
| void ComplexQR::insert_col | ( | const ComplexMatrix & | u, |
| const Array< octave_idx_type > & | j | ||
| ) |
Definition at line 284 of file CmplxQR.cc.
References ASCENDING, ComplexMatrix::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< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, ComplexMatrix::resize(), Array< T >::rows(), and Array< T >::sort().
| void ComplexQR::insert_row | ( | const ComplexRowVector & | u, |
| octave_idx_type | j | ||
| ) |
Definition at line 399 of file CmplxQR.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< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, ComplexMatrix::resize(), and Array< T >::rows().
Referenced by DEFUN_DLD().
|
inlineinherited |
|
inlineinherited |
|
inherited |
| void ComplexQR::shift_cols | ( | octave_idx_type | i, |
| octave_idx_type | j | ||
| ) |
Definition at line 446 of file CmplxQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
| void ComplexQR::update | ( | const ComplexColumnVector & | u, |
| const ComplexColumnVector & | v | ||
| ) |
Definition at line 208 of file CmplxQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, base_qr< ComplexMatrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by DEFUN_DLD().
| void ComplexQR::update | ( | const ComplexMatrix & | u, |
| const ComplexMatrix & | v | ||
| ) |
Definition at line 229 of file CmplxQR.cc.
References Array< T >::cols(), ComplexMatrix::column(), Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< ComplexMatrix >::q, base_qr< ComplexMatrix >::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().
1.8.1.2