public final class PrimitiveAggregator extends AggregatorSet<Double>
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<AggregatorFunction<Double>> |
AVERAGE |
static ThreadLocal<AggregatorFunction<Double>> |
CARDINALITY |
static ThreadLocal<AggregatorFunction<Double>> |
LARGEST |
static ThreadLocal<AggregatorFunction<Double>> |
MAX |
static ThreadLocal<AggregatorFunction<Double>> |
MIN |
static ThreadLocal<AggregatorFunction<Double>> |
NORM1 |
static ThreadLocal<AggregatorFunction<Double>> |
NORM2 |
static ThreadLocal<AggregatorFunction<Double>> |
PRODUCT |
static ThreadLocal<AggregatorFunction<Double>> |
PRODUCT2 |
static ThreadLocal<AggregatorFunction<Double>> |
SMALLEST |
static ThreadLocal<AggregatorFunction<Double>> |
SUM |
static ThreadLocal<AggregatorFunction<Double>> |
SUM2 |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFunction<Double> |
average()
Average value
|
AggregatorFunction<Double> |
cardinality()
Count of non-zero elements
|
static PrimitiveAggregator |
getSet() |
AggregatorFunction<Double> |
largest()
Largest absolute value
|
AggregatorFunction<Double> |
maximum()
Max value
|
AggregatorFunction<Double> |
minimum()
Min value
|
AggregatorFunction<Double> |
norm1()
Equivalent to, but probably faster than, norm(1);
|
AggregatorFunction<Double> |
norm2()
Equivalent to, but probably faster than, norm(2);
|
AggregatorFunction<Double> |
product()
Running product
|
AggregatorFunction<Double> |
product2()
Running product of squares
|
AggregatorFunction<Double> |
smallest()
Smallest non-zero absolute value
|
AggregatorFunction<Double> |
sum()
Running sum
|
AggregatorFunction<Double> |
sum2()
Running sum of squares
|
getpublic static final ThreadLocal<AggregatorFunction<Double>> AVERAGE
public static final ThreadLocal<AggregatorFunction<Double>> CARDINALITY
public static final ThreadLocal<AggregatorFunction<Double>> LARGEST
public static final ThreadLocal<AggregatorFunction<Double>> MAX
public static final ThreadLocal<AggregatorFunction<Double>> MIN
public static final ThreadLocal<AggregatorFunction<Double>> NORM1
public static final ThreadLocal<AggregatorFunction<Double>> NORM2
public static final ThreadLocal<AggregatorFunction<Double>> PRODUCT
public static final ThreadLocal<AggregatorFunction<Double>> PRODUCT2
public static final ThreadLocal<AggregatorFunction<Double>> SMALLEST
public static final ThreadLocal<AggregatorFunction<Double>> SUM
public static final ThreadLocal<AggregatorFunction<Double>> SUM2
public static PrimitiveAggregator getSet()
public AggregatorFunction<Double> average()
AggregatorSetaverage in class AggregatorSet<Double>public AggregatorFunction<Double> cardinality()
AggregatorSetcardinality in class AggregatorSet<Double>public AggregatorFunction<Double> largest()
AggregatorSetlargest in class AggregatorSet<Double>public AggregatorFunction<Double> maximum()
AggregatorSetmaximum in class AggregatorSet<Double>public AggregatorFunction<Double> minimum()
AggregatorSetminimum in class AggregatorSet<Double>public AggregatorFunction<Double> norm1()
AggregatorSetnorm1 in class AggregatorSet<Double>public AggregatorFunction<Double> norm2()
AggregatorSetnorm2 in class AggregatorSet<Double>public AggregatorFunction<Double> product()
AggregatorSetproduct in class AggregatorSet<Double>public AggregatorFunction<Double> product2()
AggregatorSetproduct2 in class AggregatorSet<Double>public AggregatorFunction<Double> smallest()
AggregatorSetsmallest in class AggregatorSet<Double>public AggregatorFunction<Double> sum()
AggregatorSetsum in class AggregatorSet<Double>public AggregatorFunction<Double> sum2()
AggregatorSetsum2 in class AggregatorSet<Double>Copyright © 2018 Optimatika. All rights reserved.