http://www.perlmonks.org?node_id=754310


in reply to 1d array into 3d

I can't deduce what you're trying to do from code that doesn't work in a language I don't use. If you can explain what you want, there may be a monk willing to write a Perl solution that you can translate into Fortran. An example input with desired output would go a long way too.