JEP - Java Mathematical Expression Parser
JEP is a Java API for parsing and evaluating mathematical expressions. With this library you can allow your users to enter an arbitrary formula as a string, and instantly evaluate it. JEP supports user defined
Tutorial Details:
Features
Small size (only 75KB as jar archive)
Supports Boolean expressions (!, &&, ||, <, >, !=, ==, >=, and <=)
Fast evaluation (the expression can be evaluated quickly for different variable values)
Includes common math functions
Extendable through user defined functions
Predefined constants such as 'pi' and 'e'
Support for strings, complex numbers, and vectors
Support for implicit multiplication (allows use of expressions such as "3x" instead of "3*x")
Allows choice between declared and undeclared variables
Java 1.2 compatible (cross-compiled with Sun JDK 1.2.2)
Supports Unicode characters (including Greek symbols)
Includes JavaCC grammar from which the main classes are generated
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: JEP - Java Mathematical Expression Parser
View Tutorial: JEP - Java Mathematical Expression Parser
Related
Tutorials:
Test infect your
Enterprise JavaBeans - JavaWorld May 2000
Test infect your
Enterprise JavaBeans - JavaWorld May 2000 |
XML documents on
the run, Part 2
XML documents on
the run, Part 2 |
Navigate data with the Mapper framework
Navigate data with the Mapper framework |
Mantissa
Mantissa (Mathematical Algorithms for Numerical Tasks In Space System Applications)
Overview
Mantissa is a collection of various mathematical tools aimed towards for simulation. It is not a complete mathematical library like GSL, NAG or IMSL, but it con |
XML Document Validation with an XML Schema
This tutorial explains the procedure of validating an XML document with an XML schema. |
JFindReplace
JFindReplace is a "find and replace" swing component working with various options (regulation expression, incremental mode...) and standard text components like JTextArea, JTextPane, JEditorPane.... |
Lucene in Action
Lucene in Action
Lucene is a gem in the open-source world--a highly scalable, fast search engine. It delivers performance and is disarmingly easy to use. Lucene in Action is the authoritative guide to Lucene. It describes how to index your data, includin |
Chat Transcript: JSP 2.1 Technology and JSF 1.2 Technology
The next release of JavaServer Pages (JSP) technology, JSP 2.1, and the next release of JavaServer Faces (JSF) technology, JSF 1.2, are designed to improve the alignment of these two technologies in the area of expression language, and to enhance their ea |
Adding search to your applications
The Lucene search engine is an open source, Jakarta project used to build and search indexes. Lucene can index any text-based information you like and then find it later based on various search criteria. |
Parsing an XML Document with XPath
The getter methods in the org.w3c.dom package API are commonly used to parse an XML document. But J2SE 5.0 also provides the javax.xml.xpath package to parse an XML document with the XML Path Language (XPath) .
|
Janino -- an Embedded JavaTM Compiler
Janino is a compiler that reads a JavaTM expression, block, class body, source file or a set of source files, and generates JavaTM bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for |
JSP date example
JSP date example
JSP Date Example
Till now you learned about the JSP syntax, now I will show you how to create a simple dynamic JSP page that prints the current date and time. So the following code accomplish this:
<%@page contentType="text/html" |
Urchin RSS Aggregator
Urchin is a Web based, customisable, RSS aggregator and filter. It\'s primary purpose is to allow the generation of new RSS feeds by running queries against the collection of items in the Urchin database. |
|
|
|