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.

Slides:



Advertisements
Similar presentations
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
Advertisements

ECE 103 Engineering Programming Chapter 54 Recursion Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material developed.
1 ECE 221 Electric Circuit Analysis I Chapter 8 Example 4.3, Problem 4.11 Node-Voltage Method Herbert G. Mayer, PSU Status 1/19/2015.
1 ECE 221 Electric Circuit Analysis I Chapter 5 Branch Currents Herbert G. Mayer, PSU Status 1/5/2015.
MATHEMATICAL METHODS. CONTENTS Matrices and Linear systems of equations Eigen values and eigen vectors Real and complex matrices and Quadratic forms Algebraic.
FOURIER TRANSFORMS CENG 5931: GNU RADIO Dr. George Collins.
1 CS 162 Introduction to Computer Science Chapter 2 Introduction Herbert G. Mayer, PSU Status 11/9/2014.
Numerical Method Inc. Ltd. URL: Presented by Ken Yiu.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
E-books at the University of Idaho Library Breanna Weston Reference & Instruction Librarian
PC Applications Course LabVIEW: Laboratory Virtual Instrument Engineering Workbench Graphical Programming Easy to use Faster Development Time.
MATLAB Extras Week 16 – 5/12/09 Kate Musgrave
1 Open Source Audit Software IIA District Conference Durham, NC 2/27/2009 Track 1 – Internal Audit Mike Blakley, EZ-R Stats, LLC.
1 CS 161 Introduction to Programming and Problem Solving Chapter 10 g++ Compiler Usage Herbert G. Mayer, PSU Status 10/21/2014.
CS 161 Introduction to Programming and Problem Solving Chapter 13 C++ Preprocessor Herbert G. Mayer, PSU Status 10/8/2014 Initial content copied verbatim.
© 2004 The MathWorks, Inc. 1 MATLAB for C/C++ Programmers Support your C/C++ development using MATLAB’s prebuilt graphics functions and trusted numerics.
Libraries Linda Petzold UC Santa Barbara. What is a Library? Library - Wikipedia, the free encyclopedia.mhtLibrary - Wikipedia, the free encyclopedia.mht.
Recent and Proposed Changes to ZOOM Recent entries Intended future additions Possibilities –D0 and CDF users can affect which new “possible” additions.
Wavelet Transforms CENG 5931 GNU RADIO INSTRUCTOR: Dr GEORGE COLLINS.
1 CS 106 Computing Fundamentals II Chapter 7 “Showing Developer Tab” Herbert G. Mayer, PSU CS status 6/17/2013 Initial content copied verbatim from CS.
ECE 103 Engineering Programming Chapter 61 Abstract Data Types Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
ECE 103 Engineering Programming Chapter 57 Terminal Control Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
ECE 103 Engineering Programming Chapter 40 C Graphing Libraries Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
ECE 103 Engineering Programming Chapter 1 Introduction Herbert G. Mayer, PSU CS Status 6/19/2015 Initial content copied verbatim from ECE 103 material.
ECE 103 Engineering Programming Chapter 48 Typedef and Enum Type Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103.
1 Numbers & Basic Algebra – Math 103 Math, Statistics & Physics.
S17: Introduction to Numerical Methods TT 2008 Lecture 1 Numerical aspects of computing.
ECE 103 Engineering Programming Chapter 24 Sorting Herbert G. Mayer, PSU CS Status 6/2/2015 Initial content copied verbatim from ECE 103 material developed.
1 CS 106 Computing Fundamentals II Chapter 84 “Array Formulae” Herbert G. Mayer, PSU CS status 6/14/2013 Initial content copied verbatim from CS 106 material.
ECE 103 Engineering Programming Chapter 9 gcc Compiler Herbert G. Mayer, PSU CS Status 6/19/2015 Initial content copied verbatim from ECE 103 material.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Introduction Course Outline.
Chapter 1: Brief Overview of MATLAB MATLAB for Scientist and Engineers Using Symbolic Toolbox.
ECE 103 Engineering Programming Chapter 36 C Storage Classes Herbert G. Mayer, PSU CS Status 8/4/2014 Initial content copied verbatim from ECE 103 material.
Introduction to GAMS, Netlib, Numerical Recipes CS 3414.
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
1 Numbers & Basic Algebra – Math 103 Math, Statistics & Physics.
ECE 103 Engineering Programming Chapter 53 Generic Algorithms Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
ECE 103 Engineering Programming Chapter 50 Structures Unions, Part 2 Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE.
Linear Algebra Libraries: BLAS, LAPACK, ScaLAPACK, PLASMA, MAGMA
1 Beginning & Intermediate Algebra – Math 103 Math, Statistics & Physics.
CS 161 Introduction to Programming and Problem Solving Chapter 18 Control Flow Through C++ Program Herbert G. Mayer, PSU Status 10/8/2014 Initial content.
ECE 103 Engineering Programming Chapter 31 C Scopes Herbert G. Mayer, PSU CS Status 8/1/2015 Initial content copied verbatim from ECE 103 material developed.
ECE 103 Engineering Programming Chapter 7 Compiling C Programs Herbert G. Mayer, PSU CS Status 6/19/2015 Initial content copied verbatim from ECE 103 material.
ECE 103 Engineering Programming Chapter 4 Operators Herbert G. Mayer, PSU CS Status 6/19/2015 Initial content copied verbatim from ECE 103 material developed.
ECE 103 Engineering Programming Chapter 23 Multi-Dimensional Arrays Herbert G. Mayer, PSU CS Status 6/24/2014 Initial content copied verbatim from ECE.
ECE 103 Engineering Programming Chapter 15 C Standard Library Herbert G. Mayer, PSU CS Status 7/19/2015 Initial content copied verbatim from ECE 103 material.
CS 161 Introduction to Programming and Problem Solving Chapter 17 Nested Loops Herbert G. Mayer, PSU Status 9/8/2014 Initial content copied verbatim from.
1 ECE 102 Engineering Computation Chapter 3 Math Review 3: Cramer’s Rule Dr. Herbert G. Mayer, PSU Status 10/11/2015 For use at CCUT Fall 2015.
1 ECE 221 Electric Circuit Analysis I Chapter 6 Cramer’s Rule Herbert G. Mayer, PSU Status 11/14/2014 For use at Changchun University of Technology CCUT.
ECE 103 Engineering Programming Chapter 3 Numbers Herbert G. Mayer, PSU CS Status 6/19/2015 Initial content copied verbatim from ECE 103 material developed.
Linear Algebra Libraries: BLAS, LAPACK, ScaLAPACK, PLASMA, MAGMA Shirley Moore CPS5401 Fall 2013 svmoore.pbworks.com November 12, 2012.
CS 161 Introduction to Programming and Problem Solving Chapter 12 C++ Statements Herbert G. Mayer, PSU Status 10/8/2014 Initial content copied verbatim.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
ECE 103 Engineering Programming Chapter 45 Pointers to Functions Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103.
1 CS 106 Computing Fundamentals II Chapter 85 “Excel Tables” Herbert G. Mayer, PSU CS status 6/14/2013 Initial content copied verbatim from CS 106 material.
S5.40. Module Structure 30% practical tests / 70% written exam 3h lectures / week (except reading week) 3 x 2h of computer labs (solving problems practicing.
Software for scientific calculations
MatLab Programming By Kishan Kathiriya.
Welcome to MATLAB.
CS 161 Introduction to Programming
Herbert G. Mayer, PSU CS Status 8/2/2013
ECE 103 Engineering Programming Chapter 56 Runtime Errors
CS 106 Computing Fundamentals II Chapter 64 “For Loop Variations”
ECE 103 Engineering Programming Chapter 12 More C Statements
ECE 103 Engineering Programming Chapter 51 Random Numbers
ECE 103 Engineering Programming Chapter 37 C Macro Parameters
ECE 103 Engineering Programming Chapter 8 Data Types and Constants
CS 106 Computing Fundamentals II Chapter 69 “Event Loop”
ECE 103 Engineering Programming Chapter 64 Tree Implementation
Presentation transcript:

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 PSU ECE

Syllabus Beyond GNU Scientific Library

2 Beyond The C90 Standard Library contains only elementary math functions: sinatan2log10ldexp cossinhpowfrexp tancoshsqrtmodf asintanhceilfmod acosexpfloor atanlogfabs

3 C99 expands the number of built-in math functions: More macros and constants are defined. Complex numbers, operators, functions are supported. acoshscalblnllroundfdim asinhcbrtrintfmax atanhhypotlrintfmin exp2erfllrintfma expm1erfcnearbyint ilogbtgammaremainder log1plgammaremquo log2trunccopysign logbroundNAN scalbnlroundnextafter

4 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)

5 GNU Scientific Library Free to use: License = GPL Homepage: Complex NumbersChebyshev ApproximationRandom Distributions Special FunctionsDiscrete Hankel TransformsHistograms PermutationsMinimizationMonte Carlo Integration BLAS SupportPhysical ConstantsDifferential Equations EigensystemsWaveletsNumerical Differentiation QuadratureRoots of PolynomialsSeries Acceleration Quasi-Random SequencesVectors and MatricesRoot-Finding StatisticsSortingLeast-Squares Fitting N-TuplesLinear AlgebraIEEE Floating-Point Simulated AnnealingFast Fourier TransformsBasis splines InterpolationRandom Numbers