DA Lab 6. - Matrix Operations
DA Lab 6. - Matrix Operations
PR OGRAM-6:
AIM:
TO GET THE INPUT MATRIX FROM USER AND PERFORM MATRIX ADDITION,
SUBTRACTION, MULTIPLICATION, INVERSE TRANSPOSE AND DIVISION OPERATIONS
USING VECTOR CONCEPT IN PYTHON
Flowchart:
Code:
Output:
CONCLUSION:
• We get to know the concepts of “numpy” python module & how to use it for
matrix Operations
Practice-Program:
Output:
CONCLUSION:
• We get to understand how to implement a single matrix & a multiple matrices
using python
• We get to understand how to print a simple matrix and how to take the matrix
input values directly from the users
• We get to understand the concept of “numpy” python library and how we can
use it to implement matrix more easily & efficiently.
• We get to understand how to use few predefined functions of numpy library
• We get to understand how to perform Addition, Subtraction, Multiplication,
Inverse Transpose and Division Operations in between two matrices in python
• We get to understand how the loops working in-order to print the desired results