| Package | Description |
|---|---|
| org.la4j | |
| org.la4j.matrix | |
| org.la4j.matrix.sparse | |
| org.la4j.operation | |
| org.la4j.operation.inplace | |
| org.la4j.operation.ooplace |
| Modifier and Type | Method and Description |
|---|---|
RowMajorSparseMatrix |
Matrix.toRowMajorSparseMatrix()
Converts this matrix into a row-major sparse matrix.
|
| Modifier and Type | Method and Description |
|---|---|
static RowMajorSparseMatrix |
RowMajorSparseMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d)
|
static RowMajorSparseMatrix |
RowMajorSparseMatrix.diagonal(int size,
double diagonal)
Creates a diagonal
RowMajorSparseMatrix of the given size whose
diagonal elements are equal to diagonal. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.from1DArray(int rows,
int columns,
double[] array)
Creates a new
RowMajorSparseMatrix from the given 1D array with
compressing (copying) the underlying array. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.from2DArray(double[][] array)
Creates a new
RowMajorSparseMatrix from the given 2D array with
compressing (copying) the underlying array. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.fromCSV(String csv)
Parses
RowMajorSparseMatrix from the given CSV string. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.fromMatrixMarket(String mm)
Parses
RowMajorSparseMatrix from the given Matrix Market string. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.identity(int size)
Creates an identity
RowMajorSparseMatrix of the given size. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.random(int rows,
int columns,
double density,
Random random)
|
static RowMajorSparseMatrix |
RowMajorSparseMatrix.randomSymmetric(int size,
double density,
Random random)
Creates a random symmetric
RowMajorSparseMatrix of the given size. |
static RowMajorSparseMatrix |
RowMajorSparseMatrix.zero(int rows,
int columns)
|
static RowMajorSparseMatrix |
RowMajorSparseMatrix.zero(int rows,
int columns,
int capacity)
|
| Modifier and Type | Class and Description |
|---|---|
class |
CRSMatrix
This is a CRS (Compressed Row Storage) matrix class.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
InPlaceCopyMatrixToMatrix.apply(ColumnMajorSparseMatrix a,
RowMajorSparseMatrix b) |
Matrix |
InPlaceCopyMatrixToMatrix.apply(RowMajorSparseMatrix a,
ColumnMajorSparseMatrix b) |
Copyright © 2015. All rights reserved.