| Package | Description |
|---|---|
| org.apache.commons.math4 |
Common classes used throughout the commons-math library.
|
| org.apache.commons.math4.analysis.differentiation |
This package holds the main interfaces and basic building block classes
dealing with differentiation.
|
| org.apache.commons.math4.complex |
Complex number type and implementations of complex transcendental
functions.
|
| org.apache.commons.math4.dfp |
Decimal floating point library for Java
|
| org.apache.commons.math4.fraction |
Fraction number type and fraction number formatting.
|
| org.apache.commons.math4.linear |
Linear algebra support.
|
| org.apache.commons.math4.ode |
This package provides classes to solve Ordinary Differential Equations problems.
|
| org.apache.commons.math4.ode.nonstiff |
This package provides classes to solve non-stiff Ordinary Differential Equations problems.
|
| org.apache.commons.math4.util |
Convenience routines and common data structures used throughout the commons-math library.
|
| Modifier and Type | Method | Description |
|---|---|---|
Field<T> |
FieldElement.getField() |
Get the
Field to which the instance belongs. |
| Modifier and Type | Method | Description |
|---|---|---|
Field<DerivativeStructure> |
DerivativeStructure.getField() |
Get the
Field to which the instance belongs. |
Field<SparseGradient> |
SparseGradient.getField() |
Get the
Field to which the instance belongs. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ComplexField |
Representation of the complex numbers field.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DfpField |
Field for Decimal floating point instances.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
BigFractionField |
Representation of the fractional numbers without any overflow field.
|
class |
FractionField |
Representation of the fractional numbers field.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected static <T extends FieldElement<T>> |
AbstractFieldMatrix.extractField(T[] d) |
Get the elements type from an array.
|
protected static <T extends FieldElement<T>> |
AbstractFieldMatrix.extractField(T[][] d) |
Get the elements type from an array.
|
Field<T> |
AbstractFieldMatrix.getField() |
Get the type of field elements of the matrix.
|
Field<T> |
ArrayFieldVector.getField() |
Get the type of field elements of the vector.
|
Field<T> |
FieldMatrix.getField() |
Get the type of field elements of the matrix.
|
Field<T> |
FieldVector.getField() |
Get the type of field elements of the vector.
|
Field<T> |
SparseFieldVector.getField() |
Get the type of field elements of the vector.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T extends FieldElement<T>> |
BlockFieldMatrix.createBlocksLayout(Field<T> field,
int rows,
int columns) |
Create a data array in blocks layout.
|
static <T extends FieldElement<T>> |
MatrixUtils.createFieldIdentityMatrix(Field<T> field,
int dimension) |
Returns
dimension x dimension identity matrix. |
static <T extends FieldElement<T>> |
MatrixUtils.createFieldMatrix(Field<T> field,
int rows,
int columns) |
Returns a
FieldMatrix with specified dimensions. |
| Constructor | Description |
|---|---|
AbstractFieldMatrix(Field<T> field) |
Creates a matrix with no data
|
AbstractFieldMatrix(Field<T> field,
int rowDimension,
int columnDimension) |
Create a new
FieldMatrix<T> with the supplied row and column dimensions. |
Array2DRowFieldMatrix(Field<T> field) |
Creates a matrix with no data
|
Array2DRowFieldMatrix(Field<T> field,
int rowDimension,
int columnDimension) |
Create a new
FieldMatrix<T> with the supplied row and column dimensions. |
Array2DRowFieldMatrix(Field<T> field,
T[] v) |
Create a new (column)
FieldMatrix<T> using v as the
data for the unique column of the created matrix. |
Array2DRowFieldMatrix(Field<T> field,
T[][] d) |
Create a new
FieldMatrix<T> using the input array as the underlying
data array. |
Array2DRowFieldMatrix(Field<T> field,
T[][] d,
boolean copyArray) |
Create a new
FieldMatrix<T> using the input array as the underlying
data array. |
ArrayFieldVector(Field<T> field) |
Build a 0-length vector.
|
ArrayFieldVector(Field<T> field,
int size) |
Construct a vector of zeroes.
|
ArrayFieldVector(Field<T> field,
T[] d) |
Construct a vector from an array, copying the input array.
|
ArrayFieldVector(Field<T> field,
T[] d,
boolean copyArray) |
Create a new ArrayFieldVector using the input array as the underlying
data array.
|
ArrayFieldVector(Field<T> field,
T[] d,
int pos,
int size) |
Construct a vector from part of a array.
|
ArrayFieldVector(Field<T> field,
T[] v1,
T[] v2) |
Construct a vector by appending one vector to another vector.
|
BlockFieldMatrix(Field<T> field,
int rows,
int columns) |
Create a new matrix with the supplied row and column dimensions.
|
SparseFieldMatrix(Field<T> field) |
Create a matrix with no data.
|
SparseFieldMatrix(Field<T> field,
int rowDimension,
int columnDimension) |
Create a new
SparseFieldMatrix<T> with the supplied row and column
dimensions. |
SparseFieldVector(Field<T> field) |
Build a 0-length vector.
|
SparseFieldVector(Field<T> field,
int dimension) |
Construct a vector of zeroes.
|
SparseFieldVector(Field<T> field,
int dimension,
int expectedSize) |
Build a vector with known the sparseness (for advanced use only).
|
SparseFieldVector(Field<T> field,
T[] values) |
Create from a Field array.
|
| Modifier and Type | Method | Description |
|---|---|---|
Field<T> |
AbstractFieldIntegrator.getField() |
Get the field to which state vector elements belong.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected T[][] |
FieldODEState.copy(Field<T> field,
T[][] original) |
Copy a two-dimensions array.
|
| Constructor | Description |
|---|---|
AbstractFieldIntegrator(Field<T> field,
String name) |
Build an instance.
|
MultistepFieldIntegrator(Field<T> field,
String name,
int nSteps,
int order,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Build a multistep integrator with the given stepsize bounds.
|
MultistepFieldIntegrator(Field<T> field,
String name,
int nSteps,
int order,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Build a multistep integrator with the given stepsize bounds.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T extends RealFieldElement<T>> |
AdamsNordsieckFieldTransformer.getInstance(Field<T> field,
int nSteps) |
Get the Nordsieck transformer for a given field and number of steps.
|
| Constructor | Description |
|---|---|
AdamsBashforthFieldIntegrator(Field<T> field,
int nSteps,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Build an Adams-Bashforth integrator with the given order and step control parameters.
|
AdamsBashforthFieldIntegrator(Field<T> field,
int nSteps,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Build an Adams-Bashforth integrator with the given order and step control parameters.
|
AdamsFieldIntegrator(Field<T> field,
String name,
int nSteps,
int order,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Build an Adams integrator with the given order and step control parameters.
|
AdamsFieldIntegrator(Field<T> field,
String name,
int nSteps,
int order,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Build an Adams integrator with the given order and step control parameters.
|
AdamsMoultonFieldIntegrator(Field<T> field,
int nSteps,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Build an Adams-Moulton integrator with the given order and error control parameters.
|
AdamsMoultonFieldIntegrator(Field<T> field,
int nSteps,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Build an Adams-Moulton integrator with the given order and error control parameters.
|
AdaptiveStepsizeFieldIntegrator(Field<T> field,
String name,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Build an integrator with the given stepsize bounds.
|
AdaptiveStepsizeFieldIntegrator(Field<T> field,
String name,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Build an integrator with the given stepsize bounds.
|
ClassicalRungeKuttaFieldIntegrator(Field<T> field,
T step) |
Simple constructor.
|
DormandPrince54FieldIntegrator(Field<T> field,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Simple constructor.
|
DormandPrince54FieldIntegrator(Field<T> field,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Simple constructor.
|
DormandPrince853FieldIntegrator(Field<T> field,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Simple constructor.
|
DormandPrince853FieldIntegrator(Field<T> field,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Simple constructor.
|
EmbeddedRungeKuttaFieldIntegrator(Field<T> field,
String name,
int fsal,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Build a Runge-Kutta integrator with the given Butcher array.
|
EmbeddedRungeKuttaFieldIntegrator(Field<T> field,
String name,
int fsal,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Build a Runge-Kutta integrator with the given Butcher array.
|
EulerFieldIntegrator(Field<T> field,
T step) |
Simple constructor.
|
GillFieldIntegrator(Field<T> field,
T step) |
Simple constructor.
|
HighamHall54FieldIntegrator(Field<T> field,
double minStep,
double maxStep,
double[] vecAbsoluteTolerance,
double[] vecRelativeTolerance) |
Simple constructor.
|
HighamHall54FieldIntegrator(Field<T> field,
double minStep,
double maxStep,
double scalAbsoluteTolerance,
double scalRelativeTolerance) |
Simple constructor.
|
LutherFieldIntegrator(Field<T> field,
T step) |
Simple constructor.
|
MidpointFieldIntegrator(Field<T> field,
T step) |
Simple constructor.
|
RungeKuttaFieldIntegrator(Field<T> field,
String name,
T step) |
Simple constructor.
|
ThreeEighthesFieldIntegrator(Field<T> field,
T step) |
Simple constructor.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
BigRealField |
Representation of real numbers with arbitrary precision field.
|
class |
Decimal64Field |
The field of double precision floating-point numbers.
|
| Modifier and Type | Method | Description |
|---|---|---|
Field<BigReal> |
BigReal.getField() |
Get the
Field to which the instance belongs. |
Field<Decimal64> |
Decimal64.getField() |
Get the
Field to which the instance belongs. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T> T[] |
MathArrays.buildArray(Field<T> field,
int length) |
Build an array of elements.
|
static <T> T[][] |
MathArrays.buildArray(Field<T> field,
int rows,
int columns) |
Build a double dimension array of elements.
|
| Constructor | Description |
|---|---|
OpenIntToFieldHashMap(Field<T> field) |
Build an empty map with default size and using zero for missing entries.
|
OpenIntToFieldHashMap(Field<T> field,
int expectedSize) |
Build an empty map with specified size and using zero for missing entries.
|
OpenIntToFieldHashMap(Field<T> field,
int expectedSize,
T missingEntries) |
Build an empty map with specified size.
|
OpenIntToFieldHashMap(Field<T> field,
T missingEntries) |
Build an empty map with default size
|
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.