Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | ·10f5b85dfff393f9fec34d7396081b45·18508·debug·optional·libbrahe-1.3-3-dbgsym_1.3.2-9_i386.deb | 1 | ·10f5b85dfff393f9fec34d7396081b45·18508·debug·optional·libbrahe-1.3-3-dbgsym_1.3.2-9_i386.deb |
2 | ·d85e54b50bf0fca23394360d3c2c3818·14176·libs·optional·libbrahe-1.3-3_1.3.2-9_i386.deb | 2 | ·d85e54b50bf0fca23394360d3c2c3818·14176·libs·optional·libbrahe-1.3-3_1.3.2-9_i386.deb |
3 | · | 3 | ·bbbb63981c12ce8c300d9ed26843fe79·68344·libdevel·optional·libbrahe-dev_1.3.2-9_i386.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2021-09-27·23:29:23.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2021-09-27·23:29:23.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····245 | 2 | -rw-r--r--···0········0········0·····2452·2021-09-27·23:29:23.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0····65 | 3 | -rw-r--r--···0········0········0····65700·2021-09-27·23:29:23.000000·data.tar.xz |
Offset 14, 18 lines modified | Offset 14, 18 lines modified | ||
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····3545·2011-06-27·20:44:14.000000·./usr/share/doc/libbrahe-dev/LicenseClosedSource.txt | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····3545·2011-06-27·20:44:14.000000·./usr/share/doc/libbrahe-dev/LicenseClosedSource.txt |
15 | -rw-r--r--···0·root·········(0)·root·········(0)·····1506·2011-06-27·20:43:04.000000·./usr/share/doc/libbrahe-dev/LicenseOpenSource.txt | 15 | -rw-r--r--···0·root·········(0)·root·········(0)·····1506·2011-06-27·20:43:04.000000·./usr/share/doc/libbrahe-dev/LicenseOpenSource.txt |
16 | -rw-r--r--···0·root·········(0)·root·········(0)······291·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/README.Debian | 16 | -rw-r--r--···0·root·········(0)·root·········(0)······291·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/README.Debian |
17 | -rw-r--r--···0·root·········(0)·root·········(0)······690·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/changelog.Debian.gz | 17 | -rw-r--r--···0·root·········(0)·root·········(0)······690·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/changelog.Debian.gz |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······943·2011-07-06·11:52:08.000000·./usr/share/doc/libbrahe-dev/changelog.gz | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······943·2011-07-06·11:52:08.000000·./usr/share/doc/libbrahe-dev/changelog.gz |
19 | -rw-r--r--···0·root·········(0)·root·········(0)·····2582·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)·····2582·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/copyright |
20 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/ | 20 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/ |
21 | -rw-r--r--···0·root·········(0)·root·········(0)····24475·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00002.html | ||
22 | -rw-r--r--···0·root·········(0)·root·········(0)····31670·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00002_source.html | ||
23 | -rw-r--r--···0·root·········(0)·root·········(0)····68647·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a0000 | 21 | -rw-r--r--···0·root·········(0)·root·········(0)····68647·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00002.html |
24 | -rw-r--r--···0·root·········(0)·root·········(0)····54668·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a0000 | 22 | -rw-r--r--···0·root·········(0)·root·········(0)····54668·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00002_source.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)····24475·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00005.html | ||
24 | -rw-r--r--···0·root·········(0)·root·········(0)····31670·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00005_source.html | ||
25 | -rw-r--r--···0·root·········(0)·root·········(0)·····6733·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00011.html | 25 | -rw-r--r--···0·root·········(0)·root·········(0)·····6733·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00011.html |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····3895·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00015.html | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····3895·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00015.html |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····8201·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00019.html | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····8201·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/a00019.html |
28 | -rw-r--r--···0·root·········(0)·root·········(0)·····2113·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/annotated.html | 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····2113·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/annotated.html |
29 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/bc_s.png | 29 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/bc_s.png |
30 | -rw-r--r--···0·root·········(0)·root·········(0)······147·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/bdwn.png | 30 | -rw-r--r--···0·root·········(0)·root·········(0)······147·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/bdwn.png |
31 | -rw-r--r--···0·root·········(0)·root·········(0)·····1438·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/classes.html | 31 | -rw-r--r--···0·root·········(0)·root·········(0)·····1438·2021-09-27·23:29:23.000000·./usr/share/doc/libbrahe-dev/html/classes.html |
Offset 19, 399 lines modified | Offset 19, 1139 lines modified | ||
19 | ··<ul> | 19 | ··<ul> |
20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> | 20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> |
21 | </div> | 21 | </div> |
22 | </div><!--·top·--> | 22 | </div><!--·top·--> |
23 | <div·class="header"> | 23 | <div·class="header"> |
24 | ··<div·class="summary"> | 24 | ··<div·class="summary"> |
25 | <a·href="#nested-classes">Data·Structures</a>·| | 25 | <a·href="#nested-classes">Data·Structures</a>·| |
26 | <a·href="#define-members">Macros</a>·| | ||
27 | <a·href="#typedef-members">Typedefs</a>·| | ||
26 | <a·href="#enum-members">Enumerations</a>·| | 28 | <a·href="#enum-members">Enumerations</a>·| |
27 | <a·href="#func-members">Functions</a>· | 29 | <a·href="#func-members">Functions</a>··</div> |
28 | <a·href="#var-members">Variables</a>··</div> | ||
29 | ··<div·class="headertitle"><div·class="title"> | 30 | ··<div·class="headertitle"><div·class="title">mathtools.h·File·Reference</div></div> |
30 | </div><!--header--> | 31 | </div><!--header--> |
31 | <div·class="contents"> | 32 | <div·class="contents"> |
32 | <div·class="textblock"><code>#include·& | 33 | <div·class="textblock"><code>#include·<stddef.h></code><br·/> |
34 | <code>#include·<math.h></code><br·/> | ||
35 | <code>#include·<limits.h></code><br·/> | ||
36 | <code>#include·<float.h></code><br·/> | ||
37 | <code>#include·<stdbool.h></code><br·/> | ||
38 | <code>#include·<stdint.h></code><br·/> | ||
33 | </div> | 39 | </div> |
34 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> | 40 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> |
35 | <table·class="memberdecls"> | 41 | <table·class="memberdecls"> |
36 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 42 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
37 | Data·Structures</h2></td></tr> | 43 | Data·Structures</h2></td></tr> |
38 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0001 | 44 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">brahe_statistics_t</a></td></tr> |
39 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 45 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Structure·containing·statistical·values·calculate·from·a·double·array.··<a·href="a00011.html#details">More...</a><br·/></td></tr> |
40 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 46 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
47 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00015.html">brahe_wave_factor_t</a></td></tr> | ||
48 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Sine·wave·definition.··<a·href="a00015.html#details">More...</a><br·/></td></tr> | ||
49 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
50 | </table><table·class="memberdecls"> | ||
51 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
52 | Macros</h2></td></tr> | ||
53 | <tr·class="memitem:a560947c90102e2d8c8bddfcdc8d9aebf"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a560947c90102e2d8c8bddfcdc8d9aebf">BRAHE_E</a>   2.71828182845904523536028747135</td></tr> | ||
54 | <tr·class="memdesc:a560947c90102e2d8c8bddfcdc8d9aebf"><td·class="mdescLeft"> </td><td·class="mdescRight">e·(natural·logarithm·base··<a·href="a00002.html#a560947c90102e2d8c8bddfcdc8d9aebf">More...</a><br·/></td></tr> | ||
55 | <tr·class="separator:a560947c90102e2d8c8bddfcdc8d9aebf"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
56 | <tr·class="memitem:a2acb48c25034f68df587e0f0aa629b8c"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a2acb48c25034f68df587e0f0aa629b8c">BRAHE_LOG2_E</a>   1.44269504088896340735992468100</td></tr> | ||
57 | <tr·class="memdesc:a2acb48c25034f68df587e0f0aa629b8c"><td·class="mdescLeft"> </td><td·class="mdescRight">log_2·(e)··<a·href="a00002.html#a2acb48c25034f68df587e0f0aa629b8c">More...</a><br·/></td></tr> | ||
58 | <tr·class="separator:a2acb48c25034f68df587e0f0aa629b8c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
59 | <tr·class="memitem:af8a4b9878f8d4190d85a47fed511d1ae"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#af8a4b9878f8d4190d85a47fed511d1ae">BRAHE_LOG10_E</a>   0.43429448190325182765112891892</td></tr> | ||
60 | <tr·class="memdesc:af8a4b9878f8d4190d85a47fed511d1ae"><td·class="mdescLeft"> </td><td·class="mdescRight">log_10·(e)··<a·href="a00002.html#af8a4b9878f8d4190d85a47fed511d1ae">More...</a><br·/></td></tr> | ||
61 | <tr·class="separator:af8a4b9878f8d4190d85a47fed511d1ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
62 | <tr·class="memitem:a0f30c1a745dc06e0b8c3611c03b7d4e5"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a0f30c1a745dc06e0b8c3611c03b7d4e5">BRAHE_SQRT_2</a>   1.41421356237309504880168872421</td></tr> | ||
63 | <tr·class="memdesc:a0f30c1a745dc06e0b8c3611c03b7d4e5"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(2)··<a·href="a00002.html#a0f30c1a745dc06e0b8c3611c03b7d4e5">More...</a><br·/></td></tr> | ||
64 | <tr·class="separator:a0f30c1a745dc06e0b8c3611c03b7d4e5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
65 | <tr·class="memitem:a0ab8e9aa2a0e7f80b40b8b6bd9b79659"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a0ab8e9aa2a0e7f80b40b8b6bd9b79659">BRAHE_SQRT_HALF</a>   0.70710678118654752440084436210</td></tr> | ||
66 | <tr·class="memdesc:a0ab8e9aa2a0e7f80b40b8b6bd9b79659"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(1/2)··<a·href="a00002.html#a0ab8e9aa2a0e7f80b40b8b6bd9b79659">More...</a><br·/></td></tr> | ||
67 | <tr·class="separator:a0ab8e9aa2a0e7f80b40b8b6bd9b79659"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
68 | <tr·class="memitem:ad4551041fd2bbaa15958e2c48507ef3e"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#ad4551041fd2bbaa15958e2c48507ef3e">BRAHE_SQRT_3</a>   1.73205080756887729352744634151</td></tr> | ||
69 | <tr·class="memdesc:ad4551041fd2bbaa15958e2c48507ef3e"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(3)··<a·href="a00002.html#ad4551041fd2bbaa15958e2c48507ef3e">More...</a><br·/></td></tr> | ||
70 | <tr·class="separator:ad4551041fd2bbaa15958e2c48507ef3e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
71 | <tr·class="memitem:a4e1fedcefdcf7671b203721214900b78"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a4e1fedcefdcf7671b203721214900b78">BRAHE_PI</a>   3.14159265358979323846264338328</td></tr> | ||
72 | <tr·class="memdesc:a4e1fedcefdcf7671b203721214900b78"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·(180·deg)··<a·href="a00002.html#a4e1fedcefdcf7671b203721214900b78">More...</a><br·/></td></tr> | ||
73 | <tr·class="separator:a4e1fedcefdcf7671b203721214900b78"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
74 | <tr·class="memitem:a4fff0d018f3605f8d29a817c49c98482"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a4fff0d018f3605f8d29a817c49c98482">BRAHE_TAU</a>   6.28318530717958647692528676656</td></tr> | ||
75 | <tr·class="memdesc:a4fff0d018f3605f8d29a817c49c98482"><td·class="mdescLeft"> </td><td·class="mdescRight">tau·(2·*·pi)··<a·href="a00002.html#a4fff0d018f3605f8d29a817c49c98482">More...</a><br·/></td></tr> | ||
76 | <tr·class="separator:a4fff0d018f3605f8d29a817c49c98482"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
77 | <tr·class="memitem:ae07b001cefb9e3a6cf8bf371c56119c4"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#ae07b001cefb9e3a6cf8bf371c56119c4">BRAHE_PI_DIV_2</a>   1.57079632679489661923132169164</td></tr> | ||
78 | <tr·class="memdesc:ae07b001cefb9e3a6cf8bf371c56119c4"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/2·(90·deg)··<a·href="a00002.html#ae07b001cefb9e3a6cf8bf371c56119c4">More...</a><br·/></td></tr> | ||
79 | <tr·class="separator:ae07b001cefb9e3a6cf8bf371c56119c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
80 | <tr·class="memitem:a8ad477fec1152a9e44d95dbae4c558cb"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a8ad477fec1152a9e44d95dbae4c558cb">BRAHE_PI_DIV_3</a>   1.04719755119659774615421446109</td></tr> | ||
81 | <tr·class="memdesc:a8ad477fec1152a9e44d95dbae4c558cb"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/3·(60·deg)··<a·href="a00002.html#a8ad477fec1152a9e44d95dbae4c558cb">More...</a><br·/></td></tr> | ||
82 | <tr·class="separator:a8ad477fec1152a9e44d95dbae4c558cb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
83 | <tr·class="memitem:a4b1d771c20ae91ca703f563ff615d6d3"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a4b1d771c20ae91ca703f563ff615d6d3">BRAHE_PI_DIV_4</a>   0.78539816339744830961566084582</td></tr> | ||
84 | <tr·class="memdesc:a4b1d771c20ae91ca703f563ff615d6d3"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/4·(45·deg)··<a·href="a00002.html#a4b1d771c20ae91ca703f563ff615d6d3">More...</a><br·/></td></tr> | ||
85 | <tr·class="separator:a4b1d771c20ae91ca703f563ff615d6d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
86 | <tr·class="memitem:a996f916dc16cf561c6f8a444829b8de4"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a996f916dc16cf561c6f8a444829b8de4">BRAHE_PI_DIV_6</a>   0.52359877559829887307710723055</td></tr> | ||
87 | <tr·class="memdesc:a996f916dc16cf561c6f8a444829b8de4"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/6·(30·deg)··<a·href="a00002.html#a996f916dc16cf561c6f8a444829b8de4">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:a996f916dc16cf561c6f8a444829b8de4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:a1723fc41b28843e6d1aa15028c16a211"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a1723fc41b28843e6d1aa15028c16a211">BRAHE_PI_DIV_9</a>   0.34906585039886591538473815370</td></tr> | ||
90 | <tr·class="memdesc:a1723fc41b28843e6d1aa15028c16a211"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/9·(20·deg)··<a·href="a00002.html#a1723fc41b28843e6d1aa15028c16a211">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:a1723fc41b28843e6d1aa15028c16a211"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:a54177483776db52a388c3e652a8b5982"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a54177483776db52a388c3e652a8b5982">BRAHE_PI_DIV_12</a>   0.26179938779914943653855361527</td></tr> | ||
93 | <tr·class="memdesc:a54177483776db52a388c3e652a8b5982"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·/·12·(15·deg)··<a·href="a00002.html#a54177483776db52a388c3e652a8b5982">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:a54177483776db52a388c3e652a8b5982"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:a6bc29aa9fac151ab7971cd15a638b67f"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a6bc29aa9fac151ab7971cd15a638b67f">BRAHE_PI_DIV_18</a>   0.17453292519943295769236907685</td></tr> | ||
96 | <tr·class="memdesc:a6bc29aa9fac151ab7971cd15a638b67f"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·/·18·(10·deg)··<a·href="a00002.html#a6bc29aa9fac151ab7971cd15a638b67f">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:a6bc29aa9fac151ab7971cd15a638b67f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:a4535b7b7be92cbad9d6425693c11643e"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a4535b7b7be92cbad9d6425693c11643e">BRAHE_PI_DIV_36</a>   0.08726646259971647884618453842</td></tr> | ||
99 | <tr·class="memdesc:a4535b7b7be92cbad9d6425693c11643e"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·/·36·(5·deg)··<a·href="a00002.html#a4535b7b7be92cbad9d6425693c11643e">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:a4535b7b7be92cbad9d6425693c11643e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:aac172b8f64859f9bf54464a3a6bc3d7c"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#aac172b8f64859f9bf54464a3a6bc3d7c">BRAHE_DEG_PER_RAD</a>   57.2957795130823208767981548141</td></tr> | ||
102 | <tr·class="memdesc:aac172b8f64859f9bf54464a3a6bc3d7c"><td·class="mdescLeft"> </td><td·class="mdescRight">degrees·per·radian··<a·href="a00002.html#aac172b8f64859f9bf54464a3a6bc3d7c">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:aac172b8f64859f9bf54464a3a6bc3d7c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:a81b271b7f56a5ddd3b9fe307778d0821"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a81b271b7f56a5ddd3b9fe307778d0821">BRAHE_RAD_PER_DEG</a>   0.01745329251994329576923690768</td></tr> | ||
105 | <tr·class="memdesc:a81b271b7f56a5ddd3b9fe307778d0821"><td·class="mdescLeft"> </td><td·class="mdescRight">radians·per·degree··<a·href="a00002.html#a81b271b7f56a5ddd3b9fe307778d0821">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:a81b271b7f56a5ddd3b9fe307778d0821"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:a83b4f9fccb40a1f78bb88aacc8e84cab"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a83b4f9fccb40a1f78bb88aacc8e84cab">BRAHE_SQRT_PI</a>   1.77245385090551602729816748334</td></tr> | ||
108 | <tr·class="memdesc:a83b4f9fccb40a1f78bb88aacc8e84cab"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(pi)··<a·href="a00002.html#a83b4f9fccb40a1f78bb88aacc8e84cab">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:a83b4f9fccb40a1f78bb88aacc8e84cab"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc">BRAHE_TWO_DIV_SQRT_PI</a>   1.12837916709551257389615890312</td></tr> | ||
111 | <tr·class="memdesc:abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc"><td·class="mdescLeft"> </td><td·class="mdescRight">2/sqrt(pi)··<a·href="a00002.html#abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:abf7d7206f6f89332832ea82f3955e1c9"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#abf7d7206f6f89332832ea82f3955e1c9">BRAHE_ONE_DIV_PI</a>   0.31830988618379067153776752675</td></tr> | ||
114 | <tr·class="memdesc:abf7d7206f6f89332832ea82f3955e1c9"><td·class="mdescLeft"> </td><td·class="mdescRight">1/pi··<a·href="a00002.html#abf7d7206f6f89332832ea82f3955e1c9">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:abf7d7206f6f89332832ea82f3955e1c9"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:ab6f9592c1e49a672372f56cdd1a617d5"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#ab6f9592c1e49a672372f56cdd1a617d5">BRAHE_TWO_DIV_PI</a>   0.63661977236758134307553505349</td></tr> | ||
117 | <tr·class="memdesc:ab6f9592c1e49a672372f56cdd1a617d5"><td·class="mdescLeft"> </td><td·class="mdescRight">2/pi··<a·href="a00002.html#ab6f9592c1e49a672372f56cdd1a617d5">More...</a><br·/></td></tr> | ||
118 | <tr·class="separator:ab6f9592c1e49a672372f56cdd1a617d5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | <tr·class="memitem:ab80971083813a13b7f886efb0016f27a"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#ab80971083813a13b7f886efb0016f27a">BRAHE_LN_10</a>   2.30258509299404568401799145468</td></tr> | ||
120 | <tr·class="memdesc:ab80971083813a13b7f886efb0016f27a"><td·class="mdescLeft"> </td><td·class="mdescRight">ln(10)··<a·href="a00002.html#ab80971083813a13b7f886efb0016f27a">More...</a><br·/></td></tr> | ||
121 | <tr·class="separator:ab80971083813a13b7f886efb0016f27a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a16ad8b699fa21a939786c8c512cff228"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a16ad8b699fa21a939786c8c512cff228">BRAHE_LN_2</a>   0.69314718055994530941723212146</td></tr> | ||
123 | <tr·class="memdesc:a16ad8b699fa21a939786c8c512cff228"><td·class="mdescLeft"> </td><td·class="mdescRight">ln(2)··<a·href="a00002.html#a16ad8b699fa21a939786c8c512cff228">More...</a><br·/></td></tr> | ||
124 | <tr·class="separator:a16ad8b699fa21a939786c8c512cff228"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | <tr·class="memitem:a4a13004f988698d0e3edde4c35faa2ef"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a4a13004f988698d0e3edde4c35faa2ef">BRAHE_LOG_2</a>   0.30102999566398119521373889472</td></tr> | ||
126 | <tr·class="memdesc:a4a13004f988698d0e3edde4c35faa2ef"><td·class="mdescLeft"> </td><td·class="mdescRight">log(2)··<a·href="a00002.html#a4a13004f988698d0e3edde4c35faa2ef">More...</a><br·/></td></tr> | ||
127 | <tr·class="separator:a4a13004f988698d0e3edde4c35faa2ef"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:ab9b68fff5200827cfc970b9e0f7c941a"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#ab9b68fff5200827cfc970b9e0f7c941a">BRAHE_LN_PI</a>   1.14472988584940017414342735135</td></tr> | ||
129 | <tr·class="memdesc:ab9b68fff5200827cfc970b9e0f7c941a"><td·class="mdescLeft"> </td><td·class="mdescRight">ln(pi)··<a·href="a00002.html#ab9b68fff5200827cfc970b9e0f7c941a">More...</a><br·/></td></tr> | ||
130 | <tr·class="separator:ab9b68fff5200827cfc970b9e0f7c941a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | <tr·class="memitem:a71b1569ecfc42e0895108e4f506813c4"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a71b1569ecfc42e0895108e4f506813c4">BRAHE_EULER</a>   0.57721566490153286060651209008</td></tr> | ||
132 | <tr·class="memdesc:a71b1569ecfc42e0895108e4f506813c4"><td·class="mdescLeft"> </td><td·class="mdescRight">Euler·constant.··<a·href="a00002.html#a71b1569ecfc42e0895108e4f506813c4">More...</a><br·/></td></tr> | ||
133 | <tr·class="separator:a71b1569ecfc42e0895108e4f506813c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
134 | </table><table·class="memberdecls"> | ||
135 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
136 | Typedefs</h2></td></tr> | ||
137 | <tr·class="memitem:abf46a4ae1f8b36a45d7a874268b7002c"><td·class="memItemLeft"·align="right"·valign="top">typedef·enum·<a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32">brahe_pretty_format_t</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#abf46a4ae1f8b36a45d7a874268b7002c">brahe_pretty_format</a></td></tr> | ||
138 | <tr·class="memdesc:abf46a4ae1f8b36a45d7a874268b7002c"><td·class="mdescLeft"> </td><td·class="mdescRight">Formats·for·pretty-printing·integers.··<a·href="a00002.html#abf46a4ae1f8b36a45d7a874268b7002c">More...</a><br·/></td></tr> | ||
139 | <tr·class="separator:abf46a4ae1f8b36a45d7a874268b7002c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
140 | <tr·class="memitem:a9093f7d9134e9185bbccb5c0cac7566e"><td·class="memItemLeft"·align="right"·valign="top">typedef·struct·<a·class="el"·href="a00011.html">brahe_statistics_t</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html#a9093f7d9134e9185bbccb5c0cac7566e">brahe_statistics</a></td></tr> | ||
141 | <tr·class="memdesc:a9093f7d9134e9185bbccb5c0cac7566e"><td·class="mdescLeft"> </td><td·class="mdescRight">Structure·containing·statistical·values·calculate·from·a·double·array.··<a·href="a00002.html#a9093f7d9134e9185bbccb5c0cac7566e">More...</a><br·/></td></tr> | ||
142 | <tr·class="separator:a9093f7d9134e9185bbccb5c0cac7566e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
41 | </table><table·class="memberdecls"> | 143 | </table><table·class="memberdecls"> |
42 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> | 144 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> |
Max diff block lines reached; 66660/88283 bytes (75.51%) of diff not shown. |
Offset 1, 153 lines modified | Offset 1, 392 lines modified | ||
1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** | 1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** |
2 | ·······························*****·Main_Index | 2 | ·······························*****·Main_Index |
3 | ································Home_Page·***** | 3 | ································Home_Page·***** |
4 | ·························Created·by·Scott_Robert_Ladd | 4 | ·························Created·by·Scott_Robert_Ladd |
5 | =============================================================================== | 5 | =============================================================================== |
6 | ····*·src | 6 | ····*·src |
7 | Data_Structures·|·Enumerations·|·Functions·|·Variables | ||
8 | 7 | Data_Structures·|·Macros·|·Typedefs·|·Enumerations·|·Functions | |
8 | mathtools.h·File·Reference | ||
9 | #include·<stddef.h> | ||
9 | #include· | 10 | #include·<math.h> |
11 | #include·<limits.h> | ||
12 | #include·<float.h> | ||
13 | #include·<stdbool.h> | ||
14 | #include·<stdint.h> | ||
10 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
11 | ·Data·Structures | 16 | ·Data·Structures |
12 | struct· brahe_ | 17 | struct· brahe_statistics_t |
13 | ······· | 18 | ·······Structure·containing·statistical·values·calculate·from·a·double·array. |
19 | ·········More... | ||
14 | 20 | ||
21 | struct· brahe_wave_factor_t | ||
22 | ·······Sine·wave·definition.·More... | ||
15 | ·Enumerations | ||
16 | enum·brahe_prng_type_t·{ | ||
17 | ··· BRAHE_PRNG_MARSENNE_TWISTER·=·0·,·BRAHE_PRNG_KISS·,·BRAHE_PRNG_CMWC4096·, | ||
18 | ·····BRAHE_PRNG_MWC1038·, | ||
19 | ····· BRAHE_PRNG_ISAAC | ||
20 | ·····} | ||
21 | ···Defines·types·of·prngs.·More... | ||
22 | 23 | ||
23 | ·Functions | ||
24 | ····bool brahe_prng_init·(brahe_prng_state_t·*prng_state,·const | ||
25 | ··········brahe_prng_type_t·type,·const·uint32_t·seed) | ||
26 | 24 | ·Macros | |
25 | #define BRAHE_E 2.71828182845904523536028747135 | ||
26 | ·······e·(natural·logarithm·base·More... | ||
27 | |||
28 | #define BRAHE_LOG2_E 1.44269504088896340735992468100 | ||
29 | ·······log_2·(e)·More... | ||
30 | |||
31 | #define BRAHE_LOG10_E 0.43429448190325182765112891892 | ||
32 | ·······log_10·(e)·More... | ||
33 | |||
34 | #define BRAHE_SQRT_2 1.41421356237309504880168872421 | ||
35 | ·······sqrt(2)·More... | ||
36 | |||
37 | #define BRAHE_SQRT_HALF 0.70710678118654752440084436210 | ||
38 | ·······sqrt(1/2)·More... | ||
39 | |||
40 | #define BRAHE_SQRT_3 1.73205080756887729352744634151 | ||
41 | ·······sqrt(3)·More... | ||
42 | |||
43 | #define BRAHE_PI 3.14159265358979323846264338328 | ||
44 | ·······pi·(180·deg)·More... | ||
45 | |||
46 | #define BRAHE_TAU 6.28318530717958647692528676656 | ||
47 | ·······tau·(2·*·pi)·More... | ||
48 | |||
49 | #define BRAHE_PI_DIV_2 1.57079632679489661923132169164 | ||
50 | ·······pi/2·(90·deg)·More... | ||
51 | |||
52 | #define BRAHE_PI_DIV_3 1.04719755119659774615421446109 | ||
53 | ·······pi/3·(60·deg)·More... | ||
54 | |||
55 | #define BRAHE_PI_DIV_4 0.78539816339744830961566084582 | ||
56 | ·······pi/4·(45·deg)·More... | ||
27 | 57 | ||
28 | ····void brahe_prng_free·(brahe_prng_state_t·*prng_state) | ||
29 | | 58 | #define BRAHE_PI_DIV_6 0.52359877559829887307710723055 |
59 | ·······pi/6·(30·deg)·More... | ||
30 | 60 | ||
31 | uint32_t brahe_prng_next·(brahe_prng_state_t·*prng_state) | ||
32 | | 61 | #define BRAHE_PI_DIV_9 0.34906585039886591538473815370 |
62 | ·······pi/9·(20·deg)·More... | ||
33 | 63 | ||
64 | #define BRAHE_PI_DIV_12 0.26179938779914943653855361527 | ||
65 | ·······pi·/·12·(15·deg)·More... | ||
34 | uint32_t brahe_prng_range·(brahe_prng_state_t·*prng_state,·const·uint32_t·lo, | ||
35 | ··········const·uint32_t·hi) | ||
36 | ········Get·the·next·integer·in·the·range·[lo,hi].·More... | ||
37 | 66 | ||
67 | #define BRAHE_PI_DIV_18 0.17453292519943295769236907685 | ||
68 | ·······pi·/·18·(10·deg)·More... | ||
38 | ··size_t brahe_prng_index·(brahe_prng_state_t·*prng_state,·const·size_t | ||
39 | ··········length) | ||
40 | ········Get·the·next·random·value·as·a·size_t·index.·More... | ||
41 | 69 | ||
42 | ··double brahe_prng_real1·(brahe_prng_state_t·*prng_state) | ||
43 | 70 | #define BRAHE_PI_DIV_36 0.08726646259971647884618453842 | |
71 | ·······pi·/·36·(5·deg)·More... | ||
44 | 72 | ||
45 | ··double brahe_prng_real2·(brahe_prng_state_t·*prng_state) | ||
46 | 73 | #define BRAHE_DEG_PER_RAD 57.2957795130823208767981548141 | |
74 | ·······degrees·per·radian·More... | ||
47 | 75 | ||
48 | ··double brahe_prng_real3·(brahe_prng_state_t·*prng_state) | ||
49 | 76 | #define BRAHE_RAD_PER_DEG 0.01745329251994329576923690768 | |
77 | ·······radians·per·degree·More... | ||
50 | 78 | ||
51 | ··double brahe_prng_real53·(brahe_prng_state_t·*prng_state) | ||
52 | 79 | #define BRAHE_SQRT_PI 1.77245385090551602729816748334 | |
80 | ·······sqrt(pi)·More... | ||
81 | |||
82 | #define BRAHE_TWO_DIV_SQRT_PI 1.12837916709551257389615890312 | ||
83 | ·······2/sqrt(pi)·More... | ||
84 | |||
85 | #define BRAHE_ONE_DIV_PI 0.31830988618379067153776752675 | ||
86 | ·······1/pi·More... | ||
87 | |||
88 | #define BRAHE_TWO_DIV_PI 0.63661977236758134307553505349 | ||
89 | ·······2/pi·More... | ||
90 | |||
91 | #define BRAHE_LN_10 2.30258509299404568401799145468 | ||
92 | ·······ln(10)·More... | ||
93 | |||
94 | #define BRAHE_LN_2 0.69314718055994530941723212146 | ||
95 | ·······ln(2)·More... | ||
96 | |||
97 | #define BRAHE_LOG_2 0.30102999566398119521373889472 | ||
98 | ·······log(2)·More... | ||
99 | |||
100 | #define BRAHE_LN_PI 1.14472988584940017414342735135 | ||
101 | ·······ln(pi)·More... | ||
102 | |||
103 | #define BRAHE_EULER 0.57721566490153286060651209008 | ||
104 | ·······Euler·constant.·More... | ||
Max diff block lines reached; 15041/20423 bytes (73.65%) of diff not shown. |
Offset 17, 15 lines modified | Offset 17, 15 lines modified | ||
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | <div·id="nav-path"·class="navpath"> | 18 | <div·id="nav-path"·class="navpath"> |
19 | ··<ul> | 19 | ··<ul> |
20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> | 20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> |
21 | </div> | 21 | </div> |
22 | </div><!--·top·--> | 22 | </div><!--·top·--> |
23 | <div·class="header"> | 23 | <div·class="header"> |
24 | ··<div·class="headertitle"><div·class="title"> | 24 | ··<div·class="headertitle"><div·class="title">mathtools.h</div></div> |
25 | </div><!--header--> | 25 | </div><!--header--> |
26 | <div·class="contents"> | 26 | <div·class="contents"> |
27 | <a·href="a00002.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*</span></div> | 27 | <a·href="a00002.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*</span></div> |
28 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">····Brahe·is·a·heterogenous·collection·of·mathematical·tools,··written·in·Standard·C.</span></div> | 28 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">····Brahe·is·a·heterogenous·collection·of·mathematical·tools,··written·in·Standard·C.</span></div> |
29 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment"></span>·</div> | 29 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment"></span>·</div> |
30 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">····Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved.</span></div> | 30 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">····Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved.</span></div> |
31 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment"></span>·</div> | 31 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment"></span>·</div> |
Offset 72, 104 lines modified | Offset 72, 240 lines modified | ||
72 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">····The·author·can·be·contacted·at:</span></div> | 72 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">····The·author·can·be·contacted·at:</span></div> |
73 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment"></span>·</div> | 73 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment"></span>·</div> |
74 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">··········scott.ladd@coyotegulch.com</span></div> | 74 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">··········scott.ladd@coyotegulch.com</span></div> |
75 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">··········scott.ladd@gmail.com</span></div> | 75 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">··········scott.ladd@gmail.com</span></div> |
76 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">··········http:www.coyotegulch.com</span></div> | 76 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">··········http:www.coyotegulch.com</span></div> |
77 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">*/</span></div> | 77 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">*/</span></div> |
78 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 78 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
79 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#if·!defined(LIBBRAHE_ | 79 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#if·!defined(LIBBRAHE_MATHTOOLS_H)</span></div> |
80 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#define·LIBBRAHE_ | 80 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#define·LIBBRAHE_MATHTOOLS_H</span></div> |
81 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 81 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
82 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#include·& | 82 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#include·<stddef.h></span></div> |
83 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#include·<math.h></span></div> | ||
84 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#include·<limits.h></span></div> | ||
85 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#include·<float.h></span></div> | ||
83 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
84 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#if·defined(__cplusplus)</span></div> |
85 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">extern</span>·<span·class="stringliteral">"C"</span>·{</div> |
86 | <div·class="line"><a·id="l0006 | 89 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">#endif</span></div> |
87 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
88 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720e">···63</a></span><span·class="keyword">typedef</span>·<span·class="keyword">enum</span></div> | ||
89 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span> | 90 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
90 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eacbbe4b8e3a60f457f9339986ec220449">···66</a></span>····<a·class="code·hl_enumvalue"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eacbbe4b8e3a60f457f9339986ec220449">BRAHE_PRNG_MARSENNE_TWISTER</a>·=·0,</div> | ||
91 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eafcc7277e0bbac3b961935b09cbad59cc">···68</a></span>····<a·class="code·hl_enumvalue"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eafcc7277e0bbac3b961935b09cbad59cc">BRAHE_PRNG_KISS</a>,</div> | ||
92 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eaf55681bb0cfb8407c77edf2ec6b0a9aa">···70</a></span>····<a·class="code·hl_enumvalue"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eaf55681bb0cfb8407c77edf2ec6b0a9aa">BRAHE_PRNG_CMWC4096</a>,</div> | ||
93 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eacf1801e2b0961c33846a2c60ac4664a8">···72</a></span>····<a·class="code·hl_enumvalue"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720eacf1801e2b0961c33846a2c60ac4664a8">BRAHE_PRNG_MWC1038</a>,</div> | ||
94 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_enumvalue"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720ea359f2920c704eef068c741e35819a3c2">BRAHE_PRNG_ISAAC</a></div> | ||
95 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#if·defined(_MSC_VER)</span></div> |
92 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#pragma·warning·(disable:·4244·4267·4996)</span></div> | ||
93 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#if·!defined(__cplusplus)</span></div> | ||
94 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">typedef</span>·<span·class="keywordtype">char</span>·bool;</div> | ||
95 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<span·class="keyword">true</span>··=·1;</div> | ||
96 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<span·class="keyword">false</span>·=·0;</div> | ||
97 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#endif</span></div> | ||
98 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int64·uint64_t;</div> | ||
99 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">typedef</span>·__int64··········int64_t;</div> | ||
100 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int32·uint32_t;</div> | ||
101 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">typedef</span>·__int32··········int32_t;</div> | ||
102 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int16·uint16_t;</div> | ||
103 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">typedef</span>·__int16··········int16_t;</div> | ||
104 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int8··uint8_t;</div> | ||
105 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">typedef</span>·__int8···········int8_t;</div> | ||
106 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#else</span></div> | ||
107 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//·ISO·C·standard·compilers</span></div> | ||
108 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">#include·<stdbool.h></span></div> | ||
109 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#include·<stdint.h></span></div> | ||
110 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="preprocessor">#endif</span></div> | ||
96 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
97 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> |
98 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">//·Rounding</span></div> |
114 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
99 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00019.html#a9f2078ad17c0f7419615612095e5a2f9">···80</a></span>····<a·class="code·hl_enumeration"·href="a00002.html#ab4582ba9e011d83ad4a1e89253ca720e">brahe_prng_type_t</a>·<a·class="code·hl_variable"·href="a00019.html#a9f2078ad17c0f7419615612095e5a2f9">m_type</a>;··<span·class="comment">//·the·algorithm·we're·using</span></div> | ||
100 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00019.html#af5206b6244c8753440ff20f1f76a175a">···81</a></span>····uint32_t··········<a·class="code·hl_variable"·href="a00019.html#af5206b6244c8753440ff20f1f76a175a">m_seed</a>;··<span·class="comment">//·"seed"·that·defines·the·sequence</span></div> | ||
101 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00019.html#a42f53928d2187b3308dcf4da6b255bf9">···82</a></span>····<span·class="keywordtype">void</span>·*············<a·class="code·hl_variable"·href="a00019.html#a42f53928d2187b3308dcf4da6b255bf9">m_data1</a>;·<span·class="comment">//·array·or·table</span></div> | ||
102 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00019.html#a042df53593bba46d7efd6f5d8e28ed4e">···83</a></span>····<span·class="keywordtype">void</span>·*············<a·class="code·hl_variable"·href="a00019.html#a042df53593bba46d7efd6f5d8e28ed4e">m_data2</a>;·<span·class="comment">//·additional·array·or·table</span></div> | ||
103 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00019.html#a625009951fe87f86983c807c6135b4fe">···84</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a625009951fe87f86983c807c6135b4fe">m_i</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
104 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00019.html#a688c60fa7da6b47bd0695116bae468c7">···85</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a688c60fa7da6b47bd0695116bae468c7">m_a</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
105 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00019.html#a0c7c6a9c9667bc1348a9691b60f4e0a5">···86</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a0c7c6a9c9667bc1348a9691b60f4e0a5">m_b</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
106 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00019.html#a7507d91304c213585aaa07f8f0e43046">···87</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a7507d91304c213585aaa07f8f0e43046">m_c</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
107 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>}·<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>;</div> | ||
108 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 115 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
109 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00002.html#a23e603aa011a19244ead42ab38dca8fd">···90</a></span><span·class="keyword">static</span>·uint32_t·<a·class="code·hl_variable"·href="a00002.html#a23e603aa011a19244ead42ab38dca8fd">BRAHE_UNKNOWN_SEED</a>·=·0;</div> | ||
110 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | 116 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
117 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00002.html#a12a41b5db8722b0e2b834839d5ccdccb">···94</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00002.html#a12a41b5db8722b0e2b834839d5ccdccb">brahe_round_nearest</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·x);</div> | ||
111 | <div·class="line"><a·id="l0009 | 118 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
112 | <div·class="line"><a·id="l00 | 119 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
120 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00002.html#a717b79e8bf4bbd4048bf86996dd7cb85">··104</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00002.html#a717b79e8bf4bbd4048bf86996dd7cb85">brahe_sigdig</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·x,·<span·class="keyword">const</span>·uint16_t·n);</div> | ||
113 | <div·class="line"><a·id="l0010 | 121 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
114 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
115 | <div·class="line"><a·id="l0010 | 122 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> |
123 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">//·Lowest·Common·Multple·(LCM)·and·Lowest·Common·Denominator·(GCD)</span></div> | ||
124 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
116 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | 125 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> |
117 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | 126 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> |
118 | <div·class="line"><a·id="l0011 | 127 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00002.html#a683332a0c88ab75687f8c335d15fd08c">··117</a></span>uint64_t·<a·class="code·hl_function"·href="a00002.html#a683332a0c88ab75687f8c335d15fd08c">brahe_lcm</a>(<span·class="keyword">con[·...·truncated·by·diffoscope;·len:·67,·SHA:·c79aae3c70b5485a1ba31c1bcfd26d069c9771d80126fb143b8d23c59b4b9c4e·...·]);</div> |
119 | <div·class="line"><a·id="l0011 | 128 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
120 | <div·class="line"><a·id="l001 | 129 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
121 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00002.html#a | 130 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00002.html#add171e9317dd7e7f44d16d864f0c457c">··126</a></span>uint64_t·<a·class="code·hl_function"·href="a00002.html#add171e9317dd7e7f44d16d864f0c457c">brahe_gcf</a>(uint64_t·x,·uint64_t·y);</div> |
122 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> | 131 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> |
132 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
123 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> | 133 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span><span·class="comment">//·Logarithms</span></div> |
124 | <div·class="line"><a·id="l0013 | 134 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> |
125 | <div·class="line"><a·id="l0013 | 135 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> |
126 | <div·class="line"><a·id="l0013 | 136 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> |
127 | <div·class="line"><a·id="l0014 | 137 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a00002.html#a0dcca39378c18fd880f2a4a1c6498b7e">··140</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00002.html#a0dcca39378c18fd880f2a4a1c6498b7e">brahe_lo[·...·truncated·by·diffoscope;·len:·167,·SHA:·907bda97a035af5bd2953665b5453c6b5d13ce3e4dd207a7a9961f4ba8b464d7·...·]e);</div> |
128 | <div·class="line"><a·id="l0014 | 138 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> |
129 | <div·class="line"><a·id="l0014 | 139 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> |
130 | <div·class="line"><a·id="l001 | 140 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a00002.html#a577f1d6fd8dbe5d38a240d0eb3e405f7">··148</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00002.html#a577f1d6fd8dbe5d38a240d0eb3e405f7">brahe_size[·...·truncated·by·diffoscope;·len:·82,·SHA:·b231be088b3d869a267bb8e565c6d18e86a670cba0073d414c9cb28f154aa742·...·]);</div> |
141 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> | ||
142 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
143 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="comment">//·Statistical·functions</span></div> | ||
144 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
145 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> | ||
146 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32">··155</a></span><span·class="keyword">typedef</span>·<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32">brahe_pretty_format_t</a></div> | ||
131 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span> | 147 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>{</div> |
132 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div> | ||
133 | <div·class="line"><a·id="l001 | 148 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a7cf956fda0334adb6a2cab5867471131">··158</a></span>····<a·class="code·hl_enumvalue"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a7cf956fda0[·...·truncated·by·diffoscope;·len:·46,·SHA:·11d905b4d873f7a1c409a629dd65d31f7b3e2e0821705d06b3d8e1d8d0554743·...·]</div> |
149 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>····<a·class="code·hl_enumvalue"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a0a91a8358d264801da6b2fbc3b923a9b">BRAHE_PRETTY_COMMA</a></div> | ||
150 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno"><a·class="line"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a0a91a8358d264801da6b2fbc3b923a9b">··161</a></span>}</div> | ||
151 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a00002.html#abf46a4ae1f8b36a45d7a874268b7002c">··162</a></span><a·class="code·hl_typedef"·href="a00002.html#abf46a4ae1f8b36a45d7a874268b7002c">brahe_pretty_format</a>;</div> | ||
134 | <div·class="line"><a·id="l0016 | 152 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> |
135 | <div·class="line"><a·id="l0016 | 153 | <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>·</div> |
136 | <div·class="line"><a·id="l0017 | 154 | <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno"><a·class="line"·href="a00002.html#a3b809b316785a9a0a2c3d58630cf9a64">··171</a></span><span·class="keywordtype">char</span>·*·<a·class="code·hl_function"·href="a00002.html#a3b809b316785a9a0a2c3d58630cf9a64">brahe_pr[·...·truncated·by·diffoscope;·len:·131,·SHA:·175aef0ccd35798e30cbf6fe33055595ead1e4d3303e84de78ff6a91d4c02106·...·]);</div> |
155 | <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div> | ||
156 | <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
157 | <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span><span·class="comment">//·Statistical·functions</span></div> | ||
158 | <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
137 | <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> | 159 | <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> |
138 | <div·class="line"><a·id="l0017 | 160 | <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno"><a·class="line"·href="a00011.html">··178</a></span><span·class="keyword">typedef</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00011.html">brahe_statistics_t</a></div> |
139 | <div·class="line"><a·id="l0017 | 161 | <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>{</div> |
162 | <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno"><a·class="line"·href="a00011.html#a09d7045a2ead21b98613db8eb40f23a2">··181</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="a00011.html#a09d7045a2ead21b98613db8eb40f23a2">min</a>;</div> | ||
163 | <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno"><a·class="line"·href="a00011.html#a9b7a84c82a64844b9ab2142d0bfa1a73">··183</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="a00011.html#a9b7a84c82a64844b9ab2142d0bfa1a73">max</a>;</div> | ||
Max diff block lines reached; 221/68725 bytes (0.32%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** | 1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** |
2 | ·······························*****·Main_Index | 2 | ·······························*****·Main_Index |
3 | ································Home_Page·***** | 3 | ································Home_Page·***** |
4 | ·························Created·by·Scott_Robert_Ladd | 4 | ·························Created·by·Scott_Robert_Ladd |
5 | =============================================================================== | 5 | =============================================================================== |
6 | ····*·src | 6 | ····*·src |
7 | 7 | mathtools.h | |
8 | Go_to_the_documentation_of_this_file. | 8 | Go_to_the_documentation_of_this_file. |
9 | ·1/* | 9 | ·1/* |
10 | ·2·Brahe·is·a·heterogenous·collection·of·mathematical·tools,·written·in | 10 | ·2·Brahe·is·a·heterogenous·collection·of·mathematical·tools,·written·in |
11 | Standard·C. | 11 | Standard·C. |
12 | ·3 | 12 | ·3 |
13 | ·4·Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved. | 13 | ·4·Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved. |
14 | ·5 | 14 | ·5 |
Offset 73, 161 lines modified | Offset 73, 326 lines modified | ||
73 | ·46·The·author·can·be·contacted·at: | 73 | ·46·The·author·can·be·contacted·at: |
74 | ·47 | 74 | ·47 |
75 | ·48·scott.ladd@coyotegulch.com | 75 | ·48·scott.ladd@coyotegulch.com |
76 | ·49·scott.ladd@gmail.com | 76 | ·49·scott.ladd@gmail.com |
77 | ·50·http:www.coyotegulch.com | 77 | ·50·http:www.coyotegulch.com |
78 | ·51*/ | 78 | ·51*/ |
79 | ·52 | 79 | ·52 |
80 | ·53#if·!defined(LIBBRAHE_ | 80 | ·53#if·!defined(LIBBRAHE_MATHTOOLS_H) |
81 | ·54#define·LIBBRAHE_ | 81 | ·54#define·LIBBRAHE_MATHTOOLS_H |
82 | ·55 | 82 | ·55 |
83 | ·56#include·<stddef.h> | ||
83 | ·5 | 84 | ·57#include·<math.h> |
84 | ·5 | 85 | ·58#include·<limits.h> |
86 | ·59#include·<float.h> | ||
87 | ·60 | ||
85 | · | 88 | ·61#if·defined(__cplusplus) |
86 | · | 89 | ·62extern·"C"·{ |
87 | ·6 | 90 | ·63#endif |
88 | ·61 | ||
89 | 63typedef·enum | ||
90 | ·64 | 91 | ·64 |
91 | 66·BRAHE_PRNG_MARSENNE_TWISTER·=·0, | ||
92 | 68·BRAHE_PRNG_KISS, | ||
93 | 70·BRAHE_PRNG_CMWC4096, | ||
94 | 72·BRAHE_PRNG_MWC1038, | ||
95 | ·74·BRAHE_PRNG_ISAAC | ||
96 | 75}·brahe_prng_type_t; | ||
97 | ·76 | ||
98 | 78typedef·struct | ||
99 | ·79{ | ||
100 | 80·brahe_prng_type_t·m_type;·//·the·algorithm·we're·using | ||
101 | 81·uint32_t·m_seed;·//·"seed"·that·defines·the·sequence | ||
102 | 82·void·*·m_data1;·//·array·or·table | ||
103 | 83·void·*·m_data2;·//·additional·array·or·table | ||
104 | 84·size_t·m_i;·//·only·used·by·some·algorithms | ||
105 | 85·size_t·m_a;·//·only·used·by·some·algorithms | ||
106 | 86·size_t·m_b;·//·only·used·by·some·algorithms | ||
107 | 87·size_t·m_c;·//·only·used·by·some·algorithms | ||
108 | · | 92 | ·65#if·defined(_MSC_VER) |
93 | ·66#pragma·warning·(disable:·4244·4267·4996) | ||
94 | ·67#if·!defined(__cplusplus) | ||
95 | ·68typedef·char·bool; | ||
96 | ·69static·const·int·true·=·1; | ||
97 | ·70static·const·int·false·=·0; | ||
98 | ·71#endif | ||
99 | ·72typedef·unsigned·__int64·uint64_t; | ||
100 | ·73typedef·__int64·int64_t; | ||
101 | ·74typedef·unsigned·__int32·uint32_t; | ||
102 | ·75typedef·__int32·int32_t; | ||
103 | ·76typedef·unsigned·__int16·uint16_t; | ||
104 | ·77typedef·__int16·int16_t; | ||
105 | ·78typedef·unsigned·__int8·uint8_t; | ||
106 | ·79typedef·__int8·int8_t; | ||
107 | ·80#else | ||
108 | ·81//·ISO·C·standard·compilers | ||
109 | ·82#include·<stdbool.h> | ||
110 | ·83#include·<stdint.h> | ||
111 | ·84#endif | ||
112 | ·85 | ||
113 | ·86//-------------------------------------------------------------------------- | ||
114 | --- | ||
115 | ·87//·Rounding | ||
116 | ·88//-------------------------------------------------------------------------- | ||
117 | --- | ||
109 | ·89 | 118 | ·89 |
110 | 90static·uint32_t·BRAHE_UNKNOWN_SEED·=·0; | ||
111 | ·91 | 119 | ·91 |
112 | ·93 | ||
113 | 100bool·brahe_prng_init(brahe_prng_state_t·*·prng_state,·const | ||
114 | 120 | 94double·brahe_round_nearest(const·double·x); | |
121 | ·95 | ||
122 | ·97 | ||
123 | 104double·brahe_sigdig(const·double·x,·const·uint16_t·n); | ||
115 | ·10 | 124 | ·105 |
116 | ·103 | ||
117 | 10 | 125 | ·106//------------------------------------------------------------------------- |
126 | ---- | ||
127 | ·107//·Lowest·Common·Multple·(LCM)·and·Lowest·Common·Denominator·(GCD) | ||
128 | ·108//------------------------------------------------------------------------- | ||
129 | ---- | ||
118 | ·109 | 130 | ·109 |
119 | ·111 | 131 | ·111 |
120 | 11 | 132 | 117uint64_t·brahe_lcm(const·uint64_t·x,·const·uint64_t·y); |
121 | ·11 | 133 | ·118 |
134 | ·120 | ||
135 | 126uint64_t·brahe_gcf(uint64_t·x,·uint64_t·y); | ||
122 | ·119 | ||
123 | 126uint32_t·brahe_prng_range(brahe_prng_state_t·*·prng_state,·const·uint32_t | ||
124 | lo,·const·uint32_t·hi); | ||
125 | ·127 | 136 | ·127 |
126 | ·129 | ||
127 | 135size_t·brahe_prng_index(brahe_prng_state_t·*·prng_state,·const·size_t | ||
128 | 137 | ·128//------------------------------------------------------------------------- | |
138 | ---- | ||
139 | ·129//·Logarithms | ||
140 | ·130//------------------------------------------------------------------------- | ||
141 | ---- | ||
129 | ·13 | 142 | ·131 |
130 | ·13 | 143 | ·133 |
131 | 14 | 144 | 140double·brahe_log2base(const·double·x,·const·double·base); |
132 | ·14 | 145 | ·141 |
133 | ·14 | 146 | ·143 |
134 | 1 | 147 | 148int·brahe_sizepow2(const·int·n); |
148 | ·149 | ||
149 | ·150//------------------------------------------------------------------------- | ||
150 | ---- | ||
151 | ·151//·Statistical·functions | ||
152 | ·152//------------------------------------------------------------------------- | ||
153 | ---- | ||
154 | ·153 | ||
155 | 155typedef·enum·brahe_pretty_format_t | ||
135 | ·156 | 156 | ·156{ |
Max diff block lines reached; 9249/14013 bytes (66.00%) of diff not shown. |
Offset 19, 1139 lines modified | Offset 19, 399 lines modified | ||
19 | ··<ul> | 19 | ··<ul> |
20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> | 20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> |
21 | </div> | 21 | </div> |
22 | </div><!--·top·--> | 22 | </div><!--·top·--> |
23 | <div·class="header"> | 23 | <div·class="header"> |
24 | ··<div·class="summary"> | 24 | ··<div·class="summary"> |
25 | <a·href="#nested-classes">Data·Structures</a>·| | 25 | <a·href="#nested-classes">Data·Structures</a>·| |
26 | <a·href="#define-members">Macros</a>·| | ||
27 | <a·href="#typedef-members">Typedefs</a>·| | ||
28 | <a·href="#enum-members">Enumerations</a>·| | 26 | <a·href="#enum-members">Enumerations</a>·| |
29 | <a·href="#func-members">Functions</a>· | 27 | <a·href="#func-members">Functions</a>·| |
28 | <a·href="#var-members">Variables</a>··</div> | ||
30 | ··<div·class="headertitle"><div·class="title"> | 29 | ··<div·class="headertitle"><div·class="title">prng.h·File·Reference</div></div> |
31 | </div><!--header--> | 30 | </div><!--header--> |
32 | <div·class="contents"> | 31 | <div·class="contents"> |
32 | <div·class="textblock"><code>#include·"<a·class="el"·href="a00002_source.html">mathtools.h</a>"</code><br·/> | ||
33 | <div·class="textblock"><code>#include·<stddef.h></code><br·/> | ||
34 | <code>#include·<math.h></code><br·/> | ||
35 | <code>#include·<limits.h></code><br·/> | ||
36 | <code>#include·<float.h></code><br·/> | ||
37 | <code>#include·<stdbool.h></code><br·/> | ||
38 | <code>#include·<stdint.h></code><br·/> | ||
39 | </div> | 33 | </div> |
40 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> | 34 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> |
41 | <table·class="memberdecls"> | 35 | <table·class="memberdecls"> |
42 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 36 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
43 | Data·Structures</h2></td></tr> | 37 | Data·Structures</h2></td></tr> |
44 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0001 | 38 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html">brahe_prng_state_t</a></td></tr> |
45 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 39 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Contains·state·variables·for·a·PRNG.··<a·href="a00019.html#details">More...</a><br·/></td></tr> |
46 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 40 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
47 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00015.html">brahe_wave_factor_t</a></td></tr> | ||
48 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Sine·wave·definition.··<a·href="a00015.html#details">More...</a><br·/></td></tr> | ||
49 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
50 | </table><table·class="memberdecls"> | ||
51 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
52 | Macros</h2></td></tr> | ||
53 | <tr·class="memitem:a560947c90102e2d8c8bddfcdc8d9aebf"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a560947c90102e2d8c8bddfcdc8d9aebf">BRAHE_E</a>   2.71828182845904523536028747135</td></tr> | ||
54 | <tr·class="memdesc:a560947c90102e2d8c8bddfcdc8d9aebf"><td·class="mdescLeft"> </td><td·class="mdescRight">e·(natural·logarithm·base··<a·href="a00005.html#a560947c90102e2d8c8bddfcdc8d9aebf">More...</a><br·/></td></tr> | ||
55 | <tr·class="separator:a560947c90102e2d8c8bddfcdc8d9aebf"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
56 | <tr·class="memitem:a2acb48c25034f68df587e0f0aa629b8c"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a2acb48c25034f68df587e0f0aa629b8c">BRAHE_LOG2_E</a>   1.44269504088896340735992468100</td></tr> | ||
57 | <tr·class="memdesc:a2acb48c25034f68df587e0f0aa629b8c"><td·class="mdescLeft"> </td><td·class="mdescRight">log_2·(e)··<a·href="a00005.html#a2acb48c25034f68df587e0f0aa629b8c">More...</a><br·/></td></tr> | ||
58 | <tr·class="separator:a2acb48c25034f68df587e0f0aa629b8c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
59 | <tr·class="memitem:af8a4b9878f8d4190d85a47fed511d1ae"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#af8a4b9878f8d4190d85a47fed511d1ae">BRAHE_LOG10_E</a>   0.43429448190325182765112891892</td></tr> | ||
60 | <tr·class="memdesc:af8a4b9878f8d4190d85a47fed511d1ae"><td·class="mdescLeft"> </td><td·class="mdescRight">log_10·(e)··<a·href="a00005.html#af8a4b9878f8d4190d85a47fed511d1ae">More...</a><br·/></td></tr> | ||
61 | <tr·class="separator:af8a4b9878f8d4190d85a47fed511d1ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
62 | <tr·class="memitem:a0f30c1a745dc06e0b8c3611c03b7d4e5"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a0f30c1a745dc06e0b8c3611c03b7d4e5">BRAHE_SQRT_2</a>   1.41421356237309504880168872421</td></tr> | ||
63 | <tr·class="memdesc:a0f30c1a745dc06e0b8c3611c03b7d4e5"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(2)··<a·href="a00005.html#a0f30c1a745dc06e0b8c3611c03b7d4e5">More...</a><br·/></td></tr> | ||
64 | <tr·class="separator:a0f30c1a745dc06e0b8c3611c03b7d4e5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
65 | <tr·class="memitem:a0ab8e9aa2a0e7f80b40b8b6bd9b79659"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a0ab8e9aa2a0e7f80b40b8b6bd9b79659">BRAHE_SQRT_HALF</a>   0.70710678118654752440084436210</td></tr> | ||
66 | <tr·class="memdesc:a0ab8e9aa2a0e7f80b40b8b6bd9b79659"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(1/2)··<a·href="a00005.html#a0ab8e9aa2a0e7f80b40b8b6bd9b79659">More...</a><br·/></td></tr> | ||
67 | <tr·class="separator:a0ab8e9aa2a0e7f80b40b8b6bd9b79659"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
68 | <tr·class="memitem:ad4551041fd2bbaa15958e2c48507ef3e"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#ad4551041fd2bbaa15958e2c48507ef3e">BRAHE_SQRT_3</a>   1.73205080756887729352744634151</td></tr> | ||
69 | <tr·class="memdesc:ad4551041fd2bbaa15958e2c48507ef3e"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(3)··<a·href="a00005.html#ad4551041fd2bbaa15958e2c48507ef3e">More...</a><br·/></td></tr> | ||
70 | <tr·class="separator:ad4551041fd2bbaa15958e2c48507ef3e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
71 | <tr·class="memitem:a4e1fedcefdcf7671b203721214900b78"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a4e1fedcefdcf7671b203721214900b78">BRAHE_PI</a>   3.14159265358979323846264338328</td></tr> | ||
72 | <tr·class="memdesc:a4e1fedcefdcf7671b203721214900b78"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·(180·deg)··<a·href="a00005.html#a4e1fedcefdcf7671b203721214900b78">More...</a><br·/></td></tr> | ||
73 | <tr·class="separator:a4e1fedcefdcf7671b203721214900b78"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
74 | <tr·class="memitem:a4fff0d018f3605f8d29a817c49c98482"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a4fff0d018f3605f8d29a817c49c98482">BRAHE_TAU</a>   6.28318530717958647692528676656</td></tr> | ||
75 | <tr·class="memdesc:a4fff0d018f3605f8d29a817c49c98482"><td·class="mdescLeft"> </td><td·class="mdescRight">tau·(2·*·pi)··<a·href="a00005.html#a4fff0d018f3605f8d29a817c49c98482">More...</a><br·/></td></tr> | ||
76 | <tr·class="separator:a4fff0d018f3605f8d29a817c49c98482"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
77 | <tr·class="memitem:ae07b001cefb9e3a6cf8bf371c56119c4"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#ae07b001cefb9e3a6cf8bf371c56119c4">BRAHE_PI_DIV_2</a>   1.57079632679489661923132169164</td></tr> | ||
78 | <tr·class="memdesc:ae07b001cefb9e3a6cf8bf371c56119c4"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/2·(90·deg)··<a·href="a00005.html#ae07b001cefb9e3a6cf8bf371c56119c4">More...</a><br·/></td></tr> | ||
79 | <tr·class="separator:ae07b001cefb9e3a6cf8bf371c56119c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
80 | <tr·class="memitem:a8ad477fec1152a9e44d95dbae4c558cb"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a8ad477fec1152a9e44d95dbae4c558cb">BRAHE_PI_DIV_3</a>   1.04719755119659774615421446109</td></tr> | ||
81 | <tr·class="memdesc:a8ad477fec1152a9e44d95dbae4c558cb"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/3·(60·deg)··<a·href="a00005.html#a8ad477fec1152a9e44d95dbae4c558cb">More...</a><br·/></td></tr> | ||
82 | <tr·class="separator:a8ad477fec1152a9e44d95dbae4c558cb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
83 | <tr·class="memitem:a4b1d771c20ae91ca703f563ff615d6d3"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a4b1d771c20ae91ca703f563ff615d6d3">BRAHE_PI_DIV_4</a>   0.78539816339744830961566084582</td></tr> | ||
84 | <tr·class="memdesc:a4b1d771c20ae91ca703f563ff615d6d3"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/4·(45·deg)··<a·href="a00005.html#a4b1d771c20ae91ca703f563ff615d6d3">More...</a><br·/></td></tr> | ||
85 | <tr·class="separator:a4b1d771c20ae91ca703f563ff615d6d3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
86 | <tr·class="memitem:a996f916dc16cf561c6f8a444829b8de4"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a996f916dc16cf561c6f8a444829b8de4">BRAHE_PI_DIV_6</a>   0.52359877559829887307710723055</td></tr> | ||
87 | <tr·class="memdesc:a996f916dc16cf561c6f8a444829b8de4"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/6·(30·deg)··<a·href="a00005.html#a996f916dc16cf561c6f8a444829b8de4">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:a996f916dc16cf561c6f8a444829b8de4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:a1723fc41b28843e6d1aa15028c16a211"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a1723fc41b28843e6d1aa15028c16a211">BRAHE_PI_DIV_9</a>   0.34906585039886591538473815370</td></tr> | ||
90 | <tr·class="memdesc:a1723fc41b28843e6d1aa15028c16a211"><td·class="mdescLeft"> </td><td·class="mdescRight">pi/9·(20·deg)··<a·href="a00005.html#a1723fc41b28843e6d1aa15028c16a211">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:a1723fc41b28843e6d1aa15028c16a211"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:a54177483776db52a388c3e652a8b5982"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a54177483776db52a388c3e652a8b5982">BRAHE_PI_DIV_12</a>   0.26179938779914943653855361527</td></tr> | ||
93 | <tr·class="memdesc:a54177483776db52a388c3e652a8b5982"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·/·12·(15·deg)··<a·href="a00005.html#a54177483776db52a388c3e652a8b5982">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:a54177483776db52a388c3e652a8b5982"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:a6bc29aa9fac151ab7971cd15a638b67f"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a6bc29aa9fac151ab7971cd15a638b67f">BRAHE_PI_DIV_18</a>   0.17453292519943295769236907685</td></tr> | ||
96 | <tr·class="memdesc:a6bc29aa9fac151ab7971cd15a638b67f"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·/·18·(10·deg)··<a·href="a00005.html#a6bc29aa9fac151ab7971cd15a638b67f">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:a6bc29aa9fac151ab7971cd15a638b67f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:a4535b7b7be92cbad9d6425693c11643e"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a4535b7b7be92cbad9d6425693c11643e">BRAHE_PI_DIV_36</a>   0.08726646259971647884618453842</td></tr> | ||
99 | <tr·class="memdesc:a4535b7b7be92cbad9d6425693c11643e"><td·class="mdescLeft"> </td><td·class="mdescRight">pi·/·36·(5·deg)··<a·href="a00005.html#a4535b7b7be92cbad9d6425693c11643e">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:a4535b7b7be92cbad9d6425693c11643e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:aac172b8f64859f9bf54464a3a6bc3d7c"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#aac172b8f64859f9bf54464a3a6bc3d7c">BRAHE_DEG_PER_RAD</a>   57.2957795130823208767981548141</td></tr> | ||
102 | <tr·class="memdesc:aac172b8f64859f9bf54464a3a6bc3d7c"><td·class="mdescLeft"> </td><td·class="mdescRight">degrees·per·radian··<a·href="a00005.html#aac172b8f64859f9bf54464a3a6bc3d7c">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:aac172b8f64859f9bf54464a3a6bc3d7c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:a81b271b7f56a5ddd3b9fe307778d0821"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a81b271b7f56a5ddd3b9fe307778d0821">BRAHE_RAD_PER_DEG</a>   0.01745329251994329576923690768</td></tr> | ||
105 | <tr·class="memdesc:a81b271b7f56a5ddd3b9fe307778d0821"><td·class="mdescLeft"> </td><td·class="mdescRight">radians·per·degree··<a·href="a00005.html#a81b271b7f56a5ddd3b9fe307778d0821">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:a81b271b7f56a5ddd3b9fe307778d0821"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:a83b4f9fccb40a1f78bb88aacc8e84cab"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a83b4f9fccb40a1f78bb88aacc8e84cab">BRAHE_SQRT_PI</a>   1.77245385090551602729816748334</td></tr> | ||
108 | <tr·class="memdesc:a83b4f9fccb40a1f78bb88aacc8e84cab"><td·class="mdescLeft"> </td><td·class="mdescRight">sqrt(pi)··<a·href="a00005.html#a83b4f9fccb40a1f78bb88aacc8e84cab">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:a83b4f9fccb40a1f78bb88aacc8e84cab"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc">BRAHE_TWO_DIV_SQRT_PI</a>   1.12837916709551257389615890312</td></tr> | ||
111 | <tr·class="memdesc:abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc"><td·class="mdescLeft"> </td><td·class="mdescRight">2/sqrt(pi)··<a·href="a00005.html#abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:abf7d7206f6f89332832ea82f3955e1c9"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#abf7d7206f6f89332832ea82f3955e1c9">BRAHE_ONE_DIV_PI</a>   0.31830988618379067153776752675</td></tr> | ||
114 | <tr·class="memdesc:abf7d7206f6f89332832ea82f3955e1c9"><td·class="mdescLeft"> </td><td·class="mdescRight">1/pi··<a·href="a00005.html#abf7d7206f6f89332832ea82f3955e1c9">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:abf7d7206f6f89332832ea82f3955e1c9"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | <tr·class="memitem:ab6f9592c1e49a672372f56cdd1a617d5"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#ab6f9592c1e49a672372f56cdd1a617d5">BRAHE_TWO_DIV_PI</a>   0.63661977236758134307553505349</td></tr> | ||
117 | <tr·class="memdesc:ab6f9592c1e49a672372f56cdd1a617d5"><td·class="mdescLeft"> </td><td·class="mdescRight">2/pi··<a·href="a00005.html#ab6f9592c1e49a672372f56cdd1a617d5">More...</a><br·/></td></tr> | ||
118 | <tr·class="separator:ab6f9592c1e49a672372f56cdd1a617d5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | <tr·class="memitem:ab80971083813a13b7f886efb0016f27a"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#ab80971083813a13b7f886efb0016f27a">BRAHE_LN_10</a>   2.30258509299404568401799145468</td></tr> | ||
120 | <tr·class="memdesc:ab80971083813a13b7f886efb0016f27a"><td·class="mdescLeft"> </td><td·class="mdescRight">ln(10)··<a·href="a00005.html#ab80971083813a13b7f886efb0016f27a">More...</a><br·/></td></tr> | ||
121 | <tr·class="separator:ab80971083813a13b7f886efb0016f27a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a16ad8b699fa21a939786c8c512cff228"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a16ad8b699fa21a939786c8c512cff228">BRAHE_LN_2</a>   0.69314718055994530941723212146</td></tr> | ||
123 | <tr·class="memdesc:a16ad8b699fa21a939786c8c512cff228"><td·class="mdescLeft"> </td><td·class="mdescRight">ln(2)··<a·href="a00005.html#a16ad8b699fa21a939786c8c512cff228">More...</a><br·/></td></tr> | ||
124 | <tr·class="separator:a16ad8b699fa21a939786c8c512cff228"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | <tr·class="memitem:a4a13004f988698d0e3edde4c35faa2ef"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a4a13004f988698d0e3edde4c35faa2ef">BRAHE_LOG_2</a>   0.30102999566398119521373889472</td></tr> | ||
126 | <tr·class="memdesc:a4a13004f988698d0e3edde4c35faa2ef"><td·class="mdescLeft"> </td><td·class="mdescRight">log(2)··<a·href="a00005.html#a4a13004f988698d0e3edde4c35faa2ef">More...</a><br·/></td></tr> | ||
127 | <tr·class="separator:a4a13004f988698d0e3edde4c35faa2ef"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:ab9b68fff5200827cfc970b9e0f7c941a"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#ab9b68fff5200827cfc970b9e0f7c941a">BRAHE_LN_PI</a>   1.14472988584940017414342735135</td></tr> | ||
129 | <tr·class="memdesc:ab9b68fff5200827cfc970b9e0f7c941a"><td·class="mdescLeft"> </td><td·class="mdescRight">ln(pi)··<a·href="a00005.html#ab9b68fff5200827cfc970b9e0f7c941a">More...</a><br·/></td></tr> | ||
130 | <tr·class="separator:ab9b68fff5200827cfc970b9e0f7c941a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
131 | <tr·class="memitem:a71b1569ecfc42e0895108e4f506813c4"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a71b1569ecfc42e0895108e4f506813c4">BRAHE_EULER</a>   0.57721566490153286060651209008</td></tr> | ||
132 | <tr·class="memdesc:a71b1569ecfc42e0895108e4f506813c4"><td·class="mdescLeft"> </td><td·class="mdescRight">Euler·constant.··<a·href="a00005.html#a71b1569ecfc42e0895108e4f506813c4">More...</a><br·/></td></tr> | ||
133 | <tr·class="separator:a71b1569ecfc42e0895108e4f506813c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
134 | </table><table·class="memberdecls"> | ||
135 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
136 | Typedefs</h2></td></tr> | ||
137 | <tr·class="memitem:abf46a4ae1f8b36a45d7a874268b7002c"><td·class="memItemLeft"·align="right"·valign="top">typedef·enum·<a·class="el"·href="a00005.html#a27c66fb5daf87a5e45d8e80c15683e32">brahe_pretty_format_t</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#abf46a4ae1f8b36a45d7a874268b7002c">brahe_pretty_format</a></td></tr> | ||
138 | <tr·class="memdesc:abf46a4ae1f8b36a45d7a874268b7002c"><td·class="mdescLeft"> </td><td·class="mdescRight">Formats·for·pretty-printing·integers.··<a·href="a00005.html#abf46a4ae1f8b36a45d7a874268b7002c">More...</a><br·/></td></tr> | ||
139 | <tr·class="separator:abf46a4ae1f8b36a45d7a874268b7002c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
140 | <tr·class="memitem:a9093f7d9134e9185bbccb5c0cac7566e"><td·class="memItemLeft"·align="right"·valign="top">typedef·struct·<a·class="el"·href="a00011.html">brahe_statistics_t</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html#a9093f7d9134e9185bbccb5c0cac7566e">brahe_statistics</a></td></tr> | ||
141 | <tr·class="memdesc:a9093f7d9134e9185bbccb5c0cac7566e"><td·class="mdescLeft"> </td><td·class="mdescRight">Structure·containing·statistical·values·calculate·from·a·double·array.··<a·href="a00005.html#a9093f7d9134e9185bbccb5c0cac7566e">More...</a><br·/></td></tr> | ||
142 | <tr·class="separator:a9093f7d9134e9185bbccb5c0cac7566e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
143 | </table><table·class="memberdecls"> | 41 | </table><table·class="memberdecls"> |
Max diff block lines reached; 66689/88283 bytes (75.54%) of diff not shown. |
Offset 1, 392 lines modified | Offset 1, 153 lines modified | ||
1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** | 1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** |
2 | ·······························*****·Main_Index | 2 | ·······························*****·Main_Index |
3 | ································Home_Page·***** | 3 | ································Home_Page·***** |
4 | ·························Created·by·Scott_Robert_Ladd | 4 | ·························Created·by·Scott_Robert_Ladd |
5 | =============================================================================== | 5 | =============================================================================== |
6 | ····*·src | 6 | ····*·src |
7 | Data_Structures·|·Enumerations·|·Functions·|·Variables | ||
8 | prng.h·File·Reference | ||
7 | Data_Structures·|·Macros·|·Typedefs·|·Enumerations·|·Functions | ||
8 | mathtools.h·File·Reference | ||
9 | #include·<stddef.h> | ||
10 | #include· | 9 | #include·"mathtools.h" |
11 | #include·<limits.h> | ||
12 | #include·<float.h> | ||
13 | #include·<stdbool.h> | ||
14 | #include·<stdint.h> | ||
15 | Go_to_the_source_code_of_this_file. | 10 | Go_to_the_source_code_of_this_file. |
16 | ·Data·Structures | 11 | ·Data·Structures |
17 | struct· brahe_ | 12 | struct· brahe_prng_state_t |
13 | ·······Contains·state·variables·for·a·PRNG.·More... | ||
18 | ·······Structure·containing·statistical·values·calculate·from·a·double·array. | ||
19 | ·········More... | ||
20 | 14 | ||
15 | ·Enumerations | ||
16 | enum·brahe_prng_type_t·{ | ||
17 | ··· BRAHE_PRNG_MARSENNE_TWISTER·=·0·,·BRAHE_PRNG_KISS·,·BRAHE_PRNG_CMWC4096·, | ||
18 | ·····BRAHE_PRNG_MWC1038·, | ||
19 | ····· BRAHE_PRNG_ISAAC | ||
20 | ·····} | ||
21 | ···Defines·types·of·prngs.·More... | ||
21 | struct· brahe_wave_factor_t | ||
22 | ·······Sine·wave·definition.·More... | ||
23 | |||
24 | ·Macros | ||
25 | #define BRAHE_E 2.71828182845904523536028747135 | ||
26 | ·······e·(natural·logarithm·base·More... | ||
27 | |||
28 | #define BRAHE_LOG2_E 1.44269504088896340735992468100 | ||
29 | ·······log_2·(e)·More... | ||
30 | |||
31 | #define BRAHE_LOG10_E 0.43429448190325182765112891892 | ||
32 | ·······log_10·(e)·More... | ||
33 | |||
34 | #define BRAHE_SQRT_2 1.41421356237309504880168872421 | ||
35 | ·······sqrt(2)·More... | ||
36 | |||
37 | #define BRAHE_SQRT_HALF 0.70710678118654752440084436210 | ||
38 | ·······sqrt(1/2)·More... | ||
39 | |||
40 | #define BRAHE_SQRT_3 1.73205080756887729352744634151 | ||
41 | ·······sqrt(3)·More... | ||
42 | |||
43 | #define BRAHE_PI 3.14159265358979323846264338328 | ||
44 | ·······pi·(180·deg)·More... | ||
45 | |||
46 | #define BRAHE_TAU 6.28318530717958647692528676656 | ||
47 | ·······tau·(2·*·pi)·More... | ||
48 | |||
49 | #define BRAHE_PI_DIV_2 1.57079632679489661923132169164 | ||
50 | ·······pi/2·(90·deg)·More... | ||
51 | |||
52 | #define BRAHE_PI_DIV_3 1.04719755119659774615421446109 | ||
53 | ·······pi/3·(60·deg)·More... | ||
54 | |||
55 | #define BRAHE_PI_DIV_4 0.78539816339744830961566084582 | ||
56 | ·······pi/4·(45·deg)·More... | ||
57 | |||
58 | #define BRAHE_PI_DIV_6 0.52359877559829887307710723055 | ||
59 | ·······pi/6·(30·deg)·More... | ||
60 | |||
61 | #define BRAHE_PI_DIV_9 0.34906585039886591538473815370 | ||
62 | ·······pi/9·(20·deg)·More... | ||
63 | |||
64 | #define BRAHE_PI_DIV_12 0.26179938779914943653855361527 | ||
65 | ·······pi·/·12·(15·deg)·More... | ||
66 | |||
67 | #define BRAHE_PI_DIV_18 0.17453292519943295769236907685 | ||
68 | ·······pi·/·18·(10·deg)·More... | ||
69 | |||
70 | #define BRAHE_PI_DIV_36 0.08726646259971647884618453842 | ||
71 | ·······pi·/·36·(5·deg)·More... | ||
72 | |||
73 | #define BRAHE_DEG_PER_RAD 57.2957795130823208767981548141 | ||
74 | ·······degrees·per·radian·More... | ||
75 | |||
76 | #define BRAHE_RAD_PER_DEG 0.01745329251994329576923690768 | ||
77 | ·······radians·per·degree·More... | ||
78 | |||
79 | #define BRAHE_SQRT_PI 1.77245385090551602729816748334 | ||
80 | ·······sqrt(pi)·More... | ||
81 | |||
82 | #define BRAHE_TWO_DIV_SQRT_PI 1.12837916709551257389615890312 | ||
83 | ·······2/sqrt(pi)·More... | ||
84 | |||
85 | #define BRAHE_ONE_DIV_PI 0.31830988618379067153776752675 | ||
86 | ·······1/pi·More... | ||
87 | 22 | ||
88 | #define BRAHE_TWO_DIV_PI 0.63661977236758134307553505349 | ||
89 | 23 | ·Functions | |
24 | ····bool brahe_prng_init·(brahe_prng_state_t·*prng_state,·const | ||
25 | ··········brahe_prng_type_t·type,·const·uint32_t·seed) | ||
26 | ········Initialize·a·psuedo-random·number·generator·(PRNG)·More... | ||
90 | 27 | ||
91 | #define BRAHE_LN_10 2.30258509299404568401799145468 | ||
92 | 28 | ····void brahe_prng_free·(brahe_prng_state_t·*prng_state) | |
29 | ········Free·resources·used·by·PRNG.·More... | ||
93 | 30 | ||
94 | #define BRAHE_LN_2 0.69314718055994530941723212146 | ||
95 | · | 31 | uint32_t brahe_prng_next·(brahe_prng_state_t·*prng_state) |
32 | ········Get·the·next·integer.·More... | ||
96 | 33 | ||
97 | #define BRAHE_LOG_2 0.30102999566398119521373889472 | ||
98 | · | 34 | uint32_t brahe_prng_range·(brahe_prng_state_t·*prng_state,·const·uint32_t·lo, |
35 | ··········const·uint32_t·hi) | ||
36 | ········Get·the·next·integer·in·the·range·[lo,hi].·More... | ||
99 | 37 | ||
100 | #define BRAHE_LN_PI 1.14472988584940017414342735135 | ||
101 | | 38 | ··size_t brahe_prng_index·(brahe_prng_state_t·*prng_state,·const·size_t |
39 | ··········length) | ||
40 | ········Get·the·next·random·value·as·a·size_t·index.·More... | ||
102 | 41 | ||
103 | #define BRAHE_EULER 0.57721566490153286060651209008 | ||
104 | 42 | ··double brahe_prng_real1·(brahe_prng_state_t·*prng_state) | |
43 | ········Get·the·next·number·in·the·range·[0,1].·More... | ||
105 | 44 | ||
45 | ··double brahe_prng_real2·(brahe_prng_state_t·*prng_state) | ||
46 | ········Get·the·next·number·in·the·range·[0,1)·More... | ||
Max diff block lines reached; 15624/20420 bytes (76.51%) of diff not shown. |
Offset 17, 15 lines modified | Offset 17, 15 lines modified | ||
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | <div·id="nav-path"·class="navpath"> | 18 | <div·id="nav-path"·class="navpath"> |
19 | ··<ul> | 19 | ··<ul> |
20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> | 20 | <li·class="navelem"><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>··</ul> |
21 | </div> | 21 | </div> |
22 | </div><!--·top·--> | 22 | </div><!--·top·--> |
23 | <div·class="header"> | 23 | <div·class="header"> |
24 | ··<div·class="headertitle"><div·class="title"> | 24 | ··<div·class="headertitle"><div·class="title">prng.h</div></div> |
25 | </div><!--header--> | 25 | </div><!--header--> |
26 | <div·class="contents"> | 26 | <div·class="contents"> |
27 | <a·href="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*</span></div> | 27 | <a·href="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">/*</span></div> |
28 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">····Brahe·is·a·heterogenous·collection·of·mathematical·tools,··written·in·Standard·C.</span></div> | 28 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">····Brahe·is·a·heterogenous·collection·of·mathematical·tools,··written·in·Standard·C.</span></div> |
29 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment"></span>·</div> | 29 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment"></span>·</div> |
30 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">····Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved.</span></div> | 30 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">····Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved.</span></div> |
31 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment"></span>·</div> | 31 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment"></span>·</div> |
Offset 72, 240 lines modified | Offset 72, 104 lines modified | ||
72 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">····The·author·can·be·contacted·at:</span></div> | 72 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">····The·author·can·be·contacted·at:</span></div> |
73 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment"></span>·</div> | 73 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment"></span>·</div> |
74 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">··········scott.ladd@coyotegulch.com</span></div> | 74 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">··········scott.ladd@coyotegulch.com</span></div> |
75 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">··········scott.ladd@gmail.com</span></div> | 75 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">··········scott.ladd@gmail.com</span></div> |
76 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">··········http:www.coyotegulch.com</span></div> | 76 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">··········http:www.coyotegulch.com</span></div> |
77 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">*/</span></div> | 77 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">*/</span></div> |
78 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 78 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
79 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#if·!defined(LIBBRAHE_ | 79 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#if·!defined(LIBBRAHE_PRNG_H)</span></div> |
80 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#define·LIBBRAHE_ | 80 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#define·LIBBRAHE_PRNG_H</span></div> |
81 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 81 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
82 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#include·& | 82 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#include·"<a·class="code"·href="a00002.html">mathtools.h</a>"</span></div> |
83 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#include·<math.h></span></div> | ||
84 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#include·<limits.h></span></div> | ||
85 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#include·<float.h></span></div> | ||
86 | <div·class="line"><a·id="l000 | 83 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
87 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#if·defined(__cplusplus)</span></div> |
88 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">extern</span>·<span·class="stringliteral">"C"</span>·{</div> |
89 | <div·class="line"><a·id="l0006 | 86 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#endif</span></div> |
87 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
88 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">···63</a></span><span·class="keyword">typedef</span>·<span·class="keyword">enum</span></div> | ||
90 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span> | 89 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>{</div> |
90 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacbbe4b8e3a60f457f9339986ec220449">···66</a></span>····<a·class="code·hl_enumvalue"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacbbe4b8e3a60f457f9339986ec220449">BRAHE_PRNG_MARSENNE_TWISTER</a>·=·0,</div> | ||
91 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eafcc7277e0bbac3b961935b09cbad59cc">···68</a></span>····<a·class="code·hl_enumvalue"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eafcc7277e0bbac3b961935b09cbad59cc">BRAHE_PRNG_KISS</a>,</div> | ||
92 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eaf55681bb0cfb8407c77edf2ec6b0a9aa">···70</a></span>····<a·class="code·hl_enumvalue"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eaf55681bb0cfb8407c77edf2ec6b0a9aa">BRAHE_PRNG_CMWC4096</a>,</div> | ||
93 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacf1801e2b0961c33846a2c60ac4664a8">···72</a></span>····<a·class="code·hl_enumvalue"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacf1801e2b0961c33846a2c60ac4664a8">BRAHE_PRNG_MWC1038</a>,</div> | ||
94 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_enumvalue"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720ea359f2920c704eef068c741e35819a3c2">BRAHE_PRNG_ISAAC</a></div> | ||
95 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720ea359f2920c704eef068c741e35819a3c2">···75</a></span>}·<a·class="code·hl_enumeration"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">brahe_prng_type_t</a>;</div> | ||
91 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">#if·defined(_MSC_VER)</span></div> | ||
92 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#pragma·warning·(disable:·4244·4267·4996)</span></div> | ||
93 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#if·!defined(__cplusplus)</span></div> | ||
94 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">typedef</span>·<span·class="keywordtype">char</span>·bool;</div> | ||
95 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<span·class="keyword">true</span>··=·1;</div> | ||
96 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·<span·class="keyword">false</span>·=·0;</div> | ||
97 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#endif</span></div> | ||
98 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int64·uint64_t;</div> | ||
99 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">typedef</span>·__int64··········int64_t;</div> | ||
100 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int32·uint32_t;</div> | ||
101 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="keyword">typedef</span>·__int32··········int32_t;</div> | ||
102 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int16·uint16_t;</div> | ||
103 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">typedef</span>·__int16··········int16_t;</div> | ||
104 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·__int8··uint8_t;</div> | ||
105 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">typedef</span>·__int8···········int8_t;</div> | ||
106 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">#else</span></div> | ||
107 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//·ISO·C·standard·compilers</span></div> | ||
108 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">#include·<stdbool.h></span></div> | ||
109 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#include·<stdint.h></span></div> | ||
110 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="preprocessor">#endif</span></div> | ||
111 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
112 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00019.html">···78</a></span><span·class="keyword">typedef</span>·<span·class="keyword">struct</span></div> |
113 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>{</div> |
114 | <div·class="line"><a·id="l0008 | 99 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00019.html#a9f2078ad17c0f7419615612095e5a2f9">···80</a></span>····<a·class="code·hl_enumeration"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">brahe_prng_type_t</a>·<a·class="code·hl_v[·...·truncated·by·diffoscope;·len:·129,·SHA:·1a1092daf3fbec85452c5f5a2bb623f1e3d6f8eb35b861945e16027f8b590c6e·...·]</span></div> |
100 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00019.html#af5206b6244c8753440ff20f1f76a175a">···81</a></span>····uint32_t··········<a·class="code·hl_variable"·href="a00019.html#af5206b6244c8753440ff20f1f76a175a">m_seed</a>;··<span·class="comment">//·"seed"·that·defines·the·sequence</span></div> | ||
101 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00019.html#a42f53928d2187b3308dcf4da6b255bf9">···82</a></span>····<span·class="keywordtype">void</span>·*············<a·class="code·hl_variable"·href="a00019.html#a42f53928d2187b3308dcf4da6b255bf9">m_data1</a>;·<span·class="comment">//·array·or·table</span></div> | ||
102 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00019.html#a042df53593bba46d7efd6f5d8e28ed4e">···83</a></span>····<span·class="keywordtype">void</span>·*············<a·class="code·hl_variable"·href="a00019.html#a042df53593bba46d7efd6f5d8e28ed4e">m_data2</a>;·<span·class="comment">//·additional·array·or·table</span></div> | ||
103 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00019.html#a625009951fe87f86983c807c6135b4fe">···84</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a625009951fe87f86983c807c6135b4fe">m_i</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
104 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00019.html#a688c60fa7da6b47bd0695116bae468c7">···85</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a688c60fa7da6b47bd0695116bae468c7">m_a</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
105 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00019.html#a0c7c6a9c9667bc1348a9691b60f4e0a5">···86</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a0c7c6a9c9667bc1348a9691b60f4e0a5">m_b</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
106 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00019.html#a7507d91304c213585aaa07f8f0e43046">···87</a></span>····<span·class="keywordtype">size_t</span>············<a·class="code·hl_variable"·href="a00019.html#a7507d91304c213585aaa07f8f0e43046">m_c</a>;·····<span·class="comment">//·only·used·by·some·algorithms</span></div> | ||
107 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>}·<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>;</div> | ||
115 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 108 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
109 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00005.html#a23e603aa011a19244ead42ab38dca8fd">···90</a></span><span·class="keyword">static</span>·uint32_t·<a·class="code·hl_variable"·href="a00005.html#a23e603aa011a19244ead42ab38dca8fd">BRAHE_UNKNOWN_SEED</a>·=·0;</div> | ||
116 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | 110 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
117 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00005.html#a12a41b5db8722b0e2b834839d5ccdccb">···94</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#a12a41b5db8722b0e2b834839d5ccdccb">brahe_round_nearest</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·x);</div> | ||
118 | <div·class="line"><a·id="l0009 | 111 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
112 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00005.html#a38e903833e609b58084492cb9fd9aca7">··100</a></span><span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00005.html#a38e903833e609b58084492cb9fd9aca7">brahe_prng_init</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state,·<span·class="keyword">const</span>·<a·class="code·hl_enumeration"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">brahe_prng_type_t</a>·type,·<span·class="keyword">const</span>·uint32_t·seed);</div> | ||
119 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
120 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00005.html#a717b79e8bf4bbd4048bf86996dd7cb85">··104</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#a717b79e8bf4bbd4048bf86996dd7cb85">brahe_sigdig</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·x,·<span·class="keyword">const</span>·uint16_t·n);</div> | ||
121 | <div·class="line"><a·id="l0010 | 113 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> |
114 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
115 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a00005.html#a446dd0183094e83631777c2ea89855b3">··108</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00005.html#a446dd0183094e83631777c2ea89855b3">brahe_prng_free</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state);</div> | ||
122 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
123 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">//·Lowest·Common·Multple·(LCM)·and·Lowest·Common·Denominator·(GCD)</span></div> | ||
124 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
125 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | 116 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> |
126 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | 117 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> |
127 | <div·class="line"><a·id="l0011 | 118 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00005.html#ac593be050799621ea1c90efa6ddfe11a">··116</a></span>uint32_t·<a·class="code·hl_function"·href="a00005.html#ac593be050799621ea1c90efa6ddfe11a">brahe_prng_next</a>(<a·class="code·hl_s[·...·truncated·by·diffoscope;·len:·61,·SHA:·c8d220af5fefd745a1fbacf480065924f9f0c7ded9a95e38a2883518ad7bf20c·...·]);</div> |
128 | <div·class="line"><a·id="l0011 | 119 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> |
129 | <div·class="line"><a·id="l001 | 120 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> |
130 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00005.html#a | 121 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00005.html#a2f2e385d51ac163baeee5bd1f72062c5">··126</a></span>uint32_t·<a·class="code·hl_function"·href="a00005.html#a2f2e385d51ac163baeee5bd1f72062c5">brahe_prng_range</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state,·<span·class="[·...·truncated·by·diffoscope;·len:·81,·SHA:·aeb935d9389748c9f584b0f29f89d874ad07cad268ac7466a1f2bf185bc9e4cc·...·]);</div> |
131 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> | 122 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> |
132 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
133 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span><span·class="comment">//·Logarithms</span></div> | ||
134 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
135 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | ||
136 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> | ||
137 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a00005.html#a0dcca39378c18fd880f2a4a1c6498b7e">··140</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#a0dcca39378c18fd880f2a4a1c6498b7e">brahe_log2base</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·x,·<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·base);</div> | ||
138 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> | ||
139 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> | ||
140 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a00005.html#a577f1d6fd8dbe5d38a240d0eb3e405f7">··148</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00005.html#a577f1d6fd8dbe5d38a240d0eb3e405f7">brahe_sizepow2</a>(<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·n);</div> | ||
141 | <div·class="line"><a·id="l001 | 123 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> |
124 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a00005.html#a026536c634b622ba52342c94634e6f5b">··135</a></span><span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a00005.html#a026536c634b622ba52342c94634e6f5b">brahe_prng_index</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state,·<span·class="keyword">const</span>·<span·class="keywordtype">size_t</span>·length);</div> | ||
142 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
143 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="comment">//·Statistical·functions</span></div> | ||
144 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="comment">//-----------------------------------------------------------------------------</span></div> | ||
145 | <div·class="line"><a·id="l001 | 125 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> |
146 | <div·class="line"><a·id="l001 | 126 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> |
127 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a00005.html#a7260ea48236078622849dca9acecac25">··145</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#a7260ea48236078622849dca9acecac25">brahe_prng_real1</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state);</div> | ||
128 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> | ||
129 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> | ||
130 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a00005.html#a2b13c79f6dfe01ac78793bc8af947935">··155</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#a2b13c79f6dfe01ac78793bc8af947935">brahe_prng_real2</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state);</div> | ||
147 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span> | 131 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> |
148 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a00005.html#a27c66fb5daf87a5e45d8e80c15683e32a7cf956fda0334adb6a2cab5867471131">··158</a></span>····<a·class="code·hl_enumvalue"·href="a00005.html#a27c66fb5daf87a5e45d8e80c15683e32a7cf956fda0334adb6a2cab5867471131">BRAHE_PRETTY_TEXT</a>,</div> | ||
149 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>····<a·class="code·hl_enumvalue"·href="a00005.html#a27c66fb5daf87a5e45d8e80c15683e32a0a91a8358d264801da6b2fbc3b923a9b">BRAHE_PRETTY_COMMA</a></div> | ||
150 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno"><a·class="line"·href="a00005.html#a27c66fb5daf87a5e45d8e80c15683e32a0a91a8358d264801da6b2fbc3b923a9b">··161</a></span>}</div> | ||
151 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a00005.html#abf46a4ae1f8b36a45d7a874268b7002c">··162</a></span><a·class="code·hl_typedef"·href="a00005.html#abf46a4ae1f8b36a45d7a874268b7002c">brahe_pretty_format</a>;</div> | ||
152 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> | ||
153 | <div·class="line"><a·id="l001 | 132 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div> |
154 | <div·class="line"><a·id="l001 | 133 | <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno"><a·class="line"·href="a00005.html#ad9875fe400e929989d0ca645fdb91366">··165</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#ad9875fe400e929989d0ca645fdb91366">brahe_p[·...·truncated·by·diffoscope;·len:·94,·SHA:·0b07334f48c3b52240a5b7a6769bddd02281f9d104239218ff274ebf546fca94·...·]);</div> |
155 | <div·class="line"><a·id="l001 | 134 | <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> |
135 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>·</div> | ||
136 | <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a00005.html#ad1b9854068434822d472bb7088d7795e">··175</a></span><span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a00005.html#ad1b9854068434822d472bb7088d7795e">brahe_prng_real53</a>(<a·class="code·hl_struct"·href="a00019.html">brahe_prng_state_t</a>·*·prng_state);</div> | ||
Max diff block lines reached; 40201/68725 bytes (58.50%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** | 1 | ·····******·Brahe·-·a·heterogenous·collection·of·mathematical·tools·****** |
2 | ·······························*****·Main_Index | 2 | ·······························*****·Main_Index |
3 | ································Home_Page·***** | 3 | ································Home_Page·***** |
4 | ·························Created·by·Scott_Robert_Ladd | 4 | ·························Created·by·Scott_Robert_Ladd |
5 | =============================================================================== | 5 | =============================================================================== |
6 | ····*·src | 6 | ····*·src |
7 | 7 | prng.h | |
8 | Go_to_the_documentation_of_this_file. | 8 | Go_to_the_documentation_of_this_file. |
9 | ·1/* | 9 | ·1/* |
10 | ·2·Brahe·is·a·heterogenous·collection·of·mathematical·tools,·written·in | 10 | ·2·Brahe·is·a·heterogenous·collection·of·mathematical·tools,·written·in |
11 | Standard·C. | 11 | Standard·C. |
12 | ·3 | 12 | ·3 |
13 | ·4·Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved. | 13 | ·4·Copyright·2011·Scott·Robert·Ladd.·All·rights·reserved. |
14 | ·5 | 14 | ·5 |
Offset 73, 326 lines modified | Offset 73, 161 lines modified | ||
73 | ·46·The·author·can·be·contacted·at: | 73 | ·46·The·author·can·be·contacted·at: |
74 | ·47 | 74 | ·47 |
75 | ·48·scott.ladd@coyotegulch.com | 75 | ·48·scott.ladd@coyotegulch.com |
76 | ·49·scott.ladd@gmail.com | 76 | ·49·scott.ladd@gmail.com |
77 | ·50·http:www.coyotegulch.com | 77 | ·50·http:www.coyotegulch.com |
78 | ·51*/ | 78 | ·51*/ |
79 | ·52 | 79 | ·52 |
80 | ·53#if·!defined(LIBBRAHE_ | 80 | ·53#if·!defined(LIBBRAHE_PRNG_H) |
81 | ·54#define·LIBBRAHE_ | 81 | ·54#define·LIBBRAHE_PRNG_H |
82 | ·55 | 82 | ·55 |
83 | ·56#include·<stddef.h> | ||
84 | ·5 | 83 | ·56#include·"mathtools.h" |
84 | ·57 | ||
85 | ·58#include·<limits.h> | ||
86 | ·59#include·<float.h> | ||
87 | ·60 | ||
88 | · | 85 | ·58#if·defined(__cplusplus) |
89 | · | 86 | ·59extern·"C"·{ |
90 | ·6 | 87 | ·60#endif |
88 | ·61 | ||
89 | 63typedef·enum | ||
91 | ·64 | 90 | ·64{ |
91 | 66·BRAHE_PRNG_MARSENNE_TWISTER·=·0, | ||
92 | 68·BRAHE_PRNG_KISS, | ||
93 | 70·BRAHE_PRNG_CMWC4096, | ||
94 | 72·BRAHE_PRNG_MWC1038, | ||
95 | ·74·BRAHE_PRNG_ISAAC | ||
96 | 75}·brahe_prng_type_t; | ||
97 | ·76 | ||
98 | 78typedef·struct | ||
99 | ·79{ | ||
100 | 80·brahe_prng_type_t·m_type;·//·the·algorithm·we're·using | ||
101 | 81·uint32_t·m_seed;·//·"seed"·that·defines·the·sequence | ||
102 | 82·void·*·m_data1;·//·array·or·table | ||
103 | 83·void·*·m_data2;·//·additional·array·or·table | ||
104 | 84·size_t·m_i;·//·only·used·by·some·algorithms | ||
105 | 85·size_t·m_a;·//·only·used·by·some·algorithms | ||
106 | 86·size_t·m_b;·//·only·used·by·some·algorithms | ||
107 | 87·size_t·m_c;·//·only·used·by·some·algorithms | ||
108 | ·88}·brahe_prng_state_t; | ||
92 | ·65#if·defined(_MSC_VER) | ||
93 | ·66#pragma·warning·(disable:·4244·4267·4996) | ||
94 | ·67#if·!defined(__cplusplus) | ||
95 | ·68typedef·char·bool; | ||
96 | ·69static·const·int·true·=·1; | ||
97 | ·70static·const·int·false·=·0; | ||
98 | ·71#endif | ||
99 | ·72typedef·unsigned·__int64·uint64_t; | ||
100 | ·73typedef·__int64·int64_t; | ||
101 | ·74typedef·unsigned·__int32·uint32_t; | ||
102 | ·75typedef·__int32·int32_t; | ||
103 | ·76typedef·unsigned·__int16·uint16_t; | ||
104 | ·77typedef·__int16·int16_t; | ||
105 | ·78typedef·unsigned·__int8·uint8_t; | ||
106 | ·79typedef·__int8·int8_t; | ||
107 | ·80#else | ||
108 | ·81//·ISO·C·standard·compilers | ||
109 | ·82#include·<stdbool.h> | ||
110 | ·83#include·<stdint.h> | ||
111 | ·84#endif | ||
112 | ·85 | ||
113 | ·86//-------------------------------------------------------------------------- | ||
114 | --- | ||
115 | ·87//·Rounding | ||
116 | ·88//-------------------------------------------------------------------------- | ||
117 | --- | ||
118 | ·89 | 109 | ·89 |
110 | 90static·uint32_t·BRAHE_UNKNOWN_SEED·=·0; | ||
119 | ·91 | 111 | ·91 |
112 | ·93 | ||
113 | 100bool·brahe_prng_init(brahe_prng_state_t·*·prng_state,·const | ||
114 | brahe_prng_type_t·type,·const·uint32_t·seed); | ||
120 | 94double·brahe_round_nearest(const·double·x); | ||
121 | ·95 | ||
122 | ·97 | ||
123 | 104double·brahe_sigdig(const·double·x,·const·uint16_t·n); | ||
124 | ·10 | 115 | ·101 |
116 | ·103 | ||
117 | 108void·brahe_prng_free(brahe_prng_state_t·*·prng_state); | ||
125 | ·106//------------------------------------------------------------------------- | ||
126 | ---- | ||
127 | ·107//·Lowest·Common·Multple·(LCM)·and·Lowest·Common·Denominator·(GCD) | ||
128 | ·108//------------------------------------------------------------------------- | ||
129 | ---- | ||
130 | ·109 | 118 | ·109 |
131 | ·111 | 119 | ·111 |
132 | 11 | 120 | 116uint32_t·brahe_prng_next(brahe_prng_state_t·*·prng_state); |
133 | ·11 | 121 | ·117 |
134 | ·120 | ||
135 | 122 | ·119 | |
123 | 126uint32_t·brahe_prng_range(brahe_prng_state_t·*·prng_state,·const·uint32_t | ||
124 | lo,·const·uint32_t·hi); | ||
136 | ·127 | 125 | ·127 |
137 | ·128//------------------------------------------------------------------------- | ||
138 | ---- | ||
139 | ·129//·Logarithms | ||
140 | ·130//------------------------------------------------------------------------- | ||
141 | ---- | ||
142 | ·131 | ||
143 | ·133 | ||
144 | 140double·brahe_log2base(const·double·x,·const·double·base); | ||
145 | ·141 | ||
146 | ·143 | ||
147 | 148int·brahe_sizepow2(const·int·n); | ||
148 | ·1 | 126 | ·129 |
127 | 135size_t·brahe_prng_index(brahe_prng_state_t·*·prng_state,·const·size_t | ||
128 | length); | ||
149 | ·150//------------------------------------------------------------------------- | ||
150 | ---- | ||
151 | ·151//·Statistical·functions | ||
152 | ·152//------------------------------------------------------------------------- | ||
153 | ---- | ||
Max diff block lines reached; 9249/14013 bytes (66.00%) of diff not shown. |
Offset 22, 15 lines modified | Offset 22, 15 lines modified | ||
22 | ··<div·class="headertitle"><div·class="title">brahe_statistics_t·Struct·Reference</div></div> | 22 | ··<div·class="headertitle"><div·class="title">brahe_statistics_t·Struct·Reference</div></div> |
23 | </div><!--header--> | 23 | </div><!--header--> |
24 | <div·class="contents"> | 24 | <div·class="contents"> |
25 | <p>Structure·containing·statistical·values·calculate·from·a·double·array.·· | 25 | <p>Structure·containing·statistical·values·calculate·from·a·double·array.·· |
26 | </p> | 26 | </p> |
27 | <p><code>#include·<<a·class="el"·href="a0000 | 27 | <p><code>#include·<<a·class="el"·href="a00002_source.html">mathtools.h</a>></code></p> |
28 | <table·class="memberdecls"> | 28 | <table·class="memberdecls"> |
29 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 29 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
30 | Data·Fields</h2></td></tr> | 30 | Data·Fields</h2></td></tr> |
31 | <tr·class="memitem:a09d7045a2ead21b98613db8eb40f23a2"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html#a09d7045a2ead21b98613db8eb40f23a2">min</a></td></tr> | 31 | <tr·class="memitem:a09d7045a2ead21b98613db8eb40f23a2"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html#a09d7045a2ead21b98613db8eb40f23a2">min</a></td></tr> |
32 | <tr·class="memdesc:a09d7045a2ead21b98613db8eb40f23a2"><td·class="mdescLeft"> </td><td·class="mdescRight">minimum·value·from·array··<a·href="a00011.html#a09d7045a2ead21b98613db8eb40f23a2">More...</a><br·/></td></tr> | 32 | <tr·class="memdesc:a09d7045a2ead21b98613db8eb40f23a2"><td·class="mdescLeft"> </td><td·class="mdescRight">minimum·value·from·array··<a·href="a00011.html#a09d7045a2ead21b98613db8eb40f23a2">More...</a><br·/></td></tr> |
33 | <tr·class="separator:a09d7045a2ead21b98613db8eb40f23a2"><td·class="memSeparator"·colspan="2"> </td></tr> | 33 | <tr·class="separator:a09d7045a2ead21b98613db8eb40f23a2"><td·class="memSeparator"·colspan="2"> </td></tr> |
34 | <tr·class="memitem:a9b7a84c82a64844b9ab2142d0bfa1a73"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html#a9b7a84c82a64844b9ab2142d0bfa1a73">max</a></td></tr> | 34 | <tr·class="memitem:a9b7a84c82a64844b9ab2142d0bfa1a73"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html#a9b7a84c82a64844b9ab2142d0bfa1a73">max</a></td></tr> |
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ········</tr> | 114 | ········</tr> |
115 | ······</table> | 115 | ······</table> |
116 | </div><div·class="memdoc"> | 116 | </div><div·class="memdoc"> |
117 | </div> | 117 | </div> |
118 | </div> | 118 | </div> |
119 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 119 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
120 | <li><a·class="el"·href="a0000 | 120 | <li><a·class="el"·href="a00002_source.html">mathtools.h</a></li> |
121 | </ul> | 121 | </ul> |
122 | </div><!--·contents·--> | 122 | </div><!--·contents·--> |
123 | <hr> | 123 | <hr> |
124 | <p·align="center"><small> | 124 | <p·align="center"><small> |
125 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 125 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
126 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 126 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
127 | </small> | 127 | </small> |
Offset 22, 15 lines modified | Offset 22, 15 lines modified | ||
22 | ··<div·class="headertitle"><div·class="title">brahe_wave_factor_t·Struct·Reference</div></div> | 22 | ··<div·class="headertitle"><div·class="title">brahe_wave_factor_t·Struct·Reference</div></div> |
23 | </div><!--header--> | 23 | </div><!--header--> |
24 | <div·class="contents"> | 24 | <div·class="contents"> |
25 | <p>Sine·wave·definition.·· | 25 | <p>Sine·wave·definition.·· |
26 | ·<a·href="a00015.html#details">More...</a></p> | 26 | ·<a·href="a00015.html#details">More...</a></p> |
27 | <p><code>#include·<<a·class="el"·href="a0000 | 27 | <p><code>#include·<<a·class="el"·href="a00002_source.html">mathtools.h</a>></code></p> |
28 | <table·class="memberdecls"> | 28 | <table·class="memberdecls"> |
29 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 29 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
30 | Data·Fields</h2></td></tr> | 30 | Data·Fields</h2></td></tr> |
31 | <tr·class="memitem:ae3c9f5c19225c342946acc76fc5d163e"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00015.html#ae3c9f5c19225c342946acc76fc5d163e">wavelength</a></td></tr> | 31 | <tr·class="memitem:ae3c9f5c19225c342946acc76fc5d163e"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00015.html#ae3c9f5c19225c342946acc76fc5d163e">wavelength</a></td></tr> |
32 | <tr·class="memdesc:ae3c9f5c19225c342946acc76fc5d163e"><td·class="mdescLeft"> </td><td·class="mdescRight">wavelength··<a·href="a00015.html#ae3c9f5c19225c342946acc76fc5d163e">More...</a><br·/></td></tr> | 32 | <tr·class="memdesc:ae3c9f5c19225c342946acc76fc5d163e"><td·class="mdescLeft"> </td><td·class="mdescRight">wavelength··<a·href="a00015.html#ae3c9f5c19225c342946acc76fc5d163e">More...</a><br·/></td></tr> |
33 | <tr·class="separator:ae3c9f5c19225c342946acc76fc5d163e"><td·class="memSeparator"·colspan="2"> </td></tr> | 33 | <tr·class="separator:ae3c9f5c19225c342946acc76fc5d163e"><td·class="memSeparator"·colspan="2"> </td></tr> |
34 | <tr·class="memitem:a0a20645a85e20f95c4064ee64ac6d775"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00015.html#a0a20645a85e20f95c4064ee64ac6d775">amplitude</a></td></tr> | 34 | <tr·class="memitem:a0a20645a85e20f95c4064ee64ac6d775"><td·class="memItemLeft"·align="right"·valign="top">double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00015.html#a0a20645a85e20f95c4064ee64ac6d775">amplitude</a></td></tr> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | ········</tr> | 65 | ········</tr> |
66 | ······</table> | 66 | ······</table> |
67 | </div><div·class="memdoc"> | 67 | </div><div·class="memdoc"> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 70 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
71 | <li><a·class="el"·href="a0000 | 71 | <li><a·class="el"·href="a00002_source.html">mathtools.h</a></li> |
72 | </ul> | 72 | </ul> |
73 | </div><!--·contents·--> | 73 | </div><!--·contents·--> |
74 | <hr> | 74 | <hr> |
75 | <p·align="center"><small> | 75 | <p·align="center"><small> |
76 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 76 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
77 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 77 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
78 | </small> | 78 | </small> |
Offset 22, 19 lines modified | Offset 22, 19 lines modified | ||
22 | ··<div·class="headertitle"><div·class="title">brahe_prng_state_t·Struct·Reference</div></div> | 22 | ··<div·class="headertitle"><div·class="title">brahe_prng_state_t·Struct·Reference</div></div> |
23 | </div><!--header--> | 23 | </div><!--header--> |
24 | <div·class="contents"> | 24 | <div·class="contents"> |
25 | <p>Contains·state·variables·for·a·PRNG.·· | 25 | <p>Contains·state·variables·for·a·PRNG.·· |
26 | </p> | 26 | </p> |
27 | <p><code>#include·<<a·class="el"·href="a0000 | 27 | <p><code>#include·<<a·class="el"·href="a00005_source.html">prng.h</a>></code></p> |
28 | <table·class="memberdecls"> | 28 | <table·class="memberdecls"> |
29 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 29 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
30 | Data·Fields</h2></td></tr> | 30 | Data·Fields</h2></td></tr> |
31 | <tr·class="memitem:a9f2078ad17c0f7419615612095e5a2f9"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a0000 | 31 | <tr·class="memitem:a9f2078ad17c0f7419615612095e5a2f9"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">brahe_prng_type_t</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#a9f2078ad17c0f7419615612095e5a2f9">m_type</a></td></tr> |
32 | <tr·class="separator:a9f2078ad17c0f7419615612095e5a2f9"><td·class="memSeparator"·colspan="2"> </td></tr> | 32 | <tr·class="separator:a9f2078ad17c0f7419615612095e5a2f9"><td·class="memSeparator"·colspan="2"> </td></tr> |
33 | <tr·class="memitem:af5206b6244c8753440ff20f1f76a175a"><td·class="memItemLeft"·align="right"·valign="top">uint32_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#af5206b6244c8753440ff20f1f76a175a">m_seed</a></td></tr> | 33 | <tr·class="memitem:af5206b6244c8753440ff20f1f76a175a"><td·class="memItemLeft"·align="right"·valign="top">uint32_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#af5206b6244c8753440ff20f1f76a175a">m_seed</a></td></tr> |
34 | <tr·class="separator:af5206b6244c8753440ff20f1f76a175a"><td·class="memSeparator"·colspan="2"> </td></tr> | 34 | <tr·class="separator:af5206b6244c8753440ff20f1f76a175a"><td·class="memSeparator"·colspan="2"> </td></tr> |
35 | <tr·class="memitem:a42f53928d2187b3308dcf4da6b255bf9"><td·class="memItemLeft"·align="right"·valign="top">void·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#a42f53928d2187b3308dcf4da6b255bf9">m_data1</a></td></tr> | 35 | <tr·class="memitem:a42f53928d2187b3308dcf4da6b255bf9"><td·class="memItemLeft"·align="right"·valign="top">void·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#a42f53928d2187b3308dcf4da6b255bf9">m_data1</a></td></tr> |
36 | <tr·class="separator:a42f53928d2187b3308dcf4da6b255bf9"><td·class="memSeparator"·colspan="2"> </td></tr> | 36 | <tr·class="separator:a42f53928d2187b3308dcf4da6b255bf9"><td·class="memSeparator"·colspan="2"> </td></tr> |
37 | <tr·class="memitem:a042df53593bba46d7efd6f5d8e28ed4e"><td·class="memItemLeft"·align="right"·valign="top">void·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#a042df53593bba46d7efd6f5d8e28ed4e">m_data2</a></td></tr> | 37 | <tr·class="memitem:a042df53593bba46d7efd6f5d8e28ed4e"><td·class="memItemLeft"·align="right"·valign="top">void·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00019.html#a042df53593bba46d7efd6f5d8e28ed4e">m_data2</a></td></tr> |
38 | <tr·class="separator:a042df53593bba46d7efd6f5d8e28ed4e"><td·class="memSeparator"·colspan="2"> </td></tr> | 38 | <tr·class="separator:a042df53593bba46d7efd6f5d8e28ed4e"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 149, 23 lines modified | Offset 149, 23 lines modified | ||
149 | <a·id="a9f2078ad17c0f7419615612095e5a2f9"·name="a9f2078ad17c0f7419615612095e5a2f9"></a> | 149 | <a·id="a9f2078ad17c0f7419615612095e5a2f9"·name="a9f2078ad17c0f7419615612095e5a2f9"></a> |
150 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9f2078ad17c0f7419615612095e5a2f9">◆ </a></span>m_type</h2> | 150 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9f2078ad17c0f7419615612095e5a2f9">◆ </a></span>m_type</h2> |
151 | <div·class="memitem"> | 151 | <div·class="memitem"> |
152 | <div·class="memproto"> | 152 | <div·class="memproto"> |
153 | ······<table·class="memname"> | 153 | ······<table·class="memname"> |
154 | ········<tr> | 154 | ········<tr> |
155 | ··········<td·class="memname"><a·class="el"·href="a0000 | 155 | ··········<td·class="memname"><a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">brahe_prng_type_t</a>·brahe_prng_state_t::m_type</td> |
156 | ········</tr> | 156 | ········</tr> |
157 | ······</table> | 157 | ······</table> |
158 | </div><div·class="memdoc"> | 158 | </div><div·class="memdoc"> |
159 | </div> | 159 | </div> |
160 | </div> | 160 | </div> |
161 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 161 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
162 | <li><a·class="el"·href="a0000 | 162 | <li><a·class="el"·href="a00005_source.html">prng.h</a></li> |
163 | </ul> | 163 | </ul> |
164 | </div><!--·contents·--> | 164 | </div><!--·contents·--> |
165 | <hr> | 165 | <hr> |
166 | <p·align="center"><small> | 166 | <p·align="center"><small> |
167 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 167 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
168 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 168 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
169 | </small> | 169 | </small> |
Offset 23, 17 lines modified | Offset 23, 17 lines modified | ||
23 | <div·class="header"> | 23 | <div·class="header"> |
24 | ··<div·class="headertitle"><div·class="title">src·Directory·Reference</div></div> | 24 | ··<div·class="headertitle"><div·class="title">src·Directory·Reference</div></div> |
25 | </div><!--header--> | 25 | </div><!--header--> |
26 | <div·class="contents"> | 26 | <div·class="contents"> |
27 | <table·class="memberdecls"> | 27 | <table·class="memberdecls"> |
28 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 28 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
29 | Files</h2></td></tr> | 29 | Files</h2></td></tr> |
30 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0000 | 30 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html">mathtools.h</a>·<a·href="a00002_source.html">[code]</a></td></tr> |
31 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 31 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
32 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0000 | 32 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html">prng.h</a>·<a·href="a00005_source.html">[code]</a></td></tr> |
33 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 33 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
34 | </table> | 34 | </table> |
35 | </div><!--·contents·--> | 35 | </div><!--·contents·--> |
36 | <hr> | 36 | <hr> |
37 | <p·align="center"><small> | 37 | <p·align="center"><small> |
38 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 38 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
39 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 39 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
Offset 19, 16 lines modified | Offset 19, 16 lines modified | ||
19 | <div·class="header"> | 19 | <div·class="header"> |
20 | ··<div·class="headertitle"><div·class="title">File·List</div></div> | 20 | ··<div·class="headertitle"><div·class="title">File·List</div></div> |
21 | </div><!--header--> | 21 | </div><!--header--> |
22 | <div·class="contents"> | 22 | <div·class="contents"> |
23 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> | 23 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> |
24 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span>]</div><table·class="directory"> | 24 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span>]</div><table·class="directory"> |
25 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html"·target="_self">src</a></td><td·class="desc"></td></tr> | 25 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_68267d1309a1af8e8297ef4c3efbcdba.html"·target="_self">src</a></td><td·class="desc"></td></tr> |
26 | <tr·id="row_0_0_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><a·href="a0000 | 26 | <tr·id="row_0_0_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><a·href="a00002_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00002.html"·target="_self">mathtools.h</a></td><td·class="desc"></td></tr> |
27 | <tr·id="row_0_1_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><a·href="a0000 | 27 | <tr·id="row_0_1_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><a·href="a00005_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00005.html"·target="_self">prng.h</a></td><td·class="desc"></td></tr> |
28 | </table> | 28 | </table> |
29 | </div><!--·directory·--> | 29 | </div><!--·directory·--> |
30 | </div><!--·contents·--> | 30 | </div><!--·contents·--> |
31 | <hr> | 31 | <hr> |
32 | <p·align="center"><small> | 32 | <p·align="center"><small> |
33 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 33 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
34 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 34 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
Offset 16, 78 lines modified | Offset 16, 78 lines modified | ||
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 | <div·class="textblock">Here·is·a·list·of·all·functions,·variables,·defines,·enums,·and·typedefs·with·links·to·the·files·they·belong·to:</div> | 20 | <div·class="textblock">Here·is·a·list·of·all·functions,·variables,·defines,·enums,·and·typedefs·with·links·to·the·files·they·belong·to:</div> |
21 | <h3><a·id="index_b"·name="index_b"></a>-·b·-</h3><ul> | 21 | <h3><a·id="index_b"·name="index_b"></a>-·b·-</h3><ul> |
22 | <li>brahe_acosh() : <a·class="el"·href="a0000 | 22 | <li>brahe_acosh() : <a·class="el"·href="a00002.html#a7e2135361eaa2292a33f9757caf2cb3c">mathtools.h</a></li> |
23 | <li>brahe_add_noise() : <a·class="el"·href="a0000 | 23 | <li>brahe_add_noise() : <a·class="el"·href="a00002.html#adf8459d717c455033024242bda7e2af1">mathtools.h</a></li> |
24 | <li>brahe_asinh() : <a·class="el"·href="a0000 | 24 | <li>brahe_asinh() : <a·class="el"·href="a00002.html#a7756d25dc923d606c9d8df710e1b82d8">mathtools.h</a></li> |
25 | <li>brahe_atanh() : <a·class="el"·href="a0000 | 25 | <li>brahe_atanh() : <a·class="el"·href="a00002.html#a922abe5c1585c4ddefc8052058e87621">mathtools.h</a></li> |
26 | <li>BRAHE_DEG_PER_RAD : <a·class="el"·href="a0000 | 26 | <li>BRAHE_DEG_PER_RAD : <a·class="el"·href="a00002.html#aac172b8f64859f9bf54464a3a6bc3d7c">mathtools.h</a></li> |
27 | <li>BRAHE_E : <a·class="el"·href="a0000 | 27 | <li>BRAHE_E : <a·class="el"·href="a00002.html#a560947c90102e2d8c8bddfcdc8d9aebf">mathtools.h</a></li> |
28 | <li>BRAHE_EULER : <a·class="el"·href="a0000 | 28 | <li>BRAHE_EULER : <a·class="el"·href="a00002.html#a71b1569ecfc42e0895108e4f506813c4">mathtools.h</a></li> |
29 | <li>brahe_gcf() : <a·class="el"·href="a0000 | 29 | <li>brahe_gcf() : <a·class="el"·href="a00002.html#add171e9317dd7e7f44d16d864f0c457c">mathtools.h</a></li> |
30 | <li>brahe_get_statistics() : <a·class="el"·href="a0000 | 30 | <li>brahe_get_statistics() : <a·class="el"·href="a00002.html#ab437fe8f26af4492c284b429d367463f">mathtools.h</a></li> |
31 | <li>brahe_lcm() : <a·class="el"·href="a0000 | 31 | <li>brahe_lcm() : <a·class="el"·href="a00002.html#a683332a0c88ab75687f8c335d15fd08c">mathtools.h</a></li> |
32 | <li>BRAHE_LN_10 : <a·class="el"·href="a0000 | 32 | <li>BRAHE_LN_10 : <a·class="el"·href="a00002.html#ab80971083813a13b7f886efb0016f27a">mathtools.h</a></li> |
33 | <li>BRAHE_LN_2 : <a·class="el"·href="a0000 | 33 | <li>BRAHE_LN_2 : <a·class="el"·href="a00002.html#a16ad8b699fa21a939786c8c512cff228">mathtools.h</a></li> |
34 | <li>BRAHE_LN_PI : <a·class="el"·href="a0000 | 34 | <li>BRAHE_LN_PI : <a·class="el"·href="a00002.html#ab9b68fff5200827cfc970b9e0f7c941a">mathtools.h</a></li> |
35 | <li>BRAHE_LOG10_E : <a·class="el"·href="a0000 | 35 | <li>BRAHE_LOG10_E : <a·class="el"·href="a00002.html#af8a4b9878f8d4190d85a47fed511d1ae">mathtools.h</a></li> |
36 | <li>BRAHE_LOG2_E : <a·class="el"·href="a0000 | 36 | <li>BRAHE_LOG2_E : <a·class="el"·href="a00002.html#a2acb48c25034f68df587e0f0aa629b8c">mathtools.h</a></li> |
37 | <li>brahe_log2base() : <a·class="el"·href="a0000 | 37 | <li>brahe_log2base() : <a·class="el"·href="a00002.html#a0dcca39378c18fd880f2a4a1c6498b7e">mathtools.h</a></li> |
38 | <li>BRAHE_LOG_2 : <a·class="el"·href="a0000 | 38 | <li>BRAHE_LOG_2 : <a·class="el"·href="a00002.html#a4a13004f988698d0e3edde4c35faa2ef">mathtools.h</a></li> |
39 | <li>brahe_make_sinusoid() : <a·class="el"·href="a0000 | 39 | <li>brahe_make_sinusoid() : <a·class="el"·href="a00002.html#abfccc24bd4cce082f9dc32ce988e69c0">mathtools.h</a></li> |
40 | <li>brahe_moving_average() : <a·class="el"·href="a0000 | 40 | <li>brahe_moving_average() : <a·class="el"·href="a00002.html#a4dade377910723e48871cb5f9c0b7137">mathtools.h</a></li> |
41 | <li>BRAHE_ONE_DIV_PI : <a·class="el"·href="a0000 | 41 | <li>BRAHE_ONE_DIV_PI : <a·class="el"·href="a00002.html#abf7d7206f6f89332832ea82f3955e1c9">mathtools.h</a></li> |
42 | <li>BRAHE_PI : <a·class="el"·href="a0000 | 42 | <li>BRAHE_PI : <a·class="el"·href="a00002.html#a4e1fedcefdcf7671b203721214900b78">mathtools.h</a></li> |
43 | <li>BRAHE_PI_DIV_12 : <a·class="el"·href="a0000 | 43 | <li>BRAHE_PI_DIV_12 : <a·class="el"·href="a00002.html#a54177483776db52a388c3e652a8b5982">mathtools.h</a></li> |
44 | <li>BRAHE_PI_DIV_18 : <a·class="el"·href="a0000 | 44 | <li>BRAHE_PI_DIV_18 : <a·class="el"·href="a00002.html#a6bc29aa9fac151ab7971cd15a638b67f">mathtools.h</a></li> |
45 | <li>BRAHE_PI_DIV_2 : <a·class="el"·href="a0000 | 45 | <li>BRAHE_PI_DIV_2 : <a·class="el"·href="a00002.html#ae07b001cefb9e3a6cf8bf371c56119c4">mathtools.h</a></li> |
46 | <li>BRAHE_PI_DIV_3 : <a·class="el"·href="a0000 | 46 | <li>BRAHE_PI_DIV_3 : <a·class="el"·href="a00002.html#a8ad477fec1152a9e44d95dbae4c558cb">mathtools.h</a></li> |
47 | <li>BRAHE_PI_DIV_36 : <a·class="el"·href="a0000 | 47 | <li>BRAHE_PI_DIV_36 : <a·class="el"·href="a00002.html#a4535b7b7be92cbad9d6425693c11643e">mathtools.h</a></li> |
48 | <li>BRAHE_PI_DIV_4 : <a·class="el"·href="a0000 | 48 | <li>BRAHE_PI_DIV_4 : <a·class="el"·href="a00002.html#a4b1d771c20ae91ca703f563ff615d6d3">mathtools.h</a></li> |
49 | <li>BRAHE_PI_DIV_6 : <a·class="el"·href="a0000 | 49 | <li>BRAHE_PI_DIV_6 : <a·class="el"·href="a00002.html#a996f916dc16cf561c6f8a444829b8de4">mathtools.h</a></li> |
50 | <li>BRAHE_PI_DIV_9 : <a·class="el"·href="a0000 | 50 | <li>BRAHE_PI_DIV_9 : <a·class="el"·href="a00002.html#a1723fc41b28843e6d1aa15028c16a211">mathtools.h</a></li> |
51 | <li>BRAHE_PRETTY_COMMA : <a·class="el"·href="a0000 | 51 | <li>BRAHE_PRETTY_COMMA : <a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a0a91a8358d264801da6b2fbc3b923a9b">mathtools.h</a></li> |
52 | <li>brahe_pretty_format : <a·class="el"·href="a0000 | 52 | <li>brahe_pretty_format : <a·class="el"·href="a00002.html#abf46a4ae1f8b36a45d7a874268b7002c">mathtools.h</a></li> |
53 | <li>brahe_pretty_format_t : <a·class="el"·href="a0000 | 53 | <li>brahe_pretty_format_t : <a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32">mathtools.h</a></li> |
54 | <li>brahe_pretty_int() : <a·class="el"·href="a0000 | 54 | <li>brahe_pretty_int() : <a·class="el"·href="a00002.html#a3b809b316785a9a0a2c3d58630cf9a64">mathtools.h</a></li> |
55 | <li>BRAHE_PRETTY_TEXT : <a·class="el"·href="a0000 | 55 | <li>BRAHE_PRETTY_TEXT : <a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a7cf956fda0334adb6a2cab5867471131">mathtools.h</a></li> |
56 | <li>BRAHE_PRNG_CMWC4096 : <a·class="el"·href="a0000 | 56 | <li>BRAHE_PRNG_CMWC4096 : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eaf55681bb0cfb8407c77edf2ec6b0a9aa">prng.h</a></li> |
57 | <li>brahe_prng_free() : <a·class="el"·href="a0000 | 57 | <li>brahe_prng_free() : <a·class="el"·href="a00005.html#a446dd0183094e83631777c2ea89855b3">prng.h</a></li> |
58 | <li>brahe_prng_index() : <a·class="el"·href="a0000 | 58 | <li>brahe_prng_index() : <a·class="el"·href="a00005.html#a026536c634b622ba52342c94634e6f5b">prng.h</a></li> |
59 | <li>brahe_prng_init() : <a·class="el"·href="a0000 | 59 | <li>brahe_prng_init() : <a·class="el"·href="a00005.html#a38e903833e609b58084492cb9fd9aca7">prng.h</a></li> |
60 | <li>BRAHE_PRNG_ISAAC : <a·class="el"·href="a0000 | 60 | <li>BRAHE_PRNG_ISAAC : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720ea359f2920c704eef068c741e35819a3c2">prng.h</a></li> |
61 | <li>BRAHE_PRNG_KISS : <a·class="el"·href="a0000 | 61 | <li>BRAHE_PRNG_KISS : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eafcc7277e0bbac3b961935b09cbad59cc">prng.h</a></li> |
62 | <li>BRAHE_PRNG_MARSENNE_TWISTER : <a·class="el"·href="a0000 | 62 | <li>BRAHE_PRNG_MARSENNE_TWISTER : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacbbe4b8e3a60f457f9339986ec220449">prng.h</a></li> |
63 | <li>BRAHE_PRNG_MWC1038 : <a·class="el"·href="a0000 | 63 | <li>BRAHE_PRNG_MWC1038 : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacf1801e2b0961c33846a2c60ac4664a8">prng.h</a></li> |
64 | <li>brahe_prng_next() : <a·class="el"·href="a0000 | 64 | <li>brahe_prng_next() : <a·class="el"·href="a00005.html#ac593be050799621ea1c90efa6ddfe11a">prng.h</a></li> |
65 | <li>brahe_prng_range() : <a·class="el"·href="a0000 | 65 | <li>brahe_prng_range() : <a·class="el"·href="a00005.html#a2f2e385d51ac163baeee5bd1f72062c5">prng.h</a></li> |
66 | <li>brahe_prng_real1() : <a·class="el"·href="a0000 | 66 | <li>brahe_prng_real1() : <a·class="el"·href="a00005.html#a7260ea48236078622849dca9acecac25">prng.h</a></li> |
67 | <li>brahe_prng_real2() : <a·class="el"·href="a0000 | 67 | <li>brahe_prng_real2() : <a·class="el"·href="a00005.html#a2b13c79f6dfe01ac78793bc8af947935">prng.h</a></li> |
68 | <li>brahe_prng_real3() : <a·class="el"·href="a0000 | 68 | <li>brahe_prng_real3() : <a·class="el"·href="a00005.html#ad9875fe400e929989d0ca645fdb91366">prng.h</a></li> |
69 | <li>brahe_prng_real53() : <a·class="el"·href="a0000 | 69 | <li>brahe_prng_real53() : <a·class="el"·href="a00005.html#ad1b9854068434822d472bb7088d7795e">prng.h</a></li> |
70 | <li>brahe_prng_type_t : <a·class="el"·href="a0000 | 70 | <li>brahe_prng_type_t : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">prng.h</a></li> |
71 | <li>BRAHE_RAD_PER_DEG : <a·class="el"·href="a0000 | 71 | <li>BRAHE_RAD_PER_DEG : <a·class="el"·href="a00002.html#a81b271b7f56a5ddd3b9fe307778d0821">mathtools.h</a></li> |
72 | <li>brahe_round_nearest() : <a·class="el"·href="a0000 | 72 | <li>brahe_round_nearest() : <a·class="el"·href="a00002.html#a12a41b5db8722b0e2b834839d5ccdccb">mathtools.h</a></li> |
73 | <li>brahe_sigdig() : <a·class="el"·href="a0000 | 73 | <li>brahe_sigdig() : <a·class="el"·href="a00002.html#a717b79e8bf4bbd4048bf86996dd7cb85">mathtools.h</a></li> |
74 | <li>brahe_simple_fft() : <a·class="el"·href="a0000 | 74 | <li>brahe_simple_fft() : <a·class="el"·href="a00002.html#aac5cf568fd95e134ce83ac8a4b39e186">mathtools.h</a></li> |
75 | <li>brahe_simple_fft2() : <a·class="el"·href="a0000 | 75 | <li>brahe_simple_fft2() : <a·class="el"·href="a00002.html#a6ae096cc529c00d2bb05c0692956ca29">mathtools.h</a></li> |
76 | <li>brahe_sizepow2() : <a·class="el"·href="a0000 | 76 | <li>brahe_sizepow2() : <a·class="el"·href="a00002.html#a577f1d6fd8dbe5d38a240d0eb3e405f7">mathtools.h</a></li> |
77 | <li>BRAHE_SQRT_2 : <a·class="el"·href="a0000 | 77 | <li>BRAHE_SQRT_2 : <a·class="el"·href="a00002.html#a0f30c1a745dc06e0b8c3611c03b7d4e5">mathtools.h</a></li> |
78 | <li>BRAHE_SQRT_3 : <a·class="el"·href="a0000 | 78 | <li>BRAHE_SQRT_3 : <a·class="el"·href="a00002.html#ad4551041fd2bbaa15958e2c48507ef3e">mathtools.h</a></li> |
79 | <li>BRAHE_SQRT_HALF : <a·class="el"·href="a0000 | 79 | <li>BRAHE_SQRT_HALF : <a·class="el"·href="a00002.html#a0ab8e9aa2a0e7f80b40b8b6bd9b79659">mathtools.h</a></li> |
80 | <li>BRAHE_SQRT_PI : <a·class="el"·href="a0000 | 80 | <li>BRAHE_SQRT_PI : <a·class="el"·href="a00002.html#a83b4f9fccb40a1f78bb88aacc8e84cab">mathtools.h</a></li> |
81 | <li>brahe_statistics : <a·class="el"·href="a0000 | 81 | <li>brahe_statistics : <a·class="el"·href="a00002.html#a9093f7d9134e9185bbccb5c0cac7566e">mathtools.h</a></li> |
82 | <li>BRAHE_TAU : <a·class="el"·href="a0000 | 82 | <li>BRAHE_TAU : <a·class="el"·href="a00002.html#a4fff0d018f3605f8d29a817c49c98482">mathtools.h</a></li> |
83 | <li>BRAHE_TWO_DIV_PI : <a·class="el"·href="a0000 | 83 | <li>BRAHE_TWO_DIV_PI : <a·class="el"·href="a00002.html#ab6f9592c1e49a672372f56cdd1a617d5">mathtools.h</a></li> |
84 | <li>BRAHE_TWO_DIV_SQRT_PI : <a·class="el"·href="a0000 | 84 | <li>BRAHE_TWO_DIV_SQRT_PI : <a·class="el"·href="a00002.html#abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc">mathtools.h</a></li> |
85 | <li>BRAHE_UNKNOWN_SEED : <a·class="el"·href="a0000 | 85 | <li>BRAHE_UNKNOWN_SEED : <a·class="el"·href="a00005.html#a23e603aa011a19244ead42ab38dca8fd">prng.h</a></li> |
86 | </ul> | 86 | </ul> |
87 | </div><!--·contents·--> | 87 | </div><!--·contents·--> |
88 | <hr> | 88 | <hr> |
89 | <p·align="center"><small> | 89 | <p·align="center"><small> |
90 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 90 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
91 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 91 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
92 | </small> | 92 | </small> |
Offset 14, 41 lines modified | Offset 14, 41 lines modified | ||
14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> | 14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> |
15 | </p> | 15 | </p> |
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 |  <ul> | 20 |  <ul> |
21 | <li>BRAHE_DEG_PER_RAD : <a·class="el"·href="a0000 | 21 | <li>BRAHE_DEG_PER_RAD : <a·class="el"·href="a00002.html#aac172b8f64859f9bf54464a3a6bc3d7c">mathtools.h</a></li> |
22 | <li>BRAHE_E : <a·class="el"·href="a0000 | 22 | <li>BRAHE_E : <a·class="el"·href="a00002.html#a560947c90102e2d8c8bddfcdc8d9aebf">mathtools.h</a></li> |
23 | <li>BRAHE_EULER : <a·class="el"·href="a0000 | 23 | <li>BRAHE_EULER : <a·class="el"·href="a00002.html#a71b1569ecfc42e0895108e4f506813c4">mathtools.h</a></li> |
24 | <li>BRAHE_LN_10 : <a·class="el"·href="a0000 | 24 | <li>BRAHE_LN_10 : <a·class="el"·href="a00002.html#ab80971083813a13b7f886efb0016f27a">mathtools.h</a></li> |
25 | <li>BRAHE_LN_2 : <a·class="el"·href="a0000 | 25 | <li>BRAHE_LN_2 : <a·class="el"·href="a00002.html#a16ad8b699fa21a939786c8c512cff228">mathtools.h</a></li> |
26 | <li>BRAHE_LN_PI : <a·class="el"·href="a0000 | 26 | <li>BRAHE_LN_PI : <a·class="el"·href="a00002.html#ab9b68fff5200827cfc970b9e0f7c941a">mathtools.h</a></li> |
27 | <li>BRAHE_LOG10_E : <a·class="el"·href="a0000 | 27 | <li>BRAHE_LOG10_E : <a·class="el"·href="a00002.html#af8a4b9878f8d4190d85a47fed511d1ae">mathtools.h</a></li> |
28 | <li>BRAHE_LOG2_E : <a·class="el"·href="a0000 | 28 | <li>BRAHE_LOG2_E : <a·class="el"·href="a00002.html#a2acb48c25034f68df587e0f0aa629b8c">mathtools.h</a></li> |
29 | <li>BRAHE_LOG_2 : <a·class="el"·href="a0000 | 29 | <li>BRAHE_LOG_2 : <a·class="el"·href="a00002.html#a4a13004f988698d0e3edde4c35faa2ef">mathtools.h</a></li> |
30 | <li>BRAHE_ONE_DIV_PI : <a·class="el"·href="a0000 | 30 | <li>BRAHE_ONE_DIV_PI : <a·class="el"·href="a00002.html#abf7d7206f6f89332832ea82f3955e1c9">mathtools.h</a></li> |
31 | <li>BRAHE_PI : <a·class="el"·href="a0000 | 31 | <li>BRAHE_PI : <a·class="el"·href="a00002.html#a4e1fedcefdcf7671b203721214900b78">mathtools.h</a></li> |
32 | <li>BRAHE_PI_DIV_12 : <a·class="el"·href="a0000 | 32 | <li>BRAHE_PI_DIV_12 : <a·class="el"·href="a00002.html#a54177483776db52a388c3e652a8b5982">mathtools.h</a></li> |
33 | <li>BRAHE_PI_DIV_18 : <a·class="el"·href="a0000 | 33 | <li>BRAHE_PI_DIV_18 : <a·class="el"·href="a00002.html#a6bc29aa9fac151ab7971cd15a638b67f">mathtools.h</a></li> |
34 | <li>BRAHE_PI_DIV_2 : <a·class="el"·href="a0000 | 34 | <li>BRAHE_PI_DIV_2 : <a·class="el"·href="a00002.html#ae07b001cefb9e3a6cf8bf371c56119c4">mathtools.h</a></li> |
35 | <li>BRAHE_PI_DIV_3 : <a·class="el"·href="a0000 | 35 | <li>BRAHE_PI_DIV_3 : <a·class="el"·href="a00002.html#a8ad477fec1152a9e44d95dbae4c558cb">mathtools.h</a></li> |
36 | <li>BRAHE_PI_DIV_36 : <a·class="el"·href="a0000 | 36 | <li>BRAHE_PI_DIV_36 : <a·class="el"·href="a00002.html#a4535b7b7be92cbad9d6425693c11643e">mathtools.h</a></li> |
37 | <li>BRAHE_PI_DIV_4 : <a·class="el"·href="a0000 | 37 | <li>BRAHE_PI_DIV_4 : <a·class="el"·href="a00002.html#a4b1d771c20ae91ca703f563ff615d6d3">mathtools.h</a></li> |
38 | <li>BRAHE_PI_DIV_6 : <a·class="el"·href="a0000 | 38 | <li>BRAHE_PI_DIV_6 : <a·class="el"·href="a00002.html#a996f916dc16cf561c6f8a444829b8de4">mathtools.h</a></li> |
39 | <li>BRAHE_PI_DIV_9 : <a·class="el"·href="a0000 | 39 | <li>BRAHE_PI_DIV_9 : <a·class="el"·href="a00002.html#a1723fc41b28843e6d1aa15028c16a211">mathtools.h</a></li> |
40 | <li>BRAHE_RAD_PER_DEG : <a·class="el"·href="a0000 | 40 | <li>BRAHE_RAD_PER_DEG : <a·class="el"·href="a00002.html#a81b271b7f56a5ddd3b9fe307778d0821">mathtools.h</a></li> |
41 | <li>BRAHE_SQRT_2 : <a·class="el"·href="a0000 | 41 | <li>BRAHE_SQRT_2 : <a·class="el"·href="a00002.html#a0f30c1a745dc06e0b8c3611c03b7d4e5">mathtools.h</a></li> |
42 | <li>BRAHE_SQRT_3 : <a·class="el"·href="a0000 | 42 | <li>BRAHE_SQRT_3 : <a·class="el"·href="a00002.html#ad4551041fd2bbaa15958e2c48507ef3e">mathtools.h</a></li> |
43 | <li>BRAHE_SQRT_HALF : <a·class="el"·href="a0000 | 43 | <li>BRAHE_SQRT_HALF : <a·class="el"·href="a00002.html#a0ab8e9aa2a0e7f80b40b8b6bd9b79659">mathtools.h</a></li> |
44 | <li>BRAHE_SQRT_PI : <a·class="el"·href="a0000 | 44 | <li>BRAHE_SQRT_PI : <a·class="el"·href="a00002.html#a83b4f9fccb40a1f78bb88aacc8e84cab">mathtools.h</a></li> |
45 | <li>BRAHE_TAU : <a·class="el"·href="a0000 | 45 | <li>BRAHE_TAU : <a·class="el"·href="a00002.html#a4fff0d018f3605f8d29a817c49c98482">mathtools.h</a></li> |
46 | <li>BRAHE_TWO_DIV_PI : <a·class="el"·href="a0000 | 46 | <li>BRAHE_TWO_DIV_PI : <a·class="el"·href="a00002.html#ab6f9592c1e49a672372f56cdd1a617d5">mathtools.h</a></li> |
47 | <li>BRAHE_TWO_DIV_SQRT_PI : <a·class="el"·href="a0000 | 47 | <li>BRAHE_TWO_DIV_SQRT_PI : <a·class="el"·href="a00002.html#abed5bd6cb3ba2a4b0f1e99ebd7ea2fcc">mathtools.h</a></li> |
48 | </ul> | 48 | </ul> |
49 | </div><!--·contents·--> | 49 | </div><!--·contents·--> |
50 | <hr> | 50 | <hr> |
51 | <p·align="center"><small> | 51 | <p·align="center"><small> |
52 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 52 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
53 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 53 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
54 | </small> | 54 | </small> |
Offset 14, 16 lines modified | Offset 14, 16 lines modified | ||
14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> | 14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> |
15 | </p> | 15 | </p> |
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 |  <ul> | 20 |  <ul> |
21 | <li>brahe_pretty_format_t : <a·class="el"·href="a0000 | 21 | <li>brahe_pretty_format_t : <a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32">mathtools.h</a></li> |
22 | <li>brahe_prng_type_t : <a·class="el"·href="a0000 | 22 | <li>brahe_prng_type_t : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720e">prng.h</a></li> |
23 | </ul> | 23 | </ul> |
24 | </div><!--·contents·--> | 24 | </div><!--·contents·--> |
25 | <hr> | 25 | <hr> |
26 | <p·align="center"><small> | 26 | <p·align="center"><small> |
27 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 27 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
28 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 28 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
29 | </small> | 29 | </small> |
Offset 14, 21 lines modified | Offset 14, 21 lines modified | ||
14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> | 14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> |
15 | </p> | 15 | </p> |
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 |  <ul> | 20 |  <ul> |
21 | <li>BRAHE_PRETTY_COMMA : <a·class="el"·href="a0000 | 21 | <li>BRAHE_PRETTY_COMMA : <a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a0a91a8358d264801da6b2fbc3b923a9b">mathtools.h</a></li> |
22 | <li>BRAHE_PRETTY_TEXT : <a·class="el"·href="a0000 | 22 | <li>BRAHE_PRETTY_TEXT : <a·class="el"·href="a00002.html#a27c66fb5daf87a5e45d8e80c15683e32a7cf956fda0334adb6a2cab5867471131">mathtools.h</a></li> |
23 | <li>BRAHE_PRNG_CMWC4096 : <a·class="el"·href="a0000 | 23 | <li>BRAHE_PRNG_CMWC4096 : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eaf55681bb0cfb8407c77edf2ec6b0a9aa">prng.h</a></li> |
24 | <li>BRAHE_PRNG_ISAAC : <a·class="el"·href="a0000 | 24 | <li>BRAHE_PRNG_ISAAC : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720ea359f2920c704eef068c741e35819a3c2">prng.h</a></li> |
25 | <li>BRAHE_PRNG_KISS : <a·class="el"·href="a0000 | 25 | <li>BRAHE_PRNG_KISS : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eafcc7277e0bbac3b961935b09cbad59cc">prng.h</a></li> |
26 | <li>BRAHE_PRNG_MARSENNE_TWISTER : <a·class="el"·href="a0000 | 26 | <li>BRAHE_PRNG_MARSENNE_TWISTER : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacbbe4b8e3a60f457f9339986ec220449">prng.h</a></li> |
27 | <li>BRAHE_PRNG_MWC1038 : <a·class="el"·href="a0000 | 27 | <li>BRAHE_PRNG_MWC1038 : <a·class="el"·href="a00005.html#ab4582ba9e011d83ad4a1e89253ca720eacf1801e2b0961c33846a2c60ac4664a8">prng.h</a></li> |
28 | </ul> | 28 | </ul> |
29 | </div><!--·contents·--> | 29 | </div><!--·contents·--> |
30 | <hr> | 30 | <hr> |
31 | <p·align="center"><small> | 31 | <p·align="center"><small> |
32 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 32 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
33 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 33 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
34 | </small> | 34 | </small> |
Offset 14, 39 lines modified | Offset 14, 39 lines modified | ||
14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> | 14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> |
15 | </p> | 15 | </p> |
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 |  <ul> | 20 |  <ul> |
21 | <li>brahe_acosh() : <a·class="el"·href="a0000 | 21 | <li>brahe_acosh() : <a·class="el"·href="a00002.html#a7e2135361eaa2292a33f9757caf2cb3c">mathtools.h</a></li> |
22 | <li>brahe_add_noise() : <a·class="el"·href="a0000 | 22 | <li>brahe_add_noise() : <a·class="el"·href="a00002.html#adf8459d717c455033024242bda7e2af1">mathtools.h</a></li> |
23 | <li>brahe_asinh() : <a·class="el"·href="a0000 | 23 | <li>brahe_asinh() : <a·class="el"·href="a00002.html#a7756d25dc923d606c9d8df710e1b82d8">mathtools.h</a></li> |
24 | <li>brahe_atanh() : <a·class="el"·href="a0000 | 24 | <li>brahe_atanh() : <a·class="el"·href="a00002.html#a922abe5c1585c4ddefc8052058e87621">mathtools.h</a></li> |
25 | <li>brahe_gcf() : <a·class="el"·href="a0000 | 25 | <li>brahe_gcf() : <a·class="el"·href="a00002.html#add171e9317dd7e7f44d16d864f0c457c">mathtools.h</a></li> |
26 | <li>brahe_get_statistics() : <a·class="el"·href="a0000 | 26 | <li>brahe_get_statistics() : <a·class="el"·href="a00002.html#ab437fe8f26af4492c284b429d367463f">mathtools.h</a></li> |
27 | <li>brahe_lcm() : <a·class="el"·href="a0000 | 27 | <li>brahe_lcm() : <a·class="el"·href="a00002.html#a683332a0c88ab75687f8c335d15fd08c">mathtools.h</a></li> |
28 | <li>brahe_log2base() : <a·class="el"·href="a0000 | 28 | <li>brahe_log2base() : <a·class="el"·href="a00002.html#a0dcca39378c18fd880f2a4a1c6498b7e">mathtools.h</a></li> |
29 | <li>brahe_make_sinusoid() : <a·class="el"·href="a0000 | 29 | <li>brahe_make_sinusoid() : <a·class="el"·href="a00002.html#abfccc24bd4cce082f9dc32ce988e69c0">mathtools.h</a></li> |
30 | <li>brahe_moving_average() : <a·class="el"·href="a0000 | 30 | <li>brahe_moving_average() : <a·class="el"·href="a00002.html#a4dade377910723e48871cb5f9c0b7137">mathtools.h</a></li> |
31 | <li>brahe_pretty_int() : <a·class="el"·href="a0000 | 31 | <li>brahe_pretty_int() : <a·class="el"·href="a00002.html#a3b809b316785a9a0a2c3d58630cf9a64">mathtools.h</a></li> |
32 | <li>brahe_prng_free() : <a·class="el"·href="a0000 | 32 | <li>brahe_prng_free() : <a·class="el"·href="a00005.html#a446dd0183094e83631777c2ea89855b3">prng.h</a></li> |
33 | <li>brahe_prng_index() : <a·class="el"·href="a0000 | 33 | <li>brahe_prng_index() : <a·class="el"·href="a00005.html#a026536c634b622ba52342c94634e6f5b">prng.h</a></li> |
34 | <li>brahe_prng_init() : <a·class="el"·href="a0000 | 34 | <li>brahe_prng_init() : <a·class="el"·href="a00005.html#a38e903833e609b58084492cb9fd9aca7">prng.h</a></li> |
35 | <li>brahe_prng_next() : <a·class="el"·href="a0000 | 35 | <li>brahe_prng_next() : <a·class="el"·href="a00005.html#ac593be050799621ea1c90efa6ddfe11a">prng.h</a></li> |
36 | <li>brahe_prng_range() : <a·class="el"·href="a0000 | 36 | <li>brahe_prng_range() : <a·class="el"·href="a00005.html#a2f2e385d51ac163baeee5bd1f72062c5">prng.h</a></li> |
37 | <li>brahe_prng_real1() : <a·class="el"·href="a0000 | 37 | <li>brahe_prng_real1() : <a·class="el"·href="a00005.html#a7260ea48236078622849dca9acecac25">prng.h</a></li> |
38 | <li>brahe_prng_real2() : <a·class="el"·href="a0000 | 38 | <li>brahe_prng_real2() : <a·class="el"·href="a00005.html#a2b13c79f6dfe01ac78793bc8af947935">prng.h</a></li> |
39 | <li>brahe_prng_real3() : <a·class="el"·href="a0000 | 39 | <li>brahe_prng_real3() : <a·class="el"·href="a00005.html#ad9875fe400e929989d0ca645fdb91366">prng.h</a></li> |
40 | <li>brahe_prng_real53() : <a·class="el"·href="a0000 | 40 | <li>brahe_prng_real53() : <a·class="el"·href="a00005.html#ad1b9854068434822d472bb7088d7795e">prng.h</a></li> |
41 | <li>brahe_round_nearest() : <a·class="el"·href="a0000 | 41 | <li>brahe_round_nearest() : <a·class="el"·href="a00002.html#a12a41b5db8722b0e2b834839d5ccdccb">mathtools.h</a></li> |
42 | <li>brahe_sigdig() : <a·class="el"·href="a0000 | 42 | <li>brahe_sigdig() : <a·class="el"·href="a00002.html#a717b79e8bf4bbd4048bf86996dd7cb85">mathtools.h</a></li> |
43 | <li>brahe_simple_fft() : <a·class="el"·href="a0000 | 43 | <li>brahe_simple_fft() : <a·class="el"·href="a00002.html#aac5cf568fd95e134ce83ac8a4b39e186">mathtools.h</a></li> |
44 | <li>brahe_simple_fft2() : <a·class="el"·href="a0000 | 44 | <li>brahe_simple_fft2() : <a·class="el"·href="a00002.html#a6ae096cc529c00d2bb05c0692956ca29">mathtools.h</a></li> |
45 | <li>brahe_sizepow2() : <a·class="el"·href="a0000 | 45 | <li>brahe_sizepow2() : <a·class="el"·href="a00002.html#a577f1d6fd8dbe5d38a240d0eb3e405f7">mathtools.h</a></li> |
46 | </ul> | 46 | </ul> |
47 | </div><!--·contents·--> | 47 | </div><!--·contents·--> |
48 | <hr> | 48 | <hr> |
49 | <p·align="center"><small> | 49 | <p·align="center"><small> |
50 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 50 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
51 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 51 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
52 | </small> | 52 | </small> |
Offset 14, 16 lines modified | Offset 14, 16 lines modified | ||
14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> | 14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> |
15 | </p> | 15 | </p> |
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 |  <ul> | 20 |  <ul> |
21 | <li>brahe_pretty_format : <a·class="el"·href="a0000 | 21 | <li>brahe_pretty_format : <a·class="el"·href="a00002.html#abf46a4ae1f8b36a45d7a874268b7002c">mathtools.h</a></li> |
22 | <li>brahe_statistics : <a·class="el"·href="a0000 | 22 | <li>brahe_statistics : <a·class="el"·href="a00002.html#a9093f7d9134e9185bbccb5c0cac7566e">mathtools.h</a></li> |
23 | </ul> | 23 | </ul> |
24 | </div><!--·contents·--> | 24 | </div><!--·contents·--> |
25 | <hr> | 25 | <hr> |
26 | <p·align="center"><small> | 26 | <p·align="center"><small> |
27 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 27 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
28 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 28 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
29 | </small> | 29 | </small> |
Offset 14, 15 lines modified | Offset 14, 15 lines modified | ||
14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> | 14 | Created·by·<a·href="mailto:scott.ladd@@coyotegulch.com">Scott·Robert·Ladd</a><br> |
15 | </p> | 15 | </p> |
16 | <hr> | 16 | <hr> |
17 | <!--·Generated·by·Doxygen·1.9.4·--> | 17 | <!--·Generated·by·Doxygen·1.9.4·--> |
18 | </div><!--·top·--> | 18 | </div><!--·top·--> |
19 | <div·class="contents"> | 19 | <div·class="contents"> |
20 |  <ul> | 20 |  <ul> |
21 | <li>BRAHE_UNKNOWN_SEED : <a·class="el"·href="a0000 | 21 | <li>BRAHE_UNKNOWN_SEED : <a·class="el"·href="a00005.html#a23e603aa011a19244ead42ab38dca8fd">prng.h</a></li> |
22 | </ul> | 22 | </ul> |
23 | </div><!--·contents·--> | 23 | </div><!--·contents·--> |
24 | <hr> | 24 | <hr> |
25 | <p·align="center"><small> | 25 | <p·align="center"><small> |
26 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> | 26 | ©·2011·Scott·Robert·Ladd.·All·rights·reserved.<br> |
27 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. | 27 | HTML·documentation·generated·by·Dimitri·van·Heesch's·excellent·<a·href="http://www.doxygen.org">Doxygen</a>·tool. |
28 | </small> | 28 | </small> |