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