Mercurial > hg > octave-nkf
diff liboctave/fCDiagMatrix.h @ 8375:e3c9102431a9
fix design problems of diag & perm matrix classes
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Fri, 05 Dec 2008 10:20:18 +0100 |
parents | c3f7e2549abb |
children | 20dfb885f877 |
line wrap: on
line diff
--- a/liboctave/fCDiagMatrix.h +++ b/liboctave/fCDiagMatrix.h @@ -122,7 +122,8 @@ // other operations - FloatComplexColumnVector diag (octave_idx_type k = 0) const; + FloatComplexColumnVector diag (octave_idx_type k = 0) const + { return MDiagArray2<FloatComplex>::diag (k); } FloatComplexDET determinant (void) const; float rcond (void) const;