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


isempty

変数が空の行列または空のリストかどうかを調べる

呼び出し手順

t=isempty(x)

引数

x

ベクトルまたは行列またはリスト

t

論理値

説明

isempty(x)xが空の行列または 空のリストの場合に真を返します.

isempty() can be overloaded for custom t-lists and m-lists typeof.

a=1
isempty(a(2:$))
isempty(find(rand(1:10)==5))

参照

  • [] — empty matrix. Array ranges destructor.
  • emptystr — 長さ0の文字列
  • size — オブジェクトの大きさ
  • length — オブジェクトの長さ

履歴

バージョン記述
6.0.2 isempty() can now be overloaded for custom tlist and mlist typeof.
Report an issue
<< insertion Elementary Functions isequal >>

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 May 22 12:43:09 CEST 2023