X - the type of the independent variable in the DiscreteFunction.Y - the type of the dependent variable in the DiscreteFunctionpublic abstract class AbstractDiscreteFunctionBinaryOperation<X,Y> extends java.lang.Object implements BinaryOperation<DiscreteFunction<X,Y>>, java.io.Serializable
DiscreteFunctions and produces a DiscreteFunction.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
DiscreteFunction<X,Y> |
perform(DiscreteFunction<X,Y> left,
DiscreteFunction<X,Y> right)
Has to be implemented to perform the actual operation.
|
java.lang.String |
toString() |
public DiscreteFunction<X,Y> perform(DiscreteFunction<X,Y> left, DiscreteFunction<X,Y> right)
BinaryFunctionperform in interface BinaryFunction<DiscreteFunction<X,Y>,DiscreteFunction<X,Y>>left - the left operand to be used in the operationright - the right operand to be used in the operationpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object