50 const octave_idx_type&, Complex*,
51 const octave_idx_type&, octave_idx_type&
56 const octave_idx_type&, Complex*,
57 const octave_idx_type&,
const double&,
58 double&, Complex*,
double*, octave_idx_type&
63 F77_FUNC (zch1up, ZCH1UP) (
const octave_idx_type&, Complex*,
64 const octave_idx_type&, Complex*,
double*);
67 F77_FUNC (zch1dn, ZCH1DN) (
const octave_idx_type&, Complex*,
68 const octave_idx_type&, Complex*,
double*,
72 F77_FUNC (zchinx, ZCHINX) (
const octave_idx_type&, Complex*,
73 const octave_idx_type&,
const octave_idx_type&,
74 Complex*,
double*, octave_idx_type&);
77 F77_FUNC (zchdex, ZCHDEX) (
const octave_idx_type&, Complex*,
78 const octave_idx_type&,
const octave_idx_type&,
82 F77_FUNC (zchshx, ZCHSHX) (
const octave_idx_type&, Complex*,
83 const octave_idx_type&,
const octave_idx_type&,
84 const octave_idx_type&, Complex*,
double*);
96 (*current_liboctave_error_handler)
97 (
"ComplexCHOL requires square matrix");
117 anorm =
xnorm (a, 1);
135 n, anorm,
xrcond, pz, prz, zpocon_info
138 if (zpocon_info != 0)
247 else if (j < 0 || j > n)
248 (*current_liboctave_error_handler) (
"cholinsert: index out of range");
269 if (j < 0 || j > n-1)
270 (*current_liboctave_error_handler) (
"choldelete: index out of range");
287 if (i < 0 || i > n-1 || j < 0 || j > n-1)
288 (*current_liboctave_error_handler) (
"cholshift: index out of range");
295 i + 1, j + 1,
w, rw));
304 warn_qrupdate_once ();
321 if (a(i,i) == 0.0)
return true;
328 warn_qrupdate_once ();
355 warn_qrupdate_once ();
363 else if (j < 0 || j > n)
364 (*current_liboctave_error_handler) (
"cholinsert: index out of range");
369 else if (u(j).imag () != 0.0)
383 a1(k, l) = a(k < j ? k : k-1, l < j ? l : l-1);
385 info =
init (a1,
false);
396 warn_qrupdate_once ();
400 if (j < 0 || j > n-1)
401 (*current_liboctave_error_handler) (
"choldelete: index out of range");
414 warn_qrupdate_once ();
418 if (i < 0 || i > n-1 || j < 0 || j > n-1)
419 (*current_liboctave_error_handler) (
"cholshift: index out of range");