|
inline |
Ctor with possibility to request calloc()
-based memory allocation for the contained array.
Pass Init::No to do so, this will be disabled if Scalar is not trivial.
dims_ | dimensions of each index |
do_init | initialisation request: Init::Yes uses default ctors in new[] , Init::No uses calloc() if Scalar or ScalarBase<Scalar> is trivial and otherwise also new[] . |