Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Index of array ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 8192 of 8775
Post > Topic >>

Index of array from mask

by hiphop <ratel.gilles@[EMAIL PROTECTED] > Apr 30, 2008 at 08:52 AM

If I have a vector:    V(10000)

I am interested get index where (V > a) .AND. (V < b)

How do you do in fortran 90/95?

example:
Suppose   V = (/103,102,103,104,105/)

a = 102
b = 105

I am interested get index for (V > a ) .AND. (V < b)  ==> answer:
1,3, 4
 




 10 Posts in Topic:
Index of array from mask
hiphop <ratel.gilles@[  2008-04-30 08:52:58 
Re: Index of array from mask
Thomas Koenig <tkoenig  2008-04-30 17:52:56 
Re: Index of array from mask
dpb <none@[EMAIL PROTE  2008-04-30 13:15:28 
Re: Index of array from mask
"Michael Metcalf&quo  2008-04-30 18:24:08 
Re: Index of array from mask
"Michael Metcalf&quo  2008-04-30 18:25:40 
Re: Index of array from mask
Paul van Delst <Paul.v  2008-04-30 15:18:13 
Re: Index of array from mask
dpb <none@[EMAIL PROTE  2008-04-30 15:28:57 
Re: Index of array from mask
hiphop <ratel.gilles@[  2008-04-30 11:35:06 
Re: Index of array from mask
hiphop <ratel.gilles@[  2008-04-30 15:14:47 
Re: Index of array from mask
Terence <tbwright@[EMA  2008-04-30 18:28:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 3:06:18 CDT 2008.