[Jprogramming] averages of non-zero elements of matrices
Brian Schott
schott.brian at gmail.com
Thu Dec 3 00:21:51 HKT 2009
Bob,
Please give your desired output with the example, because your problem
specification is a little ambigous, especially with your definition of
mask, because its leftmost entry has only 4 elements and does not
agree with your stated result.
On Wed, Dec 2, 2009 at 11:11 AM, Robert O'Boyle <bcubed at accesswave.ca> wrote:
>
>
>
> mask=. 0 1 1 1, 1 1 1 1 1, 0 0 0 0 0,: 1 1 1 1 0
>
[snip]
> Which properly identifies the row entries but shifts row 0 to the left by
> one.
>
>
>
--
(B=) <-----my sig
Brian Schott
More information about the Programming
mailing list