[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: findng array in array[3,n]
JD Smith (email@example.com) writes:
> I can't say it's elegant, but:
> where(total(rebin(b,n_elements(b),(size(a,/DIMENSIONS)),/SAMP) eq
> a,1) eq n_elements(b))
> The rule is, when comparing arrays, you must expand the smaller to the
> size of the larger.
I'm curious, JD. Are you any good with crossword puzzles?
I'm looking for a seven letter word that .... :-)
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: firstname.lastname@example.org
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155