Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.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ヘルプ >> Elementary Functions > iscolumn

iscolumn

変数が列ベクトルであるかを確認

呼び出し手順

t=iscolumn(x)

引数

x

スカラー,ベクトル, 行列, ハイパー行列, リスト, 構造体の配列またはセル

t

論理値

説明

iscolumn(x)xが列ベクトルの場合にtrueを返します. スカラーは列ベクトルとみなされます. iscolumn([])はfalseを返すことに注意してください.

iscolumn(ones(10,1))
iscolumn(1)
iscolumn(["s"; "t"; "u"])
iscolumn(rand(3,1,1))
iscolumn(rand(1,1,3))
s = struct();
iscolumn(s) // 空の構造体
clear s
s.a = %z;
s.b = 2;
iscolumn(s) // 構造体のスカラー配列
clear s
s(2,1).a = "w";
s(3,1).b = %t;
iscolumn(s) // 構造体の列配列
clear s
s(1,2).a = -2;
s(3,1).b = %pi;
iscolumn(s) // 構造体の2次元配列
clear s
s(1,1,2).a = 3;
s(1,1,3).b = "test";
iscolumn(s) // 構造体の3次元配列 (うち2つの次元は1要素)

参照

  • isscalar — 変数がスカラーかどうかを確認.
  • isrow — 変数が行ベクトルかどうか確認する
  • ismatrix — 変数が行列かどうかを確認
  • issquare — 変数が正方行列かどうかを確認
  • isempty — 変数が空の行列または空のリストかどうかを調べる

履歴

バージョン記述
5.5.0 関数iscolumnが導入されました.
Report an issue
<< ind2sub Elementary Functions isempty >>

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 14 15:10:28 CET 2017