CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Type >
static Type* omp_alloc::create_array ( size_t  size_min,
size_t &  size_out 
) [inline, static]

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 583 of file omp_alloc.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines