MCPcopy Create free account
hub / github.com/TheAlgorithms/C / dot_prod

Function dot_prod

geometry/vectors_3d.c:76–88  ·  view source on GitHub ↗

* Obtain the dot product of two 3D vectors. * @f[ * \vec{a}\cdot\vec{b}=a_xb_x + a_yb_y + a_zb_z * @f] * @param[in] a first vector * @param[in] b second vector * @returns resulting dot product */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

vector_normFunction · 0.85
get_angleFunction · 0.85
testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected