MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plus sets in mathematica..?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75974] Re: [mg75927] Plus sets in mathematica..?
  • From: bsyehuda at gmail.com
  • Date: Mon, 14 May 2007 03:42:28 -0400 (EDT)
  • References: <200705130954.FAA04136@smc.vnet.net>

Flatten[Outer[Plus, {x, y, z}, {a, b, c}], 1]

On 5/13/07, changbo <e-changbo at hanmail.net> wrote:
>
> I want to make a function "f", its domain is every thinkable two sets, and
> the result is  {a+b | a$B":(BA,b$B":(BB} for A,B.
>
> ex) A={1,2,3}, B={40,50,60,70},
> then I have f[A,B] as
> {41,42,43,51,52,53,61,62,63,71,72,73}.
>
> How can I construct function "f"? Let me know the source.. Thank you very
> much
>
>



  • Prev by Date: Re: Why Sort[{"AX", "!D", "EX"}] -> {"AX", "!D", "EX"} ?
  • Next by Date: Re: Why Sort[{"AX", "!D", "EX"}] -> {"AX", "!D", "EX"} ?
  • Previous by thread: Plus sets in mathematica..?
  • Next by thread: Re: Plus sets in mathematica..?