Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-n9wrp Total loading time: 0 Render date: 2024-07-18T17:30:27.280Z Has data issue: false hasContentIssue false

Appendix B - Free scientific libraries

Published online by Cambridge University Press:  04 August 2010

Andi Klein
Affiliation:
Los Alamos National Laboratory
Alexander Godunov
Affiliation:
Old Dominion University, Virginia
Get access

Summary

In the past, the dominant computer language for scientific computing was FORTRAN. This created a wealth of libraries with well tested routines, which address almost all numerical problems covered in this book. However, using these libraries “out of the box,” without understanding their limitations and algorithms, is bound to get you into trouble one day. Because we are using C++, you will want to know how to call these FORTRAN routines from a C++ program. This will allow you to use these routines without having to rewrite them in C++.

LAPACK

LAPACK: Linear Algebra PACKage.

LAPACK is written in Fortran77 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. The associated matrix factorizations (LU, Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are related computations such as reordering of the Schur factorizations and estimating condition numbers. Dense and banded matrices are handled, but not general sparse matrices. In all areas, similar functionality is provided for real and complex matrices, in both single and double precision.

From the Website http://www.netlib.org/lapack/index.html, where the whole package can be downloaded. There is now also a C++ version available, called LAPACK++.

SLATEC

SLATEC is another very useful package which contains general purpose mathematical and statistical programs. You will find this at http://www.netlib.org/slatec/index.html.

Where to obtain ROOT

An important aspect about ROOT to remember is the developer's philosophy: “Release early and release often.”

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2006

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×