This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_vector_dot_product

Function Documentation

double rc_vector_dot_product(rc_vector_t v1, rc_vector_t v2)

Calculates the dot product of two equal-length vectors.

  • v1[in] User’s vector struct

  • v2[in] User’s vector struct


Returns the dot product, or prints and error message and returns -1.0f on error.