X - the type of the independent variable (input) of the discrete functionY - the type of the dependent variable (output) of the discrete function and the type of the scalar values
(elements of the field) on which to operatepublic class FunctionSupportWithConversionAndComparator<X,Y> extends ScalarIterableSupport<Y>
DiscreteFunctions from X to Y.
The type of the values of the discrete function codomain is also the type of the values of the field.
| Modifier and Type | Method and Description |
|---|---|
<Z> Y |
averageOf(DiscreteFunction<Z,Y> function) |
OngoingDiscreteFunctionBinaryOperation<X,Y> |
calculate(DiscreteFunction<X,Y> left) |
protected Environment<Y> |
environment()
Only used by subclasses
|
<Z> Y |
rmsOf(DiscreteFunction<Z,Y> function) |
<Z> Y |
stdOf(DiscreteFunction<Z,Y> function) |
averageOf, rmsOf, sizeOf, stdOf, sumOf, sumOfSquaresOf, varOfabsoluteValueOf, calculate, countOf, field, inverseOf, negativeOf, one, squareOf, squareRootOf, testIf, two, zeropublic final OngoingDiscreteFunctionBinaryOperation<X,Y> calculate(DiscreteFunction<X,Y> left)
public final <Z> Y averageOf(DiscreteFunction<Z,Y> function)
DiscreteFunctionpublic final <Z> Y rmsOf(DiscreteFunction<Z,Y> function)
DiscreteFunctionpublic final <Z> Y stdOf(DiscreteFunction<Z,Y> function)
protected Environment<Y> environment()
Environment of this FunctionSupport