spis.Util.Func
Class Max

java.lang.Object
  extended byspis.Util.Func.Max
All Implemented Interfaces:
ScalFunctionOfScal

public class Max
extends java.lang.Object
implements ScalFunctionOfScal

Returns the maximum of the reference float and the passed float


Constructor Summary
Max(float refValue)
           
 
Method Summary
 float compute(float x)
          applies this function to x and returns the result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Max

public Max(float refValue)
Method Detail

compute

public float compute(float x)
Description copied from interface: ScalFunctionOfScal
applies this function to x and returns the result

Specified by:
compute in interface ScalFunctionOfScal
See Also:
ScalFunctionOfScal.compute(float)