colour.kernel_linear#
- colour.kernel_linear(x: Any) Any[source]#
Evaluate the linear (triangular) kernel at specified samples.
References
[BB09]
Examples
>>> import numpy as np >>> kernel_linear(np.linspace(0, 1, 10)) array([1. , 0.8888888..., 0.7777777..., 0.6666666..., 0.5555555..., 0.4444444..., 0.3333333..., 0.2222222..., 0.1111111..., 0. ])