Lambdify getting error if expression is function of time

Starpower_Power
Fri, 11 Nov 2022 13:11:51 +0000
General Usage

using SymPy
using PyCall
sp = pyimport("sympy")
@vars t
x = sp.Function("x")(t)
y = sp.Function("y")(t)
z = x^2+y^2
hz = lambdify(z,(x,y))
# hz = lambdify(z,(x,y))
hz(1,1)

7 posts - 2 participants