gcd: gcd

Description Usage Arguments Value Examples

View source: R/gcd.R

Description

Finds the gcd

Usage

1
gcd(x,y)

Arguments

x

First argument

y

Second argument

Value

The greated common divisor of x and y

Examples

1
2
 gcd(7,3)
 gcd(10,4)

Example output

Attaching package:QuantumOpsThe following object is masked frompackage:stats:

    dist

The following objects are masked frompackage:base:

    I, norm, single

[1] 1
[1] 2

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.

Related to gcd in QuantumOps...