[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

creating Inf*i

From: withaar
Subject: creating Inf*i
Date: Mon, 12 May 2003 10:05:11 +0100

Hi all,

I need to create an imaginary infinity number. These methods don't work:

a = complex(0,Inf)
a = 1i*Inf

Both methods multiply (0+i)*Inf and the result is NaN+Infi because 0*Inf
is undefined. This, however, works:

a = (1i*realmax)*2

Is there a better way to do this?



Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]