Module rgb_derivation::matrix[][src]

Traits

Scalar

Trait for scalar type used in calculations.

Functions

calculate

Calculates change of basis matrix for moving from linear RGB to XYZ colour spaces.

inversed_copy

Returns inversion of a 3✕3 matrix M, i.e. M⁻¹.

transposed

Transposes a 3×3 matrix. Consumes the argument and returns a new matrix.

transposed_copy

Transposes a 3×3 matrix. Constructs a new matrix and returns it.

Type Definitions

Matrix

A two-dimensional 3×3 array.