tests for infinite elements
r = isinf(x)
matrix of real or complex numbers
matrix of booleans of the same size as x
isinf(x) returns the matrix r
of booleans such that, for each element x(i),
r(i) is set to %T if and only if
x(i) is infinite.
When x is complex-encoded, x(i)
is considered infinite if its real part or its imaginary part (or both)
are infinite.