Uses of Class
org.apache.commons.math3.linear.RealVector
Packages that use RealVector
Package
Description
Univariate real functions interpolation algorithms.
Implementations of common discrete-time linear filters.
This package provides algorithms that minimize the residuals
between observations and model values.
Linear algebra support.
Optimization algorithms for linear constrained problems.
This package provides optimization algorithms for linear constrained problems.
Statistical routines involving multivariate data.
-
Uses of RealVector in org.apache.commons.math3.analysis.interpolation
Fields in org.apache.commons.math3.analysis.interpolation declared as RealVectorModifier and TypeFieldDescriptionprivate final RealVector
MicrosphereInterpolatingFunction.MicrosphereSurfaceElement.normal
Normal vector characterizing a surface element.Fields in org.apache.commons.math3.analysis.interpolation with type parameters of type RealVectorModifier and TypeFieldDescriptionprivate Map.Entry
<RealVector, Double> MicrosphereInterpolatingFunction.MicrosphereSurfaceElement.brightestSample
Brightest sample.private final Map
<RealVector, Double> MicrosphereInterpolatingFunction.samples
Deprecated.Sample data.Methods in org.apache.commons.math3.analysis.interpolation that return RealVectorModifier and TypeMethodDescription(package private) RealVector
MicrosphereInterpolatingFunction.MicrosphereSurfaceElement.normal()
Return the normal vector.Methods in org.apache.commons.math3.analysis.interpolation that return types with arguments of type RealVectorModifier and TypeMethodDescription(package private) Map.Entry
<RealVector, Double> MicrosphereInterpolatingFunction.MicrosphereSurfaceElement.sample()
Get the sample illuminating the element the most.Methods in org.apache.commons.math3.analysis.interpolation with parameters of type RealVectorModifier and TypeMethodDescriptionprivate double
MicrosphereInterpolatingFunction.cosAngle
(RealVector v, RealVector w) Deprecated.Compute the cosine of the angle between 2 vectors.Method parameters in org.apache.commons.math3.analysis.interpolation with type arguments of type RealVectorModifier and TypeMethodDescription(package private) void
MicrosphereInterpolatingFunction.MicrosphereSurfaceElement.store
(double illuminationFromSample, Map.Entry<RealVector, Double> sample) Store the illumination and index of the brightest sample. -
Uses of RealVector in org.apache.commons.math3.filter
Fields in org.apache.commons.math3.filter declared as RealVectorModifier and TypeFieldDescriptionprivate RealVector
DefaultProcessModel.initialStateEstimateVector
The initial state estimation of the observed process.private RealVector
KalmanFilter.stateEstimation
The internal state estimation vector, equivalent to x hat.Methods in org.apache.commons.math3.filter that return RealVectorModifier and TypeMethodDescriptionDefaultProcessModel.getInitialStateEstimate()
Returns the initial state estimation vector.ProcessModel.getInitialStateEstimate()
Returns the initial state estimation vector.KalmanFilter.getStateEstimationVector()
Returns a copy of the current state estimation vector.Methods in org.apache.commons.math3.filter with parameters of type RealVectorModifier and TypeMethodDescriptionvoid
KalmanFilter.correct
(RealVector z) Correct the current state estimate with an actual measurement.void
KalmanFilter.predict
(RealVector u) Predict the internal state estimation one time step ahead.Constructors in org.apache.commons.math3.filter with parameters of type RealVectorModifierConstructorDescriptionDefaultProcessModel
(RealMatrix stateTransition, RealMatrix control, RealMatrix processNoise, RealVector initialStateEstimate, RealMatrix initialErrorCovariance) Create a newProcessModel
, taking double arrays as input parameters. -
Uses of RealVector in org.apache.commons.math3.fitting.leastsquares
Fields in org.apache.commons.math3.fitting.leastsquares declared as RealVectorModifier and TypeFieldDescriptionprivate final RealVector
LeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation.point
Point of evaluation.private final RealVector
LeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation.point
Point of evaluation.private final RealVector
LeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation.residuals
Computed residuals.private RealVector
LeastSquaresBuilder.start
initial guessprivate final RealVector
LeastSquaresFactory.LocalLeastSquaresProblem.start
Initial guess.private RealVector
LeastSquaresBuilder.target
observed valuesprivate final RealVector
LeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation.target
Target values for the model function at optimum.private final RealVector
LeastSquaresFactory.LocalLeastSquaresProblem.target
Target values for the model function at optimum.Methods in org.apache.commons.math3.fitting.leastsquares that return RealVectorModifier and TypeMethodDescriptionLeastSquaresFactory.LocalValueAndJacobianFunction.computeValue
(double[] params) Compute the value.ValueAndJacobianFunction.computeValue
(double[] params) Compute the value.DenseWeightedEvaluation.getPoint()
Get the abscissa (independent variables) of this evaluation.LeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation.getPoint()
Get the abscissa (independent variables) of this evaluation.LeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation.getPoint()
Get the abscissa (independent variables) of this evaluation.LeastSquaresProblem.Evaluation.getPoint()
Get the abscissa (independent variables) of this evaluation.OptimumImpl.getPoint()
Get the abscissa (independent variables) of this evaluation.DenseWeightedEvaluation.getResiduals()
Get the weighted residuals.LeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation.getResiduals()
Get the weighted residuals.LeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation.getResiduals()
Get the weighted residuals.LeastSquaresProblem.Evaluation.getResiduals()
Get the weighted residuals.OptimumImpl.getResiduals()
Get the weighted residuals.AbstractEvaluation.getSigma
(double covarianceSingularityThreshold) Get an estimate of the standard deviation of the parameters.LeastSquaresProblem.Evaluation.getSigma
(double covarianceSingularityThreshold) Get an estimate of the standard deviation of the parameters.OptimumImpl.getSigma
(double covarianceSingularityThreshold) Get an estimate of the standard deviation of the parameters.LeastSquaresAdapter.getStart()
Gets the initial guess.LeastSquaresFactory.LocalLeastSquaresProblem.getStart()
Gets the initial guess.LeastSquaresProblem.getStart()
Gets the initial guess.protected abstract RealVector
GaussNewtonOptimizer.Decomposition.solve
(RealMatrix jacobian, RealVector residuals) Solve the linear least squares problem Jx=r.ParameterValidator.validate
(RealVector params) Validates the set of parameters.Methods in org.apache.commons.math3.fitting.leastsquares that return types with arguments of type RealVectorModifier and TypeMethodDescriptionprivate static Pair
<RealMatrix, RealVector> GaussNewtonOptimizer.computeNormalMatrix
(RealMatrix jacobian, RealVector residuals) Compute the normal matrix, JTJ.LeastSquaresFactory.LocalValueAndJacobianFunction.value
(RealVector point) Compute the function value and its Jacobian.MultivariateJacobianFunction.value
(RealVector point) Compute the function value and its Jacobian.Methods in org.apache.commons.math3.fitting.leastsquares with parameters of type RealVectorModifier and TypeMethodDescriptionprivate static Pair
<RealMatrix, RealVector> GaussNewtonOptimizer.computeNormalMatrix
(RealMatrix jacobian, RealVector residuals) Compute the normal matrix, JTJ.static LeastSquaresProblem
LeastSquaresFactory.create
(MultivariateJacobianFunction model, RealVector observed, RealVector start, RealMatrix weight, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations) Create aLeastSquaresProblem
from the given elements.static LeastSquaresProblem
LeastSquaresFactory.create
(MultivariateJacobianFunction model, RealVector observed, RealVector start, RealMatrix weight, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations, boolean lazyEvaluation, ParameterValidator paramValidator) Create aLeastSquaresProblem
from the given elements.static LeastSquaresProblem
LeastSquaresFactory.create
(MultivariateJacobianFunction model, RealVector observed, RealVector start, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations) Create aLeastSquaresProblem
from the given elements.LeastSquaresAdapter.evaluate
(RealVector point) Evaluate the model at the specified point.LeastSquaresFactory.LocalLeastSquaresProblem.evaluate
(RealVector point) Evaluate the model at the specified point.LeastSquaresProblem.evaluate
(RealVector point) Evaluate the model at the specified point.protected abstract RealVector
GaussNewtonOptimizer.Decomposition.solve
(RealMatrix jacobian, RealVector residuals) Solve the linear least squares problem Jx=r.LeastSquaresBuilder.start
(RealVector newStart) Configure the initial guess.LeastSquaresBuilder.target
(RealVector newTarget) Configure the observed data.ParameterValidator.validate
(RealVector params) Validates the set of parameters.LeastSquaresFactory.LocalValueAndJacobianFunction.value
(RealVector point) Compute the function value and its Jacobian.MultivariateJacobianFunction.value
(RealVector point) Compute the function value and its Jacobian.static LeastSquaresProblem
LeastSquaresFactory.weightDiagonal
(LeastSquaresProblem problem, RealVector weights) Apply a diagonal weight matrix to theLeastSquaresProblem
.Constructors in org.apache.commons.math3.fitting.leastsquares with parameters of type RealVectorModifierConstructorDescriptionprivate
LazyUnweightedEvaluation
(ValueAndJacobianFunction model, RealVector target, RealVector point) Create anLeastSquaresProblem.Evaluation
with no weights.(package private)
LocalLeastSquaresProblem
(MultivariateJacobianFunction model, RealVector target, RealVector start, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations, boolean lazyEvaluation, ParameterValidator paramValidator) Create aLeastSquaresProblem
from the given data.private
UnweightedEvaluation
(RealVector values, RealMatrix jacobian, RealVector target, RealVector point) Create anLeastSquaresProblem.Evaluation
with no weights. -
Uses of RealVector in org.apache.commons.math3.linear
Subclasses of RealVector in org.apache.commons.math3.linearModifier and TypeClassDescriptionclass
This class implements theRealVector
interface with a double array.class
This class implements theRealVector
interface with aOpenIntToDoubleHashMap
backing store.class
Marker class for RealVectors that require sparse backing storageFields in org.apache.commons.math3.linear declared as RealVectorModifier and TypeFieldDescriptionprivate final RealVector
DefaultIterativeLinearSolverEvent.b
The right-hand side vector.private final RealVector
SymmLQ.State.b
Reference to the right-hand side vector.private final RealVector
SymmLQ.State.mb
The value of M * b.private final RealVector
DefaultIterativeLinearSolverEvent.r
The current estimate of the residual.private RealVector
SymmLQ.State.r1
The value of beta[k] * M^(-1) * P' * v[k].private RealVector
SymmLQ.State.r2
The value of beta[k+1] * M^(-1) * P' * v[k+1].private RealVector
SymmLQ.State.wbar
The value of P' * wbar[k] or P' * (wbar[k] - s[1] * ...private final RealVector
DefaultIterativeLinearSolverEvent.x
The current estimate of the solution.private final RealVector
SymmLQ.State.xL
A reference to the vector to be updated with the solution.private RealVector
SymmLQ.State.y
The value of beta[k+1] * P' * v[k+1].Methods in org.apache.commons.math3.linear that return RealVectorModifier and TypeMethodDescriptionOpenMapRealVector.add
(RealVector v) Compute the sum of this vector andv
.RealVector.add
(RealVector v) Compute the sum of this vector andv
.ArrayRealVector.append
(double in) Construct a new vector by appending a double to this vector.ArrayRealVector.append
(RealVector v) Construct a new vector by appending a vector to this vector.abstract RealVector
RealVector.append
(double d) Construct a new vector by appending a double to this vector.abstract RealVector
RealVector.append
(RealVector v) Construct a new vector by appending a vector to this vector.RealVector.combine
(double a, double b, RealVector y) Returns a new vector representinga * this + b * y
, the linear combination ofthis
andy
.RealVector.combineToSelf
(double a, double b, RealVector y) Updatesthis
with the linear combination ofthis
andy
.abstract RealVector
RealVector.copy()
Returns a (deep) copy of this vector.static RealVector
MatrixUtils.createRealVector
(double[] data) Creates aRealVector
using the data from the input array.abstract RealVector
RealVector.ebeDivide
(RealVector v) Element-by-element division.abstract RealVector
RealVector.ebeMultiply
(RealVector v) Element-by-element multiplication.AbstractRealMatrix.getColumnVector
(int column) Get the entries at the given column index as a vector.BlockRealMatrix.getColumnVector
(int column) Get the entries at the given column index as a vector.RealMatrix.getColumnVector
(int column) Get the entries at the given column index as a vector.EigenDecomposition.getEigenvector
(int i) Gets a copy of the ith eigenvector of the original matrix.DefaultIterativeLinearSolverEvent.getResidual()
Returns the residual.IterativeLinearSolverEvent.getResidual()
Returns the residual.DefaultIterativeLinearSolverEvent.getRightHandSideVector()
Returns the current right-hand side of the linear system to be solved.abstract RealVector
IterativeLinearSolverEvent.getRightHandSideVector()
Returns the current right-hand side of the linear system to be solved.AbstractRealMatrix.getRowVector
(int row) Returns the entries in row numberrow
as a vector.BlockRealMatrix.getRowVector
(int row) Returns the entries in row numberrow
as a vector.RealMatrix.getRowVector
(int row) Returns the entries in row numberrow
as a vector.DefaultIterativeLinearSolverEvent.getSolution()
Returns the current estimate of the solution to the linear system to be solved.abstract RealVector
IterativeLinearSolverEvent.getSolution()
Returns the current estimate of the solution to the linear system to be solved.ArrayRealVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.abstract RealVector
RealVector.getSubVector
(int index, int n) Get a subvector from consecutive elements.RealVector.map
(UnivariateFunction function) Acts as if implemented as:RealVector.mapAdd
(double d) Add a value to each entry.ArrayRealVector.mapAddToSelf
(double d) Add a value to each entry.RealVector.mapAddToSelf
(double d) Add a value to each entry.RealVector.mapDivide
(double d) Divide each entry by the argument.ArrayRealVector.mapDivideToSelf
(double d) Divide each entry by the argument.RealVector.mapDivideToSelf
(double d) Divide each entry by the argument.RealVector.mapMultiply
(double d) Multiply each entry by the argument.ArrayRealVector.mapMultiplyToSelf
(double d) Multiply each entry.RealVector.mapMultiplyToSelf
(double d) Multiply each entry.RealVector.mapSubtract
(double d) Subtract a value from each entry.ArrayRealVector.mapSubtractToSelf
(double d) Subtract a value from each entry.RealVector.mapSubtractToSelf
(double d) Subtract a value from each entry.RealVector.mapToSelf
(UnivariateFunction function) Acts as if it is implemented as:AbstractRealMatrix.operate
(RealVector v) Returns the result of multiplyingthis
by the vectorx
.JacobiPreconditioner.operate
(RealVector x) Returns the result of multiplyingthis
by the vectorx
.abstract RealVector
RealLinearOperator.operate
(RealVector x) Returns the result of multiplyingthis
by the vectorx
.RealMatrix.operate
(RealVector v) Returns the result of multiplying this by the vectorv
.RealLinearOperator.operateTranspose
(RealVector x) Returns the result of multiplying the transpose ofthis
operator by the vectorx
(optional operation).AbstractRealMatrix.preMultiply
(RealVector v) Returns the (row) vector result of premultiplying this by the vectorv
.DiagonalMatrix.preMultiply
(RealVector v) Returns the (row) vector result of premultiplying this by the vectorv
.RealMatrix.preMultiply
(RealVector v) Returns the (row) vector result of premultiplying this by the vectorv
.RealVector.projection
(RealVector v) Find the orthogonal projection of this vector onto another vector.CholeskyDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.DecompositionSolver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.EigenDecomposition.Solver.solve
(RealVector b) Solves the linear equation A × X = B for symmetric matrices A.IterativeLinearSolver.solve
(RealLinearOperator a, RealVector b) Returns an estimate of the solution to the linear system A · x = b.IterativeLinearSolver.solve
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.LUDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealVector b) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.QRDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.RRQRDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.SingularValueDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B in least square sense.SymmLQ.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b, boolean goodb, double shift) Returns an estimate of the solution to the linear system (A - shift · I) · x = b.SymmLQ.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solve
(RealLinearOperator a, RealVector b) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solve
(RealLinearOperator a, RealVector b, boolean goodb, double shift) Returns the solution to the system (A - shift · I) · x = b.SymmLQ.solve
(RealLinearOperator a, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.ConjugateGradient.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.abstract RealVector
IterativeLinearSolver.solveInPlace
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.abstract RealVector
PreconditionedIterativeLinearSolver.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solveInPlace
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x, boolean goodb, double shift) Returns an estimate of the solution to the linear system (A - shift · I) · x = b.SymmLQ.solveInPlace
(RealLinearOperator a, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.OpenMapRealVector.subtract
(RealVector v) Subtractv
from this vector.RealVector.subtract
(RealVector v) Subtractv
from this vector.RealVector.unitVector()
Creates a unit vector pointing in the direction of this vector.static RealVector
RealVector.unmodifiableRealVector
(RealVector v) Returns an unmodifiable view of the specified vector.Methods in org.apache.commons.math3.linear with parameters of type RealVectorModifier and TypeMethodDescriptionArrayRealVector.add
(RealVector v) Compute the sum of this vector andv
.OpenMapRealVector.add
(RealVector v) Compute the sum of this vector andv
.RealVector.add
(RealVector v) Compute the sum of this vector andv
.ArrayRealVector.append
(RealVector v) Construct a new vector by appending a vector to this vector.OpenMapRealVector.append
(RealVector v) Construct a new vector by appending a vector to this vector.abstract RealVector
RealVector.append
(RealVector v) Construct a new vector by appending a vector to this vector.protected static void
IterativeLinearSolver.checkParameters
(RealLinearOperator a, RealVector b, RealVector x0) Performs all dimension checks on the parameters ofsolve
andsolveInPlace
, and throws an exception if one of the checks fails.protected static void
PreconditionedIterativeLinearSolver.checkParameters
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Performs all dimension checks on the parameters ofsolve
andsolveInPlace
, and throws an exception if one of the checks fails.private static void
SymmLQ.State.checkSymmetry
(RealLinearOperator l, RealVector x, RealVector y, RealVector z) Performs a symmetry check on the specified linear operator, and throws an exception in case this check fails.protected void
ArrayRealVector.checkVectorDimensions
(RealVector v) Check if instance and specified vectors have the same dimension.protected void
RealVector.checkVectorDimensions
(RealVector v) Check if instance and specified vectors have the same dimension.ArrayRealVector.combine
(double a, double b, RealVector y) Returns a new vector representinga * this + b * y
, the linear combination ofthis
andy
.RealVector.combine
(double a, double b, RealVector y) Returns a new vector representinga * this + b * y
, the linear combination ofthis
andy
.ArrayRealVector.combineToSelf
(double a, double b, RealVector y) Updatesthis
with the linear combination ofthis
andy
.RealVector.combineToSelf
(double a, double b, RealVector y) Updatesthis
with the linear combination ofthis
andy
.double
RealVector.cosine
(RealVector v) Computes the cosine of the angle between this vector and the argument.private static void
SymmLQ.State.daxpbypz
(double a, RealVector x, double b, RealVector y, RealVector z) A BLAS-like function, for the operation z ← a · x + b · y + z.private static void
SymmLQ.State.daxpy
(double a, RealVector x, RealVector y) A clone of the BLASDAXPY
function, which carries out the operation y ← a · x + y.double
ArrayRealVector.dotProduct
(RealVector v) Compute the dot product of this vector withv
.double
RealVector.dotProduct
(RealVector v) Compute the dot product of this vector withv
.ArrayRealVector.ebeDivide
(RealVector v) Element-by-element division.OpenMapRealVector.ebeDivide
(RealVector v) Element-by-element division.abstract RealVector
RealVector.ebeDivide
(RealVector v) Element-by-element division.ArrayRealVector.ebeMultiply
(RealVector v) Element-by-element multiplication.OpenMapRealVector.ebeMultiply
(RealVector v) Element-by-element multiplication.abstract RealVector
RealVector.ebeMultiply
(RealVector v) Element-by-element multiplication.RealVectorFormat.format
(RealVector v) This method callsRealVectorFormat.format(RealVector,StringBuffer,FieldPosition)
.RealVectorFormat.format
(RealVector vector, StringBuffer toAppendTo, FieldPosition pos) Formats aRealVector
object to produce a string.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
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
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.AbstractRealMatrix.operate
(RealVector v) Returns the result of multiplyingthis
by the vectorx
.JacobiPreconditioner.operate
(RealVector x) Returns the result of multiplyingthis
by the vectorx
.abstract RealVector
RealLinearOperator.operate
(RealVector x) Returns the result of multiplyingthis
by the vectorx
.RealMatrix.operate
(RealVector v) Returns the result of multiplying this by the vectorv
.RealLinearOperator.operateTranspose
(RealVector x) Returns the result of multiplying the transpose ofthis
operator by the vectorx
(optional operation).ArrayRealVector.outerProduct
(RealVector v) Compute the outer product.RealVector.outerProduct
(RealVector v) Compute the outer product.AbstractRealMatrix.preMultiply
(RealVector v) Returns the (row) vector result of premultiplying this by the vectorv
.DiagonalMatrix.preMultiply
(RealVector v) Returns the (row) vector result of premultiplying this by the vectorv
.RealMatrix.preMultiply
(RealVector v) Returns the (row) vector result of premultiplying this by the vectorv
.RealVector.projection
(RealVector v) Find the orthogonal projection of this vector onto another vector.(package private) void
SymmLQ.State.refineSolution
(RealVector x) Move to the CG point if it seems better.static void
MatrixUtils.serializeRealVector
(RealVector vector, ObjectOutputStream oos) Serialize aRealVector
.void
AbstractRealMatrix.setColumnVector
(int column, RealVector vector) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedvector
.void
BlockRealMatrix.setColumnVector
(int column, RealVector vector) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedvector
.void
RealMatrix.setColumnVector
(int column, RealVector vector) Sets the specifiedcolumn
ofthis
matrix to the entries of the specifiedvector
.void
AbstractRealMatrix.setRowVector
(int row, RealVector vector) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedvector
.void
BlockRealMatrix.setRowVector
(int row, RealVector vector) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedvector
.void
RealMatrix.setRowVector
(int row, RealVector vector) Sets the specifiedrow
ofthis
matrix to the entries of the specifiedvector
.void
ArrayRealVector.setSubVector
(int index, RealVector v) Set a sequence of consecutive elements.void
OpenMapRealVector.setSubVector
(int index, RealVector v) Set a sequence of consecutive elements.abstract void
RealVector.setSubVector
(int index, RealVector v) Set a sequence of consecutive elements.CholeskyDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.DecompositionSolver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.EigenDecomposition.Solver.solve
(RealVector b) Solves the linear equation A × X = B for symmetric matrices A.IterativeLinearSolver.solve
(RealLinearOperator a, RealVector b) Returns an estimate of the solution to the linear system A · x = b.IterativeLinearSolver.solve
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.LUDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealVector b) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solve
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.QRDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.RRQRDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.SingularValueDecomposition.Solver.solve
(RealVector b) Solve the linear equation A × X = B in least square sense.SymmLQ.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b, boolean goodb, double shift) Returns an estimate of the solution to the linear system (A - shift · I) · x = b.SymmLQ.solve
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solve
(RealLinearOperator a, RealVector b) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solve
(RealLinearOperator a, RealVector b, boolean goodb, double shift) Returns the solution to the system (A - shift · I) · x = b.SymmLQ.solve
(RealLinearOperator a, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.ConjugateGradient.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.abstract RealVector
IterativeLinearSolver.solveInPlace
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.abstract RealVector
PreconditionedIterativeLinearSolver.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.PreconditionedIterativeLinearSolver.solveInPlace
(RealLinearOperator a, RealVector b, RealVector x0) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.SymmLQ.solveInPlace
(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x, boolean goodb, double shift) Returns an estimate of the solution to the linear system (A - shift · I) · x = b.SymmLQ.solveInPlace
(RealLinearOperator a, RealVector b, RealVector x) Returns an estimate of the solution to the linear system A · x = b.static void
MatrixUtils.solveLowerTriangularSystem
(RealMatrix rm, RealVector b) Solve a system of composed of a Lower Triangular MatrixRealMatrix
.static void
MatrixUtils.solveUpperTriangularSystem
(RealMatrix rm, RealVector b) Solver a system composed of an Upper Triangular MatrixRealMatrix
.ArrayRealVector.subtract
(RealVector v) Subtractv
from this vector.OpenMapRealVector.subtract
(RealVector v) Subtractv
from this vector.RealVector.subtract
(RealVector v) Subtractv
from this vector.private static void
SymmLQ.State.throwNPDLOException
(RealLinearOperator l, RealVector v) Throws a newNonPositiveDefiniteOperatorException
with appropriate context.static RealVector
RealVector.unmodifiableRealVector
(RealVector v) Returns an unmodifiable view of the specified vector.Constructors in org.apache.commons.math3.linear with parameters of type RealVectorModifierConstructorDescriptionArrayRealVector
(ArrayRealVector v1, RealVector v2) Construct a vector by appending one vector to another vector.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.DefaultIterativeLinearSolverEvent
(Object source, int iterations, RealVector x, RealVector b, double rnorm) Creates a new instance of this class.DefaultIterativeLinearSolverEvent
(Object source, int iterations, RealVector x, RealVector b, RealVector r, double rnorm) Creates a new instance of this class.Generic copy constructor.(package private)
State
(RealLinearOperator a, RealLinearOperator m, RealVector b, boolean goodb, double shift, double delta, boolean check) Creates and inits to k = 1 a new instance of this class. -
Uses of RealVector in org.apache.commons.math3.optim.linear
Fields in org.apache.commons.math3.optim.linear declared as RealVectorModifier and TypeFieldDescriptionprivate final RealVector
LinearConstraint.coefficients
Coefficients of the constraint (left hand side).private final RealVector
LinearObjectiveFunction.coefficients
Coefficients of the linear equation (ci).Methods in org.apache.commons.math3.optim.linear that return RealVectorModifier and TypeMethodDescriptionLinearConstraint.getCoefficients()
Gets the coefficients of the constraint (left hand side).LinearObjectiveFunction.getCoefficients()
Gets the coefficients of the linear equation being optimized.Methods in org.apache.commons.math3.optim.linear with parameters of type RealVectorModifier and TypeMethodDescriptionprotected static double
SimplexTableau.getInvertedCoefficientSum
(RealVector coefficients) Get the -1 times the sum of all coefficients in the given array.double
LinearObjectiveFunction.value
(RealVector point) Computes the value of the linear equation at the current point.Constructors in org.apache.commons.math3.optim.linear with parameters of type RealVectorModifierConstructorDescriptionLinearConstraint
(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) -
Uses of RealVector in org.apache.commons.math3.optimization.linear
Fields in org.apache.commons.math3.optimization.linear declared as RealVectorModifier and TypeFieldDescriptionprivate final RealVector
LinearConstraint.coefficients
Deprecated.Coefficients of the constraint (left hand side).private final RealVector
LinearObjectiveFunction.coefficients
Deprecated.Coefficients of the constraint (ci).Methods in org.apache.commons.math3.optimization.linear that return RealVectorModifier and TypeMethodDescriptionLinearConstraint.getCoefficients()
Deprecated.Get the coefficients of the constraint (left hand side).LinearObjectiveFunction.getCoefficients()
Deprecated.Get the coefficients of the linear equation being optimized.Methods in org.apache.commons.math3.optimization.linear with parameters of type RealVectorModifier and TypeMethodDescriptionprotected static double
SimplexTableau.getInvertedCoefficientSum
(RealVector coefficients) Deprecated.Get the -1 times the sum of all coefficients in the given array.double
LinearObjectiveFunction.getValue
(RealVector point) Deprecated.Compute the value of the linear equation at the current pointConstructors in org.apache.commons.math3.optimization.linear with parameters of type RealVectorModifierConstructorDescriptionLinearConstraint
(RealVector lhsCoefficients, double lhsConstant, Relationship relationship, RealVector rhsCoefficients, double rhsConstant) Deprecated.Build a constraint involving two linear equations.LinearConstraint
(RealVector coefficients, Relationship relationship, double value) Deprecated.Build a constraint involving a single linear equation.LinearObjectiveFunction
(RealVector coefficients, double constantTerm) Deprecated. -
Uses of RealVector in org.apache.commons.math3.stat.regression
Fields in org.apache.commons.math3.stat.regression declared as RealVectorModifier and TypeFieldDescriptionprivate RealVector
AbstractMultipleLinearRegression.yVector
Y sample data.Methods in org.apache.commons.math3.stat.regression that return RealVectorModifier and TypeMethodDescriptionprotected abstract RealVector
AbstractMultipleLinearRegression.calculateBeta()
Calculates the beta of multiple linear regression in matrix notation.protected RealVector
GLSMultipleLinearRegression.calculateBeta()
Calculates beta by GLS.protected RealVector
OLSMultipleLinearRegression.calculateBeta()
Calculates the regression coefficients using OLS.protected RealVector
AbstractMultipleLinearRegression.calculateResiduals()
Calculates the residuals of multiple linear regression in matrix notation.protected RealVector
AbstractMultipleLinearRegression.getY()