Module math

Class Ramp

All Implemented Interfaces:
Manageable, Shareable, FloatToFloat

public class Ramp extends ShareableBase implements FloatToFloat
  • Field Details

    • $TYPE

      public static final Ramp.Type $TYPE
  • Constructor Details

    • Ramp

      public Ramp()
  • Method Details

    • 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