|
||||||||||
| 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 VectorialMean. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the internal state of the Statistic |
long |
getN()
Get the number of vectors in the sample. |
RealMatrix |
getResult()
Get the covariance matrix. |
void |
increment(double[] v)
Add a new vector to the sample. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||