axiacore / py-expression-eval

MIT License
149 stars 54 forks source link

What's the difference between expression.functions and expression.values? #49

Open tcaram opened 5 years ago

tcaram commented 5 years ago

Hey there!

I'm trying to add new functions, but I can't seem to understand the difference between expression.functions and expression.values. Some functions (such as the trigonometric ones) are both in expression.functions and in expression.values. And some of them are even in ops1.

Why is that? Should I add new functions in exp.ops1, exp.functions and exp.values, or just in exp.functions? Does it depend on the function?

Thanks in advance.