Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 472 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 472 Bytes

Math-Evaluator

Evaluates Mathematical expressions from String form.

Supports Addition (+), Subtraction (-), Multiplication (*), Division (/) and Exponents (^). Also supports concise (co-efficient style) multiplication ( n(y) == n * y ).

Also supports a range of common prefix functions like sin(expression) and so on.

Using it is simple, just call Evaluator.eval(String)

Likewise, you can check the validity of a syntax using Evaluator.isValidSyntax(String)