Uses of Interface
org.apache.commons.math3.linear.RealMatrix
-
Packages that use RealMatrix Package Description org.apache.commons.math3.distribution Implementations of common discrete and continuous distributions.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.ml.clustering Clustering algorithms.org.apache.commons.math3.ode.nonstiff This package provides classes to solve non-stiff Ordinary Differential Equations problems.org.apache.commons.math3.optim.nonlinear.scalar Algorithms for optimizing a scalar function.org.apache.commons.math3.optim.nonlinear.scalar.noderiv This package provides optimization algorithms that do not require derivatives.org.apache.commons.math3.optim.nonlinear.vector Algorithms for optimizing a vector function.org.apache.commons.math3.optim.nonlinear.vector.jacobian This package provides optimization algorithms that require derivatives.org.apache.commons.math3.optimization All classes and sub-packages of this package are deprecated.org.apache.commons.math3.optimization.direct This package provides optimization algorithms that don't require derivatives.org.apache.commons.math3.optimization.general This package provides optimization algorithms that require derivatives.org.apache.commons.math3.optimization.linear This package provides optimization algorithms for linear constrained problems.org.apache.commons.math3.random Random number and random data generators.org.apache.commons.math3.stat.correlation Correlations/Covariance computations.org.apache.commons.math3.stat.descriptive Generic univariate summary statistic objects.org.apache.commons.math3.stat.descriptive.moment Summary statistics based on moments.org.apache.commons.math3.stat.inference Classes providing hypothesis testing.org.apache.commons.math3.stat.regression Statistical routines involving multivariate data. -
-
Uses of RealMatrix in org.apache.commons.math3.distribution
Fields in org.apache.commons.math3.distribution declared as RealMatrix Modifier and Type Field Description private RealMatrixMultivariateNormalDistribution. covarianceMatrixCovariance matrix.private RealMatrixMultivariateNormalDistribution. covarianceMatrixInverseThe matrix inverse of the covariance matrix.private RealMatrixMultivariateNormalDistribution. samplingMatrixMatrix used in computation of samples.Methods in org.apache.commons.math3.distribution that return RealMatrix Modifier and Type Method Description RealMatrixMultivariateNormalDistribution. getCovariances()Gets the covariance matrix. -
Uses of RealMatrix in org.apache.commons.math3.filter
Fields in org.apache.commons.math3.filter declared as RealMatrix Modifier and Type Field Description private RealMatrixDefaultProcessModel. controlMatrixThe control matrix, used to integrate a control input into the state estimation.private RealMatrixKalmanFilter. controlMatrixThe control matrix, equivalent to B.private RealMatrixKalmanFilter. errorCovarianceThe error covariance matrix, equivalent to P.private RealMatrixDefaultProcessModel. initialErrorCovMatrixThe initial error covariance matrix of the observed process.private RealMatrixDefaultMeasurementModel. measurementMatrixThe measurement matrix, used to associate the measurement vector to the internal state estimation vector.private RealMatrixKalmanFilter. measurementMatrixThe measurement matrix, equivalent to H.private RealMatrixKalmanFilter. measurementMatrixTThe transposed measurement matrix.private RealMatrixDefaultMeasurementModel. measurementNoiseThe measurement noise covariance matrix.private RealMatrixDefaultProcessModel. processNoiseCovMatrixThe process noise covariance matrix.private RealMatrixDefaultProcessModel. stateTransitionMatrixThe state transition matrix, used to advance the internal state estimation each time-step.private RealMatrixKalmanFilter. transitionMatrixThe transition matrix, equivalent to A.private RealMatrixKalmanFilter. transitionMatrixTThe transposed transition matrix.Methods in org.apache.commons.math3.filter that return RealMatrix Modifier and Type Method Description RealMatrixDefaultProcessModel. getControlMatrix()Returns the control matrix.RealMatrixProcessModel. getControlMatrix()Returns the control matrix.RealMatrixKalmanFilter. getErrorCovarianceMatrix()Returns a copy of the current error covariance matrix.RealMatrixDefaultProcessModel. getInitialErrorCovariance()Returns the initial error covariance matrix.RealMatrixProcessModel. getInitialErrorCovariance()Returns the initial error covariance matrix.RealMatrixDefaultMeasurementModel. getMeasurementMatrix()Returns the measurement matrix.RealMatrixMeasurementModel. getMeasurementMatrix()Returns the measurement matrix.RealMatrixDefaultMeasurementModel. getMeasurementNoise()Returns the measurement noise matrix.RealMatrixMeasurementModel. getMeasurementNoise()Returns the measurement noise matrix.RealMatrixDefaultProcessModel. getProcessNoise()Returns the process noise matrix.RealMatrixProcessModel. getProcessNoise()Returns the process noise matrix.RealMatrixDefaultProcessModel. getStateTransitionMatrix()Returns the state transition matrix.RealMatrixProcessModel. getStateTransitionMatrix()Returns the state transition matrix.Constructors in org.apache.commons.math3.filter with parameters of type RealMatrix Constructor Description DefaultMeasurementModel(RealMatrix measMatrix, RealMatrix measNoise)Create a newMeasurementModel, takingRealMatrixobjects as input parameters for the respective measurement matrix and noise.DefaultProcessModel(RealMatrix stateTransition, RealMatrix control, RealMatrix processNoise, RealVector initialStateEstimate, RealMatrix initialErrorCovariance)Create a newProcessModel, taking double arrays as input parameters. -
Uses of RealMatrix in org.apache.commons.math3.fitting.leastsquares
Fields in org.apache.commons.math3.fitting.leastsquares declared as RealMatrix Modifier and Type Field Description private RealMatrixLeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation. jacobianDerivative at point.private RealMatrixLeastSquaresBuilder. weightweight matrixprivate RealMatrixDenseWeightedEvaluation. weightSqrtreference to the weight square root matrixMethods in org.apache.commons.math3.fitting.leastsquares that return RealMatrix Modifier and Type Method Description RealMatrixLeastSquaresFactory.LocalValueAndJacobianFunction. computeJacobian(double[] params)Compute the Jacobian.RealMatrixValueAndJacobianFunction. computeJacobian(double[] params)Compute the Jacobian.RealMatrixAbstractEvaluation. getCovariances(double threshold)Get the covariance matrix of the optimized parameters.RealMatrixLeastSquaresProblem.Evaluation. getCovariances(double threshold)Get the covariance matrix of the optimized parameters.RealMatrixOptimumImpl. getCovariances(double threshold)Get the covariance matrix of the optimized parameters.RealMatrixDenseWeightedEvaluation. getJacobian()Get the weighted Jacobian matrix.RealMatrixLeastSquaresFactory.LocalLeastSquaresProblem.LazyUnweightedEvaluation. getJacobian()Get the weighted Jacobian matrix.RealMatrixLeastSquaresFactory.LocalLeastSquaresProblem.UnweightedEvaluation. getJacobian()Get the weighted Jacobian matrix.RealMatrixLeastSquaresProblem.Evaluation. getJacobian()Get the weighted Jacobian matrix.RealMatrixOptimumImpl. getJacobian()Get the weighted Jacobian matrix.private static RealMatrixLeastSquaresFactory. squareRoot(RealMatrix m)Computes the square-root of the weight matrix.Methods in org.apache.commons.math3.fitting.leastsquares that return types with arguments of type RealMatrix 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 RealMatrix Modifier and Type Method Description private static Pair<RealMatrix,RealVector>GaussNewtonOptimizer. computeNormalMatrix(RealMatrix jacobian, RealVector residuals)Compute the normal matrix, JTJ.static LeastSquaresProblemLeastSquaresFactory. create(MultivariateVectorFunction model, MultivariateMatrixFunction jacobian, double[] observed, double[] 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)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.private LevenbergMarquardtOptimizer.InternalDataLevenbergMarquardtOptimizer. qrDecomposition(RealMatrix jacobian, int solvedCols)Decompose a matrix A as A.P = Q.R using Householder transforms.protected abstract RealVectorGaussNewtonOptimizer.Decomposition. solve(RealMatrix jacobian, RealVector residuals)Solve the linear least squares problem Jx=r.private static RealMatrixLeastSquaresFactory. squareRoot(RealMatrix m)Computes the square-root of the weight matrix.LeastSquaresBuilderLeastSquaresBuilder. weight(RealMatrix newWeight)Configure the weight matrix.static LeastSquaresProblemLeastSquaresFactory. weightMatrix(LeastSquaresProblem problem, RealMatrix weights)Apply a dense weight matrix to theLeastSquaresProblem.Constructors in org.apache.commons.math3.fitting.leastsquares with parameters of type RealMatrix Constructor Description DenseWeightedEvaluation(LeastSquaresProblem.Evaluation unweighted, RealMatrix weightSqrt)Create a weighted evaluation from an unweighted one.UnweightedEvaluation(RealVector values, RealMatrix jacobian, RealVector target, RealVector point)Create anLeastSquaresProblem.Evaluationwith no weights. -
Uses of RealMatrix in org.apache.commons.math3.linear
Subinterfaces of RealMatrix in org.apache.commons.math3.linear Modifier and Type Interface Description interfaceSparseRealMatrixMarker interface forRealMatriximplementations that require sparse backing storageClasses in org.apache.commons.math3.linear that implement RealMatrix Modifier and Type Class Description classAbstractRealMatrixBasic implementation of RealMatrix methods regardless of the underlying storage.classArray2DRowRealMatrixImplementation ofRealMatrixusing adouble[][]array to store entries.classBlockRealMatrixCache-friendly implementation of RealMatrix using a flat arrays to store square blocks of the matrix.classDiagonalMatrixImplementation of a diagonal matrix.classOpenMapRealMatrixSparse matrix implementation based on an open addressed map.Fields in org.apache.commons.math3.linear declared as RealMatrix Modifier and Type Field Description private RealMatrixBiDiagonalTransformer. cachedBCached value of B.private RealMatrixEigenDecomposition. cachedDCached value of D.private RealMatrixHessenbergTransformer. cachedHCached value of H.private RealMatrixQRDecomposition. cachedHCached value of H.private RealMatrixCholeskyDecomposition. cachedLCached value of L.private RealMatrixLUDecomposition. cachedLCached value of L.private RealMatrixCholeskyDecomposition. cachedLTCached value of LT.private RealMatrixHessenbergTransformer. cachedPCached value of P.private RealMatrixLUDecomposition. cachedPCached value of P.private RealMatrixRRQRDecomposition. cachedPCached value of P.private RealMatrixSchurTransformer. cachedPCached value of P.private RealMatrixHessenbergTransformer. cachedPtCached value of Pt.private RealMatrixSchurTransformer. cachedPtCached value of PT.private RealMatrixQRDecomposition. cachedQCached value of Q.private RealMatrixTriDiagonalTransformer. cachedQCached value of Q.private RealMatrixTriDiagonalTransformer. cachedQtCached value of Qt.private RealMatrixQRDecomposition. cachedQTCached value of QT.private RealMatrixQRDecomposition. cachedRCached value of R.private RealMatrixSingularValueDecomposition. cachedSCached value of S (diagonal) matrix.private RealMatrixSchurTransformer. cachedTCached value of T.private RealMatrixTriDiagonalTransformer. cachedTCached value of T.private RealMatrixBiDiagonalTransformer. cachedUCached value of U.private RealMatrixLUDecomposition. cachedUCached value of U.private RealMatrixSingularValueDecomposition. cachedUCached value of U matrix.private RealMatrixSingularValueDecomposition. cachedUtCached value of transposed U matrix.private RealMatrixBiDiagonalTransformer. cachedVCached value of V.private RealMatrixEigenDecomposition. cachedVCached value of V.private RealMatrixSingularValueDecomposition. cachedVCached value of V matrix.private RealMatrixEigenDecomposition. cachedVtCached value of Vt.private RealMatrixSingularValueDecomposition. cachedVtCached value of transposed V matrix.private RealMatrixRRQRDecomposition.Solver. pA permutation matrix for the pivots used in the QR decompositionprivate RealMatrixSingularValueDecomposition.Solver. pseudoInversePseudo-inverse of the initial matrix.private RealMatrixRectangularCholeskyDecomposition. rootPermutated Cholesky root of the symmetric positive semidefinite matrix.Methods in org.apache.commons.math3.linear that return RealMatrix Modifier and Type Method Description RealMatrixAbstractRealMatrix. add(RealMatrix m)Returns the sum ofthisandm.RealMatrixRealMatrix. add(RealMatrix m)Returns the sum ofthisandm.static RealMatrixMatrixUtils. blockInverse(RealMatrix m, int splitIndex)Computes the inverse of the given matrix by splitting it into 4 sub-matrices.abstract RealMatrixAbstractRealMatrix. copy()Returns a (deep) copy of this.RealMatrixArray2DRowRealMatrix. copy()Returns a (deep) copy of this.RealMatrixDiagonalMatrix. copy()Returns a (deep) copy of this.RealMatrixRealMatrix. copy()Returns a (deep) copy of this.static RealMatrixMatrixUtils. createColumnRealMatrix(double[] columnData)Creates a columnRealMatrixusing the data from the input array.abstract RealMatrixAbstractRealMatrix. createMatrix(int rowDimension, int columnDimension)Create a new RealMatrix of the same type as the instance with the supplied row and column dimensions.RealMatrixArray2DRowRealMatrix. createMatrix(int rowDimension, int columnDimension)Create a new RealMatrix of the same type as the instance with the supplied row and column dimensions.RealMatrixDiagonalMatrix. createMatrix(int rowDimension, int columnDimension)Create a new RealMatrix of the same type as the instance with the supplied row and column dimensions.RealMatrixRealMatrix. createMatrix(int rowDimension, int columnDimension)Create a new RealMatrix of the same type as the instance with the supplied row and column dimensions.static RealMatrixMatrixUtils. createRealDiagonalMatrix(double[] diagonal)Returns a diagonal matrix with specified elements.static RealMatrixMatrixUtils. createRealIdentityMatrix(int dimension)Returnsdimension x dimensionidentity matrix.static RealMatrixMatrixUtils. createRealMatrix(double[][] data)Returns aRealMatrixwhose entries are the the values in the the input array.static RealMatrixMatrixUtils. createRealMatrix(int rows, int columns)Returns aRealMatrixwith specified dimensions.static RealMatrixMatrixUtils. createRowRealMatrix(double[] rowData)Create a rowRealMatrixusing the data from the input array.RealMatrixBiDiagonalTransformer. getB()Returns the bi-diagonal matrix B of the transform.RealMatrixAbstractRealMatrix. getColumnMatrix(int column)Get the entries at the given column index as a column matrix.RealMatrixRealMatrix. getColumnMatrix(int column)Get the entries at the given column index as a column matrix.RealMatrixSingularValueDecomposition. getCovariance(double minSingularValue)Returns the n × n covariance matrix.RealMatrixEigenDecomposition. getD()Gets the block diagonal matrix D of the decomposition.RealMatrixHessenbergTransformer. getH()Returns the Hessenberg matrix H of the transform.RealMatrixQRDecomposition. getH()Returns the Householder reflector vectors.RealMatrixCholeskyDecomposition.Solver. getInverse()Get the inverse of the decomposed matrix.RealMatrixDecompositionSolver. getInverse()Get the pseudo-inverse of the decomposed matrix.RealMatrixEigenDecomposition.Solver. getInverse()Get the inverse of the decomposed matrix.RealMatrixLUDecomposition.Solver. getInverse()Get the inverse of the decomposed matrix.RealMatrixQRDecomposition.Solver. getInverse()Get the pseudo-inverse of the decomposed matrix.RealMatrixRRQRDecomposition.Solver. getInverse()Get the pseudo-inverse of the decomposed matrix.RealMatrixSingularValueDecomposition.Solver. getInverse()Get the pseudo-inverse of the decomposed matrix.RealMatrixCholeskyDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixLUDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixCholeskyDecomposition. getLT()Returns the transpose of the matrix L of the decomposition.RealMatrixHessenbergTransformer. getP()Returns the matrix P of the transform.RealMatrixLUDecomposition. getP()Returns the P rows permutation matrix.RealMatrixRRQRDecomposition. getP()Returns the pivot matrix, P, used in the QR Decomposition of matrix A such that AP = QR.RealMatrixSchurTransformer. getP()Returns the matrix P of the transform.RealMatrixHessenbergTransformer. getPT()Returns the transpose of the matrix P of the transform.RealMatrixSchurTransformer. getPT()Returns the transpose of the matrix P of the transform.RealMatrixQRDecomposition. getQ()Returns the matrix Q of the decomposition.RealMatrixTriDiagonalTransformer. getQ()Returns the matrix Q of the transform.RealMatrixQRDecomposition. getQT()Returns the transpose of the matrix Q of the decomposition.RealMatrixTriDiagonalTransformer. getQT()Returns the transpose of the matrix Q of the transform.RealMatrixQRDecomposition. getR()Returns the matrix R of the decomposition.RealMatrixRectangularCholeskyDecomposition. getRootMatrix()Get the root of the covariance matrix.RealMatrixAbstractRealMatrix. getRowMatrix(int row)Get the entries at the given row index as a row matrix.RealMatrixRealMatrix. getRowMatrix(int row)Get the entries at the given row index as a row matrix.RealMatrixSingularValueDecomposition. getS()Returns the diagonal matrix Σ of the decomposition.RealMatrixEigenDecomposition. getSquareRoot()Computes the square-root of the matrix.RealMatrixAbstractRealMatrix. getSubMatrix(int[] selectedRows, int[] selectedColumns)Gets a submatrix.RealMatrixAbstractRealMatrix. getSubMatrix(int startRow, int endRow, int startColumn, int endColumn)Gets a submatrix.RealMatrixRealMatrix. getSubMatrix(int[] selectedRows, int[] selectedColumns)Gets a submatrix.RealMatrixRealMatrix. getSubMatrix(int startRow, int endRow, int startColumn, int endColumn)Gets a submatrix.RealMatrixSchurTransformer. getT()Returns the quasi-triangular Schur matrix T of the transform.RealMatrixTriDiagonalTransformer. getT()Returns the tridiagonal matrix T of the transform.RealMatrixBiDiagonalTransformer. getU()Returns the matrix U of the transform.RealMatrixLUDecomposition. getU()Returns the matrix U of the decomposition.RealMatrixSingularValueDecomposition. getU()Returns the matrix U of the decomposition.RealMatrixSingularValueDecomposition. getUT()Returns the transpose of the matrix U of the decomposition.RealMatrixBiDiagonalTransformer. getV()Returns the matrix V of the transform.RealMatrixEigenDecomposition. getV()Gets the matrix V of the decomposition.RealMatrixSingularValueDecomposition. getV()Returns the matrix V of the decomposition.RealMatrixEigenDecomposition. getVT()Gets the transpose of the matrix V of the decomposition.RealMatrixSingularValueDecomposition. getVT()Returns the transpose of the matrix V of the decomposition.static RealMatrixMatrixUtils. inverse(RealMatrix matrix)Computes the inverse of the given matrix.static RealMatrixMatrixUtils. inverse(RealMatrix matrix, double threshold)Computes the inverse of the given matrix.RealMatrixAbstractRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixDiagonalMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixOpenMapRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixArrayRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixRealMatrixFormat. parse(java.lang.String source)Parse a string to produce aRealMatrixobject.RealMatrixRealMatrixFormat. parse(java.lang.String source, java.text.ParsePosition pos)Parse a string to produce aRealMatrixobject.RealMatrixAbstractRealMatrix. power(int p)Returns the result of multiplyingthiswith itselfptimes.RealMatrixRealMatrix. power(int p)Returns the result of multiplyingthiswith itselfptimes.RealMatrixAbstractRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.RealMatrixRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.RealMatrixAbstractRealMatrix. scalarAdd(double d)Returns the result of addingdto each entry ofthis.RealMatrixRealMatrix. scalarAdd(double d)Returns the result of addingdto each entry ofthis.RealMatrixAbstractRealMatrix. scalarMultiply(double d)Returns the result of multiplying each entry ofthisbyd.RealMatrixBlockRealMatrix. scalarMultiply(double d)Returns the result of multiplying each entry ofthisbyd.RealMatrixRealMatrix. scalarMultiply(double d)Returns the result of multiplying each entry ofthisbyd.RealMatrixCholeskyDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixDecompositionSolver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixEigenDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixLUDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixQRDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixRRQRDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixSingularValueDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B in least square sense.RealMatrixAbstractRealMatrix. subtract(RealMatrix m)Returnsthisminusm.RealMatrixRealMatrix. subtract(RealMatrix m)Returnsthisminusm.RealMatrixAbstractRealMatrix. transpose()Returns the transpose of this matrix.RealMatrixRealMatrix. transpose()Returns the transpose of this matrix.Methods in org.apache.commons.math3.linear with parameters of type RealMatrix Modifier and Type Method Description RealMatrixAbstractRealMatrix. add(RealMatrix m)Returns the sum ofthisandm.BlockRealMatrixBlockRealMatrix. add(RealMatrix m)Returns the sum ofthisandm.RealMatrixRealMatrix. add(RealMatrix m)Returns the sum ofthisandm.static RealMatrixMatrixUtils. blockInverse(RealMatrix m, int splitIndex)Computes the inverse of the given matrix by splitting it into 4 sub-matrices.static voidMatrixUtils. checkSymmetric(RealMatrix matrix, double eps)Checks whether a matrix is symmetric.java.lang.StringRealMatrixFormat. format(RealMatrix m)This method callsRealMatrixFormat.format(RealMatrix,StringBuffer,FieldPosition).java.lang.StringBufferRealMatrixFormat. format(RealMatrix matrix, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)Formats aRealMatrixobject to produce a string.static RealMatrixMatrixUtils. inverse(RealMatrix matrix)Computes the inverse of the given matrix.static RealMatrixMatrixUtils. inverse(RealMatrix matrix, double threshold)Computes the inverse of the given matrix.static booleanMatrixUtils. isSymmetric(RealMatrix matrix, double eps)Checks whether a matrix is symmetric.private static booleanMatrixUtils. isSymmetricInternal(RealMatrix matrix, double relativeTolerance, boolean raiseException)Checks whether a matrix is symmetric, within a given relative tolerance.RealMatrixAbstractRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.BlockRealMatrixBlockRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixDiagonalMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixOpenMapRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixAbstractRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.RealMatrixRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.static voidMatrixUtils. serializeRealMatrix(RealMatrix matrix, java.io.ObjectOutputStream oos)Serialize aRealMatrix.voidAbstractRealMatrix. setColumnMatrix(int column, RealMatrix matrix)Sets the specifiedcolumnofthismatrix to the entries of the specified columnmatrix.voidBlockRealMatrix. setColumnMatrix(int column, RealMatrix matrix)Sets the specifiedcolumnofthismatrix to the entries of the specified columnmatrix.voidRealMatrix. setColumnMatrix(int column, RealMatrix matrix)Sets the specifiedcolumnofthismatrix to the entries of the specified columnmatrix.voidAbstractRealMatrix. setRowMatrix(int row, RealMatrix matrix)Sets the specifiedrowofthismatrix to the entries of the specified rowmatrix.voidBlockRealMatrix. setRowMatrix(int row, RealMatrix matrix)Sets the specifiedrowofthismatrix to the entries of the specified rowmatrix.voidRealMatrix. setRowMatrix(int row, RealMatrix matrix)Sets the specifiedrowofthismatrix to the entries of the specified rowmatrix.RealMatrixCholeskyDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixDecompositionSolver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixEigenDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixLUDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixQRDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixRRQRDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixSingularValueDecomposition.Solver. solve(RealMatrix b)Solve the linear equation A × X = B in least square sense.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.RealMatrixAbstractRealMatrix. subtract(RealMatrix m)Returnsthisminusm.BlockRealMatrixBlockRealMatrix. subtract(RealMatrix m)Returnsthisminusm.OpenMapRealMatrixOpenMapRealMatrix. subtract(RealMatrix m)Returnsthisminusm.RealMatrixRealMatrix. subtract(RealMatrix m)Returnsthisminusm.private SchurTransformerEigenDecomposition. transformToSchur(RealMatrix matrix)Transforms the matrix to Schur form and calculates the eigenvalues.private voidEigenDecomposition. transformToTridiagonal(RealMatrix matrix)Transforms the matrix to tridiagonal form.Constructors in org.apache.commons.math3.linear with parameters of type RealMatrix Constructor Description BiDiagonalTransformer(RealMatrix matrix)Build the transformation to bi-diagonal shape of a matrix.CholeskyDecomposition(RealMatrix matrix)Calculates the Cholesky decomposition of the given matrix.CholeskyDecomposition(RealMatrix matrix, double relativeSymmetryThreshold, double absolutePositivityThreshold)Calculates the Cholesky decomposition of the given matrix.EigenDecomposition(RealMatrix matrix)Calculates the eigen decomposition of the given real matrix.EigenDecomposition(RealMatrix matrix, double splitTolerance)Deprecated.in 3.1 (to be removed in 4.0) due to unused parameterHessenbergTransformer(RealMatrix matrix)Build the transformation to Hessenberg form of a general matrix.LUDecomposition(RealMatrix matrix)Calculates the LU-decomposition of the given matrix.LUDecomposition(RealMatrix matrix, double singularityThreshold)Calculates the LU-decomposition of the given matrix.QRDecomposition(RealMatrix matrix)Calculates the QR-decomposition of the given matrix.QRDecomposition(RealMatrix matrix, double threshold)Calculates the QR-decomposition of the given matrix.RectangularCholeskyDecomposition(RealMatrix matrix)Decompose a symmetric positive semidefinite matrix.RectangularCholeskyDecomposition(RealMatrix matrix, double small)Decompose a symmetric positive semidefinite matrix.RRQRDecomposition(RealMatrix matrix)Calculates the QR-decomposition of the given matrix.RRQRDecomposition(RealMatrix matrix, double threshold)Calculates the QR-decomposition of the given matrix.SchurTransformer(RealMatrix matrix)Build the transformation to Schur form of a general real matrix.SingularValueDecomposition(RealMatrix matrix)Calculates the compact Singular Value Decomposition of the given matrix.Solver(DecompositionSolver upper, RealMatrix p)Build a solver from decomposed matrix.Solver(double[] singularValues, RealMatrix uT, RealMatrix v, boolean nonSingular, double tol)Build a solver from decomposed matrix.TriDiagonalTransformer(RealMatrix matrix)Build the transformation to tridiagonal shape of a symmetrical matrix. -
Uses of RealMatrix in org.apache.commons.math3.ml.clustering
Methods in org.apache.commons.math3.ml.clustering that return RealMatrix Modifier and Type Method Description RealMatrixFuzzyKMeansClusterer. getMembershipMatrix()Returns thenxkmembership matrix, wherenis the number of data points andkthe number of clusters. -
Uses of RealMatrix in org.apache.commons.math3.ode.nonstiff
Methods in org.apache.commons.math3.ode.nonstiff with parameters of type RealMatrix Modifier and Type Method Description private doubleAdamsBashforthIntegrator. errorEstimation(double[] previousState, double[] predictedState, double[] predictedScaled, RealMatrix predictedNordsieck)Estimate error. -
Uses of RealMatrix in org.apache.commons.math3.optim.nonlinear.scalar
Fields in org.apache.commons.math3.optim.nonlinear.scalar declared as RealMatrix Modifier and Type Field Description private RealMatrixLeastSquaresConverter. scaleOptional scaling matrix (weight and correlations) for the residuals.Constructors in org.apache.commons.math3.optim.nonlinear.scalar with parameters of type RealMatrix Constructor Description LeastSquaresConverter(MultivariateVectorFunction function, double[] observations, RealMatrix scale)Builds a simple converter for correlated residuals with the specified weights. -
Uses of RealMatrix in org.apache.commons.math3.optim.nonlinear.scalar.noderiv
Fields in org.apache.commons.math3.optim.nonlinear.scalar.noderiv declared as RealMatrix Modifier and Type Field Description private RealMatrixCMAESOptimizer. BCoordinate system.private RealMatrixCMAESOptimizer. BDB*D, stored for efficiency.private RealMatrixCMAESOptimizer. CCovariance matrix.private RealMatrixCMAESOptimizer. DScaling.private RealMatrixCMAESOptimizer. diagCDiagonal of C, used for diagonalOnly.private RealMatrixCMAESOptimizer. diagDDiagonal of sqrt(D), stored for efficiency.private RealMatrixCMAESOptimizer. pcEvolution path.private RealMatrixCMAESOptimizer. psEvolution path for sigma.private RealMatrixCMAESOptimizer. weightsArray for weighted recombination.private RealMatrixCMAESOptimizer. xmeanObjective variables.Fields in org.apache.commons.math3.optim.nonlinear.scalar.noderiv with type parameters of type RealMatrix Modifier and Type Field Description private java.util.List<RealMatrix>CMAESOptimizer. statisticsDHistoryHistory of D matrix.private java.util.List<RealMatrix>CMAESOptimizer. statisticsMeanHistoryHistory of mean matrix.Methods in org.apache.commons.math3.optim.nonlinear.scalar.noderiv that return RealMatrix Modifier and Type Method Description private static RealMatrixCMAESOptimizer. diag(RealMatrix m)private static RealMatrixCMAESOptimizer. divide(RealMatrix m, RealMatrix n)private static RealMatrixCMAESOptimizer. eye(int n, int m)private static RealMatrixCMAESOptimizer. log(RealMatrix m)private static RealMatrixCMAESOptimizer. ones(int n, int m)private RealMatrixCMAESOptimizer. randn1(int size, int popSize)private static RealMatrixCMAESOptimizer. repmat(RealMatrix mat, int n, int m)private static RealMatrixCMAESOptimizer. selectColumns(RealMatrix m, int[] cols)private static RealMatrixCMAESOptimizer. sequence(double start, double end, double step)private static RealMatrixCMAESOptimizer. sqrt(RealMatrix m)private static RealMatrixCMAESOptimizer. square(RealMatrix m)private static RealMatrixCMAESOptimizer. sumRows(RealMatrix m)private static RealMatrixCMAESOptimizer. times(RealMatrix m, RealMatrix n)private static RealMatrixCMAESOptimizer. triu(RealMatrix m, int k)private static RealMatrixCMAESOptimizer. zeros(int n, int m)Methods in org.apache.commons.math3.optim.nonlinear.scalar.noderiv that return types with arguments of type RealMatrix Modifier and Type Method Description java.util.List<RealMatrix>CMAESOptimizer. getStatisticsDHistory()java.util.List<RealMatrix>CMAESOptimizer. getStatisticsMeanHistory()Methods in org.apache.commons.math3.optim.nonlinear.scalar.noderiv with parameters of type RealMatrix Modifier and Type Method Description private static voidCMAESOptimizer. copyColumn(RealMatrix m1, int col1, RealMatrix m2, int col2)Copies a column from m1 to m2.private static RealMatrixCMAESOptimizer. diag(RealMatrix m)private static RealMatrixCMAESOptimizer. divide(RealMatrix m, RealMatrix n)private static RealMatrixCMAESOptimizer. log(RealMatrix m)private static doubleCMAESOptimizer. max(RealMatrix m)private static doubleCMAESOptimizer. min(RealMatrix m)private static RealMatrixCMAESOptimizer. repmat(RealMatrix mat, int n, int m)private static RealMatrixCMAESOptimizer. selectColumns(RealMatrix m, int[] cols)private static RealMatrixCMAESOptimizer. sqrt(RealMatrix m)private static RealMatrixCMAESOptimizer. square(RealMatrix m)private static RealMatrixCMAESOptimizer. sumRows(RealMatrix m)private static RealMatrixCMAESOptimizer. times(RealMatrix m, RealMatrix n)private static RealMatrixCMAESOptimizer. triu(RealMatrix m, int k)private voidCMAESOptimizer. updateCovariance(boolean hsig, RealMatrix bestArx, RealMatrix arz, int[] arindex, RealMatrix xold)Update of the covariance matrix C.private voidCMAESOptimizer. updateCovarianceDiagonalOnly(boolean hsig, RealMatrix bestArz)Update of the covariance matrix C for diagonalOnly > 0private booleanCMAESOptimizer. updateEvolutionPaths(RealMatrix zmean, RealMatrix xold)Update of the evolution paths ps and pc. -
Uses of RealMatrix in org.apache.commons.math3.optim.nonlinear.vector
Fields in org.apache.commons.math3.optim.nonlinear.vector declared as RealMatrix Modifier and Type Field Description private RealMatrixMultivariateVectorOptimizer. weightMatrixDeprecated.Weight matrix.private RealMatrixWeight. weightMatrixDeprecated.Weight matrix.Methods in org.apache.commons.math3.optim.nonlinear.vector that return RealMatrix Modifier and Type Method Description RealMatrixMultivariateVectorOptimizer. getWeight()Deprecated.Gets the weight matrix of the observations.RealMatrixWeight. getWeight()Deprecated.Gets the initial guess.Constructors in org.apache.commons.math3.optim.nonlinear.vector with parameters of type RealMatrix Constructor Description Weight(RealMatrix weight)Deprecated. -
Uses of RealMatrix in org.apache.commons.math3.optim.nonlinear.vector.jacobian
Fields in org.apache.commons.math3.optim.nonlinear.vector.jacobian declared as RealMatrix Modifier and Type Field Description private RealMatrixAbstractLeastSquaresOptimizer. weightMatrixSqrtDeprecated.Square-root of the weight matrix.Methods in org.apache.commons.math3.optim.nonlinear.vector.jacobian that return RealMatrix Modifier and Type Method Description protected RealMatrixAbstractLeastSquaresOptimizer. computeWeightedJacobian(double[] params)Deprecated.Computes the weighted Jacobian matrix.RealMatrixAbstractLeastSquaresOptimizer. getWeightSquareRoot()Deprecated.Gets the square-root of the weight matrix.private RealMatrixAbstractLeastSquaresOptimizer. squareRoot(RealMatrix m)Deprecated.Computes the square-root of the weight matrix.Methods in org.apache.commons.math3.optim.nonlinear.vector.jacobian with parameters of type RealMatrix Modifier and Type Method Description private voidLevenbergMarquardtOptimizer. qrDecomposition(RealMatrix jacobian)Deprecated.Decompose a matrix A as A.P = Q.R using Householder transforms.private RealMatrixAbstractLeastSquaresOptimizer. squareRoot(RealMatrix m)Deprecated.Computes the square-root of the weight matrix. -
Uses of RealMatrix in org.apache.commons.math3.optimization
Fields in org.apache.commons.math3.optimization declared as RealMatrix Modifier and Type Field Description private RealMatrixLeastSquaresConverter. scaleDeprecated.Optional scaling matrix (weight and correlations) for the residuals.private RealMatrixWeight. weightMatrixDeprecated.Weight matrix.Methods in org.apache.commons.math3.optimization that return RealMatrix Modifier and Type Method Description RealMatrixWeight. getWeight()Deprecated.Gets the initial guess.Constructors in org.apache.commons.math3.optimization with parameters of type RealMatrix Constructor Description LeastSquaresConverter(MultivariateVectorFunction function, double[] observations, RealMatrix scale)Deprecated.Build a simple converter for correlated residuals with the specific weights.Weight(RealMatrix weight)Deprecated. -
Uses of RealMatrix in org.apache.commons.math3.optimization.direct
Fields in org.apache.commons.math3.optimization.direct declared as RealMatrix Modifier and Type Field Description private RealMatrixCMAESOptimizer. BDeprecated.Coordinate system.private RealMatrixCMAESOptimizer. BDDeprecated.B*D, stored for efficiency.private RealMatrixCMAESOptimizer. CDeprecated.Covariance matrix.private RealMatrixCMAESOptimizer. DDeprecated.Scaling.private RealMatrixCMAESOptimizer. diagCDeprecated.Diagonal of C, used for diagonalOnly.private RealMatrixCMAESOptimizer. diagDDeprecated.Diagonal of sqrt(D), stored for efficiency.private RealMatrixCMAESOptimizer. pcDeprecated.Evolution path.private RealMatrixCMAESOptimizer. psDeprecated.Evolution path for sigma.private RealMatrixBaseAbstractMultivariateVectorOptimizer. weightMatrixDeprecated.Weight matrix.private RealMatrixCMAESOptimizer. weightsDeprecated.Array for weighted recombination.private RealMatrixCMAESOptimizer. xmeanDeprecated.Objective variables.Fields in org.apache.commons.math3.optimization.direct with type parameters of type RealMatrix Modifier and Type Field Description private java.util.List<RealMatrix>CMAESOptimizer. statisticsDHistoryDeprecated.History of D matrix.private java.util.List<RealMatrix>CMAESOptimizer. statisticsMeanHistoryDeprecated.History of mean matrix.Methods in org.apache.commons.math3.optimization.direct that return RealMatrix Modifier and Type Method Description private static RealMatrixCMAESOptimizer. diag(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. divide(RealMatrix m, RealMatrix n)Deprecated.private static RealMatrixCMAESOptimizer. eye(int n, int m)Deprecated.RealMatrixBaseAbstractMultivariateVectorOptimizer. getWeight()Deprecated.Gets the weight matrix of the observations.private static RealMatrixCMAESOptimizer. log(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. ones(int n, int m)Deprecated.private RealMatrixCMAESOptimizer. randn1(int size, int popSize)Deprecated.private static RealMatrixCMAESOptimizer. repmat(RealMatrix mat, int n, int m)Deprecated.private static RealMatrixCMAESOptimizer. selectColumns(RealMatrix m, int[] cols)Deprecated.private static RealMatrixCMAESOptimizer. sequence(double start, double end, double step)Deprecated.private static RealMatrixCMAESOptimizer. sqrt(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. square(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. sumRows(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. times(RealMatrix m, RealMatrix n)Deprecated.private static RealMatrixCMAESOptimizer. triu(RealMatrix m, int k)Deprecated.private static RealMatrixCMAESOptimizer. zeros(int n, int m)Deprecated.Methods in org.apache.commons.math3.optimization.direct that return types with arguments of type RealMatrix Modifier and Type Method Description java.util.List<RealMatrix>CMAESOptimizer. getStatisticsDHistory()Deprecated.java.util.List<RealMatrix>CMAESOptimizer. getStatisticsMeanHistory()Deprecated.Methods in org.apache.commons.math3.optimization.direct with parameters of type RealMatrix Modifier and Type Method Description private static voidCMAESOptimizer. copyColumn(RealMatrix m1, int col1, RealMatrix m2, int col2)Deprecated.Copies a column from m1 to m2.private static RealMatrixCMAESOptimizer. diag(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. divide(RealMatrix m, RealMatrix n)Deprecated.private static RealMatrixCMAESOptimizer. log(RealMatrix m)Deprecated.private static doubleCMAESOptimizer. max(RealMatrix m)Deprecated.private static doubleCMAESOptimizer. min(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. repmat(RealMatrix mat, int n, int m)Deprecated.private static RealMatrixCMAESOptimizer. selectColumns(RealMatrix m, int[] cols)Deprecated.private static RealMatrixCMAESOptimizer. sqrt(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. square(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. sumRows(RealMatrix m)Deprecated.private static RealMatrixCMAESOptimizer. times(RealMatrix m, RealMatrix n)Deprecated.private static RealMatrixCMAESOptimizer. triu(RealMatrix m, int k)Deprecated.private voidCMAESOptimizer. updateCovariance(boolean hsig, RealMatrix bestArx, RealMatrix arz, int[] arindex, RealMatrix xold)Deprecated.Update of the covariance matrix C.private voidCMAESOptimizer. updateCovarianceDiagonalOnly(boolean hsig, RealMatrix bestArz)Deprecated.Update of the covariance matrix C for diagonalOnly > 0private booleanCMAESOptimizer. updateEvolutionPaths(RealMatrix zmean, RealMatrix xold)Deprecated.Update of the evolution paths ps and pc. -
Uses of RealMatrix in org.apache.commons.math3.optimization.general
Fields in org.apache.commons.math3.optimization.general declared as RealMatrix Modifier and Type Field Description private RealMatrixAbstractLeastSquaresOptimizer. weightMatrixSqrtDeprecated.Square-root of the weight matrix.Methods in org.apache.commons.math3.optimization.general that return RealMatrix Modifier and Type Method Description protected RealMatrixAbstractLeastSquaresOptimizer. computeWeightedJacobian(double[] params)Deprecated.Computes the Jacobian matrix.RealMatrixAbstractLeastSquaresOptimizer. getWeightSquareRoot()Deprecated.Gets the square-root of the weight matrix.private RealMatrixAbstractLeastSquaresOptimizer. squareRoot(RealMatrix m)Deprecated.Computes the square-root of the weight matrix.Methods in org.apache.commons.math3.optimization.general with parameters of type RealMatrix Modifier and Type Method Description private voidLevenbergMarquardtOptimizer. qrDecomposition(RealMatrix jacobian)Deprecated.Decompose a matrix A as A.P = Q.R using Householder transforms.private RealMatrixAbstractLeastSquaresOptimizer. squareRoot(RealMatrix m)Deprecated.Computes the square-root of the weight matrix. -
Uses of RealMatrix in org.apache.commons.math3.optimization.linear
Fields in org.apache.commons.math3.optimization.linear declared as RealMatrix Modifier and Type Field Description private RealMatrixSimplexTableau. tableauDeprecated.Simple tableau.Methods in org.apache.commons.math3.optimization.linear that return RealMatrix Modifier and Type Method Description protected RealMatrixSimplexTableau. createTableau(boolean maximize)Deprecated.Create the tableau by itself. -
Uses of RealMatrix in org.apache.commons.math3.random
Fields in org.apache.commons.math3.random declared as RealMatrix Modifier and Type Field Description private RealMatrixCorrelatedRandomVectorGenerator. rootRoot of the covariance matrix.Methods in org.apache.commons.math3.random that return RealMatrix Modifier and Type Method Description RealMatrixCorrelatedRandomVectorGenerator. getRootMatrix()Get the root of the covariance matrix.Constructors in org.apache.commons.math3.random with parameters of type RealMatrix Constructor Description CorrelatedRandomVectorGenerator(double[] mean, RealMatrix covariance, double small, NormalizedRandomGenerator generator)Builds a correlated random vector generator from its mean vector and covariance matrix.CorrelatedRandomVectorGenerator(RealMatrix covariance, double small, NormalizedRandomGenerator generator)Builds a null mean random correlated vector generator from its covariance matrix. -
Uses of RealMatrix in org.apache.commons.math3.stat.correlation
Fields in org.apache.commons.math3.stat.correlation declared as RealMatrix Modifier and Type Field Description private RealMatrixKendallsCorrelation. correlationMatrixcorrelation matrixprivate RealMatrixPearsonsCorrelation. correlationMatrixcorrelation matrixprivate RealMatrixCovariance. covarianceMatrixcovariance matrixprivate RealMatrixSpearmansCorrelation. dataInput dataMethods in org.apache.commons.math3.stat.correlation that return RealMatrix Modifier and Type Method Description RealMatrixKendallsCorrelation. computeCorrelationMatrix(double[][] matrix)Computes the Kendall's Tau rank correlation matrix for the columns of the input rectangular array.RealMatrixKendallsCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the Kendall's Tau rank correlation matrix for the columns of the input matrix.RealMatrixPearsonsCorrelation. computeCorrelationMatrix(double[][] data)Computes the correlation matrix for the columns of the input rectangular array.RealMatrixPearsonsCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the correlation matrix for the columns of the input matrix, usingPearsonsCorrelation.correlation(double[], double[]).RealMatrixSpearmansCorrelation. computeCorrelationMatrix(double[][] matrix)Computes the Spearman's rank correlation matrix for the columns of the input rectangular array.RealMatrixSpearmansCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the Spearman's rank correlation matrix for the columns of the input matrix.protected RealMatrixCovariance. computeCovarianceMatrix(double[][] data)Create a covariance matrix from a rectangular array whose columns represent covariates.protected RealMatrixCovariance. computeCovarianceMatrix(double[][] data, boolean biasCorrected)Compute a covariance matrix from a rectangular array whose columns represent covariates.protected RealMatrixCovariance. computeCovarianceMatrix(RealMatrix matrix)Create a covariance matrix from a matrix whose columns represent covariates.protected RealMatrixCovariance. computeCovarianceMatrix(RealMatrix matrix, boolean biasCorrected)Compute a covariance matrix from a matrix whose columns represent covariates.RealMatrixPearsonsCorrelation. covarianceToCorrelation(RealMatrix covarianceMatrix)Derives a correlation matrix from a covariance matrix.RealMatrixKendallsCorrelation. getCorrelationMatrix()Returns the correlation matrix.RealMatrixPearsonsCorrelation. getCorrelationMatrix()Returns the correlation matrix.RealMatrixSpearmansCorrelation. getCorrelationMatrix()Calculate the Spearman Rank Correlation Matrix.RealMatrixPearsonsCorrelation. getCorrelationPValues()Returns a matrix of p-values associated with the (two-sided) null hypothesis that the corresponding correlation coefficient is zero.RealMatrixPearsonsCorrelation. getCorrelationStandardErrors()Returns a matrix of standard errors associated with the estimates in the correlation matrix.
getCorrelationStandardErrors().getEntry(i,j)is the standard error associated withgetCorrelationMatrix.getEntry(i,j)RealMatrixCovariance. getCovarianceMatrix()Returns the covariance matrixRealMatrixStorelessCovariance. getCovarianceMatrix()Returns the covariance matrixprivate RealMatrixSpearmansCorrelation. rankTransform(RealMatrix matrix)Applies rank transform to each of the columns ofmatrixusing the currentrankingAlgorithm.Methods in org.apache.commons.math3.stat.correlation with parameters of type RealMatrix Modifier and Type Method Description private voidCovariance. checkSufficientData(RealMatrix matrix)Throws MathIllegalArgumentException if the matrix does not have at least one column and two rows.private voidPearsonsCorrelation. checkSufficientData(RealMatrix matrix)Throws MathIllegalArgumentException if the matrix does not have at least two columns and two rows.RealMatrixKendallsCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the Kendall's Tau rank correlation matrix for the columns of the input matrix.RealMatrixPearsonsCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the correlation matrix for the columns of the input matrix, usingPearsonsCorrelation.correlation(double[], double[]).RealMatrixSpearmansCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the Spearman's rank correlation matrix for the columns of the input matrix.protected RealMatrixCovariance. computeCovarianceMatrix(RealMatrix matrix)Create a covariance matrix from a matrix whose columns represent covariates.protected RealMatrixCovariance. computeCovarianceMatrix(RealMatrix matrix, boolean biasCorrected)Compute a covariance matrix from a matrix whose columns represent covariates.RealMatrixPearsonsCorrelation. covarianceToCorrelation(RealMatrix covarianceMatrix)Derives a correlation matrix from a covariance matrix.private RealMatrixSpearmansCorrelation. rankTransform(RealMatrix matrix)Applies rank transform to each of the columns ofmatrixusing the currentrankingAlgorithm.Constructors in org.apache.commons.math3.stat.correlation with parameters of type RealMatrix Constructor Description Covariance(RealMatrix matrix)Create a covariance matrix from a matrix whose columns represent covariates.Covariance(RealMatrix matrix, boolean biasCorrected)Create a covariance matrix from a matrix whose columns represent covariates.KendallsCorrelation(RealMatrix matrix)Create a KendallsCorrelation from a RealMatrix whose columns represent variables to be correlated.PearsonsCorrelation(RealMatrix matrix)Create a PearsonsCorrelation from a RealMatrix whose columns represent variables to be correlated.PearsonsCorrelation(RealMatrix covarianceMatrix, int numberOfObservations)Create a PearsonsCorrelation from a covariance matrix.SpearmansCorrelation(RealMatrix dataMatrix)Create a SpearmansCorrelation from the given data matrix.SpearmansCorrelation(RealMatrix dataMatrix, RankingAlgorithm rankingAlgorithm)Create a SpearmansCorrelation with the given input data matrix and ranking algorithm. -
Uses of RealMatrix in org.apache.commons.math3.stat.descriptive
Methods in org.apache.commons.math3.stat.descriptive that return RealMatrix Modifier and Type Method Description RealMatrixMultivariateSummaryStatistics. getCovariance()Returns the covariance matrix of the values that have been added.RealMatrixStatisticalMultivariateSummary. getCovariance()Returns the covariance of the available values.RealMatrixSynchronizedMultivariateSummaryStatistics. getCovariance()Returns the covariance matrix of the values that have been added. -
Uses of RealMatrix in org.apache.commons.math3.stat.descriptive.moment
Methods in org.apache.commons.math3.stat.descriptive.moment that return RealMatrix Modifier and Type Method Description RealMatrixVectorialCovariance. getResult()Get the covariance matrix. -
Uses of RealMatrix in org.apache.commons.math3.stat.inference
Methods in org.apache.commons.math3.stat.inference that return RealMatrix Modifier and Type Method Description private RealMatrixKolmogorovSmirnovTest. createRoundedH(double d, int n)CreatesHof sizem x mas described in [1] (see above) using double-precision. -
Uses of RealMatrix in org.apache.commons.math3.stat.regression
Fields in org.apache.commons.math3.stat.regression declared as RealMatrix Modifier and Type Field Description private RealMatrixGLSMultipleLinearRegression. OmegaCovariance matrix.private RealMatrixGLSMultipleLinearRegression. OmegaInverseInverse of covariance matrix.private RealMatrixAbstractMultipleLinearRegression. xMatrixX sample data.Methods in org.apache.commons.math3.stat.regression that return RealMatrix Modifier and Type Method Description protected abstract RealMatrixAbstractMultipleLinearRegression. calculateBetaVariance()Calculates the beta variance of multiple linear regression in matrix notation.protected RealMatrixGLSMultipleLinearRegression. calculateBetaVariance()Calculates the variance on the beta.protected RealMatrixOLSMultipleLinearRegression. calculateBetaVariance()Calculates the variance-covariance matrix of the regression parameters.RealMatrixOLSMultipleLinearRegression. calculateHat()Compute the "hat" matrix.protected RealMatrixGLSMultipleLinearRegression. getOmegaInverse()Get the inverse of the covariance.protected RealMatrixAbstractMultipleLinearRegression. getX()
-