org.tensorics.core.functional.FiniteArgumentFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tensorics-core Show documentation
Show all versions of tensorics-core Show documentation
Tensorics is a java framework which uses a tensor as a central object. A tensor represents a set of values placed in an N-dimensional space. Wherever you are tempted to use maps of maps, a tensor might be a good choice ;-) Tensorics provides methods to create, transform and performing calculations with those tensors.
/**
* Copyright (c) 2016 European Organisation for Nuclear Research (CERN), All Rights Reserved.
*/
package org.tensorics.core.functional;
/**
* This interface represents a function that has a finite argument number in its signature.
*
* @see Func1
* @see Func2
* @see Func3
* @see Func4
* @see Func5
* @see Func6
* @see Func7
* @see Func8
* @see Func9
* @param the return type of the function
*/
public interface FiniteArgumentFunction {
/**
* Transform this function to a {@link FuncN}, binding the arguments automatically.
*
* @return the {@link FuncN} representation of this function
*/
FuncN toFuncN();
/**
* The number of arguments that the function accepts
*
* @return the number of arguments
*/
int numberOfArgs();
}