SymPyFunction

A function suitable for symbolic manipulation with derivatives and evlauation

 

get_sympy(): 

 

@property
sympy(self): 

 

__init__(self, expr, vars=None): 

 

sort_vars(self, vars): 

 

merge_vars(self, v1, v2): 

 

compile(self): 

 

eval(self, r: numpy.ndarray) -> 'np.ndarray': 

 

deriv(self, *which, order=1): 

 

__call__(self, r): 

 

__neg__(self): 

 

__mul__(self, other): 

 

__rmul__(self, other): 

 

__truediv__(self, other): 

 

__rtruediv__(self, other): 

 

__add__(self, other): 

 

__radd__(self, other): 

 

__sub__(self, other): 

 

__rsub__(self, other): 

 

__pow__(self, power, modulo=None): 

 

invert(self): 

 

__invert__(self): 

 

copy(self): 

 

compose(self, other): 

 

symbols(*syms): 

 

exp(fn): 

 

morse(var, de=10, a=1, re=0): 

 

__repr__(self): 

Feedback

Examples

Templates

Documentation