Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

numerical library in C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
schouwla@yahoo.com - 06 Nov 2006 10:13 GMT
Does anyone know of a good open source library writte in C# ?
I need optimization, root finding,  minimization, interpolation  etc..

Regards
Lars
Fred Mellender - 06 Nov 2006 12:41 GMT
http://www.exocortex.org/dsp/

http://nmath.sourceforge.net/wiki/index.php/Main_Page

> Does anyone know of a good open source library writte in C# ?
> I need optimization, root finding,  minimization, interpolation  etc..
>
> Regards
> Lars
zoltan_papp_123456@yahoo.com - 06 Nov 2006 13:20 GMT
Try netlib.org. I used the cephes mathematical library that was written
in C but than you can
use DllImport to import the C functions into C#.

Good luck !

Zoltan.
www.konor.org
schouwla@yahoo.com - 08 Nov 2006 02:11 GMT
Zoltan,

Will there be a huge performance problem when I wrap in c code?
Performance lost when setting up the call and reading in the result
from dotnet to c?

Lars

> Try netlib.org. I used the cephes mathematical library that was written
> in C but than you can
[quoted text clipped - 4 lines]
> Zoltan.
> www.konor.org
zoltan_papp_123456@yahoo.com - 09 Nov 2006 13:54 GMT
Hi Lars,

I do not have specific knowledge that it would be slow but i think that
it should be fast since the functions are fetched from a dll where the
dll holds the pre-loadable versions
of the functions. All it has to do is to look up the entry point of the
function in the dll.
When you do it in Visual Studio, it happens through the name of the
functions. If you view the content of the dll, then you will see the
names of the functions that you are calling.
Once the code is compiled i guess that the call goes by direct address
and so on.

So to answer your question i should think that DllImport does not cause
significant performance loss in your program.

Zoltan.

schouwla@yahoo.com ?rta:
> Zoltan,
>
[quoted text clipped - 12 lines]
> > Zoltan.
> > www.konor.org

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.