Created
March 21, 2017 15:46
-
-
Save mainroach/4c579fa717d2dfd690151f831ed28c96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pascDiag(row,length): | |
vals=[0]*length | |
for i in range(length): | |
vals[i]=pascalIndexInRowFast(row+i,i) | |
return vals |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment