Writing Scientific Software: A Guide to Good StyleCambridge University Press, 7. 9. 2006 The core of scientific computing is designing, writing, testing, debugging and modifying numerical software for application to a vast range of areas: from graphics, meteorology and chemistry to engineering, biology and finance. Scientists, engineers and computer scientists need to write good code, for speed, clarity, flexibility and ease of re-use. Oliveira and Stewart's style guide for numerical software points out good practices to follow, and pitfalls to avoid. By following their advice, readers will learn how to write efficient software, and how to test it for bugs, accuracy and performance. Techniques are explained with a variety of programming languages, and illustrated with two extensive design examples, one in Fortran 90 and one in C++: other examples in C, C++, Fortran 90 and Java are scattered throughout the book. This manual of scientific computing style will be an essential addition to the bookshelf and lab of everyone who writes numerical software. |
Běžně se vyskytující výrazy a sousloví
algorithm allocated approach approximation argument arithmetic array avoid block cache called carried collection compiler complex compute Consider const construct contains copy create data structures de-allocation double efficient entries equations error evaluate example execute factorization files first floating point Fortran function garbage gives handle iflag implemented important input instructions integer interface iteration Java kind languages length libraries linear system look loop matrix means memory method multigrid multiple MyVec Note objects operations optimization output particular passed performance pointer precision problems reference registers represented require result routine simple solution solve sparse spline stack standard stored template things usually variables Vector write zero
Oblíbené pasáže
Strana 1 - An mxn matrix is a matrix with m rows and n columns and has the form: 'au au ••• ain A = _am\ (mxn).
Strana 6 - Java is a trademark of Sun Microsystems. Unix is a trademark of AT&T.