I'm writing some numerical code in which it would be more convenient to use 0-based indexing than Julia's default 1-based indexing. Julia does support 0-based indexing, but the documentation for it is aimed squarely at developers, so I'm a bit confused about how to use it.
Specifically: if I call rand(10,10) I get a 10x10 array with indexes from 1 to 10. Is there a simple equivalent command that will return an array with indexes from 0 to 9 instead? Or alternatively, can I easily convert this to a 0-based array instead of a 1-based one?