From 76177aa280494bb36d7a0bcbda1078d4db717020 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Mon, 9 Dec 2019 11:25:19 +0100 Subject: Official ARM version: v4.5 --- .../DSP/html/group___dotproduct_example.html | 152 +++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 Documentation/DSP/html/group___dotproduct_example.html (limited to 'Documentation/DSP/html/group___dotproduct_example.html') diff --git a/Documentation/DSP/html/group___dotproduct_example.html b/Documentation/DSP/html/group___dotproduct_example.html new file mode 100644 index 0000000..9c2c7b5 --- /dev/null +++ b/Documentation/DSP/html/group___dotproduct_example.html @@ -0,0 +1,152 @@ + + + + + +Dot Product Example +CMSIS-DSP: Dot Product Example + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.4.7 +
+
CMSIS DSP Software Library
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Dot Product Example
+
+
+
Description:
+
Demonstrates the use of the Multiply and Add functions to perform the dot product. The dot product of two vectors is obtained by multiplying corresponding elements and summing the products.
+
Algorithm:
+
The two input vectors A and B with length n, are multiplied element-by-element and then added to obtain dot product.
+
This is denoted by the following equation:
  dotProduct = A[0] * B[0] + A[1] * B[1] + ... + A[n-1] * B[n-1]
+
Block Diagram:
+
+dotProduct.gif +
+
+
Variables Description:
+
    +
  • srcA_buf_f32 points to first input vector
  • +
  • srcB_buf_f32 points to second input vector
  • +
  • testOutput stores dot product of the two input vectors.
  • +
+
+
CMSIS DSP Software Library Functions Used:
+
+
+

Refer arm_dotproduct_example_f32.c

+
+
+ + + + -- cgit