public final class Sumxmy2 extends XYNumericFunction
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
XYNumericFunction.Accumulator
Constructor and Description |
---|
Sumxmy2() |
Modifier and Type | Method and Description |
---|---|
protected XYNumericFunction.Accumulator |
createAccumulator()
Constructs a new instance of the Accumulator used to calculated this function
|
evaluate
evaluate
protected XYNumericFunction.Accumulator createAccumulator()
XYNumericFunction
createAccumulator
in class XYNumericFunction
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.