views:

2798

answers:

6

Hi,

I'm currently evaluating different math libraries for my next .NET project, the decent one I found is Math.NET, which is free and open-source.

Do you have any recommendation for good math libraries?, free ones are preferable of course, but that isn't a prerequisite.

EDIT: To make the question a bit more clear, I need a math to do different numerical operations, like differential, integration and different operations on complex numbers.

(I've searched for similar questions but haven't founded any, if you find a duplicate one please post the link and I'll vote to close this one)

+2  A: 

Wolfram

SUMMARY:

For .NET programmers, .NET/Link turns Mathematica into a scripting shell that lets you experiment with, build, and test .NET types a line at a time. It also makes .NET a powerful environment for writing programs that use the computational services of Mathematica.

adatapost
I'm afraid this isn't the most convenience way to do some numerical operations. This solution needs a huge program, Mathematica, and it only works with older versions of the program. And the most important issue is that I'll have to install Mathematica's components (again, huge size), on clients' machines.
Moayad Mardini
@Moayad, you are right.
adatapost
Anyway, thanks for the suggestion, I'll keep that in mind for future projects. +1
Moayad Mardini
+2  A: 

You can run MATLAB code from .Net

There's also F# for Numerics

Mauricio Scheffer
Thanks for your suggestions. As with Mathematica, this solution needs a huge program whose components should be installed on client's machine.
Moayad Mardini
F# for Numerics is a regular library... no additional program to install
Mauricio Scheffer
I'll try that, thanks. Does the library works well with C#?
Moayad Mardini
It will most likely work but awkwardly since it probably uses F# idioms. Try asking the author...
Mauricio Scheffer
+7  A: 

Here are some links:

1) Mathdotnet, A mathematical open source (MIT/X11, LGPL & GPL) library written in C#/.Net, aiming to provide a self contained clean framework for symbolic algebraic and numerical / scientific computations.

2) IMSL™ C# Numerical Library for Microsoft® .NET Applications (Paid)

3) Extreme Optimization Mathematics Library for .NET

TheVillageIdiot
As I said, I've tried the first one, it looks decent, but I'm looking for a better one. The second one is only an analysis library, it's not to do mathematical operations, but only to do mathematical analysis.
Moayad Mardini
I'll take a look at the third one, which looks capable of doing what I'm looking for, thanks!
Moayad Mardini
Nice it helped you!
TheVillageIdiot
That last one didn't look especially free?
Svish
+1  A: 

There is also NMath from CenterSpace (paid), or you could try linking to the GSL.

Richie Cotton
+1  A: 

Take a look at http://www.dewresearch.com/

alexey
+1  A: 

You can try DotNumerics. This library is written 100% in C# (open source). It provides routines for: Linear Algebra (CSLapack, CSBlas, CSEispack), Differential Equations and Optimization.

jadsc