This file is indexed.

/usr/share/doc/geographiclib/html/classGeographicLib_1_1EllipticFunction.html is in geographiclib-tools 1.8-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GeographicLib: GeographicLib::EllipticFunction Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespaceGeographicLib.html">GeographicLib</a>      </li>
      <li><a class="el" href="classGeographicLib_1_1EllipticFunction.html">GeographicLib::EllipticFunction</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>GeographicLib::EllipticFunction Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="GeographicLib::EllipticFunction" -->
<p>Elliptic functions needed for <a class="el" href="classGeographicLib_1_1TransverseMercatorExact.html" title="An exact implementation of the Transverse Mercator Projection.">TransverseMercatorExact</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="EllipticFunction_8hpp_source.html">GeographicLib/EllipticFunction.hpp</a>&gt;</code></p>

<p><a href="classGeographicLib_1_1EllipticFunction-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#ada122111b55eb0ab9c7b9fafb0a4b1e6">EllipticFunction</a> (real m)  throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#aba29c348874db7880ab7b1065f03ff7c">m</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#ad1fbe801f6731285462d35d874a149ba">m1</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#a6c6c8029d93946b32184ee964525938c">K</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#a184174d29953891896b41c597c34eb9a">E</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#a12bcdf2c3fc7bcb165318822171328f7">KE</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#a0b8d63970c4276503d03d4133ee6c321">sncndn</a> (real x, real &amp;sn, real &amp;cn, real &amp;dn) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#a8be312b5da54b01f2976416aa82e7d08">E</a> (real phi) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1EllipticFunction.html#af1b3b2265bca5d2b52c17ca44dabffa8">E</a> (real sn, real cn, real dn) const   throw ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Elliptic functions needed for <a class="el" href="classGeographicLib_1_1TransverseMercatorExact.html" title="An exact implementation of the Transverse Mercator Projection.">TransverseMercatorExact</a>. </p>
<p>This provides the subset of elliptic functions needed for <a class="el" href="classGeographicLib_1_1TransverseMercatorExact.html" title="An exact implementation of the Transverse Mercator Projection.">TransverseMercatorExact</a>. For a given ellipsoid, only parameters <em>e<sup>2</sup></em> and 1 - <em>e<sup>2</sup></em> are needed. This class taken the parameter as a constructor parameters and caches the values of the required complete integrals. A method is provided for Jacobi elliptic functions and for the incomplete elliptic integral of the second kind in terms of the amplitude.</p>
<p>The computation of the elliptic integrals uses the algorithms given in</p>
<ul>
<li>B. C. Carlson, <a href="http://dx.doi.org/10.1007/BF02198293">Computation of elliptic integrals</a>, Numerical Algorithms 10, 13&ndash;26 (1995).</li>
</ul>
<p>The computation of the Jacobi elliptic functions uses the algorithm given in</p>
<ul>
<li>R. Bulirsch, <a href="http://dx.doi.org/10.1007/BF01397975">Numerical Calculation of Elliptic Integrals and Elliptic Functions</a>, Numericshe Mathematik 7, 78&ndash;90 (1965).</li>
</ul>
<p>The notation follows Abramowitz and Stegun, Chapters 16 and 17. </p>

<p>Definition at line <a class="el" href="EllipticFunction_8hpp_source.html#l00042">42</a> of file <a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ada122111b55eb0ab9c7b9fafb0a4b1e6"></a><!-- doxytag: member="GeographicLib::EllipticFunction::EllipticFunction" ref="ada122111b55eb0ab9c7b9fafb0a4b1e6" args="(real m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GeographicLib::EllipticFunction::EllipticFunction </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>m</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td>  throw ()<code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>m</em>&nbsp;</td><td>the parameter which must lie in [0, 1]. (No checking is done.) </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EllipticFunction_8cpp_source.html#l00124">124</a> of file <a class="el" href="EllipticFunction_8cpp_source.html">EllipticFunction.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aba29c348874db7880ab7b1065f03ff7c"></a><!-- doxytag: member="GeographicLib::EllipticFunction::m" ref="aba29c348874db7880ab7b1065f03ff7c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::m </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the parameter <em>m</em>. </dd></dl>

<p>Definition at line <a class="el" href="EllipticFunction_8hpp_source.html#l00067">67</a> of file <a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad1fbe801f6731285462d35d874a149ba"></a><!-- doxytag: member="GeographicLib::EllipticFunction::m1" ref="ad1fbe801f6731285462d35d874a149ba" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::m1 </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the complementary parameter <em>m'</em> = (1 - <em>m</em>). </dd></dl>

<p>Definition at line <a class="el" href="EllipticFunction_8hpp_source.html#l00072">72</a> of file <a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6c6c8029d93946b32184ee964525938c"></a><!-- doxytag: member="GeographicLib::EllipticFunction::K" ref="a6c6c8029d93946b32184ee964525938c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::K </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the complete integral of first kind, <em>K</em>(<em>m</em>). </dd></dl>

<p>Definition at line <a class="el" href="EllipticFunction_8hpp_source.html#l00077">77</a> of file <a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a184174d29953891896b41c597c34eb9a"></a><!-- doxytag: member="GeographicLib::EllipticFunction::E" ref="a184174d29953891896b41c597c34eb9a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::E </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the complete integral of second kind, <em>E</em>(<em>m</em>). </dd></dl>

<p>Definition at line <a class="el" href="EllipticFunction_8hpp_source.html#l00082">82</a> of file <a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a12bcdf2c3fc7bcb165318822171328f7"></a><!-- doxytag: member="GeographicLib::EllipticFunction::KE" ref="a12bcdf2c3fc7bcb165318822171328f7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::KE </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the difference <em>K</em>(<em>m</em>) - <em>E</em>(<em>m</em>) (which can be computed directly). </dd></dl>

<p>Definition at line <a class="el" href="EllipticFunction_8hpp_source.html#l00088">88</a> of file <a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0b8d63970c4276503d03d4133ee6c321"></a><!-- doxytag: member="GeographicLib::EllipticFunction::sncndn" ref="a0b8d63970c4276503d03d4133ee6c321" args="(real x, real &amp;sn, real &amp;cn, real &amp;dn) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::EllipticFunction::sncndn </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>sn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>cn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>dn</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The Jacobi elliptic functions.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>x</em>&nbsp;</td><td>the argument. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>sn</em>&nbsp;</td><td>sn(<em>x</em>|<em>m</em>). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>cn</em>&nbsp;</td><td>cn(<em>x</em>|<em>m</em>). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>dn</em>&nbsp;</td><td>dn(<em>x</em>|<em>m</em>). </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="EllipticFunction_8cpp_source.html#l00150">150</a> of file <a class="el" href="EllipticFunction_8cpp_source.html">EllipticFunction.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8be312b5da54b01f2976416aa82e7d08"></a><!-- doxytag: member="GeographicLib::EllipticFunction::E" ref="a8be312b5da54b01f2976416aa82e7d08" args="(real phi) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::E </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>phi</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The incomplete integral of the second kind.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>phi</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int sqrt(1 - <em>m</em> sin<sup>2</sup>(<em>phi</em>)) <em>dphi</em>. </dd></dl>

<p>Definition at line <a class="el" href="EllipticFunction_8cpp_source.html#l00212">212</a> of file <a class="el" href="EllipticFunction_8cpp_source.html">EllipticFunction.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af1b3b2265bca5d2b52c17ca44dabffa8"></a><!-- doxytag: member="GeographicLib::EllipticFunction::E" ref="af1b3b2265bca5d2b52c17ca44dabffa8" args="(real sn, real cn, real dn) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::EllipticFunction::E </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>sn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>cn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>dn</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The incomplete integral of the second kind in terms of Jacobi elliptic functions</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>sn</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>cn</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>dn</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int dn(<em>w</em>)<sup>2</sup> <em>dw</em> (A+S 17.2.10).</dd></dl>
<p>Instead of specifying the ampltiude <em>phi</em>, we provide <em>sn</em> = sin(<em>phi</em>), <em>cn</em> = cos(<em>phi</em>), <em>dn</em> = sqrt(1 - <em>m</em> sin<sup>2</sup>(<em>phi</em>)). </p>

<p>Definition at line <a class="el" href="EllipticFunction_8cpp_source.html#l00197">197</a> of file <a class="el" href="EllipticFunction_8cpp_source.html">EllipticFunction.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="EllipticFunction_8hpp_source.html">EllipticFunction.hpp</a></li>
<li><a class="el" href="EllipticFunction_8cpp_source.html">EllipticFunction.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 22 2011 for GeographicLib by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>