| Package | Description |
|---|---|
| org.jscience.mathematics.function |
Provides support for fairly simple symbolic math analysis
(to solve algebraic equations, integrate, differentiate, calculate
expressions, and so on).
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Variable.Global<X>
This class represents a simple
Variable implementation with
context-local values. |
static class |
Variable.Local<X>
This class represents a simple
Variable implementation for
functions not shared between threads (non static). |
| Modifier and Type | Method and Description |
|---|---|
Variable<?> |
Term.getVariable(int index)
Returns the variable at the specified index (variables are
lexically ordered).
|
Variable<X> |
Function.getVariable(String symbol)
Retrieves the variable from this function having the specified
symbol (convenience method).
|
| Modifier and Type | Method and Description |
|---|---|
List<Variable<X>> |
DiscreteFunction.getVariables() |
abstract List<Variable<X>> |
Function.getVariables()
Returns a lexically ordered list of the variables (or arguments)
for this function (empty list for constant functions).
|
List<Variable<R>> |
Polynomial.getVariables() |
List<Variable<F>> |
RationalFunction.getVariables() |
| Modifier and Type | Method and Description |
|---|---|
RationalFunction<F> |
RationalFunction.differentiate(Variable<F> v) |
Polynomial<R> |
Polynomial.differentiate(Variable<R> v) |
Function<X,Y> |
Function.differentiate(Variable<X> v)
Returns the first derivative of this function with respect to
the specified variable.
|
int |
Polynomial.getOrder(Variable<R> v)
Returns the order of this polynomial for the specified variable.
|
int |
Term.getPower(Variable<?> v)
Returns the power of the specified variable.
|
Polynomial<R> |
Polynomial.integrate(Variable<R> v) |
Function<X,Y> |
Function.integrate(Variable<X> v)
Returns an integral of this function with respect to
the specified variable.
|
static <R extends Ring<R>> |
Polynomial.valueOf(R coefficient,
Variable<R> variable)
Returns an univariate polynomial of degree one with the specified
coefficient multiplier.
|
static Term |
Term.valueOf(Variable<?> v,
int n)
Return the term corresponding to the specified variable raised to
the specified power.
|
| Constructor and Description |
|---|
DiscreteFunction(SortedMap<X,Y> pointValues,
Interpolator<X,Y> interpolator,
Variable<X> variable)
Creates the discrete function for the specified point-value entries.
|