Greatest Common Denominator for integers
Created by: benfdking
What are you trying to do?
Trying to solve a simple problem of highest common divisor in a set of integers
What did you try?
Something like:
x := []int{15,25,30}
gcd := GCD(x)
where gcd is 5
How does Gonum not allow you to achieve your goal?
No function found that fulfils this.
What version of Go and Gonum are you using?
n/a
Is this feature absent from the current master?
yes
Are you able to help contribute the feature?
Yes, would need some guidance on where to place it but currently the best algorithm seems to be the Euclidean wrapped as follows.