[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can this be vectorized?





I forgot to include the printed results!
> 
> ; print the results
> 
> print,'i=',i
> print,'x=',x
> print,'y=',result
> end

i= 0       1       1       2       3       4       4       4       5
x=-3.0   5.00    2.50    7.00   12.00   -4.00    10.00   2.30    7.00
y=-3.00      7.50      7.00    12.00     8.30     7.00

Dick French
Astronomy Dept.
Wellesley College