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