# HG changeset patch # User jwe # Date 1130340611 0 # Node ID b8fc8af2d04da975a6b8d8a97797cbe1d8dea5b0 # Parent 7865515fc6c2ce70ac09e0ecab9e4671dc198d8b [project @ 2005-10-26 15:30:11 by jwe] diff -r 7865515fc6c2 -r b8fc8af2d04d liboctave/ChangeLog --- a/liboctave/ChangeLog Wed Oct 26 15:24:08 2005 +0000 +++ b/liboctave/ChangeLog Wed Oct 26 15:30:11 2005 +0000 @@ -3,6 +3,10 @@ Changes for GCC 4.1, tip from Arno J. Klaassen : + * 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. diff -r 7865515fc6c2 -r b8fc8af2d04d liboctave/dSparse.h --- a/liboctave/dSparse.h Wed Oct 26 15:24:08 2005 +0000 +++ b/liboctave/dSparse.h Wed Oct 26 15:30:11 2005 +0000 @@ -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,