aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2008-07-13 04:50:39 +0000
committerJay Belanger2008-07-13 04:50:39 +0000
commita8b14149708453f8cc701202d2d6b2cf7ffc4e1f (patch)
treeb0b98081baf23032e16a89a39b1189701debb0d0
parent2ad05c22e6953dc951801987831d7fae0d3622ff (diff)
downloademacs-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.texi23
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
3005You can verify these prime factors by using @kbd{v u} to ``unpack'' 3005You can verify these prime factors by using @kbd{V R *} to multiply
3006this vector into 8 separate stack entries, then @kbd{M-8 *} to 3006together the elements of this vector. The result is the original
3007multiply them back together. The result is the original number, 3007number, 30045015.
300830045015.
3009 3008
3010@cindex Hash tables 3009@cindex Hash tables
3011Suppose a program you are writing needs a hash table with at least 3010Suppose 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
20043The @kbd{v n} (@code{calc-rnorm}) [@code{rnorm}] command computes 20042The @kbd{v n} (@code{calc-rnorm}) [@code{rnorm}] command computes the
20044the row norm, or infinity-norm, of a vector or matrix. For a plain 20043infinity-norm of a vector, or the row norm of a matrix. For a plain
20045vector, this is the maximum of the absolute values of the elements. 20044vector, this is the maximum of the absolute values of the elements. For
20046For a matrix, this is the maximum of the row-absolute-value-sums, 20045a matrix, this is the maximum of the row-absolute-value-sums, i.e., of
20047i.e., of the sums of the absolute values of the elements along the 20046the sums of the absolute values of the elements along the various rows.
20048various 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
20053The @kbd{V N} (@code{calc-cnorm}) [@code{cnorm}] command computes 20051The @kbd{V N} (@code{calc-cnorm}) [@code{cnorm}] command computes
20054the column norm, or one-norm, of a vector or matrix. For a plain 20052the one-norm of a vector, or column norm of a matrix. For a plain
20055vector, this is the sum of the absolute values of the elements. 20053vector, this is the sum of the absolute values of the elements.
20056For a matrix, this is the maximum of the column-absolute-value-sums. 20054For a matrix, this is the maximum of the column-absolute-value-sums.
20057General @expr{k}-norms for @expr{k} other than one or infinity are 20055General @expr{k}-norms for @expr{k} other than one or infinity are
20058not provided. 20056not provided. However, the 2-norm (or Frobenius norm) is provided for
20057vectors 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