RowMajorMatrix - Complex
The complex RowMajorMatrix is a dense row-major matrix of double complex
values.The elements are store contiguously in a single java array. The
real components occupy the even indices and the imaginary components are
located just after the real. This matrix is efficient for numerical computing,
especially row-wise computations.
Here is an example of a dense complex matrix with two rows and two columns:
|
Col-0 |
Col-1 |
| Row-0 |
1.5, 0.1 |
2.6, 0.2 |
| Row-1 |
3.7, 0.3 |
4.8, 0.4 |
This is how the 2x2 matrix would be stored in a complex RowMajorMatrix
with a row capacity of three and a column capacity of three:
Values
| Index |
0-1 |
2-3 |
4-5 |
6-7 |
8-9 |
10-11 |
12-13 |
14-15 |
16-17 |
| Value |
1.5, 0.1 |
2.6, 0.2 |
. |
3.7, 0.3 |
4.8, 0.4 |
. |
. |
. |
. |
Copyright(C)1997-99 by DRA Systems all rights reserved.