A Q concerning map (a comparison to Maple V)

Franz GEIGER fgeiger at datec.at
Tue Dec 26 16:00:52 CET 2000


> I think what you really want is the Numeric module
> (http://numpy.sourceforge.net).

I will have a look at it, thank you! But what, if I'm not only after
numbers?

Best regards
Franz GEIGER



"Moshe Zadka" <moshez at zadka.site.co.il> wrote in message
news:mailman.977570046.5395.python-list at python.org...
> On Sat, 23 Dec 2000 10:48:30 +0100, "Franz GEIGER" <fgeiger at datec.at>
wrote:
> >
> > When I encountered Python a few month ago now, it made me remember Maple
V.
> > Maple has map, select, zip etc. like Python. But Maple handles map e.g.
more
> > generously in terms of argument passing. So you can apply
> > f:=(x,y)->x^2+y
> > to a list and an ADDITIONAL argument like so:
> > map(f, L, 5);
>
> I think what you really want is the Numeric module
> (http://numpy.sourceforge.net).
> If L is a Numeric array, then
>
> "L**2+5" *already* does the right thing. In general, Numeric is a Python
> answer to the matlab-like languages, of which Maple V is one AFAIR.
> --
> Moshe Zadka <sig at zadka.site.co.il>
> This is a signature anti-virus.
> Please stop the spread of signature viruses!
>







More information about the Python-list mailing list