Package org.ojalgo.function.aggregator
Interface AggregatorFunction<N extends java.lang.Comparable<N>>
-
- All Superinterfaces:
AccessScalar<N>
,BasicFunction
,java.util.function.Consumer<N>
,java.util.function.DoubleConsumer
,NumberDefinition
,VoidFunction<N>
- All Known Implementing Classes:
AggregatorFunction.PredicateWrapper
,BigAggregator.BigAggregatorFunction
,ComplexAggregator.ComplexAggregatorFunction
,PrimitiveAggregator.PrimitiveAggregatorFunction
,QuadrupleAggregator.QuadrupleAggregatorFunction
,QuaternionAggregator.QuaternionAggregatorFunction
,RationalAggregator.RationalAggregatorFunction
public interface AggregatorFunction<N extends java.lang.Comparable<N>> extends VoidFunction<N>, AccessScalar<N>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AggregatorFunction.PredicateWrapper<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends java.lang.Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends java.lang.Comparable<N>,F extends BasicFunction>, BasicFunction.PlainUnary<T,R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AggregatorFunction<N>
filter(PredicateFunction<N> predicate)
Only the values that pass the predicate filter will actually be part of the aggregation.AggregatorFunction<N>
reset()
Scalar<N>
toScalar()
-
Methods inherited from interface org.ojalgo.structure.AccessScalar
get
-
Methods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
-
-
-
Method Detail
-
filter
default AggregatorFunction<N> filter(PredicateFunction<N> predicate)
Only the values that pass the predicate filter will actually be part of the aggregation.
-
reset
AggregatorFunction<N> reset()
-
-