Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Outer with index in bounds

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80436] Outer with index in bounds
  • From: DC <b.gatessucks at gmail.com>
  • Date: Wed, 22 Aug 2007 04:49:13 -0400 (EDT)

Hi all, I would like to use Outer as:

Outer[f[#1,#2]&,Range[10],Range[#1],1,1]

in order to create a list whose first element is a list of length 1, the 
second is a list of length 2, and so on.
More generally, I would like to use Outer with one bound depending on 
the other as in :

Outer[f[#1,#2]&,list1,list2[#1],1,1]

Obviously none of the above works.
Many thanks in advance for any pointers.
-Francesco


  • Prev by Date: PlotStyle in version 6
  • Next by Date: REQ: Kuratowski graphs on Möbius band and torus
  • Previous by thread: Re: PlotStyle in version 6
  • Next by thread: Re: Outer with index in bounds