|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.util.math.fast.QuickExp3
public class QuickExp3
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.
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 |
---|
public QuickExp3()
Method Detail |
---|
public static double eval(double x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |