Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
13
Task/Forward-difference/EasyLang/forward-difference.easy
Normal file
13
Task/Forward-difference/EasyLang/forward-difference.easy
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
func[] fwddiff s[] n .
|
||||
for i to n
|
||||
for j = 1 to len s[] - 1
|
||||
s[j] = s[j + 1] - s[j]
|
||||
.
|
||||
len s[] -1
|
||||
.
|
||||
return s[]
|
||||
.
|
||||
s[] = [ 90 47 58 29 22 32 55 5 55 73 ]
|
||||
print fwddiff s[] 1
|
||||
print fwddiff s[] 2
|
||||
print fwddiff s[] 9
|
||||
Loading…
Add table
Add a link
Reference in a new issue