#include "qr.h"
Public Types | |
| typedef T::column_vector_type | CV_T |
| typedef T::element_type | ELT_T |
| typedef T::row_vector_type | RV_T |
| enum | type { std , raw , economy } |
Protected Member Functions | |
| void | form (octave_idx_type n, T &afact, ELT_T *tau, type qr_type) |
| void | form (octave_idx_type n_arg, ComplexMatrix &afact, Complex *tau, type qr_type) |
| void | form (octave_idx_type n_arg, FloatComplexMatrix &afact, FloatComplex *tau, type qr_type) |
| void | form (octave_idx_type n_arg, FloatMatrix &afact, float *tau, type qr_type) |
| void | form (octave_idx_type n_arg, Matrix &afact, double *tau, type qr_type) |
Protected Attributes | |
| T | m_q |
| T | m_r |
| typedef T::column_vector_type qr< T >::CV_T |
Definition at line 54 of file qr.h.
References qr< T >::init().
Definition at line 57 of file qr.cc.
References qr< T >::m_q, and qr< T >::m_r.
| void qr< Matrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 661 of file qr.cc.
References DESCENDING, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< FloatMatrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 1077 of file qr.cc.
References DESCENDING, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< ComplexMatrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 1518 of file qr.cc.
References DESCENDING, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< FloatComplexMatrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 1957 of file qr.cc.
References DESCENDING, F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< T >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
| void qr< T >::delete_col | ( | octave_idx_type | j | ) |
| void qr< Matrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 632 of file qr.cc.
References F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< FloatMatrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 1048 of file qr.cc.
References F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< ComplexMatrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 1488 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< FloatComplexMatrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 1927 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< T >::delete_row | ( | octave_idx_type | j | ) |
| void qr< Matrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 743 of file qr.cc.
References F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< FloatMatrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 1160 of file qr.cc.
References F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< ComplexMatrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 1603 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< FloatComplexMatrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 2041 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, and OCTAVE_LOCAL_BUFFER.
|
protected |
|
protected |
Definition at line 1213 of file qr.cc.
References Array< T, Alloc >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
|
protected |
Definition at line 1659 of file qr.cc.
References Array< T, Alloc >::elem(), F77_CMPLX_ARG, F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
|
protected |
Definition at line 795 of file qr.cc.
References Array< T, Alloc >::elem(), F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
|
protected |
Definition at line 381 of file qr.cc.
References Array< T, Alloc >::elem(), F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
| void qr< ComplexMatrix >::init | ( | const ComplexMatrix & | a, |
| type | qr_type | ||
| ) |
Definition at line 1290 of file qr.cc.
References Array< T, Alloc >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, OCTAVE_LOCAL_BUFFER, ComplexMatrix::resize(), Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
| void qr< FloatComplexMatrix >::init | ( | const FloatComplexMatrix & | a, |
| type | qr_type | ||
| ) |
Definition at line 1734 of file qr.cc.
References Array< T, Alloc >::cols(), F77_CMPLX_ARG, F77_XFCN, OCTAVE_LOCAL_BUFFER, FloatComplexMatrix::resize(), Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
| void qr< FloatMatrix >::init | ( | const FloatMatrix & | a, |
| type | qr_type | ||
| ) |
Definition at line 866 of file qr.cc.
References Array< T, Alloc >::cols(), F77_XFCN, OCTAVE_LOCAL_BUFFER, FloatMatrix::resize(), Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
Definition at line 452 of file qr.cc.
References Array< T, Alloc >::cols(), F77_XFCN, OCTAVE_LOCAL_BUFFER, Matrix::resize(), Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
Referenced by qr< T >::qr().
| void qr< Matrix >::insert_col | ( | const ColumnVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 538 of file qr.cc.
References Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
| void qr< ComplexMatrix >::insert_col | ( | const ComplexColumnVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 1388 of file qr.cc.
References Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
| void qr< ComplexMatrix >::insert_col | ( | const ComplexMatrix & | u, |
| const Array< octave_idx_type > & | j | ||
| ) |
Definition at line 1426 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), ComplexMatrix::column(), Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< T >::insert_col | ( | const CV_T & | u, |
| octave_idx_type | j | ||
| ) |
| void qr< FloatMatrix >::insert_col | ( | const FloatColumnVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 952 of file qr.cc.
References Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
| void qr< FloatComplexMatrix >::insert_col | ( | const FloatComplexColumnVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 1830 of file qr.cc.
References Array< T, Alloc >::data(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
| void qr< FloatComplexMatrix >::insert_col | ( | const FloatComplexMatrix & | u, |
| const Array< octave_idx_type > & | j | ||
| ) |
Definition at line 1867 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), FloatComplexMatrix::column(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< FloatMatrix >::insert_col | ( | const FloatMatrix & | u, |
| const Array< octave_idx_type > & | j | ||
| ) |
Definition at line 989 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), FloatMatrix::column(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< Matrix >::insert_col | ( | const Matrix & | u, |
| const Array< octave_idx_type > & | j | ||
| ) |
Definition at line 574 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), Matrix::column(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
| void qr< T >::insert_col | ( | const T & | u, |
| const Array< octave_idx_type > & | j | ||
| ) |
| void qr< ComplexMatrix >::insert_row | ( | const ComplexRowVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 1569 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< FloatComplexMatrix >::insert_row | ( | const FloatComplexRowVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 2007 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< FloatMatrix >::insert_row | ( | const FloatRowVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 1127 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< Matrix >::insert_row | ( | const RowVector & | u, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 711 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< T >::insert_row | ( | const RV_T & | u, |
| octave_idx_type | j | ||
| ) |
Definition at line 64 of file qr.h.
References qr< T >::m_q, and qr< T >::m_r.
Referenced by qrp< T >::operator=().
|
inline |
Definition at line 77 of file qr.h.
References qr< T >::m_q.
|
inline |
Definition at line 79 of file qr.h.
References qr< T >::m_r.
| void qr< T >::shift_cols | ( | octave_idx_type | i, |
| octave_idx_type | j | ||
| ) |
| void qr< Matrix >::shift_cols | ( | octave_idx_type | i_arg, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 769 of file qr.cc.
References F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< FloatMatrix >::shift_cols | ( | octave_idx_type | i_arg, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 1187 of file qr.cc.
References F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< ComplexMatrix >::shift_cols | ( | octave_idx_type | i_arg, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 1631 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< FloatComplexMatrix >::shift_cols | ( | octave_idx_type | i_arg, |
| octave_idx_type | j_arg | ||
| ) |
Definition at line 2069 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, and OCTAVE_LOCAL_BUFFER.
| void qr< Matrix >::update | ( | const ColumnVector & | u, |
| const ColumnVector & | v | ||
| ) |
Definition at line 488 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< ComplexMatrix >::update | ( | const ComplexColumnVector & | u, |
| const ComplexColumnVector & | v | ||
| ) |
Definition at line 1330 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< ComplexMatrix >::update | ( | const ComplexMatrix & | u, |
| const ComplexMatrix & | v | ||
| ) |
Definition at line 1356 of file qr.cc.
References Array< T, Alloc >::cols(), ComplexMatrix::column(), F77_DBLE_CMPLX_ARG, F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
| void qr< FloatMatrix >::update | ( | const FloatColumnVector & | u, |
| const FloatColumnVector & | v | ||
| ) |
Definition at line 902 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< FloatComplexMatrix >::update | ( | const FloatComplexColumnVector & | u, |
| const FloatComplexColumnVector & | v | ||
| ) |
Definition at line 1772 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::rwdata().
| void qr< FloatComplexMatrix >::update | ( | const FloatComplexMatrix & | u, |
| const FloatComplexMatrix & | v | ||
| ) |
Definition at line 1798 of file qr.cc.
References Array< T, Alloc >::cols(), FloatComplexMatrix::column(), F77_CMPLX_ARG, F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
| void qr< FloatMatrix >::update | ( | const FloatMatrix & | u, |
| const FloatMatrix & | v | ||
| ) |
Definition at line 924 of file qr.cc.
References Array< T, Alloc >::cols(), FloatMatrix::column(), F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
Definition at line 510 of file qr.cc.
References Array< T, Alloc >::cols(), Matrix::column(), F77_XFCN, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Array< T, Alloc >::rwdata().
| void qr< T >::update | ( | const T & | u, |
| const T & | v | ||
| ) |
|
protected |
Definition at line 107 of file qr.h.
Referenced by qr< T >::qr(), qr< T >::operator=(), and qr< T >::Q().
|
protected |
Definition at line 108 of file qr.h.
Referenced by qr< T >::qr(), qr< T >::operator=(), and qr< T >::R().