See: Description
Interface  Description 

IntegerConvertor 
Defines fields which can convert numbers to or from integers.

Class  Description 

AbstractComparativeField 
An abstract base class for fields where comparison methods are implemented using a single
cmp(a,b) method. 
BigDecimalField 
Implementation of field methods using BigDecimals

BigIntegerField 
An implementation using BigInteger.

BigIntegerNumberFactory 
A number factory to create BigInteger numbers

BigIntegerToRationalDecorator 
Converts BigIntegers, Long, Integer and Short to Rationals on input.

BigModulusField 
A field to work with modulus values of any value, used BigInteger.

BooleanField 
Facilitates standard Boolean logical operations.

ComplexField 
A Field which operates on Complex objects.

ComplexNumberFactory 
Parse all numeric strings as
Complex . 
DoubleField 
A double field where all input must be double and all output is double.

ExactIntegerField 
A integer field where results are always integers and Exceptions are thrown
on error.

FieldDecorator 
Abstract base class for Decorators used to convert the inputs and outputs of a field operation.

GenericField<E> 
Abstractgeneric base class where the typevariable specifies the arguments and return type.

GenericPowerField<E> 
Provides a standard
E powI(E l, Integer r) method for integer powers. 
IntDoubleNumberFactory 
Where possible numbers are converted to Integer otherwise Double.

IntegerField 
A integer field where overflows are ignored.

IntegerNumberFactory 
Where possible numbers are converted to Integer otherwise Double.

IntegerToBigIntegerDecorator 
A FieldDecorator which converters Integer/Long/Short to BigIntegers on input,
and optionally BigIntegers to Integers on output when there is no loss of precision.

LongDoubleNumberFactory 
Where possible numbers are converted to Long otherwise Double.

LongField 
A field where all operations are implemented using Long.

ModulusField 
A field to work with small modulus values < 46341.

NumberAsBooleanField 
Treat Numbers as boolean values in And &&, Or  and Not !

NumberToComplexDecorator 
Convert all Number types to Complex, and optionally convert result to Doubles if possible.

NumberToDoubleDecorator 
Decorator which converts all Number types to Double.

PowerImplementations 
Fast static routines for calculating powers.

Rational 
A rational number represented as the quotient of two BigIntegers.

RationalField 
A field which works with unlimited precision rational numbers, represented as
the quotient of two BigIntegers.

RationalNumberFactory 
Creates
Rational numbers. 
ShortField 
A integer field where overflows are ignored.

SimpleNumberFactory 
A simplified base number factory class.

StandardField 
A Field implementation using the default Jep methods for evaluation.

StringField 
String concatenation, and comparison

Standard FieldI implementations, and utility classes for construction implementations.
Rational
com.singularsys.jep.standard.Complex
DoubleField
Double
s.
IntegerField
Integer
s,
ExactIntegerField
Integer
s and the new
addExact(int,int) etc.
of java.lang.Math methods of Java 1.8. These throw ArithmeticException if results overflow. The Jep implementation wrap these exceptions in
EvaluationExceptions.
BigIntegerField
BigInteger
s
BigDecimalField
BigDecimal
s. Can be set to use a specific NumberContext
to set the level of accuracy required.
RationalField
BigIntegers
,
and implemented using the
Rational
datatype.
ComplexField
ModulusField
BigModulusField
BooleanField
StringField
Classes which implement NumberFactory
used
to parse string representations of numbers.
IntegerNumberFactory
Integer
s.
com.singularsys.jep.standard.DoubleNumberFactory
Double
s.
IntDoubleNumberFactory
Integer
s or Double
s depending
on the string.
LongDoubleNumberFactory
Long
s or Double
s depending
on the string.
RationalNumberFactory
Rational
s.
ComplexNumberFactory
Complex
s.
BigIntegerNumberFactory
BigInteger
s.
com.singularsys.jep.bigdecimal.BigDecNumberFactory
BigDecimals
s.
Classes which perform type conversion. These extend the abstract base class
FieldDecorator
.
NumberToDoubleDecorator
NumberToComplexDecorator
IntegerToBigIntegerDecorator
BigIntegerToRationalDecorator
Used to make the construction of Fields easier.
AbstractComparativeField
eq(l,r), ne(l,r), gt(l,r), ge(l,r), lt(l,r), ge(l,r)
are replaced by a single method Integer cmp(l,r)
which compare two numbers.GenericField<E>
E cast(Object l)
to convert input to the desired type and
methods E addG(E,E)
etc. which just use the specified type. There is node
need to implement the Object add(Object,Object)
methods.
GenericPowerField<E>
The PowerImplementations
class provides
static methods for calculating integer powers of integers, longs and doubles.
Copyright © 2018 Singular Systems http://www.singularsys.com/jep