public class ArcTan2Vertex extends DoubleBinaryOpVertex
ID_GENERATOR
Constructor and Description |
---|
ArcTan2Vertex(DoubleVertex left,
DoubleVertex right)
Calculates the signed angle, in radians, between the positive x-axis and a ray to the point (x, y) from the origin
|
Modifier and Type | Method and Description |
---|---|
protected DualNumber |
dualOp(DualNumber a,
DualNumber b) |
protected DoubleTensor |
op(DoubleTensor l,
DoubleTensor r) |
calculate, calculateDualNumber, getLeft, getRight, sample
abs, acos, asin, atan, atan2, ceil, cos, div, div, divideBy, divideBy, equalTo, exp, floor, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, log, matrixMultiply, minus, minus, multiply, multiply, notEqualTo, observe, observe, plus, plus, pow, pow, round, setAndCascade, setAndCascade, setValue, setValue, sigmoid, sin, slice, sum, take, tan, times, times, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, sample, setAndCascade, setLabel, setParents, setParents, setValue, unobserve
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observableTypeFor, observe, unobserve
getDualNumber, keepOnlyDifferentiableVertices
public ArcTan2Vertex(DoubleVertex left, DoubleVertex right)
left
- x coordinateright
- y coordinateprotected DoubleTensor op(DoubleTensor l, DoubleTensor r)
op
in class DoubleBinaryOpVertex
protected DualNumber dualOp(DualNumber a, DualNumber b)
dualOp
in class DoubleBinaryOpVertex