数学相关-MathUtil介绍方法数学相关-MathUtil介绍此工具是NumberUtil的一个补充,NumberUtil偏向于简单数学计算的封装,MathUtil偏向复杂数学计算。 方法 排列 arrangementCount 计算排列数 arrangementSelect 排列选择(从列表中选择n个排列) 组合 combinationCount 计算组合数,即C(n, m) = n!/((n-m)! * m!) combinationSelect 组合选择(从列表中选择n个组合)