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

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

/**
 * 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy