CxDotProduct
- Updated2023-02-21
- 1 minute(s) read
Advanced Analysis Library Only
AnalysisLibErrType CxDotProduct (NIComplexNumber vectorX[], NIComplexNumber vectorY[], ssize_t numberOfElements, NIComplexNumber *dotProduct);
Purpose
Calculates the dot product of the complex input arrays. Use the following formula to obtain the dot product d:

Parameters
Input | ||
Name | Type | Description |
vectorX | NIComplexNumber [] | First complex input vector. The following C typedef statement defines the ComplexNum structure: typedef struct { double real; |
vectorY | NIComplexNumber [] | Second complex input vector. The following C typedef statement defines the ComplexNum structure: typedef struct { double real; |
numberOfElements | ssize_t | Number of elements in each vector. |
Output | ||
Name | Type | Description |
dotProduct | NIComplexNumber | Complex dot product of the input vectors. |
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