Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-cnmwb Total loading time: 0 Render date: 2024-07-24T23:34:37.138Z Has data issue: false hasContentIssue false

Preface to the Second Edition

Published online by Cambridge University Press:  05 June 2012

Jaan Kiusalaas
Affiliation:
Pennsylvania State University
Get access

Summary

The major change in the second edition is the replacement of NumArray (a Python extension that implements array objects) with NumPy. As a consequence, most routines listed in the text required some code changes. The reason for the changeover is the imminent discontinuance of support for NumArray and its predecessor Numeric.

We also took the opportunity to make a few changes in the material covered:

  • Rational function interpolation was added to Chapter 3.

  • Brent's method of root finding in Chapter 4 was replaced by Ridder's method. The full-blown algorithm of Brent is a complicated procedure involving elaborate bookkeeping (a simplified version was presented in the first edition). Ridder's method is as robust and almost as efficient as Brent's method, but much easier to understand.

  • The Fletcher—Reeves method of optimization was dropped in favor of the downhill simplex method in Chapter 10. Fletcher—Reeves is a first-order method that requires knowledge of the gradients of the merit function. Because there are few practical problems where the gradients are available, the method is of limited utility. The downhill simplex algorithm is a very robust (but slow) zero-order method that often works where faster methods fail.

  • Type
    Chapter
    Information
    Publisher: Cambridge University Press
    Print publication year: 2010

    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.

    • Preface to the Second Edition
    • Jaan Kiusalaas, Pennsylvania State University
    • Book: Numerical Methods in Engineering with Python
    • Online publication: 05 June 2012
    • Chapter DOI: https://doi.org/10.1017/CBO9780511812224.002
    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.

    • Preface to the Second Edition
    • Jaan Kiusalaas, Pennsylvania State University
    • Book: Numerical Methods in Engineering with Python
    • Online publication: 05 June 2012
    • Chapter DOI: https://doi.org/10.1017/CBO9780511812224.002
    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.

    • Preface to the Second Edition
    • Jaan Kiusalaas, Pennsylvania State University
    • Book: Numerical Methods in Engineering with Python
    • Online publication: 05 June 2012
    • Chapter DOI: https://doi.org/10.1017/CBO9780511812224.002
    Available formats
    ×