Function opensn::Dot(const std::vector<double>&, const std::vector<double>&)

Function Documentation

double opensn::Dot(const std::vector<double> &x, const std::vector<double> &y)

Compute the dot product of two vectors: \(a \cdot b=\sum_{i=1}^{n} a_{i} b_{i}\).