Package com.github.tommyettinger.digital


package com.github.tommyettinger.digital
  • Classes
    Class
    Description
    A drop-in replacement for Random that adds few new APIs, but is faster, has better statistical quality, and has a guaranteed longer minimum period (also called cycle length).
    Static methods for various frequently-used operations on 1D and 2D arrays.
    Provides ways to encode digits in different base systems, or radixes, and decode numbers written in those bases.
    Methods for converting floats to and from ints, as well as doubles to and from longs and ints.
    64-bit and 32-bit hashing functions that we can rely on staying the same cross-platform.
    Mathematical operations not provided by java.lang.Math.
    Static data for the 3D platonic solids.
    Various trigonometric approximations, using a lookup table for sin() and cos(), a non-tabular approximation for sinSmooth() and cosSmooth(), a Padé approximant for tan(), and Taylor series for the inverses of sin(), cos(), and tan().