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 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Scilab > Scilab keywords > percent

percent

(%) 特殊文字

説明

(sqrt(-1)を意味する)%i, (Infinityを意味する)%inf, (3.14...を意味する)%pi, (論理値の "true"を意味する)%T,... のような%で始まる定義済みの変数.

加えて, %で始まる名前を有する関数は特殊な関数です : これらはプリミティブおよび演算子オーバーローディングで 使用されます.

例えば,関数 %r_m_r は乗算(m) 処理x*yを有理行列(r) x および y に関して実行します. コード記法は, オーバーローディングの ヘルプページに記載されています.

x1 = tlist('x',1,2);
x2 = tlist('x',2,3);
deff('x = %x_m_x(x1,x2)','x = list(''x'', x1(2)*x2(2), x2(3)*x2(3))');
x1 * x2

参照

  • overloading — 表示,関数および演算子オーバーロード機能
  • names — Scilab 名前の構文
  • symbols — scilab 演算子の名前
  • printf_conversion — mprintf, msprintf, mfprintf 変換仕様
Report an issue
<< Scilab keywords Scilab keywords backslash >>

Copyright (c) 2022-2023 (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:44 CET 2022