org.apache.poi.hssf.record.formula.functions
Class Sumx2my2

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.XYNumericFunction
      extended by org.apache.poi.hssf.record.formula.functions.Sumx2my2
All Implemented Interfaces:
Function

public final class Sumx2my2
extends XYNumericFunction

Implementation of Excel function SUMX2MY2()

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

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

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com >

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.formula.functions.XYNumericFunction
XYNumericFunction.DoubleArrayPair
 
Field Summary
 
Fields inherited from class org.apache.poi.hssf.record.formula.functions.XYNumericFunction
X, Y
 
Constructor Summary
Sumx2my2()
           
 
Method Summary
protected  double evaluate(double[] xArray, double[] yArray)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.XYNumericFunction
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sumx2my2

public Sumx2my2()
Method Detail

evaluate

protected double evaluate(double[] xArray,
                          double[] yArray)
Specified by:
evaluate in class XYNumericFunction


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.