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

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

public class QuickExp2
extends java.lang.Object

Similar to QuickExp but uses 2 smaller lookup tables instead of one large one. We compensate the extra table lookup by using a minimax polynomial of smaller degree. It has a maximum relative error of about 3.8e-6 and is about 10 times faster than Math.exp.

Author:
ellis
See Also:
QuickExp

Constructor Summary
QuickExp2()
           
 
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

QuickExp2

public QuickExp2()
Method Detail

eval

public static double eval(double x)


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