static CRSMatrix |
CRSMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d) |
Creates a block CRSMatrix of the given blocks a ,
b , c and d .
|
static CRSMatrix |
CRSMatrix.diagonal(int size,
double diagonal) |
Creates a diagonal CRSMatrix of the given size whose
diagonal elements are equal to diagonal .
|
static CRSMatrix |
CRSMatrix.from1DArray(int rows,
int columns,
double[] array) |
Creates a new CRSMatrix from the given 1D array with
compressing (copying) the underlying array.
|
static CRSMatrix |
CRSMatrix.from2DArray(double[][] array) |
Creates a new CRSMatrix from the given 2D array with
compressing (copying) the underlying array.
|
static CRSMatrix |
CRSMatrix.fromBinary(byte[] array) |
|
static CRSMatrix |
CRSMatrix.fromCSV(java.lang.String csv) |
|
static CRSMatrix |
CRSMatrix.fromMatrixMarket(java.lang.String mm) |
Parses CRSMatrix from the given Matrix Market string.
|
static CRSMatrix |
CRSMatrix.identity(int size) |
Creates an identity CRSMatrix of the given size .
|
static CRSMatrix |
CRSMatrix.random(int rows,
int columns,
double density,
java.util.Random random) |
Creates a random CRSMatrix of the given shape:
rows x columns .
|
static CRSMatrix |
CRSMatrix.randomSymmetric(int size,
double density,
java.util.Random random) |
Creates a random symmetric CRSMatrix of the given size .
|
static CRSMatrix |
CRSMatrix.zero(int rows,
int columns) |
Creates a zero CRSMatrix of the given shape:
rows x columns .
|
static CRSMatrix |
CRSMatrix.zero(int rows,
int columns,
int capacity) |
Creates a zero CRSMatrix of the given shape:
rows x columns with the given capacity .
|