n-arms / math-parser

A library to take in a string and output a mathematical result, as well as acting as a Computer Algebra System.
0 stars 0 forks source link

Add specific return type #9

Open n-arms opened 3 years ago

n-arms commented 3 years ago

Description

Instead of having a hard evaluation (<ExpressionSyntax.approximate()>) return an instance of Java.lang.Object, it would make sense to return a custom return type, especially to help with complex numbers (#4 ).

Implementation

The return type would need to support: