/matrix-calculator

Calculate matrix with python3 in a complete way

Primary LanguagePythonMIT LicenseMIT

Matrix Calculator

Calculate matrix with python3 in a complete way

Usage

python main.py

available commands:

  • add : Count Add 2 Matrix
  • adjoint : Count Adjoint Matrix
  • cancel : Back To Homepage
  • clear : Clear Stored Matrix Data
  • create : Create New Matrix
  • determinant : Count Determinant
  • done : Exit Application
  • exit : Exit Application
  • generate : Generate Random matrix
  • inverse : Inverse Matrix
  • multiply : Count Multiply matrix with matrix or matrix with numeric
  • show : Showing stored matrix
  • subtract : Count Subtract 2 Matrix
  • transpose : Transposing Matrix

simplify commands examples:

  • create:{matrix_name}:{matrix}
create:A:[[0,1],[2,1]]
  • add:{matrix_1_name}:{matrix_2_name}
add:A:B
  • adjoint:{matrix_name}
adjoint:A
  • determinant:{matrix_name}
determinant:A
  • generate:{matrix_name}:{row_count}:{col_count}
generate:A:2:2
  • generate:{matrix_name}:{row_count}:{col_count}:{min_val}
generate:A:2:2:5
  • inverse:{matrix_name}
inverse:A
  • multiply:{matrix_1_name}:{matrix_2_name}
multiply:A:B
  • multiply:{matrix_1_name}:{integer}
multiply:A:5
  • subtract:{matrix_1_name}:{matrix_2_name}
subtract:A:B
  • transpose:{matrix_name}
transpose:A

License license

Copyright © [2021] Robet Atiq Maulana Rifqi. Released under the MIT License.