q forall statement in fortranthe forall statement


Q. FORALL Statement in fortran?

The FORALL statement permits for more common assignments to sections of an array. A FORALL statement has general form. 

 FORALL ( triplet, ...,  triplet,  mask )

        statement

 where triplet has general form 

        subscript =  lower:  upper : step-size

And specifies a group of indices. Step-size is optional. Statement is an arithmetic or pointer assignment and assignment statement is calculated for those index values specified by list of triplets which aren't rejected by optional mask and specifies a group of indices. Step-size is optional. Statement is an arithmetic or pointer assignment and assignment statement is calculated for those index values specified by list of triplets which aren't rejected by optional mask.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q forall statement in fortranthe forall statement
Reference No:- TGS0323868

Expected delivery within 24 Hours