Documentation of 'org.apache.commons.math3.distribution.AbstractMultivariateRealDistribution' Java class
AbstractMultivariateRealDistribution
org.apache.commons.math3.distribution

Class AbstractMultivariateRealDistribution

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      int getDimension()
      Gets the number of random variables of the distribution.
      void reseedRandomGenerator(long seed)
      Reseeds the random generator used to generate samples.
      abstract double[] sample()
      Generates a random value vector sampled from this distribution.
      double[][] sample(int sampleSize)
      Generates a list of a random value vectors from the distribution.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • reseedRandomGenerator

        public void reseedRandomGenerator(long seed)
        Reseeds the random generator used to generate samples.
        Specified by:
        reseedRandomGenerator in interface MultivariateRealDistribution
        Parameters:
        seed - Seed with which to initialize the random number generator.
      • getDimension

        public int getDimension()
        Gets the number of random variables of the distribution. It is the size of the array returned by the sample method.
        Specified by:
        getDimension in interface MultivariateRealDistribution
        Returns:
        the number of variables.
      • sample

        public abstract double[] sample()
        Generates a random value vector sampled from this distribution.
        Specified by:
        sample in interface MultivariateRealDistribution
        Returns:
        a random value vector.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.