Package org.jetbrains.bio.viktor
Class RandomKt
-
- All Implemented Interfaces:
public final class RandomKt
-
-
Method Summary
Modifier and Type Method Description final static Doublequantile(F64Array $self, Double q, RandomGenerator randomGenerator)Computes the q-th order statistic over this 1-D array. final static Unitshuffle(F64Array $self, RandomGenerator randomGenerator)Randomly permutes the elements of this 1-D array. -
-
Method Detail
-
quantile
final static Double quantile(F64Array $self, Double q, RandomGenerator randomGenerator)
Computes the q-th order statistic over this 1-D array.
The implementation follows that of Commons Math. See JavaDoc of org.apache.commons.math3.stat.descriptive.rank.Percentile for computational details.
The array is modified in-place. Do a F64Array.copy of the array to avoid mutation if necessary.
- Since:
0.2.0
-
-
-
-