public class MathFunctions
extends java.lang.Object
MathFunction
sConstructor and Description |
---|
MathFunctions() |
Modifier and Type | Method and Description |
---|---|
static <X,Y> DiscreteFunction<X,Y> |
functionFrom1DTensor(Tensor<Y> tensor,
java.lang.Class<X> dimensionClass) |
static <X,Y> Tensor<DiscreteFunction<X,Y>> |
functionsFrom(Tensor<Y> tensor,
java.lang.Class<X> dimensionClass) |
static <X,Y> InterpolatedFunction<X,Y> |
interpolated(DiscreteFunction<X,Y> function,
InterpolationStrategy<Y> strategy,
Conversion<X,Y> conversion,
java.util.Comparator<X> comparator) |
static <X,Y> java.util.Collection<Y> |
yValuesOf(DiscreteFunction<X,Y> function) |
public static <X,Y> Tensor<DiscreteFunction<X,Y>> functionsFrom(Tensor<Y> tensor, java.lang.Class<X> dimensionClass)
public static <X,Y> DiscreteFunction<X,Y> functionFrom1DTensor(Tensor<Y> tensor, java.lang.Class<X> dimensionClass)
public static <X,Y> InterpolatedFunction<X,Y> interpolated(DiscreteFunction<X,Y> function, InterpolationStrategy<Y> strategy, Conversion<X,Y> conversion, java.util.Comparator<X> comparator)
public static <X,Y> java.util.Collection<Y> yValuesOf(DiscreteFunction<X,Y> function)