diff liboctave/dSparse.h @ 5509:b8fc8af2d04d

[project @ 2005-10-26 15:30:11 by jwe]
author jwe
date Wed, 26 Oct 2005 15:30:11 +0000
parents b4cfbb0ec8c4
children 233d98d95659
line wrap: on
line diff
--- 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,