Package | Description |
---|---|
org.apache.commons.math3 |
Common classes used throughout the commons-math library.
|
org.apache.commons.math3.analysis.differentiation |
This package holds the main interfaces and basic building block classes
dealing with differentiation.
|
org.apache.commons.math3.complex |
Complex number type and implementations of complex transcendental
functions.
|
org.apache.commons.math3.dfp |
Decimal floating point library for Java
|
org.apache.commons.math3.fraction |
Fraction number type and fraction number formatting.
|
org.apache.commons.math3.linear |
Linear algebra support.
|
org.apache.commons.math3.util |
Convenience routines and common data structures used throughout the commons-math library.
|
Modifier and Type | Method and Description |
---|---|
Field<T> |
FieldElement.getField()
Get the
Field to which the instance belongs. |
Modifier and Type | Method and Description |
---|---|
Field<SparseGradient> |
SparseGradient.getField()
Get the
Field to which the instance belongs. |
Field<DerivativeStructure> |
DerivativeStructure.getField()
Get the
Field to which the instance belongs. |
Modifier and Type | Class and Description |
---|---|
class |
ComplexField
Representation of the complex numbers field.
|
Modifier and Type | Class and Description |
---|---|
class |
DfpField
Field for Decimal floating point instances.
|
Modifier and Type | Class and Description |
---|---|
class |
BigFractionField
Representation of the fractional numbers without any overflow field.
|
class |
FractionField
Representation of the fractional numbers field.
|
Modifier and Type | Method and 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> |
FieldMatrix.getField()
Get the type of field elements of the matrix.
|
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> |
SparseFieldVector.getField()
Get the type of field elements of the vector.
|
Field<T> |
FieldVector.getField()
Get the type of field elements of the vector.
|
Modifier and Type | Method and Description |
---|---|
protected static <T extends FieldElement<T>> |
AbstractFieldMatrix.buildArray(Field<T> field,
int length)
Deprecated.
as of 3.2, replaced by
MathArrays.buildArray(Field, int) |
protected static <T extends FieldElement<T>> |
AbstractFieldMatrix.buildArray(Field<T> field,
int rows,
int columns)
Deprecated.
as of 3.2, replaced by
MathArrays.buildArray(Field, int, int) |
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 and Description |
---|
AbstractFieldMatrix(Field<T> field)
Creates a matrix with no data
|
AbstractFieldMatrix(Field<T> field,
int rowDimension,
int columnDimension)
Create a new FieldMatrix
|
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
|
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 | Class and 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 and Description |
---|---|
Field<Decimal64> |
Decimal64.getField()
Get the
Field to which the instance belongs. |
Field<BigReal> |
BigReal.getField()
Get the
Field to which the instance belongs. |
Modifier and Type | Method and 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 and 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–2014 The Apache Software Foundation. All rights reserved.