Skip to content

rarosfp/Linear_Algebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear Algebra

Linear Algebra is my first attempt to upload programs in the Python programming language. I create the same tools in the domain of linear algebra in this repository.

You can learn more about linear algebra at the following URLs:

https://en.wikipedia.org/wiki/Linear_algebra

https://www.britannica.com/science/linear-algebra

Matrix Multiplication Program

In the first program named mat_mult.py, I made a program in which the users enter the dimensions of the matrices they want to multiply, and the program examines whether the multiplication of matrices is done and outputs the result with the corresponding new dimensions.

You can learn more about matrix multiplication at the following URLs:

https://en.wikipedia.org/wiki/Matrix_multiplication

https://www.mathsisfun.com/algebra/matrix-multiplying.html

UPDATE NEW BETA (v-03):

--Fixed a bug in program termination

Matrix Multiplication with Number Program

Matrix Determinant Program

In this program named det_of_matrix.py. I made a program in which users enter the dimensions of the tables they want, and the program builds the table based on the dimensions given by the user. And then it finds the determinant for each matrix. Also, the program examines whether the user has correctly entered the elements of the table; if not, it asks him to enter them correctly based on the dimensions.

You can learn more about Matrix Determinant at the following URLs:

https://en.wikipedia.org/wiki/Determinant

https://www.mathsisfun.com/algebra/matrix-determinant.html

UPDATE NEW BETA (v-02):

--Fixed a bug in program termination

Matrix Addition Program

This program is named mat_addition.py. I made a program in which users enter the dimensions of the tables they want, and the program builds the table based on the dimensions given by the user. and then calculate a new matrix with the addition of the values of each matrix. Also, the program examines whether the user has correctly entered the elements of the table; if not, it asks him to enter them correctly based on the dimensions. Finally, the program examines the dimensions of the matrix; the matrix must have the same dimensions in order to continue in addition. 

You can learn more about Matrix Addition at the following URLs:

https://en.wikipedia.org/wiki/Matrix_addition

https://stattrek.com/matrix-algebra/matrix-addition

UPDATE NEW BETA (v-02):

--Fixed a bug in program termination

Required python modules

Make sure you have the following python packages installed before running the application:

numpy (https://pypi.org/project/numpy/)

Following projects

The projects that follow will concentrate on the inversion of a matrix as well as reading program files with data and creating matrices of the databases.

About

the file test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages