Hi Steven

> Steven Adrian <sadr...@acumeniacal.com> writes:
>> #+TBLFM: @1$1..@1$10=index(10)
>>
>> But the formula above just puts the whole vector in each cell. Can anyone
>> tell me how to put the vector values in individual cells?

The vector elements can be accessed with Calc subscr() and Org "field
coordinates":
http://orgmode.org/manual/References.html

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
#+TBLFM: @1$1..@1$10 = subscr(index(10), $#)

In a TBLFM I would not use Calc vector functions like index() but a
calculation of $#, here simply f(x) = x:

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
#+TBLFM: @1$1..@1$10 = $#

Or is there an interesting Calc vector function that is not easy to
mimic?

Michael

Reply via email to