[Yt-dev] Clarification of Enzo Parameters, TopGridRank and TopGridDimensions
chris.m.malone at gmail.com
chris.m.malone at gmail.com
Wed Dec 22 11:37:50 PST 2010
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, js oishi <jsoishi at 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 at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20101222/fa853b4c/attachment.html>
More information about the yt-dev
mailing list