Use Arbitrarily dimensioned arrays in rust.
Note: Although I've tried to keep implementations as fast as possible, constructors are O(d^2) and indexing is O(d) where d is the number of dimensions, and n is the sum of the magnitudes of all dimensions.
Usage
// Create a 4d array of u32s.
// where the dimensioning is 5x3x9x2
let mut my_array: = new;
// Set some arbitrary point (getting is the same, but no `= 9`)
my_array = 9;
// Create a 3d array of u32s where each index
// value is the sum of it's index coordinates
// with dimension 5x8x11.
let my_fancy_array: = from_function;
assert_eq!;