Interface DoubleMathFunctions

All Known Implementing Classes:
DimensionlessVector

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

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

Copyright (c) 2015-2024 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

    • ABS

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

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

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

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

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

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

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

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

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

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

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

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

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

      static final DoubleFunction LOG1P
      Function that returns Math.log1p(a).
    • NEG

      static final DoubleFunction NEG
      Function that returns -a.
    • RINT

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

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

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

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

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

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

      static final DoubleFunction TANH
      Function that returns Math.tanh(a).
    • INV

      static final DoubleFunction INV
      Function that returns 1/a.
  • Method Details

    • POW

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

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

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

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

      static DoubleFunction DIV(double b)
      Function that returns a / b.
      Parameters:
      b - double; divisor
      Returns:
      power function