


% -*- texinfo -*-
% @deftypefn {Mapping Function} {} lcm (@var{x})
% @deftypefnx {Mapping Function} {} lcm (@var{x}, @dots{})
% Compute the least common multiple of the elements of @var{x}, or
% of the list of all arguments. For example,
%
% @example
% lcm (a1, @dots{}, ak)
% @end example
%
% @noindent
% is the same as
%
% @example
% lcm ([a1, @dots{}, ak]).
% @end example
%
% All elements must be the same size or scalar.
% @seealso{factor, gcd}
% @end deftypefn