silicium 0.0.2 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -3
  3. data/.travis.yml +14 -25
  4. data/Gemfile +0 -4
  5. data/README.md +0 -2
  6. data/Rakefile +0 -7
  7. data/lib/silicium/version.rb +1 -1
  8. data/lib/silicium.rb +1 -0
  9. data/silicium.gemspec +37 -39
  10. metadata +4 -92
  11. data/.codeclimate.yml +0 -4
  12. data/Makefile +0 -269
  13. data/docs/Object.html +0 -117
  14. data/docs/README_md.html +0 -142
  15. data/docs/Silicium/Combinatorics.html +0 -270
  16. data/docs/Silicium/Dice/Polyhedron.html +0 -315
  17. data/docs/Silicium/Dice/PolyhedronSet.html +0 -321
  18. data/docs/Silicium/Dice.html +0 -99
  19. data/docs/Silicium/Error.html +0 -106
  20. data/docs/Silicium/Geometry/Line2dCanon.html +0 -243
  21. data/docs/Silicium/Geometry/VariablesOrderException.html +0 -106
  22. data/docs/Silicium/Geometry.html +0 -940
  23. data/docs/Silicium/Graphs/GraphError.html +0 -106
  24. data/docs/Silicium/Graphs/OrientedGraph.html +0 -775
  25. data/docs/Silicium/Graphs/UnorientedGraph.html +0 -284
  26. data/docs/Silicium/Graphs.html +0 -164
  27. data/docs/Silicium/IntegralDoesntExistError.html +0 -106
  28. data/docs/Silicium/NumericalIntegration.html +0 -521
  29. data/docs/Silicium/Optimization.html +0 -639
  30. data/docs/Silicium/Plotter/Image.html +0 -297
  31. data/docs/Silicium/Plotter.html +0 -186
  32. data/docs/Silicium.html +0 -101
  33. data/docs/created.rid +0 -9
  34. data/docs/css/fonts.css +0 -167
  35. data/docs/css/rdoc.css +0 -619
  36. data/docs/fonts/Lato-Light.ttf +0 -0
  37. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  38. data/docs/fonts/Lato-Regular.ttf +0 -0
  39. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  40. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  41. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  42. data/docs/images/add.png +0 -0
  43. data/docs/images/arrow_up.png +0 -0
  44. data/docs/images/brick.png +0 -0
  45. data/docs/images/brick_link.png +0 -0
  46. data/docs/images/bug.png +0 -0
  47. data/docs/images/bullet_black.png +0 -0
  48. data/docs/images/bullet_toggle_minus.png +0 -0
  49. data/docs/images/bullet_toggle_plus.png +0 -0
  50. data/docs/images/date.png +0 -0
  51. data/docs/images/delete.png +0 -0
  52. data/docs/images/find.png +0 -0
  53. data/docs/images/loadingAnimation.gif +0 -0
  54. data/docs/images/macFFBgHack.png +0 -0
  55. data/docs/images/package.png +0 -0
  56. data/docs/images/page_green.png +0 -0
  57. data/docs/images/page_white_text.png +0 -0
  58. data/docs/images/page_white_width.png +0 -0
  59. data/docs/images/plugin.png +0 -0
  60. data/docs/images/ruby.png +0 -0
  61. data/docs/images/tag_blue.png +0 -0
  62. data/docs/images/tag_green.png +0 -0
  63. data/docs/images/transparent.png +0 -0
  64. data/docs/images/wrench.png +0 -0
  65. data/docs/images/wrench_orange.png +0 -0
  66. data/docs/images/zoom.png +0 -0
  67. data/docs/index.html +0 -132
  68. data/docs/js/darkfish.js +0 -84
  69. data/docs/js/navigation.js +0 -105
  70. data/docs/js/navigation.js.gz +0 -0
  71. data/docs/js/search.js +0 -110
  72. data/docs/js/search_index.js +0 -1
  73. data/docs/js/search_index.js.gz +0 -0
  74. data/docs/js/searcher.js +0 -229
  75. data/docs/js/searcher.js.gz +0 -0
  76. data/docs/table_of_contents.html +0 -608
  77. data/lib/geometry.rb +0 -236
  78. data/lib/graph.rb +0 -164
  79. data/lib/numerical_integration.rb +0 -147
  80. data/lib/optimization.rb +0 -144
  81. data/lib/plotter.rb +0 -96
  82. data/lib/theory_of_probability.rb +0 -227
@@ -1,284 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class Silicium::Graphs::UnorientedGraph - RDoc Documentation</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../../";
11
- var index_rel_prefix = "../../";
12
- </script>
13
-
14
- <script src="../../js/navigation.js" defer></script>
15
- <script src="../../js/search.js" defer></script>
16
- <script src="../../js/search_index.js" defer></script>
17
- <script src="../../js/searcher.js" defer></script>
18
- <script src="../../js/darkfish.js" defer></script>
19
-
20
- <link href="../../css/fonts.css" rel="stylesheet">
21
- <link href="../../css/rdoc.css" rel="stylesheet">
22
-
23
-
24
-
25
-
26
- <body id="top" role="document" class="class">
27
- <nav role="navigation">
28
- <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
- <h2>
31
- <a href="../../index.html" rel="home">Home</a>
32
- </h2>
33
-
34
- <div id="table-of-contents-navigation">
35
- <a href="../../table_of_contents.html#pages">Pages</a>
36
- <a href="../../table_of_contents.html#classes">Classes</a>
37
- <a href="../../table_of_contents.html#methods">Methods</a>
38
- </div>
39
- </div>
40
-
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
43
- <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
48
- </div>
49
-
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
53
- </form>
54
- </div>
55
-
56
- </div>
57
-
58
-
59
-
60
- <div id="class-metadata">
61
-
62
- <div id="parent-class-section" class="nav-section">
63
- <h3>Parent</h3>
64
-
65
-
66
- <p class="link"><a href="OrientedGraph.html">Silicium::Graphs::OrientedGraph</a>
67
-
68
- </div>
69
-
70
-
71
-
72
- <!-- Method Quickref -->
73
- <div id="method-list-section" class="nav-section">
74
- <h3>Methods</h3>
75
-
76
- <ul class="link-list" role="directory">
77
-
78
- <li class="calls-super" ><a href="#method-i-add_edge-21">#add_edge!</a>
79
-
80
- <li class="calls-super" ><a href="#method-i-delete_edge-21">#delete_edge!</a>
81
-
82
- <li ><a href="#method-i-edge_number">#edge_number</a>
83
-
84
- <li class="calls-super" ><a href="#method-i-label_edge-21">#label_edge!</a>
85
-
86
- </ul>
87
- </div>
88
-
89
- </div>
90
- </nav>
91
-
92
- <main role="main" aria-labelledby="class-Silicium::Graphs::UnorientedGraph">
93
- <h1 id="class-Silicium::Graphs::UnorientedGraph" class="class">
94
- class Silicium::Graphs::UnorientedGraph
95
- </h1>
96
-
97
- <section class="description">
98
-
99
- </section>
100
-
101
-
102
- <section id="5Buntitled-5D" class="documentation-section">
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
113
- <header>
114
- <h3>Public Instance Methods</h3>
115
- </header>
116
-
117
-
118
- <div id="method-i-add_edge-21" class="method-detail ">
119
-
120
- <div class="method-heading">
121
- <span class="method-name">add_edge!</span><span
122
- class="method-args">(from, to)</span>
123
-
124
- <span class="method-click-advice">click to toggle source</span>
125
-
126
- </div>
127
-
128
-
129
- <div class="method-description">
130
-
131
-
132
-
133
-
134
- <div class="method-calls-super">
135
- Calls superclass method
136
- <a href="OrientedGraph.html#method-i-add_edge-21"><code>Silicium::Graphs::OrientedGraph#add_edge!</code></a>
137
- </div>
138
-
139
-
140
-
141
- <div class="method-source-code" id="add_edge-21-source">
142
- <pre><span class="ruby-comment"># File lib/graph.rb, line 135</span>
143
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_edge!</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
144
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
145
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span>)
146
- <span class="ruby-keyword">end</span></pre>
147
- </div>
148
-
149
- </div>
150
-
151
-
152
-
153
-
154
- </div>
155
-
156
-
157
- <div id="method-i-delete_edge-21" class="method-detail ">
158
-
159
- <div class="method-heading">
160
- <span class="method-name">delete_edge!</span><span
161
- class="method-args">(from, to)</span>
162
-
163
- <span class="method-click-advice">click to toggle source</span>
164
-
165
- </div>
166
-
167
-
168
- <div class="method-description">
169
-
170
-
171
-
172
-
173
- <div class="method-calls-super">
174
- Calls superclass method
175
- <a href="OrientedGraph.html#method-i-delete_edge-21"><code>Silicium::Graphs::OrientedGraph#delete_edge!</code></a>
176
- </div>
177
-
178
-
179
-
180
- <div class="method-source-code" id="delete_edge-21-source">
181
- <pre><span class="ruby-comment"># File lib/graph.rb, line 145</span>
182
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_edge!</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
183
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>)
184
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span>)
185
- <span class="ruby-keyword">end</span></pre>
186
- </div>
187
-
188
- </div>
189
-
190
-
191
-
192
-
193
- </div>
194
-
195
-
196
- <div id="method-i-edge_number" class="method-detail ">
197
-
198
- <div class="method-heading">
199
- <span class="method-name">edge_number</span><span
200
- class="method-args">()</span>
201
-
202
- <span class="method-click-advice">click to toggle source</span>
203
-
204
- </div>
205
-
206
-
207
- <div class="method-description">
208
-
209
-
210
-
211
-
212
-
213
-
214
- <div class="method-source-code" id="edge_number-source">
215
- <pre><span class="ruby-comment"># File lib/graph.rb, line 150</span>
216
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">edge_number</span>
217
- <span class="ruby-identifier">res</span> = <span class="ruby-value">0</span>
218
- <span class="ruby-ivar">@vertices</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">from</span>, <span class="ruby-identifier">tos</span><span class="ruby-operator">|</span>
219
- <span class="ruby-identifier">tos</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">to</span><span class="ruby-operator">|</span> <span class="ruby-identifier">res</span> <span class="ruby-operator">+=</span> (<span class="ruby-identifier">to</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">from</span> <span class="ruby-operator">?</span> <span class="ruby-value">2</span> <span class="ruby-operator">:</span> <span class="ruby-value">1</span>)}
220
- <span class="ruby-keyword">end</span>
221
- <span class="ruby-identifier">res</span> <span class="ruby-operator">/</span> <span class="ruby-value">2</span>
222
- <span class="ruby-keyword">end</span></pre>
223
- </div>
224
-
225
- </div>
226
-
227
-
228
-
229
-
230
- </div>
231
-
232
-
233
- <div id="method-i-label_edge-21" class="method-detail ">
234
-
235
- <div class="method-heading">
236
- <span class="method-name">label_edge!</span><span
237
- class="method-args">(from, to, label)</span>
238
-
239
- <span class="method-click-advice">click to toggle source</span>
240
-
241
- </div>
242
-
243
-
244
- <div class="method-description">
245
-
246
-
247
-
248
-
249
- <div class="method-calls-super">
250
- Calls superclass method
251
- <a href="OrientedGraph.html#method-i-label_edge-21"><code>Silicium::Graphs::OrientedGraph#label_edge!</code></a>
252
- </div>
253
-
254
-
255
-
256
- <div class="method-source-code" id="label_edge-21-source">
257
- <pre><span class="ruby-comment"># File lib/graph.rb, line 140</span>
258
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">label_edge!</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>, <span class="ruby-identifier">label</span>)
259
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>, <span class="ruby-identifier">label</span>)
260
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">to</span>, <span class="ruby-identifier">from</span>, <span class="ruby-identifier">label</span>)
261
- <span class="ruby-keyword">end</span></pre>
262
- </div>
263
-
264
- </div>
265
-
266
-
267
-
268
-
269
- </div>
270
-
271
-
272
- </section>
273
-
274
- </section>
275
-
276
- </main>
277
-
278
-
279
- <footer id="validator-badges" role="contentinfo">
280
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
281
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
282
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
283
- </footer>
284
-
@@ -1,164 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>module Silicium::Graphs - RDoc Documentation</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../";
11
- var index_rel_prefix = "../";
12
- </script>
13
-
14
- <script src="../js/navigation.js" defer></script>
15
- <script src="../js/search.js" defer></script>
16
- <script src="../js/search_index.js" defer></script>
17
- <script src="../js/searcher.js" defer></script>
18
- <script src="../js/darkfish.js" defer></script>
19
-
20
- <link href="../css/fonts.css" rel="stylesheet">
21
- <link href="../css/rdoc.css" rel="stylesheet">
22
-
23
-
24
-
25
-
26
- <body id="top" role="document" class="module">
27
- <nav role="navigation">
28
- <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
- <h2>
31
- <a href="../index.html" rel="home">Home</a>
32
- </h2>
33
-
34
- <div id="table-of-contents-navigation">
35
- <a href="../table_of_contents.html#pages">Pages</a>
36
- <a href="../table_of_contents.html#classes">Classes</a>
37
- <a href="../table_of_contents.html#methods">Methods</a>
38
- </div>
39
- </div>
40
-
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
43
- <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
48
- </div>
49
-
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
53
- </form>
54
- </div>
55
-
56
- </div>
57
-
58
-
59
-
60
- <div id="class-metadata">
61
-
62
-
63
-
64
-
65
- <!-- Method Quickref -->
66
- <div id="method-list-section" class="nav-section">
67
- <h3>Methods</h3>
68
-
69
- <ul class="link-list" role="directory">
70
-
71
- <li ><a href="#method-i-dijkstra_algorythm">#dijkstra_algorythm</a>
72
-
73
- </ul>
74
- </div>
75
-
76
- </div>
77
- </nav>
78
-
79
- <main role="main" aria-labelledby="module-Silicium::Graphs">
80
- <h1 id="module-Silicium::Graphs" class="module">
81
- module Silicium::Graphs
82
- </h1>
83
-
84
- <section class="description">
85
-
86
- </section>
87
-
88
-
89
- <section id="5Buntitled-5D" class="documentation-section">
90
-
91
-
92
-
93
-
94
-
95
- <section class="constants-list">
96
- <header>
97
- <h3>Constants</h3>
98
- </header>
99
- <dl>
100
-
101
- <dt id="Pair">Pair
102
-
103
- <dd>
104
-
105
-
106
- </dl>
107
- </section>
108
-
109
-
110
-
111
-
112
-
113
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
114
- <header>
115
- <h3>Public Instance Methods</h3>
116
- </header>
117
-
118
-
119
- <div id="method-i-dijkstra_algorythm" class="method-detail ">
120
-
121
- <div class="method-heading">
122
- <span class="method-name">dijkstra_algorythm</span><span
123
- class="method-args">(graph, starting_vertex)</span>
124
-
125
- <span class="method-click-advice">click to toggle source</span>
126
-
127
- </div>
128
-
129
-
130
- <div class="method-description">
131
-
132
-
133
-
134
-
135
-
136
-
137
- <div class="method-source-code" id="dijkstra_algorythm-source">
138
- <pre><span class="ruby-comment"># File lib/graph.rb, line 159</span>
139
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">dijkstra_algorythm</span>(<span class="ruby-identifier">graph</span>, <span class="ruby-identifier">starting_vertex</span>)
140
- <span class="ruby-comment">#</span>
141
- <span class="ruby-keyword">end</span></pre>
142
- </div>
143
-
144
- </div>
145
-
146
-
147
-
148
-
149
- </div>
150
-
151
-
152
- </section>
153
-
154
- </section>
155
-
156
- </main>
157
-
158
-
159
- <footer id="validator-badges" role="contentinfo">
160
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
161
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
162
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
163
- </footer>
164
-
@@ -1,106 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class Silicium::IntegralDoesntExistError - RDoc Documentation</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../";
11
- var index_rel_prefix = "../";
12
- </script>
13
-
14
- <script src="../js/navigation.js" defer></script>
15
- <script src="../js/search.js" defer></script>
16
- <script src="../js/search_index.js" defer></script>
17
- <script src="../js/searcher.js" defer></script>
18
- <script src="../js/darkfish.js" defer></script>
19
-
20
- <link href="../css/fonts.css" rel="stylesheet">
21
- <link href="../css/rdoc.css" rel="stylesheet">
22
-
23
-
24
-
25
-
26
- <body id="top" role="document" class="class">
27
- <nav role="navigation">
28
- <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
- <h2>
31
- <a href="../index.html" rel="home">Home</a>
32
- </h2>
33
-
34
- <div id="table-of-contents-navigation">
35
- <a href="../table_of_contents.html#pages">Pages</a>
36
- <a href="../table_of_contents.html#classes">Classes</a>
37
- <a href="../table_of_contents.html#methods">Methods</a>
38
- </div>
39
- </div>
40
-
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
43
- <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
48
- </div>
49
-
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
53
- </form>
54
- </div>
55
-
56
- </div>
57
-
58
-
59
-
60
- <div id="class-metadata">
61
-
62
- <div id="parent-class-section" class="nav-section">
63
- <h3>Parent</h3>
64
-
65
-
66
- <p class="link">RuntimeError
67
-
68
- </div>
69
-
70
-
71
-
72
-
73
- </div>
74
- </nav>
75
-
76
- <main role="main" aria-labelledby="class-Silicium::IntegralDoesntExistError">
77
- <h1 id="class-Silicium::IntegralDoesntExistError" class="class">
78
- class Silicium::IntegralDoesntExistError
79
- </h1>
80
-
81
- <section class="description">
82
-
83
- </section>
84
-
85
-
86
- <section id="5Buntitled-5D" class="documentation-section">
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- </section>
97
-
98
- </main>
99
-
100
-
101
- <footer id="validator-badges" role="contentinfo">
102
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
103
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
104
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
105
- </footer>
106
-