A collection of sloppy snippets for scientific computing and data visualization in Python.
Tuesday, February 28, 2012
Finite differences with Toeplitz matrix
›
A Toeplitz matrix is a band matrix in which each descending diagonal from left to right is constant. In this post we will see how to approxi...
1 comment:
Sunday, February 5, 2012
Convolution with numpy
›
A convolution is a way to combine two sequences, x and w, to get a third sequence, y, that is a filtered version of x. The convolution of th...
7 comments:
Saturday, January 21, 2012
Monte Carlo estimate for pi with numpy
›
In this post we will use a Monte Carlo method to approximate pi. The idea behind the method that we are going to see is the following: Draw...
6 comments:
‹
›
Home
View web version