[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [babel] inline call within table formula?
From: |
Eric S Fraga |
Subject: |
[O] [babel] inline call within table formula? |
Date: |
Fri, 08 Jul 2011 16:19:07 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Hi,
Quick question: I'd like to use a babel inline call to calculate
something in a table based on other values in the table. Is this
possible? Probably using elisp directly? If so, I cannot figure out
what the magic incantation should be! I hope somebody can help.
For illustration, I'd like to do something like this:
--8<---------------cut here---------------start------------->8---
#+source: f
#+begin_src octave :var x=[1 3 5]
sin(x)
#+end_src
| x1 | x2 | x3 | f |
|----+----+----+--------------------------|
| 1 | 3 | 5 | Apply call_f($1..$3) here |
--8<---------------cut here---------------end--------------->8---
Thanks,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.6 (release_7.6.4.gf305a)
- [O] [babel] inline call within table formula?,
Eric S Fraga <=