public class IntegerDifferenceVertex extends IntegerBinaryOpVertex
left, LEFT_NAME, right, RIGHT_NAME
Constructor and Description |
---|
IntegerDifferenceVertex(IntegerVertex left,
IntegerVertex right)
Subtracts one vertex from another
|
Modifier and Type | Method and Description |
---|---|
protected IntegerTensor |
op(IntegerTensor l,
IntegerTensor r) |
calculate, getLeft, getRight
abs, concat, div, div, divideBy, divideBy, divideBy, equalTo, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, loadValue, max, min, minus, minus, minus, multiply, multiply, multiply, notEqualTo, observe, observe, plus, plus, plus, pow, pow, reshape, reverseDiv, reverseMinus, saveValue, setAndCascade, setAndCascade, setValue, setValue, slice, sum, take, times, times, toDouble, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getObservedValue, getParents, getRank, getReference, getShape, getState, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, save, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observe, unobserve
public IntegerDifferenceVertex(IntegerVertex left, IntegerVertex right)
left
- the vertex to be subtracted fromright
- the vertex to subtractprotected IntegerTensor op(IntegerTensor l, IntegerTensor r)
op
in class IntegerBinaryOpVertex