Class DiscreteFunctionOperationRepository<X,Y>
- java.lang.Object
-
- org.tensorics.core.function.operations.DiscreteFunctionOperationRepository<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 type of the elements of the environment on which the operations are based.
public class DiscreteFunctionOperationRepository<X,Y> extends java.lang.Object
Contains instances of operations on discrete functions, based on an environment and with a conversion.
The main purpose is to be able to re-use the instances of the operations, in order to avoid to have to re-create them all the time.
-
-
Constructor Summary
Constructors Constructor Description DiscreteFunctionOperationRepository(Environment<Y> environment, Conversion<X,Y> conversion, java.util.Comparator<X> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscreteFunctionAddition<X,Y>
addition()
DiscreteFunctionDivision<X,Y>
division()
DiscreteFunctionMultiplication<X,Y>
multiplication()
DiscreteFunctionSubtraction<X,Y>
subtraction()
-
-
-
Constructor Detail
-
DiscreteFunctionOperationRepository
public DiscreteFunctionOperationRepository(Environment<Y> environment, Conversion<X,Y> conversion, java.util.Comparator<X> comparator)
-
-
Method Detail
-
addition
public DiscreteFunctionAddition<X,Y> addition()
-
subtraction
public DiscreteFunctionSubtraction<X,Y> subtraction()
-
multiplication
public DiscreteFunctionMultiplication<X,Y> multiplication()
-
division
public DiscreteFunctionDivision<X,Y> division()
-
-