From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Using Calc Date: Wed, 5 May 2021 13:48:57 +0200 Message-ID: References: <877dkdd8d2.fsf@zoho.eu> <878s4twhmh.fsf@ucl.ac.uk> <874kfhwgt0.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eric S Fraga Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 05 13:49:29 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leG1v-0002oN-Uj for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 13:49:27 +0200 Original-Received: from localhost ([::1]:57494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leG1v-0006pD-1P for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 07:49:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leG1X-0006oH-6H for help-gnu-emacs@gnu.org; Wed, 05 May 2021 07:49:03 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:34315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leG1V-0006Gy-5D for help-gnu-emacs@gnu.org; Wed, 05 May 2021 07:49:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620215338; bh=38dZ8qQ49sB2ZJ7NV6zyD4yTLNE/05EPkUcHWEAyJzc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eohyGUxCpA7AvP4UzX6oGiomkQaxbwURN7ZzIpMrHzD8fHnmeJVTA+GQbdUeTiRIE 0MHGF4o5Apd9JPAyGmuPgZVVu6Kmdv/iRn7U/idWhgVqpREuSNGVwmE6bQnkXqY0kM PQyJl5iTmFer8A9/VaANdBO2A8Z0HfurO0C0BlW4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Wed, 5 May 2021 13:48:57 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <874kfhwgt0.fsf@ucl.ac.uk> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:/8sFKoS6Zr1zbxOZEXBlgaIlttcdaZGYNro2aLqQXes3o+R1yaX1YfV89l5HpSiNLIhyw CmYmTqbkYfYIq/672x5OOJMHIG9/DMqMOab91Ey0DW7B84X4LpgGWMOveRIAfPRrpLCMx2LJwUiL ZxDGfYHmYujSi7cghxXsuoPRonvLJy4yeNJtJzaQqZYQkmJLvJd24c82uHZ4diwfsEFwb88tW+WX ViQmXxNT9omHIufOuOa3QrtdcY248AyUi7l3iwAsx9QA1w/QFMEmH7IBOzSABdgfSV0tVbJfE0Ra 8A= X-UI-Out-Filterresults: notjunk:1;V03:K0:3h3VZSgakZs=:kUzIKbez+Yk4TMBP27fc3q sEhnLnrL02rGlMuUgNiBPH5Y9Lm8uonCL4t/ZM9CU7VtvsDKYDwGeX5WqxB0h850NFZUHvJhL avHk1bOgd61ohCs345WhtUvyZXsk+gPF5zLYBpMc9rcyEOsH5ppoSAOkrws2xj1asvPtyOHSq mzojvKkkN1D0/t6uxTiW3PkU9vQD95WHYC1PWJ66OH0KeFOBLFYjaWRKHEHLuXPxv6jI+/0NL GTqfkxKEicJiwLTPfObvIRukMnihkZSm8k6L7NK0nLiwj4e1a0RmGzucnxhUH4PdQq/Q6vs6z 5hqsuHBPgCrt3qH4a9DZC/C3zbVYGTq5h2oiFGJ2Znkz1LQ82fjzEeF+pWLVdjFit41fCPFSb 2C8yIN+FVKooLxkdQq8RXTryx9m7EVXNAo1ootWajD2oM5LRYj5pxivq26c+GfiWwoCG9IpJ/ mTUoW/cDno2SnI3nRfS8herbG/Xpc5HDTRf7BI6YJJwD/cyGxjMd8hS4DZjSWCfKSY7wqIcki X+ZCjDruxfsGoS1as+9u2w0elLtWa1goLTCxu9MxTluxF7jvzrzgmft+W6mgJO+KYBeyot297 NNKHwB4sYFjgy7A14phgDx9mLbCQ0IDzq7JnOScYhylDCku12fPpxQUIz57hOm2Hxo8SUyi8p OTBQhuTL+aswJ67BmGE513WWzxkwk3hIZmG7BUCWBHGE//LSLhtyqs4Sc9wEO5RDWJ4+p/JJu K3GfoWs420LP35RcQPzwIHLgwCNW8lZmsUV5BnVnU6ips6QFwK2aLVX2btST6Y/dn6quKChs Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129476 Archived-At: > Sent: Wednesday, May 05, 2021 at 11:39 PM > From: "Eric S Fraga" > 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.] ] =3D> > > > > 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. ] =3D> [ 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 > > >