<< Discrete mathematics Discrete mathematics factorial >>

Scilab Help >> Elementary Functions > Discrete mathematics > factor

factor

素因数分解関数

呼び出し手順

[y]=factor(x)

引数

x

実数スカラー

y

素数のベクトル

説明

実数xを指定すると, factor(x)xの素因数分解をベクトルryに返します. 特殊な場合: factor(0)0を返し, factor(1)1を返します.

x=620
y=factor(x)

参照


Report an issue
<< Discrete mathematics Discrete mathematics factorial >>