Stan Math Library
4.9.0
Automatic Differentiation
|
internal::nonexisting_adjoint stan::math::adjoint_of | ( | const T & | x | ) |
Returns a reference to a variable's adjoint.
If the input object is not var, it does not have an adjoint and this returns a dummy object. It defines operators += and -=, but they should not actually be called.
x | any non-var object |
Definition at line 50 of file adjoint_of.hpp.