[][src]Crate normal_map

A struct that maps a range of values to the normalized range [0.0, 1.0] using various gradients, useful for DSP applications.

(prerelease)

Structs

DiscreteMapF32

Discrete isize integer mapping

DiscreteMapF64

Discrete isize integer mapping

LinearMapF32

Linear mapping.

LinearMapF64

Linear mapping.

Log2MapF32

Logarithmic mapping using log2

Log2MapF64

Logarithmic mapping using log2

NormalMapF32

A mapper than maps a range of values to and from the normalized f32 range [0.0, 1.0].

NormalMapF64

A mapper than maps a range of values to and from the normalized f64 range [0.0, 1.0].

PowerMapF32

Exponential mapping where the normalized value is raised to the supplied exponent.

PowerMapF64

Exponential mapping where the normalized value is raised to the supplied exponent.

Enums

MapperF32

The type of mapping to use

MapperF64

The type of mapping to use

Unit

The unit to use