Uses of Interface
org.apache.commons.math.linear.FieldVector
Packages that use FieldVector
-
Uses of FieldVector in org.apache.commons.math.linear
Classes in org.apache.commons.math.linear that implement FieldVectorModifier and TypeClassDescriptionclassArrayFieldVector<T extends FieldElement<T>>This class implements theFieldVectorinterface with aFieldElementarray.classSparseFieldVector<T extends FieldElement<T>>This class implements theFieldVectorinterface with aOpenIntToFieldHashMapbacking store.Methods in org.apache.commons.math.linear that return FieldVectorModifier and TypeMethodDescriptionArrayFieldVector.add(FieldVector<T> v) Compute the sum of this and v.Compute the sum of this and v.FieldVector.add(FieldVector<T> v) Compute the sum of this and v.Compute the sum of this and v.SparseFieldVector.add(FieldVector<T> v) Compute the sum of this and v.SparseFieldVector.add(SparseFieldVector<T> v) Optimized method to add sparse vectors.Compute the sum of this and v.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.Construct a vector by appending a T array 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.Construct a vector by appending a T array 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.Construct a vector by appending a T array 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(T[] data) Creates aFieldVectorusing the data from the input array.ArrayFieldVector.ebeDivide(FieldVector<T> v) Element-by-element division.Element-by-element division.FieldVector.ebeDivide(FieldVector<T> v) Element-by-element division.Element-by-element division.SparseFieldVector.ebeDivide(FieldVector<T> v) Element-by-element division.Element-by-element division.ArrayFieldVector.ebeMultiply(FieldVector<T> v) Element-by-element multiplication.ArrayFieldVector.ebeMultiply(T[] v) Element-by-element multiplication.FieldVector.ebeMultiply(FieldVector<T> v) Element-by-element multiplication.FieldVector.ebeMultiply(T[] v) Element-by-element multiplication.SparseFieldVector.ebeMultiply(FieldVector<T> v) Element-by-element multiplication.SparseFieldVector.ebeMultiply(T[] v) Element-by-element multiplication.AbstractFieldMatrix.getColumnVector(int column) Returns the entries in column numbercolumnas a vector.BlockFieldMatrix.getColumnVector(int column) Returns the entries in column numbercolumnas a vector.FieldMatrix.getColumnVector(int column) Returns the entries in column numbercolumnas a vector.AbstractFieldMatrix.getRowVector(int row) Returns the entries in row numberrowas a vector.BlockFieldMatrix.getRowVector(int row) Returns the entries in row numberrowas a vector.FieldMatrix.getRowVector(int row) Returns the entries in row numberrowas 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.ArrayFieldVector.projection(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.FieldVector.projection(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.SparseFieldVector.projection(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) Compute this minus v.Compute this minus v.FieldVector.subtract(FieldVector<T> v) Compute this minus v.Compute this minus v.SparseFieldVector.subtract(FieldVector<T> v) Compute this minus v.Compute this minus v.Methods in org.apache.commons.math.linear with parameters of type FieldVectorModifier and TypeMethodDescriptionArrayFieldVector.add(FieldVector<T> v) Compute the sum of this and v.FieldVector.add(FieldVector<T> v) Compute the sum of this and v.SparseFieldVector.add(FieldVector<T> v) Compute the sum of this and v.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 voidArrayFieldVector.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.voidAbstractFieldMatrix.setColumnVector(int column, FieldVector<T> vector) Sets the entries in column numbercolumnas a vector.voidBlockFieldMatrix.setColumnVector(int column, FieldVector<T> vector) Sets the entries in column numbercolumnas a vector.voidFieldMatrix.setColumnVector(int column, FieldVector<T> vector) Sets the entries in column numbercolumnas a vector.voidAbstractFieldMatrix.setRowVector(int row, FieldVector<T> vector) Sets the entries in row numberrowas a vector.voidBlockFieldMatrix.setRowVector(int row, FieldVector<T> vector) Sets the entries in row numberrowas a vector.voidFieldMatrix.setRowVector(int row, FieldVector<T> vector) Sets the entries in row numberrowas a vector.voidArrayFieldVector.setSubVector(int index, FieldVector<T> v) Set a set of consecutive elements.voidFieldVector.setSubVector(int index, FieldVector<T> v) Set a set of consecutive elements.voidSparseFieldVector.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) Compute this minus v.FieldVector.subtract(FieldVector<T> v) Compute this minus v.SparseFieldVector.subtract(FieldVector<T> v) Compute this minus v.Constructors in org.apache.commons.math.linear with parameters of type FieldVectorModifierConstructorDescriptionConstruct a vector from another vector, using a deep copy.