diff options
| author | Jay Belanger | 2012-08-01 18:42:29 -0500 |
|---|---|---|
| committer | Jay Belanger | 2012-08-01 18:42:29 -0500 |
| commit | 1dcac243ee8b2574c7ea8202f01e36276c01d528 (patch) | |
| tree | 7c27617215c53c7cb0fd75c144e8d7235217a72c /doc | |
| parent | 4939150cb43137980c49b318bc70119b9d8ff6f7 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 26 |
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 @@ | |||
| 1 | 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com> | 1 | 2012-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 | ||
| 18 | 2012-07-30 Jay Belanger <jay.p.belanger@gmail.com> | 20 | 2012-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 | |||
| 10123 | the variable @samp{pi}, but @kbd{' pi M-@key{RET}} pushes 3.1415.) | 10123 | the variable @samp{pi}, but @kbd{' pi M-@key{RET}} pushes 3.1415.) |
| 10124 | 10124 | ||
| 10125 | If you finish your algebraic entry by pressing @key{LFD} (or @kbd{C-j}) | 10125 | If you finish your algebraic entry by pressing @key{LFD} (or @kbd{C-j}) |
| 10126 | instead of @key{RET}, Calc disables the default simplifications | 10126 | instead 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 |
| 10128 | is being pushed on the stack. Thus @kbd{' 1+2 @key{RET}} pushes 3 | 10128 | is being pushed on the stack. Thus @kbd{' 1+2 @key{RET}} pushes 3 |
| 10129 | on the stack, but @kbd{' 1+2 @key{LFD}} pushes the formula @expr{1+2}; | 10129 | on 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 |
| 12616 | The @kbd{m B} (@code{calc-bin-simplify-mode}) mode applies the limited | 12616 | The @kbd{m B} (@code{calc-bin-simplify-mode}) mode applies the basic |
| 12617 | simplifications to a result and then, if the result is an integer, | 12617 | simplifications to a result and then, if the result is an integer, |
| 12618 | uses the @kbd{b c} (@code{calc-clip}) command to clip the integer according | 12618 | uses the @kbd{b c} (@code{calc-clip}) command to clip the integer according |
| 12619 | to the current binary word size. @xref{Binary Functions}. Real numbers | 12619 | to the current binary word size. @xref{Binary Functions}. Real numbers |
| 12620 | are rounded to the nearest integer and then clipped; other kinds of | 12620 | are rounded to the nearest integer and then clipped; other kinds of |
| 12621 | results (after the default simplifications) are left alone. | 12621 | results (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 | |||
| 16714 | operation. Vectors and formulas are cleaned by cleaning each component | 16714 | operation. Vectors and formulas are cleaned by cleaning each component |
| 16715 | number (i.e., pervasively). | 16715 | number (i.e., pervasively). |
| 16716 | 16716 | ||
| 16717 | If the simplification mode is set below the limited level, it is raised | 16717 | If the simplification mode is set below basic simplification, it is raised |
| 16718 | to the limited level for the purposes of this command. Thus, @kbd{c c} | 16718 | for the purposes of this command. Thus, @kbd{c c} applies the basic |
| 16719 | applies the limited simplifications even if their automatic application | 16719 | simplifications even if their automatic application is disabled. |
| 16720 | is disabled. @xref{Simplification Modes}. | 16720 | @xref{Simplification Modes}. |
| 16721 | 16721 | ||
| 16722 | @cindex Roundoff errors, correcting | 16722 | @cindex Roundoff errors, correcting |
| 16723 | A numeric prefix argument to @kbd{c c} sets the floating-point precision | 16723 | A 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 |
| 22126 | The @kbd{j v} (@code{calc-sel-evaluate}) command performs the | 22126 | The @kbd{j v} (@code{calc-sel-evaluate}) command performs the |
| 22127 | limited simplifications on the selected sub-formula. | 22127 | basic simplifications on the selected sub-formula. |
| 22128 | These simplifications would normally be done automatically | 22128 | These simplifications would normally be done automatically |
| 22129 | on all results, but may have been partially inhibited by | 22129 | on all results, but may have been partially inhibited by |
| 22130 | previous selection-related operations, or turned off altogether | 22130 | previous selection-related operations, or turned off altogether |
| @@ -22412,14 +22412,14 @@ a serious user of Calc's algebra facilities. | |||
| 22412 | 22412 | ||
| 22413 | As well as the simplifications described here, if you have stored | 22413 | As well as the simplifications described here, if you have stored |
| 22414 | any rewrite rules in the variable @code{EvalRules} then these rules | 22414 | any rewrite rules in the variable @code{EvalRules} then these rules |
| 22415 | will also be applied before any built-in default simplifications. | 22415 | will 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 | ||
| 22422 | And now, on with the limited set of simplifications: | 22422 | And now, on with the basic simplifications: |
| 22423 | 22423 | ||
| 22424 | Arithmetic operators like @kbd{+} and @kbd{*} always take two | 22424 | Arithmetic operators like @kbd{+} and @kbd{*} always take two |
| 22425 | arguments in Calc's internal form. Sums and products of three or | 22425 | arguments in Calc's internal form. Sums and products of three or |
| @@ -22737,7 +22737,7 @@ of terms including non-adjacent ones. | |||
| 22737 | 22737 | ||
| 22738 | Products are sorted into a canonical order using the commutative | 22738 | Products are sorted into a canonical order using the commutative |
| 22739 | law. For example, @expr{b c a} is commuted to @expr{a b c}. | 22739 | law. For example, @expr{b c a} is commuted to @expr{a b c}. |
| 22740 | This allows easier comparison of products; for example, the limited | 22740 | This allows easier comparison of products; for example, the basic |
| 22741 | simplifications will not change @expr{x y + y x} to @expr{2 x y}, | 22741 | simplifications will not change @expr{x y + y x} to @expr{2 x y}, |
| 22742 | but the algebraic simplifications; it first rewrites the sum to | 22742 | but 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. | |||
| 22796 | Integer powers of the variable @code{i} are simplified according | 22796 | Integer powers of the variable @code{i} are simplified according |
| 22797 | to the identity @expr{i^2 = -1}. If you store a new value other | 22797 | to the identity @expr{i^2 = -1}. If you store a new value other |
| 22798 | than the complex number @expr{(0,1)} in @code{i}, this simplification | 22798 | than the complex number @expr{(0,1)} in @code{i}, this simplification |
| 22799 | will no longer occur. This is not done by the limited | 22799 | will no longer occur. This is not done by the basic |
| 22800 | simplifications; in case someone (unwisely) wants to use the name | 22800 | simplifications; 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 |
| 22802 | limited simplifications. | 22802 | basic simplification mode. |
| 22803 | 22803 | ||
| 22804 | Square roots of integer or rational arguments are simplified in | 22804 | Square roots of integer or rational arguments are simplified in |
| 22805 | several ways. (Note that these will be left unevaluated only in | 22805 | several ways. (Note that these will be left unevaluated only in |