SymPy.jl
SymPy.jl copied to clipboard
Julia interface to SymPy via PyCall
When converting a SymPy symbolic expression to a Julia `Expr`, if there is an integer-division in an exponent, the integer division is placed into the output `Expr` without parentheses to...
This introduces these semantics for round and trunc * both pass on non real values * trunc and round return Sym objects (this is a change) * round only uses...
This came up in https://discourse.julialang.org/t/how-to-round-whole-matrix-like-numpy-round/84897 What should be the proper semantics of `round` for `Sym` objects: * sympy.round() fails on symbolic objects (seems excessive, but what should the result of...
Please how can I call the inverse_laplace_transform function through SymPy.jl
When I try to display symbols in the repl, they get displayed as PyObjects with an escaped string representation, instead of the usual pretty printing. MWE: ``` julia> @vars x...
There are testing issues as the sympy that gets picked up by CI is now 1.10, not 1.9 and (hopefully) small differences have accumulated.
```julia using QuadGK @syms w, t function integral_with_quad(expr, lims) v, a, b = lims return quadgk(lambdify(expr, (v,)), a, b) end ex = sympy.Integral(t^2, (t,0,w)) fn = lambdify(ex, fns=Dict("Integral" => integral_with_quad))...
```julia @syms x, y, z ex = x + y + z ex.subs((x, 1), (y, pi)) ``` should return `1 + pi + z`, but it returns `x + y...
Fix Documenter setup, docs aren’t working through Julia hub currently