Skip to content

jasraj-jsa/Generic-Matrix-Library-In-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generic Matrix Library in C++


Currently there is support for

  1. Initialization using vecotrs,other matrices.
  2. Initialization using copy constructor and identity matrix.
  3. Iterator support. 2 types (row major iteration and column major iteration)
  4. Resize
  5. Append row/column
  6. Indexing operator []
  7. Equality Operators == and !=
  8. Cout << operator
  9. Matrix Multiplication
  10. Matrix Addition
  11. Matrix Subtraction
  12. Power of Matrix
  13. Matrix Inverse
  14. Matrix Transpose
  15. Matrix Determinant
  16. Adjoint of a matrix
  17. Cofactor of a matrix
  18. Display function
  19. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published