Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 日本語

Change language to:
English - Français - Português - Русский

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

Scilabヘルプ >> Polynomials > simp_mode

simp_mode

有理数の簡単化のオン/オフを切り替える

呼び出し手順

mod = simp_mode()
simp_mode(mod)

パラメータ

mod

a boolean

説明

有理数に関する処理の後にほぼ毎回,有理数の簡単化が行われます. simp_mode によりこの簡単化のオン/オフを切り替えることが できます.

simp_mode(%t) は,有理数の簡単化をオンにします.

simp_mode(%f) は,有理数の簡単化をオフにします.

mod=simp_mode() は,カレントの 有理数の簡単化モードをmodに返します.

s = %s;
mod = simp_mode()
simp_mode(%f); [0/s, s/s, s^2/s, (s*(1-s))^2/(s-s^2), (s-s^2)/(s*(1-s))^2]
simp_mode(%t); [0/s, s/s, s^2/s, (s*(1-s))^2/(s-s^2), (s-s^2)/(s*(1-s))^2]
simp_mode(mod);
--> mod = simp_mode()
 mod  =
  T

--> simp_mode(%f); [0/s, s/s, s^2/s, (s*(1-s))^2/(s-s^2), (s-s^2)/(s*(1-s))^2]
 ans  =
   0  s  s²  s² -2s³ +s⁴     s -s²
   -  -  --  -----------  -----------
   s  s  s      s -s²     s² -2s³ +s⁴

--> simp_mode(%t); [0/s, s/s, s^2/s, (s*(1-s))^2/(s-s^2), (s-s^2)/(s*(1-s))^2]
 ans  =
   0  1  s  s -s²    -1
   -  -  -  -----  ------
   1  1  1    1    -s +s²

参照

  • simp — 有理数の簡単化
Report an issue
<< simp Polynomials sylm >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:37:49 CET 2022