Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Forward-difference/HicEst/forward-difference.hicest
Normal file
12
Task/Forward-difference/HicEst/forward-difference.hicest
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
REAL :: n=10, list(n)
|
||||
|
||||
list = ( 90, 47, 58, 29, 22, 32, 55, 5, 55, 73 )
|
||||
WRITE(Format='i1, (i6)') 0, list
|
||||
|
||||
DO i = 1, n-1
|
||||
ALIAS(list,1, diff,n-i) ! rename list(1 ... n-i) with diff
|
||||
diff = list($+1) - diff ! $ is the running left hand array index
|
||||
WRITE(Format='i1, (i6)') i, diff
|
||||
ENDDO
|
||||
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue