Skip to content

This repository contains C and C++ programs for matrix operations. The C++ program is a matrix calculator that performs addition, subtraction, multiplication, scalar multiplication, scalar division, and transposition. The C program defines functions for these operations.

License

Notifications You must be signed in to change notification settings

Abhrankan-Chakrabarti/Interactive-Matrix-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Operations C and C++ Programs

This repository contains C and C++ programs for performing various operations on matrices. The programs provide a simple command-line interface for users to interact with matrices and perform operations such as addition, subtraction, multiplication, scalar multiplication, scalar division, and transposition.

Programs

Matrix Calculator (C++ - matrix_calculator.cpp)

This C++ program implements a basic matrix calculator that allows users to perform operations on matrices, including addition, subtraction, multiplication, scalar multiplication, scalar division, and transposition. The program provides a menu-driven interface for users to select and perform operations on matrices.

Matrix Operations Functions (C - matrix_operations.c)

This C program defines functions for performing matrix operations such as addition, subtraction, multiplication, scalar multiplication, scalar division, and transposition. These functions can be reused in other programs or projects that require matrix operations.

How to Use

  1. Clone the repository to your local machine.

  2. Compile the C++ program using a C++ compiler (e.g., g++) and the C program using a C compiler (e.g., gcc):

    g++ -o matrix_calculator matrix_calculator.cpp
    gcc -o matrix_operations matrix_operations.c
  3. Run the executables:

    ./matrix_calculator
    ./matrix_operations
  4. Follow the on-screen instructions to perform matrix operations.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to explore and use these programs for your projects or learning purposes. If you have any questions or suggestions, please open an issue or reach out to the repository maintainer.

About

This repository contains C and C++ programs for matrix operations. The C++ program is a matrix calculator that performs addition, subtraction, multiplication, scalar multiplication, scalar division, and transposition. The C program defines functions for these operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published