vector_gcd | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.