Uses of Interface
no.uib.cipr.matrix.Matrix
Packages that use Matrix
-
Uses of Matrix in no.uib.cipr.matrix
Classes in no.uib.cipr.matrix that implement MatrixModifier and TypeClassDescriptionclassPartial implementation ofMatrix.classBanded matrix.classDense matrix.classLower symmetrical positive definite banded matrix.classLower symmetrical positive definite dense matrix.classLower symmetrical positive definite packed matrix.classLower symmetrical banded matrix.classLower symmetric dense matrix.classLower symmetric packed matrix.classLower triangular banded matrix.classLower triangular dense matrix.classLower triangular packed matrix.classSymmetrical positive definite tridiagonal matrix.classSymmetrical tridiagonal matrix.classTridiagonal matrix.classUnit lower triangular banded matrix.classUnit lower triangular dense matrix.classUnit lower triangular packed matrix.classUnit upper triangular banded matrix.classUnit upper triangular dense matrix.classUnit upper triangular packed matrix.classUpper symmetrical positive definite banded matrix.classUpper symmetrical positive definite dense matrix.classUpper symmetrical positive definite packed matrix.classUpper symmetrical banded matrix.classUpper symmetrix dense matrix.classUpper symmetric packed matrix.classUpper triangular banded matrix.classUpper triangular dense matrix.classUpper triangular packed matrix.Methods in no.uib.cipr.matrix that return MatrixModifier and TypeMethodDescriptionA = alpha*B + A.A = B + A.AbstractMatrix.copy()Matrix.copy()Creates a deep copy of the matrixQRP.getP()Returns the column pivoting matrix.static MatrixMatrices.getSubMatrix(Matrix A, int[] row, int[] column) Returns a view into the given matrix.C = alpha*A*BC = A*BC = alpha*A*B + CC = A*B + Cstatic MatrixMatrices.random(int numRows, int numColumns) Creates a random matrix.static MatrixPopulates a matrix with random numbers drawn from a uniform distribution between 0 and 1A = alpha*C*CT + A.A = alpha*x*xT + A.A = alpha*x*yT + A.A = C*CT + A.A = x*xT + A.A = x*yT + A.A = alpha*B*CT + alpha*C*BT + A.A = alpha*x*yT + alpha*y*xT + A.A = B*CT + C*BT + A.A = x*yT + y*xT + A.AbstractMatrix.scale(double alpha) Matrix.scale(double alpha) A = alpha*AA=alpha*B.A=B.X = A\B.static MatrixMatrices.synchronizedMatrix(Matrix A) Returns a synchronized matrix which wraps the given matrix.static MatrixMatrices.synchronizedMatrixByColumns(Matrix A) Returns a synchronized matrix which wraps the given matrix.static MatrixMatrices.synchronizedMatrixByRows(Matrix A) Returns a synchronized matrix which wraps the given matrix.AbstractMatrix.transABmult(double alpha, Matrix B, Matrix C) AbstractMatrix.transABmult(Matrix B, Matrix C) Matrix.transABmult(double alpha, Matrix B, Matrix C) C = alpha*AT*BTMatrix.transABmult(Matrix B, Matrix C) C = AT*BTAbstractMatrix.transABmultAdd(double alpha, Matrix B, Matrix C) AbstractMatrix.transABmultAdd(Matrix B, Matrix C) DenseMatrix.transABmultAdd(double alpha, Matrix B, Matrix C) Matrix.transABmultAdd(double alpha, Matrix B, Matrix C) C = alpha*AT*BT + CMatrix.transABmultAdd(Matrix B, Matrix C) C = AT*BT + CAbstractMatrix.transAmult(double alpha, Matrix B, Matrix C) AbstractMatrix.transAmult(Matrix B, Matrix C) Matrix.transAmult(double alpha, Matrix B, Matrix C) C = alpha*AT*BMatrix.transAmult(Matrix B, Matrix C) C = AT*BAbstractMatrix.transAmultAdd(double alpha, Matrix B, Matrix C) AbstractMatrix.transAmultAdd(Matrix B, Matrix C) DenseMatrix.transAmultAdd(double alpha, Matrix B, Matrix C) Matrix.transAmultAdd(double alpha, Matrix B, Matrix C) C = alpha*AT*B + CMatrix.transAmultAdd(Matrix B, Matrix C) C = AT*B + CAbstractMatrix.transBmult(double alpha, Matrix B, Matrix C) AbstractMatrix.transBmult(Matrix B, Matrix C) Matrix.transBmult(double alpha, Matrix B, Matrix C) C = alpha*A*BTMatrix.transBmult(Matrix B, Matrix C) C = A*BTAbstractMatrix.transBmultAdd(double alpha, Matrix B, Matrix C) AbstractMatrix.transBmultAdd(Matrix B, Matrix C) DenseMatrix.transBmultAdd(double alpha, Matrix B, Matrix C) Matrix.transBmultAdd(double alpha, Matrix B, Matrix C) C = alpha*A*BT + CMatrix.transBmultAdd(Matrix B, Matrix C) C = A*BT + CAbstractMatrix.transpose()BandMatrix.transpose()Matrix.transpose()Transposes the matrix in-place.Sets the tranpose of this matrix intoB.SymmTridiagMatrix.transpose()TridiagMatrix.transpose()AbstractMatrix.transRank1(double alpha, Matrix C) AbstractMatrix.transRank1(Matrix C) Matrix.transRank1(double alpha, Matrix C) A = alpha*CT*C + AThe matrices must be square and of the same sizeMatrix.transRank1(Matrix C) A = CT*C + AThe matrices must be square and of the same sizeAbstractMatrix.transRank2(double alpha, Matrix B, Matrix C) AbstractMatrix.transRank2(Matrix B, Matrix C) Matrix.transRank2(double alpha, Matrix B, Matrix C) A = alpha*BT*C + alpha*CT*B + A.Matrix.transRank2(Matrix B, Matrix C) A = BT*C + CT*B + A.AbstractMatrix.transSolve(Matrix B, Matrix X) DenseMatrix.transSolve(Matrix B, Matrix X) Matrix.transSolve(Matrix B, Matrix X) X = AT\B.SymmTridiagMatrix.transSolve(Matrix B, Matrix X) AbstractMatrix.zero()BandMatrix.zero()Matrix.zero()Zeros all the entries in the matrix, while preserving any underlying structure.UnitLowerTriangBandMatrix.zero()UnitLowerTriangDenseMatrix.zero()UnitUpperTriangBandMatrix.zero()UnitUpperTriangDenseMatrix.zero()Methods in no.uib.cipr.matrix with parameters of type MatrixModifier and TypeMethodDescriptionA = alpha*B + A.A = B + A.voidApplies the Givens rotation to two elements in a matrix columnstatic intMatrices.cardinality(Matrix A) Returns the number of non-zero entries in the given matrixprotected voidAbstractMatrix.checkMultAdd(Matrix B, Matrix C) Checks the arguments tomultandmultAddprotected voidAbstractMatrix.checkRank1(Matrix C) Checks that a matrix rank1 update is possible for the given matrixprotected voidAbstractMatrix.checkRank2(Matrix B, Matrix C) Checks that a rank2 update is legal for the given argumentsprotected voidChecks that the sizes of this matrix and the given conformprotected voidAbstractMatrix.checkSolve(Matrix B, Matrix X) Checks that a matrix inversion is legal for the given arguments.protected voidAbstractMatrix.checkTransABmultAdd(Matrix B, Matrix C) Checks the arguments totransABmultAddandtransABmultAddprotected voidAbstractMatrix.checkTransAmultAdd(Matrix B, Matrix C) Checks the arguments totransAmultandtransAmultAddprotected voidAbstractMatrix.checkTransBmultAdd(Matrix B, Matrix C) Checks the arguments totransBmultandtransBmultAddprotected voidAbstractMatrix.checkTranspose(Matrix B) Checks that this matrix can be transposed into the given matrixprotected voidAbstractMatrix.checkTransRank1(Matrix C) Checks that a transposed rank1 update is leagal with the given argumentprotected voidAbstractMatrix.checkTransRank2(Matrix B, Matrix C) Checks that a transposed rank2 update is leagal with the given argumentsstatic int[]Matrices.columnBandwidth(Matrix A) Finds the number of non-zero entries on each columnExecutes a QR factorization for the given matrix.static DenseCholeskyCalculates a Cholesky decompositionstatic DenseLUCreates an LU decomposition of the given matrixstatic EVDConvenience method for computing the complete eigenvalue decomposition of the given matrixstatic LQConvenience method to compute a LQ decompositionstatic PackCholeskyCalculates a Cholesky decompositionstatic QLConvenience method to compute a QL decompositionstatic QRConvenience method to compute a QR decompositionstatic QRPConvenience method to compute a QR decompositionstatic RQConvenience method to compute an RQ decompositionstatic SVDConvenience method for computing a full SVDstatic SymmBandEVDConvenience method for computing the full eigenvalue decomposition of the given matrixstatic SymmDenseEVDConvenience method for computing the full eigenvalue decomposition of the given matrixstatic SymmPackEVDConvenience method for computing the full eigenvalue decomposition of the given matrixstatic SymmTridiagEVDConvenience method for computing the full eigenvalue decomposition of the given matrixstatic double[][]Returns an array of arrays containing a copy of the given matrix.static intMatrices.getNumSubDiagonals(Matrix A) Finds the number of diagonals below the main diagonal.static intMatrices.getNumSuperDiagonals(Matrix A) Finds the number of diagonals above the main diagonal.static MatrixMatrices.getSubMatrix(Matrix A, int[] row, int[] column) Returns a view into the given matrix.C = alpha*A*BC = A*BC = alpha*A*B + CC = A*B + Cstatic MatrixPopulates a matrix with random numbers drawn from a uniform distribution between 0 and 1A = alpha*C*CT + A.A = C*CT + A.A = alpha*B*CT + alpha*C*BT + A.A = B*CT + C*BT + A.doubleComputes the reciprocal condition numberdoubleBandLU.rcond(Matrix A, Matrix.Norm norm) Computes the reciprocal condition number, using either the infinity norm of the 1 norm.doubleComputes the reciprocal condition numberdoubleDenseLU.rcond(Matrix A, Matrix.Norm norm) Computes the reciprocal condition number, using either the infinity norm of the 1 norm.doubleComputes the reciprocal condition numberstatic int[]Matrices.rowBandwidth(Matrix A) Finds the number of non-zero entries on each rowA=alpha*B.A=B.X = A\B.static MatrixMatrices.synchronizedMatrix(Matrix A) Returns a synchronized matrix which wraps the given matrix.static MatrixMatrices.synchronizedMatrixByColumns(Matrix A) Returns a synchronized matrix which wraps the given matrix.static MatrixMatrices.synchronizedMatrixByRows(Matrix A) Returns a synchronized matrix which wraps the given matrix.AbstractMatrix.transABmult(double alpha, Matrix B, Matrix C) AbstractMatrix.transABmult(Matrix B, Matrix C) Matrix.transABmult(double alpha, Matrix B, Matrix C) C = alpha*AT*BTMatrix.transABmult(Matrix B, Matrix C) C = AT*BTAbstractMatrix.transABmultAdd(double alpha, Matrix B, Matrix C) AbstractMatrix.transABmultAdd(Matrix B, Matrix C) DenseMatrix.transABmultAdd(double alpha, Matrix B, Matrix C) Matrix.transABmultAdd(double alpha, Matrix B, Matrix C) C = alpha*AT*BT + CMatrix.transABmultAdd(Matrix B, Matrix C) C = AT*BT + CAbstractMatrix.transAmult(double alpha, Matrix B, Matrix C) AbstractMatrix.transAmult(Matrix B, Matrix C) Matrix.transAmult(double alpha, Matrix B, Matrix C) C = alpha*AT*BMatrix.transAmult(Matrix B, Matrix C) C = AT*BAbstractMatrix.transAmultAdd(double alpha, Matrix B, Matrix C) AbstractMatrix.transAmultAdd(Matrix B, Matrix C) DenseMatrix.transAmultAdd(double alpha, Matrix B, Matrix C) Matrix.transAmultAdd(double alpha, Matrix B, Matrix C) C = alpha*AT*B + CMatrix.transAmultAdd(Matrix B, Matrix C) C = AT*B + CAbstractMatrix.transBmult(double alpha, Matrix B, Matrix C) AbstractMatrix.transBmult(Matrix B, Matrix C) Matrix.transBmult(double alpha, Matrix B, Matrix C) C = alpha*A*BTMatrix.transBmult(Matrix B, Matrix C) C = A*BTAbstractMatrix.transBmultAdd(double alpha, Matrix B, Matrix C) AbstractMatrix.transBmultAdd(Matrix B, Matrix C) DenseMatrix.transBmultAdd(double alpha, Matrix B, Matrix C) Matrix.transBmultAdd(double alpha, Matrix B, Matrix C) C = alpha*A*BT + CMatrix.transBmultAdd(Matrix B, Matrix C) C = A*BT + CSets the tranpose of this matrix intoB.AbstractMatrix.transRank1(double alpha, Matrix C) AbstractMatrix.transRank1(Matrix C) Matrix.transRank1(double alpha, Matrix C) A = alpha*CT*C + AThe matrices must be square and of the same sizeMatrix.transRank1(Matrix C) A = CT*C + AThe matrices must be square and of the same sizeAbstractMatrix.transRank2(double alpha, Matrix B, Matrix C) AbstractMatrix.transRank2(Matrix B, Matrix C) Matrix.transRank2(double alpha, Matrix B, Matrix C) A = alpha*BT*C + alpha*CT*B + A.Matrix.transRank2(Matrix B, Matrix C) A = BT*C + CT*B + A.AbstractMatrix.transSolve(Matrix B, Matrix X) DenseMatrix.transSolve(Matrix B, Matrix X) Matrix.transSolve(Matrix B, Matrix X) X = AT\B.SymmTridiagMatrix.transSolve(Matrix B, Matrix X) static voidMatrices.zeroColumns(Matrix A, double diagonal, int... column) Sets the selected columns ofAequal zero, and putsdiagonalon the diagonal of those columns.static voidSets the selected rows ofAequal zero, and putsdiagonalon the diagonal of those rows.Constructors in no.uib.cipr.matrix with parameters of type MatrixModifierConstructorDescriptionprotectedConstructor for AbstractMatrix, same size as A.BandMatrix(Matrix A, int kl, int ku) Constructor for BandMatrixBandMatrix(Matrix A, int kl, int ku, boolean deep) Constructor for BandMatrixConstructor for DenseMatrixDenseMatrix(Matrix A, boolean deep) Constructor for DenseMatrixLowerSPDBandMatrix(Matrix A, int kd) Constructor for LowerSPDBandMatrixLowerSPDBandMatrix(Matrix A, int kd, boolean deep) Constructor for LowerSPDBandMatrixConstructor for LowerSPDDenseMatrixLowerSPDDenseMatrix(Matrix A, boolean deep) Constructor for LowerSPDDenseMatrixConstructor for LowerSPDPackMatrixLowerSPDPackMatrix(Matrix A, boolean deep) Constructor for LowerSPDPackMatrixLowerSymmBandMatrix(Matrix A, int kd) Constructor for LowerSymmBandMatrixLowerSymmBandMatrix(Matrix A, int kd, boolean deep) Constructor for LowerSymmBandMatrixConstructor for LowerSymmDenseMatrixLowerSymmDenseMatrix(Matrix A, boolean deep) Constructor for LowerSymmDenseMatrixConstructor for LowerSymmPackMatrixLowerSymmPackMatrix(Matrix A, boolean deep) Constructor for LowerSymmPackMatrixLowerTriangBandMatrix(Matrix A, int kd) Constructor for LowerTriangBandMatrixLowerTriangBandMatrix(Matrix A, int kd, boolean deep) Constructor for LowerTriangBandMatrixConstructor for LowerTriangDenseMatrixLowerTriangDenseMatrix(Matrix A, boolean deep) Constructor for LowerTriangDenseMatrixLowerTriangDenseMatrix(Matrix A, int k) Constructor for LowerTriangDenseMatrixLowerTriangDenseMatrix(Matrix A, int k, boolean deep) Constructor for LowerTriangDenseMatrixConstructor for LowerTriangPackMatrixLowerTriangPackMatrix(Matrix A, boolean deep) Constructor for LowerTriangPackMatrixConstructor for SPDTridiagMatrixSPDTridiagMatrix(Matrix A, boolean deep) Constructor for SPDTridiagMatrixConstructor for SymmTridiagMatrixSymmTridiagMatrix(Matrix A, boolean deep) Constructor for SymmTridiagMatrixConstructor for TridiagMatrixTridiagMatrix(Matrix A, boolean deep) Constructor for TridiagMatrixUnitLowerTriangBandMatrix(Matrix A, int kd) Constructor for UnitLowerTriangBandMatrixUnitLowerTriangBandMatrix(Matrix A, int kd, boolean deep) Constructor for UnitLowerTriangBandMatrixConstructor for UnitLowerTriangDenseMatrixUnitLowerTriangDenseMatrix(Matrix A, boolean deep) Constructor for UnitLowerTriangDenseMatrixConstructor for UnitLowerTriangPackMatrixUnitLowerTriangPackMatrix(Matrix A, boolean deep) Constructor for UnitLowerTriangPackMatrixUnitUpperTriangBandMatrix(Matrix A, int kd) Constructor for UnitUpperTriangBandMatrixUnitUpperTriangBandMatrix(Matrix A, int kd, boolean deep) Constructor for UnitUpperTriangBandMatrixConstructor for UnitUpperTriangDenseMatrix.UnitUpperTriangDenseMatrix(Matrix A, boolean deep) Constructor for UnitUpperTriangDenseMatrix.Constructor for UnitUpperTriangPackMatrixUnitUpperTriangPackMatrix(Matrix A, boolean deep) Constructor for UnitUpperTriangPackMatrixUpperSPDBandMatrix(Matrix A, int kd) Constructor for UpperSPDBandMatrixUpperSPDBandMatrix(Matrix A, int kd, boolean deep) Constructor for UpperSPDBandMatrixConstructor for UpperSPDDenseMatrixUpperSPDDenseMatrix(Matrix A, boolean deep) Constructor for UpperSPDDenseMatrixConstructor for UpperSPDPackMatrixUpperSPDPackMatrix(Matrix A, boolean deep) Constructor for UpperSPDPackMatrixUpperSymmBandMatrix(Matrix A, int kd) Constructor for UpperSymmBandMatrixUpperSymmBandMatrix(Matrix A, int kd, boolean deep) Constructor for UpperSymmBandMatrixConstructor for UpperSymmDenseMatrixUpperSymmDenseMatrix(Matrix A, boolean deep) Constructor for UpperSymmDenseMatrixConstructor for UpperSymmPackMatrixUpperSymmPackMatrix(Matrix A, boolean deep) Constructor for UpperSymmPackMatrixUpperTriangBandMatrix(Matrix A, int kd) Constructor for UpperTriangBandMatrixUpperTriangBandMatrix(Matrix A, int kd, boolean deep) Constructor for UpperTriangBandMatrixConstructor for UpperTriangDenseMatrixUpperTriangDenseMatrix(Matrix A, boolean deep) Constructor for UpperTriangDenseMatrixUpperTriangDenseMatrix(Matrix A, int k) Constructor for UpperTriangDenseMatrixUpperTriangDenseMatrix(Matrix A, int k, boolean deep) Constructor for UpperTriangDenseMatrixConstructor for UpperTriangPackMatrixUpperTriangPackMatrix(Matrix A, boolean deep) Constructor for UpperTriangPackMatrix -
Uses of Matrix in no.uib.cipr.matrix.distributed
Classes in no.uib.cipr.matrix.distributed that implement MatrixModifier and TypeClassDescriptionclassDeprecated.classDeprecated.theno.uib.cipr.matrix.distributedpackage has been deprecated because of a number of hard to fix concurrency bugs.Methods in no.uib.cipr.matrix.distributed with parameters of type MatrixModifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.Constructors in no.uib.cipr.matrix.distributed with parameters of type MatrixModifierConstructorDescriptionDistColMatrix(int numRows, int numColumns, Communicator comm, Matrix A, Matrix B) Deprecated.Constructor for DistColMatrixDistRowMatrix(int numRows, int numColumns, Communicator comm, Matrix A, Matrix B) Deprecated.Constructor for DistRowMatrix -
Uses of Matrix in no.uib.cipr.matrix.sparse
Classes in no.uib.cipr.matrix.sparse that implement MatrixModifier and TypeClassDescriptionclassCompressed column storage (CCS) matrixclassCompressed diagonal storage (CDS) matrixclassCompressed row storage (CRS) matrixclassMatrix stored column-wise into sparse vectorsclassMatrix stored row-wise into sparse vectorsMethods in no.uib.cipr.matrix.sparse that return MatrixModifier and TypeMethodDescriptionCompDiagMatrix.copy()FlexCompRowMatrix.copy()CompDiagMatrix.zero()Methods in no.uib.cipr.matrix.sparse with parameters of type MatrixModifier and TypeMethodDescriptionprotected voidAbstractIterativeSolver.checkSizes(Matrix A, Vector b, Vector x) Checks sizes of input data forIterativeSolver.solve(Matrix, Vector, Vector).voidvoidvoidvoidvoidvoidSets the operator matrix for the preconditioner.voidSolves the given problem, writing result into the vector.Constructors in no.uib.cipr.matrix.sparse with parameters of type MatrixModifierConstructorDescriptionConstructor for CompColMatrixCompColMatrix(Matrix A, boolean deep) Constructor for CompColMatrixCreates a new sparse matrix copied from the given matrix.CompDiagMatrix(Matrix A, boolean deep) Creates a new sparse matrix copied from the given matrix.CompDiagMatrix(Matrix A, int[] diagonal) Creates a new sparse matrix copied from the given matrix.CompDiagMatrix(Matrix A, int[] diagonal, boolean deep) Creates a new sparse matrix copied from the given matrix.Constructor for CompRowMatrixCompRowMatrix(Matrix A, boolean deep) Constructor for CompRowMatrixConstructor for FlexCompColMatrixFlexCompColMatrix(Matrix A, boolean deep) Constructor for FlexCompColMatrixConstructor for FlexCompRowMatrixFlexCompRowMatrix(Matrix A, boolean deep) Constructor for FlexCompRowMatrix
no.uib.cipr.matrix.distributedpackage has been deprecated because of a number of hard to fix concurrency bugs.