From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: as for Calc and the math library Date: Sun, 11 Aug 2024 20:59:10 +0300 Message-ID: <86bk1zhrf5.fsf@gnu.org> References: <87bk20yoya.fsf@dataswamp.org> <86zfpjirkg.fsf@gnu.org> <877ccnj9dp.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: incal@dataswamp.org, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 11 20:00:00 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sdCrH-0004JF-LF for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Aug 2024 19:59:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdCqd-0007OA-6E; Sun, 11 Aug 2024 13:59:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdCqc-0007Jx-Fy for emacs-devel@gnu.org; Sun, 11 Aug 2024 13:59:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdCqa-0002E8-46; Sun, 11 Aug 2024 13:59:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cQq//S7yunoO7fbeqx+ZCxIW8gffX0ehL/Izfeo61mk=; b=WI+3MRw6SKAB uvunL8R71mKCXmwVJXHMKA4l6I6jo42A1Nl5a4mKYuQ7hh8zRy2trRpige4Mx0OvIbQxrQXSv/jw1 LLwl4FbrmkXHsxDlnFkue3lPkSz/GnRUGHVv7d6bdSm6p7yy71wKlyut6RIE8KqHedpTxrvZ7HG8p XiicFHBnySRIv3Tvqcr9VW1+9z5AxzeJbtXKPKZUfv/CvQJKik0KjXCO4cq7AA7hs4aRb3xQld+2s 8vs4S1xx/0xClmTT+TKh5SNxJJ41cIPQe1T5fyxePnlzhePNyn62qXUmPztEOOBLtvySvX7dLiJin ZhqDTxdI0lusgWeqOLh+Qw==; In-Reply-To: <877ccnj9dp.fsf@localhost> (message from Ihor Radchenko on Sun, 11 Aug 2024 16:45:54 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322644 Archived-At: > From: Ihor Radchenko > Cc: Emanuel Berg , emacs-devel@gnu.org > Date: Sun, 11 Aug 2024 16:45:54 +0000 > > Eli Zaretskii writes: > > > If Emacs is to have a math library, the library must use high-quality > > mathematical and numerical algorithms that are well-known and > > described in many textbooks on this subject matter... > > I agree with this point, but I suspect that writing such a library from > scratch might be a bit difficult. It depends on the scope and the person who'd like to work on that. > May I suggest an alternative: abstract out GNU Calc math routines to be > available from Elisp without having to read Calc sources. > Such a task would require: > 1. Documenting some Calc data structures > 2. Possibly refactoring some Calc functions to use simpler API. > > It would be a much easier task and can improve the existing > functionality. I don't think I understand well enough what will this entail in practice. Can you show an example of doing this for a couple of functions? In any case, this job, as any other job in Emacs, needs its volunteer(s). Until we have such volunteers, it's all academic.