NobleBlocks

Research indexBook chapter

Chapter 7: Using Libraries

Chopp

Society for Industrial and Applied Mathematics eBooks1 Jan 2019

NobleIDark:/48914/w1/20260524/8E702BCFDOI10.1137/1.9781611975642.ch7

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

There is absolutely no reason to reinvent the wheel. Fortunately, there are computational scientists that are really good at creating useful wheels. A classic example is the widely used numerical linear algebra package called LAPACK. It is a collection of useful functions for handling numerical linear algebra problems. The package is large and has many more options than can be covered in this text, so just a few examples are included of calling representative functions that will be particularly useful for the projects in this book. Use the documentation for the libraries to take full advantage of their capabilities. In this chapter, we will see how to incorporate library content into programs both during the compile stage and in the link stage of building an executable. We will then explore the BLAS and LAPACK libraries for linear algebra operations, the FFTW library for doing fast Fourier transforms (FFTs), and also some basic concepts related to random number generation. These topics will all be of particular relevance to the computing projects proposed at the end of Part I.

Discussion

Topics

More

Suggest a correction or report