3 ms·
So on a tangent, does anybody have a nice article on numerical methods with Haskell? I've used Haskell for other things, but I've never endeavored to try doing
by gh02t 11y ago
So on a tangent, does anybody have a nice article on numerical methods with Haskell? I've used Haskell for other things, but I've never endeavored to try doing any sort of heavy number crunching because it seemed a bit weird.
My standard test is implementing GMRES. I gave it some thought once and I couldn't come up with a non-awkward way to do it in Haskell. Mostly I get caught up on how to do the Arnoldi process as it requires lots of manipulation of submatrices. I couldn't ever seem to find a library that was nice for matrix manipulation. What do people mostly use? Also, what's the idiomatic way to do nitty-gritty matrix operations? Entrywise manipulation of a matrix doesn't seem very Haskell-ish to me, but it's not something you can really avoid in this application.
- carterschonwald 11y agoI've been slowly working on a nice library in that space for the past few years. It's not quite there yet, but I'll be spending a bit of time this Summer getting it into shape
- gh02t 11y agoCool. I feel like it's an area that's kind of under-served (or that I'm ignorant of). Haskell has a much more mathy flavor than a lot of the more traditional scientific languages and it seems to me like it should be really great for implementing algorithms based on their mathematical description, but I haven't really figured out the details yet. I've used Haskell in other projects, but this application eludes me.