Skip to content

A C program for matrix operations such as addition, subtraction, multiplication, determinant, inverse, rank and eigen values.

Notifications You must be signed in to change notification settings

kunalyeole25/MatrixCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Matrix Calculator in C

This is a simple C program that allows you to perform various matrix operations, including addition, subtraction, multiplication, determinant calculation, inverse calculation, rank determination, and eigenvalue calculation for square matrices.

Getting Started

To use this program, you need to have a C compiler installed on your system.

  1. Clone or download this repository.
  2. Compile the C program using your preferred C compiler.
  3. Run the compiled program in your terminal or command prompt.

Usage

  1. The program will prompt you to enter the order of the matrix A.
  2. You'll need to provide the elements of matrix A.
  3. Choose one of the following operations:
    • Addition
    • Subtraction
    • Multiplication
    • Determinant Calculation
    • Inverse Calculation
    • Rank Determination
    • Eigenvalue Calculation
  4. Follow the on-screen instructions for each operation.

Supported Matrix Operations

  • Matrix Addition
  • Matrix Subtraction
  • Matrix Multiplication
  • Determinant Calculation (for square matrices)
  • Inverse Calculation (for square matrices)
  • Rank Determination
  • Eigenvalue Calculation (for square matrices)

Note

  • The program supports square matrices only for determinant calculation, inverse calculation, and eigenvalue calculation.
  • Some operations may have restrictions, and the program will notify you if the operation is not possible.

Feel free to use and modify this program as needed. If you encounter any issues or have suggestions for improvement, please create an issue or pull request.

Happy matrix calculations!

About

A C program for matrix operations such as addition, subtraction, multiplication, determinant, inverse, rank and eigen values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages