f=: 3!:0
   f 1 2 3
4
   f 1 2 3 _
8
   f 1 2 3 __
8
   f 1 2 3 _.
8
   f 1 2 3 0j1
16



----- Original Message -----
From: Tracy Harms <[EMAIL PROTECTED]>
Date: Friday, August 17, 2007 14:00
Subject: [Jprogramming] algebra of Indeterminate?
To: [email protected]

> > Using 0j1 also has the disadvantage of converting the
> > whole array to complex, this has a variety of effects
> > none of them very pleasant...
> > 
> > - joey
> > 
> 
> I've been wondering whether the presence of _ or __ in numeric arrays
> has an effect on the underlying typing.  What typing 
> effects occur with
> those values?

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

Reply via email to