Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
hrmt
多項式の最大公約数
呼び出し手順
[pg, U] = hrmt(v)
Parameters
- v
多項式の行,すなわち,
1
xk
多項式行列- pg
多項式
- U
ユニモジュラ多項式行列.
説明
[pg,U]=hrmt(v)
は,多項式v
について
ユニモジュラ行列U
および
v*U = [pg,0]
となるような,
pg
= 多項式の行の最大公約数を返します.
例
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
Report an issue | ||
<< horner | Polynomials | htrianr >> |