S
- the type of the scalars (field elements) on which all the operations are based on.public class RootMeanSquare<S> extends ScalarIterableSupport<S> implements ReductionStrategy<java.lang.Object,S,S>
Constructor and Description |
---|
RootMeanSquare(ExtendedField<S> field) |
Modifier and Type | Method and Description |
---|---|
Position |
context(Position originalContext) |
S |
reduce(java.util.Map<? extends java.lang.Object,S> inputValues,
Position position) |
averageOf, rmsOf, sizeOf, stdOf, sumOf, sumOfSquaresOf, varOf
absoluteValueOf, calculate, countOf, field, inverseOf, negativeOf, one, squareOf, squareRootOf, testIf, two, zero
public RootMeanSquare(ExtendedField<S> field)
public S reduce(java.util.Map<? extends java.lang.Object,S> inputValues, Position position)
reduce
in interface ReductionStrategy<java.lang.Object,S,S>
inputValues
- the sub values of the tensor from which the reduction is performedposition
- a remaining position in the tensor for which reduction is performed