diff liboctave/dSparse.h @ 9812:f80c566bc751

improve unary mapper system
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 12 Nov 2009 15:47:58 +0100
parents a5035bc7fbfb
children aabf7a8c2e57
line wrap: on
line diff
--- a/liboctave/dSparse.h	Wed Nov 11 17:43:45 2009 -0800
+++ b/liboctave/dSparse.h	Thu Nov 12 15:47:58 2009 +0100
@@ -426,12 +426,6 @@
   friend OCTAVE_API std::ostream& operator << (std::ostream& os, const SparseMatrix& a);
   friend OCTAVE_API std::istream& operator >> (std::istream& is, SparseMatrix& a);
 
-  typedef double (*dmapper) (double);
-  typedef Complex (*cmapper) (const Complex&);
-  typedef bool (*bmapper) (double);
-  SparseMatrix map (dmapper fcn) const;
-  SparseComplexMatrix map (cmapper fcn) const;
-  SparseBoolMatrix map (bmapper fcn) const;
 };
 
 // Publish externally used friend functions.