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

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Elementary Functions > isempty

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-2024 (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 Jan 03 14:37:48 CET 2022