Mather is a powerful, simple-to-use, no BS expression-based computation engine for Android. Powered by Math.js.
In addition to basic calculator arithmetic, Mather supports...
- Variables
- User-defined functions
- Complex math expression evaluation
- Trigonometric functions
- Unit conversions (and more general unit arithmetic)
- Complex numbers
- Matrices
- and more.
Mather's interface is simple and intuitive. Simply type the expression you want to calculate and then hit the blue eval button to evaluate it. See the Screenshots above for examples of supported expressions.
For input, Mather provides a compact calculator-like keypad with buttons for the numbers 0 through 9, the basic arithmetic operations, and various parentheses and brackets. Additionally, the tap of a button switches to the full Android keyboard so that you can easily type variable names, function names, unit names, etc.
As a shortcut to typing out calculations, tapping on any previous operation copies its contents to the input field. This makes it easy to edit previous operations and access previously defined variables.
To get rid of a previous calculation that may be cluttering your view, simply swipe to the left or right on it to "dismiss" it, like you would notifications. Finally, select Clear
from the menu to clear all calculations and reset all defined variables and functions.
Mather uses the Gradle build system for compilation, dependency, and asset management (including its external dependency on Math.js).
To build a debug version of the app, make sure you have a modern local Gradle installation in addition to the Android SDK and Build Tools. Then run the following. The build has been tested to work with the latest Gradle 3.2
, Android SDK 25
, and Build Tools 25
.
gradle build
Additionally, you may import the repo as a project into Android Studio just like any normal Android project.
Mather is Free Software licensed under the GPLv3+ and makes use of components under different (GPL-compatible) licenses. See COPYING for details.