Ase::Logscale struct

Logarithmically map (and invert) a range onto 0…+1.

Public functions

auto iscale(double mmvalue) const →  double
Calculate normalized from a scale() result within [min … max].
auto scale(double normalized) const →  double
Calculate scale value within [min … max] from normalized x.
void setup(double min, double max)
Provide minimum and maximum values to be mapped.