Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.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 > star

star

(*) 乗算演算子

説明

乗算. 一般的な意味. 定数,論理値,多項式,有理関数 および syslin リスト(直列結合を意味します)で有効です.

要素毎の乗算の場合は, x.*y のようにします. x または y がスカラー(1x1 行列)の場合, .**と同じになります.

クロネッカー積は, x.*.y です.

A*.B は 定義済みの意味がない演算子で, * または /. と同様に 新しい演算子を定義する際に使用可能です( (オーバーロード参照).

Remark that /* start to comment a block of code and */ end to comment this block.

// 基本的な数値演算
2 * 2 // 4
2 * [%pi, %eps] // 6.2831853    4.441D-16
rand(2,2) * rand(2)
[1, 2; 3, 4] * [%pi,%eps; %e, %pi]
// 多項式演算
s=poly(0,"s");
p=1+s+2*s^2;
q=1+s+2*s^3;
p * q
//               2    3    4    5
//    1 + 2s + 3s + 4s + 2s + 4s
// 有理数
s=poly(0,'s');
W=[1/s,1/(s+1)];
W' * W
//    1           1
//    -         -----
//     2             2
//    s         s + s
//
//      1           1
//    -----     ---------
//         2              2
//    s + s     1 + 2s + s

参照

  • dot — (.) 記号
  • slash — (/) 右除算およびフィードバック
  • backslash — (\) 左行列除算.
  • syslin — 線形システムを定義する
  • overloading — 表示,関数および演算子オーバーロード機能
  • comments — (// or /*...*/) comments
Report an issue
<< slash Scilab keywords symbols >>

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 Feb 12 23:12:39 CET 2018