Skip to content
Prev 274134 / 398506 Next

matrix multiplication

On 12/10/11 09:11, flokke wrote:
first ***MATRIX***
second ***MATRIX***
No it isn't!!!  Your ``factorial3'' has ***one*** row, and
     ``meanA'' has ***two*** columns.  So the arrays are
     not conformable, just like the error message says!

     There are three sorts of people; those who can count,
     and those who can't!
Try it with two ***rows*** for factorial3!!!

     And watch those spaces in names.  They don't belong.
To repeat:  (1 x 2) times (1 x 1) doesn't work.
Note that (n x 2) times (2 x m) *does* work, and gives an (n x m) result.

     cheers,

         Rolf Turner