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