From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: Submission of Matrix Kronecker Product for calc Date: Tue, 04 Mar 2008 21:22:25 -0600 Message-ID: References: Reply-To: jay.p.belanger@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1204687375 13106 80.91.229.12 (5 Mar 2008 03:22:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2008 03:22:55 +0000 (UTC) Cc: jay.p.belanger@gmail.com, emacs-devel@gnu.org To: Vincent =?utf-8?Q?Bela=C3=AFche?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 05 04:23:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JWkDv-0007YT-8e for ged-emacs-devel@m.gmane.org; Wed, 05 Mar 2008 04:23:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWkDO-0003ax-1p for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2008 22:22:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWkDF-0003Tp-15 for emacs-devel@gnu.org; Tue, 04 Mar 2008 22:22:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWkDD-0003Rr-Jz for emacs-devel@gnu.org; Tue, 04 Mar 2008 22:22:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWkDD-0003Rd-8c for emacs-devel@gnu.org; Tue, 04 Mar 2008 22:22:35 -0500 Original-Received: from s3.cableone.net ([24.116.0.229]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWkDC-0007j7-QM for emacs-devel@gnu.org; Tue, 04 Mar 2008 22:22:35 -0500 Original-Received: from localhost.localdomain (unverified [24.117.100.114]) by S3.cableone.net (CableOne SMTP Service S3) with ESMTP id 147173069-1872270 for multiple; Tue, 04 Mar 2008 20:22:27 -0700 In-Reply-To: ("Vincent =?utf-8?Q?Bela=C3=AFche=22's?= message of "Sun, 2 Mar 2008 22:37:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NotAscii: charset=utf-8 X-IP-stats: Incoming Last 10, First 32, in=7, out=0, spam=0 ip=24.117.100.114 X-Originating-IP: 24.117.100.114 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91350 Archived-At: Vincent Bela=C3=AFche writes: ... > Maybe this can be useful to somebody else. Yes. Would there be a problem if I tidied it up a bit? Altogether, it would end up 20 lines or so; to be included in Calc, we would need legal papers from you. > (defun calcFunc-kron (x y) > "Kronecker product of matrices x and y. If x and y are not explicitly matrices, I take it they will be implicitly considered matrices.=20=20 > After computation the result may be desembedded from matrix so that > the Kronecker product of two scalars is a scalar, ... Why should the result not be a matrix? Is it useful? Jay