Top Description Fields Constructors Methods
org.apache.poi.ss.formula.functions

public final Class Sumxmy2

extends XYNumericFunction
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private static final XYNumericFunction.Accumulator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected XYNumericFunction.Accumulator
createAccumulator()

Implements abstract org.apache.poi.ss.formula.functions.XYNumericFunction.createAccumulator.

Constructs a new instance of the Accumulator used to calculated this function

Inherited from org.apache.poi.ss.formula.functions.XYNumericFunction:
evaluate

Field Detail

XMinusYSquaredAccumulatorback to summary
private static final XYNumericFunction.Accumulator XMinusYSquaredAccumulator

Constructor Detail

Sumxmy2back to summary
public Sumxmy2()

Method Detail

createAccumulatorback to summary
protected XYNumericFunction.Accumulator createAccumulator()

Implements abstract org.apache.poi.ss.formula.functions.XYNumericFunction.createAccumulator.

Doc from org.apache.poi.ss.formula.functions.XYNumericFunction.createAccumulator.

Constructs a new instance of the Accumulator used to calculated this function

Annotations
@Override