least_common_multiple: Least Common Multiple of a Set of Numbers

Description Usage Arguments Value Note Examples

View source: R/factors.R

Description

The least_common_multiple function takes a set of numbers and calculates their least common multiple using the prime factorization method.

Usage

1

Arguments

...

The numbers for which you want the least common multiple.

Value

A single integer value representing the least common multiple of the set of inputs.

Note

The absolute values of the input is used in calculating the least common multiple.

Examples

1

mrdwab/mathrrr documentation built on July 20, 2020, 11:14 p.m.