Class Covar
java.lang.Object
org.apache.poi.ss.formula.functions.Fixed2ArgFunction
org.apache.poi.ss.formula.functions.Covar
- All Implemented Interfaces:
FreeRefFunction,Function,Function2Arg
Implementation for Excel COVAR() and COVARIANCE.P() functions.
Syntax:
COVAR (array1, array2)
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class org.apache.poi.ss.formula.functions.Fixed2ArgFunction
evaluate
-
Field Details
-
instanceP
-
instanceS
-
-
Method Details
-
evaluate
Description copied from interface:Function2Arg- Specified by:
evaluatein interfaceFunction2Arg
-
evaluate
- Specified by:
evaluatein 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 ofErrorEvalin the case of a specified Excel error (Exceptions are never thrown to represent Excel errors).
-