Menu

Numerical Libraries

2002-12-20
2012-09-26
  • Nobody/Anonymous

    I am looking for a numerical library to do matrix manipulations and random number generators in Dev-C++ under Bloodshed. I was wondering if anyone could recommend any and also tell me how to go about using the libraries (I'm new to this and am still a little unclear how to make use of the libraries in one of my own programs). I've tried just putting the .h and .cpp files in my project but I still get errors.  thanks

     
    • Derek Baker

      Derek Baker - 2002-12-20

      What have you tried so far?

      Derek

       
    • Nobody/Anonymous

      I tried to download Blitz++, but as I described before, I can't figure out how to then use the .h and .cpp files within my own programs. I'm missing the .a file and it doesn't give explicit instructions how to use the library with windows (as is with most programs they only give infor for a linux environment)

       
    • Derek Baker

      Derek Baker - 2002-12-20

      Do you need to download anything?

      cstdlib (stdlib.h for C) provides random number generation. It's a bit crude, but can used as a basis for better generation. Try using Google for information on rand and srand.

      As for matrix manipulation, not something I know much about, but according to my The C++ Programming Language, valarray and slice can be used to implement vectors.

      Derek

       
    • Nobody/Anonymous

      I hesitate to say anything here, but I am a big mouth.  I have used the GNU Scientific Library (gsl) a LOT with gcc and Cygwin.  I like it, gives you access to a gazillion types of functions, random, Bessel, Airy....

      The reason I hestitate to say anything is that I have *not* used it with Dev, and the one person who tried it that I tried to help I was not real effective with.

      Anyway, here is the link:
      http://www.gnu.org/software/gsl/

      There is also something running around called the Matrix Template Library that I have zero experience with:
      http://www.osl.iu.edu/research/mtl/

      Wayne

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.