Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Converts given argument into a type that has any dynamic allocation on AD stack.
Std vectors are copied into another std vector with custom allocator that uses AD stack.
This overload works on vectors with simple scalars that don't need to be converthed themselves.
T | type of argument |
a | argument |
Std vectors are copied into another std vector with custom allocator that uses AD stack.
This overload works on vectors with scalars that also need conversion.
T | type of argument |
a | argument |
Definition at line 109 of file to_arena.hpp.