<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">There’s at least two answers to this. 1) Most numerical methods do not have a native Haskell implementation (on Hackage) probably even RK4 so the world is your oyster 2) Most numerical methods have a highly optimised implementation that worries about overflow and underflow etc probably written in Fortran but maybe in C so why re-invent the wheel but just provide bindings to them.<div><br></div><div>My answer is that I would like to have my cake and eat it and I think the new Numeric.LinearAlgebra.Static module starts to do this. I get type safety at compile time and I get speed. Frank tells me he can get pretty close to C speed using unboxed vectors. Maybe we can go even faster using unsafe operations but keeping static guarantees by exploiting the type system in the same way that HMatrix does (type level literals).</div><div><br></div><div>Here’s what I would do if I had time. Look at Julia, pick an interesting library / application, use Vector and Repa to implement, compare speeds while using type level programming to preserve safety. I’d like Haskell to be faster and safer.</div><div><br><div apple-content-edited="true">
<div>Dominic Steinitz</div><div><a href="mailto:dominic@steinitz.org">dominic@steinitz.org</a></div><div><a href="http://idontgetoutmuch.wordpress.com">http://idontgetoutmuch.wordpress.com</a></div>

</div>
<br><div><div>On 24 Nov 2014, at 12:05, Tom Nielsen <<a href="mailto:tanielsen@gmail.com">tanielsen@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I'd say we're lacking in the optimization and classification department. While there are libraries for this, they are mostly bindings to C libraries which makes it more difficult to get information out of the algorithm. We have implemented BFGS and Nelder-mead here: <a href="https://github.com/glutamate/probably-baysig/tree/master/src/Math/Probably">https://github.com/glutamate/probably-baysig/tree/master/src/Math/Probably</a> but that isn't officially open sourced (and lacking L-BFGS).<div><br></div><div>We're also a lot of image processing now, and native Haskell implementations of SIFT and Gaussian mixture model fitting would be extremely useful.</div><div><br></div><div>Tom<br><div><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 5:44 PM, felipe zapata <span dir="ltr"><<a href="mailto:tifonzafel@gmail.com" target="_blank">tifonzafel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div> I want to develop some tools on top of Vector and Repa, and I've wondered what tools   could be useful that are not already on hmatrix.</div><div><br></div><div>Any suggestions would be appreciated,</div><div><br></div><div>Felipe Z.</div><div><br></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></body></html>