Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

# lcm

mínimo múltiplo comum

[pp,fact]=lcm(p)

### Parâmetros

p

vetor de polinômios

fact

vetor de polinômios ou inteiros (tipo igual a 8)

pp

polinômio ou inteiro

### Descrição

pp=lcm(p) computa o MMC pp do vetor de polinômios p.

[pp,fact]=lcm(p) computa, ainda, o vetor fact tal que:

p.*fact=pp*ones(p)

### Exemplos

//caso polinomial
s=poly(0,'s');
p=[s,s*(s+1)^2,s^2*(s+2)];
[pp,fact]=lcm(p);
p.*fact, pp

//caso inteiro
V=int32([2^2*3^5, 2^3*3^2,2^2*3^4*5]);
lcm(V)

### Comments

Add a comment:
Please login to comment this page.

 Report an issue << gcd Matemática discreta perms >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Wed Apr 01 10:24:17 CEST 2015