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-2020 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 Detail

      • ABS

        static final FloatFunction ABS
        Function that returns Math.abs(a).
      • ACOS

        static final FloatFunction ACOS
        Function that returns Math.acos(a).
      • ASIN

        static final FloatFunction ASIN
        Function that returns Math.asin(a).
      • ATAN

        static final FloatFunction ATAN
        Function that returns Math.atan(a).
      • CBRT

        static final FloatFunction CBRT
        Function that returns Math.cbrt(a).
      • CEIL

        static final FloatFunction CEIL
        Function that returns Math.ceil(a).
      • COS

        static final FloatFunction COS
        Function that returns Math.cos(a).
      • COSH

        static final FloatFunction COSH
        Function that returns Math.cosh(a).
      • EXP

        static final FloatFunction EXP
        Function that returns Math.exp(a).
      • EXPM1

        static final FloatFunction EXPM1
        Function that returns Math.expm1(a).
      • FLOOR

        static final FloatFunction FLOOR
        Function that returns Math.floor(a).
      • LOG

        static final FloatFunction LOG
        Function that returns Math.log(a).
      • LOG10

        static final FloatFunction LOG10
        Function that returns Math.log10(a).
      • LOG1P

        static final FloatFunction LOG1P
        Function that returns Math.log1p(a).
      • RINT

        static final FloatFunction RINT
        Function that returns Math.rint(a).
      • SIGNUM

        static final FloatFunction SIGNUM
        Function that returns Math.signum(a).
      • SIN

        static final FloatFunction SIN
        Function that returns Math.sin(a).
      • SINH

        static final FloatFunction SINH
        Function that returns Math.sinh(a).
      • SQRT

        static final FloatFunction SQRT
        Function that returns Math.sqrt(a).
      • TAN

        static final FloatFunction TAN
        Function that returns Math.tan(a).
      • TANH

        static final FloatFunction TANH
        Function that returns Math.tanh(a).
    • Method Detail

      • 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