diff liboctave/CmplxSCHUR.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/CmplxSCHUR.h	Fri Sep 17 11:42:04 2004 +0000
+++ b/liboctave/CmplxSCHUR.h	Fri Sep 17 14:45:39 2004 +0000
@@ -40,17 +40,13 @@
   ComplexSCHUR (void)
     : schur_mat (), unitary_mat () { }
 
-  ComplexSCHUR (const ComplexMatrix& a, const std::string& ord)
-    : schur_mat (), unitary_mat ()
-      {
-        init (a, ord);
-      }
+  ComplexSCHUR (const ComplexMatrix& a, const std::string& ord,
+		bool calc_unitary = true)
+    : schur_mat (), unitary_mat () { init (a, ord, calc_unitary); }
 
-  ComplexSCHUR (const ComplexMatrix& a, const std::string& ord, int& info)
-    : schur_mat (), unitary_mat ()
-      {
-        info = init (a,ord);
-      }
+  ComplexSCHUR (const ComplexMatrix& a, const std::string& ord, int& info,
+		bool calc_unitary = true)
+    : schur_mat (), unitary_mat () { info = init (a, ord, calc_unitary); }
 
   ComplexSCHUR (const ComplexSCHUR& a)
     : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { }
@@ -82,7 +78,7 @@
 
   select_function selector;
 
-  int init (const ComplexMatrix& a, const std::string& ord);
+  int init (const ComplexMatrix& a, const std::string& ord, bool calc_unitary);
 };
 
 #endif