Mercurial > hg > octave-lyh
diff liboctave/CMatrix.cc @ 9812:f80c566bc751
improve unary mapper system
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 12 Nov 2009 15:47:58 +0100 |
parents | 1dba57e9d08d |
children | 7483fe200fab |
line wrap: on
line diff
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -3079,24 +3079,6 @@ // other operations -Matrix -ComplexMatrix::map (dmapper fcn) const -{ - return MArray2<Complex>::map<double> (func_ptr (fcn)); -} - -ComplexMatrix -ComplexMatrix::map (cmapper fcn) const -{ - return MArray2<Complex>::map<Complex> (func_ptr (fcn)); -} - -boolMatrix -ComplexMatrix::map (bmapper fcn) const -{ - return MArray2<Complex>::map<bool> (func_ptr (fcn)); -} - bool ComplexMatrix::any_element_is_nan (void) const {