Hi,
I need to write a subroutine that accepts as an argument an array of any number of dimensions, where each dimensions has any size. The array is contiguously allocated.
In C, I can do this pretty cleanly.
void array_func(int ndims, int *dims, int *array)
{
// do stuff with...