Hi,

There's been recent discussion on the GNU APL forums about how to define the 
residue function on complex arguments. I wondered how it was specified in J, 
but the dictionnary page seems kind of vague.

Nuvoc says that 
(x|y)=y-x*<.y%x+0=x
for all scalars x and y (including complex numbers).
However, this is untrue for
'x y'=: 1j1 3j4
(tested on the old J for iOS)

While it would seem like a logical extension, the dictionnary only says that 
this is true for rational numbers.

So how is the residue of two complex numbers defined in J?

Thanks,
Louis
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to