Presentation Transcript
Introduction to GAMS, Netlib, Numerical Recipes : Introduction to GAMS, Netlib, Numerical Recipes CS 3414
GAMS : GAMS Guide to Available Mathematical Software
http://gams.nist.gov/
An on-line cross-index of available mathematical software
A virtual software repository, providing centralized access to abstracts, documentation, and source code of software modules that it catalogs (including Netlib)
Search for Software by Problem : Search for Software by Problem Each software module indexed in GAMS is assigned one or more problem classifications from the GAMS Problem Classification System.
Three ways to locate software modules:
Use the taxonomy as a decision tree.
Browse through the entire taxonomy.
Search for problem classes that match a keyword.
Problem Decision Tree - Subclasses : Problem Decision Tree - Subclasses
A Arithmetic, error analysis
B Number theory
C Elementary and special functions (search also class L5)
D Linear Algebra
E Interpolation
F Solution of nonlinear equations
G Optimization (search also classes K, L8)
H Differentiation, integration
I Differential and integral equations
J Integral transforms
K Approximation (search also class L8)
L Statistics, probability
M Simulation, stochastic modeling (search also classes L6 and L10)
N Data handling (search also class L2)
O Symbolic computation
P Computational geometry (search also classes G and Q)
Q Graphics (search also class L3)
R Service routines
S Software development tools
Z Other
Other Ways for Search : Other Ways for Search Search by Packages
Browse list of packages
Search by Modules
Give Name of module
Search by keyword
search for text in the abstracts of individual modules
Netlib : Netlib Netlib Repository at UTK and ORNL
http://www.netlib.org/
A repository contains freely available software, documents, and databases of interest to the numerical, scientific computing, and other communities.
Search Netlib : Search Netlib Do a field search by using the syntax :
fieldname=whatever
Use the GAMS class hierarchy
Field Names : Field Names file (global) -- any portion of the pathname for a regular file
lib (global) -- any portion of the pathname for a directory
for (global) -- problem solved or description
gams -- GAMS class
prec -- Fortran precision (single, double, complex, or doublecomplex)
title (global)
alg -- algorithm or method
by (global) -- author (name )
keywords (global) -- terms as would be drawn from a subject thesaurus
lang -- programming language
Search Examples : Search Examples To seach for single precision routines in the lapack directory that do Schur factorization:
file=lapack and file=single and Schur
since the lapack single precision routines are in the lapack/single directory
To search for curve fitting or gams class E1 and its subclasses:
(curve and fitting) or gams=e1*
To do a literal search for 'cosine transform':
'cosine transform'
Numerical Recipes : Numerical Recipes Numerical Recipes: The Art of Scientific Computing" is the title of a series of books
"Numerical Recipes" also refers to the copyrighted computer software that is in those books.
There are approximately 200 routines, which cover a large range of subjects. The source code for the routines are available, and the book documents and explains the mathematics behind the routines.
Compile and Link for C : Compile and Link for C Three header files
complex.h
nr.h
nrutil.h
One library
librecipes_c
gcc example.o –lm –lrecipes_c
Catch the
buzz on authorSTREAM
Copyright © 2002-2008 authorSTREAM. All rights reserved.