Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ print_stack()

void stan::math::print_stack ( std::ostream &  o)
inline

Prints the autodiff variable stack.

This function is used for debugging purposes.

Only works if all members of stack are vari* as it casts to vari*.

Parameters
oostream to modify

Definition at line 20 of file print_stack.hpp.