org.nd4j.linalg.function.BiFunction Maven / Gradle / Ivy
package org.nd4j.linalg.function;
/**
* A function that accepts two arguments and returns a result
*
* @param Type of first argument
* @param Type of second argument
* @param Type of result
*/
public interface BiFunction {
/**
* Apply the function and return the result
*
* @param t First argument
* @param u Second argument
* @return Result
*/
R apply(T t, U u);
}