Package | Description |
---|---|
ej.numeric | |
ej.numeric.linear | |
ej.numeric.signal |
Modifier and Type | Method and Description |
---|---|
FloatMatrix |
FloatMatrix.add(float scalar)
Add a scalar
|
FloatMatrix |
FloatMatrix.add(FloatMatrix matrix)
Add a matrix
|
FloatMatrix |
FloatMatrix.add(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the addition of two matrices
|
FloatMatrix |
FloatMatrix.add(FloatMatrix A,
FloatMatrix B,
int rows,
int cols,
int RrowStart,
int RcolStart,
int ArowStart,
int AcolStart,
int BrowStart,
int BcolStart)
Make the current (sub) matrix be the result of the addition of two sub matrices
|
FloatMatrix |
FloatMatrix.addi(float scalar)
In place add a scalar
|
FloatMatrix |
FloatMatrix.addi(FloatMatrix matrix)
In place add a matrix
|
FloatMatrix |
FloatMatrix.arrayDiv(FloatMatrix matrix)
Element-wise divide by a matrix
|
FloatMatrix |
FloatMatrix.arrayDivi(FloatMatrix matrix)
In place element-wise divide by a matrix
|
FloatMatrix |
FloatMatrix.arrayMul(FloatMatrix matrix)
Element-wise multiply by a matrix
|
FloatMatrix |
FloatMatrix.arrayMuli(FloatMatrix matrix)
In place element-wise multiply by a matrix
|
FloatMatrix |
FloatMatrix.arrayTranspose()
Transpose.
|
FloatMatrix |
FloatMatrix.arrayTransposei()
Transpose in place.
|
static FloatMatrix |
FloatMatrix.diag(FloatMatrix v)
Create a diagonal matrix with vector v on the main diagonal
|
static FloatMatrix |
FloatMatrix.diag(FloatMatrix v,
int k)
Create a diagonal matrix with vector v on the diagonal k
|
FloatMatrix |
FloatMatrix.diag(int k)
Return the k-th diagonal of the matrix.
|
FloatMatrix |
FloatMatrix.div(float scalar)
Divide by a scalar
|
FloatMatrix |
FloatMatrix.div(FloatMatrix matrix)
Divide by a matrix
|
FloatMatrix |
FloatMatrix.div(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the division of two matrices
|
FloatMatrix |
FloatMatrix.divi(float scalar)
In place divide by a scalar
|
FloatMatrix |
FloatMatrix.divi(FloatMatrix matrix)
In place divide by a matrix
|
FloatMatrix |
FloatMatrix.duplicate(FloatMatrix A)
Copy the data of a matrix to the current matrix.
|
FloatMatrix |
FloatMatrix.eq(float scalar)
Element-wise equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.eq(FloatMatrix matrix)
Element-wise equals between matrices elements
|
FloatMatrix |
FloatMatrix.eqi(float scalar)
In place element-wise equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.eqi(FloatMatrix matrix)
In place element-wise equals between matrices elements
|
static FloatMatrix |
FloatMatrix.eye(int dim)
Create a square identity matrix
|
static FloatMatrix |
FloatMatrix.eye(int rows,
int cols)
Create an identity matrix with the given dimensions
|
FloatMatrix |
FloatMatrix.ge(float scalar)
Element-wise greater or equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.ge(FloatMatrix matrix)
Element-wise greater or equals between matrices elements
|
FloatMatrix |
FloatMatrix.gei(float scalar)
In place element-wise greater or equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.gei(FloatMatrix matrix)
In place element-wise greater or equals between matrices elements
|
FloatMatrix |
FloatMatrix.get(Range range)
Get a vector of the elements at the given linear index range
|
FloatMatrix |
FloatMatrix.get(Range rowsRange,
Range colsRange)
Get a matrix of the elements at the given index ranges
|
FloatMatrix |
FloatMatrix.getColumn(int column)
Get a vector of the elements at the given column
|
FloatMatrix |
FloatMatrix.getRow(int row)
Get a vector of the elements at the given row
|
FloatMatrix |
FloatMatrix.gt(float scalar)
Element-wise greater than between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.gt(FloatMatrix matrix)
Element-wise greater than between matrices elements
|
FloatMatrix |
FloatMatrix.gti(float scalar)
In place element-wise greater than between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.gti(FloatMatrix matrix)
In place element-wise greater than between matrices elements
|
FloatMatrix |
FloatMatrix.le(float scalar)
Element-wise lower or equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.le(FloatMatrix matrix)
Element-wise lower or equals between matrices elements
|
FloatMatrix |
FloatMatrix.lei(float scalar)
In place element-wise lower or equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.lei(FloatMatrix matrix)
In place element-wise lower or equals between matrices elements
|
FloatMatrix |
FloatMatrix.lt(float scalar)
Element-wise lower than between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.lt(FloatMatrix matrix)
Element-wise lower than between matrices elements
|
FloatMatrix |
FloatMatrix.lti(float scalar)
In place element-wise lower than between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.lti(FloatMatrix matrix)
In place element-wise lower than between matrices elements
|
FloatMatrix |
FloatMatrix.max(float scalar)
Element-wise maximum between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.max(FloatMatrix matrix)
Element-wise maximum between matrices
|
FloatMatrix |
FloatMatrix.maxi(float scalar)
In place element-wise maximum between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.maxi(FloatMatrix matrix)
In place element-wise maximum between matrices
|
FloatMatrix |
FloatMatrix.min(float scalar)
Element-wise minimum between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.min(FloatMatrix matrix)
Element-wise minimum between matrices
|
FloatMatrix |
FloatMatrix.mini(float scalar)
In place element-wise minimum between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.mini(FloatMatrix matrix)
In place element-wise minimum between matrices
|
FloatMatrix |
FloatMatrix.mul(float scalar)
Multiply by a scalar
|
FloatMatrix |
FloatMatrix.mul(FloatMatrix matrix)
Multiply by a matrix
|
FloatMatrix |
FloatMatrix.mul(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the multiplication of two matrices
|
FloatMatrix |
FloatMatrix.mul(FloatMatrix A,
FloatMatrix B,
int rows,
int colsRows,
int cols,
int RrowStart,
int RcolStart,
int ArowStart,
int AcolStart,
int BrowStart,
int BcolStart)
Make the current matrix be the result of the multiplication of two sub matrices
|
FloatMatrix |
FloatMatrix.muli(float scalar)
In place multiply by a scalar
|
FloatMatrix |
FloatMatrix.muli(FloatMatrix matrix)
In place multiply by a matrix
|
FloatMatrix |
FloatMatrix.ne(float scalar)
Element-wise not-equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.ne(FloatMatrix matrix)
Element-wise not-equals between matrices elements
|
FloatMatrix |
FloatMatrix.nei(float scalar)
In place element-wise not-equals between matrix elements and a scalar
|
FloatMatrix |
FloatMatrix.nei(FloatMatrix matrix)
In place element-wise not-equals between matrices elements
|
static FloatMatrix |
FloatMatrix.ones(int dim)
Create a square matrix filled with ones
|
static FloatMatrix |
FloatMatrix.ones(int rows,
int cols)
Create a matrix filled with ones with the given dimensions
|
static FloatMatrix |
FloatMatrix.rand(int dim)
Create a square matrix filled with random elements uniformly distributed ont the interval (0, 1)
|
static FloatMatrix |
FloatMatrix.rand(int rows,
int cols)
Create a matrix filled with random elements uniformly distributed on the interval (0, 1)
|
static FloatMatrix |
FloatMatrix.randn(int dim)
Create a square matrix filled with random elements normally distributed on the interval (0, 1)
|
static FloatMatrix |
FloatMatrix.randn(int dim,
float mean,
float standardDeviation)
Create a square matrix filled with random elements normally distributed on the interval [minInterval, maxInterval]
|
static FloatMatrix |
FloatMatrix.randn(int rows,
int cols)
Create a matrix filled with random elements normally distributed on the interval (0, 1)
|
static FloatMatrix |
FloatMatrix.randn(int rows,
int cols,
float mean,
float standardDeviation)
Create a matrix filled with random elements normally distributed on the interval [minInterval, maxInterval]
|
static FloatMatrix |
FloatMatrix.repmat(float scalar,
int rows,
int cols)
Create a matrix of dimensions rows by columns containing the given scalar
|
static FloatMatrix |
FloatMatrix.repmat(FloatMatrix matrix,
int rows,
int cols)
Create a matrix containing rows by columns replications of the given matrix
|
FloatMatrix |
FloatMatrix.resize(int rows,
int columns)
Resize the matrix whith the given dimensions.
|
FloatMatrix |
FloatMatrix.resizei(int rows,
int columns)
In-place resize the matrix whith the given dimensions.
|
FloatMatrix |
FloatMatrix.sub(float scalar)
Subtract a scalar
|
FloatMatrix |
FloatMatrix.sub(FloatMatrix matrix)
Subtract a matrix
|
FloatMatrix |
FloatMatrix.sub(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the subtraction of two matrices
|
FloatMatrix |
FloatMatrix.sub(FloatMatrix A,
FloatMatrix B,
int rows,
int cols,
int RrowStart,
int RcolStart,
int ArowStart,
int AcolStart,
int BrowStart,
int BcolStart)
Make the current (sub) matrix be the result of the subtraction of two sub matrices
|
FloatMatrix |
FloatMatrix.subi(float scalar)
In place subtract a scalar
|
FloatMatrix |
FloatMatrix.subi(FloatMatrix matrix)
In place subtract a matrix
|
FloatMatrix |
Matrix.toFloatMatrix()
Convert the current matrix to FloatMatrix
|
FloatMatrix |
FloatMatrix.toFloatMatrix()
Convert the current matrix to FloatMatrix
|
FloatMatrix |
DoubleMatrix.toFloatMatrix()
Convert the current matrix to FloatMatrix
|
FloatMatrix |
ComplexDoubleMatrix.toFloatMatrix()
Convert the current matrix to FloatMatrix
|
FloatMatrix |
ComplexFloatMatrix.toFloatMatrix()
Convert the current matrix to FloatMatrix
|
FloatMatrix |
FloatMatrix.transpose()
Transpose.
|
FloatMatrix |
FloatMatrix.transpose(FloatMatrix matrix)
Transpose a matrix and store the result into the current matrix.
|
FloatMatrix |
FloatMatrix.transposei()
Transpose in place.
|
static FloatMatrix |
FloatMatrix.zeros(int dim)
Create a square matrix filled with zeros
|
static FloatMatrix |
FloatMatrix.zeros(int rows,
int cols)
Create a matrix filled with zeros with the given dimensions
|
Modifier and Type | Method and Description |
---|---|
FloatMatrix |
FloatMatrix.add(FloatMatrix matrix)
Add a matrix
|
FloatMatrix |
FloatMatrix.add(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the addition of two matrices
|
FloatMatrix |
FloatMatrix.add(FloatMatrix A,
FloatMatrix B,
int rows,
int cols,
int RrowStart,
int RcolStart,
int ArowStart,
int AcolStart,
int BrowStart,
int BcolStart)
Make the current (sub) matrix be the result of the addition of two sub matrices
|
FloatMatrix |
FloatMatrix.addi(FloatMatrix matrix)
In place add a matrix
|
FloatMatrix |
FloatMatrix.arrayDiv(FloatMatrix matrix)
Element-wise divide by a matrix
|
FloatMatrix |
FloatMatrix.arrayDivi(FloatMatrix matrix)
In place element-wise divide by a matrix
|
FloatMatrix |
FloatMatrix.arrayMul(FloatMatrix matrix)
Element-wise multiply by a matrix
|
FloatMatrix |
FloatMatrix.arrayMuli(FloatMatrix matrix)
In place element-wise multiply by a matrix
|
static FloatMatrix |
FloatMatrix.diag(FloatMatrix v)
Create a diagonal matrix with vector v on the main diagonal
|
static FloatMatrix |
FloatMatrix.diag(FloatMatrix v,
int k)
Create a diagonal matrix with vector v on the diagonal k
|
FloatMatrix |
FloatMatrix.div(FloatMatrix matrix)
Divide by a matrix
|
FloatMatrix |
FloatMatrix.div(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the division of two matrices
|
FloatMatrix |
FloatMatrix.divi(FloatMatrix matrix)
In place divide by a matrix
|
FloatMatrix |
FloatMatrix.duplicate(FloatMatrix A)
Copy the data of a matrix to the current matrix.
|
FloatMatrix |
FloatMatrix.eq(FloatMatrix matrix)
Element-wise equals between matrices elements
|
FloatMatrix |
FloatMatrix.eqi(FloatMatrix matrix)
In place element-wise equals between matrices elements
|
FloatMatrix |
FloatMatrix.ge(FloatMatrix matrix)
Element-wise greater or equals between matrices elements
|
FloatMatrix |
FloatMatrix.gei(FloatMatrix matrix)
In place element-wise greater or equals between matrices elements
|
FloatMatrix |
FloatMatrix.gt(FloatMatrix matrix)
Element-wise greater than between matrices elements
|
FloatMatrix |
FloatMatrix.gti(FloatMatrix matrix)
In place element-wise greater than between matrices elements
|
FloatMatrix |
FloatMatrix.le(FloatMatrix matrix)
Element-wise lower or equals between matrices elements
|
FloatMatrix |
FloatMatrix.lei(FloatMatrix matrix)
In place element-wise lower or equals between matrices elements
|
FloatMatrix |
FloatMatrix.lt(FloatMatrix matrix)
Element-wise lower than between matrices elements
|
FloatMatrix |
FloatMatrix.lti(FloatMatrix matrix)
In place element-wise lower than between matrices elements
|
FloatMatrix |
FloatMatrix.max(FloatMatrix matrix)
Element-wise maximum between matrices
|
FloatMatrix |
FloatMatrix.maxi(FloatMatrix matrix)
In place element-wise maximum between matrices
|
FloatMatrix |
FloatMatrix.min(FloatMatrix matrix)
Element-wise minimum between matrices
|
FloatMatrix |
FloatMatrix.mini(FloatMatrix matrix)
In place element-wise minimum between matrices
|
FloatMatrix |
FloatMatrix.mul(FloatMatrix matrix)
Multiply by a matrix
|
FloatMatrix |
FloatMatrix.mul(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the multiplication of two matrices
|
FloatMatrix |
FloatMatrix.mul(FloatMatrix A,
FloatMatrix B,
int rows,
int colsRows,
int cols,
int RrowStart,
int RcolStart,
int ArowStart,
int AcolStart,
int BrowStart,
int BcolStart)
Make the current matrix be the result of the multiplication of two sub matrices
|
FloatMatrix |
FloatMatrix.muli(FloatMatrix matrix)
In place multiply by a matrix
|
FloatMatrix |
FloatMatrix.ne(FloatMatrix matrix)
Element-wise not-equals between matrices elements
|
FloatMatrix |
FloatMatrix.nei(FloatMatrix matrix)
In place element-wise not-equals between matrices elements
|
static FloatMatrix |
FloatMatrix.repmat(FloatMatrix matrix,
int rows,
int cols)
Create a matrix containing rows by columns replications of the given matrix
|
void |
FloatMatrix.setColumn(int column,
FloatMatrix vector)
Set the elements at the given column
|
void |
FloatMatrix.setRow(int row,
FloatMatrix vector)
Set the elements at the given row
|
FloatMatrix |
FloatMatrix.sub(FloatMatrix matrix)
Subtract a matrix
|
FloatMatrix |
FloatMatrix.sub(FloatMatrix A,
FloatMatrix B)
Make the current matrix be the result of the subtraction of two matrices
|
FloatMatrix |
FloatMatrix.sub(FloatMatrix A,
FloatMatrix B,
int rows,
int cols,
int RrowStart,
int RcolStart,
int ArowStart,
int AcolStart,
int BrowStart,
int BcolStart)
Make the current (sub) matrix be the result of the subtraction of two sub matrices
|
FloatMatrix |
FloatMatrix.subi(FloatMatrix matrix)
In place subtract a matrix
|
FloatMatrix |
FloatMatrix.transpose(FloatMatrix matrix)
Transpose a matrix and store the result into the current matrix.
|
Modifier and Type | Method and Description |
---|---|
static FloatMatrix |
Factorization.getInverse(FloatMatrix matrix)
Returns the inverse of the
FloatMatrix or
null if the determinant cannot be calculated. |
static FloatMatrix |
Factorization.getInverse(FloatMatrix toInverse,
FloatMatrix result)
Gets the inverse of
toInverse , places it in result
and returns result . |
static FloatMatrix |
Factorization.hessenberg(FloatMatrix matrix)
The Hessenberg decomposition is `p * h * p' = a' where `p'
is a square unitary matrix (`p' * p = I', using complex-conjugate
transposition) and `h' is upper Hessenberg (`i >= j+1 => h (i, j) = 0').
|
static FloatMatrix[] |
Factorization.lu(FloatMatrix A)
Produce two matrices L and U such that A = L*U, with U upper triangular and L a general matrix without any particular structure.
|
static FloatMatrix[] |
Factorization.lup(FloatMatrix A)
Produce three matrices L, U and P such that L*U = P*A, with U
upper triangular and P*L lower triangular for a permutation matrix P.
|
static FloatMatrix |
Solve.solve(FloatMatrix A,
FloatMatrix B)
Solve the linear equation A*X = B.
|
Modifier and Type | Method and Description |
---|---|
static ComplexFloatMatrix |
Eigen.eigenvalues(FloatMatrix A)
Computes the eigenvalues of a square matrix.
|
static float |
Factorization.getDeterminant(FloatMatrix matrix)
Returns the determinant of the
FloatMatrix . |
static FloatMatrix |
Factorization.getInverse(FloatMatrix matrix)
Returns the inverse of the
FloatMatrix or
null if the determinant cannot be calculated. |
static FloatMatrix |
Factorization.getInverse(FloatMatrix toInverse,
FloatMatrix result)
Gets the inverse of
toInverse , places it in result
and returns result . |
static FloatMatrix |
Factorization.hessenberg(FloatMatrix matrix)
The Hessenberg decomposition is `p * h * p' = a' where `p'
is a square unitary matrix (`p' * p = I', using complex-conjugate
transposition) and `h' is upper Hessenberg (`i >= j+1 => h (i, j) = 0').
|
static FloatMatrix[] |
Factorization.lu(FloatMatrix A)
Produce two matrices L and U such that A = L*U, with U upper triangular and L a general matrix without any particular structure.
|
static FloatMatrix[] |
Factorization.lup(FloatMatrix A)
Produce three matrices L, U and P such that L*U = P*A, with U
upper triangular and P*L lower triangular for a permutation matrix P.
|
static FloatMatrix |
Solve.solve(FloatMatrix A,
FloatMatrix B)
Solve the linear equation A*X = B.
|
Modifier and Type | Method and Description |
---|---|
static ComplexFloatMatrix |
Transforms.fft(FloatMatrix X)
Fast Fourier transform
|
static ComplexFloatMatrix |
Transforms.fft(FloatMatrix X,
ComplexFloatMatrix R)
Fast Fourier transform
|