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

◆ alloc_array()

template<typename T >
T * stan::math::stack_alloc::alloc_array ( size_t  n)
inline

Allocate an array on the arena of the specified size to hold values of the specified template parameter type.

Template Parameters
Ttype of entries in allocated array.
Parameters
[in]nsize of array to allocate.
Returns
new array allocated on the arena.

Definition at line 193 of file stack_alloc.hpp.