0 = {:@+.  is the obvious test.  I'm sure there are more efficient methods 
leveragng complex arithmetic.

Note this is one of the phrases where the difference btwn @ and @: is relevant, 
and the former is what we want, as opposed to the more common latter.

Check out load 'validat' (no e).  Or open the script.


-Dan


Please excuse typos; composed on a handheld device.

-----Original Message-----
From: Kip Murray <k...@math.uh.edu>
Sender: programming-boun...@jsoftware.com
Date: Fri, 08 Oct 2010 15:48:12 
To: <programming@jsoftware.com>
Reply-To: Programming forum <programming@jsoftware.com>
Subject: [Jprogramming] Real Array

Is there a way to test whether an array is real, i.e., numeric and not 
imaginary, without using 3!:0 ?  Where are such tests found?  --Kip Murray
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to