com.metsci.glimpse.util.math.fast
Class FastFuncUnboundedDomain

java.lang.Object
  extended by com.metsci.glimpse.util.math.fast.FastFunc
      extended by com.metsci.glimpse.util.math.fast.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 Summary
FastFuncUnboundedDomain(int samples)
           
 
Method Summary
 double evaluate(double x)
           
 
Methods inherited from class com.metsci.glimpse.util.math.fast.FastFunc
lookup, lookup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastFuncUnboundedDomain

public FastFuncUnboundedDomain(int samples)
Method Detail

evaluate

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


Copyright © 2012 Metron, Inc.. All Rights Reserved.