Documentation of 'org.statcato.random.SampleFromVector' Java class
SampleFromVector
org.statcato.random

Class SampleFromVector

  • All Implemented Interfaces:
    java.io.Serializable


    public class SampleFromVector
    extends java.util.Random
    A random sampler for a given vector, with or without replacement.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SampleFromVector(java.util.Vector<Cell> vector, boolean replace) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Cell nextSample() 
      • Methods inherited from class java.util.Random

        doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
      • Methods inherited from class java.lang.Object

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

      • SampleFromVector

        public SampleFromVector(java.util.Vector<Cell> vector,
                                boolean replace)
    • Method Detail

      • nextSample

        public Cell nextSample()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.