Re: Array subsetting
- From: "David Frank" <dave_frank@xxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 08:45:25 -0400
<L.Spadavecchia@xxxxxxxxxxxxxx> wrote in message
news:1157019958.936303.24170@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello all,
I am running into difficulties using the WHERE function to subset
arrays. I am currently writing a program which needs to apply a
threshold to a real array of dimension (nx,ny). Lets call this array1.
I then have a second real array - lets call that array2- (I understand
all the arrays in the where statement must be of the same type?) which
will store the result as a binary value. It too has dimension (nx,ny).
Heres the way it appears in the program.
INTEGER,PARAMETER :: nx,ny
Your compiler shud complain about this statement...
.
- References:
- Array subsetting
- From: L . Spadavecchia
- Array subsetting
- Prev by Date: Re: Array subsetting
- Next by Date: Re: problematic array assignment in double precision (ifort, windows)
- Previous by thread: Re: Array subsetting
- Next by thread: Re: Array subsetting
- Index(es):
Relevant Pages
|