Re: [Jprogramming] Testing equality of arrays

2014-07-17 Thread 'Pascal Jasmin' via Programming
you want -: not =    (2 2 $ i.4)-: i. 2 2 1 - Original Message - From: Jon Hough To: [email protected] Cc: Sent: Thursday, July 17, 2014 10:26:30 PM Subject: [Jprogramming] Testing equality of arrays Firstly, sorry, I am typing on my phone. There may be spelling errors. I

Re: [Jprogramming] Testing equality of arrays

2014-07-17 Thread Kip Murray
Use Match -: . 1 2 3 -: 1 2 3 1 http://www.jsoftware.com/jwiki/Vocabulary/minusco#dyadic On Thursday, July 17, 2014, Jon Hough wrote: > Firstly, sorry, I am typing on my phone. There may be spelling errors. > > I am trying to test eqaulity of multidimension arrays. > I.e checkif array A is

[Jprogramming] Testing equality of arrays

2014-07-17 Thread Jon Hough
Firstly, sorry, I am typing on my phone. There may be spelling errors. I am trying to test eqaulity of multidimension arrays. I.e checkif array A is elementwise equal to array B. Problem is the answer is always an array of 1 and 0, because each element is checked against its corresponding eleme