This project is a program written in the C programming language that allows dynamic manipulation of multiple matrices with variable dimensions. It provides the ability to perform basic matrix operations such as:
- Matrix addition
- Matrix subtraction
- Matrix multiplication (for two matrices only) The program handles secure user input, dynamic memory allocation, and proper resource deallocation.
- Input of the number of matrix
- Dynamic input of the number of lines and columns for each matrix.
- User input validation (secure scanf)
- Dynamic memory allocation
- Memory error handling
- Formatted matrix display
- User input validation
- Memory allocation checks
- Complete memory deallocation before program termination.
- Add multiplication of multiple matrix
- Add operations:
- Transpose
- Determinant
- Inverse
- Language: C
- Compiler: GCC or any standard C compiler.
To execute the program, you need to compile the following files:
- main.c
- MATRIX_FUNCTION.c
- MATRIX_FUNCTION.h
This project is licensed under the GNU GPLv3 License. See License for details.