Extensions - differentiation, vectors and matrices in JEP


The JEP Extensions offer a number of additional features to the standard JEP package:

These facilities are offered by packages in the org.lsmp.djep tree.


Feature Package (JavaDoc)
Printing org.lsmp.djep.xjep.*
Simplification org.lsmp.djep.xjep.*, and org.lsmp.djep.sjep.*
re-entrant parser org.lsmp.djep.xjep.*
Variables with equations org.lsmp.djep.xjep.*
Macro Functions (functions defined by an equation) org.lsmp.djep.xjep.*
Utilities for examining and modifying the parse trees
org.lsmp.djep.xjep.*
Differentiation

org.lsmp.djep.djep.* (1)

Basic Vectors and Matrices org.lsmp.djep.vectorJep.*
Advanced Vectors and Matrices org.lsmp.djep.matrixJep.* (2)
Calculation over arbitrary groups including exact arithmetic over integers and rationals. org.lsmp.djep.groupJep.*
Fast evaluation. Single valued org.lsmp.djep.rpe.* Matrix and vectors org.lsmp.djep.mrpe.*

Notes: (1) requires the org.lsmp.djep.xjep.* package.
(2) requires the org.lsmp.djep.xjep.*, org.lsmp.djep.djep.* org.lsmp.djep.vectorJep.* packages.

Example applications

A number of example applications can be found in the org.lsmp.djepExamples.* package. Theres fall into two types AssignmentExample, XJepExample, PrintExample, DiffExample, VectorExample, VectorPrint, and MatrixSpeed are simple applications which give examples of different features. The other types of examples are console applications which allow equations to be typed in, these are DJepConsole, VectorConsole, MatrixConsole and GroupConsole.

Some JUnit test are available in the org.lsmp.djepJUnit.* package. These test many features of the packages and illustrate some of the features.

Web pages