Group Abstract Group Abstract

Message Boards Message Boards

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

Using Part to access a portion of an irregular array ...

POSTED BY: Mark Tuttle
2 Replies

Perfect. Just what I wanted.

And a nice teachable moment. (I keep forgetting about Apply ... To many years of procedural programming.)

-- Mark

POSTED BY: Mark Tuttle

Using simply the function Part: you can't, simple as that!

you could using something like:

{#1[[2]],#2}&@@@ {{{a, b}, c}, {{d, e}, f}, {{g, h}, i}}

or the Flatten you proposed or some variation...

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard