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

java.lang.Object
  extended by com.metsci.glimpse.util.math.fast.QuickExp3

public class QuickExp3
extends java.lang.Object

Similar to QuickExp but uses 3 smaller lookup tables instead of one large one. We compensate the extra table lookups by using a simpler polynomial approximation. It has a maximum relative error of about 4.77e-7 and is about 10 times faster than Math.exp.

Author:
ellis
See Also:
QuickExp

Constructor Summary
QuickExp3()
           
 
Method Summary
static double eval(double x)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickExp3

public QuickExp3()
Method Detail

eval

public static double eval(double x)


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