Interface DoubleFunction2


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

    Copyright (c) 2019-2020 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double apply​(double leftValue, double rightValue)
      Apply a function on two float values.
    • Method Detail

      • 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