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

public final Class Sumx2py2

extends XYNumericFunction
Class Inheritance

Implementation of Excel function SUMX2PY2()

Calculates the sum of squares in two arrays of the same size.
Syntax:
SUMX2PY2(arrayX, arrayY)

result = Σi: 0..n(xi2+yi2)

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

XSquaredPlusYSquaredAccumulatorback to summary
private static final XYNumericFunction.Accumulator XSquaredPlusYSquaredAccumulator

Constructor Detail

Sumx2py2back to summary
public Sumx2py2()

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