com.meliorbis.numerics.function.primitives.SingleValueDoubleFunction 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.function.primitives;
/**
* @author Tobias Grasl
*/
public interface SingleValueDoubleFunction extends DoubleFunction
{
/**
* Provides a default that redirects to the version returning a primitive
*
* @param inputs_ The inputs to the function
*
* @return The result of the function call
*/
default Double call(double... inputs_)
{
return callDouble(inputs_);
}
/**
* Calls the function and returns a primitive double
*
* @param inputs_ The inputs to the function
*
* @return The primitive double result
*/
double callDouble(double... inputs_);
}