section l of routines in gcd.i

yorick banner

Home

Manual

Packages

Global Index

Keywords

Quick Reference

functions in gcd.i - l

 
 
 
lcm


             lcm(a,b)  
 
     returns the LCM (least common multiple) of A and B, which must  
     be one of the integer data types.  A and B may be conformable  
     arrays; the semantics of the lcm call are the same as any other  
     binary operation.  
     The absolute values of A and B are taken before the operation  
     commences; if either A or B is 0, the return value will be 0.  

interpreted function, defined at i/gcd.i   line 47  
SEE ALSO: gcd,   is_prime,   factorize