| Modifier and Type | Field and Description |
|---|---|
| private final boolean | isBiasCorrected
Indicator for bias correction. |
| private long | n
Number of vectors in the sample. |
| private final double[] | productsSums
Sums of products for each component. |
| private static final long | serialVersionUID
Serializable version identifier |
| private final double[] | sums
Sums for each component. |
| Access | Constructor and Description |
|---|---|
| public | VectorialCovariance(int
vectors dimension dimension, boolean if true, computed the unbiased sample covariance,
otherwise computes the biased population covariance isBiasCorrected)Constructs a VectorialCovariance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public long | |
| public RealMatrix | |
| public int | |
| public void |
| isBiasCorrected | back to summary |
|---|---|
| private final boolean isBiasCorrected Indicator for bias correction. | |
| n | back to summary |
|---|---|
| private long n Number of vectors in the sample. | |
| productsSums | back to summary |
|---|---|
| private final double[] productsSums Sums of products for each component. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable version identifier | |
| sums | back to summary |
|---|---|
| private final double[] sums Sums for each component. | |
| VectorialCovariance | back to summary |
|---|---|
| public VectorialCovariance(int dimension, boolean isBiasCorrected) Constructs a VectorialCovariance.
| |
| clear | back to summary |
|---|---|
| public void clear() Clears the internal state of the Statistic | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getN | back to summary |
|---|---|
| public long getN() Get the number of vectors in the sample.
| |
| getResult | back to summary |
|---|---|
| public RealMatrix getResult() Get the covariance matrix.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| increment | back to summary |
|---|---|
| public void increment(double[] v) throws DimensionMismatchException Add a new vector to the sample.
| |