|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-07-26 10:39:06
Larry Evans <cppljevans_at_[hidden]> writes:
> On 07/26/2005 07:25 AM, David Abrahams wrote:
>> Alex Mendes da Costa <alexmdac_at_[hidden]> writes:
>>
>>
>>>The iterator that I am proposing would provide the sequence (1,10),
>>>(2,10), (1,20), (2,20).
>>
>>
>> Oh, you want a cross-product iterator. Interesting idea.
>>
> BTW, the J or apl term for this would be "outer-product"
> (produced with '/' operator) applied to the "append" operator
> (','):
>
> ,/
>
Wow, I'm impressed. I usedta know APL inside-out, but it's been 25
years. But that's just an ASCII translation of the real symbol, no?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk