You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aggregate(DoubleDoubleFunction aggr, DoubleFunction f)
Applies a function to each cell and aggregates the results.
aggregate(DoubleDoubleFunction aggr, DoubleFunction f, DoubleProcedure cond)
Applies a function to each cell that satisfies a condition and aggregates the results.
aggregate(DoubleDoubleFunction aggr, DoubleFunction f, IntArrayList rowList, IntArrayList columnList)
Applies a function to all cells with a given indexes and aggregates the results.
aggregate(DoubleMatrix2D other, DoubleDoubleFunction aggr, DoubleDoubleFunction f)
Applies a function to each corresponding cell of two matrices and aggregates the results.
assign(double value)
Sets all cells to the state specified by value.
assign(double[] values)
Sets all cells to the state specified by values.
assign(double[][] values)
Sets all cells to the state specified by values.
assign(DoubleFunction function)
Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).
assign(DoubleMatrix2D source)
Replaces all cell values of the receiver with the values of another matrix.
assign(DoubleMatrix2D y, DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
assign(DoubleMatrix2D y, DoubleDoubleFunction function, IntArrayList rowList, IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
assign(DoubleProcedure cond, double value)
Assigns a value to all cells that satisfy a condition.
assign(DoubleProcedure cond, DoubleFunction function)
Assigns the result of a function to all cells that satisfy a condition.
assign(float[] values)
Sets all cells to the state specified by values.
cardinality()
Returns the number of cells having non-zero values; ignores tolerance.
dct2(boolean scale)
Computes the 2D discrete cosine transform (DCT-II) of this matrix.
dctColumns(boolean scale)
Computes the discrete cosine transform (DCT-II) of each column of this matrix.
dctRows(boolean scale)
Computes the discrete cosine transform (DCT-II) of each row of this matrix.
dht2()
Computes the 2D discrete Hartley transform (DHT) of this matrix.
dhtColumns()
Computes the discrete Hartley transform (DHT) of each column of this matrix.
dhtRows()
Computes the discrete Hartley transform (DHT) of each row of this matrix.
dst2(boolean scale)
Computes the 2D discrete sine transform (DST-II) of this matrix.
dstColumns(boolean scale)
Computes the discrete sine transform (DST-II) of each column of this matrix.
dstRows(boolean scale)
Computes the discrete sine transform (DST-II) of each row of this matrix.
elements()
Returns the elements of this matrix.
fft2()
Computes the 2D discrete Fourier transform (DFT) of this matrix.
forEachNonZero(IntIntDoubleFunction function)
Assigns the result of a function to each non-zero cell; x[row,col] = function(x[row,col]).
getColumnMajor()
Returns a new matrix that has the same elements as this matrix, but they are addressed internally in column major.
getFft2()
Returns new complex matrix which is the 2D discrete Fourier transform (DFT) of this matrix.
getFftColumns()
Returns new complex matrix which is the discrete Fourier transform (DFT) of each column of this matrix.
getFftRows()
Returns new complex matrix which is the discrete Fourier transform (DFT) of each row of this matrix.
getIfft2(boolean scale)
Returns new complex matrix which is the 2D inverse of the discrete Fourier transform (IDFT) of this matrix.
getIfftColumns(boolean scale)
Returns new complex matrix which is the inverse of the discrete Fourier transform (IDFT) of each column of this matrix.
getIfftRows(boolean scale)
Returns new complex matrix which is the inverse of the discrete Fourier transform (IDFT) of each row of this matrix.
getMaxLocation()
Return the maximum value of this matrix together with its location
getMinLocation()
Return the minimum value of this matrix together with its location
getNegativeValues(IntArrayList rowList, IntArrayList columnList, DoubleArrayList valueList)
Fills the coordinates and values of cells having negative values into the specified lists.
getNonZeros(IntArrayList rowList, IntArrayList columnList, DoubleArrayList valueList)
Fills the coordinates and values of cells having non-zero values into the specified lists.
getPositiveValues(IntArrayList rowList, IntArrayList columnList, DoubleArrayList valueList)
Fills the coordinates and values of cells having positive values into the specified lists.
getQuick(int row, int column)
Returns the matrix cell value at coordinate [row,column].
idct2(boolean scale)
Computes the 2D inverse of the discrete cosine transform (DCT-III) of this matrix.
idctColumns(boolean scale)
Computes the inverse of the discrete cosine transform (DCT-III) of each column of this matrix.
idctRows(boolean scale)
Computes the inverse of the discrete cosine transform (DCT-III) of each row of this matrix.
idht2(boolean scale)
Computes the 2D inverse of the discrete Hartley transform (IDHT) of this matrix.
idhtColumns(boolean scale)
Computes the inverse of the discrete Hartley transform (IDHT) of each column of this matrix.
idhtRows(boolean scale)
Computes the inverse of the discrete Hartley transform (IDHT) of each row of this matrix.
idst2(boolean scale)
Computes the 2D inverse of the discrete sine transform (DST-III) of this matrix.
idstColumns(boolean scale)
Computes the inverse of the discrete sine transform (DST-III) of each column of this matrix.
idstRows(boolean scale)
Computes the inverse of the discrete sine transform (DST-III) of each row of this matrix.
ifft2(boolean scale)
Computes the 2D inverse of the discrete Fourier transform (IDFT) of this matrix.
index(int row, int column)
Returns the position of the given coordinate within the (virtual or non-virtual) internal 1-dimensional array.
like(int rows, int columns)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of rows and columns.
like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
setQuick(int row, int column, double value)
Sets the matrix cell at coordinate [row,column] to the specified value.
toArray()
Constructs and returns a 2-dimensional array containing the cell values.
vectorize()
Returns a vector obtained by stacking the columns of the matrix on top of one another.
zMult(DoubleMatrix1D y, DoubleMatrix1D z, double alpha, double beta, boolean transposeA)
Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z.
zMult(DoubleMatrix2D B, DoubleMatrix2D C, double alpha, double beta, boolean transposeA, boolean transposeB)
Linear algebraic matrix-matrix multiplication; C = alpha * A x B + beta*C.
zSum()
Returns the sum of all cells; Sum( x[i,j] ).
The text was updated successfully, but these errors were encountered:
Applies a function to each cell and aggregates the results.
Applies a function to each cell that satisfies a condition and aggregates the results.
Applies a function to all cells with a given indexes and aggregates the results.
Applies a function to each corresponding cell of two matrices and aggregates the results.
Sets all cells to the state specified by value.
Sets all cells to the state specified by values.
Sets all cells to the state specified by values.
Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).
Replaces all cell values of the receiver with the values of another matrix.
Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
Assigns the result of a function to all cells with a given indexes
Assigns a value to all cells that satisfy a condition.
Assigns the result of a function to all cells that satisfy a condition.
Sets all cells to the state specified by values.
Returns the number of cells having non-zero values; ignores tolerance.
Computes the 2D discrete cosine transform (DCT-II) of this matrix.
Computes the discrete cosine transform (DCT-II) of each column of this matrix.
Computes the discrete cosine transform (DCT-II) of each row of this matrix.
Computes the 2D discrete Hartley transform (DHT) of this matrix.
Computes the discrete Hartley transform (DHT) of each column of this matrix.
Computes the discrete Hartley transform (DHT) of each row of this matrix.
Computes the 2D discrete sine transform (DST-II) of this matrix.
Computes the discrete sine transform (DST-II) of each column of this matrix.
Computes the discrete sine transform (DST-II) of each row of this matrix.
Returns the elements of this matrix.
Computes the 2D discrete Fourier transform (DFT) of this matrix.
Assigns the result of a function to each non-zero cell; x[row,col] = function(x[row,col]).
Returns a new matrix that has the same elements as this matrix, but they are addressed internally in column major.
Returns new complex matrix which is the 2D discrete Fourier transform (DFT) of this matrix.
Returns new complex matrix which is the discrete Fourier transform (DFT) of each column of this matrix.
Returns new complex matrix which is the discrete Fourier transform (DFT) of each row of this matrix.
Returns new complex matrix which is the 2D inverse of the discrete Fourier transform (IDFT) of this matrix.
Returns new complex matrix which is the inverse of the discrete Fourier transform (IDFT) of each column of this matrix.
Returns new complex matrix which is the inverse of the discrete Fourier transform (IDFT) of each row of this matrix.
Return the maximum value of this matrix together with its location
Return the minimum value of this matrix together with its location
Fills the coordinates and values of cells having negative values into the specified lists.
Fills the coordinates and values of cells having non-zero values into the specified lists.
Fills the coordinates and values of cells having positive values into the specified lists.
Returns the matrix cell value at coordinate [row,column].
Computes the 2D inverse of the discrete cosine transform (DCT-III) of this matrix.
Computes the inverse of the discrete cosine transform (DCT-III) of each column of this matrix.
Computes the inverse of the discrete cosine transform (DCT-III) of each row of this matrix.
Computes the 2D inverse of the discrete Hartley transform (IDHT) of this matrix.
Computes the inverse of the discrete Hartley transform (IDHT) of each column of this matrix.
Computes the inverse of the discrete Hartley transform (IDHT) of each row of this matrix.
Computes the 2D inverse of the discrete sine transform (DST-III) of this matrix.
Computes the inverse of the discrete sine transform (DST-III) of each column of this matrix.
Computes the inverse of the discrete sine transform (DST-III) of each row of this matrix.
Computes the 2D inverse of the discrete Fourier transform (IDFT) of this matrix.
Returns the position of the given coordinate within the (virtual or non-virtual) internal 1-dimensional array.
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of rows and columns.
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
Sets the matrix cell at coordinate [row,column] to the specified value.
Constructs and returns a 2-dimensional array containing the cell values.
Returns a vector obtained by stacking the columns of the matrix on top of one another.
8 neighbor stencil transformation.
Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z.
Linear algebraic matrix-matrix multiplication; C = alpha * A x B + beta*C.
Returns the sum of all cells; Sum( x[i,j] ).
The text was updated successfully, but these errors were encountered: