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

com.meliorbis.numerics.generic.primitives.DoubleBinaryOp 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.generic.primitives;

import com.meliorbis.numerics.generic.BinaryOp;

public interface DoubleBinaryOp extends DoubleNaryOp, BinaryOp
{
	@Override
	public default double perform(double... inputs_) throws E
	{
		return perform(inputs_[0], inputs_[1]);
	}

    /* (non-Javadoc)
	 * @see com.meliorbis.numerics.generic.NaryOp#perform(T[], int)
	 */
    @Override
    default public Double perform(Double... inputs_) throws E
    {
        return perform(inputs_[0].doubleValue(), inputs_[1].doubleValue());
    }

    @Override
    default public Double perform(Double left_, Double right_) throws E
    {
        return perform(left_, right_);
    }

	public double perform(double left_, double right_) throws E;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy