de.grogra.math
Class Ramp

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.math.Ramp
All Implemented Interfaces:
Manageable, Shareable, FloatToFloat

public class Ramp
extends ShareableBase
implements FloatToFloat


Nested Class Summary
static class Ramp.Type
           
 
Field Summary
static Ramp.Type $TYPE
           
 
Constructor Summary
Ramp()
           
 
Method Summary
 float evaluateFloat(float v)
          Computes the value of this function at x.
 ManageableType getManageableType()
           
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$TYPE

public static final Ramp.Type $TYPE
Constructor Detail

Ramp

public Ramp()
Method Detail

evaluateFloat

public float evaluateFloat(float v)
Description copied from interface: FloatToFloat
Computes the value of this function at x.

Specified by:
evaluateFloat in interface FloatToFloat
Parameters:
v - where the function is to be evaluated
Returns:
function value at x

getManageableType

public ManageableType getManageableType()
Specified by:
getManageableType in interface Manageable