Latin Hyper Cube Sampler
class LatinHyperCubeSampler @JvmOverloads constructor(val pointsPerDimension: Int, val intervals: List<Interval>, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : MVRVariable(source)
Creates a Latin hyper-cube sampler with each dimension divided into the specified number of points. The hyper-cube is formed from the specified intervals.
Parameters
points Per Dimension
the number of divisions of the dimensions
intervals
the intervals forming the "cube"
stream Num
the random number stream number, defaults to 0, which means the next stream
stream Provider
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider
name
an optional name
Constructors
Link copied to clipboard
constructor(pointsPerDimension: Int, dimension: Int, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)
Creates a Latin hyper-cube sampler over the unit hyper-cube of the specified dimension.
Properties
Functions
Link copied to clipboard
open override fun instance(streamNumber: Int, rnStreamProvider: RNStreamProviderIfc): LatinHyperCubeSampler