help-gnu-emacs
[Top][All Lists]
Advanced

[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:48:57 +0200

> Sent: Wednesday, May 05, 2021 at 11:39 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:31, Christopher Dimech wrote:
> > 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?
>
> I get:
>
> [ [ 1., 2., 3. ]     [ [ 9., 8., 7. ]      [ [ 30.,  24.,  18. ]
>   [ 4., 5., 6. ]   *   [ 6., 5., 4. ]   =>   [ 84.,  69.,  54. ]
>   [ 7., 8., 9. ] ]     [ 3., 2., 1. ] ]      [ 138., 114., 90. ] ]

I forgot that I was using "C-c C-c".

When I used "C-c * u", the original expression got deleted.

Could there be a fix for that?

> as a result so not long lines at all?  Of course, if your system gets
> larger, there will be an issue but then I would suggest you use a
> different language (octave for numerics, maxima for symbolic, both
> usable via org babel src blocks if you wish).  I.e. use the right tool
> for the job?
>
> --
> Eric S Fraga via Emacs 28.0.50 & org 9.4.5 on Debian bullseye/sid
>
>
>



reply via email to

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