Alexey Kuleshevich

Results 361 comments of Alexey Kuleshevich

Matrix multiplication is already implemented as [`(|*|)`](https://www.stackage.org/haddock/lts-11.5/massiv-0.1.6.1/Data-Massiv-Array-Numeric.html#v:-124--42--124-), but ~currently it isn't particularly fast~, so it does need some love. **Edit** `|*|` did receive a bit of love :heart: in caf38ee379ac910ab4762c85cfd25c00c1fbe611...

@lancelet I don't think it would be a good goal to have a general abstract interface that would work for all array libraries in Haskell. Certainly not a backpack thing...

You can already do it with a bit of wrapper code. There is a `mmap` package that allows you to get ahold of a `ForeignPtr` to mmaped file with something...

> If you expect massiv to be used in numerics code, you should keep in mind that such code often has to deal with data sets exceeding available RAM by...

@fosskers That's a great question! Your assumption is correct, it would be fairly easy to implement upsampling (the ballooning up or adding new elements) right now using `traverse` or even...

Hey @fosskers, hope you are doing well. Just wanted to let you know that in the newest release of massiv-0.2.1 I added `Stride` functionality, which is the opposite of "balooning"...

That's precisely where `Stride` can be useful. So here is an example you are talking about: ```haskell downSizeX3 :: (Load r' Ix2 Double, Manifest r' Ix2 Double, Mutable r Ix2...

In case if you want to scale by two: ```haskell average2x2Filter :: Stencil Ix2 Double Double average2x2Filter = makeStencil (2 :. 2) (0 :. 0) $ \ get -> (...

@Soupstraw looks like you [are hitting this bug as well](https://gitlab.haskell.org/ghc/ghc/-/issues/21973). Can't quite pinpoint where exactly is the problem, but the tests indicate that it is in the `Data` type.

With regards to displaying Predicate failures in the CLI to the user then `pretttyprinter` is a good choice. However general rule of thumb with the logs `String` or pretty printing...