Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
factor
素因数分解関数
呼び出し手順
[y]=factor(x)
パラメータ
- x
実数スカラー
- y
素数のベクトル
説明
実数xを指定すると, factor(x)
はxの素因数分解をベクトルryに返します.
特殊な場合: factor(0)
は 0を返し, factor(1) は
1を返します.
例
x=620 y=factor(x)
参照
| << Discrete mathematics | Discrete mathematics | perms >> |