In my last article, I looked at NumPY and some of its uses in numerical simulations. Although NumPY does provide some really robust building blocks, it is a bit lacking in more sophisticated tools.
If \(A\) is a \(3\times 3\) matrix then we can apply a linear transformation to each rgb vector via matrix multiplication, where \([r,g,b]\) are the original values ...