computeLinrgbFromScaledDiscount function
Computes the inverse: "linear RGB from scaled discount".
rgbToXyz is the 3x3 linear-RGB-to-XYZ matrix for the color space.
Implementation
List<List<double>> computeLinrgbFromScaledDiscount(
List<List<double>> rgbToXyz,
) {
final forward = computeScaledDiscountFromLinrgb(rgbToXyz);
return invert3x3(forward);
}