Class Sumxmy2
- java.lang.Object
-
- org.apache.poi.ss.formula.functions.Fixed2ArgFunction
-
- org.apache.poi.ss.formula.functions.XYNumericFunction
-
- org.apache.poi.ss.formula.functions.Sumxmy2
-
- All Implemented Interfaces:
Function
,Function2Arg
public final class Sumxmy2 extends XYNumericFunction
Implementation of Excel function SUMXMY2()Calculates the sum of squares of differences between two arrays of the same size.
Syntax:
SUMXMY2(arrayX, arrayY)result = Σi: 0..n(xi-yi)2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.ss.formula.functions.XYNumericFunction
XYNumericFunction.Accumulator
-
-
Constructor Summary
Constructors Constructor Description Sumxmy2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XYNumericFunction.Accumulator
createAccumulator()
Constructs a new instance of the Accumulator used to calculated this function-
Methods inherited from class org.apache.poi.ss.formula.functions.XYNumericFunction
evaluate
-
Methods inherited from class org.apache.poi.ss.formula.functions.Fixed2ArgFunction
evaluate, evaluate, evaluateArray
-
-
-
-
Method Detail
-
createAccumulator
protected XYNumericFunction.Accumulator createAccumulator()
Description copied from class:XYNumericFunction
Constructs a new instance of the Accumulator used to calculated this function- Specified by:
createAccumulator
in classXYNumericFunction
-
-