|
From: Dieter K. <cra...@us...> - 2011-06-06 22:25:59
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima, A Computer Algebra System".
The branch, master has been updated
via e2f3b6e1c16bcbfce844c04374e40ea98428f4ea (commit)
from 722d89f051dfa93ee0ec7c99d295a34e22ecb3c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e2f3b6e1c16bcbfce844c04374e40ea98428f4ea
Author: crategus <cra...@us...>
Date: Tue Jun 7 00:22:36 2011 +0200
Some formating to get a nice pdf file
Changed files:
linearalgebra.texi
lsquares.texi
diff --git a/doc/info/linearalgebra.texi b/doc/info/linearalgebra.texi
index 312b69b..2e6c391 100644
--- a/doc/info/linearalgebra.texi
+++ b/doc/info/linearalgebra.texi
@@ -3,8 +3,10 @@
* Functions and Variables for linearalgebra::
@end menu
+@c -----------------------------------------------------------------------------
@node Introduction to linearalgebra, Functions and Variables for linearalgebra, linearalgebra, linearalgebra
@section Introduction to linearalgebra
+@c -----------------------------------------------------------------------------
@code{linearalgebra} is a collection of functions for linear algebra.
@@ -121,9 +123,11 @@ Example:
@category{Linear algebra} @category{Share packages} @category{Package linearalgebra}
@closecatbox
-
+@c -----------------------------------------------------------------------------
+@need 800
@node Functions and Variables for linearalgebra, , Introduction to linearalgebra, linearalgebra
@section Functions and Variables for linearalgebra
+@c -----------------------------------------------------------------------------
@deffn {Function} addmatrices (@var{f}, @var{M_1}, ..., @var{M_n})
@@ -836,9 +840,11 @@ Example:
(%o2) [ ]
[ 9 10 ]
(%i3) matrix ([A, B]);
+@group
[ [ 1 2 ] [ 7 8 ] ]
(%o3) [ [ ] [ ] ]
[ [ 3 4 ] [ 9 10 ] ]
+@end group
(%i4) mat_unblocker (%);
[ 1 2 7 8 ]
(%o4) [ ]
@@ -899,10 +905,9 @@ value for @var{exponp}, you must supply @var{coeffp} with a value even if you wa
to use the default for @var{coeffp}.
@c WORK THE FOLLOWING INTO THE PRECEDING
-@code{polynomialp (@var{p}, @var{L}, @var{coeffp})} is equivalent to
-@code{polynomialp (@var{p}, @var{L}, @var{coeffp}, 'nonnegintegerp)}.
-
-@code{polynomialp (@var{p}, @var{L})} is equivalent to
+The command @code{polynomialp (@var{p}, @var{L}, @var{coeffp})} is equivalent to
+@code{polynomialp (@var{p}, @var{L}, @var{coeffp}, 'nonnegintegerp)} and the
+command @code{polynomialp (@var{p}, @var{L})} is equivalent to
@code{polynomialp (@var{p}, L@var{,} 'constantp, 'nonnegintegerp)}.
The polynomial needn't be expanded:
@@ -1045,12 +1050,13 @@ default for @var{row} is complex conjugate of @var{col}. Example:
@c ==end===
@example
(%i1) toeplitz([1,2,3],[x,y,z]);
-
+@group
[ 1 y z ]
[ ]
(%o1) [ 2 1 y ]
[ ]
[ 3 2 1 ]
+@end group
(%i2) toeplitz([1,1+%i]);
[ 1 1 - %I ]
@@ -1107,3 +1113,4 @@ is true for each element @var{e} of the matrix @var{M}. If @var{M} is a block m
@closecatbox
@end deffn
+
diff --git a/doc/info/lsquares.texi b/doc/info/lsquares.texi
index 87de8af..8d4d54a 100644
--- a/doc/info/lsquares.texi
+++ b/doc/info/lsquares.texi
@@ -3,8 +3,10 @@
* Functions and Variables for lsquares::
@end menu
+@c -----------------------------------------------------------------------------
@node Introduction to lsquares, Functions and Variables for lsquares, lsquares, lsquares
@section Introduction to lsquares
+@c -----------------------------------------------------------------------------
@code{lsquares} is a collection of functions to implement the method of least squares
to estimate parameters for a model from numerical data.
@@ -13,9 +15,10 @@ to estimate parameters for a model from numerical data.
@category{Statistical estimation} @category{Share packages} @category{Package lsquares}
@closecatbox
-
+@c -----------------------------------------------------------------------------
@node Functions and Variables for lsquares, , Introduction to lsquares, lsquares
@section Functions and Variables for lsquares
+@c -----------------------------------------------------------------------------
@deffn {Function} lsquares_estimates (@var{D}, @var{x}, @var{e}, @var{a})
@deffnx {Function} lsquares_estimates (@var{D}, @var{x}, @var{e}, @var{a}, initial = @var{L}, tol = @var{t})
@@ -57,7 +60,7 @@ so all other kinds of numbers are converted to ordinary floats for calculations.
See also
@code{lsquares_estimates_exact},
-@code{lsquares_estimates_approximate},
+@code{lsquares_estimates_approximate},@*
@code{lsquares_mse},
@code{lsquares_residuals},
and @code{lsquares_residual_mse}.
@@ -77,6 +80,7 @@ A problem for which an exact solution is found.
(%i1) load (lsquares)$
(%i2) M : matrix (
[1,1,1], [3/2,1,2], [9/4,2,1], [3,2,2], [2,2,1]);
+@group
[ 1 1 1 ]
[ ]
[ 3 ]
@@ -90,6 +94,7 @@ A problem for which an exact solution is found.
[ 3 2 2 ]
[ ]
[ 2 2 1 ]
+@end group
(%i3) lsquares_estimates (
M, [z,x,y], (z+D)^2 = A*x+B*y+C, [A,B,C,D]);
59 27 10921 107
@@ -229,7 +234,7 @@ so all other kinds of numbers are converted to ordinary floats for calculations.
See also
@code{lsquares_estimates},
@code{lsquares_estimates_exact},
-@code{lsquares_mse},
+@code{lsquares_mse},@*
@code{lsquares_residuals},
and @code{lsquares_residual_mse}.
@@ -336,6 +341,8 @@ Example:
[ 3 2 2 ]
[ ]
[ 2 2 1 ]
+@end example
+@example
(%i3) mse : lsquares_mse (M, [z, x, y], (z + D)^2 = A*x + B*y + C);
5
====
@@ -346,6 +353,8 @@ Example:
i = 1
(%o3) ---------------------------------------------
5
+@end example
+@example
(%i4) diff (mse, D);
5
====
@@ -356,7 +365,10 @@ Example:
i = 1
(%o4) ----------------------------------------------------------
5
+@end example
+@example
(%i5) ''mse, nouns;
+@group
2 2 9 2 2
(%o5) (((D + 3) - C - 2 B - 2 A) + ((D + -) - C - B - 2 A)
4
@@ -365,6 +377,7 @@ Example:
2
2 2
+ ((D + 1) - C - B - A) )/5
+@end group
@end example
@opencatbox
@@ -571,10 +584,12 @@ How many ways do we have to put two queens without they are threatened into a n
(%i6) plsquares(matrix([0,0],[1,0],[2,0],[3,8],[4,44]),
[n,positions],[positions],4);
Determination Coefficient for [positions] = [1.0]
+@group
4 3 2
3 n - 10 n + 9 n - 2 n
(%o6) [positions = -------------------------]
6
+@end group
(%i7) ev(%[1], n=8); /* Testing for a (8 x 8) chessboard */
(%o7) positions = 1288
@end example
-----------------------------------------------------------------------
Summary of changes:
doc/info/linearalgebra.texi | 19 +++++++++++++------
doc/info/lsquares.texi | 21 ++++++++++++++++++---
2 files changed, 31 insertions(+), 9 deletions(-)
hooks/post-receive
--
Maxima, A Computer Algebra System
|