org.ojalgo.function.aggregator
Class BigAggregator
java.lang.Object
org.ojalgo.function.aggregator.BigAggregator
- All Implemented Interfaces:
- AggregatorFunction<BigDecimal>
public class BigAggregator
- extends Object
CARDINALITY
public static final ThreadLocal<BigAggregator> CARDINALITY
LARGEST
public static final ThreadLocal<BigAggregator> LARGEST
NORM
public static final ThreadLocal<BigAggregator> NORM
PRODUCT
public static final ThreadLocal<BigAggregator> PRODUCT
SUM
public static final ThreadLocal<BigAggregator> SUM
BigAggregator
public BigAggregator(BigDecimal anInit,
BinaryFunction<BigDecimal> anAggregator)
doubleValue
public final double doubleValue()
- Specified by:
doubleValue in interface AggregatorFunction<N extends Number>
getNumber
public N getNumber()
- Specified by:
getNumber in interface AggregatorFunction<N extends Number>
invoke
public final void invoke(double anArg)
- Specified by:
invoke in interface AggregatorFunction<N extends Number>
invoke
public void invoke(N anArg)
- Specified by:
invoke in interface AggregatorFunction<N extends Number>
reset
public final void reset()
- Specified by:
reset in interface AggregatorFunction<N extends Number>
setParameter
public void setParameter(int aParameter)
- Specified by:
setParameter in interface AggregatorFunction<N extends Number>