com.meliorbis.numerics.generic.NaryOp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Numerics Show documentation
Show all versions of Numerics Show documentation
A library for working with large multi-dimensional arrays and the functions they represent
/**
*
*/
package com.meliorbis.numerics.generic;
/**
* An operation with n inputs
*
* @author Tobias Grasl
*
* @param The input type of the operation
* @param The return type of the operation
* @param The exception thrown by the operation
*/
public interface NaryOp
{
/**
* Perform the operation on the provided inputs and return the result
*
* @param inputs_ The inputs to perform the operation on
*
* @return The result of the operation
*
* @throws E If an error occurs
*/
R perform(@SuppressWarnings("unchecked") T... inputs_) throws E;
}