RoboMico / Mathia

A command-line tool emulator for mathematical functions and etc. (Starter project)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mathia Alpha v0.0.6

A command-line–like tool for mathematical operations.

To-do

  • Create a better algorithm of aggregating like terms for polynomials. (Remember to delete terms whose coefficient is 0!)
  • Construction of a Polynomial using numbers doesn't work yet. (Partially implemented with poly_parse_array)
  • Change to_string() such that it does not display 1 coefficients, and displays negative numbers properly (i.e. 3 x^2 - 5 x instead of 3 x^2 + -5 x).
  • Create a function to parse string into Polynomial.
  • Modify polyDivide so that it displays the procedure line-by-line.
  • Fix the issue with arithmetic operations (9+2-9 returning - as the result.)
  • Commands def and rcl are functional now, but variables still cannot be used in calc.

Future ideas

  • Implement class Matrix, for matrix calculations.
  • Cubic equations and quadratic equations, based on polynomials.
  • Coming soon...

About

A command-line tool emulator for mathematical functions and etc. (Starter project)


Languages

Language:C++ 66.3%Language:Shell 27.8%Language:Perl 6.0%