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 - Português - Русский

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

Scilabヘルプ >> Polynomials > lcmdiag

# lcmdiag

### 呼び出し手順

```[N,D]=lcmdiag(H)
[N,D]=lcmdiag(H,flag)```

H

N

D

flag

### 説明

`[N,D]=lcmdiag(H,'row')` は, 分解`D*H=N`, すなわち,`H=D^(-1)*N`を計算します ただし, D は D(k,k)= H('den')のk行目の最小公倍数となる 対角行列です.

`[N,D]=lcmdiag(H)` または `[N,D]=lcmdiag(H,'col)` は,D(k,k)=H('den')のk列目の最小公倍数となる`H=N*D^(-1)`を返します.

### 例

```s=poly(0,'s');
H=[1/s,(s+2)/s/(s+1)^2;1/(s^2*(s+2)),2/(s+2)];
[N,D]=lcmdiag(H);
N/D-H```

### 参照

• lcm — 最小公倍数
• gcd — 最大公約数を計算
• bezout — 多項式またｈ整数のべズー方程式

### Comments

Add a comment:
Please login to comment this page.

 Report an issue << invr Polynomials ldiv >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Tue Feb 14 15:10:29 CET 2017