Uses of Class
org.apache.commons.math3.linear.RealVector
-
Packages that use RealVector Package Description org.apache.commons.math3.analysis.interpolation Univariate real functions interpolation algorithms.org.apache.commons.math3.filter Implementations of common discrete-time linear filters.org.apache.commons.math3.fitting.leastsquares This package provides algorithms that minimize the residuals between observations and model values.org.apache.commons.math3.linear Linear algebra support.org.apache.commons.math3.optim.linear Optimization algorithms for linear constrained problems.org.apache.commons.math3.optimization.linear This package provides optimization algorithms for linear constrained problems.org.apache.commons.math3.stat.regression 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 RealVector Modifier and Type Field Description private RealVectorMicrosphereInterpolatingFunction.MicrosphereSurfaceElement. normalNormal vector characterizing a surface element.Fields in org.apache.commons.math3.analysis.interpolation with type parameters of type RealVector Modifier and Type Field Description private java.util.Map.Entry<RealVector,java.lang.Double>MicrosphereInterpolatingFunction.MicrosphereSurfaceElement. brightestSampleBrightest sample.private java.util.Map<RealVector,java.lang.Double>MicrosphereInterpolatingFunction. samplesDeprecated.Sample data.Methods in org.apache.commons.math3.analysis.interpolation that return RealVector Modifier and Type Method Description (package private) RealVectorMicrosphereInterpolatingFunction.MicrosphereSurfaceElement. normal()Return the normal vector.Methods in org.apache.commons.math3.analysis.interpolation that return types with arguments of type RealVector Modifier and Type Method Description (package private) java.util.Map.Entry<RealVector,java.lang.Double>MicrosphereInterpolatingFunction.MicrosphereSurfaceElement. sample()Get the sample illuminating the element the most.Methods in org.apache.commons.math3.analysis.interpolation with parameters of type RealVector Modifier and Type Method Description private doubleMicrosphereInterpolatingFunction. 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 RealVector Modifier and Type Method Description (package private) voidMicrosphereInterpolatingFunction.MicrosphereSurfaceElement. store(double illuminationFromSample, java.util.Map.Entry<RealVector,java.lang.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 RealVector Modifier and Type Field Description private RealVectorDefaultProcessModel. initialStateEstimateVectorThe initial state estimation of the observed process.private RealVectorKalmanFilter. stateEstimationThe internal state estimation vector, equivalent to x hat.Methods in org.apache.commons.math3.filter that return RealVector Modifier and Type Method Description RealVectorDefaultProcessModel. getInitialStateEstimate()Returns the initial state estimation vector.RealVectorProcessModel. getInitialStateEstimate()Returns the initial state estimation vector.RealVectorKalmanFilter. getStateEstimationVector()Returns a copy of the current state estimation vector.Methods in org.apache.commons.math3.filter with parameters of type RealVector Modifier and Type Method Description voidKalmanFilter. correct(RealVector z)Correct the current state estimate with an actual measurement.voidKalmanFilter. predict(RealVector u)Predict the internal state estimation one time step ahead.Constructors in org.apache.commons.math3.filter with parameters of type RealVector Constructor Description DefaultProcessModel(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 RealVector Modifier and Type Field Description private RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation. pointPoint of evaluation.private RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation. pointPoint of evaluation.private RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation. residualsComputed residuals.private RealVectorLeastSquaresBuilder. startinitial guessprivate RealVectorLeastSquaresFactory.LocalLeastSquaresProblem. startInitial guess.private RealVectorLeastSquaresBuilder. targetobserved valuesprivate RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation. targetTarget values for the model function at optimum.private RealVectorLeastSquaresFactory.LocalLeastSquaresProblem. targetTarget values for the model function at optimum.Methods in org.apache.commons.math3.fitting.leastsquares that return RealVector Modifier and Type Method Description RealVectorLeastSquaresFactory.LocalValueAndJacobianFunction. computeValue(double[] params)Compute the value.RealVectorValueAndJacobianFunction. computeValue(double[] params)Compute the value.RealVectorDenseWeightedEvaluation. getPoint()Get the abscissa (independent variables) of this evaluation.RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation. getPoint()Get the abscissa (independent variables) of this evaluation.RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation. getPoint()Get the abscissa (independent variables) of this evaluation.RealVectorLeastSquaresProblem.Evaluation. getPoint()Get the abscissa (independent variables) of this evaluation.RealVectorOptimumImpl. getPoint()Get the abscissa (independent variables) of this evaluation.RealVectorDenseWeightedEvaluation. getResiduals()Get the weighted residuals.RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation. getResiduals()Get the weighted residuals.RealVectorLeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation. getResiduals()Get the weighted residuals.RealVectorLeastSquaresProblem.Evaluation. getResiduals()Get the weighted residuals.RealVectorOptimumImpl. getResiduals()Get the weighted residuals.RealVectorAbstractEvaluation. getSigma(double covarianceSingularityThreshold)Get an estimate of the standard deviation of the parameters.RealVectorLeastSquaresProblem.Evaluation. getSigma(double covarianceSingularityThreshold)Get an estimate of the standard deviation of the parameters.RealVectorOptimumImpl. getSigma(double covarianceSingularityThreshold)Get an estimate of the standard deviation of the parameters.RealVectorLeastSquaresAdapter. getStart()Gets the initial guess.RealVectorLeastSquaresFactory.LocalLeastSquaresProblem. getStart()Gets the initial guess.RealVectorLeastSquaresProblem. getStart()Gets the initial guess.protected abstract RealVectorGaussNewtonOptimizer.Decomposition. solve(RealMatrix jacobian, RealVector residuals)Solve the linear least squares problem Jx=r.RealVectorParameterValidator. validate(RealVector params)Validates the set of parameters.Methods in org.apache.commons.math3.fitting.leastsquares that return types with arguments of type RealVector Modifier and Type Method Description private static Pair<RealMatrix,RealVector>GaussNewtonOptimizer. computeNormalMatrix(RealMatrix jacobian, RealVector residuals)Compute the normal matrix, JTJ.Pair<RealVector,RealMatrix>LeastSquaresFactory.LocalValueAndJacobianFunction. value(RealVector point)Compute the function value and its Jacobian.Pair<RealVector,RealMatrix>MultivariateJacobianFunction. value(RealVector point)Compute the function value and its Jacobian.Methods in org.apache.commons.math3.fitting.leastsquares with parameters of type RealVector Modifier and Type Method Description private static Pair<RealMatrix,RealVector>GaussNewtonOptimizer. computeNormalMatrix(RealMatrix jacobian, RealVector residuals)Compute the normal matrix, JTJ.static LeastSquaresProblemLeastSquaresFactory. create(MultivariateJacobianFunction model, RealVector observed, RealVector start, RealMatrix weight, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations)Create aLeastSquaresProblemfrom the given elements.static LeastSquaresProblemLeastSquaresFactory. create(MultivariateJacobianFunction model, RealVector observed, RealVector start, RealMatrix weight, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations, boolean lazyEvaluation, ParameterValidator paramValidator)Create aLeastSquaresProblemfrom the given elements.static LeastSquaresProblemLeastSquaresFactory. create(MultivariateJacobianFunction model, RealVector observed, RealVector start, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations)Create aLeastSquaresProblemfrom the given elements.LeastSquaresProblem.EvaluationLeastSquaresAdapter. evaluate(RealVector point)Evaluate the model at the specified point.LeastSquaresProblem.EvaluationLeastSquaresFactory.LocalLeastSquaresProblem. evaluate(RealVector point)Evaluate the model at the specified point.LeastSquaresProblem.EvaluationLeastSquaresProblem. evaluate(RealVector point)Evaluate the model at the specified point.protected abstract RealVectorGaussNewtonOptimizer.Decomposition. solve(RealMatrix jacobian, RealVector residuals)Solve the linear least squares problem Jx=r.LeastSquaresBuilderLeastSquaresBuilder. start(RealVector newStart)Configure the initial guess.LeastSquaresBuilderLeastSquaresBuilder. target(RealVector newTarget)Configure the observed data.RealVectorParameterValidator. validate(RealVector params)Validates the set of parameters.Pair<RealVector,RealMatrix>LeastSquaresFactory.LocalValueAndJacobianFunction. value(RealVector point)Compute the function value and its Jacobian.Pair<RealVector,RealMatrix>MultivariateJacobianFunction. value(RealVector point)Compute the function value and its Jacobian.static LeastSquaresProblemLeastSquaresFactory. weightDiagonal(LeastSquaresProblem problem, RealVector weights)Apply a diagonal weight matrix to theLeastSquaresProblem.Constructors in org.apache.commons.math3.fitting.leastsquares with parameters of type RealVector Constructor Description LazyUnweightedEvaluation(ValueAndJacobianFunction model, RealVector target, RealVector point)Create anLeastSquaresProblem.Evaluationwith no weights.LocalLeastSquaresProblem(MultivariateJacobianFunction model, RealVector target, RealVector start, ConvergenceChecker<LeastSquaresProblem.Evaluation> checker, int maxEvaluations, int maxIterations, boolean lazyEvaluation, ParameterValidator paramValidator)Create aLeastSquaresProblemfrom the given data.UnweightedEvaluation(RealVector values, RealMatrix jacobian, RealVector target, RealVector point)Create anLeastSquaresProblem.Evaluationwith no weights. -
Uses of RealVector in org.apache.commons.math3.linear
Subclasses of RealVector in org.apache.commons.math3.linear Modifier and Type Class Description classArrayRealVectorThis class implements theRealVectorinterface with a double array.classOpenMapRealVectorThis class implements theRealVectorinterface with aOpenIntToDoubleHashMapbacking store.classSparseRealVectorMarker class for RealVectors that require sparse backing storageFields in org.apache.commons.math3.linear declared as RealVector Modifier and Type Field Description private RealVectorDefaultIterativeLinearSolverEvent. bThe right-hand side vector.private RealVectorSymmLQ.State. bReference to the right-hand side vector.private RealVectorSymmLQ.State. mbThe value of M * b.private RealVectorDefaultIterativeLinearSolverEvent. rThe current estimate of the residual.private RealVectorSymmLQ.State. r1The value of beta[k] * M^(-1) * P' * v[k].private RealVectorSymmLQ.State. r2The value of beta[k+1] * M^(-1) * P' * v[k+1].private RealVectorSymmLQ.State. wbarThe value of P' * wbar[k] or P' * (wbar[k] - s[1] * ...private RealVectorDefaultIterativeLinearSolverEvent. xThe current estimate of the solution.private RealVectorSymmLQ.State. xLA reference to the vector to be updated with the solution.private RealVectorSymmLQ.State. yThe value of beta[k+1] * P' * v[k+1].Methods in org.apache.commons.math3.linear that return RealVector Modifier and Type Method Description RealVectorOpenMapRealVector. add(RealVector v)Compute the sum of this vector andv.RealVectorRealVector. add(RealVector v)Compute the sum of this vector andv.RealVectorArrayRealVector. append(double in)Construct a new vector by appending a double to this vector.RealVectorArrayRealVector. append(RealVector v)Construct a new vector by appending a vector to this vector.abstract RealVectorRealVector. append(double d)Construct a new vector by appending a double to this vector.abstract RealVectorRealVector. append(RealVector v)Construct a new vector by appending a vector to this vector.RealVectorRealVector. combine(double a, double b, RealVector y)Returns a new vector representinga * this + b * y, the linear combination ofthisandy.RealVectorRealVector. combineToSelf(double a, double b, RealVector y)Updatesthiswith the linear combination ofthisandy.abstract RealVectorRealVector. copy()Returns a (deep) copy of this vector.static RealVectorMatrixUtils. createRealVector(double[] data)Creates aRealVectorusing the data from the input array.abstract RealVectorRealVector. ebeDivide(RealVector v)Element-by-element division.abstract RealVectorRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.RealVectorAbstractRealMatrix. getColumnVector(int column)Get the entries at the given column index as a vector.RealVectorBlockRealMatrix. getColumnVector(int column)Get the entries at the given column index as a vector.RealVectorRealMatrix. getColumnVector(int column)Get the entries at the given column index as a vector.RealVectorEigenDecomposition. getEigenvector(int i)Gets a copy of the ith eigenvector of the original matrix.RealVectorDefaultIterativeLinearSolverEvent. getResidual()Returns the residual.RealVectorIterativeLinearSolverEvent. getResidual()Returns the residual.RealVectorDefaultIterativeLinearSolverEvent. getRightHandSideVector()Returns the current right-hand side of the linear system to be solved.abstract RealVectorIterativeLinearSolverEvent. getRightHandSideVector()Returns the current right-hand side of the linear system to be solved.RealVectorAbstractRealMatrix. getRowVector(int row)Returns the entries in row numberrowas a vector.RealVectorBlockRealMatrix. getRowVector(int row)Returns the entries in row numberrowas a vector.RealVectorRealMatrix. getRowVector(int row)Returns the entries in row numberrowas a vector.RealVectorDefaultIterativeLinearSolverEvent. getSolution()Returns the current estimate of the solution to the linear system to be solved.abstract RealVectorIterativeLinearSolverEvent. getSolution()Returns the current estimate of the solution to the linear system to be solved.RealVectorArrayRealVector. getSubVector(int index, int n)Get a subvector from consecutive elements.abstract RealVectorRealVector. getSubVector(int index, int n)Get a subvector from consecutive elements.RealVectorRealVector. map(UnivariateFunction function)Acts as if implemented as:RealVectorRealVector. mapAdd(double d)Add a value to each entry.RealVectorArrayRealVector. mapAddToSelf(double d)Add a value to each entry.RealVectorRealVector. mapAddToSelf(double d)Add a value to each entry.RealVectorRealVector. mapDivide(double d)Divide each entry by the argument.RealVectorArrayRealVector. mapDivideToSelf(double d)Divide each entry by the argument.RealVectorRealVector. mapDivideToSelf(double d)Divide each entry by the argument.RealVectorRealVector. mapMultiply(double d)Multiply each entry by the argument.RealVectorArrayRealVector. mapMultiplyToSelf(double d)Multiply each entry.RealVectorRealVector. mapMultiplyToSelf(double d)Multiply each entry.RealVectorRealVector. mapSubtract(double d)Subtract a value from each entry.RealVectorArrayRealVector. mapSubtractToSelf(double d)Subtract a value from each entry.RealVectorRealVector. mapSubtractToSelf(double d)Subtract a value from each entry.RealVectorRealVector. mapToSelf(UnivariateFunction function)Acts as if it is implemented as:RealVectorAbstractRealMatrix. operate(RealVector v)Returns the result of multiplyingthisby the vectorx.RealVectorJacobiPreconditioner. operate(RealVector x)Returns the result of multiplyingthisby the vectorx.abstract RealVectorRealLinearOperator. operate(RealVector x)Returns the result of multiplyingthisby the vectorx.RealVectorRealMatrix. operate(RealVector v)Returns the result of multiplying this by the vectorv.RealVectorRealLinearOperator. operateTranspose(RealVector x)Returns the result of multiplying the transpose ofthisoperator by the vectorx(optional operation).RealVectorAbstractRealMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorDiagonalMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorRealMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorRealVector. projection(RealVector v)Find the orthogonal projection of this vector onto another vector.RealVectorCholeskyDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorDecompositionSolver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorEigenDecomposition.Solver. solve(RealVector b)Solves the linear equation A × X = B for symmetric matrices A.RealVectorIterativeLinearSolver. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorIterativeLinearSolver. solve(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorLUDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealLinearOperator m, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorQRDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorRRQRDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorSingularValueDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B in least square sense.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. 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.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b, boolean goodb, double shift)Returns the solution to the system (A - shift · I) · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorConjugateGradient. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.abstract RealVectorIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.abstract RealVectorPreconditionedIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. 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.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorOpenMapRealVector. subtract(RealVector v)Subtractvfrom this vector.RealVectorRealVector. subtract(RealVector v)Subtractvfrom this vector.RealVectorRealVector. unitVector()Creates a unit vector pointing in the direction of this vector.static RealVectorRealVector. unmodifiableRealVector(RealVector v)Returns an unmodifiable view of the specified vector.Methods in org.apache.commons.math3.linear with parameters of type RealVector Modifier and Type Method Description ArrayRealVectorArrayRealVector. add(RealVector v)Compute the sum of this vector andv.RealVectorOpenMapRealVector. add(RealVector v)Compute the sum of this vector andv.RealVectorRealVector. add(RealVector v)Compute the sum of this vector andv.RealVectorArrayRealVector. append(RealVector v)Construct a new vector by appending a vector to this vector.OpenMapRealVectorOpenMapRealVector. append(RealVector v)Construct a new vector by appending a vector to this vector.abstract RealVectorRealVector. append(RealVector v)Construct a new vector by appending a vector to this vector.protected static voidIterativeLinearSolver. checkParameters(RealLinearOperator a, RealVector b, RealVector x0)Performs all dimension checks on the parameters ofsolveandsolveInPlace, and throws an exception if one of the checks fails.protected static voidPreconditionedIterativeLinearSolver. checkParameters(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Performs all dimension checks on the parameters ofsolveandsolveInPlace, and throws an exception if one of the checks fails.private static voidSymmLQ.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 voidArrayRealVector. checkVectorDimensions(RealVector v)Check if instance and specified vectors have the same dimension.protected voidRealVector. checkVectorDimensions(RealVector v)Check if instance and specified vectors have the same dimension.ArrayRealVectorArrayRealVector. combine(double a, double b, RealVector y)Returns a new vector representinga * this + b * y, the linear combination ofthisandy.RealVectorRealVector. combine(double a, double b, RealVector y)Returns a new vector representinga * this + b * y, the linear combination ofthisandy.ArrayRealVectorArrayRealVector. combineToSelf(double a, double b, RealVector y)Updatesthiswith the linear combination ofthisandy.RealVectorRealVector. combineToSelf(double a, double b, RealVector y)Updatesthiswith the linear combination ofthisandy.doubleRealVector. cosine(RealVector v)Computes the cosine of the angle between this vector and the argument.private static voidSymmLQ.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 voidSymmLQ.State. daxpy(double a, RealVector x, RealVector y)A clone of the BLASDAXPYfunction, which carries out the operation y ← a · x + y.doubleArrayRealVector. dotProduct(RealVector v)Compute the dot product of this vector withv.doubleRealVector. dotProduct(RealVector v)Compute the dot product of this vector withv.ArrayRealVectorArrayRealVector. ebeDivide(RealVector v)Element-by-element division.OpenMapRealVectorOpenMapRealVector. ebeDivide(RealVector v)Element-by-element division.abstract RealVectorRealVector. ebeDivide(RealVector v)Element-by-element division.ArrayRealVectorArrayRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.OpenMapRealVectorOpenMapRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.abstract RealVectorRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.java.lang.StringRealVectorFormat. format(RealVector v)This method callsRealVectorFormat.format(RealVector,StringBuffer,FieldPosition).java.lang.StringBufferRealVectorFormat. format(RealVector vector, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)Formats aRealVectorobject to produce a string.doubleArrayRealVector. getDistance(RealVector v)Distance between two vectors.doubleOpenMapRealVector. getDistance(RealVector v)Distance between two vectors.doubleRealVector. getDistance(RealVector v)Distance between two vectors.doubleArrayRealVector. getL1Distance(RealVector v)Distance between two vectors.doubleOpenMapRealVector. getL1Distance(RealVector v)Distance between two vectors.doubleRealVector. getL1Distance(RealVector v)Distance between two vectors.doubleArrayRealVector. getLInfDistance(RealVector v)Distance between two vectors.doubleOpenMapRealVector. getLInfDistance(RealVector v)Distance between two vectors.doubleRealVector. getLInfDistance(RealVector v)Distance between two vectors.RealVectorAbstractRealMatrix. operate(RealVector v)Returns the result of multiplyingthisby the vectorx.RealVectorJacobiPreconditioner. operate(RealVector x)Returns the result of multiplyingthisby the vectorx.abstract RealVectorRealLinearOperator. operate(RealVector x)Returns the result of multiplyingthisby the vectorx.RealVectorRealMatrix. operate(RealVector v)Returns the result of multiplying this by the vectorv.RealVectorRealLinearOperator. operateTranspose(RealVector x)Returns the result of multiplying the transpose ofthisoperator by the vectorx(optional operation).RealMatrixArrayRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixRealVector. outerProduct(RealVector v)Compute the outer product.RealVectorAbstractRealMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorDiagonalMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorRealMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorRealVector. projection(RealVector v)Find the orthogonal projection of this vector onto another vector.(package private) voidSymmLQ.State. refineSolution(RealVector x)Move to the CG point if it seems better.static voidMatrixUtils. serializeRealVector(RealVector vector, java.io.ObjectOutputStream oos)Serialize aRealVector.voidAbstractRealMatrix. setColumnVector(int column, RealVector vector)Sets the specifiedcolumnofthismatrix to the entries of the specifiedvector.voidBlockRealMatrix. setColumnVector(int column, RealVector vector)Sets the specifiedcolumnofthismatrix to the entries of the specifiedvector.voidRealMatrix. setColumnVector(int column, RealVector vector)Sets the specifiedcolumnofthismatrix to the entries of the specifiedvector.voidAbstractRealMatrix. setRowVector(int row, RealVector vector)Sets the specifiedrowofthismatrix to the entries of the specifiedvector.voidBlockRealMatrix. setRowVector(int row, RealVector vector)Sets the specifiedrowofthismatrix to the entries of the specifiedvector.voidRealMatrix. setRowVector(int row, RealVector vector)Sets the specifiedrowofthismatrix to the entries of the specifiedvector.voidArrayRealVector. setSubVector(int index, RealVector v)Set a sequence of consecutive elements.voidOpenMapRealVector. setSubVector(int index, RealVector v)Set a sequence of consecutive elements.abstract voidRealVector. setSubVector(int index, RealVector v)Set a sequence of consecutive elements.RealVectorCholeskyDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorDecompositionSolver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorEigenDecomposition.Solver. solve(RealVector b)Solves the linear equation A × X = B for symmetric matrices A.RealVectorIterativeLinearSolver. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorIterativeLinearSolver. solve(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorLUDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealLinearOperator m, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorQRDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorRRQRDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B for matrices A.RealVectorSingularValueDecomposition.Solver. solve(RealVector b)Solve the linear equation A × X = B in least square sense.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. 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.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b, boolean goodb, double shift)Returns the solution to the system (A - shift · I) · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorConjugateGradient. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.abstract RealVectorIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.abstract RealVectorPreconditionedIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. 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.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.static voidMatrixUtils. solveLowerTriangularSystem(RealMatrix rm, RealVector b)Solve a system of composed of a Lower Triangular MatrixRealMatrix.static voidMatrixUtils. solveUpperTriangularSystem(RealMatrix rm, RealVector b)Solver a system composed of an Upper Triangular MatrixRealMatrix.ArrayRealVectorArrayRealVector. subtract(RealVector v)Subtractvfrom this vector.RealVectorOpenMapRealVector. subtract(RealVector v)Subtractvfrom this vector.RealVectorRealVector. subtract(RealVector v)Subtractvfrom this vector.private static voidSymmLQ.State. throwNPDLOException(RealLinearOperator l, RealVector v)Throws a newNonPositiveDefiniteOperatorExceptionwith appropriate context.static RealVectorRealVector. unmodifiableRealVector(RealVector v)Returns an unmodifiable view of the specified vector.Constructors in org.apache.commons.math3.linear with parameters of type RealVector Constructor 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.DefaultIterativeLinearSolverEvent(java.lang.Object source, int iterations, RealVector x, RealVector b, double rnorm)Creates a new instance of this class.DefaultIterativeLinearSolverEvent(java.lang.Object source, int iterations, RealVector x, RealVector b, RealVector r, double rnorm)Creates a new instance of this class.OpenMapRealVector(RealVector v)Generic copy constructor.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 RealVector Modifier and Type Field Description private RealVectorLinearConstraint. coefficientsCoefficients of the constraint (left hand side).private RealVectorLinearObjectiveFunction. coefficientsCoefficients of the linear equation (ci).Methods in org.apache.commons.math3.optim.linear that return RealVector Modifier and Type Method Description RealVectorLinearConstraint. getCoefficients()Gets the coefficients of the constraint (left hand side).RealVectorLinearObjectiveFunction. getCoefficients()Gets the coefficients of the linear equation being optimized.Methods in org.apache.commons.math3.optim.linear with parameters of type RealVector Modifier and Type Method Description protected static doubleSimplexTableau. getInvertedCoefficientSum(RealVector coefficients)Get the -1 times the sum of all coefficients in the given array.doubleLinearObjectiveFunction. 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 RealVector Constructor 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) -
Uses of RealVector in org.apache.commons.math3.optimization.linear
Fields in org.apache.commons.math3.optimization.linear declared as RealVector Modifier and Type Field Description private RealVectorLinearConstraint. coefficientsDeprecated.Coefficients of the constraint (left hand side).private RealVectorLinearObjectiveFunction. coefficientsDeprecated.Coefficients of the constraint (ci).Methods in org.apache.commons.math3.optimization.linear that return RealVector Modifier and Type Method Description RealVectorLinearConstraint. getCoefficients()Deprecated.Get the coefficients of the constraint (left hand side).RealVectorLinearObjectiveFunction. getCoefficients()Deprecated.Get the coefficients of the linear equation being optimized.Methods in org.apache.commons.math3.optimization.linear with parameters of type RealVector Modifier and Type Method Description protected static doubleSimplexTableau. getInvertedCoefficientSum(RealVector coefficients)Deprecated.Get the -1 times the sum of all coefficients in the given array.doubleLinearObjectiveFunction. 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 RealVector Constructor Description LinearConstraint(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 RealVector Modifier and Type Field Description private RealVectorAbstractMultipleLinearRegression. yVectorY sample data.Methods in org.apache.commons.math3.stat.regression that return RealVector Modifier and Type Method Description protected abstract RealVectorAbstractMultipleLinearRegression. calculateBeta()Calculates the beta of multiple linear regression in matrix notation.protected RealVectorGLSMultipleLinearRegression. calculateBeta()Calculates beta by GLS.protected RealVectorOLSMultipleLinearRegression. calculateBeta()Calculates the regression coefficients using OLS.protected RealVectorAbstractMultipleLinearRegression. calculateResiduals()Calculates the residuals of multiple linear regression in matrix notation.protected RealVectorAbstractMultipleLinearRegression. getY()
-