Write an algorithm to multiply two 2-Dimensional array?

Long Answer
Views 1814

Answer:

Multiplication of two matrixes:
Rule: Multiplication of two matrixes is only possible if first matrix has size m X n and other matrix has size n x r. Where m, n and r are any positive integer.

Multiplication of two matrixes is defined as:

Where 1 ? i ? m and 1 ? j ? n


For example:
Suppose two matrixes A and B of size of 2 x 2 and 2 x 3 respectively:

Here A is a two

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Data Structure, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.