DSA Project Slides in computer science.pptx

umairmalik9090 31 views 16 slides May 28, 2024
Slide 1
Slide 1 of 16
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16

About This Presentation

DSA


Slide Content

Matrix Calculator DSA Project Presented By:

Table of Content 01 Project Overview 03 Functionalities 02 Project Objective

01 Project Overview

The project Matrix Calculator performs various functionalities varying from simple matrix calculations like: A ddition and subtraction C omplex calculations like Inverse of the matrix. The various functionalities included are addition, subtraction, multiplication, determinant, inverse, divide, transpose. Each of the functionality is divided into separate Activity, where each activity is associated with particular type of calculation. Project Overview

02 Project Objective

The objective of the project is to implement a Matrix Calculator that is used to solve the common problems based upon matrices. Matrix calculation is one of the primary concepts taught in mathematics in all the colleges and universities. A well known graphic software Adobe Photoshop on personal computer uses matrices to process linear transformations to render images. Project Objective

03 Functionalities

Matrix Calculator is used to perform various matrix calculations using several member functions. The class uses a combination of different data structures such as arrays, single linked lists, and queues to store and manipulate matrices. It has 7 functionalities which are: Functionalities Addition Subtraction Multiplication Division Determinant Inverse Transpose

The add() function is used to add two matrices and it follows the rule of matrix addition in math that rows and columns of both matrices should be same. This function uses single linked-list with queue to store data of matrices. Example: Addition()

The subtraction() function is used to subtract two matrices and it follows the rule of matrix subtraction in math, that rows and columns of both matrices should be same. This function uses single linked-list with queue to store data of matrices. Example: Subtraction()

The multiplication() function is used to multiply two matrices and it follows the rule of matrix multiplication in math that columns of first matrix should be equal to rows of the second matrix. This function is implemented using arrays and Queue. Example: Multiplication()

The Division() function is used to divide two matrices, but in mathematics, there is no official rule to divide matrices. So, this function uses an indirect method of dividing the matrices by taking the inverse of a matrix and then multiplying it with another matrix. The result will be the division of the two matrices. Example: Division()

The inverse() function is used to calculate the inverse a matrix. The function is implemented using arrays and queue. Example: Inverse()

The determinant() function is used to calculate the determinant of a matrix according to the rules of determinant calculation in mathematics. This function is implemented using arrays and queue. Example: Determinant()

The transpose() function is used to take the transpose of a matrix according to the rule of Matrix. This function is implemented using arrays and queue. Example: Transpose()

Thank You!
Tags