A Primer in Graph Theory with Python
Graph theory is a branch of mathematics and computer science that deals with the study of graphs, which are a collection of vertices and edges that connect them. Graphs are …
Science Is Just Matrix Multiplication
Really, so do it wisely!
Recently, I was a guest at a seminar, where one Ph.D. student gave a presentation about some topic in physics. That student proudly claimed that he had managed to speed …
Polynomials Are Not What You Think They Are
Python Meets Abstract Algebra
At school, and also often as undergraduates at college, we learn that polynomials are things …
Advanced Array Manipulation in NumPy
Reshaping, Stacking, Splitting
In the world of data science and numerical computing, NumPy stands as one of the most popular libraries due to its high-speed operations, flexibility, and compatibility with a wide range …
Visualizing the Magnetic Field in Python
A Guide to Using Matplotlib with the Biot-Savart Law
In this article, we will discuss how to visualize the magnetic field of a current using the Biot-Savart law. We will also provide Python code examples to illustrate how to …