Interface DoubleFunction2


public interface DoubleFunction2
DoubleFunction carries out a specific transformation function that takes two operands.

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

Author:
Peter Knoppers
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    apply(double leftValue, double rightValue)
    Apply a function on two float values.
  • Method Details

    • apply

      double apply(double leftValue, double rightValue)
      Apply a function on two float values.
      Parameters:
      leftValue - double; the value of the left operand
      rightValue - double; the value of the right operand
      Returns:
      double; the result of the operation