Function opensn::Dot(const std::vector<double>&, const std::vector<double>&)
Defined in File math.h
Function Documentation
-
double opensn::Dot(const std::vector<double> &x, const std::vector<double> &y)
Computes the dot product of two vectors.
\[\mathrm{a} \cdot \mathrm{b}=\sum_{i=1}^{n} a_{i} b_{i} \]