Function parpe::getScalarProduct

Function Documentation

double parpe::getScalarProduct(gsl::span<const double> v, gsl::span<const double> w)

Get scalar product of two vectors.

Parameters
  • v

  • w

Returns

the scalar product