Package | Description |
---|---|
org.apache.commons.math.linear |
Linear algebra support.
|
org.apache.commons.math.optimization.linear |
This package provides optimization algorithms for linear constrained problems.
|
org.apache.commons.math.stat.regression |
Statistical routines involving multivariate data.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SparseRealVector
Marker interface for RealVectors that require sparse backing storage
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRealVector
This class provides default basic implementations for many methods in the
RealVector interface. |
class |
ArrayRealVector
This class implements the
RealVector interface with a double array. |
class |
OpenMapRealVector
This class implements the
RealVector interface with a OpenIntToDoubleHashMap backing store. |
Modifier and Type | Method and Description |
---|---|
RealVector |
AbstractRealVector.add(double[] v)
Compute the sum of this vector and
v . |
RealVector |
ArrayRealVector.add(double[] v)
Compute the sum of this vector and
v . |
RealVector |
RealVector.add(double[] v)
Compute the sum of this vector and
v . |
RealVector |
AbstractRealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
ArrayRealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
OpenMapRealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
RealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
ArrayRealVector.append(double in)
Construct a vector by appending a double to this vector.
|
RealVector |
RealVector.append(double d)
Construct a vector by appending a double to this vector.
|
RealVector |
ArrayRealVector.append(double[] in)
Construct a vector by appending a double array to this vector.
|
RealVector |
RealVector.append(double[] a)
Construct a vector by appending a double array to this vector.
|
RealVector |
ArrayRealVector.append(RealVector v)
Construct a vector by appending a vector to this vector.
|
RealVector |
RealVector.append(RealVector v)
Construct a vector by appending a vector to this vector.
|
RealVector |
RealVector.copy()
Returns a (deep) copy of this vector.
|
static RealVector |
MatrixUtils.createRealVector(double[] data)
Creates a
RealVector using the data from the input array. |
RealVector |
AbstractRealVector.ebeDivide(double[] v)
Element-by-element division.
|
RealVector |
ArrayRealVector.ebeDivide(double[] v)
Element-by-element division.
|
RealVector |
RealVector.ebeDivide(double[] v)
Element-by-element division.
|
RealVector |
ArrayRealVector.ebeDivide(RealVector v)
Element-by-element division.
|
RealVector |
RealVector.ebeDivide(RealVector v)
Element-by-element division.
|
RealVector |
AbstractRealVector.ebeMultiply(double[] v)
Element-by-element multiplication.
|
RealVector |
ArrayRealVector.ebeMultiply(double[] v)
Element-by-element multiplication.
|
RealVector |
RealVector.ebeMultiply(double[] v)
Element-by-element multiplication.
|
RealVector |
ArrayRealVector.ebeMultiply(RealVector v)
Element-by-element multiplication.
|
RealVector |
RealVector.ebeMultiply(RealVector v)
Element-by-element multiplication.
|
RealVector |
RealMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
RealVector |
BlockRealMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
RealVector |
AbstractRealMatrix.getColumnVector(int column)
Returns the entries in column number
column
as a vector. |
RealVector |
EigenDecomposition.getEigenvector(int i)
Returns a copy of the ith eigenvector of the original matrix.
|
RealVector |
EigenDecompositionImpl.getEigenvector(int i)
Returns a copy of the ith eigenvector of the original matrix.
|
RealVector |
RealMatrix.getRowVector(int row)
Returns the entries in row number
row
as a vector. |
RealVector |
BlockRealMatrix.getRowVector(int row)
Returns the entries in row number
row
as a vector. |
RealVector |
AbstractRealMatrix.getRowVector(int row)
Returns the entries in row number
row
as a vector. |
RealVector |
ArrayRealVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
RealVector |
RealVector.getSubVector(int index,
int n)
Get a subvector from consecutive elements.
|
RealVector |
AbstractRealVector.map(UnivariateRealFunction function)
Acts as if implemented as:
|
RealVector |
RealVector.map(UnivariateRealFunction function)
Acts as if implemented as:
|
RealVector |
AbstractRealVector.mapAbs()
Map the
Math.abs(double) function to each entry. |
RealVector |
RealVector.mapAbs()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAbsToSelf()
Map the
Math.abs(double) function to each entry. |
RealVector |
ArrayRealVector.mapAbsToSelf()
Map the
Math.abs(double) function to each entry. |
RealVector |
RealVector.mapAbsToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAcos()
Map the
Math.acos(double) function to each entry. |
RealVector |
RealVector.mapAcos()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAcosToSelf()
Map the
Math.acos(double) function to each entry. |
RealVector |
ArrayRealVector.mapAcosToSelf()
Map the
Math.acos(double) function to each entry. |
RealVector |
RealVector.mapAcosToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAdd(double d)
Add a value to each entry.
|
RealVector |
RealVector.mapAdd(double d)
Add a value to each entry.
|
RealVector |
AbstractRealVector.mapAddToSelf(double d)
Add a value to each entry.
|
RealVector |
ArrayRealVector.mapAddToSelf(double d)
Add a value to each entry.
|
RealVector |
RealVector.mapAddToSelf(double d)
Add a value to each entry.
|
RealVector |
AbstractRealVector.mapAsin()
Map the
Math.asin(double) function to each entry. |
RealVector |
RealVector.mapAsin()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAsinToSelf()
Map the
Math.asin(double) function to each entry. |
RealVector |
ArrayRealVector.mapAsinToSelf()
Map the
Math.asin(double) function to each entry. |
RealVector |
RealVector.mapAsinToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAtan()
Map the
Math.atan(double) function to each entry. |
RealVector |
RealVector.mapAtan()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapAtanToSelf()
Map the
Math.atan(double) function to each entry. |
RealVector |
ArrayRealVector.mapAtanToSelf()
Map the
Math.atan(double) function to each entry. |
RealVector |
RealVector.mapAtanToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCbrt()
Map the
Math.cbrt(double) function to each entry. |
RealVector |
RealVector.mapCbrt()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCbrtToSelf()
Map the
Math.cbrt(double) function to each entry. |
RealVector |
ArrayRealVector.mapCbrtToSelf()
Map the
Math.cbrt(double) function to each entry. |
RealVector |
RealVector.mapCbrtToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCeil()
Map the
Math.ceil(double) function to each entry. |
RealVector |
RealVector.mapCeil()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCeilToSelf()
Map the
Math.ceil(double) function to each entry. |
RealVector |
ArrayRealVector.mapCeilToSelf()
Map the
Math.ceil(double) function to each entry. |
RealVector |
RealVector.mapCeilToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCos()
Map the
Math.cos(double) function to each entry. |
RealVector |
RealVector.mapCos()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCosh()
Map the
Math.cosh(double) function to each entry. |
RealVector |
RealVector.mapCosh()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCoshToSelf()
Map the
Math.cosh(double) function to each entry. |
RealVector |
ArrayRealVector.mapCoshToSelf()
Map the
Math.cosh(double) function to each entry. |
RealVector |
RealVector.mapCoshToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapCosToSelf()
Map the
Math.cos(double) function to each entry. |
RealVector |
ArrayRealVector.mapCosToSelf()
Map the
Math.cos(double) function to each entry. |
RealVector |
RealVector.mapCosToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapDivide(double d)
Divide each entry.
|
RealVector |
RealVector.mapDivide(double d)
Divide each entry.
|
RealVector |
AbstractRealVector.mapDivideToSelf(double d)
Divide each entry.
|
RealVector |
ArrayRealVector.mapDivideToSelf(double d)
Divide each entry.
|
RealVector |
RealVector.mapDivideToSelf(double d)
Divide each entry.
|
RealVector |
AbstractRealVector.mapExp()
Map the
Math.exp(double) function to each entry. |
RealVector |
RealVector.mapExp()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapExpm1()
Map the
Math.expm1(double) function to each entry. |
RealVector |
RealVector.mapExpm1()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapExpm1ToSelf()
Map the
Math.expm1(double) function to each entry. |
RealVector |
ArrayRealVector.mapExpm1ToSelf()
Map the
Math.expm1(double) function to each entry. |
RealVector |
RealVector.mapExpm1ToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapExpToSelf()
Map
Math.exp(double) operation to each entry. |
RealVector |
ArrayRealVector.mapExpToSelf()
Map
Math.exp(double) operation to each entry. |
RealVector |
RealVector.mapExpToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapFloor()
Map the
Math.floor(double) function to each entry. |
RealVector |
RealVector.mapFloor()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapFloorToSelf()
Map the
Math.floor(double) function to each entry. |
RealVector |
ArrayRealVector.mapFloorToSelf()
Map the
Math.floor(double) function to each entry. |
RealVector |
RealVector.mapFloorToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapInv()
Map the 1/x function to each entry.
|
RealVector |
RealVector.mapInv()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapInvToSelf()
Map the 1/x function to each entry.
|
RealVector |
ArrayRealVector.mapInvToSelf()
Map the 1/x function to each entry.
|
RealVector |
RealVector.mapInvToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapLog()
Map the
Math.log(double) function to each entry. |
RealVector |
RealVector.mapLog()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapLog10()
Map the
Math.log10(double) function to each entry. |
RealVector |
RealVector.mapLog10()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapLog10ToSelf()
Map the
Math.log10(double) function to each entry. |
RealVector |
ArrayRealVector.mapLog10ToSelf()
Map the
Math.log10(double) function to each entry. |
RealVector |
RealVector.mapLog10ToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapLog1p()
Map the
Math.log1p(double) function to each entry. |
RealVector |
RealVector.mapLog1p()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapLog1pToSelf()
Map the
Math.log1p(double) function to each entry. |
RealVector |
ArrayRealVector.mapLog1pToSelf()
Map the
Math.log1p(double) function to each entry. |
RealVector |
RealVector.mapLog1pToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapLogToSelf()
Map the
Math.log(double) function to each entry. |
RealVector |
ArrayRealVector.mapLogToSelf()
Map the
Math.log(double) function to each entry. |
RealVector |
RealVector.mapLogToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapMultiply(double d)
Multiply each entry.
|
RealVector |
RealVector.mapMultiply(double d)
Multiply each entry.
|
RealVector |
AbstractRealVector.mapMultiplyToSelf(double d)
Multiply each entry.
|
RealVector |
ArrayRealVector.mapMultiplyToSelf(double d)
Multiply each entry.
|
RealVector |
RealVector.mapMultiplyToSelf(double d)
Multiply each entry.
|
RealVector |
AbstractRealVector.mapPow(double d)
Map a power operation to each entry.
|
RealVector |
RealVector.mapPow(double d)
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapPowToSelf(double d)
Map a power operation to each entry.
|
RealVector |
ArrayRealVector.mapPowToSelf(double d)
Map a power operation to each entry.
|
RealVector |
RealVector.mapPowToSelf(double d)
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapRint()
Map the
Math.rint(double) function to each entry. |
RealVector |
RealVector.mapRint()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapRintToSelf()
Map the
Math.rint(double) function to each entry. |
RealVector |
ArrayRealVector.mapRintToSelf()
Map the
Math.rint(double) function to each entry. |
RealVector |
RealVector.mapRintToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSignum()
Map the
Math.signum(double) function to each entry. |
RealVector |
RealVector.mapSignum()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSignumToSelf()
Map the
Math.signum(double) function to each entry. |
RealVector |
ArrayRealVector.mapSignumToSelf()
Map the
Math.signum(double) function to each entry. |
RealVector |
RealVector.mapSignumToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSin()
Map the
Math.sin(double) function to each entry. |
RealVector |
RealVector.mapSin()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSinh()
Map the
Math.sinh(double) function to each entry. |
RealVector |
RealVector.mapSinh()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSinhToSelf()
Map the
Math.sinh(double) function to each entry. |
RealVector |
ArrayRealVector.mapSinhToSelf()
Map the
Math.sinh(double) function to each entry. |
RealVector |
RealVector.mapSinhToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSinToSelf()
Map the
Math.sin(double) function to each entry. |
RealVector |
ArrayRealVector.mapSinToSelf()
Map the
Math.sin(double) function to each entry. |
RealVector |
RealVector.mapSinToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSqrt()
Map the
Math.sqrt(double) function to each entry. |
RealVector |
RealVector.mapSqrt()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSqrtToSelf()
Map the
Math.sqrt(double) function to each entry. |
RealVector |
ArrayRealVector.mapSqrtToSelf()
Map the
Math.sqrt(double) function to each entry. |
RealVector |
RealVector.mapSqrtToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapSubtract(double d)
Subtract a value from each entry.
|
RealVector |
RealVector.mapSubtract(double d)
Subtract a value from each entry.
|
RealVector |
AbstractRealVector.mapSubtractToSelf(double d)
Subtract a value from each entry.
|
RealVector |
ArrayRealVector.mapSubtractToSelf(double d)
Subtract a value from each entry.
|
RealVector |
RealVector.mapSubtractToSelf(double d)
Subtract a value from each entry.
|
RealVector |
AbstractRealVector.mapTan()
Map the
Math.tan(double) function to each entry. |
RealVector |
RealVector.mapTan()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapTanh()
Map the
Math.tanh(double) function to each entry. |
RealVector |
RealVector.mapTanh()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapTanhToSelf()
Map the
Math.tanh(double) function to each entry. |
RealVector |
ArrayRealVector.mapTanhToSelf()
Map the
Math.tanh(double) function to each entry. |
RealVector |
RealVector.mapTanhToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapTanToSelf()
Map the
Math.tan(double) function to each entry. |
RealVector |
ArrayRealVector.mapTanToSelf()
Map the
Math.tan(double) function to each entry. |
RealVector |
RealVector.mapTanToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapToSelf(UnivariateRealFunction function)
Acts as if it is implemented as:
|
RealVector |
RealVector.mapToSelf(UnivariateRealFunction function)
Acts as if it is implemented as:
|
RealVector |
AbstractRealVector.mapUlp()
Map the
Math.ulp(double) function to each entry. |
RealVector |
RealVector.mapUlp()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
AbstractRealVector.mapUlpToSelf()
Map the
Math.ulp(double) function to each entry. |
RealVector |
ArrayRealVector.mapUlpToSelf()
Map the
Math.ulp(double) function to each entry. |
RealVector |
RealVector.mapUlpToSelf()
Deprecated.
in 2.2 (to be removed in 3.0).
|
RealVector |
RealMatrix.operate(RealVector v)
Returns the result of multiplying this by the vector
v . |
RealVector |
AbstractRealMatrix.operate(RealVector v)
Returns the result of multiplying this by the vector
v . |
RealVector |
RealMatrix.preMultiply(RealVector v)
Returns the (row) vector result of premultiplying this by the vector
v . |
RealVector |
AbstractRealMatrix.preMultiply(RealVector v)
Returns the (row) vector result of premultiplying this by the vector
v . |
RealVector |
AbstractRealVector.projection(double[] v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
ArrayRealVector.projection(double[] v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
RealVector.projection(double[] v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
ArrayRealVector.projection(RealVector v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
OpenMapRealVector.projection(RealVector v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
RealVector.projection(RealVector v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
DecompositionSolver.solve(RealVector b)
Solve the linear equation A × X = B for matrices A.
|
RealVector |
AbstractRealVector.subtract(double[] v)
Subtract
v from this vector. |
RealVector |
ArrayRealVector.subtract(double[] v)
Subtract
v from this vector. |
RealVector |
RealVector.subtract(double[] v)
Subtract
v from this vector. |
RealVector |
AbstractRealVector.subtract(RealVector v)
Subtract
v from this vector. |
RealVector |
ArrayRealVector.subtract(RealVector v)
Subtract
v from this vector. |
RealVector |
RealVector.subtract(RealVector v)
Subtract
v from this vector. |
RealVector |
AbstractRealVector.unitVector()
Creates a unit vector pointing in the direction of this vector.
|
RealVector |
ArrayRealVector.unitVector()
Creates a unit vector pointing in the direction of this vector.
|
RealVector |
RealVector.unitVector()
Creates a unit vector pointing in the direction of this vector.
|
Modifier and Type | Method and Description |
---|---|
RealVector |
AbstractRealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
ArrayRealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
OpenMapRealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
RealVector.add(RealVector v)
Compute the sum of this vector and
v . |
RealVector |
ArrayRealVector.append(RealVector v)
Construct a vector by appending a vector to this vector.
|
OpenMapRealVector |
OpenMapRealVector.append(RealVector v)
Construct a vector by appending a vector to this vector.
|
RealVector |
RealVector.append(RealVector v)
Construct a vector by appending a vector to this vector.
|
protected void |
AbstractRealVector.checkVectorDimensions(RealVector v)
Check if instance and specified vectors have the same dimension.
|
protected void |
ArrayRealVector.checkVectorDimensions(RealVector v)
Check if instance and specified vectors have the same dimension.
|
double |
AbstractRealVector.dotProduct(RealVector v)
Compute the dot product.
|
double |
ArrayRealVector.dotProduct(RealVector v)
Compute the dot product.
|
double |
OpenMapRealVector.dotProduct(RealVector v)
Compute the dot product.
|
double |
RealVector.dotProduct(RealVector v)
Compute the dot product.
|
RealVector |
ArrayRealVector.ebeDivide(RealVector v)
Element-by-element division.
|
OpenMapRealVector |
OpenMapRealVector.ebeDivide(RealVector v)
Element-by-element division.
|
RealVector |
RealVector.ebeDivide(RealVector v)
Element-by-element division.
|
RealVector |
ArrayRealVector.ebeMultiply(RealVector v)
Element-by-element multiplication.
|
OpenMapRealVector |
OpenMapRealVector.ebeMultiply(RealVector v)
Element-by-element multiplication.
|
RealVector |
RealVector.ebeMultiply(RealVector v)
Element-by-element multiplication.
|
StringBuffer |
RealVectorFormat.format(RealVector vector,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a
RealVector object to produce a string. |
static String |
RealVectorFormat.formatRealVector(RealVector v)
This static method calls
Format.format(Object) on a default instance of
RealVectorFormat. |
double |
AbstractRealVector.getDistance(RealVector v)
Distance between two vectors.
|
double |
ArrayRealVector.getDistance(RealVector v)
Distance between two vectors.
|
double |
OpenMapRealVector.getDistance(RealVector v)
Distance between two vectors.
|
double |
RealVector.getDistance(RealVector v)
Distance between two vectors.
|
double |
AbstractRealVector.getL1Distance(RealVector v)
Distance between two vectors.
|
double |
ArrayRealVector.getL1Distance(RealVector v)
Distance between two vectors.
|
double |
OpenMapRealVector.getL1Distance(RealVector v)
Distance between two vectors.
|
double |
RealVector.getL1Distance(RealVector v)
Distance between two vectors.
|
double |
AbstractRealVector.getLInfDistance(RealVector v)
Distance between two vectors.
|
double |
ArrayRealVector.getLInfDistance(RealVector v)
Distance between two vectors.
|
double |
OpenMapRealVector.getLInfDistance(RealVector v)
Distance between two vectors.
|
double |
RealVector.getLInfDistance(RealVector v)
Distance between two vectors.
|
RealVector |
RealMatrix.operate(RealVector v)
Returns the result of multiplying this by the vector
v . |
RealVector |
AbstractRealMatrix.operate(RealVector v)
Returns the result of multiplying this by the vector
v . |
RealMatrix |
AbstractRealVector.outerProduct(RealVector v)
Compute the outer product.
|
RealMatrix |
ArrayRealVector.outerProduct(RealVector v)
Compute the outer product.
|
RealMatrix |
RealVector.outerProduct(RealVector v)
Compute the outer product.
|
RealVector |
RealMatrix.preMultiply(RealVector v)
Returns the (row) vector result of premultiplying this by the vector
v . |
RealVector |
AbstractRealMatrix.preMultiply(RealVector v)
Returns the (row) vector result of premultiplying this by the vector
v . |
RealVector |
ArrayRealVector.projection(RealVector v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
OpenMapRealVector.projection(RealVector v)
Find the orthogonal projection of this vector onto another vector.
|
RealVector |
RealVector.projection(RealVector v)
Find the orthogonal projection of this vector onto another vector.
|
static void |
MatrixUtils.serializeRealVector(RealVector vector,
ObjectOutputStream oos)
Serialize a
RealVector . |
void |
RealMatrix.setColumnVector(int column,
RealVector vector)
Sets the entries in column number
column
as a vector. |
void |
BlockRealMatrix.setColumnVector(int column,
RealVector vector)
Sets the entries in column number
column
as a vector. |
void |
AbstractRealMatrix.setColumnVector(int column,
RealVector vector)
Sets the entries in column number
column
as a vector. |
void |
RealMatrix.setRowVector(int row,
RealVector vector)
Sets the entries in row number
row
as a vector. |
void |
BlockRealMatrix.setRowVector(int row,
RealVector vector)
Sets the entries in row number
row
as a vector. |
void |
AbstractRealMatrix.setRowVector(int row,
RealVector vector)
Sets the entries in row number
row
as a vector. |
void |
AbstractRealVector.setSubVector(int index,
RealVector v)
Set a set of consecutive elements.
|
void |
ArrayRealVector.setSubVector(int index,
RealVector v)
Set a set of consecutive elements.
|
void |
OpenMapRealVector.setSubVector(int index,
RealVector v)
Set a set of consecutive elements.
|
void |
RealVector.setSubVector(int index,
RealVector v)
Set a set of consecutive elements.
|
RealVector |
DecompositionSolver.solve(RealVector b)
Solve the linear equation A × X = B for matrices A.
|
RealVector |
AbstractRealVector.subtract(RealVector v)
Subtract
v from this vector. |
RealVector |
ArrayRealVector.subtract(RealVector v)
Subtract
v from this vector. |
OpenMapRealVector |
OpenMapRealVector.subtract(RealVector v)
Subtract
v from this vector. |
RealVector |
RealVector.subtract(RealVector v)
Subtract
v from this vector. |
Constructor and Description |
---|
ArrayRealVector(ArrayRealVector v1,
RealVector v2)
Construct a vector by appending one vector to another vector.
|
ArrayRealVector(RealVector v)
Construct a vector from another vector, using a deep copy.
|
ArrayRealVector(RealVector v1,
ArrayRealVector v2)
Construct a vector by appending one vector to another vector.
|
OpenMapRealVector(RealVector v)
Generic copy constructor.
|
Modifier and Type | Method and Description |
---|---|
RealVector |
LinearObjectiveFunction.getCoefficients()
Get the coefficients of the linear equation being optimized.
|
RealVector |
LinearConstraint.getCoefficients()
Get the coefficients of the constraint (left hand side).
|
Modifier and Type | Method and Description |
---|---|
double |
LinearObjectiveFunction.getValue(RealVector point)
Compute the value of the linear equation at the current point
|
Constructor and Description |
---|
LinearConstraint(RealVector lhsCoefficients,
double lhsConstant,
Relationship relationship,
RealVector rhsCoefficients,
double rhsConstant)
Build a constraint involving two linear equations.
|
LinearConstraint(RealVector coefficients,
Relationship relationship,
double value)
Build a constraint involving a single linear equation.
|
LinearObjectiveFunction(RealVector coefficients,
double constantTerm) |
Modifier and Type | Field and Description |
---|---|
protected RealVector |
AbstractMultipleLinearRegression.Y
Y sample data.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RealVector |
AbstractMultipleLinearRegression.calculateBeta()
Calculates the beta of multiple linear regression in matrix notation.
|
protected RealVector |
OLSMultipleLinearRegression.calculateBeta()
Calculates the regression coefficients using OLS.
|
protected RealVector |
GLSMultipleLinearRegression.calculateBeta()
Calculates beta by GLS.
|
protected RealVector |
AbstractMultipleLinearRegression.calculateResiduals()
Calculates the residuals of multiple linear regression in matrix
notation.
|
Copyright © 2003–2018. All rights reserved.