bertiqwerty / exmex

Math parser and evaluator in Rust, capable of partial differentiation, allows the use of custom operators.
Apache License 2.0
39 stars 6 forks source link

Support for functions ? #54

Open markusmoenig opened 1 month ago

markusmoenig commented 1 month ago

Hi,

is it possible to have operator with arguments, aka functions ? I can do an operator for "noise", but to change the frequency of the noise I would need todo something like "noise(5, 10)".

Possible ?

bertiqwerty commented 1 month ago

Hi. We currently have unary and binary operators. But no operators with more than 2 arguments. So you can do noise(5, 10) but not noise(5, 7, 10).