(j3.2006) How to spread a scalar?

Bill Long longb
Sun Dec 4 13:56:39 EST 2011



On 12/2/11 11:52 PM, Van Snyder wrote:
>
> The description of SPREAD says SOURCE can be a scalar or an array of any
> shape.
>
> The description of DIM says it has to be in the range 1..rank(SOURCE).
>

1..rank(SOURCE)+1

at least the way I read the text.

> How can SPREAD be invoked with SOURCE a scalar?
>

Cheers,
Bill


-- 
Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101





More information about the J3 mailing list