Package | Description |
---|---|
org.la4j | |
org.la4j.matrix.sparse |
Modifier and Type | Field and Description |
---|---|
static MatrixFactory<CCSMatrix> |
Matrices.CCS
A matrix factory that produces zero
CCSMatrix . |
static MatrixFactory<CCSMatrix> |
Matrices.SPARSE_COLUMN_MAJOR
A default factory for sparse column-major matrices.
|
Modifier and Type | Method and Description |
---|---|
static CCSMatrix |
CCSMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d)
|
static CCSMatrix |
CCSMatrix.diagonal(int size,
double diagonal)
|
static CCSMatrix |
CCSMatrix.from1DArray(int rows,
int columns,
double[] array)
Creates a new
CCSMatrix from the given 1D array with
compressing (copying) the underlying array. |
static CCSMatrix |
CCSMatrix.from2DArray(double[][] array)
Creates a new
CCSMatrix from the given 2D array with
compressing (copying) the underlying array. |
static CCSMatrix |
CCSMatrix.fromBinary(byte[] array)
Decodes
CCSMatrix from the given byte array . |
static CCSMatrix |
CCSMatrix.fromCSV(String csv)
Parses
CCSMatrix from the given CSV string. |
static CCSMatrix |
CCSMatrix.fromMatrixMarket(String mm)
Parses
CCSMatrix from the given Matrix Market string. |
static CCSMatrix |
CCSMatrix.identity(int size)
Creates an identity
CCSMatrix of the given size . |
static CCSMatrix |
CCSMatrix.random(int rows,
int columns,
double density,
Random random)
|
static CCSMatrix |
CCSMatrix.randomSymmetric(int size,
double density,
Random random)
Creates a random symmetric
CCSMatrix of the given size . |
static CCSMatrix |
CCSMatrix.zero(int rows,
int columns)
|
static CCSMatrix |
CCSMatrix.zero(int rows,
int columns,
int capacity)
|
Copyright © 2015. All rights reserved.