Søren Hauberg wrote:
> søn, 18 10 2009 kl. 00:20 +0200, skrev Javier Enciso:
> 
>>Looking at the cover of Science magazine for 9 Oct. 2009 
>><http://www.sciencemag.org/content/vol326/issue5950/cover.dtl>, I found 
>>some sort of motivation to write two simple functions to draw such 
>>Space-filling curves.

Looks like a simple binary pattern creating a series of blocks that start a new 
"layer" with each change on binary order.


>>It will be nice if they can be included in the 
>>miscellaneous package, however, I'm not quite sure regarding the 
>>convenience of the function names (they seem to be so general); if so, 
>>please feel free to propose suitable new names.
> 
> 
> Yeah, the names are probably too general (I believe we have a 'hilbert'
> function already that generates a Hilbert matrix). Perhaps
> 'hilbert_curve' or the long-and-obvious name
> 'hilbert_space_filling_curve'?

Long names aren't good.  Go for short condensations.  Aim for no underscores if 
possible.  For example, hilfil.m gets the point across and has an aliteration 
memory aid.


> 'miscellaneous' seems like a fine place. We used to have a 'plot'
> package, that could also be a suitable package, but I think we killed
> that one.

Combinatorics might work, oweing to the geometric pattern.  But a fractals 
package would be good too.  (Why is there none?  Fractal patterns were all the 
rage a decade ago.)

Dan

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to