From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 06:15:40 2014 Received: (at submit) by debbugs.gnu.org; 10 Feb 2014 11:15:40 +0000 Received: from localhost ([127.0.0.1]:39234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCopu-0007Q3-7c for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57944) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCopr-0007Pn-Pj for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCope-0006Kn-WE for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCope-0006Ki-Sr for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCopZ-0004NV-F4 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:15:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCopR-0006Il-EF for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:15:17 -0500 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:44257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCopR-0006Ib-8a for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:15:09 -0500 Received: by mail-qc0-f173.google.com with SMTP id i8so10345679qcq.32 for ; Mon, 10 Feb 2014 03:15:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=S0JXzhtehoyCSh8qOn3yNDHoqmoK3o2qrlmPThH4XQo=; b=C7YSBWKNkeASGxWcQu7nlawtSpEiOXeeGxdYGjYYrwvpqiNWeIg3Hj64pE9Dc7gdHT IIOM6IA+oLIWJwYaebxAZiFsD0wBH97UTsyE3rzlSzTZQK0iO3k673TOLnwvRqU+y4W3 w5DFVA5yyWQmk0rnA3plunMU0xIqo5p4WuOvu7XSfA2ErE0LTQ52Oo+MWI0pQ9llduGh vk5V3bFEzBN8RTn/77b9od+zGr+5uWeNhbOeiQ2K4GvAu91tBFGppm4i84N2TEvkiYPJ SvcmFRcpMwhPBrc8+ehK+PSvJQMlPDr/m3D1+9wIyZX43s9YptIWBQS8N/JM4ohG/DVi n9Aw== X-Received: by 10.140.100.240 with SMTP id s103mr43265083qge.38.1392030908468; Mon, 10 Feb 2014 03:15:08 -0800 (PST) Received: from bmac.home (pool-108-40-70-203.bltmmd.fios.verizon.net. [108.40.70.203]) by mx.google.com with ESMTPSA id a5sm41912922qae.2.2014.02.10.03.15.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 03:15:07 -0800 (PST) From: Bart Nielsen Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: emacs 24.3.1; calc/A command Message-Id: <1F934FE7-2092-4CDE-BAB6-14A81104CD47@gmail.com> Date: Mon, 10 Feb 2014 06:15:07 -0500 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) calc - single variable statistics tells me: Another commonly used mean, the RMS (root-mean-square), can be computed for a vector of numbers simply by using the `A' command. So: I believe the RMS value for the vector [21 23 25 25] is 23.5584379788. = (RMS means =91the root, of the mean, of the square =97 so=20 vM* uM Q (returns that value) A returns 47.1168759576 q1: How do I figure out what A is doing? q2: Isn=92t this wrong? Thanks =3D=3D=3D=3D=3D Here=92s the standard form for an error report: (the above just seemed = cleaner. Maybe not.) 23.5584379788 =20 his bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': M-x calc '[ 21 23 25 25 ] vM* uM Q '[21 23 25 25 ] A leaves 2: 23.5584379788 1: 47.1168759576 on the stack. Shouldn't A return 23.5584379788? If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/Cellar/emacs/24.3/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0) of 2014-01-24 on bmac.home Configured using: `configure '--prefix=3D/usr/local/Cellar/emacs/24.3' '--without-dbus' '--enable-locallisppath=3D/usr/local/share/emacs/site-lisp' '--infodir=3D/usr/local/Cellar/emacs/24.3/share/info/emacs' '--without-gnutls' '--without-x' 'CC=3Dclang'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Info Minor modes in effect: display-time-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: " H SPC DEL DEL DEL DEL DEL DEL SPC - SPC C a l c SPC V e c t o r SPC M e d i a n " C-e C-@ - - - SPC s o r t SPC DEL , SPC a v e r g DEL a g e SPC t h e SPC m i d d l e DEL DEL DEL l DEL d l e C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-@ - SPC a r i t h m e t i c SPC m e a n ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A C-x o ESC x c a l c RET ' 2 1 * 2 1 SPC + SPC 2 3 * 2 3 SPC + SPC 2 5 * 2 5 * 2 C-a ( s DEL DEL s q r t ( ( C-e ) / 4 ) RET C-y A C-h a C-g C-h k A C-x o C-x o a A DEL C-x o C-x o SPC - - - SPC n o , SPC i t ' DEL SPC o u g h t SPC t o SPC b e SPC 2 3 . 5 5 8 4 C-x o C-x o C-x o C-h C-g ' Y DEL C-y C-a C-d C-d C-d C-d C-e RET RET v M * u + S U C-h k S C-g C-x o C-x o ' s q r t ( C-g 4 / L 2 / E C-x o C-x o C-x o C-x o C-s A ESC x r e p o r t SPC e m a c s SPC b SPC RET Recent messages: Working... Map: (Press ? for help): Working... [3 times] Undo! Quit Auto-saving...done Quit Working... [4 times] Mark saved where search started Load-path shadows: /usr/local/share/emacs/site-lisp/gnuplot hides = /usr/local/share/emacs/site-lisp/gnuplot-2012-11-04/gnuplot /usr/local/share/emacs/site-lisp/gnuplot-gui hides = /usr/local/share/emacs/site-lisp/gnuplot-2012-11-04/gnuplot-gui Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns help-mode apropos calc-forms calc-frac calc-mode calc-math calc-arith calc-units calc-misc jka-compr info tool-bar calc-undo calc-map calc-stat calccomp calc-alg calc-vec calc-aent calc-menu easymenu calc-yank calc-ext calc calc-loaddefs calc-macs misearch multi-isearch time-date edmacro kmacro time image ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 13:23:48 2014 Received: (at 16706) by debbugs.gnu.org; 10 Feb 2014 18:23:48 +0000 Received: from localhost ([127.0.0.1]:41670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCvWF-0006zh-U8 for submit@debbugs.gnu.org; Mon, 10 Feb 2014 13:23:48 -0500 Received: from mail-in-05.arcor-online.net ([151.189.21.45]:54112) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCvWC-0006zQ-BE for 16706@debbugs.gnu.org; Mon, 10 Feb 2014 13:23:46 -0500 Received: from mail-in-18-z2.arcor-online.net (mail-in-18-z2.arcor-online.net [151.189.8.35]) by mx.arcor.de (Postfix) with ESMTP id DEE29E3BAA; Mon, 10 Feb 2014 19:23:37 +0100 (CET) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-18-z2.arcor-online.net (Postfix) with ESMTP id E00B53481C4; Mon, 10 Feb 2014 19:23:34 +0100 (CET) X-Greylist: Passed host: 217.235.21.136 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net B236D9BE6D DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nexgo.de; s=mail-in; t=1392056614; bh=iA6lHkNfUNjOPvIwmusQdHaE/yoAO5QWAZmpBxonbSA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=m73BuEKkkT3KUj3hbEpquzigqkAo3bBQ1lYvRNqOnjwlc8jcQeK1NewDzU/3vWJuD Z/H28GbcnnqdoWY2fA63oksMHD0OvK09+phW8iiX/cRbs+VEpKw6u7Kumln2XITiPd XBLCB//klpywLnopxKyW/fYLB6ah1hPXc6ow2AW8= X-Greylist: Passed host: 217.235.21.136 Received: from Rainer.invalid (pD9EB1588.dip0.t-ipconnect.de [217.235.21.136]) (Authenticated sender: stromeko@arcor.de) by mail-in-14.arcor-online.net (Postfix) with ESMTPSA id B236D9BE6D; Mon, 10 Feb 2014 19:23:34 +0100 (CET) From: Achim Gratz To: Bart Nielsen Subject: Re: bug#16706: emacs 24.3.1; calc/A command References: <1F934FE7-2092-4CDE-BAB6-14A81104CD47@gmail.com> Date: Mon, 10 Feb 2014 19:23:27 +0100 In-Reply-To: <1F934FE7-2092-4CDE-BAB6-14A81104CD47@gmail.com> (Bart Nielsen's message of "Mon, 10 Feb 2014 06:15:07 -0500") Message-ID: <87r47abzds.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16706 Cc: 16706@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Bart Nielsen writes: > A returns > 47.1168759576 > > > q1: How do I figure out what A is doing? The result indicates that it returns the vector magnitude or absolute of the vector, which is exactly twice the RMS value for a four-element vector. In other words, you'd need to divide by sqrt(n) after A. Looking up "A" through the index leads to a correct description of what it does. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 22:42:44 2014 Received: (at 16706) by debbugs.gnu.org; 11 Feb 2014 03:42:44 +0000 Received: from localhost ([127.0.0.1]:42267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WD4FA-0001ZB-Cl for submit@debbugs.gnu.org; Mon, 10 Feb 2014 22:42:44 -0500 Received: from mail-ob0-f179.google.com ([209.85.214.179]:35842) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WD4F8-0001Yt-Q5 for 16706@debbugs.gnu.org; Mon, 10 Feb 2014 22:42:43 -0500 Received: by mail-ob0-f179.google.com with SMTP id wo20so8315758obc.10 for <16706@debbugs.gnu.org>; Mon, 10 Feb 2014 19:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:reply-to:cc:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=GKGVtS+u35JHjFCnH439MEvxauDoNs7Mu0K/AMFgFx8=; b=ATOoIq18zjLbOhp0+0IEGVcVnQrwtsk3wvVLOPX3PzV1P0AcveqdV+PHd9536WC2GW 24v8tRJBHw/xA2obQzIPGh0P+xE9ySJbrq7oXHVYsDRY4+X4jiAAhfye+igyEuJkJ5MS rsvv/P28zVSgdfY0xU/PJsJzf1jPT0VNBfH+g2SFt95GbJtwUOrptzCoRSIWtxCPWIg2 MSWF0Io4SolxOG5+sMuuOjdq/4bQpw4yn9CTTuwPbthodm1nFqD0fiihEiwCxoCk6gwI wkAWk0+QkfjvzuktCN1ejZDsZjlxQps6GX1OobpqowzsSE9atqjtdXSpSv8cPcR2pfft QdGw== X-Received: by 10.60.132.234 with SMTP id ox10mr2486383oeb.17.1392090156893; Mon, 10 Feb 2014 19:42:36 -0800 (PST) Received: from belanger-home (184-155-87-143.cpe.cableone.net. [184.155.87.143]) by mx.google.com with ESMTPSA id qh4sm40968106obc.4.2014.02.10.19.42.35 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Feb 2014 19:42:36 -0800 (PST) From: Jay Belanger To: Bart Nielsen Subject: Re: bug#16706: emacs 24.3.1; calc/A command References: <1F934FE7-2092-4CDE-BAB6-14A81104CD47@gmail.com> Date: Mon, 10 Feb 2014 21:41:42 -0600 In-Reply-To: <1F934FE7-2092-4CDE-BAB6-14A81104CD47@gmail.com> (Bart Nielsen's message of "Mon, 10 Feb 2014 06:15:07 -0500") Message-ID: <874n46joy1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16706 Cc: jay.p.belanger@gmail.com, 16706@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: jay.p.belanger@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Bart, > calc - single variable statistics tells me: > > Another commonly used mean, the RMS (root-mean-square), can be > computed for a vector of numbers simply by using the `A' command. > > > So: > > I believe the RMS value for the vector [21 23 25 25] is 23.5584379788. > (RMS means =E2=80=98the root, of the mean, of the square =E2=80=94 so Of course, rms means "Richard M Stallman", too! But as you noted, the manual is wrong. I'm really surprised that such an error has been around so long. "A" should stand for "absolute value", which for a vector should be the norm. Offhand, I don't see the RMS function in Calc. If it isn't there, I'll (for now) remove that paragraph from the manual, and after the Emacs feature freeze is over I'll put in the RMS function. Then I'll put the paragraph back in the manual, with the correct keybinding. Jay From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 17 17:27:10 2020 Received: (at 16706-done) by debbugs.gnu.org; 17 Jan 2020 22:27:11 +0000 Received: from localhost ([127.0.0.1]:40251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isa58-0002Im-NO for submit@debbugs.gnu.org; Fri, 17 Jan 2020 17:27:10 -0500 Received: from mail1434c50.megamailservers.eu ([91.136.14.34]:33072 helo=mail263c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isa56-0002IV-LW for 16706-done@debbugs.gnu.org; Fri, 17 Jan 2020 17:27:10 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1579300021; bh=SItNOsYYFVHzMuBdqIN3ZZ9pI6OwZe4OXBKUEPjWG4s=; h=From:Subject:Date:Cc:To:From; b=ZeOWorwphuU7HVL+4SEYXcCYxufGW9v58FQ1JKgd07rdlJ0N1lDc/31+SCA8ADmzF HXxUIdtoxD01HNL8F/MxLyPIBF6zcOm5J9c1kJX+bHaF1fTHNnRMi6qEPfrFhOewbC 8RMAf5lpiwpHE7Pe3PXanAvmdrB+1olxyPFU3Zm8= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail263c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 00HMQxCq022874; Fri, 17 Jan 2020 22:27:01 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: bug#16706: emacs 24.3.1; calc/A command Message-Id: Date: Fri, 17 Jan 2020 23:26:58 +0100 To: 16706-done@debbugs.gnu.org X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020D.5E2234B5.0047, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=II989TnG c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=vxTgAA4XHiEaUGxgARYA:9 a=CjuIK1q_8ugA:10 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16706-done Cc: Jay Belanger , Bart Nielsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This bug seems to have been resolved but not closed, so let's do that. A root mean square function (u R) has been present since 2015. From unknown Thu Aug 21 12:11:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Feb 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator