com.davidsoergel.dsutils.math
Class ArrayInterpolatingFunctionCache

java.lang.Object
  extended by com.davidsoergel.dsutils.math.ArrayInterpolatingFunctionCache

public class ArrayInterpolatingFunctionCache
extends java.lang.Object

interpolatingExp = new ArrayInterpolatingFunctionCache(Math.class.getMethod("exp", double.class), .0001f, -10f, 10f);

Version:
$Id$
Author:
David Soergel

Constructor Summary
ArrayInterpolatingFunctionCache(java.lang.reflect.Method method, float maxError, float minX, float maxX)
           
 
Method Summary
 float evaluate(float x)
           
 java.lang.String perfString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayInterpolatingFunctionCache

public ArrayInterpolatingFunctionCache(java.lang.reflect.Method method,
                                       float maxError,
                                       float minX,
                                       float maxX)
Method Detail

perfString

public java.lang.String perfString()

evaluate

public float evaluate(float x)


Copyright © 2008-2009. All Rights Reserved.