org.apache.commons.math.stat.correlation
Class StorelessBivariateCovariance

java.lang.Object
  extended by org.apache.commons.math.stat.correlation.StorelessBivariateCovariance

public class StorelessBivariateCovariance
extends java.lang.Object

Bivariate Covariance implementation that does not require input data to be stored in memory.

Since:
3.0
Version:
$Id: StorelessBivariateCovariance.java 1178235 2011-10-02 19:43:17Z luc $

Constructor Summary
StorelessBivariateCovariance()
           
StorelessBivariateCovariance(boolean biasCorrected)
           
 
Method Summary
 double getN()
           
 double getResult()
           
 void increment(double x, double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorelessBivariateCovariance

public StorelessBivariateCovariance()

StorelessBivariateCovariance

public StorelessBivariateCovariance(boolean biasCorrected)
Method Detail

increment

public void increment(double x,
                      double y)

getN

public double getN()

getResult

public double getResult()
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.