aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJay Belanger2015-09-15 19:53:06 -0500
committerJay Belanger2015-09-15 19:53:06 -0500
commit2667d5c7fbaa3de8103488c7e3779eb768f9d15c (patch)
tree664c1b4571ea9cd67cb7b5ab50d7f73fadc82746 /doc
parentfa856144b7b6b4d90f48f862f88ed7cc8b40ca6f (diff)
downloademacs-2667d5c7fbaa3de8103488c7e3779eb768f9d15c.tar.gz
emacs-2667d5c7fbaa3de8103488c7e3779eb768f9d15c.zip
Add new functions for the root mean square of a (Calc) vector
* lisp/calc/calc-stats.el (calcFunc-rms, calc-vector-rms): New functions. * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for `calc-vector-rms', add autoloads for `calc-vector-rms' and `calcFunc-rms'. * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for `calcFunc-rms'. * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for `calc-vector-rms'. * doc/misc/calc.texi (Single-Variable Statistics): Document the rms command.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/calc.texi10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 034f42b1a16..06e476d9313 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -20738,9 +20738,12 @@ mean, then repeating until the two values converge.
20738$$ a_{i+1} = { a_i + b_i \over 2 } , \qquad b_{i+1} = \sqrt{a_i b_i} $$ 20738$$ a_{i+1} = { a_i + b_i \over 2 } , \qquad b_{i+1} = \sqrt{a_i b_i} $$
20739@end tex 20739@end tex
20740 20740
20741@c @cindex Root-mean-square 20741@kindex u R
20742@c Another commonly used mean, the RMS (root-mean-square), can be computed 20742@cindex Root-mean-square
20743@c for a vector of numbers simply by using the @kbd{A} command. 20743@tindex rms
20744Another commonly used mean, the RMS (root-mean-square), can be computed
20745for a vector of numbers by using the @kbd{u R}
20746(@code{calc-vector-rms}) [@code{rms}]command.
20744 20747
20745@kindex u S 20748@kindex u S
20746@pindex calc-vector-sdev 20749@pindex calc-vector-sdev
@@ -36503,6 +36506,7 @@ keystrokes are not listed in this summary.
36503@r{ v@: H u M @: @: 19 @:vmedian@:(v)} 36506@r{ v@: H u M @: @: 19 @:vmedian@:(v)}
36504@r{ v@: I H u M @: @: 19 @:vhmean@:(v)} 36507@r{ v@: I H u M @: @: 19 @:vhmean@:(v)}
36505@r{ v@: u N @: @: 19 @:vmin@:(v)} 36508@r{ v@: u N @: @: 19 @:vmin@:(v)}
36509@r{ v@: u R @: @: @:rms@:(v)}
36506@r{ v@: u S @: @: 19 @:vsdev@:(v)} 36510@r{ v@: u S @: @: 19 @:vsdev@:(v)}
36507@r{ v@: I u S @: @: 19 @:vpsdev@:(v)} 36511@r{ v@: I u S @: @: 19 @:vpsdev@:(v)}
36508@r{ v@: H u S @: @: 19 @:vvar@:(v)} 36512@r{ v@: H u S @: @: 19 @:vvar@:(v)}