#include "CmplxCHOL.h"
Public Member Functions | |
ComplexCHOL (void) | |
ComplexCHOL (const ComplexMatrix &a, bool calc_cond=false) | |
ComplexCHOL (const ComplexCHOL &a) | |
ComplexCHOL (const ComplexMatrix &a, octave_idx_type &info, bool calc_cond=false) | |
ComplexMatrix | chol_matrix (void) const |
void | delete_sym (octave_idx_type j) |
octave_idx_type | downdate (const ComplexColumnVector &u) |
octave_idx_type | insert_sym (const ComplexColumnVector &u, octave_idx_type j) |
ComplexMatrix | inverse (void) const |
ComplexCHOL & | operator= (const ComplexCHOL &a) |
double | rcond (void) const |
void | set (const ComplexMatrix &R) |
void | shift_sym (octave_idx_type i, octave_idx_type j) |
void | update (const ComplexColumnVector &u) |
Private Member Functions | |
octave_idx_type | init (const ComplexMatrix &a, bool calc_cond) |
Private Attributes | |
ComplexMatrix | chol_mat |
double | xrcond |
Friends | |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const ComplexCHOL &a) |
Definition at line 32 of file CmplxCHOL.h.
ComplexCHOL::ComplexCHOL | ( | void | ) | [inline] |
Definition at line 38 of file CmplxCHOL.h.
ComplexCHOL::ComplexCHOL | ( | const ComplexMatrix & | a, | |
bool | calc_cond = false | |||
) | [inline] |
Definition at line 40 of file CmplxCHOL.h.
ComplexCHOL::ComplexCHOL | ( | const ComplexMatrix & | a, | |
octave_idx_type & | info, | |||
bool | calc_cond = false | |||
) | [inline] |
Definition at line 46 of file CmplxCHOL.h.
ComplexCHOL::ComplexCHOL | ( | const ComplexCHOL & | a | ) | [inline] |
Definition at line 53 of file CmplxCHOL.h.
ComplexMatrix ComplexCHOL::chol_matrix | ( | void | ) | const [inline] |
Definition at line 67 of file CmplxCHOL.h.
void ComplexCHOL::delete_sym | ( | octave_idx_type | j | ) |
Definition at line 393 of file CmplxCHOL.cc.
References chol_mat, Array< T >::delete_elements(), ComplexMatrix::hermitian(), init(), Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
octave_idx_type ComplexCHOL::downdate | ( | const ComplexColumnVector & | u | ) |
Definition at line 326 of file CmplxCHOL.cc.
References chol_mat, ComplexMatrix::ComplexMatrix(), current_liboctave_error_handler, ComplexMatrix::hermitian(), init(), Array< T >::length(), Array< T >::rows(), singular(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
octave_idx_type ComplexCHOL::init | ( | const ComplexMatrix & | a, | |
bool | calc_cond | |||
) | [private] |
Definition at line 89 of file CmplxCHOL.cc.
References chol_mat, Array< T >::clear(), Array< T >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), ComplexMatrix::resize(), Array< T >::rows(), Array< T >::xelem(), xnorm(), and xrcond.
Referenced by delete_sym(), downdate(), insert_sym(), shift_sym(), and update().
octave_idx_type ComplexCHOL::insert_sym | ( | const ComplexColumnVector & | u, | |
octave_idx_type | j | |||
) |
Definition at line 352 of file CmplxCHOL.cc.
References chol_mat, conj(), current_liboctave_error_handler, ComplexMatrix::hermitian(), init(), Array< T >::length(), Array< T >::rows(), singular(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
ComplexMatrix ComplexCHOL::inverse | ( | void | ) | const |
Definition at line 182 of file CmplxCHOL.cc.
References chol2inv_internal(), and chol_mat.
Referenced by DEFUN_DLD(), and ComplexMatrix::inverse().
ComplexCHOL& ComplexCHOL::operator= | ( | const ComplexCHOL & | a | ) | [inline] |
Definition at line 56 of file CmplxCHOL.h.
double ComplexCHOL::rcond | ( | void | ) | const [inline] |
Definition at line 69 of file CmplxCHOL.h.
Referenced by ComplexMatrix::inverse().
void ComplexCHOL::set | ( | const ComplexMatrix & | R | ) |
Definition at line 188 of file CmplxCHOL.cc.
References chol_mat, current_liboctave_error_handler, and Array< T >::is_square().
Referenced by DEFUN_DLD().
void ComplexCHOL::shift_sym | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) |
Definition at line 411 of file CmplxCHOL.cc.
References chol_mat, ComplexMatrix::hermitian(), Array< T >::index(), init(), Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
void ComplexCHOL::update | ( | const ComplexColumnVector & | u | ) |
Definition at line 302 of file CmplxCHOL.cc.
References chol_mat, ComplexMatrix::ComplexMatrix(), current_liboctave_error_handler, ComplexMatrix::hermitian(), init(), Array< T >::length(), Array< T >::rows(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
OCTAVE_API std::ostream& operator<< | ( | std::ostream & | os, | |
const ComplexCHOL & | a | |||
) | [friend] |
ComplexMatrix ComplexCHOL::chol_mat [private] |
Definition at line 89 of file CmplxCHOL.h.
Referenced by delete_sym(), downdate(), init(), insert_sym(), inverse(), operator=(), set(), shift_sym(), and update().
double ComplexCHOL::xrcond [private] |
Definition at line 91 of file CmplxCHOL.h.
Referenced by init(), and operator=().