Mercurial > hg > octave-lyh
diff liboctave/CRowVector.h @ 7503:8c32f95c2639
convert mapper functions to new format
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 20 Feb 2008 04:22:50 -0500 |
parents | a1dbe9d80eee |
children | 82be108cc558 |
line wrap: on
line diff
--- a/liboctave/CRowVector.h +++ b/liboctave/CRowVector.h @@ -96,10 +96,11 @@ // other operations - ComplexRowVector map (c_c_Mapper f) const; - RowVector map (d_c_Mapper f) const; + typedef double (*dmapper) (const Complex&); + typedef Complex (*cmapper) (const Complex&); - ComplexRowVector& apply (c_c_Mapper f); + RowVector map (dmapper fcn) const; + ComplexRowVector map (cmapper fcn) const; Complex min (void) const; Complex max (void) const;