public class UpdatingCovarCalc extends Object
| Constructor and Description |
|---|
UpdatingCovarCalc(double x,
double y)
Creates new UpdatingCovarianceCalculator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(double x,
double y)
Update the covariance with another point.
|
double |
getCovariance()
Return the covariance of the list of points specified to this object.
|
double |
getSumSquaredDeviations()
Return the sum squared of the list of points specified to this object.
|
public UpdatingCovarCalc(double x,
double y)
x - first x valuey - first y valuepublic void addPoint(double x,
double y)
x - x valuey - y valuepublic double getCovariance()
public double getSumSquaredDeviations()
Copyright © 2012–2018 Emory University. All rights reserved.