Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13236 > unrolled thread

Re: problem with append

Started bychristopher arthur <chris.arthur1@gmail.com>
First post2013-01-21 05:07 +0000
Last post2013-01-21 05:07 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: problem with append christopher arthur <chris.arthur1@gmail.com> - 2013-01-21 05:07 +0000

#13236 — Re: problem with append

Fromchristopher arthur <chris.arthur1@gmail.com>
Date2013-01-21 05:07 +0000
SubjectRe: problem with append
Message-ID<kdiidv$ncv$1@smc.vnet.net>
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
>
>
>   

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web