I have an array of arrays. Example (representation 1):

1 1 2 1 2 3 1 2 3 4

or (representation2):

1

1 2

1 2 3

1 2 3 4

I would like to append a number to each of the enclosed arrays - say a

5. In other words, I'd like to end up with this:

1 5 1 2 5 1 2 3 5 1 2 3 4 5

But it isn't as easy as simply saying "array is array,5". It seems

that the difficulty is the fact that each of the enclosed arrays is of

a different length, but this is a necessity of my application.

Now, of course I could brute force it and do a typical loop, but I

don't want to do that. I did find that something like this works

quite well (recalling from memory - hope it is correct):

array is {omega,5} each array

And I don't mind this particular solution at all, and am happy to use

it. My question is whether there is anything better?

1. Tangent Vb.net best ways of doing runtime updates.

2. any easier and effective ways of doing outbound SMTP restrictions?

3. Any easier and effective ways of doing outbound SMTP restrictions

4. HP analyzers - extracting data, sdf files, etc. with older DOS software or other ways

5. Why does perl allow so many different ways of doing essentially the same thing?

6. Why does perl allow so many different ways of doing essentially the same thing?

7. Number of Differing Digits & Another Problem (want to see different ways it can be done)

8. sum done two ways gives different answers in

9. CSS Links - 2 alternative ways of doing it?

10. got a range from an array, but looking for other ways of doing it

11. New ways of doing old things in exchange

12. sum done two ways gives different answers in Mathematica

13. 10440.4 Several ways of doing that

14. Effective ways of doing date arithmatic

2 post • Page:**1** of **1**