Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. Best Math-Lib for C++

Best Math-Lib for C++

Scheduled Pinned Locked Moved Algorithms
questionc++help
6 Posts 6 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zqueezy
    wrote on last edited by
    #1

    Hey folks, I've got a simple question: What's your favorite Math-Library (besides Math.h :) I need a really good math-library which has FFT and SVD and a bunge of other stuff... *I tried JAMA, which is not too bad, but has too few functions for me *Matpack (surely a great Library but I only get errors when trying to compile) (www.matpack.de - maybe someone can help me get this running) *I even tried copying (well, more like typing from) "Numerical recipes in C" and even those ended in an endless loop when trying to do an svd. any suggestions?

    B C E J 4 Replies Last reply
    0
    • Z zqueezy

      Hey folks, I've got a simple question: What's your favorite Math-Library (besides Math.h :) I need a really good math-library which has FFT and SVD and a bunge of other stuff... *I tried JAMA, which is not too bad, but has too few functions for me *Matpack (surely a great Library but I only get errors when trying to compile) (www.matpack.de - maybe someone can help me get this running) *I even tried copying (well, more like typing from) "Numerical recipes in C" and even those ended in an endless loop when trying to do an svd. any suggestions?

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #2

      MIRACL by Shamus.


      "Religion is assurance in numbers." - Bassam Abdul-Baki Web - Blog - RSS - Math - LinkedIn - BM

      1 Reply Last reply
      0
      • Z zqueezy

        Hey folks, I've got a simple question: What's your favorite Math-Library (besides Math.h :) I need a really good math-library which has FFT and SVD and a bunge of other stuff... *I tried JAMA, which is not too bad, but has too few functions for me *Matpack (surely a great Library but I only get errors when trying to compile) (www.matpack.de - maybe someone can help me get this running) *I even tried copying (well, more like typing from) "Numerical recipes in C" and even those ended in an endless loop when trying to do an svd. any suggestions?

        C Offline
        C Offline
        cp9876
        wrote on last edited by
        #3

        I don't know what your detailed requirements are, there is no gold standard of which I am aware. Recently I have been using Intel MKL - this has impressive FFT performance, haven't used SVD yet. For freeware FFT, FFTW is probably the best. I have used IMSL but it is expensive, and I have a query in my mind over licensing for use in products. For free linear algebra you could consider getting a fortran compiler and compiling the NETLIB routines you want into a library.


        Peter "Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

        1 Reply Last reply
        0
        • Z zqueezy

          Hey folks, I've got a simple question: What's your favorite Math-Library (besides Math.h :) I need a really good math-library which has FFT and SVD and a bunge of other stuff... *I tried JAMA, which is not too bad, but has too few functions for me *Matpack (surely a great Library but I only get errors when trying to compile) (www.matpack.de - maybe someone can help me get this running) *I even tried copying (well, more like typing from) "Numerical recipes in C" and even those ended in an endless loop when trying to do an svd. any suggestions?

          E Offline
          E Offline
          ekynox
          wrote on last edited by
          #4

          how about Blitz its gives you matlab like capabilities for C++ here is the link: http://www.oonumerics.org/blitz/

          M 1 Reply Last reply
          0
          • E ekynox

            how about Blitz its gives you matlab like capabilities for C++ here is the link: http://www.oonumerics.org/blitz/

            M Offline
            M Offline
            Matthew Faithfull
            wrote on last edited by
            #5

            I'm on the same hunt for other reasons. Blitz looks good but even it seems to rely on the IEEE 754:1985 approx implementation built into the C Runtime:doh:. Do you know of any indepenent IEEE/libm implementation in C++?

            Nothing is exactly what it seems but everything with seems can be unpicked.

            1 Reply Last reply
            0
            • Z zqueezy

              Hey folks, I've got a simple question: What's your favorite Math-Library (besides Math.h :) I need a really good math-library which has FFT and SVD and a bunge of other stuff... *I tried JAMA, which is not too bad, but has too few functions for me *Matpack (surely a great Library but I only get errors when trying to compile) (www.matpack.de - maybe someone can help me get this running) *I even tried copying (well, more like typing from) "Numerical recipes in C" and even those ended in an endless loop when trying to do an svd. any suggestions?

              J Offline
              J Offline
              Jeffrey Walton
              wrote on last edited by
              #6

              Hi Queezy, I can't speak for FFTs and SVD (what are you doing with decomposition, BTW? I recently read a paper which used SVDs as a text indexing algorithm such as Google), but I personally love Crypto++ for anything Cryptography related. This includes its Large Integer package, and Elliptical Curve implementation. Jeff

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups