Subject: HPF array constructors questions

From: [email-masked]
Date: Fri, 26 Jun 92 11:25:02 CDT

Can someone in the F90 subgroup, comment on the syntax 
and semantics of the proposed HPF array constructor and 
its usage ?

E.g.,   Will the HPF array constructor syntax follow
        F90's "(/  /)" notation and implicit DO style ?

	  iota = (/ (i,i=1,n) /)

	Or the more compact CMFortran:

	  iota = [ 1:n ]

E.g., Is this ok ? (n,k are runtime values):

	a_complex_vector * cmplx( (/ i,i=2,n,k /) )

	a_complex_vector * cmplx( [ 2:n:k ] )

E.g., Is this ok ? (m,n are runtime values):

	FORALL( i=1:n ) fred(i,:) = (i-1)*m + (/ i,i=1,m /) 

	FORALL( i=1:n ) fred(i,:) = (i-1)*m + [ 1:m ]

E.g., Is this ok ? (m,n are runtime values):    

	fred = RESHAPE( (/ i=1,m*n /) , (/ n,m /) )

	fred = RESHAPE( [1:m*n] , [n,m] )

Just sanity checking.

Thanks,
Peter