|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.function.aggregator.AggregatorFunction.Collection<N>
public static final class AggregatorFunction.Collection<N extends Number>
Do not cache copies of this class! The methods BigAggregator.getCollection(), ComplexAggregator.getCollection() and PrimitiveAggregator.getCollection() return threadlocal instances, and when you access the individual aggregators they are AggregatorFunction.reset() for you.
Method Summary | |
---|---|
AggregatorFunction<N> |
cardinality()
Count of non-zero elements |
AggregatorFunction<N> |
largest()
Largest absolute value |
AggregatorFunction<N> |
norm(int aParameter)
Root of sum of powers - Must set the "parameter" |
AggregatorFunction<N> |
product()
Running product |
AggregatorFunction<N> |
smallest()
Smallest non-zero absolute value |
AggregatorFunction<N> |
sum()
Running sum |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public AggregatorFunction<N> cardinality()
public AggregatorFunction<N> largest()
public AggregatorFunction<N> norm(int aParameter)
public AggregatorFunction<N> product()
public AggregatorFunction<N> smallest()
public AggregatorFunction<N> sum()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |