|The maximum number of dimensions for arrays. |
|The maximum number of elements in a lite::pack. |
|The maximum size of fixed size vectors (1D arrays) which can be initialized using a constructor. |
|The maximum number of arguments that will be passed from the constructor of a reference array to its iterator object verbatim. |
|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. |
|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 . |
|Integral version number of the library. |
|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> a(2.3, 4.5); array<double> a(2.3, 4.5, 4.6); array<double> a(1, 2, ..., 9); // error: more than LITE_ARRAY_MAX_VECTOR_ARGS number of args.