The expression node is giving me unexpected results when I multiply the result of a trigonometric function for a constant. If I do the same thing with individual nodes it works. why is that? is it a bug or am I formatting the expression wrong?
I think this bug was just answered just recently here. The exp component is case insensitive… R and r are the same.
Also note that this component comes with a significant performance loss on large data and you are not handling zero division here properly. Best is to avoid this component as much as possible.
It parses the statement and uses “Reflection” to invoke the involved code during runtime. So its not pre-compiled logic. This dynamic code execution can slow down performance easily by a magnitude. It depends on the amount of data. For a couple of hundreds of computations it won’t matter much I guess, but as soon as the expression gets more complicated and more data is involved you’ll see a performance hit. The solution then is to convert it into basic math components.