Package org.tensorics.incubate.function
-
Interface Summary Interface Description AnalyticalFunction<X extends java.lang.Comparable<? super X>,Y> A function for which the output for any input value can be calculated from an (internal) analytical expression.ContinuousFunction<X extends java.lang.Comparable<? super X>,Y> A function for which the output can be retrieved for any input value.DiscreteFunction<X extends java.lang.Comparable<? super X>,Y> THe following conditions are guaranteed: The x-values are ordered by their natural ordering the lists returned byDiscreteFunction.getXs()
andDiscreteFunction.getYs()
are of the same length.DiscreteFunctionBuilder<X extends java.lang.Comparable<X>,Y> A builder for discrete functions.InterpolationStrategy<X extends java.lang.Comparable<? super X>,Y> A strategy defines how to calculate output values of a function from the a finite set of discrete values (from a discrete function).KeyValueFunction<X extends java.lang.Comparable<? super X>,Y> Represents the most general function that basically maps x-values to y values. -
Class Summary Class Description ConstantFunction<QX extends javax.measure.quantity.Quantity,QY extends javax.measure.quantity.Quantity> ExponentialFunction<QX extends javax.measure.quantity.Quantity,QY extends javax.measure.quantity.Quantity> ExponentialFunction.Builder<QX extends javax.measure.quantity.Quantity,QY extends javax.measure.quantity.Quantity> An builder for an exponentional functions that uses jscience amounts.Functions Provides utility methods which deal with functions.InterpolatedFunction<X extends java.lang.Comparable<X>,Y> A continuous function, generated from a discrete one together with an appropriate interpolation strategy.LinearInterpolationStrategy A strategy for interpolating linearly between two values of doubles, with also the x-direction of the function being double values.SortedMapBackedDiscreteFunction<X extends java.lang.Comparable<X>,Y> This implementation ofKeyValueFunction
only provides values at discrete points of X argument.SortedMapBackedDiscreteFunction.Builder<X extends java.lang.Comparable<X>,Y> The builder for the function based on a sorted map. -
Exception Summary Exception Description IllegalDiscreteFunctionUsageException This exception is thrown, if a discrete function is use in a wrong way.