ComplexMatrix4 Struct Reference
Represents a 4x4 matrix of complex numbers. More...
#include <QuEST.h>
Data Fields | |
qreal | imag [4][4] |
qreal | real [4][4] |
Detailed Description
Represents a 4x4 matrix of complex numbers.
In C, a ComplexMatrix4 can be initialised by separately specifying the real and imaginary components as nested arrays. Note that in C99, a short row that ends with a 0 with be padded with 0.
For example,
specifies matrix
\[ m = \begin{pmatrix} 1 & 2 & 3 & 4 \\ 0 & 0 & 0 & 0 \\ 5 & 6 & 7 & 8 \\ i & i & i & i \end{pmatrix} \]
- See also
Field Documentation
◆ imag
qreal ComplexMatrix4::imag[4][4] |
◆ real
qreal ComplexMatrix4::real[4][4] |
Referenced by TEST_CASE().
The documentation for this struct was generated from the following file: