Uses of Interface
org.hipparchus.linear.RealMatrix
-
Packages that use RealMatrix Package Description org.hipparchus.distribution.multivariate Implementations of multivariate distributions.org.hipparchus.linear Linear algebra support.org.hipparchus.random Random number and random data generators.org.hipparchus.util Convenience routines and common data structures used throughout the Hipparchus library. -
-
Uses of RealMatrix in org.hipparchus.distribution.multivariate
Methods in org.hipparchus.distribution.multivariate that return RealMatrix Modifier and Type Method Description RealMatrixMultivariateNormalDistribution. getCovariances()Gets the covariance matrix. -
Uses of RealMatrix in org.hipparchus.linear
Subinterfaces of RealMatrix in org.hipparchus.linear Modifier and Type Interface Description interfaceSparseRealMatrixMarker interface forRealMatriximplementations that require sparse backing storageClasses in org.hipparchus.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.Methods in org.hipparchus.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.default RealMatrixRealMatrix. blendArithmeticallyWith(RealMatrix other, double blendingValue)Blend arithmetically this instance with another one.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.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.RealMatrixEigenDecompositionNonSymmetric. 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.RealMatrixDecompositionSolver. getInverse()Get the pseudo-inverse of the decomposed matrix.RealMatrixRiccatiEquationSolver. getK()Get the linear controller k.RealMatrixRiccatiEquationSolverImpl. getK(){inheritDoc}RealMatrixCholeskyDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixLUDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixSemiDefinitePositiveCholeskyDecomposition. getL()Returns the matrix L of the decomposition.RealMatrixCholeskyDecomposition. getLT()Returns the transpose of the matrix L of the decomposition.RealMatrixSemiDefinitePositiveCholeskyDecomposition. 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.RealMatrixRiccatiEquationSolver. getP()Get the solution.RealMatrixRiccatiEquationSolverImpl. getP(){inheritDoc}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.RealMatrixQRDecomposition. getQT()Returns the transpose of the matrix Q of the decomposition.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.RealMatrixEigenDecompositionSymmetric. 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.RealMatrixArray2DRowRealMatrix. 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.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.RealMatrixEigenDecompositionNonSymmetric. getV()Gets the matrix V of the decomposition.RealMatrixEigenDecompositionSymmetric. getV()Gets the matrix V of the decomposition.RealMatrixSingularValueDecomposition. getV()Returns the matrix V of the decomposition.RealMatrixEigenDecompositionNonSymmetric. getVInv()Gets the inverse of the matrix V of the decomposition.RealMatrixEigenDecompositionSymmetric. 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.RealMatrixArray2DRowRealMatrix. kroneckerProduct(RealMatrix b)Kronecker product of the current matrix and the parameter matrix.default RealMatrixRealMatrix. map(UnivariateFunction function)Acts as if implemented as:default RealMatrixRealMatrix. mapToSelf(UnivariateFunction function)Replace each entry by the result of applying the function to it.static RealMatrixMatrixUtils. matrixExponential(RealMatrix rm)Computes the matrix exponential 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.RealMatrixArray2DRowRealMatrix. multiplyTransposed(Array2DRowRealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixArray2DRowRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixDiagonalMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixOpenMapRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.default RealMatrixRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixArrayRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixRealVector. outerProduct(RealVector v)Compute the outer product.RealMatrixRealMatrixFormat. parse(String source)Parse a string to produce aRealMatrixobject.RealMatrixRealMatrixFormat. parse(String source, 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.RealMatrixDecompositionSolver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.RealMatrixArray2DRowRealMatrix. stack()Transforms a matrix in a vector (Vectorization).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.RealMatrixArray2DRowRealMatrix. transposeMultiply(Array2DRowRealMatrix m)Returns the result of postmultiplyingthis^Tbym.RealMatrixArray2DRowRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.RealMatrixDiagonalMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.RealMatrixOpenMapRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.default RealMatrixRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.RealMatrixArray2DRowRealMatrix. unstackSquare()Transforms a one-column stacked matrix into a squared matrix (devectorization).Methods in org.hipparchus.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.default RealMatrixRealMatrix. blendArithmeticallyWith(RealMatrix other, double blendingValue)Blend arithmetically this instance with another one.static RealMatrixMatrixUtils. blockInverse(RealMatrix m, int splitIndex)Computes the inverse of the given matrix by splitting it into 4 sub-matrices.protected voidComplexEigenDecomposition. checkDefinition(RealMatrix matrix)Check definition of the decomposition in runtime.static voidMatrixUtils. checkSymmetric(RealMatrix matrix, double eps)Checks whether a matrix is symmetric.DecompositionSolverCholeskyDecomposer. decompose(RealMatrix a)Get a solver for finding the A × X = B solution in least square sense.DecompositionSolverLUDecomposer. decompose(RealMatrix a)Get a solver for finding the A × X = B solution in least square sense.DecompositionSolverMatrixDecomposer. decompose(RealMatrix a)Get a solver for finding the A × X = B solution in least square sense.DecompositionSolverQRDecomposer. decompose(RealMatrix a)Get a solver for finding the A × X = B solution in least square sense.DecompositionSolverSingularValueDecomposer. decompose(RealMatrix a)Get a solver for finding the A × X = B solution in least square sense.protected voidComplexEigenDecomposition. findEigenValues(RealMatrix matrix)Compute eigen values using the Schur transform.StringRealMatrixFormat. format(RealMatrix m)This method callsRealMatrixFormat.format(RealMatrix,StringBuffer,FieldPosition).StringBufferRealMatrixFormat. format(RealMatrix matrix, StringBuffer toAppendTo, 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.RealMatrixArray2DRowRealMatrix. kroneckerProduct(RealMatrix b)Kronecker product of the current matrix and the parameter matrix.static RealMatrixMatrixUtils. matrixExponential(RealMatrix rm)Computes the matrix exponential of the given matrix.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.RealMatrixArray2DRowRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.BlockRealMatrixBlockRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixDiagonalMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixOpenMapRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.default RealMatrixRealMatrix. multiplyTransposed(RealMatrix m)Returns the result of postmultiplyingthisbym^T.RealMatrixAbstractRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.RealMatrixRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.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.RealMatrixDecompositionSolver. solve(RealMatrix b)Solve the linear equation A × X = B for matrices A.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.RealMatrixArray2DRowRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.BlockRealMatrixBlockRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.RealMatrixDiagonalMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.RealMatrixOpenMapRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.default RealMatrixRealMatrix. transposeMultiply(RealMatrix m)Returns the result of postmultiplyingthis^Tbym.Constructors in org.hipparchus.linear with parameters of type RealMatrix Constructor Description 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.ComplexEigenDecomposition(RealMatrix matrix)Constructor for decomposition.ComplexEigenDecomposition(RealMatrix matrix, double eigenVectorsEquality, double epsilon, double epsilonAVVDCheck)Constructor for decomposition.EigenDecompositionNonSymmetric(RealMatrix matrix)Calculates the eigen decomposition of the given real matrix.EigenDecompositionNonSymmetric(RealMatrix matrix, double epsilon)Calculates the eigen decomposition of the given real matrix.EigenDecompositionSymmetric(RealMatrix matrix)Calculates the eigen decomposition of the given symmetric real matrix.EigenDecompositionSymmetric(RealMatrix matrix, double epsilon, boolean decreasing)Calculates the eigen decomposition of the given real matrix.HessenbergTransformer(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.OrderedComplexEigenDecomposition(RealMatrix matrix)Constructor for the decomposition.OrderedComplexEigenDecomposition(RealMatrix matrix, double eigenVectorsEquality, double epsilon, double epsilonAVVDCheck)Constructor for decomposition.OrderedComplexEigenDecomposition(RealMatrix matrix, double eigenVectorsEquality, double epsilon, double epsilonAVVDCheck, Comparator<Complex> eigenValuesComparator)Constructor for decomposition.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.RiccatiEquationSolverImpl(RealMatrix A, RealMatrix B, RealMatrix Q, RealMatrix R)Constructor of the solver.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.SchurTransformer(RealMatrix matrix, double epsilon)Build the transformation to Schur form of a general real matrix.SemiDefinitePositiveCholeskyDecomposition(RealMatrix matrix)Calculates the Cholesky decomposition of the given matrix.SemiDefinitePositiveCholeskyDecomposition(RealMatrix matrix, double positivityThreshold)Calculates the Cholesky decomposition of the given matrix.SingularValueDecomposition(RealMatrix matrix)Calculates the compact Singular Value Decomposition of the given matrix. -
Uses of RealMatrix in org.hipparchus.random
Methods in org.hipparchus.random that return RealMatrix Modifier and Type Method Description RealMatrixCorrelatedRandomVectorGenerator. getRootMatrix()Get the root of the covariance matrix.Constructors in org.hipparchus.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.hipparchus.util
Methods in org.hipparchus.util that return RealMatrix Modifier and Type Method Description default RealMatrixUnscentedTransformProvider. getUnscentedCovariance(RealVector[] sigmaPoints, RealVector meanState)Computes the unscented covariance matrix from a weighted mean state and a set of sigma points.Methods in org.hipparchus.util that return types with arguments of type RealMatrix Modifier and Type Method Description default Pair<RealVector,RealMatrix>UnscentedTransformProvider. inverseUnscentedTransform(RealVector[] sigmaPoints)Perform the inverse unscented transform from an array of sigma points.Methods in org.hipparchus.util with parameters of type RealMatrix Modifier and Type Method Description RealVector[]AbstractUnscentedTransform. unscentedTransform(RealVector state, RealMatrix covariance)Perform the unscented transform from a state and its covariance.RealVector[]UnscentedTransformProvider. unscentedTransform(RealVector state, RealMatrix covariance)Perform the unscented transform from a state and its covariance.
-