Mercurial > hg > octave-max
diff liboctave/fCmplxQRP.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/fCmplxQRP.h +++ b/liboctave/fCmplxQRP.h @@ -27,7 +27,8 @@ #include <iostream> #include "fCmplxQR.h" -#include "fMatrix.h" +#include "PermMatrix.h" +#include "fColVector.h" class OCTAVE_API @@ -55,13 +56,15 @@ void init (const FloatComplexMatrix&, 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 FloatComplexQRP&); private: - FloatMatrix p; + PermMatrix p; }; #endif