Interface FloatMathFunctions


public interface FloatMathFunctions
FloatMathFunctions provides a static implementation of Math functions.

This file was generated by the djunits value classes generator, 26 jun, 2015

Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.

Author:
Alexander Verbraeck, Peter Knoppers
  • Field Details

  • Method Details

    • POW

      static FloatFunction POW​(float b)
      Function that returns Math.pow(a, b).
      Parameters:
      b - float; power parameter
      Returns:
      power function
    • INC

      static FloatFunction INC​(float b)
      Function that returns a + b.
      Parameters:
      b - float; increment
      Returns:
      power function
    • DEC

      static FloatFunction DEC​(float b)
      Function that returns a - b.
      Parameters:
      b - float; decrement
      Returns:
      power function
    • MULT

      static FloatFunction MULT​(float b)
      Function that returns a * b.
      Parameters:
      b - float; multiplier
      Returns:
      power function
    • DIV

      static FloatFunction DIV​(float b)
      Function that returns a / b.
      Parameters:
      b - float; divisor
      Returns:
      power function