#include "dbleCHOL.h"
Public Member Functions | |
CHOL (void) | |
CHOL (const Matrix &a, bool calc_cond=false) | |
CHOL (const CHOL &a) | |
CHOL (const Matrix &a, octave_idx_type &info, bool calc_cond=false) | |
Matrix | chol_matrix (void) const |
void | delete_sym (octave_idx_type j) |
octave_idx_type | downdate (const ColumnVector &u) |
octave_idx_type | insert_sym (const ColumnVector &u, octave_idx_type j) |
Matrix | inverse (void) const |
CHOL & | operator= (const CHOL &a) |
double | rcond (void) const |
void | set (const Matrix &R) |
void | shift_sym (octave_idx_type i, octave_idx_type j) |
void | update (const ColumnVector &u) |
Private Member Functions | |
octave_idx_type | init (const Matrix &a, bool calc_cond) |
Private Attributes | |
Matrix | chol_mat |
double | xrcond |
Friends | |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const CHOL &a) |
Definition at line 32 of file dbleCHOL.h.
CHOL::CHOL | ( | void | ) | [inline] |
Definition at line 38 of file dbleCHOL.h.
Definition at line 40 of file dbleCHOL.h.
CHOL::CHOL | ( | const Matrix & | a, | |
octave_idx_type & | info, | |||
bool | calc_cond = false | |||
) | [inline] |
Definition at line 46 of file dbleCHOL.h.
CHOL::CHOL | ( | const CHOL & | a | ) | [inline] |
Definition at line 52 of file dbleCHOL.h.
Matrix CHOL::chol_matrix | ( | void | ) | const [inline] |
Definition at line 64 of file dbleCHOL.h.
Referenced by qp().
void CHOL::delete_sym | ( | octave_idx_type | j | ) |
Definition at line 395 of file dbleCHOL.cc.
References chol_mat, Array< T >::delete_elements(), init(), Array< T >::rows(), Matrix::transpose(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
octave_idx_type CHOL::downdate | ( | const ColumnVector & | u | ) |
Definition at line 330 of file dbleCHOL.cc.
References chol_mat, current_liboctave_error_handler, init(), Array< T >::length(), Array< T >::rows(), singular(), Matrix::transpose(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
octave_idx_type CHOL::init | ( | const Matrix & | a, | |
bool | calc_cond | |||
) | [private] |
Definition at line 90 of file dbleCHOL.cc.
References chol_mat, Array< T >::clear(), Array< T >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Matrix::resize(), Array< T >::rows(), Array< T >::xelem(), xnorm(), and xrcond.
Referenced by delete_sym(), downdate(), insert_sym(), shift_sym(), and update().
octave_idx_type CHOL::insert_sym | ( | const ColumnVector & | u, | |
octave_idx_type | j | |||
) |
Definition at line 356 of file dbleCHOL.cc.
References chol_mat, current_liboctave_error_handler, init(), Array< T >::length(), Array< T >::rows(), singular(), Matrix::transpose(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
Matrix CHOL::inverse | ( | void | ) | const |
Definition at line 187 of file dbleCHOL.cc.
References chol2inv_internal(), and chol_mat.
Referenced by DEFUN_DLD(), and Matrix::inverse().
Definition at line 54 of file dbleCHOL.h.
double CHOL::rcond | ( | void | ) | const [inline] |
Definition at line 66 of file dbleCHOL.h.
Referenced by Matrix::inverse().
void CHOL::set | ( | const Matrix & | R | ) |
Definition at line 193 of file dbleCHOL.cc.
References chol_mat, current_liboctave_error_handler, and Array< T >::is_square().
Referenced by DEFUN_DLD().
void CHOL::shift_sym | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) |
Definition at line 413 of file dbleCHOL.cc.
References chol_mat, Array< T >::index(), init(), Array< T >::rows(), Matrix::transpose(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
void CHOL::update | ( | const ColumnVector & | u | ) |
Definition at line 306 of file dbleCHOL.cc.
References chol_mat, current_liboctave_error_handler, init(), Array< T >::length(), Array< T >::rows(), Matrix::transpose(), and warn_qrupdate_once().
Referenced by DEFUN_DLD().
OCTAVE_API std::ostream& operator<< | ( | std::ostream & | os, | |
const CHOL & | a | |||
) | [friend] |
Matrix CHOL::chol_mat [private] |
Definition at line 87 of file dbleCHOL.h.
Referenced by delete_sym(), downdate(), init(), insert_sym(), inverse(), operator=(), set(), shift_sym(), and update().
double CHOL::xrcond [private] |
Definition at line 89 of file dbleCHOL.h.
Referenced by init(), and operator=().