Changes

Jump to navigation Jump to search
Line 11: Line 11:  
*i.e Multiply the elements of each row of 1st matrix by elements of each column of 2nd matrix.  
 
*i.e Multiply the elements of each row of 1st matrix by elements of each column of 2nd matrix.  
 
*So the resultant matrix is of the order: Rows of 1st matrix × Columns of 2nd.  
 
*So the resultant matrix is of the order: Rows of 1st matrix × Columns of 2nd.  
*For e.g If we multiply a 4x2 matrix with a 2x3 matrix, the product matrix is of order 4x3 .  
+
*For e.g If we multiply a 4x2 matrix with a 2x3 matrix, the product matrix is of order 4x3.
 +
*Matrix multiplication satisfies the associative and distributive properties.
 +
*But it is not satisfies the commutative property. 
 
*This function will give the result as error when:  
 
*This function will give the result as error when:  
 
  The number of columns in the 1st matrix is not equal to number of rows in the 2nd matrix.
 
  The number of columns in the 1st matrix is not equal to number of rows in the 2nd matrix.
writer
6,694

edits

Navigation menu