Mixing percentages computation inside pixels

The mixing percentages inside pixels are caculated with the relative distances from pixel spectrum to the different reference spectra.

With the following formula :

The percentage of S0 inside s is equal to :