Package | Description |
---|---|
JSci.io | |
JSci.maths | |
JSci.util |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
MathMLDocumentJSciImpl.createMatrix(DoubleMatrix m)
Creates a MathML matrix element (
<matrix> ). |
void |
TextWriter.write(DoubleMatrix matrix)
Writes a matrix.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleDiagonalMatrix
The DoubleDiagonalMatrix class encapsulates diagonal matrices containing doubles.
|
class |
DoubleSparseMatrix
The DoubleSparseMatrix class provides an object for encapsulating sparse matrices.
|
class |
DoubleSparseSquareMatrix
The DoubleSparseSquareMatrix class provides an object for encapsulating sparse square matrices.
|
class |
DoubleSquareMatrix
The DoubleSquareMatrix class provides an object for encapsulating square matrices containing doubles.
|
class |
DoubleTridiagonalMatrix
The DoubleTridiagonalMatrix class provides an object for encapsulating tridiagonal matrices containing doubles.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix |
DoubleTridiagonalMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleSparseSquareMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleDiagonalMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleSquareMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.directSum(DoubleMatrix m)
Returns the direct sum of this matrix and another.
|
DoubleMatrix |
ComplexTridiagonalMatrix.imag()
Returns the imaginary part of this complex matrix.
|
DoubleMatrix |
ComplexMatrix.imag()
Returns the imaginary part of this complex matrix.
|
DoubleMatrix |
ComplexDiagonalMatrix.imag()
Returns the imaginary part of this complex matrix.
|
DoubleMatrix |
DoubleTridiagonalMatrix.mapElements(Mapping f)
Applies a function on all the matrix elements.
|
DoubleMatrix |
DoubleSparseSquareMatrix.mapElements(Mapping f)
Applies a function on all the matrix elements.
|
DoubleMatrix |
DoubleSparseMatrix.mapElements(Mapping f)
Applies a function on all the matrix elements.
|
DoubleMatrix |
DoubleDiagonalMatrix.mapElements(Mapping f)
Applies a function on all the matrix elements.
|
DoubleMatrix |
DoubleSquareMatrix.mapElements(Mapping f)
Applies a function on all the matrix elements.
|
DoubleMatrix |
DoubleMatrix.mapElements(Mapping f)
Applies a function on all the matrix elements.
|
DoubleMatrix |
DoubleTridiagonalMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleSparseSquareMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleDiagonalMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.multiply(DoubleSparseMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
ComplexTridiagonalMatrix.real()
Returns the real part of this complex matrix.
|
DoubleMatrix |
ComplexMatrix.real()
Returns the real part of this complex matrix.
|
DoubleMatrix |
ComplexDiagonalMatrix.real()
Returns the real part of this complex matrix.
|
DoubleMatrix |
DoubleMatrix.scalarDivide(double x)
Returns the division of this matrix by a scalar.
|
DoubleMatrix |
DoubleTridiagonalMatrix.scalarMultiply(double x)
Returns the multiplication of this matrix by a scalar.
|
DoubleMatrix |
DoubleSparseSquareMatrix.scalarMultiply(double x)
Returns the multiplication of this matrix by a scalar.
|
DoubleMatrix |
DoubleSparseMatrix.scalarMultiply(double x)
Returns the multiplication of this matrix by a scalar.
|
DoubleMatrix |
DoubleDiagonalMatrix.scalarMultiply(double x)
Returns the multiplication of this matrix by a scalar.
|
DoubleMatrix |
DoubleSquareMatrix.scalarMultiply(double x)
Returns the multiplication of this matrix by a scalar.
|
DoubleMatrix |
DoubleMatrix.scalarMultiply(double x)
Returns the multiplication of this matrix by a scalar.
|
DoubleMatrix |
DoubleTridiagonalMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleSparseSquareMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleDiagonalMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleSquareMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix by another.
|
DoubleMatrix |
DoubleMatrix.tensorProduct(DoubleMatrix m)
Returns the tensor product of this matrix and another.
|
DoubleMatrix |
IntegerTridiagonalMatrix.toDoubleMatrix()
Converts this matrix to a double matrix.
|
DoubleMatrix |
IntegerDiagonalMatrix.toDoubleMatrix()
Converts this matrix to a double matrix.
|
DoubleMatrix |
IntegerMatrix.toDoubleMatrix()
Converts this matrix to a double matrix.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix |
DoubleTridiagonalMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleSparseSquareMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleDiagonalMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleSquareMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.add(DoubleMatrix m)
Returns the addition of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.directSum(DoubleMatrix m)
Returns the direct sum of this matrix and another.
|
DoubleMatrix |
DoubleTridiagonalMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleSparseSquareMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleDiagonalMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.multiply(DoubleMatrix m)
Returns the multiplication of this matrix and another.
|
double |
DoubleTridiagonalMatrix.scalarProduct(DoubleMatrix m)
Returns the scalar product of this matrix and another.
|
double |
DoubleSparseSquareMatrix.scalarProduct(DoubleMatrix m)
Returns the scalar product of this matrix and another.
|
double |
DoubleSparseMatrix.scalarProduct(DoubleMatrix m)
Returns the scalar product of this matrix and another.
|
double |
DoubleDiagonalMatrix.scalarProduct(DoubleMatrix m)
Returns the scalar product of this matrix and another.
|
double |
DoubleSquareMatrix.scalarProduct(DoubleMatrix m)
Returns the scalar product of this matrix and another.
|
double |
DoubleMatrix.scalarProduct(DoubleMatrix m)
Returns the scalar product of this matrix and another.
|
static DoubleVector |
LinearMath.solveGMRes(DoubleMatrix A,
DoubleVector b,
int max_iter,
double tol)
Solves the unsymmetric linear system Ax=b using the
Generalized Minimum Residual method (doesn't require A
to be nonsingular).
|
DoubleMatrix |
DoubleTridiagonalMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleSparseSquareMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleSparseMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleDiagonalMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleSquareMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix and another.
|
DoubleMatrix |
DoubleMatrix.subtract(DoubleMatrix m)
Returns the subtraction of this matrix by another.
|
DoubleMatrix |
DoubleMatrix.tensorProduct(DoubleMatrix m)
Returns the tensor product of this matrix and another.
|
Modifier and Type | Method and Description |
---|---|
static double[][] |
MatrixToolkit.toArray(DoubleMatrix v)
Converts a matrix to an array.
|