|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.function.aggregator.AggregatorCollection<N>
public abstract class AggregatorCollection<N extends Number>
Do not cache instances 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 | |
|---|---|
abstract AggregatorFunction<N> |
cardinality()
Count of non-zero elements |
abstract AggregatorFunction<N> |
largest()
Largest absolute value |
abstract AggregatorFunction<N> |
norm1()
Equivalent to, but probably faster than, norm(1); |
abstract AggregatorFunction<N> |
norm2()
Equivalent to, but probably faster than, norm(2); |
abstract AggregatorFunction<N> |
product()
Running product |
abstract AggregatorFunction<N> |
product2()
Running product of squares |
abstract AggregatorFunction<N> |
smallest()
Smallest non-zero absolute value |
abstract AggregatorFunction<N> |
sum()
Running sum |
abstract AggregatorFunction<N> |
sum2()
Running sum of squares |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract AggregatorFunction<N> cardinality()
public abstract AggregatorFunction<N> largest()
public abstract AggregatorFunction<N> norm1()
public abstract AggregatorFunction<N> norm2()
public abstract AggregatorFunction<N> product()
public abstract AggregatorFunction<N> product2()
public abstract AggregatorFunction<N> smallest()
public abstract AggregatorFunction<N> sum()
public abstract AggregatorFunction<N> sum2()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||