Skip to content

gcd() should accept array  #2567

@mattvague

Description

@mattvague

I would expect math.gcd([1,2]) to work the same as math.gcd(1,2) however it currently throws "Too few arguments in function gcd (expected: number or BigNumber or Array or Matrix or Fraction or string or boolean, index: 1)"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions