1 / 6

ECE 103 Engineering Programming Chapter 55 C Math Library

ECE 103 Engineering Programming Chapter 55 C Math Library. Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material developed by Professor Phillip Wong @ PSU ECE. Syllabus. Beyond <math.h> GNU Scientific Library. Beyond <math.h>

idania
Download Presentation

ECE 103 Engineering Programming Chapter 55 C Math Library

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 103 Engineering ProgrammingChapter 55C Math Library Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material developed by Professor Phillip Wong @ PSU ECE

  2. Syllabus • Beyond <math.h> • GNU Scientific Library

  3. Beyond <math.h> The C90 Standard Library contains only elementary math functions: 2

  4. C99 expands the number of built-in math functions: More macros and constants are defined. Complex numbers, operators, functions are supported. 3

  5. Even more comprehensive math abilities can be added to C by using commercial or free libraries. From Wikipedia article: List of numerical libraries GNU Scientific Library - popular, free numerical analysis library implemented in C. GNU Multi-Precision Library - for doing arbitrary precision arithmetic. IMSL Numerical Libraries - cross-platform libraries containing a comprehensive set of mathematical and statistical functions. LabWindows/CVI - libraries for analysis of measurement data, signal generation, windowing, filter functions, signal processing, linear algebra, array and complex operations, curve fitting and statistics. NAG - collection of numerical analysis routines which can be called from user applications running on a wide variety of hardware platforms. Alternative: Numerical Recipes (book with source code, also online version, not free) http://www.nr.com 4

  6. GNU Scientific Library Free to use: License = GPL Homepage: http://www.gnu.org/software/gsl 5

More Related