comparison liboctave/dbleCHOL.h @ 5340:15843d76156d

[project @ 2005-05-06 16:26:58 by jwe]
author jwe
date Fri, 06 May 2005 16:26:59 +0000
parents 4c8a2e4e0717
children 143b556ce725
comparison
equal deleted inserted replaced
5339:4266ef7972b2 5340:15843d76156d
49 return *this; 49 return *this;
50 } 50 }
51 51
52 Matrix chol_matrix (void) const { return chol_mat; } 52 Matrix chol_matrix (void) const { return chol_mat; }
53 53
54 // Compute the inverse of a matrix using the Cholesky factorization.
55 Matrix inverse (void) const;
56
54 friend std::ostream& operator << (std::ostream& os, const CHOL& a); 57 friend std::ostream& operator << (std::ostream& os, const CHOL& a);
55 58
56 private: 59 private:
57 60
58 Matrix chol_mat; 61 Matrix chol_mat;
59 62
60 octave_idx_type init (const Matrix& a); 63 octave_idx_type init (const Matrix& a);
61 }; 64 };
62 65
66 Matrix chol2inv (const Matrix& r);
67
63 #endif 68 #endif
64 69
65 /* 70 /*
66 ;;; Local Variables: *** 71 ;;; Local Variables: ***
67 ;;; mode: C++ *** 72 ;;; mode: C++ ***