Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - Português

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

Scilab help >> Polynomials > hrmt

hrmt

gcd of polynomials

Calling Sequence

[pg,U]=hrmt(v)

Arguments

v

row of polynomials i.e. 1xk polynomial matrix

pg

polynomial

U

unimodular matrix polynomial

Description

[pg,U]=hrmt(v) returns a unimodular matrix U and pg = gcd of row of polynomials v such that v*U = [pg,0].

Examples

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)

See Also

  • gcd — gcd calculation
  • htrianr — triangularization of polynomial matrix

Authors

S. Steer INRIA

<< horner Polynomials 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:
Wed Oct 05 12:09:56 CEST 2011