GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "fCmplxQR.h"
Public Types | |
typedef FloatComplexMatrix::element_type | qr_elt_type |
Public Member Functions | |
FloatComplexQR (void) | |
FloatComplexQR (const FloatComplexMatrix &, qr_type_t=qr_type_std) | |
FloatComplexQR (const FloatComplexMatrix &qx, const FloatComplexMatrix &rx) | |
FloatComplexQR (const FloatComplexQR &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 FloatComplexMatrix &, qr_type_t=qr_type_std) |
void | insert_col (const FloatComplexColumnVector &u, octave_idx_type j) |
void | insert_col (const FloatComplexMatrix &u, const Array< octave_idx_type > &j) |
void | insert_row (const FloatComplexRowVector &u, octave_idx_type j) |
FloatComplexMatrix | Q (void) const |
FloatComplexMatrix | R (void) const |
bool | regular (void) const |
void | shift_cols (octave_idx_type i, octave_idx_type j) |
void | update (const FloatComplexColumnVector &u, const FloatComplexColumnVector &v) |
void | update (const FloatComplexMatrix &u, const FloatComplexMatrix &v) |
Protected Member Functions | |
void | form (octave_idx_type n, FloatComplexMatrix &afact, FloatComplex *tau, qr_type_t qr_type) |
Protected Attributes | |
FloatComplexMatrix | q |
FloatComplexMatrix | r |
Definition at line 36 of file fCmplxQR.h.
|
inherited |
|
inline |
Definition at line 42 of file fCmplxQR.h.
Definition at line 102 of file fCmplxQR.cc.
References init().
|
inline |
Definition at line 46 of file fCmplxQR.h.
|
inline |
Definition at line 49 of file fCmplxQR.h.
void FloatComplexQR::delete_col | ( | octave_idx_type | j | ) |
Definition at line 339 of file fCmplxQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, FloatComplexMatrix::resize(), and Array< T >::rows().
Referenced by Gqrdelete().
void FloatComplexQR::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 366 of file fCmplxQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, DESCENDING, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, FloatComplexMatrix::resize(), Array< T >::rows(), and Array< T >::sort().
void FloatComplexQR::delete_row | ( | octave_idx_type | j | ) |
Definition at line 432 of file fCmplxQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::is_square(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, FloatComplexMatrix::resize(), Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrdelete().
|
protected |
Definition at line 140 of file fCmplxQR.cc.
References Array< T >::columns(), Array< T >::elem(), F77_XFCN, Array< T >::fortran_vec(), max(), min(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, qr_type_economy, qr_type_raw, base_qr< FloatComplexMatrix >::r, Array< T >::rows(), and Array< T >::xelem().
Referenced by init(), and FloatComplexQRP::init().
|
inherited |
void FloatComplexQR::init | ( | const FloatComplexMatrix & | a, |
qr_type_t | qr_type = qr_type_std |
||
) |
Definition at line 108 of file fCmplxQR.cc.
References Array< T >::cols(), F77_XFCN, form(), Array< T >::fortran_vec(), max(), OCTAVE_LOCAL_BUFFER, qr_type_std, FloatComplexMatrix::resize(), and Array< T >::rows().
Referenced by FloatComplexQR().
void FloatComplexQR::insert_col | ( | const FloatComplexColumnVector & | u, |
octave_idx_type | j | ||
) |
Definition at line 261 of file fCmplxQR.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< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, FloatComplexMatrix::resize(), and Array< T >::rows().
Referenced by Gqrinsert().
void FloatComplexQR::insert_col | ( | const FloatComplexMatrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
Definition at line 293 of file fCmplxQR.cc.
References ASCENDING, FloatComplexMatrix::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< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, FloatComplexMatrix::resize(), Array< T >::rows(), and Array< T >::sort().
void FloatComplexQR::insert_row | ( | const FloatComplexRowVector & | u, |
octave_idx_type | j | ||
) |
Definition at line 408 of file fCmplxQR.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< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, FloatComplexMatrix::resize(), and Array< T >::rows().
Referenced by Gqrinsert().
|
inlineinherited |
|
inlineinherited |
|
inherited |
void FloatComplexQR::shift_cols | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) |
Definition at line 455 of file fCmplxQR.cc.
References Array< T >::columns(), F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrshift().
void FloatComplexQR::update | ( | const FloatComplexColumnVector & | u, |
const FloatComplexColumnVector & | v | ||
) |
Definition at line 212 of file fCmplxQR.cc.
References Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::r, Array< T >::rows(), and Faddeeva::w().
Referenced by Gqrupdate().
void FloatComplexQR::update | ( | const FloatComplexMatrix & | u, |
const FloatComplexMatrix & | v | ||
) |
Definition at line 235 of file fCmplxQR.cc.
References Array< T >::cols(), FloatComplexMatrix::column(), Array< T >::columns(), current_liboctave_error_handler, F77_XFCN, Array< T >::fortran_vec(), OCTAVE_LOCAL_BUFFER, base_qr< FloatComplexMatrix >::q, base_qr< FloatComplexMatrix >::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(), do_mm_binary_op(), do_mm_inplace_op(), do_ms_binary_op(), do_ms_inplace_op(), do_mx_inplace_op(), do_mx_unary_op(), do_sm_binary_op(), form(), insert_col(), insert_row(), mx_inline_fill(), mx_inline_imag(), mx_inline_not(), mx_inline_not2(), mx_inline_real(), shift_cols(), and update().