861 B
861 B
sidebar_position | title |
---|---|
8 | Sample Set Distribution |
toInternalSampleArray
Gets the internal samples of a sampleSet distribution. This is separate from the sampleN() function, which would shuffle the samples. toInternalSampleArray() maintains order and length.
(sampleSet):list<number>
Examples
toInternalSampleArray(toSampleSet(normal(5, 2)));
kde
(sampleSet):pointSetDist
toEmpiricalPdf
(sampleSet):pointSetDist
map
(sampleSet, (r => number)): sampleSet
map2
(sampleSet, sampleSet, ((d1, d2)=>number)): sampleSet
map3
(sampleSet, sampleSet, sampleSet, ((d1, d2, d3)=>number)): sampleSet
make
(dist): sampleSet (()=>number): sampleSet (list<number>): sampleSet