Re: make i:j equivalent to [(k,k=i,j)]?
- From: "highegg" <highegg@xxxxxxxxx>
- Date: 30 Oct 2006 22:46:27 -0800
beliavsky@xxxxxxx wrote:
Would it break anything in Fortran to make an expression
i:j
equivalent to the array constructor
[(k,k=i,j)]
The R programming language, which has a matrix language similar to
Fortran, effectively does this. I know that "not breaking" is not by
itself sufficient reason to add "syntactic sugar" to the language.
Since FORALL supersedes this, I guess this will never happen. FORALL is
less
elegant but more powerful.
.
- Follow-Ups:
- Re: make i:j equivalent to [(k,k=i,j)]?
- From: glen herrmannsfeldt
- Re: make i:j equivalent to [(k,k=i,j)]?
- References:
- make i:j equivalent to [(k,k=i,j)]?
- From: beliavsky
- make i:j equivalent to [(k,k=i,j)]?
- Prev by Date: Re: Bus error/ segmentation fault--help?
- Next by Date: Re: make i:j equivalent to [(k,k=i,j)]?
- Previous by thread: Re: make i:j equivalent to [(k,k=i,j)]?
- Next by thread: Re: make i:j equivalent to [(k,k=i,j)]?
- Index(es):
Relevant Pages
|
|