[Numpy-discussion] an np.arange for arrays?

Chris Colbert sccolbert@gmail....
Fri Jul 10 00:25:33 CDT 2009


actually what would be better is if i can pass two 1d arrays X and Y
both size Nx1
and get back a 2d array of size NxM where the [n,:] row is the linear
interpolation of X[n] to Y[n]



On Fri, Jul 10, 2009 at 1:16 AM, Chris Colbert<sccolbert@gmail.com> wrote:
> If i have two arrays representing start points and end points, is
> there a function that will return a 2d array where each row is the
> range(start, end, n) where n is a fixed number of steps and is the
> same for all rows?
>


More information about the NumPy-Discussion mailing list