| Target Support Package™ TC6 | ![]() |
C64x DSP Library — Math and Matrices
The C64x Vector Dot Product block computes the vector dot product of two real input vectors, X and Y. The input vectors must have the same dimensions and must be signed 16-bit fixed-point data types. The number of samples per channel of the inputs must be a multiple of four. The output is a signed 32-bit fixed-point scalar on each channel, and the number of fractional bits of the output is equal to the sum of the number of fractional bits of the inputs.
The Vector Dot Product block supports both continuous and discrete sample times. This block supports little-endian code generation only.

In simulation, the Vector Dot Product block is equivalent to the TMS320C64x DSP Library assembly code function DSP_dotprod. During code generation, this block calls the DSP_dotprod routine to produce optimized code.
![]() | C64x Symmetric Real FIR | C64x Vector Maximum Index | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |