Uses of Interface
org.apache.commons.math.linear.RealMatrix
-
Packages that use RealMatrix Package Description org.apache.commons.math.linear Linear algebra support.org.apache.commons.math.ode This package provides classes to solve Ordinary Differential Equations problems.org.apache.commons.math.optimization This package provides common interfaces for the optimization algorithms provided in sub-packages.org.apache.commons.math.random Random number and random data generators.org.apache.commons.math.stat.correlation Correlations/Covariance computations.org.apache.commons.math.stat.descriptive Generic univariate summary statistic objects.org.apache.commons.math.stat.descriptive.moment Summary statistics based on moments.org.apache.commons.math.stat.regression Statistical routines involving multivariate data. -
-
Uses of RealMatrix in org.apache.commons.math.linear
Subinterfaces of RealMatrix in org.apache.commons.math.linear Modifier and Type Interface Description interfaceSparseRealMatrixMarker interface forRealMatriximplementations that require sparse backing storageClasses in org.apache.commons.math.linear that implement RealMatrix Modifier and Type Class Description classAbstractRealMatrixBasic implementation of RealMatrix methods regardless of the underlying storage.classArray2DRowRealMatrixImplementation of RealMatrix using a double[][] array to store entries and LU decomposition to support linear system solution and inverse.classBlockRealMatrixCache-friendly implementation of RealMatrix using a flat arrays to store square blocks of the matrix.classOpenMapRealMatrixSparse matrix implementation based on an open addressed map.classRealMatrixImplDeprecated.as of 2.0 replaced byArray2DRowRealMatrixMethods in org.apache.commons.math.linear that return RealMatrix Modifier and Type Method Description RealMatrixAbstractRealMatrix. add(RealMatrix m)Compute the sum of this and m.RealMatrixArray2DRowRealMatrix. add(RealMatrix m)Compute the sum of this and m.RealMatrixRealMatrix. add(RealMatrix m)Compute the sum of this and m.RealMatrixRealMatrixImpl. add(RealMatrix m)Deprecated.Compute the sum of this and m.abstract RealMatrixAbstractRealMatrix. copy()Returns a (deep) copy of this.RealMatrixArray2DRowRealMatrix. copy()Returns a (deep) copy of this.RealMatrixRealMatrix. copy()Returns a (deep) copy of this.RealMatrixRealMatrixImpl. copy()Deprecated.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.RealMatrixRealMatrix. createMatrix(int rowDimension, int columnDimension)Create a new RealMatrix of the same type as the instance with the supplied row and column dimensions.RealMatrixRealMatrixImpl. createMatrix(int rowDimension, int columnDimension)Deprecated.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)Creates a rowRealMatrixusing the data from the input array.RealMatrixAbstractRealMatrix. getColumnMatrix(int column)Returns the entries in column numbercolumnas a column matrix.RealMatrixRealMatrix. getColumnMatrix(int column)Returns the entries in column numbercolumnas a column matrix.RealMatrixSingularValueDecomposition. getCovariance(double minSingularValue)Returns the n × n covariance matrix.RealMatrixSingularValueDecompositionImpl. getCovariance(double minSingularValue)Returns the n × n covariance matrix.RealMatrixEigenDecomposition. getD()Returns the block diagonal matrix D of the decomposition.RealMatrixEigenDecompositionImpl. getD()Returns the block diagonal matrix D of the decomposition.RealMatrixQRDecomposition. getH()Returns the Householder reflector vectors.RealMatrixQRDecompositionImpl. getH()Returns the Householder reflector vectors.RealMatrixDecompositionSolver. getInverse()Get the inverse (or pseudo-inverse) of the decomposed matrix.RealMatrixCholeskyDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixCholeskyDecompositionImpl. getL()Returns the matrix L of the decomposition.RealMatrixLUDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixLUDecompositionImpl. getL()Returns the matrix L of the decomposition.RealMatrixCholeskyDecomposition. getLT()Returns the transpose of the matrix L of the decomposition.RealMatrixCholeskyDecompositionImpl. getLT()Returns the transpose of the matrix L of the decomposition.RealMatrixLUDecomposition. getP()Returns the P rows permutation matrix.RealMatrixLUDecompositionImpl. getP()Returns the P rows permutation matrix.RealMatrixQRDecomposition. getQ()Returns the matrix Q of the decomposition.RealMatrixQRDecompositionImpl. getQ()Returns the matrix Q of the decomposition.RealMatrixQRDecomposition. getQT()Returns the transpose of the matrix Q of the decomposition.RealMatrixQRDecompositionImpl. getQT()Returns the transpose of the matrix Q of the decomposition.RealMatrixQRDecomposition. getR()Returns the matrix R of the decomposition.RealMatrixQRDecompositionImpl. getR()Returns the matrix R of the decomposition.RealMatrixAbstractRealMatrix. getRowMatrix(int row)Returns the entries in row numberrowas a row matrix.RealMatrixRealMatrix. getRowMatrix(int row)Returns the entries in row numberrowas a row matrix.RealMatrixSingularValueDecomposition. getS()Returns the diagonal matrix Σ of the decomposition.RealMatrixSingularValueDecompositionImpl. getS()Returns the diagonal matrix Σ of the decomposition.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.RealMatrixLUDecomposition. getU()Returns the matrix U of the decomposition.RealMatrixLUDecompositionImpl. getU()Returns the matrix U of the decomposition.RealMatrixSingularValueDecomposition. getU()Returns the matrix U of the decomposition.RealMatrixSingularValueDecompositionImpl. getU()Returns the matrix U of the decomposition.RealMatrixSingularValueDecomposition. getUT()Returns the transpose of the matrix U of the decomposition.RealMatrixSingularValueDecompositionImpl. getUT()Returns the transpose of the matrix U of the decomposition.RealMatrixEigenDecomposition. getV()Returns the matrix V of the decomposition.RealMatrixEigenDecompositionImpl. getV()Returns the matrix V of the decomposition.RealMatrixSingularValueDecomposition. getV()Returns the matrix V of the decomposition.RealMatrixSingularValueDecompositionImpl. getV()Returns the matrix V of the decomposition.RealMatrixEigenDecomposition. getVT()Returns the transpose of the matrix V of the decomposition.RealMatrixEigenDecompositionImpl. getVT()Returns the transpose of the matrix V of the decomposition.RealMatrixSingularValueDecomposition. getVT()Returns the transpose of the matrix V of the decomposition.RealMatrixSingularValueDecompositionImpl. getVT()Returns the transpose of the matrix V of the decomposition.RealMatrixAbstractRealMatrix. inverse()Deprecated.RealMatrixRealMatrix. inverse()Deprecated.as of release 2.0, replaced bynew LUDecompositionImpl(m).getSolver().getInverse()RealMatrixAbstractRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixArray2DRowRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixOpenMapRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixRealMatrixImpl. multiply(RealMatrix m)Deprecated.Returns the result of postmultiplying this by m.RealMatrixAbstractRealVector. outerProduct(double[] v)Compute the outer product.RealMatrixAbstractRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixArrayRealVector. outerProduct(double[] v)Compute the outer product.RealMatrixArrayRealVector. outerProduct(ArrayRealVector v)Compute the outer product.RealMatrixArrayRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixOpenMapRealVector. outerProduct(double[] v)Compute the outer product.RealMatrixRealVector. outerProduct(double[] v)Compute the outer product.RealMatrixRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixAbstractRealMatrix. preMultiply(RealMatrix m)Returns the result premultiplying this bym.RealMatrixRealMatrix. preMultiply(RealMatrix m)Returns the result premultiplying this bym.RealMatrixAbstractRealMatrix. scalarAdd(double d)Returns the result of adding d to each entry of this.RealMatrixRealMatrix. scalarAdd(double d)Returns the result of adding d to each entry of this.RealMatrixAbstractRealMatrix. scalarMultiply(double d)Returns the result multiplying each entry of this by d.RealMatrixBlockRealMatrix. scalarMultiply(double d)Returns the result multiplying each entry of this by d.RealMatrixRealMatrix. scalarMultiply(double d)Returns the result multiplying each entry of this by d.RealMatrixAbstractRealMatrix. solve(RealMatrix b)Deprecated.RealMatrixDecompositionSolver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixRealMatrix. solve(RealMatrix b)Deprecated.as of release 2.0, replaced byDecompositionSolver.solve(RealMatrix)RealMatrixAbstractRealMatrix. subtract(RealMatrix m)Compute this minus m.RealMatrixArray2DRowRealMatrix. subtract(RealMatrix m)Compute this minus m.RealMatrixRealMatrix. subtract(RealMatrix m)Compute this minus m.RealMatrixRealMatrixImpl. subtract(RealMatrix m)Deprecated.Compute this minus m.RealMatrixAbstractRealMatrix. transpose()Returns the transpose of this matrix.RealMatrixRealMatrix. transpose()Returns the transpose of this matrix.Methods in org.apache.commons.math.linear with parameters of type RealMatrix Modifier and Type Method Description RealMatrixAbstractRealMatrix. add(RealMatrix m)Compute the sum of this and m.RealMatrixArray2DRowRealMatrix. add(RealMatrix m)Compute the sum of this and m.BlockRealMatrixBlockRealMatrix. add(RealMatrix m)Compute the sum of this and m.OpenMapRealMatrixOpenMapRealMatrix. add(RealMatrix m)Compute the sum of this and m.RealMatrixRealMatrix. add(RealMatrix m)Compute the sum of this and m.RealMatrixRealMatrixImpl. add(RealMatrix m)Deprecated.Compute the sum of this and m.RealMatrixAbstractRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixArray2DRowRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.BlockRealMatrixBlockRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixOpenMapRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplying this by m.RealMatrixRealMatrixImpl. multiply(RealMatrix m)Deprecated.Returns the result of postmultiplying this by m.RealMatrixAbstractRealMatrix. preMultiply(RealMatrix m)Returns the result premultiplying this bym.RealMatrixRealMatrix. preMultiply(RealMatrix m)Returns the result premultiplying this bym.static voidMatrixUtils. serializeRealMatrix(RealMatrix matrix, java.io.ObjectOutputStream oos)Serialize aRealMatrix.voidAbstractRealMatrix. setColumnMatrix(int column, RealMatrix matrix)Sets the entries in column numbercolumnas a column matrix.voidBlockRealMatrix. setColumnMatrix(int column, RealMatrix matrix)Sets the entries in column numbercolumnas a column matrix.voidRealMatrix. setColumnMatrix(int column, RealMatrix matrix)Sets the entries in column numbercolumnas a column matrix.voidAbstractRealMatrix. setRowMatrix(int row, RealMatrix matrix)Sets the entries in row numberrowas a row matrix.voidBlockRealMatrix. setRowMatrix(int row, RealMatrix matrix)Sets the entries in row numberrowas a row matrix.voidRealMatrix. setRowMatrix(int row, RealMatrix matrix)Sets the entries in row numberrowas a row matrix.RealMatrixAbstractRealMatrix. solve(RealMatrix b)Deprecated.RealMatrixDecompositionSolver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixRealMatrix. solve(RealMatrix b)Deprecated.as of release 2.0, replaced byDecompositionSolver.solve(RealMatrix)RealMatrixAbstractRealMatrix. subtract(RealMatrix m)Compute this minus m.RealMatrixArray2DRowRealMatrix. subtract(RealMatrix m)Compute this minus m.BlockRealMatrixBlockRealMatrix. subtract(RealMatrix m)Compute this minus m.OpenMapRealMatrixOpenMapRealMatrix. subtract(RealMatrix m)Compute this minus m.RealMatrixRealMatrix. subtract(RealMatrix m)Compute this minus m.RealMatrixRealMatrixImpl. subtract(RealMatrix m)Deprecated.Compute this minus m.Constructors in org.apache.commons.math.linear with parameters of type RealMatrix Constructor Description CholeskyDecompositionImpl(RealMatrix matrix)Calculates the Cholesky decomposition of the given matrix.CholeskyDecompositionImpl(RealMatrix matrix, double relativeSymmetryThreshold, double absolutePositivityThreshold)Calculates the Cholesky decomposition of the given matrix.EigenDecompositionImpl(RealMatrix matrix, double splitTolerance)Calculates the eigen decomposition of the given symmetric matrix.LUDecompositionImpl(RealMatrix matrix)Calculates the LU-decomposition of the given matrix.LUDecompositionImpl(RealMatrix matrix, double singularityThreshold)Calculates the LU-decomposition of the given matrix.QRDecompositionImpl(RealMatrix matrix)Calculates the QR-decomposition of the given matrix.SingularValueDecompositionImpl(RealMatrix matrix)Calculates the compact Singular Value Decomposition of the given matrix. -
Uses of RealMatrix in org.apache.commons.math.ode
Methods in org.apache.commons.math.ode that return RealMatrix Modifier and Type Method Description RealMatrixMultistepIntegrator.NordsieckTransformer. initializeHighOrderDerivatives(double[] first, double[][] multistep)Initialize the high order scaled derivatives at step start. -
Uses of RealMatrix in org.apache.commons.math.optimization
Constructors in org.apache.commons.math.optimization with parameters of type RealMatrix Constructor Description LeastSquaresConverter(MultivariateVectorialFunction function, double[] observations, RealMatrix scale)Build a simple converter for correlated residuals with the specific weights. -
Uses of RealMatrix in org.apache.commons.math.random
Methods in org.apache.commons.math.random that return RealMatrix Modifier and Type Method Description RealMatrixCorrelatedRandomVectorGenerator. getRootMatrix()Get the root of the covariance matrix.Constructors in org.apache.commons.math.random with parameters of type RealMatrix Constructor Description CorrelatedRandomVectorGenerator(double[] mean, RealMatrix covariance, double small, NormalizedRandomGenerator generator)Simple constructor.CorrelatedRandomVectorGenerator(RealMatrix covariance, double small, NormalizedRandomGenerator generator)Simple constructor. -
Uses of RealMatrix in org.apache.commons.math.stat.correlation
Methods in org.apache.commons.math.stat.correlation that return RealMatrix Modifier and Type Method Description 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.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 rectangual 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.RealMatrixPearsonsCorrelation. getCorrelationMatrix()Returns the correlation matrixRealMatrixSpearmansCorrelation. 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 matrixMethods in org.apache.commons.math.stat.correlation with parameters of type RealMatrix Modifier and Type Method Description RealMatrixPearsonsCorrelation. computeCorrelationMatrix(RealMatrix matrix)Computes the correlation matrix for the columns of the input matrix.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.Constructors in org.apache.commons.math.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.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.math.stat.descriptive
Methods in org.apache.commons.math.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.math.stat.descriptive.moment
Methods in org.apache.commons.math.stat.descriptive.moment that return RealMatrix Modifier and Type Method Description RealMatrixVectorialCovariance. getResult()Get the covariance matrix. -
Uses of RealMatrix in org.apache.commons.math.stat.regression
Fields in org.apache.commons.math.stat.regression declared as RealMatrix Modifier and Type Field Description protected RealMatrixAbstractMultipleLinearRegression. XX sample data.Methods in org.apache.commons.math.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.
-