#include <array.h>
allocate() function for arrays.
The functions here are blank, as fixed-length arrays are automatically allocated and destroyed by the compiler. This class is present to provide an analog to pointer_alloc and ovector_alloc . This class is used, for example, for sma_interp_vec .
Definition at line 89 of file array.h.
Public Member Functions | |
| void | allocate (vec_t &v, size_t i) |
Allocate v for i elements. | |
| void | free (vec_t &v) |
| Free memory. | |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page