Brains Wired Differently Was: REPLICATE with arrays [message #18893] |
Fri, 11 February 2000 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Liam Gumley (Liam.Gumley@ssec.wisc.edu) writes:
> I'll admit that two reshape operations in one line is a bad idea. But if
> it's re-written as
>
> arr = reform(arr, 3, 3, 1) ; add an extra dimension
> arr = rebin(arr, 3, 3, 2, /sample) ; expand along the extra dimension
>
> then I think it's about as clear as you can get (in the IDL world anyway).
I suppose, but I think my brain must be wired differently,
because I can *never* understand this stuff without staring
at it until my eyes bug out of my head. :-(
My wife is the same way. She tells me she can "see"
correctly spelled words in "her head". I've never
seen a word, correctly spelled or otherwise, in my
head, ever. I've memorized every single word I know
how to spell by writing the damn thing about a
million times.
I guess that's what I'm going to have to do with
this Reform-Rebin nonsense, too. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|