◐ Shell
clean mode source ↗

GitHub - faucon/numpybuilder: build numpy expressions (or functions) from sage-functions

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Numpybuilder

Installation

Just move the directory "numpybuilder" to

/your/path/to/sage/devel/sage/build/sage/

Usage

in sage do:
>>> from sage.numpybuilder import build_numpyfunc
>>> f = x^2 + cos(x) #or some other function
>>> numerical_f = build_numpyfunc(f, ['x'])

see docstring for further information