| Package | Description |
|---|---|
| org.jscience.mathematics.vector |
| Modifier and Type | Class and Description |
|---|---|
class |
ComplexMatrix
|
class |
DenseMatrix<F extends Field<F>>
This class represents a matrix made of
dense
vectors (as rows). |
class |
Float64Matrix
This class represents an optimized
matrix implementation
for 64 bits floating-point numbers. |
class |
SparseMatrix<F extends Field<F>>
This class represents a matrix made of
sparse
vectors (as rows). |
| Modifier and Type | Method and Description |
|---|---|
abstract Matrix<F> |
Matrix.adjoint()
Returns the adjoint of this matrix.
|
abstract Matrix<F> |
Matrix.copy()
Returns a copy of this matrix
allocated
by the calling thread (possibly on the stack). |
Matrix<F> |
Matrix.divide(Matrix<F> that)
Returns this matrix divided by the one specified.
|
abstract Matrix<F> |
Matrix.inverse()
Returns the inverse of this matrix (must be square).
|
Matrix<F> |
Matrix.minus(Matrix<F> that)
Returns the difference between this matrix and the one specified.
|
abstract Matrix<F> |
Matrix.opposite()
Returns the negation of this matrix.
|
abstract Matrix<F> |
Matrix.plus(Matrix<F> that)
Returns the sum of this matrix with the one specified.
|
Matrix<F> |
Matrix.pow(int exp)
Returns this matrix raised at the specified exponent.
|
Matrix<F> |
Matrix.pseudoInverse()
Returns the inverse or pseudo-inverse if this matrix if not square.
|
Matrix<F> |
Matrix.solve(Matrix<F> y)
Solves this matrix for the specified matrix (returns
x
such as this · x = y). |
Matrix<F> |
SparseMatrix.solve(Matrix<F> y) |
Matrix<F> |
DenseMatrix.tensor(Matrix<F> that) |
abstract Matrix<F> |
Matrix.tensor(Matrix<F> that)
Returns the linear algebraic matrix tensor product of this matrix
and another (Kronecker product).
|
abstract Matrix<F> |
Matrix.times(F k)
Returns the product of this matrix by the specified factor.
|
abstract Matrix<F> |
Matrix.times(Matrix<F> that)
Returns the product of this matrix with the one specified.
|
abstract Matrix<F> |
Matrix.transpose()
Returns the transpose of this matrix.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix<F> |
Matrix.divide(Matrix<F> that)
Returns this matrix divided by the one specified.
|
boolean |
Matrix.equals(Matrix<F> that,
Comparator<F> cmp)
Indicates if this matrix can be considered equals to the one
specified using the specified comparator when testing for
element equality.
|
ComplexMatrix |
ComplexMatrix.minus(Matrix<Complex> that) |
DenseMatrix<F> |
DenseMatrix.minus(Matrix<F> that) |
Matrix<F> |
Matrix.minus(Matrix<F> that)
Returns the difference between this matrix and the one specified.
|
SparseMatrix<F> |
SparseMatrix.minus(Matrix<F> that) |
Float64Matrix |
Float64Matrix.minus(Matrix<Float64> that) |
ComplexMatrix |
ComplexMatrix.plus(Matrix<Complex> that) |
DenseMatrix<F> |
DenseMatrix.plus(Matrix<F> that) |
abstract Matrix<F> |
Matrix.plus(Matrix<F> that)
Returns the sum of this matrix with the one specified.
|
SparseMatrix<F> |
SparseMatrix.plus(Matrix<F> that) |
Float64Matrix |
Float64Matrix.plus(Matrix<Float64> that) |
DenseMatrix<F> |
LUDecomposition.solve(Matrix<F> B)
Returns the solution X of the equation: A * X = B with
this = A.lu() using back and forward substitutions. |
Matrix<F> |
Matrix.solve(Matrix<F> y)
Solves this matrix for the specified matrix (returns
x
such as this · x = y). |
Matrix<F> |
SparseMatrix.solve(Matrix<F> y) |
ComplexMatrix |
ComplexMatrix.tensor(Matrix<Complex> that) |
Matrix<F> |
DenseMatrix.tensor(Matrix<F> that) |
abstract Matrix<F> |
Matrix.tensor(Matrix<F> that)
Returns the linear algebraic matrix tensor product of this matrix
and another (Kronecker product).
|
SparseMatrix<F> |
SparseMatrix.tensor(Matrix<F> that) |
Float64Matrix |
Float64Matrix.tensor(Matrix<Float64> that) |
ComplexMatrix |
ComplexMatrix.times(Matrix<Complex> that) |
DenseMatrix<F> |
DenseMatrix.times(Matrix<F> that) |
abstract Matrix<F> |
Matrix.times(Matrix<F> that)
Returns the product of this matrix with the one specified.
|
SparseMatrix<F> |
SparseMatrix.times(Matrix<F> that) |
Float64Matrix |
Float64Matrix.times(Matrix<Float64> that) |
static ComplexMatrix |
ComplexMatrix.valueOf(Matrix<Complex> that)
Returns a complex matrix equivalent to the specified matrix.
|
static <F extends Field<F>> |
DenseMatrix.valueOf(Matrix<F> that)
Returns a dense matrix equivalent to the specified matrix.
|
static <F extends Field<F>> |
LUDecomposition.valueOf(Matrix<F> source)
Returns the lower/upper decomposition of the specified matrix.
|
static <F extends Field<F>> |
SparseMatrix.valueOf(Matrix<F> that,
F zero)
Returns a sparse matrix equivalent to the specified matrix but with
the zero elements removed using the default object equality comparator.
|
static <F extends Field<F>> |
SparseMatrix.valueOf(Matrix<F> that,
F zero,
javolution.util.FastComparator<? super F> comparator)
Returns a sparse matrix equivalent to the specified matrix but with
the zero elements removed using the specified object equality comparator.
|
static Float64Matrix |
Float64Matrix.valueOf(Matrix<Float64> that)
Returns a complex matrix equivalent to the specified matrix.
|