:: Int -> IO [Int] -> IO [Int] package:linear

Scalar-matrix product
>>> 5 *!! V2 (V2 1 2) (V2 3 4)
V2 (V2 5 10) (V2 15 20)
Matrix-scalar product
>>> V2 (V2 1 2) (V2 3 4) !!* 5
V2 (V2 5 10) (V2 15 20)