Basic HTML version of Foils prepared
21 Sept 1995
Foil 9 How to create Arrays in Fortran90
From
New CPS615 Foils-- 28 August 95 CPS615 Basic Simulation Track for Computational Science --
Fall Semester 95
.
by
Nancy McCracken and Geoffrey C. Fox
1
[1:N] creates an array of contiguous numbers (Standard syntax: ( i, i = 1,N ))
2
Creating arrays: Constants (Spread or broadening)
3
No special syntax is needed -- just set array of desired shape to the constant 3
in Table To:
©
on Tue Oct 7 1997