public class DenseLargeFComplexMatrix2D extends WrapperFComplexMatrix2D
This data structure allows to store more than 2^31 elements. Internally holds one two-dimensional array, elements[rows][2*columns]. Complex data is represented by 2 float values in sequence, i.e. elements[row][2*column] constitute the real part and elements[row][2*column+1] constitute the imaginary part. Note that this implementation is not synchronized.
| Constructor and Description |
|---|
DenseLargeFComplexMatrix2D(int rows,
int columns) |
| Modifier and Type | Method and Description |
|---|---|
float[][] |
elements()
Returns the elements of this matrix.
|
void |
fft2()
Computes the 2D discrete Fourier transform (DFT) of this matrix.
|
void |
fftColumns()
Computes the discrete Fourier transform (DFT) of each column of this
matrix.
|
void |
fftRows()
Computes the discrete Fourier transform (DFT) of each row of this matrix.
|
float[] |
getQuick(int row,
int column)
Returns the matrix cell value at coordinate [row,column].
|
void |
ifft2(boolean scale)
Computes the 2D inverse of the discrete Fourier transform (IDFT) of this
matrix.
|
void |
ifftColumns(boolean scale)
Computes the inverse of the discrete Fourier transform (IDFT) of each
column of this matrix.
|
void |
ifftRows(boolean scale)
Computes the inverse of the discrete Fourier transform (IDFT) of each row
of this matrix.
|
FComplexMatrix2D |
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.
|
FComplexMatrix1D |
like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic
type, entirelly independent of the receiver.
|
void |
setQuick(int row,
int column,
float[] value)
Sets the matrix cell at coordinate [row,column] to the specified
value.
|
void |
setQuick(int row,
int column,
float re,
float im)
Sets the matrix cell at coordinate [row,column] to the specified
value.
|
assign, equals, equals, getImaginaryPart, getRealPart, vectorize, viewColumn, viewColumnFlip, viewDice, viewPart, viewRow, viewRowFlip, viewSelection, viewStridesaggregate, aggregate, assign, assign, assign, assign, assign, assign, assign, assign, assign, assignImaginary, assignReal, cardinality, copy, forEachNonZero, get, getConjugateTranspose, getNonZeros, like, set, set, toArray, toString, toString, viewSelection, zMult, zMult, zMult, zMult, zSumcheckShape, checkShape, columns, columnStride, index, rows, rowStride, size, toStringShortensureCapacity, isView, trimToSizeclonepublic DenseLargeFComplexMatrix2D(int rows,
int columns)
public void fft2()
fft2 in class WrapperFComplexMatrix2Dpublic void fftColumns()
fftColumns in class WrapperFComplexMatrix2Dpublic void fftRows()
fftRows in class WrapperFComplexMatrix2Dpublic void ifft2(boolean scale)
ifft2 in class WrapperFComplexMatrix2Dscale - if true then scaling is performedpublic void ifftColumns(boolean scale)
ifftColumns in class WrapperFComplexMatrix2Dscale - if true then scaling is performedpublic void ifftRows(boolean scale)
ifftRows in class WrapperFComplexMatrix2Dscale - if true then scaling is performedpublic float[] getQuick(int row,
int column)
FComplexMatrix2DProvided with invalid parameters this method may return invalid objects without throwing any exception. You should only use this method when you are absolutely sure that the coordinate is within bounds. Precondition (unchecked): 0 <= column < columns() && 0 <= row < rows().
getQuick in class WrapperFComplexMatrix2Drow - the index of the row-coordinate.column - the index of the column-coordinate.public void setQuick(int row,
int column,
float[] value)
FComplexMatrix2DProvided with invalid parameters this method may access illegal indexes without throwing any exception. You should only use this method when you are absolutely sure that the coordinate is within bounds. Precondition (unchecked): 0 <= column < columns() && 0 <= row < rows().
setQuick in class WrapperFComplexMatrix2Drow - the index of the row-coordinate.column - the index of the column-coordinate.value - the value to be filled into the specified cell.public void setQuick(int row,
int column,
float re,
float im)
FComplexMatrix2DProvided with invalid parameters this method may access illegal indexes without throwing any exception. You should only use this method when you are absolutely sure that the coordinate is within bounds. Precondition (unchecked): 0 <= column < columns() && 0 <= row < rows().
setQuick in class WrapperFComplexMatrix2Drow - the index of the row-coordinate.column - the index of the column-coordinate.re - the real part of the value to be filled into the specified
cell.im - the imaginary part of the value to be filled into the
specified cell.public float[][] elements()
FComplexMatrix2Delements in class WrapperFComplexMatrix2Dpublic FComplexMatrix2D like(int rows, int columns)
FComplexMatrix2Dlike in class WrapperFComplexMatrix2Drows - the number of rows the matrix shall have.columns - the number of columns the matrix shall have.public FComplexMatrix1D like1D(int size)
FComplexMatrix2Dlike1D in class WrapperFComplexMatrix2Dsize - the number of cells the matrix shall have.Jump to the Parallel Colt Homepage