comparison liboctave/dbleCHOL.h @ 8562:a6edd5c23cb5

use replacement methods if qrupdate is not available
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 22 Jan 2009 11:10:47 +0100
parents d66c9b6e506a
children d865363208d6
comparison
equal deleted inserted replaced
8561:66165de2cc42 8562:a6edd5c23cb5
62 // Compute the inverse of a matrix using the Cholesky factorization. 62 // Compute the inverse of a matrix using the Cholesky factorization.
63 Matrix inverse (void) const; 63 Matrix inverse (void) const;
64 64
65 void set (const Matrix& R); 65 void set (const Matrix& R);
66 66
67 #ifdef HAVE_QRUPDATE
68
69 void update (const ColumnVector& u); 67 void update (const ColumnVector& u);
70 68
71 octave_idx_type downdate (const ColumnVector& u); 69 octave_idx_type downdate (const ColumnVector& u);
72 70
73 octave_idx_type insert_sym (const ColumnVector& u, octave_idx_type j); 71 octave_idx_type insert_sym (const ColumnVector& u, octave_idx_type j);
74 72
75 void delete_sym (octave_idx_type j); 73 void delete_sym (octave_idx_type j);
76 74
77 void shift_sym (octave_idx_type i, octave_idx_type j); 75 void shift_sym (octave_idx_type i, octave_idx_type j);
78
79 #endif
80 76
81 friend OCTAVE_API std::ostream& operator << (std::ostream& os, const CHOL& a); 77 friend OCTAVE_API std::ostream& operator << (std::ostream& os, const CHOL& a);
82 78
83 private: 79 private:
84 80