com.meliorbis.numerics.generic.ReducibleWithSimpleOps 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;
/**
* Adds a few simple reductions
*
* @author Tobias Grasl
*
* @param The individual instance type
* @param The type resulting from reduction
*/
public interface ReducibleWithSimpleOps extends Reducible
{
/**
* Returns the maximum value of elements
*
* @return The maximum value of this object
*/
R max();
/**
* Determines the sum of elements
*
* @return The sum of elements
*/
R sum();
/**
* Determines the minimum value of elements held in this object
*
* @return The minimum element value
*/
R min();
}