|
TBTK
|
#include <ArrayManager.h>
Static Public Member Functions | |
| static void * | create (const Index &ranges) |
| static void * | create (const Index &ranges, T fill) |
| static void | destroy (void *array, const Index &ranges) |
| static T * | flatten (void *array, const Index &ranges) |
| static void * | unflatten (T *array, const Index &ranges) |
| static void | print (void *array, const Index &ranges) |
A static class providing methods for manipulation of arrays. The class is intended to provide methods that simplifies the creation and manipulation of multi-dimensional arrays for non-critical applications. However, the arrays are not optimal for heavy calculations, and algorithms critically dependent on the size and access time of the arrays should not use the ArrayManager or arrays returned from it.
|
static |
Allocate uninitialized array.
|
static |
Allocate initialized array.
|
static |
Deallocate array.
|
static |
Flatten multi-dimensional array.
|
static |
Print array.
|
static |
Create multi-dimensional array from one-dimensional array.
1.8.11