colour.characterisation.polynomial_expansion_Vandermonde#
- colour.characterisation.polynomial_expansion_Vandermonde(a: ArrayLike, degree: int = 1) NDArrayFloat[source]#
Perform polynomial expansion of the specified \(a\) array using the Vandermonde method.
- Parameters:
- Returns:
Polynomial-expanded \(a\) array.
- Return type:
References
Examples
>>> RGB = np.array([0.17224810, 0.09170660, 0.06416938]) >>> polynomial_expansion_Vandermonde(RGB) array([ 0.1722481 , 0.0917066 , 0.06416938, 1. ])