|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultivariateMixture
Provides a mixture distribution by treating it as a list of
MultivariateDistributions.
| Method Summary | |
|---|---|
MultivariateDistribution |
getComponent(int index)
Returns the requested component of this mixture. |
java.util.ArrayList<MultivariateDistribution> |
getComponents()
Returns the list of components as an ArrayList. |
cern.colt.list.DoubleArrayList |
getMixingPmf()
Returns a DoubleArrayList containing the mixing p.m.f. |
void |
setComponent(int index,
MultivariateDistribution dist)
Sets the desired component of the mixing p.m.f. |
void |
setComponents(java.util.ArrayList<MultivariateDistribution> components)
Sets the list of components. |
void |
setMixingPmf(double[] pmf)
Sets the mixing p.m.f. |
void |
setMixingPmf(cern.colt.matrix.DoubleMatrix1D pmf)
Sets the mixing p.m.f. |
| Methods inherited from interface distribution.MultivariateDistribution |
|---|
densityAt, densityAt, densityAt, densityAt, densityAt, getInputDimension, makeNextSample, makeNextSample, nextSample, nextSample, nextSample, nextSample, setInputDimension, setSeed |
| Method Detail |
|---|
MultivariateDistribution getComponent(int index)
index - the index of the required component.
java.util.ArrayList<MultivariateDistribution> getComponents()
ArrayList.
cern.colt.list.DoubleArrayList getMixingPmf()
DoubleArrayList containing the mixing p.m.f.
void setComponent(int index,
MultivariateDistribution dist)
index - the index of the desired component of the p.m.f.void setComponents(java.util.ArrayList<MultivariateDistribution> components)
components - the given list of components.void setMixingPmf(double[] pmf)
pmf - the given mixing p.m.f.void setMixingPmf(cern.colt.matrix.DoubleMatrix1D pmf)
pmf - the given mixing p.m.f.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||