static CCSMatrix |
CCSMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d) |
Creates a block CCSMatrix of the given blocks a ,
b , c and d .
|
static CCSMatrix |
CCSMatrix.diagonal(int size,
double diagonal) |
Creates a diagonal CCSMatrix of the given size whose
diagonal elements are equal to 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) |
|
static CCSMatrix |
CCSMatrix.fromCSV(java.lang.String csv) |
|
static CCSMatrix |
CCSMatrix.fromMatrixMarket(java.lang.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,
java.util.Random random) |
Creates a random CCSMatrix of the given shape:
rows x columns .
|
static CCSMatrix |
CCSMatrix.randomSymmetric(int size,
double density,
java.util.Random random) |
Creates a random symmetric CCSMatrix of the given size .
|
static CCSMatrix |
CCSMatrix.zero(int rows,
int columns) |
Creates a zero CCSMatrix of the given shape:
rows x columns .
|
static CCSMatrix |
CCSMatrix.zero(int rows,
int columns,
int capacity) |
Creates a zero CCSMatrix of the given shape:
rows x columns with the given capacity .
|