Package | Description |
---|---|
org.la4j | |
org.la4j.matrix.dense |
Modifier and Type | Field and Description |
---|---|
static MatrixFactory<Basic1DMatrix> |
Matrices.BASIC_1D
A matrix factory that produces zero
Basic1DMatrix . |
Modifier and Type | Method and Description |
---|---|
static Basic1DMatrix |
Basic1DMatrix.block(Matrix a,
Matrix b,
Matrix c,
Matrix d)
|
static Basic1DMatrix |
Basic1DMatrix.constant(int rows,
int columns,
double constant)
Creates a constant
Basic1DMatrix of the given shape and value . |
static Basic1DMatrix |
Basic1DMatrix.diagonal(int size,
double diagonal)
|
static Basic1DMatrix |
Basic1DMatrix.from1DArray(int rows,
int columns,
double[] array)
Creates a
Basic1DMatrix of the given 1D array w/o
copying the underlying array. |
static Basic1DMatrix |
Basic1DMatrix.from2DArray(double[][] array)
Creates a
Basic1DMatrix of the given 2D array with
copying the underlying array. |
static Basic1DMatrix |
Basic1DMatrix.fromBinary(byte[] array)
Decodes
Basic1DMatrix from the given byte array . |
static Basic1DMatrix |
Basic1DMatrix.fromCSV(String csv)
Parses
Basic1DMatrix from the given CSV string. |
static Basic1DMatrix |
Basic1DMatrix.fromMatrixMarket(String mm)
Parses
Basic1DMatrix from the given Matrix Market string. |
static Basic1DMatrix |
Basic1DMatrix.identity(int size)
Creates an identity
Basic1DMatrix of the given size . |
static Basic1DMatrix |
Basic1DMatrix.random(int rows,
int columns,
Random random)
|
static Basic1DMatrix |
Basic1DMatrix.randomSymmetric(int size,
Random random)
Creates a random symmetric
Basic1DMatrix of the given size . |
static Basic1DMatrix |
Basic1DMatrix.unit(int rows,
int columns)
|
static Basic1DMatrix |
Basic1DMatrix.zero(int rows,
int columns)
|
Copyright © 2015. All rights reserved.