On Tue, Apr 15, 2008 at 3:38 PM, Robert Kern <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 15, 2008 at 9:54 AM, Alexander Michael <[EMAIL PROTECTED]> wrote:
> > Is there an already existing method to create views that add as many
> > dimensions as required to bring a collection of arrays to the same
On Tue, Apr 15, 2008 at 9:54 AM, Alexander Michael <[EMAIL PROTECTED]> wrote:
> Is there an already existing method to create views that add as many
> dimensions as required to bring a collection of arrays to the same
> dimensionality by adding the appropriate number of numpy.newaxis's to
> the
Is there an already existing method to create views that add as many
dimensions as required to bring a collection of arrays to the same
dimensionality by adding the appropriate number of numpy.newaxis's to
the ends? For example:
In [1]: a = numpy.array([1, 2, 3, 4])
In [2]: b = numpy.array([[1,10]