Numerical Analysis/Methods Packages

  • Thread starter Thread starter neurocomp2003
  • Start date Start date
  • Tags Tags
    Numerical
Click For Summary

Discussion Overview

The discussion revolves around the exploration of numerical analysis packages available in C and C++, with participants sharing resources and experiences regarding various libraries such as LAPACK, GSL, and others. The focus includes usability, optimization, and platform compatibility.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about good numerical analysis packages in C/C++, specifically mentioning LAPACK.
  • Another participant provides a link to Netlib, suggesting it contains a variety of numerical analysis resources in Fortran, C, and C++.
  • A different participant recommends the GNU Scientific Library (GSL) as a good resource for numerical analysis functions, although notes it is primarily for Linux.
  • A participant expresses interest in other packages beyond Numerical Recipes in C and questions the optimization of these libraries, particularly cLAPACK.
  • One participant shares positive experiences with Netlib packages, mentioning that optimization can vary based on the intended processing type (vector, parallel, scalar).
  • A participant mentions LAPACK++ as a C++ version of LAPACK, which is being succeeded by the Template Numerical Toolkit.
  • Another participant notes that the optimization of Netlib packages typically exceeds their own implementations.

Areas of Agreement / Disagreement

Participants share resources and experiences, but there is no consensus on which package is definitively the best or most optimized, indicating multiple competing views on usability and performance.

Contextual Notes

Some participants express concerns about platform compatibility, particularly with GSL being Linux-centric, while others highlight varying definitions of optimization in the context of numerical analysis packages.

Who May Find This Useful

Individuals interested in numerical analysis, particularly those working with C/C++ programming and seeking libraries for computational tasks.

neurocomp2003
Messages
1,359
Reaction score
4
Any body use or know of any good numerical analysis packages in C/C++.
something like LAPACK. and are they easy to use.
 
Computer science news on Phys.org
Here is a good library of numerical analysis functions:

http://www.gnu.org/software/gsl/

If you want to learn how numberical analysis is done in C this is a good resource:

http://www.library.cornell.edu/nr/cbookcpdf.html
 
Last edited by a moderator:
thanks i alredy have thle numerical recipesin C(waiting on C++) just wondering if there were some other ones, or if people have used cLAPACK. I'll look into gsl but it seems only for linux =[ and I'm coding in windows platform(like the vc6 interface too much.

i'll also look at the netlib site...thanks...thats the one my compphys text(landau) suggested...have you guys used these packages...are they pretty optimized?
 
Yes, I've used/use several programs from netlib and have never had any problems with any of them (including several routines from LAPACK-fortran version). As for optimization it depends on what you mean by "optimized". The code can be optimized for vector processing, parallel processing, or scalar processing. Check the header of the given code you want for specifics.
 
You may know of this, but there's a version of LAPACK for C++ called LAPACK++, but this is being superseeded by the Template Numerical Toolkit, available at http://math.nist.gov/tnt/.
 
With respect to degree of "optimization" of netlib packages typically exceed my own workings by a fair margin, as problem free as it comes.

Usually access via our neighboring organization who have their things pretty good straightened and sorted out:

http://www.csc.fi/math_topics/FTP/index.html
http://www.csc.fi/math_topics/Software.html
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
4K