public class DivisionVertex extends DoubleBinaryOpVertex
a, b
ID_GENERATOR
Constructor and Description |
---|
DivisionVertex(DoubleVertex a,
DoubleVertex b)
Divides one vertex by another
|
Modifier and Type | Method and Description |
---|---|
DualNumber |
calculateDualNumber(java.util.Map<Vertex,DualNumber> dualNumbers) |
protected DoubleTensor |
op(DoubleTensor a,
DoubleTensor b) |
getDerivedValue, sample
dLogPdf, isProbabilistic, logPdf, observe, updateValue
abs, acos, asin, atan, atan2, ceil, cos, div, div, divideBy, divideBy, dLogPdf, dLogPdf, exp, floor, getDualNumber, getValue, lambda, log, logPdf, logPdf, matrixMultiply, minus, minus, multiply, multiply, observe, observe, plus, plus, pow, pow, round, setAndCascade, setAndCascade, setValue, setValue, sigmoid, sin, sum, tan, times, times, unaryMinus
dLogProb, logProb
addChild, addParent, addParents, dLogProbAtValue, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve
public DivisionVertex(DoubleVertex a, DoubleVertex b)
a
- the vertex to be dividedb
- the vertex to dividepublic DualNumber calculateDualNumber(java.util.Map<Vertex,DualNumber> dualNumbers)
calculateDualNumber
in class DoubleVertex
protected DoubleTensor op(DoubleTensor a, DoubleTensor b)
op
in class DoubleBinaryOpVertex