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

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

public class QuickExp
extends java.lang.Object

A faster version of Math.exp with maximum relative error of 1e-5. It is about 10 times faster than Math.exp.

Author:
ellis
See Also:
QuickExp2

Constructor Summary
QuickExp()
           
 
Method Summary
static double eval(double x)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickExp

public QuickExp()
Method Detail

main

public static void main(java.lang.String[] args)

eval

public static double eval(double x)


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