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

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,... のような%で始まる定義済みの変数.

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

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

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

参照

  • overloading — 表示,関数および演算子オーバーロード機能
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:
Tue Feb 25 08:53:17 CET 2020