Package | Description |
---|---|
org.mathIT.algebra |
Provides classes for algebra and linear algebra.
|
org.mathIT.graphs |
Provides classes representing mathematical graphs and its vertices.
|
org.mathIT.gui |
This package provides classes to enable graphical user interfaces (GUI).
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.add(Matrix b)
Returns the sum of this matrix with the given matrix b.
|
Matrix |
Matrix.adjugate()
Returns the adjugate of this matrix.
|
Matrix |
Matrix.copy()
Returns a copy of this matrix.
|
static Matrix |
Matrix.createIdentity(int n)
This method creates an (n x n) unity matrix.
|
static Matrix |
Matrix.createZero(int m,
int n)
Returns the zero (m × n) matrix.
|
Matrix[] |
Matrix.decomposeQR()
Returns the QR decomposition of this matrix as a pair of matrices.
|
Matrix |
EigenvalueDecomposition.getD()
Returns the block diagonal eigenvalue matrix
|
Matrix |
Matrix.getEigenvectors()
Returns a matrix whose columns are the eigenvectors of this matrix.
|
Matrix |
SingularValueDecomposition.getS()
Returns the diagonal matrix S of singular values
|
Matrix |
SingularValueDecomposition.getU()
Returns the left singular vectors U
|
Matrix |
EigenvalueDecomposition.getV()
Return a matrix with the real parts of the eigenvectors as columns
|
Matrix |
SingularValueDecomposition.getV()
Returns the right singular vectors V
|
Matrix |
Matrix.inverse()
Returns the inverse of this matrix.
|
Matrix |
Matrix.minus(Matrix b)
Returns the difference of this matrix with the given matrix b.
|
Matrix |
Matrix.negative()
Returns the negative of this matrix.
|
Matrix |
Matrix.plus(Matrix b)
Returns the sum of this matrix with the given matrix b.
|
Matrix |
Matrix.pow(int n)
Computes the n-th power of this matrix.
|
Matrix |
Matrix.solve(Matrix b)
This method solves the n linear equation Ax = b,
where A is this matrix and b the given vector.
|
static Matrix |
Matrix.tensor(Matrix[] a)
Returns the tensor product of the matrices a[0], a[1], ..., a[n-1],
i.e., a[0] ⊗ a[1] ... a[n-2] ⊗ a[n-1].
|
Matrix |
Matrix.times(Matrix b)
Returns the (right) product of this matrix with the given matrix b.
|
Matrix |
Matrix.transpose()
Returns the transpose of this matrix.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.add(Matrix b)
Returns the sum of this matrix with the given matrix b.
|
boolean |
Matrix.equals(Matrix a)
Returns true if and only if all entries of this matrix equal the entries of the specified matrix.
|
Matrix |
Matrix.minus(Matrix b)
Returns the difference of this matrix with the given matrix b.
|
Matrix |
Matrix.plus(Matrix b)
Returns the sum of this matrix with the given matrix b.
|
Matrix |
Matrix.solve(Matrix b)
This method solves the n linear equation Ax = b,
where A is this matrix and b the given vector.
|
static Matrix |
Matrix.tensor(Matrix[] a)
Returns the tensor product of the matrices a[0], a[1], ..., a[n-1],
i.e., a[0] ⊗ a[1] ... a[n-2] ⊗ a[n-1].
|
Matrix |
Matrix.times(Matrix b)
Returns the (right) product of this matrix with the given matrix b.
|
Constructor and Description |
---|
EigenvalueDecomposition(Matrix A)
Check for symmetry, then construct the eigenvalue decomposition Structure
to access D and V.
|
SingularValueDecomposition(Matrix A)
Construct the singular value decomposition Structure to access U, S and V.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Graph.laplacian()
Returns the Laplacian of this graph.
|
Constructor and Description |
---|
MatrixAlgebra(Matrix A)
Creates a new form MatrixAlgebra for unary operations on the matrix A.
|
MatrixAlgebra(Matrix A,
Matrix B)
Creates a new form MatrixAlgebra for binary operations on the matrices A and B.
|
MatrixAlgebra(String title,
Matrix A)
Creates a new form MatrixAlgebra for unary operations on the matrix A.
|