MCPcopy
hub / github.com/microsoft/JARVIS / choose_

Function choose_

easytool/data_funcqa/funchub/math.py:133–136  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

131
132# 9. choose
133def choose_(args):
134 n = args[0]
135 r = args[1]
136 return normalize(math.comb(n, r))
137
138# 10. permutation
139def permutate_(args):

Callers

nothing calls this directly

Calls 1

normalizeFunction · 0.85

Tested by

no test coverage detected