Math Functions

Discussion in 'Mac Programming' started by TORCH, Feb 24, 2007.

  1. macrumors newbie

    Feb 24, 2007

    I am a recent "convert" from Pagan PC to the true religion of MAC.

    May you recommend sites / hints for mathematical functions in C++ / Xcode?
    How do I view the standard C++ /C library? I know math.h exists.

    Math. functions I wish to run would include the following:
    (1) cross products, summations, vectors, matrices,
    (2) derivatives, integrals

    Suggestions? Comments? THANKS!!
  2. macrumors 6502


    Aug 16, 2006
    Groningen, The Netherlands
    I'm no expert, but to the best of my knowledge OS X's C++ compiler does come with the standard linear algebra packge (LAPACK) and also vectorized version for some of the operations (part of the Accelerate framework).

    To the best of my knowledge, numerical derivation and quardature are not part of the standard packages. What libraries have used on your PC? It is more than likely that a compiled version is available for OS X.

    Check 's performance tutorials on the way to use Accelerate.
  3. macrumors regular


    Mar 27, 2006
    GSL is also something you probably want to look at -

    Saved me a lot of time now and then, but only really used the FFTs and similar from it.

Share This Page