|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.stat.descriptive.moment.VectorialCovariance
public class VectorialCovariance
Returns the covariance matrix of the available vectors.
| Constructor Summary | |
|---|---|
VectorialCovariance(int dimension,
boolean isBiasCorrected)
Constructs a VectorialCovariance. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the internal state of the Statistic |
boolean |
equals(Object obj)
|
long |
getN()
Get the number of vectors in the sample. |
RealMatrix |
getResult()
Get the covariance matrix. |
int |
hashCode()
|
void |
increment(double[] v)
Add a new vector to the sample. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VectorialCovariance(int dimension,
boolean isBiasCorrected)
dimension - vectors dimensionisBiasCorrected - if true, computed the unbiased sample covariance,
otherwise computes the biased population covariance| Method Detail |
|---|
public void increment(double[] v)
throws DimensionMismatchException
v - vector to add
DimensionMismatchException - if the vector does not have the right dimensionpublic RealMatrix getResult()
public long getN()
public void clear()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||