Optimized Remap

Remaps a list of numbers to a new target domain without needing a Bounds component.

Utilities Nickname: OptRemap

Overview

Remaps a list of numbers to a new target domain without needing a Bounds component.

Inputs (2)

  • Values (Number): List of numbers to remap
  • Target (Interval): The target domain to remap the values into

Outputs (1)

  • Remapped (Number): The remapped numbers

Method, assumptions and simplifications

The same notes appear in the component's Info output.

Method

  1. Finds the minimum and maximum of Values and maps each value linearly: Target start + (value − min) / (max − min) × (Target end − Target start). If all values are equal they all map to Target start.

Assumptions

  • Values are finite numbers.

Simplifications and limits

  • None beyond linear min-max scaling; outliers set the range.