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

◆ in_stack()

bool stan::math::stack_alloc::in_stack ( const void *  ptr) const
inline

Indicates whether the memory in the pointer is in the stack.

Parameters
[in]ptrmemory location
Returns
true if the pointer is in the stack, false otherwise.

Definition at line 280 of file stack_alloc.hpp.