#include "chol.h"
Public Types | |
typedef T::real_elt_type | COND_T |
typedef T::column_vector_type | VT |
Private Member Functions | |
OCTAVE_API octave_idx_type | init (const ComplexMatrix &a, bool upper, bool calc_cond) |
OCTAVE_API octave_idx_type | init (const FloatComplexMatrix &a, bool upper, bool calc_cond) |
OCTAVE_API octave_idx_type | init (const FloatMatrix &a, bool upper, bool calc_cond) |
OCTAVE_API octave_idx_type | init (const Matrix &a, bool upper, bool calc_cond) |
OCTAVE_API octave_idx_type | init (const T &a, bool upper, bool calc_cond) |
Private Attributes | |
T | m_chol_mat |
bool | m_is_upper |
COND_T | m_rcond |
|
inline |
|
inline |
OCTAVE_API void chol< T >::delete_sym | ( | octave_idx_type | j | ) |
OCTAVE_API void chol< Matrix >::delete_sym | ( | octave_idx_type | j_arg | ) |
Definition at line 550 of file chol.cc.
References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< FloatMatrix >::delete_sym | ( | octave_idx_type | j_arg | ) |
Definition at line 727 of file chol.cc.
References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< ComplexMatrix >::delete_sym | ( | octave_idx_type | j_arg | ) |
Definition at line 913 of file chol.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, n, and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void chol< FloatComplexMatrix >::delete_sym | ( | octave_idx_type | j_arg | ) |
Definition at line 1099 of file chol.cc.
References F77_CMPLX_ARG, F77_XFCN, n, and OCTAVE_LOCAL_BUFFER.
OCTAVE_API octave_idx_type chol< Matrix >::downdate | ( | const ColumnVector & | u | ) |
Definition at line 502 of file chol.cc.
References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API octave_idx_type chol< ComplexMatrix >::downdate | ( | const ComplexColumnVector & | u | ) |
Definition at line 858 of file chol.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API octave_idx_type chol< FloatMatrix >::downdate | ( | const FloatColumnVector & | u | ) |
Definition at line 678 of file chol.cc.
References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API octave_idx_type chol< FloatComplexMatrix >::downdate | ( | const FloatComplexColumnVector & | u | ) |
Definition at line 1047 of file chol.cc.
References F77_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API octave_idx_type chol< T >::downdate | ( | const VT & | u | ) |
|
private |
Definition at line 764 of file chol.cc.
References Array< T, Alloc >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), n, Array< T, Alloc >::rows(), and xnorm().
|
private |
Definition at line 955 of file chol.cc.
References Array< T, Alloc >::cols(), F77_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), n, Array< T, Alloc >::rows(), and xnorm().
|
private |
Definition at line 586 of file chol.cc.
References Array< T, Alloc >::cols(), F77_XFCN, Array< T, Alloc >::fortran_vec(), n, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and xnorm().
|
private |
Definition at line 410 of file chol.cc.
References Array< T, Alloc >::cols(), F77_XFCN, Array< T, Alloc >::fortran_vec(), n, OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::rows(), and xnorm().
|
private |
OCTAVE_API octave_idx_type chol< Matrix >::insert_sym | ( | const ColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 523 of file chol.cc.
References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API octave_idx_type chol< ComplexMatrix >::insert_sym | ( | const ComplexColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 882 of file chol.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API octave_idx_type chol< FloatMatrix >::insert_sym | ( | const FloatColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 699 of file chol.cc.
References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API octave_idx_type chol< FloatComplexMatrix >::insert_sym | ( | const FloatComplexColumnVector & | u, |
octave_idx_type | j_arg | ||
) |
Definition at line 1069 of file chol.cc.
References F77_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API octave_idx_type chol< T >::insert_sym | ( | const VT & | u, |
octave_idx_type | j | ||
) |
T chol< T >::inverse | ( | void | ) | const |
Definition at line 250 of file chol.cc.
References chol2inv_internal().
Referenced by Fcholinv(), ComplexMatrix::inverse(), Matrix::inverse(), FloatComplexMatrix::inverse(), and FloatMatrix::inverse().
Definition at line 62 of file chol.h.
References chol< T >::m_chol_mat, chol< T >::m_is_upper, and chol< T >::m_rcond.
Definition at line 76 of file chol.h.
Referenced by ComplexMatrix::inverse(), Matrix::inverse(), FloatComplexMatrix::inverse(), and FloatMatrix::inverse().
OCTAVE_API void chol< T >::shift_sym | ( | octave_idx_type | i, |
octave_idx_type | j | ||
) |
OCTAVE_API void chol< Matrix >::shift_sym | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 567 of file chol.cc.
References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< FloatMatrix >::shift_sym | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 745 of file chol.cc.
References F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< ComplexMatrix >::shift_sym | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 932 of file chol.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< FloatComplexMatrix >::shift_sym | ( | octave_idx_type | i_arg, |
octave_idx_type | j_arg | ||
) |
Definition at line 1117 of file chol.cc.
References F77_CMPLX_ARG, F77_XFCN, n, OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< Matrix >::update | ( | const ColumnVector & | u | ) |
Definition at line 485 of file chol.cc.
References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< ComplexMatrix >::update | ( | const ComplexColumnVector & | u | ) |
Definition at line 838 of file chol.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void chol< FloatMatrix >::update | ( | const FloatColumnVector & | u | ) |
Definition at line 661 of file chol.cc.
References F77_XFCN, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, and Faddeeva::w().
OCTAVE_API void chol< FloatComplexMatrix >::update | ( | const FloatComplexColumnVector & | u | ) |
Definition at line 1030 of file chol.cc.
References F77_CMPLX_ARG, F77_XFCN, n, Array< T, Alloc >::numel(), and OCTAVE_LOCAL_BUFFER.
OCTAVE_API void chol< T >::update | ( | const VT & | u | ) |
|
private |
Definition at line 95 of file chol.h.
Referenced by chol< T >::operator=().
|
private |
Definition at line 99 of file chol.h.
Referenced by chol< T >::operator=().
Definition at line 97 of file chol.h.
Referenced by chol< T >::operator=().