Matrix-type-friendly syntax and more
Denis Shelomovskij
verylonglogin.reg at gmail.com
Thu Oct 13 03:48:49 PDT 2011
> Suddenly, I had a talk with an Fortran guy at previous weekend and have
> wrote something like Fortran arrays in D last week. I had an idea of
> adding it into Phobos, but just had no time for review of my code. Draft
> version is in attachment.
>
> rarray.d - something like Fortran array
> main.d - example of using rarray module
> output.txt - main.d output
My usable draft example of multidimensional rectangular arrays (source
looks working stable and usable but still isn't ready):
http://deoma-cmd.ru/d/docs/src/my/rarray.html
Posted now just for illustrating existed syntax abilities. IMHO, it is
not too bad: adding `R[]` isn't a big overhead.
More information about the Digitalmars-d
mailing list