Or using Matrix or Inner Product

 +/ . (*:@:(-"1))

Cheers, bob

> On Feb 20, 2021, at 12:11, Henry Rich <[email protected]> wrote:
> 
> (+/"1)@:*:@:(-"1)

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

Reply via email to