Mercurial > hg > octave-lyh
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 +++ b/liboctave/fCDiagMatrix.h @@ -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);