diff liboctave/fCDiagMatrix.h @ 8371:c3f7e2549abb

make det & inv aware of diagonal & permutation matrices
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 04 Dec 2008 12:03:45 +0100
parents 8b1a2555c4e2
children e3c9102431a9
line wrap: on
line diff
--- a/liboctave/fCDiagMatrix.h	Thu Dec 04 09:52:30 2008 +0100
+++ b/liboctave/fCDiagMatrix.h	Thu Dec 04 12:03:45 2008 +0100
@@ -30,6 +30,7 @@
 #include "fCRowVector.h"
 #include "fColVector.h"
 #include "fCColVector.h"
+#include "DET.h"
 
 #include "mx-defs.h"
 
@@ -123,6 +124,9 @@
 
   FloatComplexColumnVector diag (octave_idx_type k = 0) const;
 
+  FloatComplexDET determinant (void) const;
+  float rcond (void) const;
+
   // i/o
 
   friend std::ostream& operator << (std::ostream& os, const FloatComplexDiagMatrix& a);