Re: [Haskell-cafe] Math libraries for Haskell

2005-01-21 Thread Henning Thielemann

On Tue, 18 Jan 2005, Dmitri Pissarenko wrote:

 Hello!

 Is there a math library for Haskell, using which one can calculate eigenvalues
 of matrices?

http://haskell.org/libraries/#numerics

Indexless linear algebra algorithms

They contain Eigensystem functions, but I remember that they were not very
reliable.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Math libraries for Haskell

2005-01-19 Thread Ketil Malde
Keean Schupke [EMAIL PROTECTED] writes:

 Can I request 2 types, one for dense (complete) matricies and
 another for sparse matricies?

...and maybe also put (!) in a class, so that it can be used as a general
indexing operator for all indexed data structures?  (Or is this
already possible?  I must admit I'm slightly lost in IArray, Ix,
HasBounds etc.) 

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Math libraries for Haskell

2005-01-18 Thread Dmitri Pissarenko
Hello!

Is there a math library for Haskell, using which one can calculate eigenvalues
of matrices?

Thanks in advance

Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Math libraries for Haskell

2005-01-18 Thread John Meacham
On Tue, Jan 18, 2005 at 08:25:46PM +0100, Dmitri Pissarenko wrote:
 Hello!
 
 Is there a math library for Haskell, using which one can calculate eigenvalues
 of matrices?

There is a binding to BLAS/LAPACK at http://www.isi.edu/~hdaume/HBlas/
but it might be too heavyweight for just calculating eigenvalues.
however, it should be fast :)

A standard matrix representation in the libraries would be nice. (not
necessarily all matrix operations, but a representation/type so different
peoples matrix libraries can play nice with each other)
I was thinking something like a general matrix type, which a class for things
that can be converted too it, and another class with a partial function
for converting the general matricies to specific implementation
versions. (so that one can write a library only for square
matricies for instance and still use the general conversion routines)
But I am sure others have given this more thought...
John

-- 
John Meacham - repetae.netjohn 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Math libraries for Haskell

2005-01-18 Thread Dmitri Pissarenko
Are you interested in seeing Haskell implementation of these
algorithms, or are you interested in using eignevalues in some Haskell
program?
I am interested in using eigenvalues in a Haskell program.
This seems like a perfect candidate for using FFI if you're just
looking for fast eigenvalue computations (though you'll need to
write/find a C library to do it first).
You mean that I have to write a program in C (or other language), which
calculates the eigenvalues, and then let the C program co-operate with the
Haskell program via FFI?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Math libraries for Haskell

2005-01-18 Thread Sebastian Sylvan
On Tue, 18 Jan 2005 20:41:28 +0100, Dmitri Pissarenko
[EMAIL PROTECTED] wrote:
  Are you interested in seeing Haskell implementation of these
  algorithms, or are you interested in using eignevalues in some Haskell
  program?
 
 I am interested in using eigenvalues in a Haskell program.
 
  This seems like a perfect candidate for using FFI if you're just
  looking for fast eigenvalue computations (though you'll need to
  write/find a C library to do it first).
 
 You mean that I have to write a program in C (or other language), which
 calculates the eigenvalues, and then let the C program co-operate with the
 Haskell program via FFI?
 

No you don't have to (see the other replies), it just seems to me
that these types of things is probably widely available already as C
libraries, and by simply interfacing to one of those you'll likely get
better speed (if that is indeed important to you) than just writing it
in Haskell directly.


-- 
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


math libraries

2000-04-19 Thread Sebastian Schulz

Hi folks!

Where can I find math libraries with functions for differential and
integration calculus, statistics, lin. algebra, ...?

Regards Sebastian

-- 

  | Sebastian Schulz
  May the source be with you! | mailto:[EMAIL PROTECTED]