Defines | |
#define | LITE_ARRAY_MAX_DIMS 3 |
The maximum number of dimensions for arrays. | |
#define | LITE_ARRAY_MAX_PACKS 4 |
The maximum number of elements in a lite::pack. | |
#define | LITE_ARRAY_MAX_VECTOR_ARGS 5 |
The maximum size of fixed size vectors (1D arrays) which can be initialized using a constructor. | |
#define | LITE_ARRAY_MAX_ITERATOR_ARGS 3 |
The maximum number of arguments that will be passed from the constructor of a reference array to its iterator object verbatim. | |
#define | LITE_ARRAY_MAX_STATIC_UNROLL_LENGTH 5 |
For all array operations in which the innermost loop has a constant number of iterations which is no more than LITE_ARRAY_MAX_STATIC_UNROLL_LENGTH the innermost loop is fully unrolled. | |
#define | LITE_ARRAY_MAX_DYNAMIC_UNROLL_DEPTH 4 |
For all array operations in which the innermost loop has a non-constant number of iterations or has more than LITE_ARRAY_MAX_STATIC_UNROLL_LENGTH number of iterations, the innermost loop is dynamically unrolled in iterations at a time where k is at most LITE_ARRAY_MAX_DYNAMIC_UNROLL_DEPTH . | |
#define | LITE_ARRAY_VERSION 3505 |
Integral version number of the library. | |
#define | LITE_ARRAY_VERSION_STR "3.505" |
An string representation of the version number of the library. |
There are several parameters declared at the top of the file array.hpp.template
that can be tweaked for example to change the maximum number of dimensions supported. There is also a macro constant defined corresponding to each of these parameters. You can refer to the documentation of the macro to find out about the purpose of each parameter. The following is the list of parameters and the corresponding macros:
#define LITE_ARRAY_MAX_ITERATOR_ARGS 3 |
The maximum number of arguments that will be passed from the constructor of a reference array to its iterator object verbatim.
#define LITE_ARRAY_MAX_VECTOR_ARGS 5 |
The maximum size of fixed size vectors (1D arrays) which can be initialized using a constructor.
array<double[2]> a(2.3, 4.5);
array<double[3]> a(2.3, 4.5, 4.6);
array<double[9]> a(1, 2, ..., 9); // error: more than LITE_ARRAY_MAX_VECTOR_ARGS number of args.