Sign Up

1905 Colorado Avenue, Boulder, CO 80309

View map

Sage Shaw, Department of Applied Mathematics, University of Colorado Boulder

Python in Scientific Computing: Why and How?

Python is one of the more popular scripting languages in scientific computing and data science, along with MATLAB, R, and Julia. An interesting difference is that Python was not designed with scientific computing in mind. Rather, it is a general purpose language designed to be simple and flexible. Strangely, I find that it is uncommon for scientists to take advantage of the features that make Python so successful, and instead to write procedural codes with an overreliance on the array data structure. In this talk I will focus on one feature in particular: generators (also called streams). Generators are built into Python syntax, and they are a natural way to represent mathematical sequences. I will explain what generators are, how they are baked into the Python syntax, how I use them, and why you should use them in your scientific Python codes.

 

0 people are interested in this event

User Activity

No recent activity