| 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 |
|---|---|
ColumnMajorSparseMatrix |
Matrix.toColumnMajorSparseMatrix()
Converts this matrix into a column-major sparse matrix.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d)
|
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.diagonal(int size,
double diagonal)
Creates a diagonal
ColumnMajorSparseMatrix of the given size whose
diagonal elements are equal to diagonal. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.from1DArray(int rows,
int columns,
double[] array)
Creates a new
ColumnMajorSparseMatrix from the given 1D array with
compressing (copying) the underlying array. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.from2DArray(double[][] array)
Creates a new
ColumnMajorSparseMatrix from the given 2D array with
compressing (copying) the underlying array. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.fromCSV(String csv)
Parses
ColumnMajorSparseMatrix from the given CSV string. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.fromMatrixMarket(String mm)
Parses
ColumnMajorSparseMatrix from the given Matrix Market string. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.identity(int size)
Creates an identity
ColumnMajorSparseMatrix of the given size. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.random(int rows,
int columns,
double density,
Random random)
|
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.randomSymmetric(int size,
double density,
Random random)
Creates a random symmetric
ColumnMajorSparseMatrix of the given size. |
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.zero(int rows,
int columns)
|
static ColumnMajorSparseMatrix |
ColumnMajorSparseMatrix.zero(int rows,
int columns,
int capacity)
|
| Modifier and Type | Class and Description |
|---|---|
class |
CCSMatrix
This is a CCS (Compressed Column 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.