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:31:47 +0200 Message-ID: References: <877dkdd8d2.fsf@zoho.eu> <878s4twhmh.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="8868"; 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:32:55 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 1leFlu-0002DL-RE for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 13:32:54 +0200 Original-Received: from localhost ([::1]:36884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leFlt-00065Y-KN for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 07:32:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leFkv-00064O-GE for help-gnu-emacs@gnu.org; Wed, 05 May 2021 07:31:53 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:59921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leFks-0005mI-82 for help-gnu-emacs@gnu.org; Wed, 05 May 2021 07:31:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620214307; bh=XgLv6zjHgz4/a4I16lVou18/syQUL+4P+8CUDp9NN5M=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=VnvhEleeoUWKVO4zIMO+TZmoCttQIWL2vDjbME0DkLYsSjMbtsF/jIv+d2wpg7tAX 0FtFe+sPfqqO86LmN+AJvfGJi93e1xD/lMWaZI1b9vCPz5PJt7fAypUXkTIo6XZERq 3HEFNLoVu3ETJLcOuOqg/zm9oIOlQojHCHjeuh1Q= 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:31:47 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <878s4twhmh.fsf@ucl.ac.uk> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:54Vqw0ogZWAi4LgIh7foBHbfF5fwnfZeXKbtHBsP/DTpkMcPYKbs5pNwxYMsDhObHD9rH s14hfWYFizqdegJ4J7WyYRKOTk2LT2MPRKZWxwp+MJp8U8hFjHlDNdDt2058YyjUxt9p1koNIFJD IgHknXS3mIYOrhotR2Vko0YDC8EewXQP85D28Xgdi2QbGSbsaBLn860PF5raQPNxb7s9vDWjuQZP 4m3HQeZBEReMBFbfd1JNafE5Ht3NfmMH+kSLAq3X2z+cp9LN8vFSsJWbQeAFFDex3CMkxqeltHR+ V8= X-UI-Out-Filterresults: notjunk:1;V03:K0:Xa74h2CCKo4=:czMDstHQ/PQJ5VkHWA665O 6ujPSZKZtwywNoEyXxy35qk9CstB1r3zyGOAv0xB7DLr/UGxoNh/6NtQ0edgF6oMhjG8uto4v JZ/rah+EIis6xrnxdlRoHbNqwH37iiUTXzWBYEGOKE29HlEsJjLiLAJQI+M4IQqj+OrlxYAt/ Xn90cLkL7vekHkzGFaPolo97QgeVSGT9qmW58153YE4EAbYc7iz6TEpZju5XpdjO15jMzHbns YqxaR88ekSFDduj/9zTnIWLJMaxGu/Vm/2AV7SHoFGKvFMt89w+dvvti8c/gSVc6u0a4pX01Y bItgYCYBYoJ1ENujze7WXL1aqM13ArSt/10zC+Q2j+BZ8cNXEHBigJ28eP4olk/258HKZPcNv /OG7cfiEizFbZWvHH8bgOgtIRUI6GxI/GO+MYIQ0USM034IoxTO/xVJT1PgO6cZ8ytv1OE+2j lvFPt6Z6U/HYZUXEFVBkJhVloYnt5DvdP8mVR6c2xWC46UXtWzsDEPpZHdXzVE6RFllUL41e6 tiyOGvrz/7b6PfbRABYuoi4vpV1h0lWtTNAPK+IKPJySOkxRCgxJPFLCllgRAxLGcGzfq3Pg7 ayq9rZKQUz/z5vyq9oEB0S/pdGNeIVFRlpff/mfEOjUYq26SGdFriakFelj6qiKv+MoE94WG+ MSzJMU2gbd7EPGdgA3PTP7AqtQBjxD1E1qBiNJZatMoeZpsKcwPusXl6I3kn13n+DyqkP3epQ E6j+YlKHkTMtpMEra7k+iJrULaBY3kuIoyrJ3Txv3MdBjjyXCDSRbItsv5xNQ2LeUum68SVt Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:129473 Archived-At: > Sent: Wednesday, May 05, 2021 at 11:21 PM > From: "Eric S Fraga" > 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] =3D> > > with blank lines before and after. Great. The following work [1,2,3] + [4,5,6] =3D> [1,2,3] * [4,5,6] =3D> 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? > -- > Eric S Fraga via Emacs 28.0.50 & org 9.4.5 on Debian bullseye/sid > > >