LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

DotProduct

AnalysisLibErrType DotProduct (double vectorX[], double vectorY[], ssize_t numberOfElements, double *dotProduct);

Purpose

Calculates the dot product of the real input vectors. DotProduct obtains the dot product using the following formula:

Parameters

Input
Name Type Description
vectorX double [] First vector used in the computation of the dot product.
vectorY double [] Second vector used in the computation of the dot product.
numberOfElements ssize_t Number of elements used in the computation of the dot product.
Output
Name Type Description
dotProduct double 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: Analysis Library

Include file: analysis.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Log in to get a better experience