Example usage for Java org.apache.mahout.common RandomUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | MAX_INT_SMALLER_TWIN_PRIME The largest prime less than 231-1 that is the smaller of a twin prime pair. |
RandomWrapper | getRandom() |
Random | getRandom(long seed) |
int | hashDouble(double value) |
int | hashFloat(float value) |
int | nextTwinPrime(int n) Finds next-largest "twin primes": numbers p and p+2 such that both are prime. |
void | useTestSeed() |