diff liboctave/floatQRP.h @ 8367:445d27d79f4e

support permutation matrix objects
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 04 Dec 2008 08:31:56 +0100
parents 39c1026191e9
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/floatQRP.h	Wed Dec 03 13:32:57 2008 +0100
+++ b/liboctave/floatQRP.h	Thu Dec 04 08:31:56 2008 +0100
@@ -27,7 +27,8 @@
 #include <iostream>
 
 #include "floatQR.h"
-#include "fMatrix.h"
+#include "PermMatrix.h"
+#include "fColVector.h"
 
 class
 OCTAVE_API
@@ -56,13 +57,15 @@
 
   void init (const FloatMatrix&, QR::type = QR::std);
 
-  FloatMatrix P (void) const { return p; }
+  PermMatrix P (void) const { return p; }
+
+  FloatColumnVector Pvec (void) const;
 
   friend std::ostream&  operator << (std::ostream&, const FloatQRP&);
 
 protected:
 
-  FloatMatrix p;
+  PermMatrix p;
 };
 
 #endif