Class NormDist
- java.lang.Object
-
- org.apache.poi.ss.formula.functions.Fixed4ArgFunction
-
- org.apache.poi.ss.formula.functions.NormDist
-
- All Implemented Interfaces:
FreeRefFunction
,Function
,Function4Arg
public final class NormDist extends Fixed4ArgFunction implements FreeRefFunction
Implementation for Excel NORMDIST() and NORM.DIST() functions.- https://support.microsoft.com/en-us/office/normdist-function-126db625-c53e-4591-9a22-c9ff422d6d58
- https://support.microsoft.com/en-us/office/norm-dist-function-edb1cc14-a21c-4e53-839d-8082074c9f8d
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueEval
evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg1, ValueEval arg2, ValueEval arg3, ValueEval arg4)
ValueEval
evaluate(ValueEval[] args, OperationEvaluationContext ec)
-
Methods inherited from class org.apache.poi.ss.formula.functions.Fixed4ArgFunction
evaluate
-
-
-
-
Field Detail
-
instance
public static final NormDist instance
-
-
Method Detail
-
evaluate
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg1, ValueEval arg2, ValueEval arg3, ValueEval arg4)
Description copied from interface:Function4Arg
- Specified by:
evaluate
in interfaceFunction4Arg
-
evaluate
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec)
- Specified by:
evaluate
in interfaceFreeRefFunction
- Parameters:
args
- the pre-evaluated arguments for this function. args is nevernull
, nor are any of its elements.ec
- primarily used to identify the source cell containing the formula being evaluated. may also be used to dynamically create reference evals.- Returns:
- never
null
. Possibly an instance ofErrorEval
in the case of a specified Excel error (Exceptions are never thrown to represent Excel errors).
-
-