[Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-06 Thread Patrick Perry
Wow, thanks for noticing, Alberto! For anyone interested, I put up a formal announcement describing the bindings a little bit here: http://quantile95.com/ I just registered the domain yesterday, so it may take a few days to resolve the DNS magic. Here's the text of the announcement: I’m

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-06 Thread Xiao-Yong Jin
(Sorry, Patrick. I forgot to CC haskell-cafe.) Salute! Excellent! Patrick Perry <[EMAIL PROTECTED]> writes: > Wow, thanks for noticing, Alberto! For anyone interested, I put up a > formal announcement describing the bindings a little bit here: > > http://quantile95.com/ > > I just registered

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-06 Thread Patrick Perry
a function like foo :: (BLAS1 e) => Matrix (m,n) e -> Matrix (n,k) e -> Int -> Vector m e foo a b i = let x = row b i in a <*> x will not type-check. (”<*>” is the function to multiply a matrix by a vector. Everything is ok if you replace “row” by “col”.) This feature has caught a few bugs in m

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-07 Thread Alberto Ruiz
Patrick Perry wrote: > Xiao-Yong Jin wrote: Apart from some warnings, the library compiles fine in my system. But there is a minor issue about the library it links against when `./Setup test'. I need to use `-lcblas' instead of `-lblas' to get it to link to correct libraries. I don't know othe

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-07 Thread Alberto Ruiz
Xiao-Yong Jin wrote: > Salute! Excellent! > > Patrick Perry <[EMAIL PROTECTED]> writes: > >> >>* Support for both immutable and mutable types. Haskell tries >> to make you use immutable types as much as possible, and indeed there >> is a very good reason for this, but sometimes you have

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-08 Thread Judah Jacobson
2008/6/6 Patrick Perry <[EMAIL PROTECTED]>: > > Apart from some warnings, the library compiles fine in my > system. But there is a minor issue about the library it > links against when `./Setup test'. I need to use `-lcblas' > instead of `-lblas' to get it to link to correct libraries. > I don't

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-08 Thread Bryan O'Sullivan
Judah Jacobson wrote: > My preference is to use an autoconf script to solve that problem. > ("build-type: Configure" in the cabal file.) That approach would not work well for BLAS. The various BLAS libraries have profoundly different performance characteristics, and you wouldn't want to get the

Re: [Haskell-cafe] Re: Patrick Perry's BLAS package

2008-06-08 Thread Xiao-Yong Jin
"Bryan O'Sullivan" <[EMAIL PROTECTED]> writes: > Judah Jacobson wrote: > >> My preference is to use an autoconf script to solve that problem. >> ("build-type: Configure" in the cabal file.) > > That approach would not work well for BLAS. The various BLAS libraries > have profoundly different perf