Mercurial > hg > octave-lyh
annotate doc/interpreter/arith.txi @ 14138:72c96de7a403 stable
maint: update copyright notices for 2012
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 02 Jan 2012 14:25:41 -0500 |
parents | 951eacaf9381 |
children | cb85e836d035 |
rev | line source |
---|---|
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
14116
diff
changeset
|
1 @c Copyright (C) 1996-2012 John W. Eaton |
7018 | 2 @c |
3 @c This file is part of Octave. | |
4 @c | |
5 @c Octave is free software; you can redistribute it and/or modify it | |
6 @c under the terms of the GNU General Public License as published by the | |
7 @c Free Software Foundation; either version 3 of the License, or (at | |
8 @c your option) any later version. | |
9 @c | |
10 @c Octave is distributed in the hope that it will be useful, but WITHOUT | |
11 @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 @c for more details. | |
14 @c | |
15 @c You should have received a copy of the GNU General Public License | |
16 @c along with Octave; see the file COPYING. If not, see | |
17 @c <http://www.gnu.org/licenses/>. | |
3294 | 18 |
4167 | 19 @node Arithmetic |
3294 | 20 @chapter Arithmetic |
21 | |
22 Unless otherwise noted, all of the functions described in this chapter | |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
23 will work for real and complex scalar, vector, or matrix arguments. Functions |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
24 described as @dfn{mapping functions} apply the given operation individually to |
10828
322f43e0e170
Grammarcheck .txi documentation files.
Rik <octave@nomad.inbox5.com>
parents:
10791
diff
changeset
|
25 each element when given a matrix argument. For example: |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
26 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
27 @example |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
28 @group |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
29 sin ([1, 2; 3, 4]) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
30 @result{} 0.84147 0.90930 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
31 0.14112 -0.75680 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
32 @end group |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
33 @end example |
3294 | 34 |
35 @menu | |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
36 * Exponents and Logarithms:: |
3294 | 37 * Complex Arithmetic:: |
38 * Trigonometry:: | |
39 * Sums and Products:: | |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
40 * Utility Functions:: |
3294 | 41 * Special Functions:: |
12185
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
42 * Rational Approximations:: |
3803 | 43 * Coordinate Transformations:: |
3294 | 44 * Mathematical Constants:: |
45 @end menu | |
46 | |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
47 @node Exponents and Logarithms |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
48 @section Exponents and Logarithms |
6788 | 49 |
3321 | 50 @DOCSTRING(exp) |
3294 | 51 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7018
diff
changeset
|
52 @DOCSTRING(expm1) |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7018
diff
changeset
|
53 |
3321 | 54 @DOCSTRING(log) |
3294 | 55 |
11532
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
56 @DOCSTRING(reallog) |
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
57 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7018
diff
changeset
|
58 @DOCSTRING(log1p) |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7018
diff
changeset
|
59 |
3321 | 60 @DOCSTRING(log10) |
3294 | 61 |
3321 | 62 @DOCSTRING(log2) |
3294 | 63 |
3321 | 64 @DOCSTRING(pow2) |
3294 | 65 |
11532
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
66 @DOCSTRING(nextpow2) |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7638
diff
changeset
|
67 |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7638
diff
changeset
|
68 @DOCSTRING(realpow) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7638
diff
changeset
|
69 |
11532
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
70 @DOCSTRING(sqrt) |
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
71 |
7984
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7638
diff
changeset
|
72 @DOCSTRING(realsqrt) |
bbaa5d7d0143
Some documentation updates
David Bateman <dbateman@free.fr>
parents:
7638
diff
changeset
|
73 |
11532
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
74 @DOCSTRING(cbrt) |
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
75 |
34bb8d38f19f
Add undocumented function cbrt to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11529
diff
changeset
|
76 @DOCSTRING(nthroot) |
3294 | 77 |
4169 | 78 @node Complex Arithmetic |
3294 | 79 @section Complex Arithmetic |
80 | |
9154
761fc0d3d980
Update section 17.2 (Complex Arithmetic) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9141
diff
changeset
|
81 In the descriptions of the following functions, |
3294 | 82 @tex |
83 $z$ is the complex number $x + iy$, where $i$ is defined as | |
84 $\sqrt{-1}$. | |
85 @end tex | |
10668
72585f1ca7a2
Replace @ifinfo with @ifnottex.
Rik <octave@nomad.inbox5.com>
parents:
9209
diff
changeset
|
86 @ifnottex |
3294 | 87 @var{z} is the complex number @var{x} + @var{i}@var{y}, where @var{i} is |
88 defined as @code{sqrt (-1)}. | |
10668
72585f1ca7a2
Replace @ifinfo with @ifnottex.
Rik <octave@nomad.inbox5.com>
parents:
9209
diff
changeset
|
89 @end ifnottex |
3294 | 90 |
3321 | 91 @DOCSTRING(abs) |
3294 | 92 |
3321 | 93 @DOCSTRING(arg) |
3294 | 94 |
3321 | 95 @DOCSTRING(conj) |
3294 | 96 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
97 @DOCSTRING(cplxpair) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
98 |
3321 | 99 @DOCSTRING(imag) |
3294 | 100 |
3321 | 101 @DOCSTRING(real) |
3294 | 102 |
4169 | 103 @node Trigonometry |
3294 | 104 @section Trigonometry |
105 | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
106 Octave provides the following trigonometric functions where angles are |
6939 | 107 specified in radians. To convert from degrees to radians multiply by |
3294 | 108 @tex |
109 $\pi/180$ | |
110 @end tex | |
9167
1231b1762a9a
Simplify TeXinfo and eliminate use of @iftex in arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9165
diff
changeset
|
111 @ifnottex |
3294 | 112 @code{pi/180} |
9167
1231b1762a9a
Simplify TeXinfo and eliminate use of @iftex in arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9165
diff
changeset
|
113 @end ifnottex |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
114 (e.g., @code{sin (30 * pi/180)} returns the sine of 30 degrees). As |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
115 an alternative, Octave provides a number of trigonometric functions |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
116 which work directly on an argument specified in degrees. These functions |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
117 are named after the base trigonometric function with a @samp{d} suffix. For |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
118 example, @code{sin} expects an angle in radians while @code{sind} expects an |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
119 angle in degrees. |
3294 | 120 |
3321 | 121 @DOCSTRING(sin) |
122 @DOCSTRING(cos) | |
123 @DOCSTRING(tan) | |
124 @DOCSTRING(sec) | |
125 @DOCSTRING(csc) | |
126 @DOCSTRING(cot) | |
3294 | 127 |
3321 | 128 @DOCSTRING(asin) |
129 @DOCSTRING(acos) | |
130 @DOCSTRING(atan) | |
131 @DOCSTRING(asec) | |
132 @DOCSTRING(acsc) | |
133 @DOCSTRING(acot) | |
3294 | 134 |
3321 | 135 @DOCSTRING(sinh) |
136 @DOCSTRING(cosh) | |
137 @DOCSTRING(tanh) | |
138 @DOCSTRING(sech) | |
3428 | 139 @DOCSTRING(csch) |
3321 | 140 @DOCSTRING(coth) |
3294 | 141 |
3321 | 142 @DOCSTRING(asinh) |
143 @DOCSTRING(acosh) | |
144 @DOCSTRING(atanh) | |
145 @DOCSTRING(asech) | |
146 @DOCSTRING(acsch) | |
147 @DOCSTRING(acoth) | |
3294 | 148 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
149 @DOCSTRING(atan2) |
3294 | 150 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
151 Octave provides the following trigonometric functions where angles are |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
152 specified in degrees. These functions produce true zeros at the appropriate |
10791
3140cb7a05a1
Add spellchecker scripts for Octave and run spellcheck of documentation
Rik <octave@nomad.inbox5.com>
parents:
10668
diff
changeset
|
153 intervals rather than the small round-off error that occurs when using |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
154 radians. For example: |
10828
322f43e0e170
Grammarcheck .txi documentation files.
Rik <octave@nomad.inbox5.com>
parents:
10791
diff
changeset
|
155 |
3294 | 156 @example |
157 @group | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
158 cosd (90) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
159 @result{} 0 |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
160 cos (pi/2) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
161 @result{} 6.1230e-17 |
3294 | 162 @end group |
163 @end example | |
164 | |
6502 | 165 @DOCSTRING(sind) |
166 @DOCSTRING(cosd) | |
167 @DOCSTRING(tand) | |
168 @DOCSTRING(secd) | |
169 @DOCSTRING(cscd) | |
170 @DOCSTRING(cotd) | |
171 | |
172 @DOCSTRING(asind) | |
173 @DOCSTRING(acosd) | |
174 @DOCSTRING(atand) | |
175 @DOCSTRING(asecd) | |
176 @DOCSTRING(acscd) | |
177 @DOCSTRING(acotd) | |
3294 | 178 |
4169 | 179 @node Sums and Products |
3294 | 180 @section Sums and Products |
181 | |
3321 | 182 @DOCSTRING(sum) |
3294 | 183 |
3321 | 184 @DOCSTRING(prod) |
3294 | 185 |
3321 | 186 @DOCSTRING(cumsum) |
3294 | 187 |
3321 | 188 @DOCSTRING(cumprod) |
3294 | 189 |
3321 | 190 @DOCSTRING(sumsq) |
3294 | 191 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
192 @node Utility Functions |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
193 @section Utility Functions |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
194 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
195 @DOCSTRING(ceil) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
196 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
197 @DOCSTRING(fix) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
198 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
199 @DOCSTRING(floor) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
200 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
201 @DOCSTRING(round) |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
202 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
203 @DOCSTRING(roundb) |
9165
8c71a86c4bf4
Update section 17.5 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9155
diff
changeset
|
204 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
205 @DOCSTRING(max) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
206 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
207 @DOCSTRING(min) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
208 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
209 @DOCSTRING(cummax) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
210 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
211 @DOCSTRING(cummin) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
212 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
213 @DOCSTRING(hypot) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
214 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
215 @DOCSTRING(gradient) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
216 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
217 @DOCSTRING(dot) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
218 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
219 @DOCSTRING(cross) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
220 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
221 @DOCSTRING(divergence) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
222 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
223 @DOCSTRING(curl) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
224 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
225 @DOCSTRING(del2) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
226 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
227 @DOCSTRING(factorial) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
228 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
229 @DOCSTRING(factor) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
230 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
231 @DOCSTRING(gcd) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
232 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
233 @DOCSTRING(lcm) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
234 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
235 @DOCSTRING(chop) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
236 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
237 @DOCSTRING(rem) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
238 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
239 @DOCSTRING(mod) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
240 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
241 @DOCSTRING(primes) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
242 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
243 @DOCSTRING(list_primes) |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
244 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
245 @DOCSTRING(sign) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
246 |
4169 | 247 @node Special Functions |
3294 | 248 @section Special Functions |
249 | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
250 @DOCSTRING(airy) |
3459 | 251 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
252 @DOCSTRING(besselj) |
3294 | 253 |
3321 | 254 @DOCSTRING(beta) |
3294 | 255 |
3444 | 256 @DOCSTRING(betainc) |
3294 | 257 |
6502 | 258 @DOCSTRING(betaln) |
259 | |
3321 | 260 @DOCSTRING(bincoeff) |
3294 | 261 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
262 @DOCSTRING(commutation_matrix) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
263 |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
264 @DOCSTRING(duplication_matrix) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
265 |
3321 | 266 @DOCSTRING(erf) |
3294 | 267 |
3321 | 268 @DOCSTRING(erfc) |
3294 | 269 |
11529
f98f925d8e5c
Add undocumented function erfcx to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
270 @DOCSTRING(erfcx) |
f98f925d8e5c
Add undocumented function erfcx to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
271 |
3321 | 272 @DOCSTRING(erfinv) |
3294 | 273 |
3321 | 274 @DOCSTRING(gamma) |
3294 | 275 |
3444 | 276 @DOCSTRING(gammainc) |
3294 | 277 |
6502 | 278 @DOCSTRING(legendre) |
279 | |
8286
6f2d95255911
fix @seealso references to point to existing anchors
Thorsten Meyer <thorsten.meyier@gmx.de>
parents:
7984
diff
changeset
|
280 @anchor{doc-gammaln} |
3321 | 281 @DOCSTRING(lgamma) |
282 | |
12185
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
283 @node Rational Approximations |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
284 @section Rational Approximations |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
285 |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
286 @DOCSTRING(rat) |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
287 |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
288 @DOCSTRING(rats) |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
289 |
4169 | 290 @node Coordinate Transformations |
3803 | 291 @section Coordinate Transformations |
292 | |
293 @DOCSTRING(cart2pol) | |
294 | |
295 @DOCSTRING(pol2cart) | |
296 | |
297 @DOCSTRING(cart2sph) | |
298 | |
299 @DOCSTRING(sph2cart) | |
300 | |
4169 | 301 @node Mathematical Constants |
3294 | 302 @section Mathematical Constants |
303 | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
304 @DOCSTRING(e) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
305 |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
306 @DOCSTRING(pi) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
307 |
3321 | 308 @DOCSTRING(I) |
309 | |
310 @DOCSTRING(Inf) | |
3294 | 311 |
3321 | 312 @DOCSTRING(NaN) |
3294 | 313 |
3321 | 314 @DOCSTRING(eps) |
3294 | 315 |
3321 | 316 @DOCSTRING(realmax) |
3294 | 317 |
3321 | 318 @DOCSTRING(realmin) |