diff options
| author | Jay Belanger | 2008-07-13 04:50:39 +0000 |
|---|---|---|
| committer | Jay Belanger | 2008-07-13 04:50:39 +0000 |
| commit | a8b14149708453f8cc701202d2d6b2cf7ffc4e1f (patch) | |
| tree | b0b98081baf23032e16a89a39b1189701debb0d0 | |
| parent | 2ad05c22e6953dc951801987831d7fae0d3622ff (diff) | |
| download | emacs-a8b14149708453f8cc701202d2d6b2cf7ffc4e1f.tar.gz emacs-a8b14149708453f8cc701202d2d6b2cf7ffc4e1f.zip | |
(Manipulating Vectors): Clarify definition of `rnorm' and `cnorm'.
(Arithmetic Tutorial): Simplify the verification of prime factors.
| -rw-r--r-- | doc/misc/calc.texi | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index cb963e0de13..211959fa7fb 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -3002,10 +3002,9 @@ coefficient 30-choose-20, then determine its prime factorization. | |||
| 3002 | @end smallexample | 3002 | @end smallexample |
| 3003 | 3003 | ||
| 3004 | @noindent | 3004 | @noindent |
| 3005 | You can verify these prime factors by using @kbd{v u} to ``unpack'' | 3005 | You can verify these prime factors by using @kbd{V R *} to multiply |
| 3006 | this vector into 8 separate stack entries, then @kbd{M-8 *} to | 3006 | together the elements of this vector. The result is the original |
| 3007 | multiply them back together. The result is the original number, | 3007 | number, 30045015. |
| 3008 | 30045015. | ||
| 3009 | 3008 | ||
| 3010 | @cindex Hash tables | 3009 | @cindex Hash tables |
| 3011 | Suppose a program you are writing needs a hash table with at least | 3010 | Suppose a program you are writing needs a hash table with at least |
| @@ -20040,22 +20039,22 @@ from that point to the origin. | |||
| 20040 | @kindex v n | 20039 | @kindex v n |
| 20041 | @pindex calc-rnorm | 20040 | @pindex calc-rnorm |
| 20042 | @tindex rnorm | 20041 | @tindex rnorm |
| 20043 | The @kbd{v n} (@code{calc-rnorm}) [@code{rnorm}] command computes | 20042 | The @kbd{v n} (@code{calc-rnorm}) [@code{rnorm}] command computes the |
| 20044 | the row norm, or infinity-norm, of a vector or matrix. For a plain | 20043 | infinity-norm of a vector, or the row norm of a matrix. For a plain |
| 20045 | vector, this is the maximum of the absolute values of the elements. | 20044 | vector, this is the maximum of the absolute values of the elements. For |
| 20046 | For a matrix, this is the maximum of the row-absolute-value-sums, | 20045 | a matrix, this is the maximum of the row-absolute-value-sums, i.e., of |
| 20047 | i.e., of the sums of the absolute values of the elements along the | 20046 | the sums of the absolute values of the elements along the various rows. |
| 20048 | various rows. | ||
| 20049 | 20047 | ||
| 20050 | @kindex V N | 20048 | @kindex V N |
| 20051 | @pindex calc-cnorm | 20049 | @pindex calc-cnorm |
| 20052 | @tindex cnorm | 20050 | @tindex cnorm |
| 20053 | The @kbd{V N} (@code{calc-cnorm}) [@code{cnorm}] command computes | 20051 | The @kbd{V N} (@code{calc-cnorm}) [@code{cnorm}] command computes |
| 20054 | the column norm, or one-norm, of a vector or matrix. For a plain | 20052 | the one-norm of a vector, or column norm of a matrix. For a plain |
| 20055 | vector, this is the sum of the absolute values of the elements. | 20053 | vector, this is the sum of the absolute values of the elements. |
| 20056 | For a matrix, this is the maximum of the column-absolute-value-sums. | 20054 | For a matrix, this is the maximum of the column-absolute-value-sums. |
| 20057 | General @expr{k}-norms for @expr{k} other than one or infinity are | 20055 | General @expr{k}-norms for @expr{k} other than one or infinity are |
| 20058 | not provided. | 20056 | not provided. However, the 2-norm (or Frobenius norm) is provided for |
| 20057 | vectors by the @kbd{A} (@code{calc-abs}) command. | ||
| 20059 | 20058 | ||
| 20060 | @kindex V C | 20059 | @kindex V C |
| 20061 | @pindex calc-cross | 20060 | @pindex calc-cross |