map
Giorgi Lekishvili
gleki at gol.ge
Fri Jun 7 05:01:26 EDT 2002
More information about the Python-list mailing list
Fri Jun 7 05:01:26 EDT 2002
- Previous message (by thread): Help with Black Adder...
- Next message (by thread): map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all! Is there a way to map a function with several arguments to a list? E.g., >>>import math >>>import MLab >>>a=MLab.rand(3,5) >>>b=map(math.pow,a) of course, this doesn't work. What to do? My task is to optimize the power (i.e., y in pow(x,y)) to achieve maximal performance. thanx, Giorgi PS: Perhaps I have missed the needed functionality, that's presented in NumPy?
- Previous message (by thread): Help with Black Adder...
- Next message (by thread): map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list