We all know that the DO
loop is more powerful than the FORALL
statement in Fortran. That is, you can always substitute a FORALL
by a DO
, but not vice versa.
What about the WHERE
statement and block?
Can I always substitute the IF
by a WHERE
? Is it always possible to code the conditionals and bifurcations with a WHERE
, thus avoiding the IF
?