Mercurial > hg > octave-nkf
annotate doc/interpreter/arith.txi @ 19356:ba167badef9f
Deprecate delaunay3 and extend delaunay to 3-D inputs.
* NEWS: Announce deprecation of delaunay3. Announce extension of delaunay to
3-D inputs.
* scripts/deprecated/delaunay3.m: Moved from geometry/. Print warning about
deprecation when executing function for the first time.
* scripts/deprecated/module.mk: Add deprecated delaunay3.m to build system.
* scripts/geometry/module.mk: Remove from geometry directory build system
* delaunay.m: Redo docstring to mention 2-D and 3-D inputs.
Overhaul function to accept 3-D inputs. Add %!error input validation tests.
* delaunayn, tetramesh.m: Remove seealso reference to delaunay3.
* geometry.txi, install.txi: Remove delaunay3 from manual.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 26 Sep 2014 09:02:53 -0700 |
parents | d63878346099 |
children | 446c46af4b42 |
rev | line source |
---|---|
17744
d63878346099
maint: Update copyright notices for release.
John W. Eaton <jwe@octave.org>
parents:
17152
diff
changeset
|
1 @c Copyright (C) 1996-2013 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:: |
17152
f2a8592b8fbd
doc: Shorten some long subsection names in Manual.
Rik <rik@octave.org>
parents:
17097
diff
changeset
|
37 * Complex Arithmetic:: |
f2a8592b8fbd
doc: Shorten some long subsection names in Manual.
Rik <rik@octave.org>
parents:
17097
diff
changeset
|
38 * Trigonometry:: |
f2a8592b8fbd
doc: Shorten some long subsection names in Manual.
Rik <rik@octave.org>
parents:
17097
diff
changeset
|
39 * Sums and Products:: |
f2a8592b8fbd
doc: Shorten some long subsection names in Manual.
Rik <rik@octave.org>
parents:
17097
diff
changeset
|
40 * Utility Functions:: |
f2a8592b8fbd
doc: Shorten some long subsection names in Manual.
Rik <rik@octave.org>
parents:
17097
diff
changeset
|
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:: |
17152
f2a8592b8fbd
doc: Shorten some long subsection names in Manual.
Rik <rik@octave.org>
parents:
17097
diff
changeset
|
44 * Mathematical Constants:: |
3294 | 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 |
15443
0b6c29cb53d0
Update trig function doc
Michael Godfrey <michaeldgodfrey@gmail.com>
parents:
15175
diff
changeset
|
121 Octave uses the C library trigonometric functions. It is expected that these |
15444
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
122 functions are defined by the ISO/IEC 9899 Standard. This Standard is available |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
123 at: @url{http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf}. |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
124 Section F.9.1 deals with the trigonometric functions. The behavior of most of |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
125 the functions is relatively straightforward. However, there are some |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
126 exceptions to the standard behavior. Many of the exceptions involve the |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
127 behavior for -0. The most complex case is atan2. Octave exactly implements |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
128 the behavior given in the Standard. Including |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
129 @tex |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
130 $atan2(\pm0, -0)$ returns $\pm \pi$. |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
131 @end tex |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
132 @ifnottex |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
133 @code{atan2(+- 0, 0)} returns @code{+- pi}. |
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
134 @end ifnottex |
15443
0b6c29cb53d0
Update trig function doc
Michael Godfrey <michaeldgodfrey@gmail.com>
parents:
15175
diff
changeset
|
135 |
15444
46dd555edd33
Correct malformed tex in documentation changeset 0b6c29cb53d0.
Rik <rik@octave.org>
parents:
15443
diff
changeset
|
136 It should be noted that @sc{matlab} uses different definitions which apparently |
15443
0b6c29cb53d0
Update trig function doc
Michael Godfrey <michaeldgodfrey@gmail.com>
parents:
15175
diff
changeset
|
137 do not distinguish -0. |
0b6c29cb53d0
Update trig function doc
Michael Godfrey <michaeldgodfrey@gmail.com>
parents:
15175
diff
changeset
|
138 |
3321 | 139 @DOCSTRING(sin) |
140 @DOCSTRING(cos) | |
141 @DOCSTRING(tan) | |
142 @DOCSTRING(sec) | |
143 @DOCSTRING(csc) | |
144 @DOCSTRING(cot) | |
3294 | 145 |
3321 | 146 @DOCSTRING(asin) |
147 @DOCSTRING(acos) | |
148 @DOCSTRING(atan) | |
149 @DOCSTRING(asec) | |
150 @DOCSTRING(acsc) | |
151 @DOCSTRING(acot) | |
3294 | 152 |
3321 | 153 @DOCSTRING(sinh) |
154 @DOCSTRING(cosh) | |
155 @DOCSTRING(tanh) | |
156 @DOCSTRING(sech) | |
3428 | 157 @DOCSTRING(csch) |
3321 | 158 @DOCSTRING(coth) |
3294 | 159 |
3321 | 160 @DOCSTRING(asinh) |
161 @DOCSTRING(acosh) | |
162 @DOCSTRING(atanh) | |
163 @DOCSTRING(asech) | |
164 @DOCSTRING(acsch) | |
165 @DOCSTRING(acoth) | |
3294 | 166 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
167 @DOCSTRING(atan2) |
3294 | 168 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
169 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
|
170 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
|
171 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
|
172 radians. For example: |
10828
322f43e0e170
Grammarcheck .txi documentation files.
Rik <octave@nomad.inbox5.com>
parents:
10791
diff
changeset
|
173 |
3294 | 174 @example |
175 @group | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
176 cosd (90) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
177 @result{} 0 |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
178 cos (pi/2) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
179 @result{} 6.1230e-17 |
3294 | 180 @end group |
181 @end example | |
182 | |
6502 | 183 @DOCSTRING(sind) |
184 @DOCSTRING(cosd) | |
185 @DOCSTRING(tand) | |
186 @DOCSTRING(secd) | |
187 @DOCSTRING(cscd) | |
188 @DOCSTRING(cotd) | |
189 | |
190 @DOCSTRING(asind) | |
191 @DOCSTRING(acosd) | |
192 @DOCSTRING(atand) | |
16938 | 193 @DOCSTRING(atan2d) |
6502 | 194 @DOCSTRING(asecd) |
195 @DOCSTRING(acscd) | |
196 @DOCSTRING(acotd) | |
3294 | 197 |
4169 | 198 @node Sums and Products |
3294 | 199 @section Sums and Products |
200 | |
3321 | 201 @DOCSTRING(sum) |
3294 | 202 |
3321 | 203 @DOCSTRING(prod) |
3294 | 204 |
3321 | 205 @DOCSTRING(cumsum) |
3294 | 206 |
3321 | 207 @DOCSTRING(cumprod) |
3294 | 208 |
3321 | 209 @DOCSTRING(sumsq) |
3294 | 210 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
211 @node Utility Functions |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
212 @section Utility Functions |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
213 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
214 @DOCSTRING(ceil) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
215 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
216 @DOCSTRING(fix) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
217 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
218 @DOCSTRING(floor) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
219 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
220 @DOCSTRING(round) |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
221 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
222 @DOCSTRING(roundb) |
9165
8c71a86c4bf4
Update section 17.5 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9155
diff
changeset
|
223 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
224 @DOCSTRING(max) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
225 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
226 @DOCSTRING(min) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
227 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
228 @DOCSTRING(cummax) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
229 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
230 @DOCSTRING(cummin) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
231 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
232 @DOCSTRING(hypot) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
233 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
234 @DOCSTRING(gradient) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
235 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
236 @DOCSTRING(dot) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
237 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
238 @DOCSTRING(cross) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
239 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
240 @DOCSTRING(divergence) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
241 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
242 @DOCSTRING(curl) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
243 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
244 @DOCSTRING(del2) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
245 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
246 @DOCSTRING(factorial) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
247 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
248 @DOCSTRING(factor) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
249 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
250 @DOCSTRING(gcd) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
251 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
252 @DOCSTRING(lcm) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
253 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
254 @DOCSTRING(chop) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
255 |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
256 @DOCSTRING(rem) |
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
257 |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
258 @DOCSTRING(mod) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
259 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
260 @DOCSTRING(primes) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
261 |
12520
ad05e1547398
Add function chop to documentation.
Rik <octave@nomad.inbox5.com>
parents:
12448
diff
changeset
|
262 @DOCSTRING(list_primes) |
9141
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
263 |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
264 @DOCSTRING(sign) |
c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9064
diff
changeset
|
265 |
15487
ecf5be238b4a
provide signbit mapper for real values
John W. Eaton <jwe@octave.org>
parents:
15444
diff
changeset
|
266 @DOCSTRING(signbit) |
ecf5be238b4a
provide signbit mapper for real values
John W. Eaton <jwe@octave.org>
parents:
15444
diff
changeset
|
267 |
4169 | 268 @node Special Functions |
3294 | 269 @section Special Functions |
270 | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
271 @DOCSTRING(airy) |
3459 | 272 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
273 @DOCSTRING(besselj) |
3294 | 274 |
3321 | 275 @DOCSTRING(beta) |
3294 | 276 |
3444 | 277 @DOCSTRING(betainc) |
3294 | 278 |
14816
0a868d90436b
New function: betaincinv (bug #34364)
Axel Mathéi <axel.mathei@gmail.com>
parents:
14770
diff
changeset
|
279 @DOCSTRING(betaincinv) |
0a868d90436b
New function: betaincinv (bug #34364)
Axel Mathéi <axel.mathei@gmail.com>
parents:
14770
diff
changeset
|
280 |
6502 | 281 @DOCSTRING(betaln) |
282 | |
3321 | 283 @DOCSTRING(bincoeff) |
3294 | 284 |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
285 @DOCSTRING(commutation_matrix) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
286 |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
287 @DOCSTRING(duplication_matrix) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
288 |
15698
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15696
diff
changeset
|
289 @DOCSTRING(dawson) |
ea2788117ee3
NEWS: Add notice about extending error functions to accept complex inputs.
Rik <rik@octave.org>
parents:
15696
diff
changeset
|
290 |
16584
2f766ceeb03e
Add ellipj, ellipke, and expint functions from Octave Forge
Mike Miller <mtmiller@ieee.org>
parents:
15698
diff
changeset
|
291 @DOCSTRING(ellipj) |
2f766ceeb03e
Add ellipj, ellipke, and expint functions from Octave Forge
Mike Miller <mtmiller@ieee.org>
parents:
15698
diff
changeset
|
292 |
2f766ceeb03e
Add ellipj, ellipke, and expint functions from Octave Forge
Mike Miller <mtmiller@ieee.org>
parents:
15698
diff
changeset
|
293 @DOCSTRING(ellipke) |
2f766ceeb03e
Add ellipj, ellipke, and expint functions from Octave Forge
Mike Miller <mtmiller@ieee.org>
parents:
15698
diff
changeset
|
294 |
3321 | 295 @DOCSTRING(erf) |
3294 | 296 |
3321 | 297 @DOCSTRING(erfc) |
3294 | 298 |
11529
f98f925d8e5c
Add undocumented function erfcx to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
299 @DOCSTRING(erfcx) |
f98f925d8e5c
Add undocumented function erfcx to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
300 |
15696
2fac72a256ce
Add complex erf,erfc,erfcx,erfi,dawson routines from Faddeeva package.
Steven G. Johnson <stevenj@alum.mit.edu>
parents:
15487
diff
changeset
|
301 @DOCSTRING(erfi) |
2fac72a256ce
Add complex erf,erfc,erfcx,erfi,dawson routines from Faddeeva package.
Steven G. Johnson <stevenj@alum.mit.edu>
parents:
15487
diff
changeset
|
302 |
3321 | 303 @DOCSTRING(erfinv) |
3294 | 304 |
14770
cb85e836d035
New function: erfcinv (bug #36607)
Axel Mathéi <axel.mathei@gmail.com>
parents:
14138
diff
changeset
|
305 @DOCSTRING(erfcinv) |
cb85e836d035
New function: erfcinv (bug #36607)
Axel Mathéi <axel.mathei@gmail.com>
parents:
14138
diff
changeset
|
306 |
16584
2f766ceeb03e
Add ellipj, ellipke, and expint functions from Octave Forge
Mike Miller <mtmiller@ieee.org>
parents:
15698
diff
changeset
|
307 @DOCSTRING(expint) |
2f766ceeb03e
Add ellipj, ellipke, and expint functions from Octave Forge
Mike Miller <mtmiller@ieee.org>
parents:
15698
diff
changeset
|
308 |
3321 | 309 @DOCSTRING(gamma) |
3294 | 310 |
3444 | 311 @DOCSTRING(gammainc) |
3294 | 312 |
6502 | 313 @DOCSTRING(legendre) |
314 | |
17097
e7a059a9a644
doc: Use XREF as anchor prefix in documentation for clearer results in Info viewer.
Rik <rik@octave.org>
parents:
16938
diff
changeset
|
315 @anchor{XREFgammaln} |
3321 | 316 @DOCSTRING(lgamma) |
317 | |
12185
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
318 @node Rational Approximations |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
319 @section Rational Approximations |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
320 |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
321 @DOCSTRING(rat) |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
322 |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
323 @DOCSTRING(rats) |
862a8e490445
doc fix for rational approximation functions
John W. Eaton <jwe@octave.org>
parents:
11532
diff
changeset
|
324 |
4169 | 325 @node Coordinate Transformations |
3803 | 326 @section Coordinate Transformations |
327 | |
328 @DOCSTRING(cart2pol) | |
329 | |
330 @DOCSTRING(pol2cart) | |
331 | |
332 @DOCSTRING(cart2sph) | |
333 | |
334 @DOCSTRING(sph2cart) | |
335 | |
4169 | 336 @node Mathematical Constants |
3294 | 337 @section Mathematical Constants |
338 | |
9155
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
339 @DOCSTRING(e) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
340 |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
341 @DOCSTRING(pi) |
ad20b967e1c9
Update section 17.3 (Trigonometry) of arith.txi
Rik <rdrider0-list@yahoo.com>
parents:
9154
diff
changeset
|
342 |
3321 | 343 @DOCSTRING(I) |
344 | |
345 @DOCSTRING(Inf) | |
3294 | 346 |
3321 | 347 @DOCSTRING(NaN) |
3294 | 348 |
3321 | 349 @DOCSTRING(eps) |
3294 | 350 |
3321 | 351 @DOCSTRING(realmax) |
3294 | 352 |
3321 | 353 @DOCSTRING(realmin) |