Class FastFuncUnboundedDomain

  • Direct Known Subclasses:
    FastAtan

    public abstract class FastFuncUnboundedDomain
    extends FastFunc
    Provides table look-up capability for functions of bounded range but unbounded domain. It uses a domain transformation to achieve this: x -> x / ( 1 - |x| ), mapping [-inf,inf] -> [-1,1] the inverse of which (used for lookups) is: x -> x / ( 1 + |x| ).
    Author:
    ellis
    • Constructor Detail

      • FastFuncUnboundedDomain

        public FastFuncUnboundedDomain​(int samples)
    • Method Detail

      • evaluate

        public double evaluate​(double x)
        Overrides:
        evaluate in class FastFunc