LatinHyperCubeSampler

constructor(pointsPerDimension: Int, dimension: Int, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)(source)

Creates a Latin hyper-cube sampler over the unit hyper-cube of the specified dimension.

Parameters

pointsPerDimension

the number of divisions of the dimensions

dimension

number of dimensions for the unit hyper-cube.

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

an optional name


constructor(pointsPerDimension: Int, intervals: List<Interval>, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)(source)

Parameters

pointsPerDimension

the number of divisions of the dimensions

intervals

the intervals forming the "cube"

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

an optional name