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