Message Boards Message Boards

0
|
2258 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

DO loop into a list

Posted 11 years ago
POSTED BY: nikos miridakis
2 Replies

You might want to look at the functions Sow/Reap or alternatively AppendTo.

Cheers, M.

POSTED BY: Marco Thiel

Let's say that your function is f[g] then

Map[f, Range[5]]

would give you want you want in your particular case

 {f[1], f[2], f[3], f[4], f[5]}
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract