Re: [Haskell-cafe] Is anyone working on a sparse matrix library in Haskell?
Woops, forgot I switched to darcs after some time. The latest version can be found here: http://www.funfem.org/browser/Numeric/Funfem/Algebra Adrien On Sunday 02 December 2012 00:00:32 Adrien Haxaire wrote: > Hello, > > I started a FEM library, funfem [1], but I stopped it for the moment; > Haskell is my hobby and I work on FEM all day long, I prefer to focus on > orthogonal problems for home projects. It is a very naive implementation. > Far from a version 0.0.1 too, i.e. unusable at the moment. > > I did not test the performance as it was not my main goal, so the following > may not be completely relevant to your purpose. > > I define a type Tensor [2], which is a sparse matrix based on Data.Map. Not > sure how efficient it is, I chose to start simple. The resulting conjugate > gradient [3] is very clear. > > Please let us know how it goes, it's good to see more traction towards > Haskell from our field, and I'll be glad to use your library ! > > Best regards, > Adrien > > [1] http://www.funfem.org > > [2] > https://github.com/adrienhaxaire/funfem/blob/master/Numeric/Funfem/Algebra/T > ensor.hs > > [3] > https://github.com/adrienhaxaire/funfem/blob/master/Numeric/Funfem/Algebra/S > olver/CG.hs > On Thursday 29 November 2012 14:03:04 Mark Flamer wrote: > > I am looking to continue to learn Haskell while working on something that > > might eventually be useful to others and get posted on Hackage. I have > > written quite a bit of Haskell code now, some useful and a lot just throw > > away for learning. In the past others have expressed interest in having a > > native Haskell sparse matrix and linear algebra library available(not just > > bindings to a C lib). This in combination with FEM is one of my interests. > > So my questions, is anyone currently working on a project like this? Does > > it seem like a good project/addition to the community? I'm also > > interested if anyone has any other project idea's, maybe even to > > collaborate on. Thanks > > > > > > > > -- > > View this message in context: > > http://haskell.1045720.n5.nabble.com/Is-anyone-working-on-a-sparse-matrix- > > l > > ibrary-in-Haskell-tp5721452.html Sent from the Haskell - Haskell-Cafe > > mailing list archive at Nabble.com. > > > > ___ > > Haskell-Cafe mailing list > > Haskell-Cafe@haskell.org > > http://www.haskell.org/mailman/listinfo/haskell-cafe -- Adrien Haxaire www.adrienhaxaire.org | @adrienhaxaire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Is anyone working on a sparse matrix library in Haskell?
Hello, I started a FEM library, funfem [1], but I stopped it for the moment; Haskell is my hobby and I work on FEM all day long, I prefer to focus on orthogonal problems for home projects. It is a very naive implementation. Far from a version 0.0.1 too, i.e. unusable at the moment. I did not test the performance as it was not my main goal, so the following may not be completely relevant to your purpose. I define a type Tensor [2], which is a sparse matrix based on Data.Map. Not sure how efficient it is, I chose to start simple. The resulting conjugate gradient [3] is very clear. Please let us know how it goes, it's good to see more traction towards Haskell from our field, and I'll be glad to use your library ! Best regards, Adrien [1] http://www.funfem.org [2] https://github.com/adrienhaxaire/funfem/blob/master/Numeric/Funfem/Algebra/Tensor.hs [3] https://github.com/adrienhaxaire/funfem/blob/master/Numeric/Funfem/Algebra/Solver/CG.hs On Thursday 29 November 2012 14:03:04 Mark Flamer wrote: > I am looking to continue to learn Haskell while working on something that > might eventually be useful to others and get posted on Hackage. I have > written quite a bit of Haskell code now, some useful and a lot just throw > away for learning. In the past others have expressed interest in having a > native Haskell sparse matrix and linear algebra library available(not just > bindings to a C lib). This in combination with FEM is one of my interests. > So my questions, is anyone currently working on a project like this? Does it > seem like a good project/addition to the community? I'm also interested if > anyone has any other project idea's, maybe even to collaborate on. Thanks > > > > -- > View this message in context: > http://haskell.1045720.n5.nabble.com/Is-anyone-working-on-a-sparse-matrix-l > ibrary-in-Haskell-tp5721452.html Sent from the Haskell - Haskell-Cafe > mailing list archive at Nabble.com. > > ___ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe -- Adrien Haxaire www.adrienhaxaire.org | @adrienhaxaire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Introducing FP Complete
On Tue, Jun 05, 2012 at 06:22:48PM -0700, Bartosz Milewski wrote: > You might have seen a few post by me mentioning FP Complete and > asked yourself the question: Who is this guy and what is FP > Complete? Hello Bartosz, I have been reading your blog for half a year, when I started learning C++ for my job. Your implication in Haskell is a strong position, and may not have been well percepted, but I know that I (at least) will learn lots thanks to you, both in Haskell and C++. And welcome onboard too :) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] indentation blues
Regarding, your question whether this is worth switching from vim to emacs. I've been using both editors for some years and I very much doubt, that "you wouldn't spend much time learning emacs". If you are comfortable with vim, stick with it, unless you are interested in Emacs or one of its really great modes: org and auctex/reftex. Regarding, the vi emulations, I'd say they are nice should you ever be forced to use emacs for some time. But I don't recommend them, I've tried them all. They are not the real thing. Most of them are vi not vim emulators. And they always feel like second class citizens in emacs land. YMMW. Thanks for your feedback. I've never tried vim so I couldn't tell precisely. I thought the emulations were nice enough to save time learning emacs. If they are second class citizens, I agree it would be wiser to stick with vim then. Adrien ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] indentation blues
Hello, I don't know how the indent.hs file works for the vim mode, but as you are asking for another indent.hs file, here is the link to the indent.hs file in emacs haskell-mode: https://github.com/jwiegley/haskell-mode/blob/8067b7547f047352c41af2374e3246b5504c7741/indent.hs Maybe you can use it in the vim mode ? If not, the emacs haskell mode is nice, and coming from vim you wouldn't spend much time learning emacs. there is also a vi emulator I think, though I haven't tested it. Hope that helps, Adrien On Mon, 12 Dec 2011 16:50:24 -0800, Martin DeMello wrote: The vim autoindent for haskell is really bad :( Is there a better indent.hs file floating around somewhere? Alternatively, is the emacs haskell mode better enough that it's worth my time learning my way around emacs and evil? martin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems
You're welcome :) Adrien On Mon, 4 Jul 2011 19:09:50 +0400, Dmitri O.Kondratiev wrote: I noticed that ) I removed GHC 6 completely. Then installed platform-independent GHC 7 compiler. Next to configure and eventually compile Haskell Platform I had to install libgmp3-dev, zlib and OpenGL libraries. Istall and cabal update went smoothly. Now I got : GHCi, version 7.0.3 Great! Thanks! ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems
To install GHC 7, have you completely de-installed GHC 6.12.3 and all related libraries ? I am not sure if uninstalling GHC 6.12.3 is mandatory, but I did it to have a clean Haskell installation. Then I did what anonymous has summarized below: Just download the Haskell Platform and GHC 7: http://lambda.galois.com/hp-tmp/2011.2.0.1/haskell-platform-2011.2.0.1.tar.gz [5] http://haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-unknown-linux.tar.bz2 [6] Extract ghc, change into the directory, run configure, then make install as root. After that, extract the haskell platform, change into the directory, configure, make, make install as root. Then run cabal update. The haskell platform is broken on Natty. https://bugs.launchpad.net/ubuntu/+source/haskell-platform/+bug/742052 [7] Adrien ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems
Hello, I encountered the same kind of problems with the dependencies, GHC 6.12 etc. I dropped the idea of installing Haskell Platform with synaptic. I installed it manually and I don't have any problem since then. I installed first a precompiled binary version GHC 7 then the Haskell Platform 2011. It takes more time (about 2 hours on my case), but you are sure to have the lastest version of GHC and Haskell Platform. I had to assign some symlinks manually, but it took me 5 min. Adrien On Mon, 4 Jul 2011 17:04:41 +0400, Dmitri O.Kondratiev wrote: Hi, I am trying to install Haskell Platform on latest Ubuntu desktop: ( uname -a: Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux ) I started with installing GHC. Ubuntu could only install version 6.12.3: without Cabal! Now I am trying to install haskell-platform which is a separate package. Ubuntu suggests to insatll version 2010.1.0.0.1 and fails (see bellow). What sould I do now to get GHC + Cabal? Should I: 1) De-insatll GHC 6.12.3 and all related libraries and try then installing Haskell Platform again? 2) Should I install Caball separately and forget about Haskell Platform? 3) Provide somehow for two different installations? Thanks! ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] *GROUP HUG*
On Wed, 01 Jun 2011 11:46:36 +0200, Henning Thielemann wrote: Really, you can write foldr in terms of foldl? So far I was glad I could manage the opposite direction. i didn't try it, that was just an example of how strange/interesting the enthusiasm appeared to me when i started Haskell. good exercise though, as even if it cannot be done (for which i have no clue), the explanation of it is interesting too. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] *GROUP HUG*
Le 31/05/2011 21:15, Alberto G. Corona a écrit : Haskell is an academic asset as well as a fun asset. I fully agree. These are two of the three reasons which made me choose haskell as the functional language to learn. Coding fortran all day, I wanted a new approach on programming. The strong scientific roots of haskell would give me stuff to learn and discover for a lot of time. The atmosphere/halo around haskell was intriguing too: "come on! it's fun! i can write foldr with foldl!" is not the kind of enthusiasm I was used too :) The third reason is, as you already now, the community. Never have seen so much encouragements, help, time, humility, jokes,... crossing the gap takes some time, but when you feel that lots of people are glad you're here, it's just constant joy. group hug ! ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe