#include "lu.h"
Public Types | |
typedef T::element_type | ELT_T |
typedef T::column_vector_type | VT |
Public Member Functions | |
lu () | |
lu (const ComplexMatrix &a) | |
lu (const FloatComplexMatrix &a) | |
lu (const FloatMatrix &a) | |
lu (const lu &a) | |
lu (const Matrix &a) | |
lu (const T &a) | |
lu (const T &l, const T &u, const PermMatrix &p) | |
virtual | ~lu ()=default |
T | L () const |
lu & | operator= (const lu &a) |
PermMatrix | P () const |
ColumnVector | P_vec () const |
bool | packed () const |
bool | regular () const |
T | U () const |
void | unpack () |
void | update (const ColumnVector &u, const ColumnVector &v) |
void | update (const ComplexColumnVector &u, const ComplexColumnVector &v) |
void | update (const ComplexMatrix &u, const ComplexMatrix &v) |
void | update (const FloatColumnVector &u, const FloatColumnVector &v) |
void | update (const FloatComplexColumnVector &u, const FloatComplexColumnVector &v) |
void | update (const FloatComplexMatrix &u, const FloatComplexMatrix &v) |
void | update (const FloatMatrix &u, const FloatMatrix &v) |
void | update (const Matrix &u, const Matrix &v) |
void | update (const T &u, const T &v) |
void | update (const VT &u, const VT &v) |
void | update_piv (const ColumnVector &u, const ColumnVector &v) |
void | update_piv (const ComplexColumnVector &u, const ComplexColumnVector &v) |
void | update_piv (const ComplexMatrix &u, const ComplexMatrix &v) |
void | update_piv (const FloatColumnVector &u, const FloatColumnVector &v) |
void | update_piv (const FloatComplexColumnVector &u, const FloatComplexColumnVector &v) |
void | update_piv (const FloatComplexMatrix &u, const FloatComplexMatrix &v) |
void | update_piv (const FloatMatrix &u, const FloatMatrix &v) |
void | update_piv (const Matrix &u, const Matrix &v) |
void | update_piv (const T &u, const T &v) |
void | update_piv (const VT &u, const VT &v) |
T | Y () const |
Protected Member Functions | |
Array< octave_idx_type > | getp () const |
Protected Attributes | |
T | m_a_fact |
Array< octave_f77_int_type > | m_ipvt |
T | m_L |
lu< T >::lu | ( | const T & | l, |
const T & | u, | ||
const PermMatrix & | p | ||
) |
Definition at line 274 of file lu.cc.
References Array< T, Alloc >::columns(), F77_XFCN, Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
lu< FloatMatrix >::lu | ( | const FloatMatrix & | a | ) |
Definition at line 427 of file lu.cc.
References Array< T, Alloc >::columns(), F77_XFCN, Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
lu< ComplexMatrix >::lu | ( | const ComplexMatrix & | a | ) |
Definition at line 583 of file lu.cc.
References Array< T, Alloc >::columns(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
lu< FloatComplexMatrix >::lu | ( | const FloatComplexMatrix & | a | ) |
Definition at line 751 of file lu.cc.
References Array< T, Alloc >::columns(), F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
|
protected |
Definition at line 158 of file lu.cc.
References Array< T, Alloc >::xelem().
Definition at line 58 of file lu.h.
References lu< T >::m_a_fact, lu< T >::m_ipvt, and lu< T >::m_L.
PermMatrix lu< T >::P |
ColumnVector lu< T >::P_vec |
Definition at line 196 of file lu.cc.
References Array< T, Alloc >::xelem().
void lu< Matrix >::update | ( | const ColumnVector & | u, |
const ColumnVector & | v | ||
) |
Definition at line 298 of file lu.cc.
References Array< T, Alloc >::columns(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), r, and Array< T, Alloc >::rows().
void lu< ComplexMatrix >::update | ( | const ComplexColumnVector & | u, |
const ComplexColumnVector & | v | ||
) |
Definition at line 608 of file lu.cc.
References Array< T, Alloc >::columns(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), r, and Array< T, Alloc >::rows().
void lu< ComplexMatrix >::update | ( | const ComplexMatrix & | u, |
const ComplexMatrix & | v | ||
) |
Definition at line 637 of file lu.cc.
References ComplexMatrix::column(), Array< T, Alloc >::columns(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, r, and Array< T, Alloc >::rows().
void lu< FloatMatrix >::update | ( | const FloatColumnVector & | u, |
const FloatColumnVector & | v | ||
) |
Definition at line 451 of file lu.cc.
References Array< T, Alloc >::columns(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), r, and Array< T, Alloc >::rows().
void lu< FloatComplexMatrix >::update | ( | const FloatComplexColumnVector & | u, |
const FloatComplexColumnVector & | v | ||
) |
Definition at line 776 of file lu.cc.
References Array< T, Alloc >::columns(), F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), r, and Array< T, Alloc >::rows().
void lu< FloatComplexMatrix >::update | ( | const FloatComplexMatrix & | u, |
const FloatComplexMatrix & | v | ||
) |
Definition at line 805 of file lu.cc.
References FloatComplexMatrix::column(), Array< T, Alloc >::columns(), F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, r, and Array< T, Alloc >::rows().
void lu< FloatMatrix >::update | ( | const FloatMatrix & | u, |
const FloatMatrix & | v | ||
) |
Definition at line 479 of file lu.cc.
References FloatMatrix::column(), Array< T, Alloc >::columns(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, r, and Array< T, Alloc >::rows().
Definition at line 324 of file lu.cc.
References Matrix::column(), Array< T, Alloc >::columns(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, r, and Array< T, Alloc >::rows().
void lu< T >::update | ( | const T & | u, |
const T & | v | ||
) |
void lu< Matrix >::update_piv | ( | const ColumnVector & | u, |
const ColumnVector & | v | ||
) |
Definition at line 357 of file lu.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< ComplexMatrix >::update_piv | ( | const ComplexColumnVector & | u, |
const ComplexColumnVector & | v | ||
) |
Definition at line 673 of file lu.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< ComplexMatrix >::update_piv | ( | const ComplexMatrix & | u, |
const ComplexMatrix & | v | ||
) |
Definition at line 707 of file lu.cc.
References ComplexMatrix::column(), Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< FloatMatrix >::update_piv | ( | const FloatColumnVector & | u, |
const FloatColumnVector & | v | ||
) |
Definition at line 512 of file lu.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< FloatComplexMatrix >::update_piv | ( | const FloatComplexColumnVector & | u, |
const FloatComplexColumnVector & | v | ||
) |
Definition at line 840 of file lu.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< FloatComplexMatrix >::update_piv | ( | const FloatComplexMatrix & | u, |
const FloatComplexMatrix & | v | ||
) |
Definition at line 874 of file lu.cc.
References FloatComplexMatrix::column(), Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< FloatMatrix >::update_piv | ( | const FloatMatrix & | u, |
const FloatMatrix & | v | ||
) |
Definition at line 544 of file lu.cc.
References FloatMatrix::column(), Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
Definition at line 388 of file lu.cc.
References Matrix::column(), Array< T, Alloc >::columns(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, OCTAVE_LOCAL_BUFFER, r, Array< T, Alloc >::rows(), and Faddeeva::w().
void lu< T >::update_piv | ( | const T & | u, |
const T & | v | ||
) |
|
protected |
Definition at line 102 of file lu.h.
Referenced by lu< T >::operator=().
Definition at line 107 of file lu.h.
Referenced by lu< T >::operator=().
|
protected |
Definition at line 103 of file lu.h.
Referenced by lu< T >::operator=().