#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 | |
OCTAVE_API void | form (octave_idx_type n, T &afact, ELT_T *tau, type qr_type) |
OCTAVE_API void | form (octave_idx_type n_arg, ComplexMatrix &afact, Complex *tau, type qr_type) |
OCTAVE_API void | form (octave_idx_type n_arg, FloatComplexMatrix &afact, FloatComplex *tau, type qr_type) |
OCTAVE_API void | form (octave_idx_type n_arg, FloatMatrix &afact, float *tau, type qr_type) |
OCTAVE_API void | form (octave_idx_type n_arg, Matrix &afact, double *tau, type qr_type) |
Protected Attributes | |
T | m_q |
T | m_r |
Definition at line 58 of file qr.cc.
References qr< T >::m_q, and qr< T >::m_r.
OCTAVE_API void qr< Matrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 662 of file qr.cc.
References DESCENDING, F77_XFCN, m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::sort(), and Faddeeva::w().
OCTAVE_API void qr< FloatMatrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 1078 of file qr.cc.
References DESCENDING, F77_XFCN, m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::sort(), and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 1519 of file qr.cc.
References DESCENDING, F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
OCTAVE_API void qr< FloatComplexMatrix >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
Definition at line 1958 of file qr.cc.
References DESCENDING, F77_CMPLX_ARG, F77_XFCN, m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
OCTAVE_API void qr< T >::delete_col | ( | const Array< octave_idx_type > & | j | ) |
OCTAVE_API void qr< T >::delete_col | ( | octave_idx_type | j | ) |
OCTAVE_API void qr< Matrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 633 of file qr.cc.
References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatMatrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 1049 of file qr.cc.
References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 1489 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void qr< FloatComplexMatrix >::delete_col | ( | octave_idx_type | j_arg | ) |
Definition at line 1928 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, m, n, and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void qr< T >::delete_row | ( | octave_idx_type | j | ) |
OCTAVE_API void qr< Matrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 744 of file qr.cc.
References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatMatrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 1161 of file qr.cc.
References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 1604 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatComplexMatrix >::delete_row | ( | octave_idx_type | j_arg | ) |
Definition at line 2042 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
|
protected |
|
protected |
Definition at line 1214 of file qr.cc.
References ComplexMatrix, Array< T, Alloc >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, m, max(), min(), n, OCTAVE_LOCAL_BUFFER, qr_type(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
|
protected |
Definition at line 1660 of file qr.cc.
References Array< T, Alloc >::elem(), F77_CMPLX_ARG, F77_XFCN, FloatComplexMatrix, m, max(), min(), n, OCTAVE_LOCAL_BUFFER, qr_type(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
|
protected |
Definition at line 796 of file qr.cc.
References Array< T, Alloc >::elem(), F77_XFCN, FloatMatrix, m, max(), min(), n, OCTAVE_LOCAL_BUFFER, qr_type(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
|
protected |
Definition at line 382 of file qr.cc.
References Array< T, Alloc >::elem(), F77_XFCN, m, Matrix, max(), min(), n, OCTAVE_LOCAL_BUFFER, qr_type(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
OCTAVE_API void qr< ComplexMatrix >::init | ( | const ComplexMatrix & | a, |
type | qr_type | ||
) |
Definition at line 1291 of file qr.cc.
References Array< T, Alloc >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, max(), n, OCTAVE_LOCAL_BUFFER, qr_type(), ComplexMatrix::resize(), and Array< T, Alloc >::rows().
OCTAVE_API void qr< FloatComplexMatrix >::init | ( | const FloatComplexMatrix & | a, |
type | qr_type | ||
) |
Definition at line 1735 of file qr.cc.
References Array< T, Alloc >::cols(), F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, max(), n, OCTAVE_LOCAL_BUFFER, qr_type(), FloatComplexMatrix::resize(), and Array< T, Alloc >::rows().
OCTAVE_API void qr< FloatMatrix >::init | ( | const FloatMatrix & | a, |
type | qr_type | ||
) |
Definition at line 867 of file qr.cc.
References Array< T, Alloc >::cols(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, max(), n, OCTAVE_LOCAL_BUFFER, qr_type(), FloatMatrix::resize(), and Array< T, Alloc >::rows().
OCTAVE_API void qr< Matrix >::init | ( | const Matrix & | a, |
type | qr_type | ||
) |
Definition at line 453 of file qr.cc.
References Array< T, Alloc >::cols(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, max(), n, OCTAVE_LOCAL_BUFFER, qr_type(), Matrix::resize(), and Array< T, Alloc >::rows().
OCTAVE_API void qr< T >::init | ( | const T & | a, |
type | qr_type | ||
) |
OCTAVE_API void qr< Matrix >::insert_col | ( | const ColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 539 of file qr.cc.
References Array< T, Alloc >::data(), F77_XFCN, m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::insert_col | ( | const ComplexColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 1389 of file qr.cc.
References Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void qr< ComplexMatrix >::insert_col | ( | const ComplexMatrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
Definition at line 1427 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, m, min(), n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
OCTAVE_API void qr< T >::insert_col | ( | const CV_T & | u, |
octave_idx_type | j | ||
) |
OCTAVE_API void qr< FloatMatrix >::insert_col | ( | const FloatColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 953 of file qr.cc.
References Array< T, Alloc >::data(), F77_XFCN, m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatComplexMatrix >::insert_col | ( | const FloatComplexColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 1831 of file qr.cc.
References Array< T, Alloc >::data(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, m, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void qr< FloatComplexMatrix >::insert_col | ( | const FloatComplexMatrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
Definition at line 1868 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), FloatComplexMatrix::column(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, m, min(), n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Array< T, Alloc >::sort().
OCTAVE_API void qr< FloatMatrix >::insert_col | ( | const FloatMatrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
Definition at line 990 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), FloatMatrix::column(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, min(), n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::sort(), and Faddeeva::w().
OCTAVE_API void qr< Matrix >::insert_col | ( | const Matrix & | u, |
const Array< octave_idx_type > & | j | ||
) |
Definition at line 575 of file qr.cc.
References ASCENDING, Array< T, Alloc >::cols(), Matrix::column(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, min(), n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::sort(), and Faddeeva::w().
OCTAVE_API void qr< T >::insert_col | ( | const T & | u, |
const Array< octave_idx_type > & | j | ||
) |
OCTAVE_API void qr< ComplexMatrix >::insert_row | ( | const ComplexRowVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 1570 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, min(), n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void qr< FloatComplexMatrix >::insert_row | ( | const FloatComplexRowVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 2008 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, min(), n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void qr< FloatMatrix >::insert_row | ( | const FloatRowVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 1128 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::fortran_vec(), m, min(), n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< Matrix >::insert_row | ( | const RowVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 712 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::fortran_vec(), m, min(), n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< T >::insert_row | ( | const RV_T & | u, |
octave_idx_type | j | ||
) |
Definition at line 66 of file qr.h.
References qr< T >::m_q, and qr< T >::m_r.
Referenced by qrp< T >::operator=().
bool qr< T >::regular | ( | void | ) | const |
OCTAVE_API void qr< T >::shift_cols | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) |
OCTAVE_API void qr< Matrix >::shift_cols | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 770 of file qr.cc.
References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatMatrix >::shift_cols | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 1188 of file qr.cc.
References F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::shift_cols | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 1632 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatComplexMatrix >::shift_cols | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 2070 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, m, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< Matrix >::update | ( | const ColumnVector & | u, |
const ColumnVector & | v | ||
) |
Definition at line 489 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::update | ( | const ComplexColumnVector & | u, |
const ComplexColumnVector & | v | ||
) |
Definition at line 1331 of file qr.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< ComplexMatrix >::update | ( | const ComplexMatrix & | u, |
const ComplexMatrix & | v | ||
) |
Definition at line 1357 of file qr.cc.
References Array< T, Alloc >::cols(), ComplexMatrix::column(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Faddeeva::w().
OCTAVE_API void qr< T >::update | ( | const CV_T & | u, |
const CV_T & | v | ||
) |
OCTAVE_API void qr< FloatMatrix >::update | ( | const FloatColumnVector & | u, |
const FloatColumnVector & | v | ||
) |
Definition at line 903 of file qr.cc.
References F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatComplexMatrix >::update | ( | const FloatComplexColumnVector & | u, |
const FloatComplexColumnVector & | v | ||
) |
Definition at line 1773 of file qr.cc.
References F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void qr< FloatComplexMatrix >::update | ( | const FloatComplexMatrix & | u, |
const FloatComplexMatrix & | v | ||
) |
Definition at line 1799 of file qr.cc.
References Array< T, Alloc >::cols(), FloatComplexMatrix::column(), F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Faddeeva::w().
OCTAVE_API void qr< FloatMatrix >::update | ( | const FloatMatrix & | u, |
const FloatMatrix & | v | ||
) |
Definition at line 925 of file qr.cc.
References Array< T, Alloc >::cols(), FloatMatrix::column(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Faddeeva::w().
OCTAVE_API void qr< Matrix >::update | ( | const Matrix & | u, |
const Matrix & | v | ||
) |
Definition at line 511 of file qr.cc.
References Array< T, Alloc >::cols(), Matrix::column(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and Faddeeva::w().
OCTAVE_API void qr< T >::update | ( | const T & | u, |
const T & | v | ||
) |
|
protected |
Definition at line 109 of file qr.h.
Referenced by qr< T >::qr(), and qr< T >::operator=().
|
protected |
Definition at line 110 of file qr.h.
Referenced by qr< T >::qr(), and qr< T >::operator=().