Google

Go to the first, previous, next, last section, table of contents.


dp_mag

dp_mag(p)
:: 係数のビット長の和を返す
return
p
分散表現多項式
  • 分散表現多項式の係数に現れる有理数につき, その分母分子 (整数の場合は分子) のビット長の総和を返す.
  • 対象となる多項式の大きさの目安として有効である. 特に, 0 次元システムにおいては 係数膨張が問題となり, 途中生成される多項式が係数膨張を起こしているかどうか の判定に役立つ.
  • dp_gr_flags() で, ShowMag, Print を on にすることにより 途中生成される多項式にたいする dp_mag() の値を見ることができる.
[221] X=dp_ptod((x+2*y)^10,[x,y])$
[222] dp_mag(X);
115
参照
section dp_gr_flags, dp_gr_print.


Go to the first, previous, next, last section, table of contents.