Currently there is support for
- Initialization using vecotrs,other matrices.
- Initialization using copy constructor and identity matrix.
- Iterator support. 2 types (row major iteration and column major iteration)
- Resize
- Append row/column
- Indexing operator []
- Equality Operators == and !=
- Cout << operator
- Matrix Multiplication
- Matrix Addition
- Matrix Subtraction
- Power of Matrix
- Matrix Inverse
- Matrix Transpose
- Matrix Determinant
- Adjoint of a matrix
- Cofactor of a matrix
- Display function
- Scalar Addition, Multiplication, Subtraction and Division
To use this library include the matrix_library.h file in your code.
Execution is done in execute.cpp
To start the execution type
make
./matrix
Matrices used are present in initializations_input.txt and operations_input.txt.
To test on your own matrices, please change the matrix in those respective files