Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13236
| From | christopher arthur <chris.arthur1@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: problem with append |
| Date | 2013-01-21 05:07 +0000 |
| Message-ID | <kdiidv$ncv$1@smc.vnet.net> (permalink) |
| References | <20130120062148.0CB436854@smc.vnet.net> |
| Organization | Time-Warner Telecom |
maybe this is what you want
rr={};
For[a = 2, a < 6, a++,
For[b = 2, b < 6, b++,
rr = Appendto[rr, a^b]]]
rr
Paolo cachecho a écrit :
> hello i am new to mathmatica.i have the following problem if anyone could help.
>
> For[a = 2, a < 6, a++,
> For[b = 2, b < 6, b++,
> Appendto[rr = {}, a^b]]]
> rr
>
> but rr remains empty. how can i solve this
> thank you
>
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: problem with append christopher arthur <chris.arthur1@gmail.com> - 2013-01-21 05:07 +0000
csiph-web