Numpy gcd function

前端 未结 5 1931
萌比男神i
萌比男神i 2020-12-19 01:44

Does numpy have a gcd function somewhere in its structure of modules?

I\'m aware of fractions.gcd but thought a numpy

5条回答
  •  佛祖请我去吃肉
    2020-12-19 02:14

    The functions gcd (Greatest Common Divisor) and lcm (Lowest Common Multiple) have been added to numpy in version 1.15.

提交回复
热议问题