diff liboctave/dbleSCHUR.h @ 5008:c2bb27ada496

[project @ 2004-09-17 14:45:39 by jwe]
author jwe
date Fri, 17 Sep 2004 14:45:39 +0000
parents 5719210fff4c
children e35b034d3523
line wrap: on
line diff
--- a/liboctave/dbleSCHUR.h	Fri Sep 17 11:42:04 2004 +0000
+++ b/liboctave/dbleSCHUR.h	Fri Sep 17 14:45:39 2004 +0000
@@ -40,17 +40,12 @@
   SCHUR (void)
     : schur_mat (), unitary_mat () { }
 
-  SCHUR (const Matrix& a, const std::string& ord)
-    : schur_mat (), unitary_mat ()
-      {
-        init (a, ord);
-      }
+  SCHUR (const Matrix& a, const std::string& ord, bool calc_unitary = true)
+    : schur_mat (), unitary_mat () { init (a, ord, calc_unitary); }
 
-  SCHUR (const Matrix& a, const std::string& ord, int& info)
-    : schur_mat (), unitary_mat ()
-      {
-        info = init (a, ord);
-      }
+  SCHUR (const Matrix& a, const std::string& ord, int& info, 
+	 bool calc_unitary = true)
+    : schur_mat (), unitary_mat () { info = init (a, ord, calc_unitary); }
 
   SCHUR (const SCHUR& a)
     : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { }
@@ -82,7 +77,7 @@
 
   select_function selector;
 
-  int init (const Matrix& a, const std::string& ord);
+  int init (const Matrix& a, const std::string& ord, bool calc_unitary);
 };
 
 #endif