tmp
/
pip-install-ghxuqwgs
/numpy_78e94bf2b6094bf9a1f3d92042f9bf46
/doc
/source
/f2py
/calculate_session.dat
import foo | |
foo.calculate(range(5), lambda x: x*x) | |
array([ 0., 1., 4., 9., 16.]) | |
import math | |
foo.calculate(range(5), math.exp) | |
array([ 1. , 2.71828175, 7.38905621, 20.08553696, 54.59814835]) | |