Expand description

The Spectrum type hides the details of the particular spectral representation used, so that changing this detail of the system only requires changing the Spectrum implementation.

Structs

An iterator over the variants of Self

Enums

Constants

Functions

Find responsible interval and linearly interpolate between the two sample values.

Calculate XYZ representation from RGB coefficients.

Are the values sorted by wavelength?

Calculate RGB coefficients from a XYZ representation.