Stan Math Library
5.0.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.
For std vectors that have data already on AD stack this is a shallow copy.
T | type of scalar |
a | argument |
Definition at line 82 of file to_arena.hpp.