Modality Analyzer
constructor(data: DoubleArray, numBins: Int = defaultNumBins, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)(source)
Parameters
data
the observations, which need not be sorted
num Bins
how many cells the data is binned into
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 the library's shared provider. Supply a provider of its own to an analyzer that must be independent of everything else drawing from the shared one — which is what concurrent callers need, since a stream is not safe to share between threads.