b = EqualOpSeq(x, y)
yare identically equal; i.e., not only is
x == ytrue, but if they are variables , they correspond have the same operation sequence .
these two AD objects would not only have equal values, but would also correspond to the same operation sequence.
y = x
const AD<Base> &x
const AD<Base> &y
The result is true if and only if one of the following cases holds:
yare variables and correspond to the same operation sequence.
Baseis an AD type, and
EqualOpSeq( Value(x) , Value(y) )is true.
Baseis not an AD type, and
x == yis true.
EqualOpSeq. It returns true if it succeeds and false otherwise.