mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-17 22:11:38 +02:00
Update content.ja-JP.md (#135)
This commit is contained in:
@@ -127,7 +127,7 @@ binomial(n,k):
|
|||||||
s = lut.length
|
s = lut.length
|
||||||
nextRow = new array(size=s+1)
|
nextRow = new array(size=s+1)
|
||||||
nextRow[0] = 1
|
nextRow[0] = 1
|
||||||
for(i=1, prev=s-1; i<prev; i++):
|
for(i=1, prev=s-1; i<=prev; i++):
|
||||||
nextRow[i] = lut[prev][i-1] + lut[prev][i]
|
nextRow[i] = lut[prev][i-1] + lut[prev][i]
|
||||||
nextRow[s] = 1
|
nextRow[s] = 1
|
||||||
lut.add(nextRow)
|
lut.add(nextRow)
|
||||||
|
Reference in New Issue
Block a user