Thank you, I have checked them out. Both SciD and dstats look useful. We would have to supplement with our own math libraries and bindings to various C/Fortran libraries I think. I am just exploring possibilities because of the endless troubles we have with compiling and linking C++ code on Mac, Linux, and Windows and thus why we've never compiled our math models (which makes them really slow). For estimation problems, it's just not workable without compiling the model at runtime to native code. It was my thought that D would make the step easier and faster than C++. But is does have to work on Mac, Windows, and Linux user desktops.<div>
<br></div><div>-Mike<br><br><div class="gmail_quote">On Mon, Oct 11, 2010 at 9:56 AM, Lars T. Kyllingstad <span dir="ltr"><public@kyllingen.nospamnet></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, 10 Oct 2010 20:30:52 -0400, Michael Stover wrote:<br>
<br>
> Can one call fortran libraries from D? Ie, say one wanted to use LAPACK<br>
> from D?<br>
<br>
</div>Since it is possible in C, it should be possible in D. A quick search<br>
turned up this page:<br>
<br>
<a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialMixingFortranAndC.html" target="_blank">http://www.yolinux.com/TUTORIALS/LinuxTutorialMixingFortranAndC.html</a><br>
<br>
When it comes to LAPACK (and BLAS), Bill Baxter has already written D1<br>
bindings. I've converted them to D2 and published them (with his kind<br>
permission) as part of SciD (see scid.bindings.*). Which brings me to<br>
your next question...<br>
<div class="im"><br>
<br>
> Also, know of any mathematical libraries written in D (like<br>
> implementations of runge-kutta, linear algebra routines and data<br>
> structures, optimization or curve-fitting algorithms)?<br>
<br>
</div>Of the things you mention, SciD only contains a few linear algebra<br>
routines (see scid.linalg and the aforementioned BLAS/LAPACK bindings).<br>
There may be other things you'll find useful in there, though:<br>
<br>
<a href="http://www.dsource.org/projects/scid" target="_blank">http://www.dsource.org/projects/scid</a><br>
<br>
Also, check out this list (may not be up to date):<br>
<br>
<a href="http://www.prowiki.org/wiki4d/wiki.cgi?ScientificLibraries" target="_blank">http://www.prowiki.org/wiki4d/wiki.cgi?ScientificLibraries</a><br>
<br>
<br>
-Lats<br>
</blockquote></div><br></div>