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 > isreal

isreal

変数が実数または複素数のエントリかどうかを調べるc

呼び出し手順

t=isreal(x)
t=isreal(x,eps)

パラメータ

x

浮動小数点数のエントリまたは係数を有するベクトルまたは行列

t

論理値

説明

isreal(x) は, xが実数変数として保持されている場合に真, xに虚部(0の場合もある)を保持する変数の場合に偽 を返します.

isreal(x,eps)xが実数変数として保持されているか, 虚部の浮動小数点数の絶対値の最大値が eps以下の場合に 真を返します.

isreal([1 2])
isreal(1+0*%i)
isreal(1+0*%i,0)
isreal(1+%s)
isreal(sprand(3,3,0.1))
<< isequalbitwise Elementary Functions isvector >>

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