Computes the GCD of a vector.
vector_gcd(vec)
vec
a vector, for which we want to compute the GCD.
The GCD of the elements in the given vector.
input = c(3,6,9) vector_gcd(input)