Group: comp.lang.fortran · Group Profile · Search for Use of ANY in comp.lang.fortran
Author: Craig Powers
Date: Aug 12, 2008 09:17
...>>> slice of an array, looking for any occurrence of a particular condition. To ... I want to determine whether there is any (y,z) 1<=y<=NY, 1<=...Is there a clever way to use the ANY intrinsic for this, or do I have to use dumb loops? How about: ANY( fu(:,1:NY,1:NZ) %% status /= ... bericht weergeven - I think you mean: ANY( fu(x,:,:) %% status /= stat0 ) Er, yeah,...
|
| Show full article (1.20Kb) · Show article thread |
Group: comp.lang.fortran · Group Profile · Search for Use of ANY in comp.lang.fortran
Author: Arjen Markus
Date: Aug 11, 2008 21:40
... slice of an array, looking for any occurrence of a particular condition. В To ...I want to determine whether there is any (y,z) 1<=y<=NY, 1<=...Is there a clever way to use the ANY intrinsic for this, or do I have to use dumb loops? How about: ANY( fu(:,1:NY,1:NZ) %% status /= ... bericht weergeven - I think you mean: ANY( fu(x,:,:) %% status /= stat0 ) Regards, Arjen
|
| Show full article (1.07Kb) · Show article thread |
Group: comp.lang.fortran · Group Profile · Search for Use of ANY in comp.lang.fortran
Author: Craig Powers
Date: Aug 11, 2008 16:20
... elements of a slice of an array, looking for any occurrence of a particular condition. To be precise: ...status value stat0 I want to determine whether there is any (y,z) 1<=y<=NY, 1<=z<=NZ, ... fu(x,y,z)%%status /= stat0 Is there a clever way to use the ANY intrinsic for this, or do I have to use dumb loops? How about: ANY( fu(:,1:NY,1:NZ) %% status /= stat0 ) (You'...
|
| Show full article (0.78Kb) · Show article thread |
Group: comp.lang.fortran · Group Profile · Search for Use of ANY in comp.lang.fortran
Author: Gib Bogle
Date: Aug 11, 2008 16:15
... way to do a check on all elements of a slice of an array, looking for any occurrence of a particular condition. To be precise: fu(NX,NY,NZ) is an array of...For a given x, and a status value stat0 I want to determine whether there is any (y,z) 1<=y<=NY, 1<=z<=NZ, such that fu(x,y,z)%%status /= stat0 Is there a clever way to use the ANY intrinsic for this, or do I have to use dumb loops?
|
| Show full article (0.57Kb) |
|