Automatic Differentiation
 
Loading...
Searching...
No Matches
stack_alloc.hpp File Reference
#include <stdint.h>
#include <stan/math/prim/meta.hpp>
#include <cstdlib>
#include <cstddef>
#include <sstream>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Classes

class  stan::math::stack_alloc
 An instance of this class provides a memory pool through which blocks of raw memory may be allocated and then collected simultaneously. More...
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename T >
bool stan::math::is_aligned (T *ptr, unsigned int bytes_aligned)
 Return true if the specified pointer is aligned on the number of bytes.
 
char * stan::math::internal::eight_byte_aligned_malloc (size_t size)
 

Variables

const size_t stan::math::internal::DEFAULT_INITIAL_NBYTES = 1 << 16