normalize function

This function normalizes the values in a vector to the range [new_min, new_max] based on their original range [old_min, old_max].

  • Maintainer: Mark Colley
  • License: MIT + file LICENSE
  • Last published: 2026-01-08