Linear algebra library inspired by hmatrix from Haskell