All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.meliorbis.numerics.function.primitives.SingleValueDoubleFunction Maven / Gradle / Ivy

Go to download

A library for working with large multi-dimensional arrays and the functions they represent

There is a newer version: 1.2
Show newest version
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_);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy