MCPcopy Create free account
hub / github.com/SPLWare/esProc / gcd

Method gcd

src/main/java/com/scudata/expression/fn/math/Gcd.java:80–96  ·  view source on GitHub ↗

求数组的最大公约数,因为最小公倍数函数要用到本函数,所以单独拿出来 @param num @param k @return

(Number[] num,int k)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

lcmMethod · 0.95
calculateMethod · 0.95

Calls 2

longValueMethod · 0.95
sortMethod · 0.65

Tested by

no test coverage detected