|
[Date Index]
[Thread Index]
[Author Index]
Re: For Loop and Array related
- To: mathgroup at smc.vnet.net
- Subject: [mg58037] Re: For Loop and Array related
- From: "mark.westwood at ohmsurveys.com" <mark.westwood at gmail.com>
- Date: Thu, 16 Jun 2005 06:43:55 -0400 (EDT)
- References: <d8oucl$t6q$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi
You could try:
Lattice = RandomComposition[16000, 100]
which strikes me as a suitably Mathematica-type way of getting the list
you would like. As for performance, my Mathematica is currently
defunct so I haven't been able to check it. RandomComposition[] is a
function from the Combinatorica package.
Regards
Mark Westwood
Prev by Date:
Re: For Loop and Array related
Next by Date:
Re: Text Manipulation
Previous by thread:
Re: For Loop and Array related
Next by thread:
Re: For Loop and Array related
|