Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Converts given argument into a type that either has any dynamic allocation on AD stack or schedules its destructor to be called when AD stack memory is recovered.
This overload is used for kernel generator expressions. It also handles any other types that do not have a special overload for them.
T | type of scalar |
a | argument |
Definition at line 28 of file to_arena.hpp.