SymEngine.jl icon indicating copy to clipboard operation
SymEngine.jl copied to clipboard

Julia wrappers of SymEngine

Results 58 SymEngine.jl issues
Sort by recently updated
recently updated
newest added

We have seen this failed case ``` using SymEngine @vars x expr = (2*x+3*x^2)/(3*x+4*x^2) series(expr, x, 0, 1) ``` This gives zoo, but it obviously should be 2/3+(1/9)*x.

environment: ``` Debian ⛬ julia/1.5.3+dfsg-3 [[SymEngine]] deps = ["Compat", "Libdl", "LinearAlgebra", "RecipesBase", "SpecialFunctions", "SymEngine_jll"] git-tree-sha1 = "6cf88a0b98c758a36e6e978a41e8a12f6f5cdacc" uuid = "123dc426-2d89-5057-bbad-38513e3affd8" version = "0.8.7" [[SymEngine_jll]] deps = ["Artifacts", "GMP_jll", "JLLWrappers", "Libdl",...

I can't find a proper documentation (aside the github repository redme) neither in SymEngine.jl neither in the symengine C++ repository..

Hi! Found a bug (crashes terminal immediately) while working with SymEngine. Steps to reproduce: 1. Create file TestPolygon.jl 2. insert this code in TestPolygon: ``` using SymEngine x = symbols("x")...

Here is a minimal example: ``` julia> Int64(9) < Basic("10") true ``` but: ``` julia> max(Basic(6.), 9) ERROR: MethodError: no method matching isless(::Int64, ::Basic) Closest candidates are: isless(::Union{Number, Dates.AbstractTime}, ::IntervalSets.ClosedInterval{T}...

We were trying to calculate like `(1-x)*(2-x)*(3-x)*...*(10-x)`. And now we use `(1:10).-x`, which in fact gives in REPL `1 - x:1:10 - x`. However, it seems we cannot directly use...

Added linalgebra.jl which includes proper method(dispatch) for taking Array{SymEngine.Basic,1} (vector) dot product. The method is still bound to LinearAlgebra. This file can serve as a proper place to provide additional...

Hi! I've noticed that when computing the the `n`-th derivative in `x` of a function `f(x)` the number of allocations grows with `n`. This is expected for some general `f`...

What is happening here? ``` julia> Basic(:(v_2 ≤ v_3)) ERROR: Base.Meta.ParseError("v_2 ≤ v_3") Stacktrace: [1] throw_if_error at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/exceptions.jl:5 [inlined] [2] convert(::Type{Basic}, ::String) at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/types.jl:51 [3] Basic at /Users/Chelsea/.julia/packages/SymEngine/lLmHe/src/types.jl:93 [inlined] [4]...

For example ```julia @vars a b x y @funs f g ex1 = f(a,b) ex2 = subs( ex1, f(x_,y_), g(x_+y_) ) # maybe some wildcard for the arguments? ``` An...