From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Calculating percentage Date: Sat, 15 Jul 2017 07:06:15 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f4030437a8ac208e7105545420e6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWFHY-00033G-Ns for emacs-orgmode@gnu.org; Sat, 15 Jul 2017 01:06:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWFHX-0006Em-ST for emacs-orgmode@gnu.org; Sat, 15 Jul 2017 01:06:20 -0400 Received: from mail-ua0-x236.google.com ([2607:f8b0:400c:c08::236]:35104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWFHX-0006Ee-Mw for emacs-orgmode@gnu.org; Sat, 15 Jul 2017 01:06:19 -0400 Received: by mail-ua0-x236.google.com with SMTP id j53so61846154uaa.2 for ; Fri, 14 Jul 2017 22:06:17 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --f4030437a8ac208e7105545420e6 Content-Type: text/plain; charset="UTF-8" I have implemented something in different ways. I have the following table: |----------+------------| | Average | Percentage | |----------+------------| | 3.01E+00 | | | 7.31E+00 | | |----------+------------| | 2.72E+01 | | | 4.09E+01 | | |----------+------------| | 6.80E+01 | | | 7.07E+01 | | |----------+------------| | 7.19E+01 | | | 9.87E+01 | | |----------+------------| The average column is the runtime of the different implementations. The last one is the original implementation. In the percentage column I would like to have the percentage of time compared to the original implementation. So for example the first Percentage field should contain 3 (or 3 %). How would I do this? It would be nice if the last Percentage field stays empty, but that is not necessary. -- Cecil Westerhof --f4030437a8ac208e7105545420e6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have implemented something in different ways. I have the f= ollowing table:
|----------+------------|
|=C2=A0 Average | Perce= ntage |
|----------+------------|
| 3.01E+00 |=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
| 7.31E+00 |=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|----------+---= ---------|
| 2.72E+01 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |
| 4.09E+01 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|----------+------------|
| 6.80E+01 |= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
| 7= .07E+01 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= |
|----------+------------|
| 7.19E+01 |=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
| 9.87E+01 |=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
|----------+---------= ---|

The average column is the runtime of the different implemen= tations. The last one is the original implementation.
In the perce= ntage column I would like to have the percentage of time compared to the or= iginal implementation. So for example the first Percentage field should con= tain 3 (or 3 %).
How would I do this? It would be nice if the last P= ercentage field stays empty, but that is not necessary.

--
Cecil Westerhof
--f4030437a8ac208e7105545420e6--