public class IntegerMultiplicationVertex extends IntegerBinaryOpVertex
a, b
ID_GENERATOR
Constructor and Description |
---|
IntegerMultiplicationVertex(IntegerVertex a,
IntegerVertex b)
Multiplies one vertex by 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 IntegerMultiplicationVertex(IntegerVertex a, IntegerVertex b)
a
- a vertex to be multipliedb
- a vertex to be multipliedprotected IntegerTensor op(IntegerTensor a, IntegerTensor b)
op
in class IntegerBinaryOpVertex