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

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

public class QuickAtan
extends java.lang.Object

Faster but less accurate than Math.atan. Gives max relative error of 2.7e-7 and is about 4 times faster (server VM) than Math.atan.

Author:
ellis

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

Method Detail

eval

public static double eval(double x)


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