4.3. Accessing Complex Scalar Values

The technique described here allows you to access the values of complex vectors (*VEC) or dense matrices (*DMAT) and to manipulate either the real part or the imaginary part.

A complex dense matrix is a 2-D array of complex scalars. It can also be considered a 3-D array of real values as shown in the figure below:

Figure 4.1:  3-D Representation of a Complex Dense Matrix

3-D Representation of a Complex Dense Matrix

The examples outlined below show several ways to access the complex scalar values.


Release 18.2 - © ANSYS, Inc. All rights reserved.