Hi,

Right, I understand what he meant about it being a numpy object rather than a list. For some reason, however, I thought "ndarray" implied multidimensional arrays. Thanks again for the clarification.

Chris
On Dec 22, 2010 2:08pm, j s oishi <jsoishi@gmail.com> wrote:
> Hi Chris,
>
>
>
> Just as a point of clarification,
>
>
>
> > I suspect you mean a one-dimensional array, instead of a multidimensional
>
> > array (ndarray) here? If not, what are the other dimensions for?
>
>
>
> An "ndarray" is the name of the numpy ndimensional array object type.
>
> Matt was trying to clarify that it is a numpy array rather than a
>
> native python list, not specifying that it is N-dimensional in the
>
> sense of greater than one. An ndarray could be one-dimensional, for
>
> example:
>
>
>
> $ python -c "import numpy as na; a = na.zeros(10); print a.__class__"
>
>
>
>
>
> j
>
> _______________________________________________
>
> Yt-dev mailing list
>
> Yt-dev@lists.spacepope.org
>
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>