Compile#
|
Dispatch compilation of a sympy function to one of three possible backends: numpy, or pytensor. |
|
Convert a sympy function to a numpy function using |
|
Convert a sympy function to a pytensor function using |
Function Wrappers#
|
Wrap a function that returns a numpy array to instead return a SymbolDictionary. |
Wrap a function to return a single numpy array with all outputs stacked into a single flat array. |
|
Wrap a function that (potentially) returns a list of numpy arrays to instead return the 0th element of the output. |
|
Wrap a function to convert the output to a numpy array. |