John Hunter wrote:
>> I think the only two options should be scalar or 2-d array, it seems a
>> bit much to have a 1-d array option as well.
> 
> I disagree here -- if you are 2,1 or 1,2 rows x cols, 1D indexing is
> natural.  This is also the most common use case so the most important
> to get right.

OK, but then how do you handle the fact that you might get a 0-d, 1-d or 
2-d result? Eric's "squeeze" flag would result in that. Having squeeze1d 
and squeeze2d flags seems a bit much.

-Chris






-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to