WaseemRakab / MatrixProject

Matrix Operations Commands In C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MatrixProjectC

Matrix Operations on a 4X4 Matrixes C

Matrixes IDs from A to F Documentions: Allowed Commands:

  1. read_mat [A-F] [numbers separated with commas] : input matrix
  2. print_mat [A-F] : prints current matrix
  3. add_mat [A-F],[A-F] : summarizes two matrixes and prints result
  4. add_mat [A-F],[A-F],[A-F] : summarizes first two matrixes and outputs the result in the third matrix
  5. sub_mat [A-F],[A-F] : substracts two matrixes and prints result
  6. sub_mat [A-F],[A-F],[A-F] : substracts two matrixes and outputs the result in the third matrix
  7. mul_scalar [A-F],[doubleNumber] : multiply current matrix with the scalar and prints result
  8. mul_scalar [A-F],[doubleNumber],[A-F] : multiply current matrix with the scalar and outputs the result in the second matrix
  9. trans_mat [A-F] : transposes current matrix and prints result
  10. trans_mat [A-F],[A-F] : transposes current matrix and outputs result in the second matrix
  11. stop : stops running program.

About

Matrix Operations Commands In C


Languages

Language:C 100.0%