CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Type >
static Type* CppAD::omp_alloc::create_array ( size_t  size_min,
size_t &  size_out 
)
inlinestatic

Use omp_alloc to Create a Raw Array.

Template Parameters
TypeThe type of the elements of the array.
Parameters
size_min[in] The minimum number of elements in the array.
size_out[out] The actual number of elements in the array.
Returns
pointer to the first element of the array. The default constructor is used to initialize all the elements of the array.
The extra_ field, in the omp_alloc node before the return value, is set to size_out.

Definition at line 598 of file omp_alloc.hpp.