Package | Description |
---|---|
org.hipparchus.linear |
Linear algebra support.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayFieldVector<T extends FieldElement<T>>
This class implements the
FieldVector interface with a FieldElement array. |
class |
SparseFieldVector<T extends FieldElement<T>>
This class implements the
FieldVector interface with a OpenIntToFieldHashMap backing store. |
Modifier and Type | Method and Description |
---|---|
FieldVector<T> |
ArrayFieldVector.add(FieldVector<T> v)
Compute the sum of
this and v . |
FieldVector<T> |
SparseFieldVector.add(FieldVector<T> v)
Compute the sum of
this and v . |
FieldVector<T> |
FieldVector.add(FieldVector<T> v)
Compute the sum of
this and v . |
FieldVector<T> |
SparseFieldVector.add(SparseFieldVector<T> v)
Optimized method to add sparse vectors.
|
FieldVector<T> |
ArrayFieldVector.append(FieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
FieldVector<T> |
SparseFieldVector.append(FieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
FieldVector<T> |
FieldVector.append(FieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
FieldVector<T> |
SparseFieldVector.append(SparseFieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
FieldVector<T> |
ArrayFieldVector.append(T in)
Construct a vector by appending a T to this vector.
|
FieldVector<T> |
SparseFieldVector.append(T d)
Construct a vector by appending a T to this vector.
|
FieldVector<T> |
FieldVector.append(T d)
Construct a vector by appending a T to this vector.
|
FieldVector<T> |
ArrayFieldVector.copy()
Returns a (deep) copy of this.
|
FieldVector<T> |
SparseFieldVector.copy()
Returns a (deep) copy of this.
|
FieldVector<T> |
FieldVector.copy()
Returns a (deep) copy of this.
|
static <T extends FieldElement<T>> |
MatrixUtils.createFieldVector(Field<T> field,
int dimension)
Creates a
FieldVector with specified dimensions. |
static <T extends FieldElement<T>> |
MatrixUtils.createFieldVector(T[] data)
Creates a
FieldVector using the data from the input array. |
FieldVector<T> |
ArrayFieldVector.ebeDivide(FieldVector<T> v)
Element-by-element division.
|
FieldVector<T> |
SparseFieldVector.ebeDivide(FieldVector<T> v)
Element-by-element division.
|
FieldVector<T> |
FieldVector.ebeDivide(FieldVector<T> v)
Element-by-element division.
|
FieldVector<T> |
ArrayFieldVector.ebeMultiply(FieldVector<T> v)
Element-by-element multiplication.
|
FieldVector<T> |
SparseFieldVector.ebeMultiply(FieldVector<T> v)
Element-by-element multiplication.
|
FieldVector<T> |
FieldVector.ebeMultiply(FieldVector<T> v)
Element-by-element multiplication.
|
FieldVector<T> |
BlockFieldMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
FieldVector<T> |
FieldMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
FieldVector<T> |
AbstractFieldMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
FieldVector<Complex> |
ComplexEigenDecomposition.getEigenvector(int i)
Getter of the eigen vectors.
|
FieldVector<T> |
BlockFieldMatrix.getRowVector(int row)
Get the entries in row number
row
as a vector. |
FieldVector<T> |
FieldMatrix.getRowVector(int row)
Get the entries in row number
row
as a vector. |
FieldVector<T> |
AbstractFieldMatrix.getRowVector(int row)
Get the entries in row number
row
as a vector. |
FieldVector<T> |
ArrayFieldVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
FieldVector<T> |
SparseFieldVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
FieldVector<T> |
FieldVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
FieldVector<T> |
ArrayFieldVector.mapAdd(T d)
Map an addition operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapAdd(T d)
Map an addition operation to each entry.
|
FieldVector<T> |
FieldVector.mapAdd(T d)
Map an addition operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapAddToSelf(T d)
Map an addition operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapAddToSelf(T d)
Map an addition operation to each entry.
|
FieldVector<T> |
FieldVector.mapAddToSelf(T d)
Map an addition operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapDivide(T d)
Map a division operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapDivide(T d)
Map a division operation to each entry.
|
FieldVector<T> |
FieldVector.mapDivide(T d)
Map a division operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapDivideToSelf(T d)
Map a division operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapDivideToSelf(T d)
Map a division operation to each entry.
|
FieldVector<T> |
FieldVector.mapDivideToSelf(T d)
Map a division operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapInv()
Map the 1/x function to each entry.
|
FieldVector<T> |
SparseFieldVector.mapInv()
Map the 1/x function to each entry.
|
FieldVector<T> |
FieldVector.mapInv()
Map the 1/x function to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapInvToSelf()
Map the 1/x function to each entry.
|
FieldVector<T> |
SparseFieldVector.mapInvToSelf()
Map the 1/x function to each entry.
|
FieldVector<T> |
FieldVector.mapInvToSelf()
Map the 1/x function to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapMultiply(T d)
Map a multiplication operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapMultiply(T d)
Map a multiplication operation to each entry.
|
FieldVector<T> |
FieldVector.mapMultiply(T d)
Map a multiplication operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapMultiplyToSelf(T d)
Map a multiplication operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapMultiplyToSelf(T d)
Map a multiplication operation to each entry.
|
FieldVector<T> |
FieldVector.mapMultiplyToSelf(T d)
Map a multiplication operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapSubtract(T d)
Map a subtraction operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapSubtract(T d)
Map a subtraction operation to each entry.
|
FieldVector<T> |
FieldVector.mapSubtract(T d)
Map a subtraction operation to each entry.
|
FieldVector<T> |
ArrayFieldVector.mapSubtractToSelf(T d)
Map a subtraction operation to each entry.
|
FieldVector<T> |
SparseFieldVector.mapSubtractToSelf(T d)
Map a subtraction operation to each entry.
|
FieldVector<T> |
FieldVector.mapSubtractToSelf(T d)
Map a subtraction operation to each entry.
|
FieldVector<T> |
FieldMatrix.operate(FieldVector<T> v)
Returns the result of multiplying this by the vector
v . |
FieldVector<T> |
AbstractFieldMatrix.operate(FieldVector<T> v)
Returns the result of multiplying this by the vector
v . |
FieldVector<T> |
FieldMatrix.preMultiply(FieldVector<T> v)
Returns the (row) vector result of premultiplying this by the vector
v . |
FieldVector<T> |
AbstractFieldMatrix.preMultiply(FieldVector<T> v)
Returns the (row) vector result of premultiplying this by the vector
v . |
FieldVector<T> |
ArrayFieldVector.projection(FieldVector<T> v)
Find the orthogonal projection of this vector onto another vector.
|
FieldVector<T> |
SparseFieldVector.projection(FieldVector<T> v)
Find the orthogonal projection of this vector onto another vector.
|
FieldVector<T> |
FieldVector.projection(FieldVector<T> v)
Find the orthogonal projection of this vector onto another vector.
|
FieldVector<T> |
FieldDecompositionSolver.solve(FieldVector<T> b)
Solve the linear equation A × X = B for matrices A.
|
FieldVector<T> |
ArrayFieldVector.subtract(FieldVector<T> v)
Compute
this minus v . |
FieldVector<T> |
SparseFieldVector.subtract(FieldVector<T> v)
Compute
this minus v . |
FieldVector<T> |
FieldVector.subtract(FieldVector<T> v)
Compute
this minus v . |
Modifier and Type | Method and Description |
---|---|
FieldVector<T> |
ArrayFieldVector.add(FieldVector<T> v)
Compute the sum of
this and v . |
FieldVector<T> |
SparseFieldVector.add(FieldVector<T> v)
Compute the sum of
this and v . |
FieldVector<T> |
FieldVector.add(FieldVector<T> v)
Compute the sum of
this and v . |
FieldVector<T> |
ArrayFieldVector.append(FieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
FieldVector<T> |
SparseFieldVector.append(FieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
FieldVector<T> |
FieldVector.append(FieldVector<T> v)
Construct a vector by appending a vector to this vector.
|
protected void |
ArrayFieldVector.checkVectorDimensions(FieldVector<T> v)
Check if instance and specified vectors have the same dimension.
|
T |
ArrayFieldVector.dotProduct(FieldVector<T> v)
Compute the dot product.
|
T |
SparseFieldVector.dotProduct(FieldVector<T> v)
Compute the dot product.
|
T |
FieldVector.dotProduct(FieldVector<T> v)
Compute the dot product.
|
FieldVector<T> |
ArrayFieldVector.ebeDivide(FieldVector<T> v)
Element-by-element division.
|
FieldVector<T> |
SparseFieldVector.ebeDivide(FieldVector<T> v)
Element-by-element division.
|
FieldVector<T> |
FieldVector.ebeDivide(FieldVector<T> v)
Element-by-element division.
|
FieldVector<T> |
ArrayFieldVector.ebeMultiply(FieldVector<T> v)
Element-by-element multiplication.
|
FieldVector<T> |
SparseFieldVector.ebeMultiply(FieldVector<T> v)
Element-by-element multiplication.
|
FieldVector<T> |
FieldVector.ebeMultiply(FieldVector<T> v)
Element-by-element multiplication.
|
FieldVector<T> |
FieldMatrix.operate(FieldVector<T> v)
Returns the result of multiplying this by the vector
v . |
FieldVector<T> |
AbstractFieldMatrix.operate(FieldVector<T> v)
Returns the result of multiplying this by the vector
v . |
FieldMatrix<T> |
ArrayFieldVector.outerProduct(FieldVector<T> v)
Compute the outer product.
|
FieldMatrix<T> |
SparseFieldVector.outerProduct(FieldVector<T> v)
Compute the outer product.
|
FieldMatrix<T> |
FieldVector.outerProduct(FieldVector<T> v)
Compute the outer product.
|
FieldVector<T> |
FieldMatrix.preMultiply(FieldVector<T> v)
Returns the (row) vector result of premultiplying this by the vector
v . |
FieldVector<T> |
AbstractFieldMatrix.preMultiply(FieldVector<T> v)
Returns the (row) vector result of premultiplying this by the vector
v . |
FieldVector<T> |
ArrayFieldVector.projection(FieldVector<T> v)
Find the orthogonal projection of this vector onto another vector.
|
FieldVector<T> |
SparseFieldVector.projection(FieldVector<T> v)
Find the orthogonal projection of this vector onto another vector.
|
FieldVector<T> |
FieldVector.projection(FieldVector<T> v)
Find the orthogonal projection of this vector onto another vector.
|
void |
BlockFieldMatrix.setColumnVector(int column,
FieldVector<T> vector)
Set the entries in column number
column
as a vector. |
void |
FieldMatrix.setColumnVector(int column,
FieldVector<T> vector)
Set the entries in column number
column
as a vector. |
void |
AbstractFieldMatrix.setColumnVector(int column,
FieldVector<T> vector)
Set the entries in column number
column
as a vector. |
void |
BlockFieldMatrix.setRowVector(int row,
FieldVector<T> vector)
Set the entries in row number
row
as a vector. |
void |
FieldMatrix.setRowVector(int row,
FieldVector<T> vector)
Set the entries in row number
row
as a vector. |
void |
AbstractFieldMatrix.setRowVector(int row,
FieldVector<T> vector)
Set the entries in row number
row
as a vector. |
void |
ArrayFieldVector.setSubVector(int index,
FieldVector<T> v)
Set a set of consecutive elements.
|
void |
SparseFieldVector.setSubVector(int index,
FieldVector<T> v)
Set a set of consecutive elements.
|
void |
FieldVector.setSubVector(int index,
FieldVector<T> v)
Set a set of consecutive elements.
|
FieldVector<T> |
FieldDecompositionSolver.solve(FieldVector<T> b)
Solve the linear equation A × X = B for matrices A.
|
FieldVector<T> |
ArrayFieldVector.subtract(FieldVector<T> v)
Compute
this minus v . |
FieldVector<T> |
SparseFieldVector.subtract(FieldVector<T> v)
Compute
this minus v . |
FieldVector<T> |
FieldVector.subtract(FieldVector<T> v)
Compute
this minus v . |
Constructor and Description |
---|
ArrayFieldVector(FieldVector<T> v)
Construct a vector from another vector, using a deep copy.
|
ArrayFieldVector(FieldVector<T> v1,
FieldVector<T> v2)
Construct a vector by appending one vector to another vector.
|
ArrayFieldVector(FieldVector<T> v1,
FieldVector<T> v2)
Construct a vector by appending one vector to another vector.
|
ArrayFieldVector(FieldVector<T> v1,
T[] v2)
Construct a vector by appending one vector to another vector.
|
ArrayFieldVector(T[] v1,
FieldVector<T> v2)
Construct a vector by appending one vector to another vector.
|
Copyright © 2016-2021 CS GROUP. All rights reserved.