lcm function

lcm

lcm

Calculates the least common multiple of a set of integer. Internal use only.

lcm(x)

Arguments

  • x: numeric: A sequence of integers.

Returns

The least common multiple.

  • Maintainer: Silvaneo dos Santos Jr.
  • License: GPL (>= 3)
  • Last published: 2025-03-20