Package | Description |
---|---|
org.apache.commons.math.linear |
Linear algebra support.
|
Modifier and Type | Method and Description |
---|---|
ArrayRealVector |
ArrayRealVector.add(ArrayRealVector v)
Compute the sum of this and v.
|
ArrayRealVector |
ArrayRealVector.append(ArrayRealVector v)
Construct a vector by appending a vector to this vector.
|
ArrayRealVector |
ArrayRealVector.ebeDivide(ArrayRealVector v)
Element-by-element division.
|
ArrayRealVector |
ArrayRealVector.ebeMultiply(ArrayRealVector v)
Element-by-element multiplication.
|
ArrayRealVector |
RealVectorFormat.parse(String source)
Parses a string to produce a
RealVector object. |
ArrayRealVector |
RealVectorFormat.parse(String source,
ParsePosition pos)
Parses a string to produce a
RealVector object. |
ArrayRealVector |
ArrayRealVector.projection(ArrayRealVector v)
Find the orthogonal projection of this vector onto another vector.
|
ArrayRealVector |
ArrayRealVector.subtract(ArrayRealVector v)
Compute this minus v.
|
Modifier and Type | Method and Description |
---|---|
ArrayRealVector |
ArrayRealVector.add(ArrayRealVector v)
Compute the sum of this and v.
|
ArrayRealVector |
ArrayRealVector.append(ArrayRealVector v)
Construct a vector by appending a vector to this vector.
|
double |
ArrayRealVector.dotProduct(ArrayRealVector v)
Compute the dot product.
|
ArrayRealVector |
ArrayRealVector.ebeDivide(ArrayRealVector v)
Element-by-element division.
|
ArrayRealVector |
ArrayRealVector.ebeMultiply(ArrayRealVector v)
Element-by-element multiplication.
|
double |
ArrayRealVector.getDistance(ArrayRealVector v)
Distance between two vectors.
|
double |
ArrayRealVector.getL1Distance(ArrayRealVector v)
Distance between two vectors.
|
double |
ArrayRealVector.getLInfDistance(ArrayRealVector v)
Distance between two vectors.
|
RealMatrix |
ArrayRealVector.outerProduct(ArrayRealVector v)
Compute the outer product.
|
ArrayRealVector |
ArrayRealVector.projection(ArrayRealVector v)
Find the orthogonal projection of this vector onto another vector.
|
void |
ArrayRealVector.set(int index,
ArrayRealVector v)
Set a set of consecutive elements.
|
ArrayRealVector |
ArrayRealVector.subtract(ArrayRealVector v)
Compute this minus v.
|
Constructor and Description |
---|
ArrayRealVector(ArrayRealVector v)
Construct a vector from another vector, using a deep copy.
|
ArrayRealVector(ArrayRealVector v1,
ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
|
ArrayRealVector(ArrayRealVector v,
boolean deep)
Construct a vector from another vector.
|
ArrayRealVector(ArrayRealVector v1,
double[] v2)
Construct a vector by appending one vector to another vector.
|
ArrayRealVector(ArrayRealVector v1,
RealVector v2)
Construct a vector by appending one vector to another vector.
|
ArrayRealVector(double[] v1,
ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
|
ArrayRealVector(RealVector v1,
ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
|
Copyright © 2003–2018. All rights reserved.