Package org.jscience.mathematics.function
Provides support for fairly simple symbolic math analysis (to solve algebraic equations, integrate, differentiate, calculate expressions, and so on).
Functions
defined in this package
can be multivariate
and operate on various kind of objects such as physical measurements,
vectors, matrices, all types of numbers or even the functions
themselves (functions of functions)!
Here is an example using complex
polynomial
functions:[code]
// Defines two local variables (x, y).
Variable
-
Interface Summary Interface Description Interpolator<P,V> This interface represents an estimator of the values at a certain point using surrounding points and values.Variable<X> This interface represents a symbol on whose value aFunction
depends. -
Class Summary Class Description Constant<R extends Ring<R>> This class represents a constant function (polynomial of degree 0).DiscreteFunction<X,Y> This class represents a function defined from a mapping betweem two sets (points and values).Function<X,Y> This abstract class represents a mapping between two sets such that there is a unique element in the second set assigned to each element in the first set.Interpolator.Linear<F extends Field<F>> This class represents a linear interpolator forfield
instances (point and values from the same field).Polynomial<R extends Ring<R>> This class represents a mathematical expression involving a sum of powers in one or morevariables
multiplied by coefficients (such asx² + x·y + 3y²
).RationalFunction<F extends Field<F>> This class represents the quotient of twoPolynomial
, it is also afield
(invertible).Term This class represents the term of apolynomial
such asx·y²
.Variable.Global<X> This class represents a simpleVariable
implementation withcontext-local
values.Variable.Local<X> This class represents a simpleVariable
implementation for functions not shared between threads (non static). -
Exception Summary Exception Description FunctionException Thrown when a function operation cannot be performed.