Looking for SciLib

2011-12-20 Thread Paul D. Anderson
I recall seeing several times someone mentioning they were 
working on a project called "SciLib" or "SciLb" or similar. If 
you're that person or if you know who that person is, could you 
send me an e-mail?


Paul


Re: Looking for SciLib

2011-12-20 Thread jerro
Paul D. Anderson Wrote:

> I recall seeing several times someone mentioning they were 
> working on a project called "SciLib" or "SciLb" or similar. If 
> you're that person or if you know who that person is, could you 
> send me an e-mail?
> 
> Paul

Maybe you mean this project:

https://github.com/kyllingstad/scid/wiki


Re: Looking for SciLib

2011-12-20 Thread Paul D. Anderson

On Tuesday, 20 December 2011 at 22:42:58 UTC, jerro wrote:

Paul D. Anderson Wrote:

I recall seeing several times someone mentioning they were 
working on a project called "SciLib" or "SciLb" or similar. If 
you're that person or if you know who that person is, could 
you send me an e-mail?


Paul


Maybe you mean this project:

https://github.com/kyllingstad/scid/wiki


Yes, that's it exactly. Thanks!


Re: Looking for SciLib

2011-12-20 Thread Trass3r

Maybe you mean this project:

https://github.com/kyllingstad/scid/wiki


Yes, that's it exactly. Thanks!


Note that Christi's fork contains important new code from GSoC.


Re: Looking for SciLib

2011-12-20 Thread filgood

On 20/12/2011 22:45, Paul D. Anderson wrote:

On Tuesday, 20 December 2011 at 22:42:58 UTC, jerro wrote:

Paul D. Anderson Wrote:


I recall seeing several times someone mentioning they were working on
a project called "SciLib" or "SciLb" or similar. If you're that
person or if you know who that person is, could you send me an e-mail?

Paul


Maybe you mean this project:

https://github.com/kyllingstad/scid/wiki


Yes, that's it exactly. Thanks!

or this?...seems contain further development

https://github.com/cristicbz/scid




Re: Looking for SciLib

2011-12-20 Thread dsimcha

On 12/20/2011 5:58 PM, filgood wrote:

or this?...seems contain further development

https://github.com/cristicbz/scid




I mentored that GSoC project, so since people appear to be interested in 
it I'll give a status report.


The GSoC project was left in a somewhat rough/half-finished state at the 
end of GSoC because of several unanticipated problems and the ambitious 
(possibly overly so) nature of the project.  Cristi (the GSoC student I 
mentored) and I have been slowly improving things since the end of GSoC 
but both of us have limited time to work on it.


From GSoC we got a solid set of matrix/vector containers and an 
expression template system.  AFAIK there are no major issues with these. 
 The expression template system supports addition, subtraction, 
multiplication and division/inversion with matrices, vectors and scalars.


The expression template evaluator works well for general matrix storage, 
but is badly broken for packed matrices (e.g. triangular, symmetric, 
diagonal).  Fixing this is time consuming but is a simple matter of 
programming.


I'm starting to implement Lapack wrappers for common matrix 
factorizations in scid.linalg.  These are tedious to write because of 
the obtuseness of the Lapack API and the need to support both a 
high-level interface and one that allows very explicit memory 
management.  Again, though, it's a simple matter of programming.


There are a few performance problems that need to be ironed out (though 
perhaps I should do some benchmarking before I claim so boldly that 
these problems are serious).  See 
https://github.com/cristicbz/scid/issues/77 .


After the above issues are resolved, I think the next thing on the 
roadmap would be to start building on this foundation to add support for 
higher level scientific computing stuff.  For example, I have a bunch of 
statistics/machine learning code (https://github.com/dsimcha/dstats) 
that was written before SciD existed.  I'm slowly integrating with 
SciD's current foundation and will probably merge it with SciD once SciD 
is more stable and bug-free.


Re: Looking for SciLib

2011-12-25 Thread Lars T. Kyllingstad
On Tue, 20 Dec 2011 23:38:05 +0100, Paul D. Anderson wrote:

> I recall seeing several times someone mentioning they were working on a
> project called "SciLib" or "SciLb" or similar. If you're that person or
> if you know who that person is, could you send me an e-mail?

Hi!  Author of SciD here.  I know you've gotten some replies already, but 
I just thought I'd clarify a few things.

As you've been told, you can find SciD at GitHub:

https://github.com/kyllingstad/scid/wiki

It's been a while since I added anything new to it, but the project is by 
no means dead.  If you find any bugs, please let me know, and I will fix 
them as soon as I am able.

As others have pointed out, Cristi Cobzarenco forked my code when he was 
writing a linear algebra library for GSoC.  However, in the process he 
has removed almost everything that is not related to linear algebra.

In other words, if you are looking for a linear algebra library, you 
should get Cristi's library, whereas if you are looking for calculus or 
nonlinear equation solvers you should check out mine.  (My library has 
some linear algebra stuff in it as well, but it is pretty limited, 
feature-wise.)

Let me know if you have any questions. :)

-Lars


Re: Looking for SciLib

2011-12-25 Thread Jonathan M Davis
On Sunday, December 25, 2011 15:52:25 Lars T. Kyllingstad wrote:
> As others have pointed out, Cristi Cobzarenco forked my code when he was
> writing a linear algebra library for GSoC. However, in the process he
> has removed almost everything that is not related to linear algebra.

Sounds like they should probably be merged at some point.

- Jonathan M Davis


Re: Looking for SciLib

2011-12-25 Thread dsimcha
On Monday, 26 December 2011 at 00:46:44 UTC, Jonathan M Davis 
wrote:

Sounds like they should probably be merged at some point.

- Jonathan M Davis


Yeah, I've started working on Cristi's fork now that I've built a 
good enough mental model of the implementation details that I can 
modify the code.  This fork is still very much a work in 
progress.  A merge with Lars's code is a good idea at some point, 
but right now debugging and fleshing out the linalg stuff is a 
higher priority.


Re: Looking for SciLib

2011-12-26 Thread Lars T. Kyllingstad
On Mon, 26 Dec 2011 02:13:53 +0100, dsimcha wrote:

> On Monday, 26 December 2011 at 00:46:44 UTC, Jonathan M Davis wrote:
>> Sounds like they should probably be merged at some point.
>>
>> - Jonathan M Davis
> 
> Yeah, I've started working on Cristi's fork now that I've built a good
> enough mental model of the implementation details that I can modify the
> code.  This fork is still very much a work in progress.  A merge with
> Lars's code is a good idea at some point, but right now debugging and
> fleshing out the linalg stuff is a higher priority.

So submitting Cristi's library for inclusion in Phobos is now off the 
table?

-Lars


Re: Looking for SciLib

2011-12-26 Thread Lars T. Kyllingstad
On Sun, 25 Dec 2011 15:52:25 +, Lars T. Kyllingstad wrote:

> It's been a while since I added anything new to it, but the project is
> by no means dead.  If you find any bugs, please let me know, and I will
> fix them as soon as I am able.

I just noticed that SciD didn't compile due to some changes in recent 
compiler versions.  I've fixed and updated it now.

-Lars


Re: Looking for SciLib

2011-12-26 Thread dsimcha
On Monday, 26 December 2011 at 10:11:01 UTC, Lars T. Kyllingstad 
wrote:
So submitting Cristi's library for inclusion in Phobos is now 
off the table?


-Lars


In the _near_ future, yes.  It's still too much of a work in 
progress.  Submitting to Phobos is still the eventual goal, 
though.