Apply the chain rule to this variable based on the variables on which it depends.
Implements stan::math::vari_base.
Definition at line 145 of file vari.hpp.