Scilab 6.0.1
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
isinf
проверка на бесконечные элементы
Синтаксис
r = isinf(x)
Аргументы
- x
матрица или вектор вещественных или комплексных значений
r
вектор или матрица логических значений
Описание
isinf(x)
returns a matrix r
of booleans such that, for each element x(i)
,
r(i)
is set to %T
as soon as
x(i)
is infinite.
When x
is complex-encoded, x(i)
is considered infinite as soon as its real or imaginary or both parts
are infinite.
Примеры
[i, inf, nan] = (%i, %inf, %nan); isinf([-1 0.01 -inf inf nan]) isinf([2+i, -10-inf, inf+i]) isinf([nan-i, inf-nan*i, nan+i*inf])
Смотрите также
Report an issue | ||
<< int | Плавающая запятая | isnan >> |