Re: Fortran array optimizations
- From: Richard Maine <nospam@xxxxxxxxxxxxx>
- Date: Mon, 8 Jan 2007 10:13:05 -0800
On Mon, 8 Jan 2007 09:31:48 -0800, Beliavsky wrote
(in article <1168277508.315033.86550@xxxxxxxxxxxxxxxxxxxxxxxxxxx>):
Richard Maine wrote:
Well, 1/y is not valid syntax at all if y is an array.
Why? If y a real vector of length N, isn't 1/y the same? A scalar is
conformable with an array.
Oops. Of course, you are right. I guess I was just in the mode of thinking
about matrix operations instead of array ones. I'm not used to seeing
expressions like scalar/array, while I see (and use) scalar*array all the
time. Both are equally valid, but the unfamiliar-looking one sent me off in
the wrong direction.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.
- References:
- Fortran array optimizations
- From: highegg
- Re: Fortran array optimizations
- From: Richard Maine
- Re: Fortran array optimizations
- From: Beliavsky
- Fortran array optimizations
- Prev by Date: Re: Fortran array optimizations
- Next by Date: Re: Fortran array optimizations
- Previous by thread: Re: Fortran array optimizations
- Next by thread: Re: Fortran array optimizations
- Index(es):
Relevant Pages
|