<< mps_isinf Comparison functions mps_less >>

mpscilab >> mpscilab > Comparison functions > mps_isnan

mps_isnan

NaN predicate operation

Calling Sequence

rop = mps_isnan( op )

Arguments

rop

Scilab matrix of boolean

op

multi-precision matrix

Description

Return a Scilab boolean matrix the same size as op. Elements of rop are True if the corresponding element of op is not a number(NaN).

Examples

// Standard usage.
A = [1 -2; %inf -4]
mpsA = mps_init2(A,100)
r = mps_isnan(mpsA)

See Also

<< mps_isinf Comparison functions mps_less >>