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

Function vector_dot

numerical_methods/qr_decompose.h:43–54  ·  view source on GitHub ↗

* Compute dot product of two vectors of equal lengths * * If \f$\vec{a}=\left[a_0,a_1,a_2,...,a_L\right]\f$ and * \f$\vec{b}=\left[b_0,b_1,b_1,...,b_L\right]\f$ then * \f$\vec{a}\cdot\vec{b}=\displaystyle\sum_{i=0}^L a_i\times b_i\f$ * * \returns \f$\vec{a}\cdot\vec{b}\f$ */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

vector_magFunction · 0.85
vector_projFunction · 0.85
qr_decomposeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected