Uses of Class
org.apache.commons.math.linear.RealVector

Packages that use RealVector
org.apache.commons.math.filter Implementations of common discrete-time linear filters. 
org.apache.commons.math.linear Linear algebra support. 
org.apache.commons.math.optimization.linear This package provides optimization algorithms for linear constrained problems. 
org.apache.commons.math.stat.regression Statistical routines involving multivariate data. 
 

Uses of RealVector in org.apache.commons.math.filter
 

Methods in org.apache.commons.math.filter that return RealVector
 RealVector ProcessModel.getInitialStateEstimate()
          Returns the initial state estimation vector.
 RealVector DefaultProcessModel.getInitialStateEstimate()
          Returns the initial state estimation vector.
 RealVector KalmanFilter.getStateEstimationVector()
          Returns a copy of the current state estimation vector.
 

Methods in org.apache.commons.math.filter with parameters of type RealVector
 void 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.math.filter with parameters of type RealVector
DefaultProcessModel(RealMatrix stateTransition, RealMatrix control, RealMatrix processNoise, RealVector initialStateEstimate, RealMatrix initialErrorCovariance)
          Create a new ProcessModel, taking double arrays as input parameters.
 

Uses of RealVector in org.apache.commons.math.linear
 

Subclasses of RealVector in org.apache.commons.math.linear
 class ArrayRealVector
          This class implements the RealVector interface with a double array.
 class OpenMapRealVector
          This class implements the RealVector interface with a OpenIntToDoubleHashMap backing store.
 class SparseRealVector
          Marker class for RealVectors that require sparse backing storage
 

Methods in org.apache.commons.math.linear that return RealVector
 RealVector RealVector.add(RealVector v)
          Compute the sum of this vector and v.
 RealVector OpenMapRealVector.add(RealVector v)
          Compute the sum of this vector and v.
abstract  RealVector RealVector.append(double d)
          Construct a new vector by appending a double to this vector.
 RealVector ArrayRealVector.append(double in)
          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 ArrayRealVector.append(RealVector v)
          Construct a new vector by appending a vector to this vector.
 RealVector RealVector.combine(double a, double b, RealVector y)
          Returns a new vector representing a * this + b * y, the linear combination of this and y.
 RealVector RealVector.combineToSelf(double a, double b, RealVector y)
          Updates this with the linear combination of this and y.
abstract  RealVector RealVector.copy()
          Returns a (deep) copy of this vector.
static RealVector MatrixUtils.createRealVector(double[] data)
          Creates a RealVector using the data from the input array.
abstract  RealVector RealVector.ebeDivide(RealVector v)
          Element-by-element division.
abstract  RealVector RealVector.ebeMultiply(RealVector v)
          Element-by-element multiplication.
 RealVector RealMatrix.getColumnVector(int column)
          Get the entries at the given column index as a vector.
 RealVector BlockRealMatrix.getColumnVector(int column)
          Get the entries at the given column index as a vector.
 RealVector AbstractRealMatrix.getColumnVector(int column)
          Get the entries at the given column index as a vector.
 RealVector EigenDecomposition.getEigenvector(int i)
          Returns a copy of the ith eigenvector of the original matrix.
 RealVector ProvidesResidual.getResidual()
          Returns the current value of the residual.
abstract  RealVector IterativeLinearSolverEvent.getRightHandSideVector()
          Returns the current right-hand side of the linear system to be solved.
 RealVector RealMatrix.getRowVector(int row)
          Returns the entries in row number row as a vector.
 RealVector BlockRealMatrix.getRowVector(int row)
          Returns the entries in row number row as a vector.
 RealVector AbstractRealMatrix.getRowVector(int row)
          Returns the entries in row number row as a vector.
abstract  RealVector IterativeLinearSolverEvent.getSolution()
          Returns the current estimate of the solution to the linear system to be solved.
abstract  RealVector RealVector.getSubVector(int index, int n)
          Get a subvector from consecutive elements.
 RealVector ArrayRealVector.getSubVector(int index, int n)
          Get a subvector from consecutive elements.
 RealVector RealVector.map(UnivariateRealFunction function)
          Acts as if implemented as: return copy().mapToSelf(function); Returns a new vector.
 RealVector RealVector.mapAdd(double d)
          Add a value to each entry.
 RealVector RealVector.mapAddToSelf(double d)
          Add a value to each entry.
 RealVector ArrayRealVector.mapAddToSelf(double d)
          Add a value to each entry.
 RealVector RealVector.mapDivide(double d)
          Divide each entry by the argument.
 RealVector RealVector.mapDivideToSelf(double d)
          Divide each entry by the argument.
 RealVector ArrayRealVector.mapDivideToSelf(double d)
          Divide each entry by the argument.
 RealVector RealVector.mapMultiply(double d)
          Multiply each entry by the argument.
 RealVector RealVector.mapMultiplyToSelf(double d)
          Multiply each entry.
 RealVector ArrayRealVector.mapMultiplyToSelf(double d)
          Multiply each entry.
 RealVector RealVector.mapSubtract(double d)
          Subtract a value from each entry.
 RealVector RealVector.mapSubtractToSelf(double d)
          Subtract a value from each entry.
 RealVector ArrayRealVector.mapSubtractToSelf(double d)
          Subtract a value from each entry.
 RealVector RealVector.mapToSelf(UnivariateRealFunction function)
          Acts as if it is implemented as: Entry e = null; for(Iterator it = iterator(); it.hasNext(); e = it.next()) { e.setValue(function.value(e.getValue())); } Entries of this vector are modified in-place by this method.
 RealVector RealMatrix.operate(RealVector v)
          Returns the result of multiplying this by the vector v.
abstract  RealVector RealLinearOperator.operate(RealVector x)
          Returns the result of multiplying this by the vector x.
 RealVector JacobiPreconditioner.operate(RealVector x)
          Returns the result of multiplying this by the vector x.
 RealVector AbstractRealMatrix.operate(RealVector v)
          Returns the result of multiplying this by the vector x.
 RealVector RealMatrix.preMultiply(RealVector v)
          Returns the (row) vector result of premultiplying this by the vector v.
 RealVector AbstractRealMatrix.preMultiply(RealVector v)
          Returns the (row) vector result of premultiplying this by the vector v.
abstract  RealVector RealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
 RealVector OpenMapRealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
 RealVector ArrayRealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
 RealVector SymmLQ.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, boolean goodb, double shift)
          Returns an estimate of the solution to the linear system (A - shift · I) · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector IterativeLinearSolver.solve(RealLinearOperator a, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, RealVector b, boolean goodb, double shift)
          Returns the solution to the system (A - shift · I) · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector IterativeLinearSolver.solve(RealLinearOperator a, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector JacobiPreconditioner.solve(RealVector b)
          Computes the matrix-vector product of the inverse of this instance with b and returns the result.
abstract  RealVector InvertibleRealLinearOperator.solve(RealVector b)
          Computes the matrix-vector product of the inverse of this instance with b and returns the result.
 RealVector DecompositionSolver.solve(RealVector b)
          Solve the linear equation A × X = B for matrices A.
 RealVector SymmLQ.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
abstract  RealVector PreconditionedIterativeLinearSolver.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector ConjugateGradient.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x, boolean goodb, double shift)
          Returns an estimate of the solution to the linear system (A - shift · I) · x = b.
 RealVector SymmLQ.solveInPlace(RealLinearOperator a, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solveInPlace(RealLinearOperator a, 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.
 RealVector RealVector.subtract(RealVector v)
          Subtract v from this vector.
 RealVector OpenMapRealVector.subtract(RealVector v)
          Subtract v from this vector.
 RealVector RealVector.unitVector()
          Creates a unit vector pointing in the direction of this vector.
 RealVector ArrayRealVector.unitVector()
          Creates a unit vector pointing in the direction of this vector.
static RealVector RealVector.unmodifiableRealVector(RealVector v)
          Returns an unmodifiable view of the specified vector.
 

Methods in org.apache.commons.math.linear with parameters of type RealVector
 RealVector RealVector.add(RealVector v)
          Compute the sum of this vector and v.
 RealVector OpenMapRealVector.add(RealVector v)
          Compute the sum of this vector and v.
 ArrayRealVector ArrayRealVector.add(RealVector v)
          Compute the sum of this vector and v.
abstract  RealVector RealVector.append(RealVector v)
          Construct a new vector by appending a vector to this vector.
 OpenMapRealVector OpenMapRealVector.append(RealVector v)
          Construct a new vector by appending a vector to this vector.
 RealVector ArrayRealVector.append(RealVector v)
          Construct a new vector by appending a vector to this vector.
protected static void PreconditionedIterativeLinearSolver.checkParameters(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Performs all dimension checks on the parameters of solve and solveInPlace , and throws an exception if one of the checks fails.
protected static void IterativeLinearSolver.checkParameters(RealLinearOperator a, RealVector b, RealVector x0)
          Performs all dimension checks on the parameters of solve and solveInPlace, and throws an exception if one of the checks fails.
protected  void RealVector.checkVectorDimensions(RealVector v)
          Check if instance and specified vectors have the same dimension.
protected  void ArrayRealVector.checkVectorDimensions(RealVector v)
          Check if instance and specified vectors have the same dimension.
 RealVector RealVector.combine(double a, double b, RealVector y)
          Returns a new vector representing a * this + b * y, the linear combination of this and y.
 ArrayRealVector ArrayRealVector.combine(double a, double b, RealVector y)
          Returns a new vector representing a * this + b * y, the linear combination of this and y.
 RealVector RealVector.combineToSelf(double a, double b, RealVector y)
          Updates this with the linear combination of this and y.
 ArrayRealVector ArrayRealVector.combineToSelf(double a, double b, RealVector y)
          Updates this with the linear combination of this and y.
 double RealVector.cosine(RealVector v)
          Computes the cosine of the angle between this vector and the argument.
 double RealVector.dotProduct(RealVector v)
          Compute the dot product of this vector with v.
 double OpenMapRealVector.dotProduct(RealVector v)
          Compute the dot product of this vector with v.
 double ArrayRealVector.dotProduct(RealVector v)
          Compute the dot product of this vector with v.
abstract  RealVector RealVector.ebeDivide(RealVector v)
          Element-by-element division.
 OpenMapRealVector OpenMapRealVector.ebeDivide(RealVector v)
          Element-by-element division.
 ArrayRealVector ArrayRealVector.ebeDivide(RealVector v)
          Element-by-element division.
abstract  RealVector RealVector.ebeMultiply(RealVector v)
          Element-by-element multiplication.
 OpenMapRealVector OpenMapRealVector.ebeMultiply(RealVector v)
          Element-by-element multiplication.
 ArrayRealVector ArrayRealVector.ebeMultiply(RealVector v)
          Element-by-element multiplication.
 java.lang.String RealVectorFormat.format(RealVector v)
          This method calls RealVectorFormat.format(RealVector,StringBuffer,FieldPosition).
 java.lang.StringBuffer RealVectorFormat.format(RealVector vector, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
          Formats a RealVector object to produce a string.
 double RealVector.getDistance(RealVector v)
          Distance between two vectors.
 double OpenMapRealVector.getDistance(RealVector v)
          Distance between two vectors.
 double ArrayRealVector.getDistance(RealVector v)
          Distance between two vectors.
 double RealVector.getL1Distance(RealVector v)
          Distance between two vectors.
 double OpenMapRealVector.getL1Distance(RealVector v)
          Distance between two vectors.
 double ArrayRealVector.getL1Distance(RealVector v)
          Distance between two vectors.
 double RealVector.getLInfDistance(RealVector v)
          Distance between two vectors.
 double OpenMapRealVector.getLInfDistance(RealVector v)
          Distance between two vectors.
 double ArrayRealVector.getLInfDistance(RealVector v)
          Distance between two vectors.
 RealVector RealMatrix.operate(RealVector v)
          Returns the result of multiplying this by the vector v.
abstract  RealVector RealLinearOperator.operate(RealVector x)
          Returns the result of multiplying this by the vector x.
 RealVector JacobiPreconditioner.operate(RealVector x)
          Returns the result of multiplying this by the vector x.
 RealVector AbstractRealMatrix.operate(RealVector v)
          Returns the result of multiplying this by the vector x.
 RealMatrix RealVector.outerProduct(RealVector v)
          Compute the outer product.
 RealMatrix ArrayRealVector.outerProduct(RealVector v)
          Compute the outer product.
 RealVector RealMatrix.preMultiply(RealVector v)
          Returns the (row) vector result of premultiplying this by the vector v.
 RealVector AbstractRealMatrix.preMultiply(RealVector v)
          Returns the (row) vector result of premultiplying this by the vector v.
abstract  RealVector RealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
 RealVector OpenMapRealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
 RealVector ArrayRealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
static void MatrixUtils.serializeRealVector(RealVector vector, java.io.ObjectOutputStream oos)
          Serialize a RealVector.
 void RealMatrix.setColumnVector(int column, RealVector vector)
          Set the entries at the given column index as a vector.
 void BlockRealMatrix.setColumnVector(int column, RealVector vector)
          Set the entries at the given column index as a vector.
 void AbstractRealMatrix.setColumnVector(int column, RealVector vector)
          Set the entries at the given column index as a vector.
 void RealMatrix.setRowVector(int row, RealVector vector)
          Set the entries at the given row index.
 void BlockRealMatrix.setRowVector(int row, RealVector vector)
          Set the entries at the given row index.
 void AbstractRealMatrix.setRowVector(int row, RealVector vector)
          Set the entries at the given row index.
abstract  void RealVector.setSubVector(int index, RealVector v)
          Set a sequence of consecutive elements.
 void OpenMapRealVector.setSubVector(int index, RealVector v)
          Set a sequence of consecutive elements.
 void ArrayRealVector.setSubVector(int index, RealVector v)
          Set a sequence of consecutive elements.
 RealVector SymmLQ.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, boolean goodb, double shift)
          Returns an estimate of the solution to the linear system (A - shift · I) · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector IterativeLinearSolver.solve(RealLinearOperator a, RealVector b)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, RealVector b, boolean goodb, double shift)
          Returns the solution to the system (A - shift · I) · x = b.
 RealVector SymmLQ.solve(RealLinearOperator a, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solve(RealLinearOperator a, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector IterativeLinearSolver.solve(RealLinearOperator a, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector JacobiPreconditioner.solve(RealVector b)
          Computes the matrix-vector product of the inverse of this instance with b and returns the result.
abstract  RealVector InvertibleRealLinearOperator.solve(RealVector b)
          Computes the matrix-vector product of the inverse of this instance with b and returns the result.
 RealVector DecompositionSolver.solve(RealVector b)
          Solve the linear equation A × X = B for matrices A.
 RealVector SymmLQ.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
abstract  RealVector PreconditionedIterativeLinearSolver.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector ConjugateGradient.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x0)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector SymmLQ.solveInPlace(RealLinearOperator a, InvertibleRealLinearOperator m, RealVector b, RealVector x, boolean goodb, double shift)
          Returns an estimate of the solution to the linear system (A - shift · I) · x = b.
 RealVector SymmLQ.solveInPlace(RealLinearOperator a, RealVector b, RealVector x)
          Returns an estimate of the solution to the linear system A · x = b.
 RealVector PreconditionedIterativeLinearSolver.solveInPlace(RealLinearOperator a, 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.
static void MatrixUtils.solveLowerTriangularSystem(RealMatrix rm, RealVector b)
          Solve a system of composed of a Lower Triangular Matrix RealMatrix.
static void MatrixUtils.solveUpperTriangularSystem(RealMatrix rm, RealVector b)
          Solver a system composed of an Upper Triangular Matrix RealMatrix.
 RealVector RealVector.subtract(RealVector v)
          Subtract v from this vector.
 RealVector OpenMapRealVector.subtract(RealVector v)
          Subtract v from this vector.
 ArrayRealVector ArrayRealVector.subtract(RealVector v)
          Subtract v from this vector.
static RealVector RealVector.unmodifiableRealVector(RealVector v)
          Returns an unmodifiable view of the specified vector.
 

Constructors in org.apache.commons.math.linear with parameters of type RealVector
ArrayRealVector(ArrayRealVector v1, RealVector v2)
          Construct a vector by appending one vector to another vector.
ArrayRealVector(RealVector v)
          Construct a vector from another vector, using a deep copy.
ArrayRealVector(RealVector v1, ArrayRealVector v2)
          Construct a vector by appending one vector to another vector.
OpenMapRealVector(RealVector v)
          Generic copy constructor.
 

Uses of RealVector in org.apache.commons.math.optimization.linear
 

Methods in org.apache.commons.math.optimization.linear that return RealVector
 RealVector LinearObjectiveFunction.getCoefficients()
          Get the coefficients of the linear equation being optimized.
 RealVector LinearConstraint.getCoefficients()
          Get the coefficients of the constraint (left hand side).
 

Methods in org.apache.commons.math.optimization.linear with parameters of type RealVector
 double LinearObjectiveFunction.getValue(RealVector point)
          Compute the value of the linear equation at the current point
 

Constructors in org.apache.commons.math.optimization.linear with parameters of type RealVector
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.math.stat.regression
 

Fields in org.apache.commons.math.stat.regression declared as RealVector
protected  RealVector AbstractMultipleLinearRegression.Y
          Y sample data.
 

Methods in org.apache.commons.math.stat.regression that return RealVector
protected  RealVector OLSMultipleLinearRegression.calculateBeta()
          Calculates the regression coefficients using OLS.
protected  RealVector GLSMultipleLinearRegression.calculateBeta()
          Calculates beta by GLS.
protected abstract  RealVector AbstractMultipleLinearRegression.calculateBeta()
          Calculates the beta of multiple linear regression in matrix notation.
protected  RealVector AbstractMultipleLinearRegression.calculateResiduals()
          Calculates the residuals of multiple linear regression in matrix notation.
 



Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.