Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
isscalar
変数がスカラーかどうかを確認.
呼び出し手順
t=isscalar(x)
引数
- x
スカラー,ベクトル, 行列, ハイパー行列, リスト, 構造体の配列またはセル
- t
論理値
説明
isscalar(
は, x)x
がスカラー (size(x) が 1)の場合にtrueを返します.
isscalar([])はfalseを返すことに注意してください.
例
参照
履歴
| バージョン | 記述 |
| 5.5.0 | 関数isscalarが導入されました. |
| Report an issue | ||
| << isrow | Shape tests | issquare >> |