Computational Physics in Haskell

I started learning Haskell a little while ago. Although I am a novice I am still in love with it. I am physics major and primarily interested in Theoretical Physics and would like to use Haskell in this area. So, I just know to what has been done in this area, are there any libraries for simulating physical process in Haskell etc. Azeem Ul Hasan School of Science and Engineering, Lahore University of Management Sciences, Lahore, Pakistan

I'd also like to know of any Haskell programs for
theoretical/computational physics.
Hmmmm!
Maybe converting such programs to Haskell.
On Wed, Mar 30, 2011 at 11:23 AM, Azeem -ul-Hasan
I started learning Haskell a little while ago. Although I am a novice I am still in love with it. I am physics major and primarily interested in Theoretical Physics and would like to use Haskell in this area. So, I just know to what has been done in this area, are there any libraries for simulating physical process in Haskell etc. Azeem Ul Hasan School of Science and Engineering, Lahore University of Management Sciences, Lahore, Pakistan
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- -- Regards, KC

On Thu, Mar 31, 2011 at 1:50 AM, KC
I'd also like to know of any Haskell programs for theoretical/computational physics.
Hmmmm!
Maybe converting such programs to Haskell.
On Wed, Mar 30, 2011 at 11:23 AM, Azeem -ul-Hasan
wrote: I started learning Haskell a little while ago. Although I am a novice I am still in love with it. I am physics major and primarily interested in Theoretical Physics and would like to use Haskell in this area. So, I just know to what has been done in this area, are there any libraries for simulating physical process in Haskell etc.
Don't know if this is what you're looking for but I found this pages: [1], [2], [3]. Maybe one of them will contain what you're looking for. [1]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:physics [2]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:scientific%20s... [3]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:simulation -- Mihai

31.03.2011 08:57, Mihai Maruseac пишет:
On Thu, Mar 31, 2011 at 1:50 AM, KC
wrote: I'd also like to know of any Haskell programs for theoretical/computational physics.
Hmmmm!
Maybe converting such programs to Haskell.
On Wed, Mar 30, 2011 at 11:23 AM, Azeem -ul-Hasan
wrote: I started learning Haskell a little while ago. Although I am a novice I am still in love with it. I am physics major and primarily interested in Theoretical Physics and would like to use Haskell in this area. So, I just know to what has been done in this area, are there any libraries for simulating physical process in Haskell etc. Don't know if this is what you're looking for but I found this pages: [1], [2], [3]. Maybe one of them will contain what you're looking for.
[1]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:physics [2]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:scientific%20s... [3]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:simulation
I think that Aivika[3] doesn't suit this task, although it can integrate the ordinary differential equations but they are relatively slow as the focus was mainly on the hybrid simulation and DES. As far as I understand, the fields are quite different. David

I am only a sophomore and haven't taken any course in Computational Physics. So what I would like will be to take a library or program with some excellent documentation and use it as a base for learning about computational physics and Haskell. This is one of the things I plan to do in summer. So, I please make suggestions in this regard. Mihai, from your suggestions HODE and Bullet seem good and little further down I saw http://hackage.haskell.org/package/QIO which is very interesting as most probably I will be taking a course on Quantum Computation after summer and this might make it more interesting. KC's idea of converting an existing such program written in some other language to Haskell is also very exciting, but the program needs to be extensively documented and it would help if it is written in Matlab or Perl , as these are the only languages besides Haskell I have some degree of familiarity with. Another course can be to take some book on Computational Physics and try to implement its ideas in Haskell. So any suggestions is these regards? Azeem
From: mihai.maruseac@gmail.com Date: Thu, 31 Mar 2011 07:57:23 +0300 Subject: Re: [Haskell-cafe] Computational Physics in Haskell To: kc1956@gmail.com CC: azeeem@live.com; Haskell-Cafe@haskell.org
On Thu, Mar 31, 2011 at 1:50 AM, KC
wrote: I'd also like to know of any Haskell programs for theoretical/computational physics.
Hmmmm!
Maybe converting such programs to Haskell.
On Wed, Mar 30, 2011 at 11:23 AM, Azeem -ul-Hasan
wrote: I started learning Haskell a little while ago. Although I am a novice I am still in love with it. I am physics major and primarily interested in Theoretical Physics and would like to use Haskell in this area. So, I just know to what has been done in this area, are there any libraries for simulating physical process in Haskell etc.
Don't know if this is what you're looking for but I found this pages: [1], [2], [3]. Maybe one of them will contain what you're looking for.
[1]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:physics [2]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:scientific%20s... [3]: http://hackage.haskell.org/packages/archive/pkg-list.html#cat:simulation
-- Mihai

On Thu, Mar 31, 2011 at 10:54 AM, Azeem -ul-Hasan
I am only a sophomore and haven't taken any course in Computational Physics. So what I would like will be to take a library or program with some excellent documentation and use it as a base for learning about computational physics and Haskell. This is one of the things I plan to do in summer. So, I please make suggestions in this regard. Mihai, from your suggestions HODE and Bullet seem good and little further down I saw http://hackage.haskell.org/package/QIO which is very interesting as most probably I will be taking a course on Quantum Computation after summer and this might make it more interesting. KC's idea of converting an existing such program written in some other language to Haskell is also very exciting, but the program needs to be extensively documented and it would help if it is written in Matlab or Perl , as these are the only languages besides Haskell I have some degree of familiarity with. Another course can be to take some book on Computational Physics and try to implement its ideas in Haskell. So any suggestions is these regards?
Eh, I only posted those because I looked a few days ago at them while trying to determine if writing an implementation by myself will be a good effort or not.

Azeem -ul-Hasan wrote:
I started learning Haskell a little while ago. Although I am a novice I am still in love with it. I am physics major and primarily interested in Theoretical Physics and would like to use Haskell in this area. So, I just know to what has been done in this area, are there any libraries for simulating physical process in Haskell etc.
There are a few packages that cover most of the physicist's generic needs: dimensional - statically checked units http://hackage.haskell.org/package/dimensional hmatrix - very pleasant to use LAPACK bindings http://hackage.haskell.org/package/hmatrix Best regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com
participants (5)
-
Azeem -ul-Hasan
-
David Sorokin
-
Heinrich Apfelmus
-
KC
-
Mihai Maruseac