示例#1
0
文件: __init__.py 项目: 0x0all/nupic
def logChoose(n, c):
  return lgamma(n+1) - lgamma(c+1) - lgamma(n-c+1)
示例#2
0
def logChoose(n, c):
    return lgamma(n + 1) - lgamma(c + 1) - lgamma(n - c + 1)