V
- the type of the scalar values of the quantities (elements of the field on which all the operations are
based on)public class QuantityIterableSupport<V> extends QuantitySupport<V>
Modifier | Constructor and Description |
---|---|
protected |
QuantityIterableSupport(QuantityEnvironment<V> environment) |
Modifier and Type | Method and Description |
---|---|
QuantifiedValue<V> |
averageOf(java.lang.Iterable<QuantifiedValue<V>> values) |
QuantifiedValue<V> |
rmsOf(java.lang.Iterable<QuantifiedValue<V>> values) |
QuantifiedValue<V> |
sizeOf(java.lang.Iterable<QuantifiedValue<V>> values) |
QuantifiedValue<V> |
stdOf(java.lang.Iterable<QuantifiedValue<V>> values) |
QuantifiedValue<V> |
sumOf(java.lang.Iterable<QuantifiedValue<V>> values) |
QuantifiedValue<V> |
sumOfSquaresOf(java.lang.Iterable<QuantifiedValue<V>> values) |
OngoingQuantityIterableValueExtraction<V> |
valuesOf(java.lang.Iterable<QuantifiedValue<V>> quantities) |
QuantifiedValue<V> |
varOf(java.lang.Iterable<QuantifiedValue<V>> values) |
absoluteValueOf, calculate, calculate, convert, inverseOf, negativeOf, one, operationRepository, predicateRepository, testIf, two, valueOf, valueOf, valueOf, zero
protected QuantityIterableSupport(QuantityEnvironment<V> environment)
public final QuantifiedValue<V> averageOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final QuantifiedValue<V> rmsOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final QuantifiedValue<V> stdOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final QuantifiedValue<V> varOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final QuantifiedValue<V> sizeOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final QuantifiedValue<V> sumOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final QuantifiedValue<V> sumOfSquaresOf(java.lang.Iterable<QuantifiedValue<V>> values)
public final OngoingQuantityIterableValueExtraction<V> valuesOf(java.lang.Iterable<QuantifiedValue<V>> quantities)