public class AdditionVertex extends DoubleBinaryOpVertex
a, b
idGenerator
Constructor and Description |
---|
AdditionVertex(DoubleVertex a,
DoubleVertex b) |
Modifier and Type | Method and Description |
---|---|
DualNumber |
getDualNumber() |
protected java.lang.Double |
op(java.lang.Double a,
java.lang.Double b) |
getDerivedValue, lazyEval, sample
dDensityAtValue, density, isProbabilistic, observe, updateValue
abs, div, div, divideBy, divideBy, divideBy, lambda, minus, minus, minus, multiply, multiply, multiply, plus, plus, plus, pow, times, times, unaryMinus
addChild, addParent, addParents, densityAtValue, dlnDensityAtValue, equals, getChildren, getConnectedGraph, getId, getParents, getValue, hashCode, isObserved, logDensity, logDensityAtValue, observeOwnValue, setAndCascade, setParents, setParents, setValue, unobserve, updateChildren
public AdditionVertex(DoubleVertex a, DoubleVertex b)
public DualNumber getDualNumber()
getDualNumber
in class DoubleVertex
protected java.lang.Double op(java.lang.Double a, java.lang.Double b)
op
in class DoubleBinaryOpVertex