Package org.tensorics.core.function.lang
Class FunctionExpressionSupportWithConversionAndComparator<X,Y>
- java.lang.Object
-
- org.tensorics.core.scalar.lang.ScalarExpressionSupport<V>
-
- org.tensorics.core.iterable.lang.ScalarIterableExpressionSupport<Y>
-
- org.tensorics.core.function.lang.FunctionExpressionSupportWithConversionAndComparator<X,Y>
-
- Type Parameters:
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 operate
- Direct Known Subclasses:
FunctionExpressionSupport
public class FunctionExpressionSupportWithConversionAndComparator<X,Y> extends ScalarIterableExpressionSupport<Y>
Provides utility methods for acting on expressions ofDiscreteFunction
s from X to Y.The type of the values of the discrete function codomain is also the type of the values of the field.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Z> Expression<Y>
averageOfF(Expression<DiscreteFunction<Z,Y>> function)
OngoingDeferredDiscreteFunctionBinaryOperation<X,Y>
calculateF(Expression<DiscreteFunction<X,Y>> expression)
protected Environment<Y>
environment()
Only used by subclasses<Z> Expression<Y>
rmsOfF(Expression<DiscreteFunction<Z,Y>> function)
<Z> Expression<Y>
stdOfF(Expression<DiscreteFunction<Z,Y>> function)
-
Methods inherited from class org.tensorics.core.iterable.lang.ScalarIterableExpressionSupport
averageOf, averageOf, rmsOf, rmsOf, sizeOf, sizeOf, stdOf, stdOf, sumOf, sumOf, sumOfSquaresOf, sumOfSquaresOf, testIfIt
-
Methods inherited from class org.tensorics.core.scalar.lang.ScalarExpressionSupport
calculate, calculate, field, inverseOf, inverseOf, negativeOf, negativeOf, one, squareOf, squareOf, squareRootOf, squareRootOf, testIf, two, zero
-
-
-
-
Method Detail
-
calculateF
public final OngoingDeferredDiscreteFunctionBinaryOperation<X,Y> calculateF(Expression<DiscreteFunction<X,Y>> expression)
-
averageOfF
public final <Z> Expression<Y> averageOfF(Expression<DiscreteFunction<Z,Y>> function)
-
rmsOfF
public final <Z> Expression<Y> rmsOfF(Expression<DiscreteFunction<Z,Y>> function)
-
stdOfF
public final <Z> Expression<Y> stdOfF(Expression<DiscreteFunction<Z,Y>> function)
-
environment
protected Environment<Y> environment()
Only used by subclasses- Returns:
- the
Environment
of thisFunctionSupportWithConversionAndComparator
-
-