public interface CMatrix extends Matrix
Modifier and Type | Method and Description |
---|---|
void |
get(int row,
int col,
Complex_F32 output)
Returns the complex value of the matrix's element
|
int |
getDataLength()
Returns the number of elements in the internal data array
|
float |
getImag(int row,
int col)
Returns the imaginary component of the matrix's element.
|
float |
getReal(int row,
int col)
Returns the real component of the matrix's element.
|
void |
set(int row,
int col,
float real,
float imaginary)
Set's the complex value of the matrix's element
|
void |
setImag(int row,
int col,
float val)
Sets the imaginary component of the matrix's element.
|
void |
setReal(int row,
int col,
float val)
Sets the real component of the matrix's element.
|
copy, createLike, getNumCols, getNumRows, getType, print, set
void get(int row, int col, Complex_F32 output)
row
- Matrix element's row index..col
- Matrix element's column index.output
- Storage for the complex numbervoid set(int row, int col, float real, float imaginary)
row
- Matrix element's row index..col
- Matrix element's column index.real
- The real componentimaginary
- The imaginary componentfloat getReal(int row, int col)
row
- Matrix element's row index..col
- Matrix element's column index.void setReal(int row, int col, float val)
row
- Matrix element's row index..col
- Matrix element's column index.val
- The element's new value.float getImag(int row, int col)
row
- Matrix element's row index..col
- Matrix element's column index.void setImag(int row, int col, float val)
row
- Matrix element's row index..col
- Matrix element's column index.val
- The element's new value.int getDataLength()