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 |
---|---|
SparseMatrix |
Matrix.toSparseMatrix()
Converts this matrix into a sparse matrix.
|
Modifier and Type | Class and Description |
---|---|
class |
ColumnMajorSparseMatrix |
class |
RowMajorSparseMatrix |
Modifier and Type | Method and Description |
---|---|
static SparseMatrix |
SparseMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d)
|
static SparseMatrix |
SparseMatrix.diagonal(int size,
double diagonal)
|
static SparseMatrix |
SparseMatrix.from1DArray(int rows,
int columns,
double[] array)
Creates a new
SparseMatrix from the given 1D array with
compressing (copying) the underlying array. |
static SparseMatrix |
SparseMatrix.from2DArray(double[][] array)
Creates a new
SparseMatrix from the given 2D array with
compressing (copying) the underlying array. |
static SparseMatrix |
SparseMatrix.fromCSV(String csv)
Parses
SparseMatrix from the given CSV string. |
static SparseMatrix |
SparseMatrix.fromMatrixMarket(String mm)
Parses
SparseMatrix from the given Matrix Market string. |
static SparseMatrix |
SparseMatrix.identity(int size)
Creates an identity
SparseMatrix of the given size . |
static SparseMatrix |
SparseMatrix.random(int rows,
int columns,
double density,
Random random)
|
static SparseMatrix |
SparseMatrix.randomSymmetric(int size,
double density,
Random random)
Creates a random symmetric
SparseMatrix of the given size . |
static SparseMatrix |
SparseMatrix.zero(int rows,
int columns)
|
static SparseMatrix |
SparseMatrix.zero(int rows,
int columns,
int capacity)
|
Modifier and Type | Class and Description |
---|---|
class |
CCSMatrix
This is a CCS (Compressed Column Storage) matrix class.
|
class |
CRSMatrix
This is a CRS (Compressed Row Storage) matrix class.
|
Modifier and Type | Method and Description |
---|---|
abstract R |
SimpleMatrixMatrixOperation.applySimple(DenseMatrix a,
SparseMatrix b) |
abstract R |
SimpleMatrixMatrixOperation.applySimple(SparseMatrix a,
DenseMatrix b) |
abstract R |
SimpleMatrixMatrixOperation.applySimple(SparseMatrix a,
SparseMatrix b) |
abstract R |
SymmetricMatrixMatrixOperation.applySymmetric(DenseMatrix a,
SparseMatrix b) |
abstract R |
SymmetricMatrixMatrixOperation.applySymmetric(SparseMatrix a,
SparseMatrix b) |
Modifier and Type | Method and Description |
---|---|
Matrix |
InPlaceCopyMatrixToMatrix.applySimple(DenseMatrix a,
SparseMatrix b) |
Matrix |
InPlaceCopyMatrixToMatrix.applySimple(SparseMatrix a,
DenseMatrix b) |
Matrix |
InPlaceCopyMatrixToMatrix.applySimple(SparseMatrix a,
SparseMatrix b) |
Modifier and Type | Method and Description |
---|---|
Matrix |
OoPlaceMatricesSubtraction.applySimple(DenseMatrix a,
SparseMatrix b) |
Matrix |
OoPlaceMatricesSubtraction.applySimple(SparseMatrix a,
DenseMatrix b) |
Matrix |
OoPlaceMatricesSubtraction.applySimple(SparseMatrix a,
SparseMatrix b) |
Matrix |
OoPlaceMatrixHadamardProduct.applySymmetric(DenseMatrix a,
SparseMatrix b) |
Matrix |
OoPlaceMatricesAddition.applySymmetric(DenseMatrix a,
SparseMatrix b) |
Matrix |
OoPlaceMatrixHadamardProduct.applySymmetric(SparseMatrix a,
SparseMatrix b) |
Matrix |
OoPlaceMatricesAddition.applySymmetric(SparseMatrix a,
SparseMatrix b) |
Copyright © 2015. All rights reserved.