Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Polinômios > hrmt

hrmt

máximo divisor comum de polinômios

Seqüência de Chamamento

[pg, U] = hrmt(v)

Parâmetros

v

vetor linha de polinômios, i.e. matriz de polinômios 1xk

pg

polinômio

U

matriz de polinômios unimodular.

Descrição

[pg,U]=hrmt(v) retorna uma matriz unimodular U e pg = MDC do vetor linha de polinômios v tais que v*U=[pg,0].

Exemplos

x = poly(0,'x');
v = [x*(x+1), x^2*(x+1), (x-2)*(x+1), (3*x^2+2)*(x+1)]
[pg, U] = hrmt(v);
U = clean(U)
det(U)
--> v = [x*(x+1), x^2*(x+1), (x-2)*(x+1), (3*x^2+2)*(x+1)]
 v  =
  x +x²  x² +x³  -2 -x +x²  2 +2x +3x² +3x³

--> [pg, U] = hrmt(v);
--> U = clean(U)
 U  =
  x   -2 +x  1 +1.5x²   0.5
  -1  0      0          0
  0   -x     -1 -1.5x²  -0.5
  0   0      -1         0

--> det(U)
 ans  =
  1

Ver Também

Report an issue
<< horner Polinômios htrianr >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:35:23 CET 2022