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