aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJay Belanger2012-08-01 18:42:29 -0500
committerJay Belanger2012-08-01 18:42:29 -0500
commit1dcac243ee8b2574c7ea8202f01e36276c01d528 (patch)
tree7c27617215c53c7cb0fd75c144e8d7235217a72c /doc
parent4939150cb43137980c49b318bc70119b9d8ff6f7 (diff)
downloademacs-1dcac243ee8b2574c7ea8202f01e36276c01d528.tar.gz
emacs-1dcac243ee8b2574c7ea8202f01e36276c01d528.zip
calc.texi (Simplification modes, Conversions)
(Operating on Selections, Basic Simplifications) (Algebraic Simplifications): Mention "basic" simplifications. (Algebraic Entry): Remove mention of default simplifications.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/calc.texi26
2 files changed, 16 insertions, 14 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 2efb00a4898..b44beaa811e 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,6 +1,7 @@
12012-08-01 Jay Belanger <jay.p.belanger@gmail.com> 12012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2 2
3 * calc.texi (Simplification modes): Mention "basic" simplification. 3 * calc.texi (Simplification modes, Conversions)
4 (Operating on Selections): Mention "basic" simplification.
4 (The Calc Mode Line): Mention the mode line display for Basic 5 (The Calc Mode Line): Mention the mode line display for Basic
5 simplification mode. 6 simplification mode.
6 (Simplify Formulas): Refer to 'algebraic' rather than 'default' 7 (Simplify Formulas): Refer to 'algebraic' rather than 'default'
@@ -14,6 +15,7 @@
14 (Trigonometric/Hyperbolic Functions, Reducing and Mapping) 15 (Trigonometric/Hyperbolic Functions, Reducing and Mapping)
15 (Kinds of Declarations, Functions for Declarations): Mention 16 (Kinds of Declarations, Functions for Declarations): Mention
16 "algebraic simplifications" instead of `a s'. 17 "algebraic simplifications" instead of `a s'.
18 (Algebraic Entry): Remove mention of default simplifications.
17 19
182012-07-30 Jay Belanger <jay.p.belanger@gmail.com> 202012-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19 21
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index f36796b180f..f8f6d06b93a 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -10123,7 +10123,7 @@ formula that goes onto the stack. (Thus @kbd{' pi @key{RET}} pushes
10123the variable @samp{pi}, but @kbd{' pi M-@key{RET}} pushes 3.1415.) 10123the variable @samp{pi}, but @kbd{' pi M-@key{RET}} pushes 3.1415.)
10124 10124
10125If you finish your algebraic entry by pressing @key{LFD} (or @kbd{C-j}) 10125If you finish your algebraic entry by pressing @key{LFD} (or @kbd{C-j})
10126instead of @key{RET}, Calc disables the default simplifications 10126instead of @key{RET}, Calc disables simplification
10127(as if by @kbd{m O}; @pxref{Simplification Modes}) while the entry 10127(as if by @kbd{m O}; @pxref{Simplification Modes}) while the entry
10128is being pushed on the stack. Thus @kbd{' 1+2 @key{RET}} pushes 3 10128is being pushed on the stack. Thus @kbd{' 1+2 @key{RET}} pushes 3
10129on the stack, but @kbd{' 1+2 @key{LFD}} pushes the formula @expr{1+2}; 10129on the stack, but @kbd{' 1+2 @key{LFD}} pushes the formula @expr{1+2};
@@ -12613,12 +12613,12 @@ fast algebraic simplifications such as @expr{a+0} to @expr{a}, and
12613 12613
12614@kindex m B 12614@kindex m B
12615@pindex calc-bin-simplify-mode 12615@pindex calc-bin-simplify-mode
12616The @kbd{m B} (@code{calc-bin-simplify-mode}) mode applies the limited 12616The @kbd{m B} (@code{calc-bin-simplify-mode}) mode applies the basic
12617simplifications to a result and then, if the result is an integer, 12617simplifications to a result and then, if the result is an integer,
12618uses the @kbd{b c} (@code{calc-clip}) command to clip the integer according 12618uses the @kbd{b c} (@code{calc-clip}) command to clip the integer according
12619to the current binary word size. @xref{Binary Functions}. Real numbers 12619to the current binary word size. @xref{Binary Functions}. Real numbers
12620are rounded to the nearest integer and then clipped; other kinds of 12620are rounded to the nearest integer and then clipped; other kinds of
12621results (after the default simplifications) are left alone. 12621results (after the basic simplifications) are left alone.
12622 12622
12623@kindex m A 12623@kindex m A
12624@pindex calc-alg-simplify-mode 12624@pindex calc-alg-simplify-mode
@@ -16714,10 +16714,10 @@ produced!) Integers and fractions are generally unaffected by this
16714operation. Vectors and formulas are cleaned by cleaning each component 16714operation. Vectors and formulas are cleaned by cleaning each component
16715number (i.e., pervasively). 16715number (i.e., pervasively).
16716 16716
16717If the simplification mode is set below the limited level, it is raised 16717If the simplification mode is set below basic simplification, it is raised
16718to the limited level for the purposes of this command. Thus, @kbd{c c} 16718for the purposes of this command. Thus, @kbd{c c} applies the basic
16719applies the limited simplifications even if their automatic application 16719simplifications even if their automatic application is disabled.
16720is disabled. @xref{Simplification Modes}. 16720@xref{Simplification Modes}.
16721 16721
16722@cindex Roundoff errors, correcting 16722@cindex Roundoff errors, correcting
16723A numeric prefix argument to @kbd{c c} sets the floating-point precision 16723A numeric prefix argument to @kbd{c c} sets the floating-point precision
@@ -22124,7 +22124,7 @@ now to take the cosine of the selected part.)
22124@kindex j v 22124@kindex j v
22125@pindex calc-sel-evaluate 22125@pindex calc-sel-evaluate
22126The @kbd{j v} (@code{calc-sel-evaluate}) command performs the 22126The @kbd{j v} (@code{calc-sel-evaluate}) command performs the
22127limited simplifications on the selected sub-formula. 22127basic simplifications on the selected sub-formula.
22128These simplifications would normally be done automatically 22128These simplifications would normally be done automatically
22129on all results, but may have been partially inhibited by 22129on all results, but may have been partially inhibited by
22130previous selection-related operations, or turned off altogether 22130previous selection-related operations, or turned off altogether
@@ -22412,14 +22412,14 @@ a serious user of Calc's algebra facilities.
22412 22412
22413As well as the simplifications described here, if you have stored 22413As well as the simplifications described here, if you have stored
22414any rewrite rules in the variable @code{EvalRules} then these rules 22414any rewrite rules in the variable @code{EvalRules} then these rules
22415will also be applied before any built-in default simplifications. 22415will also be applied before any of the basic simplifications.
22416@xref{Automatic Rewrites}, for details. 22416@xref{Automatic Rewrites}, for details.
22417 22417
22418@tex 22418@tex
22419\bigskip 22419\bigskip
22420@end tex 22420@end tex
22421 22421
22422And now, on with the limited set of simplifications: 22422And now, on with the basic simplifications:
22423 22423
22424Arithmetic operators like @kbd{+} and @kbd{*} always take two 22424Arithmetic operators like @kbd{+} and @kbd{*} always take two
22425arguments in Calc's internal form. Sums and products of three or 22425arguments in Calc's internal form. Sums and products of three or
@@ -22737,7 +22737,7 @@ of terms including non-adjacent ones.
22737 22737
22738Products are sorted into a canonical order using the commutative 22738Products are sorted into a canonical order using the commutative
22739law. For example, @expr{b c a} is commuted to @expr{a b c}. 22739law. For example, @expr{b c a} is commuted to @expr{a b c}.
22740This allows easier comparison of products; for example, the limited 22740This allows easier comparison of products; for example, the basic
22741simplifications will not change @expr{x y + y x} to @expr{2 x y}, 22741simplifications will not change @expr{x y + y x} to @expr{2 x y},
22742but the algebraic simplifications; it first rewrites the sum to 22742but the algebraic simplifications; it first rewrites the sum to
22743@expr{x y + x y} which can then be recognized as a sum of identical 22743@expr{x y + x y} which can then be recognized as a sum of identical
@@ -22796,10 +22796,10 @@ simplified successfully.
22796Integer powers of the variable @code{i} are simplified according 22796Integer powers of the variable @code{i} are simplified according
22797to the identity @expr{i^2 = -1}. If you store a new value other 22797to the identity @expr{i^2 = -1}. If you store a new value other
22798than the complex number @expr{(0,1)} in @code{i}, this simplification 22798than the complex number @expr{(0,1)} in @code{i}, this simplification
22799will no longer occur. This is not done by the limited 22799will no longer occur. This is not done by the basic
22800simplifications; in case someone (unwisely) wants to use the name 22800simplifications; in case someone (unwisely) wants to use the name
22801@code{i} for a variable unrelated to complex numbers, they can use 22801@code{i} for a variable unrelated to complex numbers, they can use
22802limited simplifications. 22802basic simplification mode.
22803 22803
22804Square roots of integer or rational arguments are simplified in 22804Square roots of integer or rational arguments are simplified in
22805several ways. (Note that these will be left unevaluated only in 22805several ways. (Note that these will be left unevaluated only in