View Javadoc
1   package org.djunits.value.vdouble.function;
2   
3   /**
4    * DoubleFunction carries out a specific transformation function that takes two operands.
5    * <p>
6    * Copyright (c) 2019-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="https://djunits.org/docs/license.html">DJUNITS License</a>.
8    * <p>
9    * @author <a href="https://www.tudelft.nl/staff/p.knoppers/">Peter Knoppers</a>
10   */
11  public interface DoubleFunction2
12  {
13      /**
14       * Apply a function on two float values.
15       * @param leftValue double; the value of the left operand
16       * @param rightValue double; the value of the right operand
17       * @return double; the result of the operation
18       */
19      double apply(double leftValue, double rightValue);
20  
21  }