Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wrapper in MDArray for class cern.colt.matrix.tdouble.impl.DenseDoubleMatrix2D #15

Open
rbotafogo opened this issue Mar 27, 2015 · 0 comments

Comments

@rbotafogo
Copy link

  • 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.
  • zAssign8Neighbors(DoubleMatrix2D B, Double9Function function) 
              8 neighbor stencil transformation.
  • 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] ).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant