# CxPow

Advanced Analysis Library Only

AnalysisLibErrType CxPow (double xReal, double xImg, double power, double *outputReal, double *outputImg);

## Purpose

Calculates the power of a complex number. CxPow obtains the resulting complex number using the following formula:

(outputReal, outputImg) = (xReal, xImg)a

## Parameters

Input
Name | Type | Description
xReal | double-precision | Real part of the complex number to raise to a power. Default Value: 1.0.
xImg | double-precision | Imaginary part of the complex number to raise to a power. Default Value: 0.0.
power | double-precision | The power to which to raise the complex number. Default Value: 1.0.
Output
Name | Type | Description
outputReal | double-precision | Real part of the resulting complex power.
outputImg | double-precision | Imaginary part of the resulting complex power.

## 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.