CxTranspose

Advanced Analysis Library Only

AnalysisLibErrType CxTranspose (void *inputMatrix, int numberOfRows, int 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 numeric array Input complex matrix. This matrix must be an array of ComplexNum.
numberOfRows integer Number of rows in inputMatrix.
numberOfColumns integer Number of columns in inputMatrix.
Output
Name Type Description
outputMatrix ComplexNum 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.