Mercurial > hg > octave-nkf
diff liboctave/dMatrix.h @ 5508:7865515fc6c2
[project @ 2005-10-26 15:24:07 by jwe]
author | jwe |
---|---|
date | Wed, 26 Oct 2005 15:24:08 +0000 |
parents | 4c8a2e4e0717 |
children | 34cda7d94c08 |
line wrap: on
line diff
--- a/liboctave/dMatrix.h +++ b/liboctave/dMatrix.h @@ -177,10 +177,6 @@ boolMatrix operator ! (void) const; - // column vector by row vector -> matrix operations - - friend Matrix operator * (const ColumnVector& a, const RowVector& b); - // other operations Matrix map (d_d_Mapper f) const; @@ -231,6 +227,17 @@ Matrix (double *d, octave_idx_type r, octave_idx_type c) : MArray2<double> (d, r, c) { } }; +// Publish externally used friend functions. + +extern Matrix real (const ComplexMatrix& a); +extern Matrix imag (const ComplexMatrix& a); + +// column vector by row vector -> matrix operations + +extern Matrix operator * (const ColumnVector& a, const RowVector& b); + +// Other functions. + extern Matrix Givens (double, double); extern Matrix Sylvester (const Matrix&, const Matrix&, const Matrix&);