vector_gcd: Vector Greatest Common Divisor

View source: R/RcppExports.R

vector_gcdR Documentation

Vector Greatest Common Divisor

Description

Computes the GCD of a vector.

Usage

vector_gcd(vec)

Arguments

vec

a vector, for which we want to compute the GCD.

Value

The GCD of the elements in the given vector.

Examples

input = c(3,6,9)
vector_gcd(input)

minMSE documentation built on March 18, 2022, 8:05 p.m.

Related to vector_gcd in minMSE...