[Maxima-commits] CVS: maxima/share/orthopoly orthopoly.texi,1.2,1.3 From: Robert Dodier - 2005-11-29 04:17:07 Update of /cvsroot/maxima/maxima/share/orthopoly In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9254 Modified Files: orthopoly.texi Log Message: Put into same form as share/template.texi, fixed some bugs, now makeinfo orthopoly.texi succeeds. Index: orthopoly.texi =================================================================== RCS file: /cvsroot/maxima/maxima/share/orthopoly/orthopoly.texi,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- orthopoly.texi 27 Nov 2005 06:38:33 -0000 1.2 +++ orthopoly.texi 29 Nov 2005 04:16:54 -0000 1.3 @@ -1,12 +1,28 @@ -@... Orthogonal Polynomials, Special Functions, Command Line, Top +\input texinfo -@... Orthogonal Polynomials +@c makeinfo orthopoly.texi to make .info +@c texi2html orthopoly.texi to make .html +@c texi2pdf orthopoly.texi to make .pdf + +@setfilename orthopoly.info +@settitle orthopoly + +@ifinfo +@macro var {expr} +<\expr\> +@end macro +@end ifinfo + +@node Top, Introduction to orthogonal polynomials, (dir), (dir) +@top @menu -* Introduction to Orthogonal Polynomials:: -* Definitions for Orthogonal Polynomials:: +* Introduction to orthogonal polynomials:: +* Definitions for orthogonal polynomials:: +* Function and variable index:: @end menu -@... Introduction to Orthogonal Polynomials +@node Introduction to orthogonal polynomials, Definitions for orthogonal polynomials, Top, Top +@section Introduction to orthogonal polynomials Maxima includes support for symbolic and numerical evaluation of most of the orthogonal polynomials listed in Chapter @@ -65,7 +81,6 @@ To test orthopoly, load("test-orthopoly.mac"). You may need to give the full pathname for the file. Report errors. -@... enumerate @subsubsection Getting Started with Orthopoly @@ -212,7 +227,7 @@ (D1) Y (THETA, PHI) l (C2) tex(%); -$$Y_{l}^{m}\left(\vartheta,\varphi\right)$$ +$$Y_@{l@}^@{m@}\left(\vartheta,\varphi\right)$$ (D2) FALSE (C3) jacobi_p(n,a,a-b,x/2); @@ -221,7 +236,7 @@ (D3) P (-) n 2 (C4) tex(%); -$$P_{n}^{\left(a,a-b\right)}\left({{x}\over{2}}\right)$$ +$$P_@{n@}^@{\left(a,a-b\right)@}\left(@{@{x@}\over@{2@}@}\right)$$ (D4) FALSE @end example @@ -385,9 +400,9 @@ A user could define arithmetic operators that do interval math. To define interval addition, we can define @example -(C9) infix("@+")$-(C10) "@+"(x,y) := interval(part(x,1) + part(y,1),part(x,2) + part(y,2))$ -(C11) legendre_p(7,0.1) @+ legendre_p(8,0.1); +(C9) infix("@@+")$+(C10) "@@+"(x,y) := interval(part(x,1) + part(y,1),part(x,2) + part(y,2))$ +(C11) legendre_p(7,0.1) @@+ legendre_p(8,0.1); (D11) INTERVAL(- 0.019172222265624955, 4.452707732128387e-15) @end example @@ -542,8 +557,9 @@ adds TeX and display support, improved numerical floating point accuracy, and new user documentation. -@... Definitions for Orthogonal Polynomials, , Orthogonal Polynomials, Orthogonal Polynomials -@... Definitions for Orthogonal Polynomials + +@node Definitions for orthogonal polynomials, Function and variable index, Introduction to orthogonal polynomials, Top +@section Definitions for orthogonal polynomials @defun assoc_legendre_p (n, m, x) The associated Legendre function of the first kind. @@ -572,7 +588,7 @@ The Hermite polynomial. Reference: See A&S 22.5.55, page 780. @end defun -@... intervalp(e) +@defun intervalp (e) Return true if the input is an interval and return false if it isn't. @end defun @@ -710,7 +726,7 @@ @end example The default value of pochhammer_max_index is 100. Reference A & S 6.1.16, page 256. -@... defun +@end defvar @defun spherical_bessel_j (n, x) The spherical Bessel function of the first kind. Reference: A & S 10.1.8, page @@ -748,3 +764,10 @@ Reference A & S 22.5.46, page 779. @end defun + +@node Function and variable index, , Definitions for orthogonal polynomials, Top +@appendix Function and variable index +@printindex fn +@printindex vr + +@bye