public class IntegerDifferenceVertex extends IntegerBinaryOpVertex
a, b
ID_GENERATOR
Constructor and Description |
---|
IntegerDifferenceVertex(IntegerVertex a,
IntegerVertex b)
Subtracts one vertex from another
|
Modifier and Type | Method and Description |
---|---|
protected IntegerTensor |
op(IntegerTensor a,
IntegerTensor b) |
sample
abs, div, div, divideBy, divideBy, divideBy, getValue, lambda, lambda, minus, minus, minus, multiply, multiply, multiply, observe, observe, plus, plus, plus, setAndCascade, setAndCascade, setValue, setValue, slice, sum, take, times, times, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve, updateValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
observableTypeFor
public IntegerDifferenceVertex(IntegerVertex a, IntegerVertex b)
a
- the vertex to be subtracted fromb
- the vertex to subtractprotected IntegerTensor op(IntegerTensor a, IntegerTensor b)
op
in class IntegerBinaryOpVertex