Uses of Interface
org.apache.commons.math3.FieldElement
Packages that use FieldElement
Package
Description
Common classes used throughout the commons-math library.
This package holds the main interfaces and basic building block classes
dealing with differentiation.
Univariate real functions interpolation algorithms.
Complex number type and implementations of complex transcendental
functions.
Decimal floating point library for Java
Fraction number type and fraction number formatting.
Linear algebra support.
Convenience routines and common data structures used throughout the commons-math library.
-
Uses of FieldElement in org.apache.commons.math3
Subinterfaces of FieldElement in org.apache.commons.math3Modifier and TypeInterfaceDescriptioninterface
Methods in org.apache.commons.math3 that return types with arguments of type FieldElementModifier and TypeMethodDescriptionClass
<? extends FieldElement<T>> Field.getRuntimeClass()
Returns the runtime class of the FieldElement. -
Uses of FieldElement in org.apache.commons.math3.analysis.differentiation
Classes in org.apache.commons.math3.analysis.differentiation that implement FieldElementModifier and TypeClassDescriptionclass
Class representing both the value and the differentials of a function.class
First derivative computation with large number of variables. -
Uses of FieldElement in org.apache.commons.math3.analysis.interpolation
Classes in org.apache.commons.math3.analysis.interpolation with type parameters of type FieldElementModifier and TypeClassDescriptionclass
FieldHermiteInterpolator<T extends FieldElement<T>>
Polynomial interpolator using both sample values and sample derivatives.Methods in org.apache.commons.math3.analysis.interpolation that return FieldElementModifier and TypeMethodDescriptionT[][]
FieldHermiteInterpolator.derivatives
(T x, int order) Interpolate value and first derivatives at a specified abscissa.T[]
Interpolate value at a specified abscissa.Methods in org.apache.commons.math3.analysis.interpolation with parameters of type FieldElementModifier and TypeMethodDescriptionvoid
FieldHermiteInterpolator.addSamplePoint
(T x, T[]... value) Add a sample point. -
Uses of FieldElement in org.apache.commons.math3.complex
Classes in org.apache.commons.math3.complex that implement FieldElementMethods in org.apache.commons.math3.complex that return types with arguments of type FieldElementModifier and TypeMethodDescriptionClass
<? extends FieldElement<Complex>> ComplexField.getRuntimeClass()
Returns the runtime class of the FieldElement. -
Uses of FieldElement in org.apache.commons.math3.dfp
Classes in org.apache.commons.math3.dfp that implement FieldElementModifier and TypeClassDescriptionclass
Decimal floating point library for Javaclass
Subclass ofDfp
which hides the radix-10000 artifacts of the superclass.Methods in org.apache.commons.math3.dfp that return types with arguments of type FieldElementModifier and TypeMethodDescriptionClass
<? extends FieldElement<Dfp>> DfpField.getRuntimeClass()
Returns the runtime class of the FieldElement. -
Uses of FieldElement in org.apache.commons.math3.fraction
Classes in org.apache.commons.math3.fraction that implement FieldElementModifier and TypeClassDescriptionclass
Representation of a rational number without any overflow.class
Representation of a rational number.Methods in org.apache.commons.math3.fraction that return types with arguments of type FieldElementModifier and TypeMethodDescriptionClass
<? extends FieldElement<BigFraction>> BigFractionField.getRuntimeClass()
Returns the runtime class of the FieldElement.Class
<? extends FieldElement<Fraction>> FractionField.getRuntimeClass()
Returns the runtime class of the FieldElement. -
Uses of FieldElement in org.apache.commons.math3.linear
Classes in org.apache.commons.math3.linear with type parameters of type FieldElementModifier and TypeClassDescriptionclass
AbstractFieldMatrix<T extends FieldElement<T>>
Basic implementation ofFieldMatrix
methods regardless of the underlying storage.class
Array2DRowFieldMatrix<T extends FieldElement<T>>
Implementation of FieldMatrixusing a FieldElement
[][] array to store entries.class
ArrayFieldVector<T extends FieldElement<T>>
This class implements theFieldVector
interface with aFieldElement
array.class
BlockFieldMatrix<T extends FieldElement<T>>
Cache-friendly implementation of FieldMatrix using a flat arrays to store square blocks of the matrix.class
DefaultFieldMatrixChangingVisitor<T extends FieldElement<T>>
Default implementation of theFieldMatrixChangingVisitor
interface.class
DefaultFieldMatrixPreservingVisitor<T extends FieldElement<T>>
Default implementation of theFieldMatrixPreservingVisitor
interface.interface
FieldDecompositionSolver<T extends FieldElement<T>>
Interface handling decomposition algorithms that can solve A × X = B.class
FieldLUDecomposition<T extends FieldElement<T>>
Calculates the LUP-decomposition of a square matrix.interface
FieldMatrix<T extends FieldElement<T>>
Interface defining field-valued matrix with basic algebraic operations.interface
FieldMatrixChangingVisitor<T extends FieldElement<?>>
Interface defining a visitor for matrix entries.interface
FieldMatrixPreservingVisitor<T extends FieldElement<?>>
Interface defining a visitor for matrix entries.interface
FieldVector<T extends FieldElement<T>>
Interface defining a field-valued vector with basic algebraic operations.interface
FieldVectorChangingVisitor<T extends FieldElement<?>>
This interface defines a visitor for the entries of a vector.interface
FieldVectorPreservingVisitor<T extends FieldElement<?>>
This interface defines a visitor for the entries of a vector.class
SparseFieldMatrix<T extends FieldElement<T>>
Sparse matrix implementation based on an open addressed map.class
SparseFieldVector<T extends FieldElement<T>>
This class implements theFieldVector
interface with aOpenIntToFieldHashMap
backing store.Methods in org.apache.commons.math3.linear with type parameters of type FieldElementModifier and TypeMethodDescriptionprotected static <T extends FieldElement<T>>
T[]AbstractFieldMatrix.buildArray
(Field<T> field, int length) Deprecated.protected static <T extends FieldElement<T>>
T[][]AbstractFieldMatrix.buildArray
(Field<T> field, int rows, int columns) Deprecated.as of 3.2, replaced byMathArrays.buildArray(Field, int, int)
static <T extends FieldElement<T>>
T[][]BlockFieldMatrix.createBlocksLayout
(Field<T> field, int rows, int columns) Create a data array in blocks layout.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createColumnFieldMatrix
(T[] columnData) Creates a columnFieldMatrix
using the data from the input array.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createFieldDiagonalMatrix
(T[] diagonal) Returns a diagonal matrix with specified elements.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createFieldIdentityMatrix
(Field<T> field, int dimension) Returnsdimension x dimension
identity matrix.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createFieldMatrix
(Field<T> field, int rows, int columns) Returns aFieldMatrix
with specified dimensions.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createFieldMatrix
(T[][] data) Returns aFieldMatrix
whose entries are the the values in the the input array.static <T extends FieldElement<T>>
FieldVector<T> MatrixUtils.createFieldVector
(T[] data) Creates aFieldVector
using the data from the input array.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createRowFieldMatrix
(T[] rowData) Create a rowFieldMatrix
using the data from the input array.protected static <T extends FieldElement<T>>
Field<T> AbstractFieldMatrix.extractField
(T[] d) Get the elements type from an array.protected static <T extends FieldElement<T>>
Field<T> AbstractFieldMatrix.extractField
(T[][] d) Get the elements type from an array.static <T extends FieldElement<T>>
T[][]BlockFieldMatrix.toBlocksLayout
(T[][] rawData) Convert a data array from raw layout to blocks layout.Methods in org.apache.commons.math3.linear that return FieldElementModifier and TypeMethodDescriptionprotected static <T extends FieldElement<T>>
T[]AbstractFieldMatrix.buildArray
(Field<T> field, int length) Deprecated.as of 3.2, replaced byMathArrays.buildArray(Field, int)
protected static <T extends FieldElement<T>>
T[][]AbstractFieldMatrix.buildArray
(Field<T> field, int rows, int columns) Deprecated.as of 3.2, replaced byMathArrays.buildArray(Field, int, int)
static <T extends FieldElement<T>>
T[][]BlockFieldMatrix.createBlocksLayout
(Field<T> field, int rows, int columns) Create a data array in blocks layout.T[]
AbstractFieldMatrix.getColumn
(int column) Get the entries in column numbercol
as an array.T[]
BlockFieldMatrix.getColumn
(int column) Get the entries in column numbercol
as an array.T[]
FieldMatrix.getColumn
(int column) Get the entries in column numbercol
as an array.T[][]
AbstractFieldMatrix.getData()
Returns matrix entries as a two-dimensional array.T[][]
Array2DRowFieldMatrix.getData()
Returns matrix entries as a two-dimensional array.T[]
ArrayFieldVector.getData()
Returns vector entries as a T array.T[][]
BlockFieldMatrix.getData()
Returns matrix entries as a two-dimensional array.T[][]
FieldMatrix.getData()
Returns matrix entries as a two-dimensional array.T[]
FieldVector.getData()
Deprecated.as of 3.1, to be removed in 4.0.T[]
SparseFieldVector.getData()
Deprecated.as of 3.1, to be removed in 4.0.T[][]
Array2DRowFieldMatrix.getDataRef()
Get a reference to the underlying data array.T[]
ArrayFieldVector.getDataRef()
Returns a reference to the underlying data array.T[]
AbstractFieldMatrix.getRow
(int row) Get the entries in row numberrow
as an array.T[]
BlockFieldMatrix.getRow
(int row) Get the entries in row numberrow
as an array.T[]
FieldMatrix.getRow
(int row) Get the entries in row numberrow
as an array.T[]
Returns the result of multiplying this by the vectorv
.T[]
Returns the result of multiplying this by the vectorv
.T[]
Returns the result of multiplying this by the vectorv
.T[]
Returns the result of multiplying this by the vectorv
.T[]
AbstractFieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
Array2DRowFieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
BlockFieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
FieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
ArrayFieldVector.toArray()
Convert the vector to a T array.T[]
FieldVector.toArray()
Convert the vector to a T array.T[]
SparseFieldVector.toArray()
Convert the vector to a T array.static <T extends FieldElement<T>>
T[][]BlockFieldMatrix.toBlocksLayout
(T[][] rawData) Convert a data array from raw layout to blocks layout.Methods in org.apache.commons.math3.linear with parameters of type FieldElementModifier and TypeMethodDescriptionvoid
AbstractFieldMatrix.copySubMatrix
(int[] selectedRows, int[] selectedColumns, T[][] destination) Copy a submatrix.void
AbstractFieldMatrix.copySubMatrix
(int startRow, int endRow, int startColumn, int endColumn, T[][] destination) Copy a submatrix.void
FieldMatrix.copySubMatrix
(int[] selectedRows, int[] selectedColumns, T[][] destination) Copy a submatrix.void
FieldMatrix.copySubMatrix
(int startRow, int endRow, int startColumn, int endColumn, T[][] destination) Copy a submatrix.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createColumnFieldMatrix
(T[] columnData) Creates a columnFieldMatrix
using the data from the input array.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createFieldDiagonalMatrix
(T[] diagonal) Returns a diagonal matrix with specified elements.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createFieldMatrix
(T[][] data) Returns aFieldMatrix
whose entries are the the values in the the input array.static <T extends FieldElement<T>>
FieldVector<T> MatrixUtils.createFieldVector
(T[] data) Creates aFieldVector
using the data from the input array.static <T extends FieldElement<T>>
FieldMatrix<T> MatrixUtils.createRowFieldMatrix
(T[] rowData) Create a rowFieldMatrix
using the data from the input array.protected static <T extends FieldElement<T>>
Field<T> AbstractFieldMatrix.extractField
(T[] d) Get the elements type from an array.protected static <T extends FieldElement<T>>
Field<T> AbstractFieldMatrix.extractField
(T[][] d) Get the elements type from an array.T[]
Returns the result of multiplying this by the vectorv
.T[]
Returns the result of multiplying this by the vectorv
.T[]
Returns the result of multiplying this by the vectorv
.T[]
Returns the result of multiplying this by the vectorv
.T[]
AbstractFieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
Array2DRowFieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
BlockFieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.T[]
FieldMatrix.preMultiply
(T[] v) Returns the (row) vector result of premultiplying this by the vectorv
.void
Set the entries in column numbercolumn
as a column matrix.void
Set the entries in column numbercolumn
as a column matrix.void
Set the entries in column numbercolumn
as a column matrix.void
Set the entries in row numberrow
as a row matrix.void
Set the entries in row numberrow
as a row matrix.void
Set the entries in row numberrow
as a row matrix.void
AbstractFieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
Array2DRowFieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
BlockFieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.void
FieldMatrix.setSubMatrix
(T[][] subMatrix, int row, int column) Replace the submatrix starting at(row, column)
using data in the inputsubMatrix
array.static <T extends FieldElement<T>>
T[][]BlockFieldMatrix.toBlocksLayout
(T[][] rawData) Convert a data array from raw layout to blocks layout.Constructors in org.apache.commons.math3.linear with parameters of type FieldElementModifierConstructorDescriptionArray2DRowFieldMatrix
(Field<T> field, T[] v) Create a new (column)FieldMatrix<T>
usingv
as the data for the unique column of the created matrix.Array2DRowFieldMatrix
(Field<T> field, T[][] d) Create a newFieldMatrix<T>
using the input array as the underlying data array.Array2DRowFieldMatrix
(Field<T> field, T[][] d, boolean copyArray) Create a newFieldMatrix<T>
using the input array as the underlying data array.Array2DRowFieldMatrix
(T[] v) Create a new (column)FieldMatrix<T>
usingv
as the data for the unique column of the created matrix.Array2DRowFieldMatrix
(T[][] d) Create a newFieldMatrix<T>
using the input array as the underlying data array.Array2DRowFieldMatrix
(T[][] d, boolean copyArray) Create a newFieldMatrix<T>
using the input array as the underlying data array.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.ArrayFieldVector
(ArrayFieldVector<T> v1, T[] v2) Deprecated.as of 3.2, replaced byArrayFieldVector(FieldVector, FieldElement[])
ArrayFieldVector
(FieldVector<T> v1, T[] v2) Construct a vector by appending one vector to another vector.ArrayFieldVector
(T[] d) Construct a vector from an array, copying the input array.ArrayFieldVector
(T[] d, boolean copyArray) Create a new ArrayFieldVector using the input array as the underlying data array.ArrayFieldVector
(T[] d, int pos, int size) Construct a vector from part of a array.ArrayFieldVector
(T[] v1, ArrayFieldVector<T> v2) Deprecated.as of 3.2, replaced byArrayFieldVector(FieldElement[], FieldVector)
ArrayFieldVector
(T[] v1, FieldVector<T> v2) Construct a vector by appending one vector to another vector.ArrayFieldVector
(T[] v1, T[] v2) Construct a vector by appending one vector to another vector.BlockFieldMatrix
(int rows, int columns, T[][] blockData, boolean copyArray) Create a new dense matrix copying entries from block layout data.BlockFieldMatrix
(T[][] rawData) Create a new dense matrix copying entries from raw layout data.SparseFieldVector
(Field<T> field, T[] values) Create from a Field array. -
Uses of FieldElement in org.apache.commons.math3.util
Classes in org.apache.commons.math3.util with type parameters of type FieldElementModifier and TypeClassDescriptionclass
OpenIntToFieldHashMap<T extends FieldElement<T>>
Open addressed map from int to FieldElement.Classes in org.apache.commons.math3.util that implement FieldElementModifier and TypeClassDescriptionclass
Arbitrary precision decimal number.class
This class wraps adouble
value in an object.Methods in org.apache.commons.math3.util that return types with arguments of type FieldElementModifier and TypeMethodDescriptionClass
<? extends FieldElement<BigReal>> BigRealField.getRuntimeClass()
Returns the runtime class of the FieldElement.Class
<? extends FieldElement<Decimal64>> Decimal64Field.getRuntimeClass()
Returns the runtime class of the FieldElement.
MathArrays.buildArray(Field, int)