org.jfree.formula.operators
Class PowerOperator
- InfixOperator, Serializable
This has to be implemented manually if we want to support arbitary precision.
Damn, do I have to implement the logarithm computation as well? For now:
Ignore that and use doubles!
isAssociative
public boolean isAssociative()
Defines, whether the operation is associative. For associative operations,
the evaluation order does not matter, if the operation appears more than
once in an expression, and therefore we can optimize them a lot better than
non-associative operations (ie. merge constant parts and precompute them
once).
- isAssociative in interface InfixOperator
- true, if the operation is associative, false otherwise