Package | Description |
---|---|
org.apache.commons.math3.linear |
Linear algebra support.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FieldMatrix<T extends FieldElement<T>>
Interface defining field-valued matrix with basic algebraic operations.
|
interface |
RealMatrix
Interface defining a real-valued matrix with basic algebraic operations.
|
interface |
SparseRealMatrix
Marker interface for
RealMatrix implementations that require sparse backing storage |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFieldMatrix<T extends FieldElement<T>>
Basic implementation of
FieldMatrix methods regardless of the underlying storage. |
class |
AbstractRealMatrix
Basic implementation of RealMatrix methods regardless of the underlying storage.
|
class |
Array2DRowFieldMatrix<T extends FieldElement<T>>
Implementation of FieldMatrix
FieldElement [][] array to store entries. |
class |
Array2DRowRealMatrix
Implementation of
RealMatrix using a double[][] array to
store entries. |
class |
BlockFieldMatrix<T extends FieldElement<T>>
Cache-friendly implementation of FieldMatrix using a flat arrays to store
square blocks of the matrix.
|
class |
BlockRealMatrix
Cache-friendly implementation of RealMatrix using a flat arrays to store
square blocks of the matrix.
|
class |
DiagonalMatrix
Implementation of a diagonal matrix.
|
class |
OpenMapRealMatrix
Sparse matrix implementation based on an open addressed map.
|
class |
SparseFieldMatrix<T extends FieldElement<T>>
Sparse matrix implementation based on an open addressed map.
|
Modifier and Type | Method and Description |
---|---|
static void |
MatrixUtils.checkAdditionCompatible(AnyMatrix left,
AnyMatrix right)
Check if matrices are addition compatible.
|
static void |
MatrixUtils.checkColumnIndex(AnyMatrix m,
int column)
Check if a column index is valid.
|
static void |
MatrixUtils.checkMatrixIndex(AnyMatrix m,
int row,
int column)
Check if matrix indices are valid.
|
static void |
MatrixUtils.checkMultiplicationCompatible(AnyMatrix left,
AnyMatrix right)
Check if matrices are multiplication compatible
|
static void |
MatrixUtils.checkRowIndex(AnyMatrix m,
int row)
Check if a row index is valid.
|
static void |
MatrixUtils.checkSubMatrixIndex(AnyMatrix m,
int[] selectedRows,
int[] selectedColumns)
Check if submatrix ranges indices are valid.
|
static void |
MatrixUtils.checkSubMatrixIndex(AnyMatrix m,
int startRow,
int endRow,
int startColumn,
int endColumn)
Check if submatrix ranges indices are valid.
|
static void |
MatrixUtils.checkSubtractionCompatible(AnyMatrix left,
AnyMatrix right)
Check if matrices are subtraction compatible
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.