Writing Scientific Software: A Guide to Good Style (Paperback)
暫譯: 撰寫科學軟體:良好風格指南 (平裝本)

Suely Oliveira

  • 出版商: Cambridge
  • 出版日期: 2006-09-18
  • 售價: $840
  • 貴賓價: 9.8$823
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Paperback
  • ISBN: 0521675952
  • ISBN-13: 9780521675956
  • 無法訂購

買這商品的人也買了...

商品描述

Description

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.


• Gives tips, hints and guidelines for good style in C, C++, Fortran 90 and Java
• Covers important development tools such as profilers, version control and automated builds
• Describes template programming and techniques for high-performance software

 

Table of Contents

Part I. Numerical Software: 1. Why numerical software?; 2. Scientific computation and numerical analysis; 3. Priorities; 4. Famous disasters; 5. Exercises; Part II. Developing Software: 6. Basics of computer organization; 7. Software design; 8. Modularity and all that; 9. Data structures; 10. Design for testing and debugging; 11. Exercises; Part III. Efficiency in Time, Efficiency in Memory: 12. Be algorithm aware; 13. Computer architecture and efficiency; 14. Global vs. local optimization; 15. Grabbing memory when you need it; 16. Memory bugs and leaks; Part IV. Tools: 17. Sources of scientific software; 18. Unix tools; 19. Cubic spline function library; 20. Multigrid algorithms; Appendix A: review of vectors and matrices; Appendix B: trademarks; Bibliography; Index.

商品描述(中文翻譯)

**描述**

科學計算的核心在於設計、編寫、測試、除錯和修改數值軟體,以應用於廣泛的領域:從圖形學、氣象學和化學到工程學、生物學和金融。科學家、工程師和計算機科學家需要編寫良好的程式碼,以確保速度、清晰度、靈活性和易於重用。Oliveira 和 Stewart 的數值軟體風格指南指出了應遵循的良好實踐和應避免的陷阱。通過遵循他們的建議,讀者將學會如何編寫高效的軟體,以及如何測試其錯誤、準確性和性能。技術以多種程式語言進行解釋,並用兩個廣泛的設計範例進行說明,一個是 Fortran 90,另一個是 C++:其他範例則散佈在整本書中,包括 C、C++、Fortran 90 和 Java。這本科學計算風格手冊將成為每位編寫數值軟體的人的書架和實驗室中不可或缺的補充。

- 提供 C、C++、Fortran 90 和 Java 的良好風格提示、建議和指導
- 涵蓋重要的開發工具,如性能分析器、版本控制和自動化構建
- 描述模板編程和高效能軟體的技術

**目錄**

第一部分。數值軟體:1. 為什麼需要數值軟體?;2. 科學計算與數值分析;3. 優先事項;4. 著名災難;5. 練習;第二部分。開發軟體:6. 計算機組織基礎;7. 軟體設計;8. 模組化及相關內容;9. 數據結構;10. 測試和除錯的設計;11. 練習;第三部分。時間效率、記憶體效率:12. 了解算法;13. 計算機架構與效率;14. 全局優化與局部優化;15. 需要時抓取記憶體;16. 記憶體錯誤和洩漏;第四部分。工具:17. 科學軟體的來源;18. Unix 工具;19. 三次樣條函數庫;20. 多重網格算法;附錄 A:向量和矩陣回顧;附錄 B:商標;參考文獻;索引。