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