Название: Introduction to Scientific Programming with Python Автор: Joakim Sundnes Издательство: Springer Год: 2020 Страниц: 157 Язык: английский Формат: pdf (true), djvu Размер: 10.1 MB
This book offers an initial introduction to programming for scientific and computational applications using the Python programming language. The presentation style is compact and example-based, making it suitable for students and researchers with little or no prior experience in programming.
The book uses relevant examples from mathematics and the natural sciences to present programming as a practical toolbox that can quickly enable readers to write their own programs for data processing and mathematical modeling. These tools include file reading, plotting, simple text analysis, and using NumPy for numerical computations, which are fundamental building blocks of all programs in data science and computational science. At the same time, readers are introduced to the fundamental concepts of programming, including variables, functions, loops, classes, and object-oriented programming. Accordingly, the book provides a sound basis for further computer science and programming studies.
Although Python is a very popular and suitable language for learning to program, it also has some minor drawbacks. One of the more important is tightly linked to its advantage of being a flexible high-level language with a short and intuitive syntax. Writing small programs in Python can be very efficient, and beginners can quickly start writing useful programs, but the downside is that the code can become messy as the programs grow in size and complexity. Other languages such as C, C++, and Java tend, to enforce more structure in the code, which can be confusing for beginners and annoying when you want to write a small program quickly, but it can be more efficient in the long run when writing larger programs. However, it is certainly possible to write neat and nicely structured programs in Python as well, but this requires a choice by the programmer to follow certain principles of coding style, and is not enforced by the language itself.
Скачать Introduction to Scientific Programming with Python