Uses of Class
org.apache.commons.math4.legacy.linear.RealVector
-
Packages that use RealVector Package Description org.apache.commons.math4.legacy.filter Implementations of common discrete-time linear filters.org.apache.commons.math4.legacy.fitting.leastsquares This package provides algorithms that minimize the residuals between observations and model values.org.apache.commons.math4.legacy.linear Linear algebra support.org.apache.commons.math4.legacy.optim.linear Optimization algorithms for linear constrained problems.org.apache.commons.math4.legacy.stat.regression Statistical routines involving multivariate data. -
-
Uses of RealVector in org.apache.commons.math4.legacy.filter
Methods in org.apache.commons.math4.legacy.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.math4.legacy.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.math4.legacy.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.math4.legacy.fitting.leastsquares
Methods in org.apache.commons.math4.legacy.fitting.leastsquares that return RealVector Modifier and Type Method Description RealVectorValueAndJacobianFunction. computeValue(double[] params)Compute the value.RealVectorLeastSquaresProblem.Evaluation. getPoint()Get the abscissa (independent variables) of this evaluation.RealVectorLeastSquaresProblem.Evaluation. 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.RealVectorLeastSquaresAdapter. 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.math4.legacy.fitting.leastsquares that return types with arguments of type RealVector Modifier and Type Method Description Pair<RealVector,RealMatrix>DifferentiatorVectorMultivariateJacobianFunction. 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.math4.legacy.fitting.leastsquares with parameters of type RealVector Modifier and Type Method Description 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.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>DifferentiatorVectorMultivariateJacobianFunction. 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. -
Uses of RealVector in org.apache.commons.math4.legacy.linear
Subclasses of RealVector in org.apache.commons.math4.legacy.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 storageMethods in org.apache.commons.math4.legacy.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:Entry e = null; for(Iterator<Entry> it = iterator(); it.hasNext(); e = it.next()) { e.setValue(function.value(e.getValue())); }Entries of this vector are modified in-place by this method.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.RealVectorDecompositionSolver. solve(RealVector b)Solve the linear equation A × X = B for 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.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.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.math4.legacy.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.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.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.StringRealVectorFormat. format(RealVector v)This method callsRealVectorFormat.format(RealVector,StringBuffer,FieldPosition).StringBufferRealVectorFormat. format(RealVector vector, StringBuffer toAppendTo, 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.static voidMatrixUtils. serializeRealVector(RealVector vector, 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.RealVectorDecompositionSolver. solve(RealVector b)Solve the linear equation A × X = B for 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.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.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.static RealVectorRealVector. unmodifiableRealVector(RealVector v)Returns an unmodifiable view of the specified vector.Constructors in org.apache.commons.math4.legacy.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(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.OpenMapRealVector(RealVector v)Generic copy constructor. -
Uses of RealVector in org.apache.commons.math4.legacy.optim.linear
Methods in org.apache.commons.math4.legacy.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.math4.legacy.optim.linear with parameters of type RealVector Modifier and Type Method Description doubleLinearObjectiveFunction. value(RealVector point)Computes the value of the linear equation at the current point.Constructors in org.apache.commons.math4.legacy.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.math4.legacy.stat.regression
Methods in org.apache.commons.math4.legacy.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()
-