emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Elementwise division of two columns in table


From: Nishan Singh Mann
Subject: Re: [O] Elementwise division of two columns in table
Date: Tue, 18 Sep 2018 15:36:15 -0400

This works. Thanks Eric.

On Tue, 18 Sep 2018 at 05:20 Eric S Fraga <address@hidden> wrote:
On Monday, 17 Sep 2018 at 16:36, Nishan Singh Mann wrote:
> Given a table of the form
> | a | b | c |
> |[2,3] | [4,6] | formula
>
> What is the formula for column C such that elementwise division is
> performed to obtain [2,2]. I realize I've to use the (calc-map OPR)
> function but I am not an expert in elisp. Thanks for reading.
> Regards,
> Nishan

Try

| a     | b     | c          |
| [2,3] | [4,6] | [0.5, 0.5] |
#+TBLFM: @2$3=map(div,$1,$2)


--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4
--
Nishan Singh Mann

reply via email to

[Prev in Thread] Current Thread [Next in Thread]