Remove MathLib scalar product

Another step towards using Eigen for small vectors replacing our legacy implementation of scalar product.

Replacing the last usage of scalarProduct in raster code. Then removing the scalarProduct.

Review commit-wise.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Dmitry Yu. Naumov

Merge request reports