CxTranspose
- Updated2023-02-21
- 1 minute(s) read
CxTranspose
Advanced Analysis Library Only
AnalysisLibErrType CxTranspose (void *inputMatrix, ssize_t numberOfRows, ssize_t numberOfColumns, void *outputMatrix);
Purpose
Calculates the complex conjugate transpose of a 2D, complex input matrix. The following formula defines the (i,j)th element of the resulting matrix:
bi, j = a*j, i
where * denotes a complex conjugate
If z = x + j x y is a complex number, then x — j x y is the complex conjugate of z.
Parameters
Input | ||
Name | Type | Description |
inputMatrix | void * | Input complex matrix. This matrix must be an array of ComplexNum. The following C typedef statement defines the ComplexNum structure: typedef struct { double real; double imaginary; } ComplexNum; |
numberOfRows | ssize_t | The number of rows in inputMatrix. |
numberOfColumns | ssize_t | The number of columns in inputMatrix. |
Output | ||
Name | Type | Description |
outputMatrix | void * | Calculated complex conjugate transpose matrix. The following C typedef statement defines the ComplexNum structure: typedef struct { double real; double imaginary; } ComplexNum; |
Return Value
Name | Type | Description |
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later