Mercurial > hg > octave-lyh
changeset 5509:b8fc8af2d04d
[project @ 2005-10-26 15:30:11 by jwe]
author | jwe |
---|---|
date | Wed, 26 Oct 2005 15:30:11 +0000 |
parents | 7865515fc6c2 |
children | 3fadccb05d5d |
files | liboctave/ChangeLog liboctave/dSparse.h |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -3,6 +3,10 @@ Changes for GCC 4.1, tip from Arno J. Klaassen <arno@heho.snv.jussieu.fr>: + * dSparse.h (real (const SparseComplexMatrix&)): + Publish externally used friend function. + (imag (const SparseComplexMatrix&)): Likewise. + * dColVector.h (real (const ComplexColumnVector&)): Publish externally used friend function. (imag (const ComplexColumnVector&)): Likewise.
--- a/liboctave/dSparse.h +++ b/liboctave/dSparse.h @@ -394,6 +394,13 @@ friend std::istream& operator >> (std::istream& is, SparseMatrix& a); }; +// Publish externally used friend functions. + +extern SparseMatrix real (const SparseComplexMatrix& a); +extern SparseMatrix imag (const SparseComplexMatrix& a); + +// Other operators. + extern SparseMatrix operator * (const SparseMatrix& a, const SparseMatrix& b); extern Matrix operator * (const Matrix& a,