473,395 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

numerical library in C#

Does anyone know of a good open source library writte in C# ?
I need optimization, root finding, minimization, interpolation etc..

Regards
Lars

Nov 6 '06 #1
4 3093
http://www.exocortex.org/dsp/

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

<sc******@yahoo.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Does anyone know of a good open source library writte in C# ?
I need optimization, root finding, minimization, interpolation etc..

Regards
Lars

Nov 6 '06 #2
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

Nov 6 '06 #3
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

zo****************@yahoo.com wrote:
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
Nov 8 '06 #4
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.
sc******@yahoo.com írta:
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

zo****************@yahoo.com wrote:
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
Nov 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rob Miller | last post by:
A new book with a numerical library in Java was published in August 2003. Title: "A Numerical Library in Java for Scientists and Engineers" Author: Hang T. Lau ISBN: 1584884304 Published date:...
2
by: Anthony Calabria | last post by:
Is anyone aware of iterative numerical optimzaiton routines in Java and/or Python? I'm looking for a routine similar to the fmincon in Matlab, powell in IDL, solver in Excel. There appears to be...
9
by: Carl | last post by:
I have been using Python for quite some time now and I love it. I use it mainly for explorative computing and numerical prototyping, ie testing and trying out different kinds of algorithms and...
1
by: lou | last post by:
Anyone pls give me some suggetion on numerical library for C. Able to do complex matrix inverse, and multiply and determinant . thanks alot
5
by: Jorn Attermann | last post by:
I perform numerical simulation which requires linear algebra programming that is optimized for speed. However, to my surprise, there seems to be no "standard" linear algebra library in C++ which is...
31
by: JS | last post by:
We have the same floating point intensive C++ program that runs on Windows on Intel chip and on Sun Solaris on SPARC chips. The program reads the exactly the same input files on the two platforms....
16
by: Martin Jørgensen | last post by:
Hi, I've made a program from numerical recipes. Looks like I'm not allowed to distribute the source code from numerical recipes but it shouldn't even be necessary to do that. My problem is...
23
by: Abhi | last post by:
Hi.. I wanted the C source code in machine readable format for the book "Numerical Recipes in C". I got hold of the pdf version of the book somehow. Does anyone have the complete C code of the...
6
by: Giovanni Gherdovich | last post by:
Hello, I need to perform a two-dimensional numerical integration, i.e. my functions are R^2 -R. All the tool I'm aware of provide routines for single-variable numerical integration, so I'm...
0
by: tiddwaylll | last post by:
Hi Hi, I am looking for a easy and free numerical library to implement. More important is to be free haha. The language/framework is in C#.NET. If you know of any, please point me in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.