A C implementation of N dimensional arrays