26 #if ! defined (octave_chol_h)
27 #define octave_chol_h 1
29 #include "octave-config.h"
41 typedef typename T::column_vector_type
VT;
42 typedef typename T::real_elt_type
COND_T;
44 chol (
void) : chol_mat (), xrcond (0), is_upper (true) { }
46 chol (
const T& a,
bool upper =
true,
bool calc_cond =
false)
47 : chol_mat (), xrcond (0)
49 init (a, upper, calc_cond);
53 bool calc_cond =
false)
54 : chol_mat (), xrcond (0)
56 info = init (a, upper, calc_cond);
60 : chol_mat (a.chol_mat), xrcond (a.xrcond), is_upper (a.is_upper) { }
79 T inverse (
void)
const;
81 void set (
const T& R);
104 template <
typename T>
T chol_matrix(void) const
octave_idx_type insert_sym(const VT &u, octave_idx_type j)
octave_idx_type downdate(const VT &u)
octave_idx_type init(const T &a, bool upper, bool calc_cond)
void shift_sym(octave_idx_type i, octave_idx_type j)
chol(const T &a, bool upper=true, bool calc_cond=false)
chol(const T &a, octave_idx_type &info, bool upper=true, bool calc_cond=false)
void delete_sym(octave_idx_type j)