Uses of Interface
org.hipparchus.linear.FieldVector
-
Uses of FieldVector in org.hipparchus.linear
Modifier and TypeClassDescriptionclass
ArrayFieldVector<T extends FieldElement<T>>
This class implements theFieldVector
interface with aFieldElement
array.class
SparseFieldVector<T extends FieldElement<T>>
This class implements theFieldVector
interface with aOpenIntToFieldHashMap
backing store.Modifier and TypeMethodDescriptionArrayFieldVector.add
(FieldVector<T> v) Compute the sum ofthis
andv
.FieldVector.add
(FieldVector<T> v) Compute the sum ofthis
andv
.SparseFieldVector.add
(FieldVector<T> v) Compute the sum ofthis
andv
.SparseFieldVector.add
(SparseFieldVector<T> v) Optimized method to add sparse vectors.ArrayFieldVector.append
(FieldVector<T> v) Construct a vector by appending a vector to this vector.Construct a vector by appending a T to this vector.FieldVector.append
(FieldVector<T> v) Construct a vector by appending a vector to this vector.Construct a vector by appending a T to this vector.SparseFieldVector.append
(FieldVector<T> v) Construct a vector by appending a vector to this vector.SparseFieldVector.append
(SparseFieldVector<T> v) Construct a vector by appending a vector to this vector.Construct a vector by appending a T to this vector.ArrayFieldVector.copy()
Returns a (deep) copy of this.FieldVector.copy()
Returns a (deep) copy of this.SparseFieldVector.copy()
Returns a (deep) copy of this.static <T extends FieldElement<T>>
FieldVector<T>MatrixUtils.createFieldVector
(Field<T> field, int dimension) Creates aFieldVector
with specified dimensions.static <T extends FieldElement<T>>
FieldVector<T>MatrixUtils.createFieldVector
(T[] data) Creates aFieldVector
using the data from the input array.ArrayFieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.FieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.SparseFieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.ArrayFieldVector.ebeMultiply
(FieldVector<T> v) Element-by-element multiplication.FieldVector.ebeMultiply
(FieldVector<T> v) Element-by-element multiplication.SparseFieldVector.ebeMultiply
(FieldVector<T> v) Element-by-element multiplication.AbstractFieldMatrix.getColumnVector
(int column) Returns the entries in column numbercolumn
as a vector.BlockFieldMatrix.getColumnVector
(int column) Returns the entries in column numbercolumn
as a vector.FieldMatrix.getColumnVector
(int column) Returns the entries in column numbercolumn
as a vector.ComplexEigenDecomposition.getEigenvector
(int i) Getter of the eigen vectors.EigenDecompositionNonSymmetric.getEigenvector
(int i) Gets a copy of the ith eigenvector of the original matrix.AbstractFieldMatrix.getRowVector
(int row) Get the entries in row numberrow
as a vector.BlockFieldMatrix.getRowVector
(int row) Get the entries in row numberrow
as a vector.FieldMatrix.getRowVector
(int row) Get the entries in row numberrow
as a vector.ArrayFieldVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.FieldVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.SparseFieldVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.Map an addition operation to each entry.Map an addition operation to each entry.Map an addition operation to each entry.ArrayFieldVector.mapAddToSelf
(T d) Map an addition operation to each entry.FieldVector.mapAddToSelf
(T d) Map an addition operation to each entry.SparseFieldVector.mapAddToSelf
(T d) Map an addition operation to each entry.Map a division operation to each entry.Map a division operation to each entry.Map a division operation to each entry.ArrayFieldVector.mapDivideToSelf
(T d) Map a division operation to each entry.FieldVector.mapDivideToSelf
(T d) Map a division operation to each entry.SparseFieldVector.mapDivideToSelf
(T d) Map a division operation to each entry.ArrayFieldVector.mapInv()
Map the 1/x function to each entry.FieldVector.mapInv()
Map the 1/x function to each entry.SparseFieldVector.mapInv()
Map the 1/x function to each entry.ArrayFieldVector.mapInvToSelf()
Map the 1/x function to each entry.FieldVector.mapInvToSelf()
Map the 1/x function to each entry.SparseFieldVector.mapInvToSelf()
Map the 1/x function to each entry.ArrayFieldVector.mapMultiply
(T d) Map a multiplication operation to each entry.FieldVector.mapMultiply
(T d) Map a multiplication operation to each entry.SparseFieldVector.mapMultiply
(T d) Map a multiplication operation to each entry.ArrayFieldVector.mapMultiplyToSelf
(T d) Map a multiplication operation to each entry.FieldVector.mapMultiplyToSelf
(T d) Map a multiplication operation to each entry.SparseFieldVector.mapMultiplyToSelf
(T d) Map a multiplication operation to each entry.ArrayFieldVector.mapSubtract
(T d) Map a subtraction operation to each entry.FieldVector.mapSubtract
(T d) Map a subtraction operation to each entry.SparseFieldVector.mapSubtract
(T d) Map a subtraction operation to each entry.ArrayFieldVector.mapSubtractToSelf
(T d) Map a subtraction operation to each entry.FieldVector.mapSubtractToSelf
(T d) Map a subtraction operation to each entry.SparseFieldVector.mapSubtractToSelf
(T d) Map a subtraction operation to each entry.AbstractFieldMatrix.operate
(FieldVector<T> v) Returns the result of multiplying this by the vectorv
.FieldMatrix.operate
(FieldVector<T> v) Returns the result of multiplying this by the vectorv
.AbstractFieldMatrix.preMultiply
(FieldVector<T> v) Returns the (row) vector result of premultiplying this by the vectorv
.FieldMatrix.preMultiply
(FieldVector<T> v) Returns the (row) vector result of premultiplying this by the vectorv
.ArrayFieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.FieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.SparseFieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.FieldDecompositionSolver.solve
(FieldVector<T> b) Solve the linear equation A × X = B for matrices A.ArrayFieldVector.subtract
(FieldVector<T> v) Computethis
minusv
.FieldVector.subtract
(FieldVector<T> v) Computethis
minusv
.SparseFieldVector.subtract
(FieldVector<T> v) Computethis
minusv
.Modifier and TypeMethodDescriptionstatic <T extends CalculusFieldElement<T>>
List<FieldVector<T>>MatrixUtils.orthonormalize
(Field<T> field, List<FieldVector<T>> independent, T threshold, DependentVectorsHandler handler) Orthonormalize a list of vectors.Modifier and TypeMethodDescriptionArrayFieldVector.add
(FieldVector<T> v) Compute the sum ofthis
andv
.FieldVector.add
(FieldVector<T> v) Compute the sum ofthis
andv
.SparseFieldVector.add
(FieldVector<T> v) Compute the sum ofthis
andv
.ArrayFieldVector.append
(FieldVector<T> v) Construct a vector by appending a vector to this vector.FieldVector.append
(FieldVector<T> v) Construct a vector by appending a vector to this vector.SparseFieldVector.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.ArrayFieldVector.dotProduct
(FieldVector<T> v) Compute the dot product.FieldVector.dotProduct
(FieldVector<T> v) Compute the dot product.SparseFieldVector.dotProduct
(FieldVector<T> v) Compute the dot product.ArrayFieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.FieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.SparseFieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.ArrayFieldVector.ebeMultiply
(FieldVector<T> v) Element-by-element multiplication.FieldVector.ebeMultiply
(FieldVector<T> v) Element-by-element multiplication.SparseFieldVector.ebeMultiply
(FieldVector<T> v) Element-by-element multiplication.AbstractFieldMatrix.operate
(FieldVector<T> v) Returns the result of multiplying this by the vectorv
.FieldMatrix.operate
(FieldVector<T> v) Returns the result of multiplying this by the vectorv
.ArrayFieldVector.outerProduct
(FieldVector<T> v) Compute the outer product.FieldVector.outerProduct
(FieldVector<T> v) Compute the outer product.SparseFieldVector.outerProduct
(FieldVector<T> v) Compute the outer product.AbstractFieldMatrix.preMultiply
(FieldVector<T> v) Returns the (row) vector result of premultiplying this by the vectorv
.FieldMatrix.preMultiply
(FieldVector<T> v) Returns the (row) vector result of premultiplying this by the vectorv
.ArrayFieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.FieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.SparseFieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.void
AbstractFieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Set the entries in column numbercolumn
as a vector.void
BlockFieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Set the entries in column numbercolumn
as a vector.void
FieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Set the entries in column numbercolumn
as a vector.void
AbstractFieldMatrix.setRowVector
(int row, FieldVector<T> vector) Set the entries in row numberrow
as a vector.void
BlockFieldMatrix.setRowVector
(int row, FieldVector<T> vector) Set the entries in row numberrow
as a vector.void
FieldMatrix.setRowVector
(int row, FieldVector<T> vector) Set the entries in row numberrow
as a vector.void
ArrayFieldVector.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.void
SparseFieldVector.setSubVector
(int index, FieldVector<T> v) Set a set of consecutive elements.FieldDecompositionSolver.solve
(FieldVector<T> b) Solve the linear equation A × X = B for matrices A.ArrayFieldVector.subtract
(FieldVector<T> v) Computethis
minusv
.FieldVector.subtract
(FieldVector<T> v) Computethis
minusv
.SparseFieldVector.subtract
(FieldVector<T> v) Computethis
minusv
.Modifier and TypeMethodDescriptionabstract <T extends CalculusFieldElement<T>>
intDependentVectorsHandler.manageDependent
(Field<T> field, int index, List<FieldVector<T>> basis) Manage a dependent vector.static <T extends CalculusFieldElement<T>>
List<FieldVector<T>>MatrixUtils.orthonormalize
(Field<T> field, List<FieldVector<T>> independent, T threshold, DependentVectorsHandler handler) Orthonormalize a list of vectors.ModifierConstructorDescriptionConstruct 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, 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.