DynamicExpressions.jl
DynamicExpressions.jl copied to clipboard
Ridiculously fast symbolic expressions
i.e. is there anyway to parse a string output by `string_tree` into a valid DynamicExpressions expression? Or is there any other convenient way to save a large amount of dynamicexpressions...
# Expressions This creates the `Expression` and `AbstractExpression` type for attaching operators and potentially other metadata to the expression itself. This will likely be most useful as user-facing type to...
Another package I wish I knew about a long time ago… https://docstringextensions.juliadocs.org/stable/
Turns out ForwardDiff.jl already works with DynamicExpressions, but we would want to turn off the type mismatch warnings. ```julia using ForwardDiff, DynamicExpressions operators = OperatorEnum(; binary_operators=[+, -, *], unary_operators=[cos]); x1...
Currently the functions are written as: ```julia function foo(args...; kwargs...) error("ExtX.jl not loaded") end # In ExtX.jl function foo(a::Int, b::Char) # do the correct thing end ``` Now this works,...
This PR adds native GPU support. This is a single CUDA kernel which evaluates an expression directly on the GPU! This also allows one to evaluate multiple trees at once...
I didn't realize this but apparently Julia doesn't actually specialize functions based on variable numbers of arguments. There's a way to get around this as described here: https://docs.julialang.org/en/v1/manual/performance-tips/#Be-aware-of-when-Julia-avoids-specializing. This PR...
Say we create an expression: ```julia julia> using DynamicExpressions julia> x1, x2, x3 = (GraphNode{Float64}(feature=i) for i=1:3); julia> operators = OperatorEnum( binary_operators=[+, -, *, /, ^], unary_operators=[cos, sin, exp], );...
Hey @MilesCranmer ! I've been thinking about possible extensions and wonder how you think about this: 1. Parametric Operations In short, I want to be able to supply function with...
This pull request sets the compat entry for the `TOML` package to `1`. This keeps the compat entries for earlier versions. Note: I have not tested your package with this...