Error Messages/41052

< Error Messages
Revision as of 02:13, 16 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = The number of columns of A must match the number of rows of B in MatrixMultiply. = Cause = For two matrices, the matrix multiple is only defin…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Message Examples

The number of columns of A must match the number of rows of B in MatrixMultiply. 

Cause

For two matrices, the matrix multiple is only defined if the number of columns of the first matrix is equal to the number of rows of the second matrix. You have passed two matrices to the MatrixMultiply function that does not meet the mentioned rule and so would be undefined.

You may have switched the order of the matrix you are trying to multiply.

Remedies

Correct the matrices passed to the function MatrixMultiply so that the number of columns of the first matrix is equal to the number of rows of the second matrix.




You are not allowed to post comments.

Comments
<comments />