pwtools
N-dim Vandermonde matrix for data points and a polynomial of degree deg.
points (see polyfit())
deg (int) – Degree of the poly (e.g. 3 for cubic).
vander
2d array (npoints, (deg+1)**ndim)