On Wed, Aug 20, 2014 at 10:42 AM, Mike Day <[email protected]> wrote:
> 1.  Nc = C.Nb.CT is scalar, and therefore NcI is also scalar.
...
> Please note that scalar part-expressions could be moved around, and they may 
> be applied with a simple * verb.
> I haven't done that here.

Note that expressing these values as J scalars instead of a 1x1
matrices means you *must* use * to combine them instead of +/ .*

Here is why:

   (i.3 1)+/ .* 1 1$1
0
1
2
   (i.3 1)+/ .*1
0 1 2
   (i.3 1)*1
0
1
2

If you do it wrong, you will get a length error.

Thanks,

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

Reply via email to