X
- the type of the independent variable in the DiscreteFunction
.Y
- the type of the dependent variable in the DiscreteFunction
public abstract class AbstractDiscreteFunctionBinaryOperation<X,Y> extends java.lang.Object implements BinaryOperation<DiscreteFunction<X,Y>>, java.io.Serializable
DiscreteFunction
s 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)
BinaryFunction
perform
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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object