Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.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 manual >> Elementary Functions > isequal

isequal

オブジェクトの比較

呼び出し手順

t=isequal(a,b)
t=isequal(a,b,..)

パラメータ

a, b , ...

任意の型の変数

t

論理値

説明

isequal はその比較を比較します. これら全てが等しい場合,関数は %tを返し, その他の場合 %fを返します.

リスト,構造体,...を比較する場合, 比較は再帰的,フィールドの順に行われます.

浮動小数点数のデータは IEEE の規則に基づき比較されます. すなわち, NaN 値は等しくありません. ビット単位の比較については isequalbitwise を参照ください.

a=[1 2]
isequal(a,[1 2])
isequal(a,1)
<< isempty Elementary Functions isequalbitwise >>

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:
Wed Jan 26 16:25:03 CET 2011