diff liboctave/CmplxHESS.h @ 1528:dc527156c38c

[project @ 1995-10-05 01:44:18 by jwe]
author jwe
date Thu, 05 Oct 1995 01:45:30 +0000
parents 611d403c7f3d
children 950825cea083
line wrap: on
line diff
--- a/liboctave/CmplxHESS.h
+++ b/liboctave/CmplxHESS.h
@@ -38,13 +38,32 @@
 
 public:
 
-  ComplexHESS (void) {}
-  ComplexHESS (const ComplexMatrix& a);
-  ComplexHESS (const ComplexMatrix& a, int& info);
-  ComplexHESS (const ComplexHESS& a);
-  ComplexHESS& operator = (const ComplexHESS& a);
-  ComplexMatrix hess_matrix (void) const;
-  ComplexMatrix unitary_hess_matrix (void) const;
+  ComplexHESS (void) { }
+
+  ComplexHESS (const ComplexMatrix& a) { init (a); }
+
+  ComplexHESS (const ComplexMatrix& a, int& info) { info = init (a); }
+
+  ComplexHESS (const ComplexHESS& a)
+    {
+      hess_mat = a.hess_mat;
+      unitary_hess_mat = a.unitary_hess_mat;
+    }
+
+  ComplexHESS& operator = (const ComplexHESS& a)
+    {
+      hess_mat = a.hess_mat;
+      unitary_hess_mat = a.unitary_hess_mat;
+
+      return *this;
+    }
+
+  ComplexMatrix hess_matrix (void) const { return hess_mat; }
+
+  ComplexMatrix unitary_hess_matrix (void) const
+    {
+      return unitary_hess_mat;
+    }
 
   friend ostream& operator << (ostream& os, const ComplexHESS& a);
 
@@ -56,41 +75,6 @@
   ComplexMatrix unitary_hess_mat;
 };
 
-inline ComplexHESS::ComplexHESS (const ComplexMatrix& a)
-{
-  init (a);
-}
-
-inline ComplexHESS::ComplexHESS (const ComplexMatrix& a, int& info)
-{
-  info = init (a);
-}
-
-inline ComplexHESS::ComplexHESS (const ComplexHESS& a)
-{
-  hess_mat = a.hess_mat;
-  unitary_hess_mat = a.unitary_hess_mat;
-}
-
-inline ComplexHESS&
-ComplexHESS::operator = (const ComplexHESS& a)
-{
-  hess_mat = a.hess_mat;
-  unitary_hess_mat = a.unitary_hess_mat;
-
-  return *this;
-}
-
-inline ComplexMatrix ComplexHESS::hess_matrix (void) const
-{
-  return hess_mat;
-}
-
-inline ComplexMatrix ComplexHESS::unitary_hess_matrix (void) const
-{
-  return unitary_hess_mat;
-}
-
 #endif
 
 /*