[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Calc
From: |
Christopher Dimech |
Subject: |
Re: Using Calc |
Date: |
Wed, 5 May 2021 13:31:47 +0200 |
> Sent: Wednesday, May 05, 2021 at 11:21 PM
> From: "Eric S Fraga" <e.fraga@ucl.ac.uk>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Using Calc
>
> On Wednesday, 5 May 2021 at 13:15, Christopher Dimech wrote:
> > But then the task is to do the computations with org babel.
> >
> > E.g. Vector addition, dot product, cross product.
> >
> > [1,2,3] [4,5,6] +
>
> Or use Embedded Calc and type C-x * u on a line that looks like this:
>
> [1,2,3] + [4,5,6] =>
>
> with blank lines before and after.
Great. The following work
[1,2,3] + [4,5,6] =>
[1,2,3] * [4,5,6] =>
The following gets matrix multiplication
[ [1.,2.,3.] [4.,5.,6.] [7.,8.,9.] ] * [ [9.,8.,7.] [6.,5.,4.] [3., 2.,1.] ] =>
It is then very easy to end up with very long lines. Is there a solution to
this?
> --
> Eric S Fraga via Emacs 28.0.50 & org 9.4.5 on Debian bullseye/sid
>
>
>
- Using Calc, Christopher Dimech, 2021/05/05
- Re: Using Calc, Emanuel Berg, 2021/05/05
- Re: Using Calc, Christopher Dimech, 2021/05/05
- Re: Using Calc, Eric S Fraga, 2021/05/05
- Re: Using Calc,
Christopher Dimech <=
- Re: Using Calc, Eric S Fraga, 2021/05/05
- Re: Using Calc, Christopher Dimech, 2021/05/05
- Re: Using Calc, Eric S Fraga, 2021/05/05
- Re: Using Calc, Christopher Dimech, 2021/05/05
- Re: Using Calc, Christopher Dimech, 2021/05/05
- Re: Using Calc, Christopher Dimech, 2021/05/05
- Re: Using Calc, Nick Dokos, 2021/05/05
- Re: Using Calc, Emanuel Berg, 2021/05/05
- Re: Using Calc, tomas, 2021/05/06
- Re: Using Calc, Christopher Dimech, 2021/05/05