Skip to content

Programs that perform operations and calculations with matrices.

Notifications You must be signed in to change notification settings

elifacr/Matrix-Operations-and-Calculations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Operations and Calculations

Performs operations and calculations on matrices.

This repository contains:

  • Multiplies 2 matrices entered by the user and prints the resulting matrix to the screen.

    • Addition Operation in Matrices

      It performs addition with 2 matrices entered by the user and prints the sum of these matrices on the screen.
    • Subtraction Operation in Matrices

      It performs subtraction with 2 matrices entered by the user and prints the difference of these matrices on the screen.
  • Finds the transpose matrix of the entered matrix.

  • Creates a identity matrix of the desired size.

  • Calculates the determinant of the entered matrix.

    • If the dimension of the matrix is ​​2:

      A = {{a, b,}, {c, d}}
      det(A) = ad - bc

      Calculates the determinant using the method above.

    • If the dimension of the matrix is ​​greater than 2:

      Calculates the determinant using the cofactor expansion method.

  • Calculates the trace of the matrix and prints it to the screen.

  • Square matrices whose symmetric elements are equal to each other with respect to their main diagonal are called symmetric matrices.

    This program checks whether the matrix is ​​symmetric or not and gives the result as screen output.

  • Multiplies a matrix by a scalar number and prints the result to the screen.

  • Depending on the selection, all three elementary row operations can be performed on the entered matrix and the result is printed on the screen.

    Elementary Row Operations:

    • Exchange any two rows.
    • Multiply any row by a constant.
    • Add a multiple of one row to another row.

About

Programs that perform operations and calculations with matrices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published