GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "CmplxQRP.h"
Public Types | |
typedef ComplexMatrix::element_type | qr_elt_type |
Public Member Functions | |
ComplexQRP (void) | |
ComplexQRP (const ComplexMatrix &, qr_type_t=qr_type_std) | |
ComplexQRP (const ComplexQRP &a) | |
~ComplexQRP (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 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) |
ComplexQRP & | operator= (const ComplexQRP &a) |
PermMatrix | P (void) const |
RowVector | Pvec (void) const |
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 |
Private Attributes | |
PermMatrix | p |
Friends | |
std::ostream & | operator<< (std::ostream &, const ComplexQRP &) |
Definition at line 32 of file CmplxQRP.h.
|
inherited |
|
inline |
Definition at line 38 of file CmplxQRP.h.
F77_RET_T const octave_idx_type Complex const octave_idx_type octave_idx_type Complex Complex const octave_idx_type double octave_idx_type & ComplexQRP::ComplexQRP | ( | const ComplexMatrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
Definition at line 47 of file CmplxQRP.cc.
References init().
|
inline |
Definition at line 42 of file CmplxQRP.h.
|
inline |
Definition at line 54 of file CmplxQRP.h.
|
inherited |
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().
|
inherited |
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().
|
inherited |
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().
|
protectedinherited |
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 ComplexQR::init(), and init().
|
inherited |
void ComplexQRP::init | ( | const ComplexMatrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
Reimplemented from ComplexQR.
Definition at line 54 of file CmplxQRP.cc.
References Array< T >::cols(), F77_XFCN, ComplexQR::form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, p, qr_type_raw, qr_type_std, ComplexMatrix::resize(), and Array< T >::rows().
Referenced by ComplexQRP().
|
inherited |
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().
|
inherited |
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().
|
inherited |
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().
|
inline |
Definition at line 44 of file CmplxQRP.h.
References base_qr< ComplexMatrix >::operator=(), and p.
|
inline |
Definition at line 58 of file CmplxQRP.h.
Referenced by DEFUN_DLD().
Definition at line 104 of file CmplxQRP.cc.
References p, and PermMatrix::pvec().
Referenced by DEFUN_DLD().
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
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().
|
inherited |
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().
|
inherited |
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().
|
friend |
|
private |
Definition at line 66 of file CmplxQRP.h.
Referenced by init(), operator=(), and Pvec().
|
protectedinherited |
Definition at line 73 of file base-qr.h.
Referenced by ComplexQR::delete_col(), ComplexQR::delete_row(), ComplexQR::form(), ComplexQR::insert_col(), ComplexQR::insert_row(), ComplexQR::shift_cols(), and ComplexQR::update().
|
protectedinherited |
Definition at line 74 of file base-qr.h.
Referenced by ComplexQR::delete_col(), ComplexQR::delete_row(), ComplexQR::form(), ComplexQR::insert_col(), ComplexQR::insert_row(), ComplexQR::shift_cols(), and ComplexQR::update().