CxHess

Advanced Analysis Library Only

AnalysisLibErrType CxHess (void *inputMatrix, int matrixSize, void *hessenbergMatrix, void *orthogonalMatrix);

Purpose

Calculates the Hessenberg decomposition for a complex matrix A, as follows: A = QHQH, where Q is unitary, H is Hessenberg, and QH is the conjugate transpose of Q.

Parameters

Input
Name Type Description
inputMatrix numeric array The input matrix A.
matrixSize integer The order of inputMatrix.
Output
Name Type Description
hessenbergMatrix numeric array The Hessenberg matrix. In place operation is supported. That is, you can call the function with hessenbergMatrix = NULL or hessenbergMatrix = inputMatrix so that the resultant Hessenberg matrix overwrites inputMatrix directly.
orthogonalMatrix numeric array The unitary matrix Q.

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.