Package org.ojalgo.function.aggregator
Interface AggregatorFunction<N extends Comparable<N>>
- All Superinterfaces:
AccessScalar<N>
,BasicFunction
,Consumer<N>
,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 Comparable<N>>
extends VoidFunction<N>, AccessScalar<N>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
AggregatorFunction.PredicateWrapper<N extends Comparable<N>>
Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,
F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> -
Method Summary
Modifier and TypeMethodDescriptiondefault AggregatorFunction
<N> filter
(PredicateFunction<N> predicate) Only the values that pass the predicate filter will actually be part of the aggregation.reset()
toScalar()
Methods inherited from interface org.ojalgo.structure.AccessScalar
get
Methods inherited from interface java.util.function.DoubleConsumer
andThen
Methods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
Method Details
-
filter
Only the values that pass the predicate filter will actually be part of the aggregation. -
reset
AggregatorFunction<N> reset() -
toScalar
-