Evaluate an arithmetic expression is as simple as:
Double result = new DoubleEvaluator().evaluate("(e^3-1)*sin(pi/4)*ln(pi^2)").

But Javaluator provides you with much more ...

Key features:
- Functions support, including variable argument count.
- Constants support: e, pi, etc ...
- Variables support: Example sin(x) for x = pi/4.
- Highly configurable: Reduce the built-in operator or function sets, define your own brackets.
- Extensible: Define your own grammar, or extends the existing one.
- Localizable: Define localized names for functions or constants.
- Syntax check
- Small footprint: 26kB, no additionnal library required.
- Fully documented

Please visit the project site to learn more : http://javaluator.fathzer.com

If you use Javaluator in your product, we will be happy to add a link to your product in the Javaluator web site. Send an email to javaluator@fathzer.com.

If you think Javaluator is valuable, vote up below.

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow Javaluator

Javaluator Web Site

You Might Also Like
Cloud data warehouse to power your data-driven innovation Icon
Cloud data warehouse to power your data-driven innovation

BigQuery is a serverless and cost-effective enterprise data warehouse that works across clouds and scales with your data.

BigQuery Studio provides a single, unified interface for all data practitioners of various coding skills to simplify analytics workflows from data ingestion and preparation to data exploration and visualization to ML model creation and use. It also allows you to use simple SQL to access Vertex AI foundational models directly inside BigQuery for text processing tasks, such as sentiment analysis, entity extraction, and many more without having to deal with specialized models.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
3
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Very easy to use, and adapt to your particular needs.
  • The Wikipedia page about operator precedence explains Javaluator uses the standard operator precedence (-2^2=-4). Excel or bash shell script use another convention where -2^2=4. This can be set using the DoubleEvaluator.Style class in version 1.2.1. Support is available through the tickets and the discussion tabs.
  • Works great, but it is hard to get help. Maby the javaluator should have had a forum? Minor bug however: -2^2 = -4 (-2)^2 = 4
Read more reviews >

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Mathematics Software, Java Libraries

Registered

2012-08-14