Skip to content

AlgorithmHunter/SQUAREMATRIXCALCULATOR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Square Matrix Multiplication

This program takes two dimensional arrays which represents the matrices and multiply them together. It go’s through each column of the first matrix one row at a time while multiplying the columns with each matching row of the second matrix one column at a time and adding their products to the total. And add the totals to the corresponding cells of the new matrix and return the new matrix.

Sample Images

Screenshot_2024_11_19-1

Screenshot_2024_11_19-2

Platform / Frameworks:

Net MAUI /XAML

OS:
Android, Windows, and IOS

<style> </style>

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0


 

Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R1C1=R1C1* R1C1+ R1C2*R2C1+ R1C3*R3C1

 

 

C1

C2

C3

R1

123

 

 

R2

 

 

 

R3

 

 

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0


Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R2C1=R2C1* R1C1+ R2C2*R2C1+ R2C3*R3C1

 

 

C1

C2

C3

R1

123

 

 

R2

111

 

 

R3

 

 

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0


Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R3C1=R3C1* R1C1+ R3C2*R2C1+ R3C3*R3C1

 

 

C1

C2

C3

R1

123

 

 

R2

111

 

 

R3

92

 

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0

 

Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R1C2=R1C1* R1C2+ R1C2*R2C2+ R1C3*R3C2

 

 

C1

C2

C3

R1

123

125

 

R2

111

 

 

R3

92

 

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0

 

Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R2C2=R2C1* R1C2+ R2C2*R2C2+ R2C3*R3C2

 

 

C1

C2

C3

R1

123

125

 

R2

111

123

 

R3

92

 

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0

 

Matrix 2

 

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R3C2=R3C1* R1C2+ R3C2*R2C2+ R3C3*R3C2

 

C1

C2

C3

R1

123

125

 

R2

111

123

 

R3

92

70

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0

 

Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R1C3=R1C1* R1C3+ R1C2*R2C3+ R1C3*R3C3

 

 

C1

C2

C3

R1

123

125

117

R2

111

123

 

R3

92

70

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0

 

Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R2C3=R2C1* R1C3+ R2C2*R2C3+ R2C3*R3C3

 

 

C1

C2

C3

R1

123

125

117

R2

111

123

117

R3

92

70

 

 

Matrix 1

 

C1

C2

C3

R1

5

9

6

R2

3

9

6

R3

6

8

0

 

Matrix 2

 

C1

C2

C3

R1

6

1

0

R2

7

8

7

R3

5

8

9

 

R3C3=R3C1* R1C3+ R3C2*R2C3+ R3C3*R3C3

 

 

C1

C2

C3

R1

123

125

117

R2

111

123

117

R3

92

70

56

 

 

 

 

Android Installer:
https://github.com/AlgorithmHunter/AppExecutables/Matrixmultiplier-androidInstaller.zip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages