I don't know anything about PDEs for plasma physics, but you made me 
curious. What do you use negative indices for? Are arrays supposed to wrap 
around?

You can currently use the `end` keyword to write `foo[end-5]`, but I assume 
that this is not useful to you. Right?


On Sunday, 27 September 2015 16:48:22 UTC+2, Mark Sherlock wrote:
>
> Hi,
>
> I work in computational physics. The main reason we all use Fortran in my 
> area is because it allows arrays to have negative indices. This is very 
> useful when solving some partial differential equations (in e.g. plasma 
> physics, astrophysics, fluid mechanics).
>
> I and my colleagues frequently consider alternative languages but in the 
> end never change due to the headaches involved regarding this. Since Julia 
> seems to be focused on computational science,
> I am wondering how likely it is that this would ever be implemented, 
> and/or how we could encourage the developers to do this?
>
> In all other areas Julia looks fantastic for our needs!
>

Reply via email to