Class AbstractBigMathFunction
- java.lang.Object
-
- com.ezylang.evalex.functions.AbstractFunction
-
- com.ezylang.evalex.bigmath.functions.bigdecimalmath.AbstractBigMathFunction
-
- All Implemented Interfaces:
com.ezylang.evalex.functions.FunctionIfc
- Direct Known Subclasses:
BigMathAcosFunction,BigMathAcosHFunction,BigMathAcosRFunction,BigMathAcotFunction,BigMathAcotHFunction,BigMathAcotRFunction,BigMathAsinFunction,BigMathAsinHFunction,BigMathAsinRFunction,BigMathAtan2Function,BigMathAtan2RFunction,BigMathAtanFunction,BigMathAtanHFunction,BigMathAtanRFunction,BigMathBernoulliFunction,BigMathCosFunction,BigMathCosHFunction,BigMathCosRFunction,BigMathCotFunction,BigMathCotHFunction,BigMathCotRFunction,BigMathCscFunction,BigMathCscHFunction,BigMathCscRFunction,BigMathDegFunction,BigMathEFunction,BigMathExpFunction,BigMathExponentFunction,BigMathFactorialFunction,BigMathFractionalPartFunction,BigMathGammaFunction,BigMathIntegralPartFunction,BigMathLog10Function,BigMathLog2Function,BigMathLogFunction,BigMathMantissaFunction,BigMathPiFunction,BigMathRadFunction,BigMathReciprocalFunction,BigMathRootFunction,BigMathSecFunction,BigMathSecHFunction,BigMathSecRFunction,BigMathSignificantDigitsFunction,BigMathSinFunction,BigMathSinHFunction,BigMathSinRFunction,BigMathSqrtFunction,BigMathTanFunction,BigMathTanHFunction,BigMathTanRFunction
public abstract class AbstractBigMathFunction extends com.ezylang.evalex.functions.AbstractFunctionAbstract base class for BigDecimalMath calculations.Does parameter conversion from/to
EvaluationValueandBigDecimalAlso maps
ArithmeticExceptiontoEvaluationException.
-
-
Constructor Summary
Constructors Constructor Description AbstractBigMathFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.ezylang.evalex.data.EvaluationValueevaluate(com.ezylang.evalex.Expression expression, com.ezylang.evalex.parser.Token token, com.ezylang.evalex.data.EvaluationValue... evaluationValues)protected abstract java.math.BigDecimalevaluateBigMath(java.math.MathContext mathContext, java.math.BigDecimal... parameters)-
Methods inherited from class com.ezylang.evalex.functions.AbstractFunction
getFunctionParameterDefinitions, hasVarArgs, validatePreEvaluation
-
-
-
-
Method Detail
-
evaluate
public com.ezylang.evalex.data.EvaluationValue evaluate(com.ezylang.evalex.Expression expression, com.ezylang.evalex.parser.Token token, com.ezylang.evalex.data.EvaluationValue... evaluationValues) throws com.ezylang.evalex.EvaluationException- Throws:
com.ezylang.evalex.EvaluationException
-
evaluateBigMath
protected abstract java.math.BigDecimal evaluateBigMath(java.math.MathContext mathContext, java.math.BigDecimal... parameters) throws com.ezylang.evalex.EvaluationException- Throws:
com.ezylang.evalex.EvaluationException
-
-