public class ElementBinaryFunction<V,R> extends java.lang.Object implements BinaryFunction<Tensor<V>,Tensor<R>>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected BinaryFunction<V,R> |
operation |
protected OptionRegistry<ManipulationOption> |
optionRegistry |
Constructor and Description |
---|
ElementBinaryFunction(BinaryFunction<V,R> operation,
OptionRegistry<ManipulationOption> optionRegistry) |
protected final BinaryFunction<V,R> operation
protected final OptionRegistry<ManipulationOption> optionRegistry
public ElementBinaryFunction(BinaryFunction<V,R> operation, OptionRegistry<ManipulationOption> optionRegistry)
public Tensor<R> perform(Tensor<V> left, Tensor<V> right)
BinaryFunction
public 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