org.nd4j.linalg.function.Function Maven / Gradle / Ivy
package org.nd4j.linalg.function;
/**
* A Function accepts one argument and returns a result
* @param Type of the argument
* @param Type of the result
*/
public interface Function {
/**
* Apply the function to the argument, and return the result
*
* @param t Input
* @return Result
*/
R apply (T t);
}