> Think about gridding physical problems expressed in cylindrical or
> spherical coordinates.  The natural slices are not rectangles.  You can
> use rectangular storage but only with O(n^3) waste.

I don't get this argument. Are you slicing your spherical coordinates
with a cartesian coordinate system? That's surely a waste. Many times
bases can be chosen so that you even in an array doesn't waste space.

I can't see the point attacking numpy with this "irregular"
generalisation. Numpy is a tool very good for it's purpose, we don't
really want to trash it with features for solving unspecified general
problems. Instead, specify a real world problem, and perhaps someone
might have a good tip, otherwise look for other tools. Pytables for
example can efficiently store varying length arrays.

Maybe start on developing an variable length array yourself that
integrates perfectly with Numpy where applicable?

//Torgil


On 9/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Exalted presences and superior intellects aside, the point is not hard
> to get:  Motivational examples are everywhere.
>
> Think about gridding physical problems expressed in cylindrical or
> spherical coordinates.  The natural slices are not rectangles.  You can
> use rectangular storage but only with O(n^3) waste.
>
> More abstract solution spaces of math and physics do not usually lend
> themselves to rectangular treatments.  (I understand finite element
> techniques and am not referring to those.)  Again, rectangular storage
> is possible only with O(n^d) waste, where commonly d>3.
>
> Granted one may overcome these issues with software development effort;
> that insight begs the question.  I am looking for teaching software that
> already does so.
>
> I agree that rectangular storage is easiest for software programmers and
> hence common.  It is not easiest for solving all problems.  Students
> should explore solutiuon spaces in a proper setting.  So I just asked
> what numpy could do in this regard.  Now I have the plain answer, and am
> grateful for it.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to