silicium 0.0.14 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +4 -0
  3. data/.gitignore +13 -11
  4. data/.rakeTasks +8 -0
  5. data/.travis.yml +17 -3
  6. data/CODE_OF_CONDUCT.md +74 -74
  7. data/Gemfile +8 -4
  8. data/LICENSE.txt +21 -21
  9. data/Makefile +269 -0
  10. data/README.md +588 -44
  11. data/Rakefile +17 -10
  12. data/bin/console +14 -14
  13. data/bin/setup +8 -8
  14. data/docs/Object.html +117 -0
  15. data/docs/README_md.html +142 -0
  16. data/docs/Silicium/Combinatorics.html +270 -0
  17. data/docs/Silicium/Dice/Polyhedron.html +315 -0
  18. data/docs/Silicium/Dice/PolyhedronSet.html +321 -0
  19. data/docs/Silicium/Dice.html +99 -0
  20. data/docs/Silicium/Error.html +106 -0
  21. data/docs/Silicium/Geometry/Line2dCanon.html +243 -0
  22. data/docs/Silicium/Geometry/VariablesOrderException.html +106 -0
  23. data/docs/Silicium/Geometry.html +940 -0
  24. data/docs/Silicium/GraphVisualizer.html +226 -0
  25. data/docs/Silicium/Graphs/GraphError.html +106 -0
  26. data/docs/Silicium/Graphs/OrientedGraph.html +901 -0
  27. data/docs/Silicium/Graphs/UnorientedGraph.html +237 -0
  28. data/docs/Silicium/Graphs.html +374 -0
  29. data/docs/Silicium/IntegralDoesntExistError.html +106 -0
  30. data/docs/Silicium/NumericalIntegration.html +521 -0
  31. data/docs/Silicium/Optimization.html +629 -0
  32. data/docs/Silicium/Plotter/Image.html +297 -0
  33. data/docs/Silicium/Plotter.html +186 -0
  34. data/docs/Silicium.html +101 -0
  35. data/docs/created.rid +9 -0
  36. data/docs/css/fonts.css +167 -0
  37. data/docs/css/rdoc.css +619 -0
  38. data/docs/fonts/Lato-Light.ttf +0 -0
  39. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  40. data/docs/fonts/Lato-Regular.ttf +0 -0
  41. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  42. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  43. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  44. data/docs/images/add.png +0 -0
  45. data/docs/images/arrow_up.png +0 -0
  46. data/docs/images/brick.png +0 -0
  47. data/docs/images/brick_link.png +0 -0
  48. data/docs/images/bug.png +0 -0
  49. data/docs/images/bullet_black.png +0 -0
  50. data/docs/images/bullet_toggle_minus.png +0 -0
  51. data/docs/images/bullet_toggle_plus.png +0 -0
  52. data/docs/images/date.png +0 -0
  53. data/docs/images/delete.png +0 -0
  54. data/docs/images/find.png +0 -0
  55. data/docs/images/loadingAnimation.gif +0 -0
  56. data/docs/images/macFFBgHack.png +0 -0
  57. data/docs/images/package.png +0 -0
  58. data/docs/images/page_green.png +0 -0
  59. data/docs/images/page_white_text.png +0 -0
  60. data/docs/images/page_white_width.png +0 -0
  61. data/docs/images/plugin.png +0 -0
  62. data/docs/images/ruby.png +0 -0
  63. data/docs/images/tag_blue.png +0 -0
  64. data/docs/images/tag_green.png +0 -0
  65. data/docs/images/transparent.png +0 -0
  66. data/docs/images/wrench.png +0 -0
  67. data/docs/images/wrench_orange.png +0 -0
  68. data/docs/images/zoom.png +0 -0
  69. data/docs/index.html +134 -0
  70. data/docs/js/darkfish.js +84 -0
  71. data/docs/js/navigation.js +105 -0
  72. data/docs/js/navigation.js.gz +0 -0
  73. data/docs/js/search.js +110 -0
  74. data/docs/js/search_index.js +1 -0
  75. data/docs/js/search_index.js.gz +0 -0
  76. data/docs/js/searcher.js +229 -0
  77. data/docs/js/searcher.js.gz +0 -0
  78. data/docs/table_of_contents.html +697 -0
  79. data/lib/algebra.rb +452 -0
  80. data/lib/algebra_diff.rb +258 -0
  81. data/lib/geometry/figure.rb +62 -0
  82. data/lib/geometry.rb +290 -0
  83. data/lib/geometry3d.rb +270 -0
  84. data/lib/graph/dfs.rb +41 -0
  85. data/lib/graph/kruskal.rb +36 -0
  86. data/lib/graph/scc.rb +97 -0
  87. data/lib/graph.rb +350 -0
  88. data/lib/graph_visualizer.rb +286 -0
  89. data/lib/ml_algorithms.rb +181 -0
  90. data/lib/numerical_integration.rb +184 -0
  91. data/lib/optimization.rb +208 -0
  92. data/lib/plotter.rb +258 -0
  93. data/lib/polynomial_division.rb +132 -0
  94. data/lib/polynomial_interpolation.rb +94 -0
  95. data/lib/regression.rb +120 -0
  96. data/lib/silicium/adding.rb +37 -0
  97. data/lib/silicium/conversions.rb +23 -0
  98. data/lib/silicium/multi.rb +82 -0
  99. data/lib/silicium/sparse.rb +76 -0
  100. data/lib/silicium/sugar.rb +37 -0
  101. data/lib/silicium/trans.rb +26 -0
  102. data/lib/silicium/version.rb +3 -3
  103. data/lib/silicium.rb +29 -6
  104. data/lib/theory_of_probability.rb +240 -0
  105. data/lib/topological_sort.rb +50 -0
  106. data/oriented_graph.png +0 -0
  107. data/plot.png +0 -0
  108. data/silicium.gemspec +4 -3
  109. metadata +122 -12
Binary file
data/plot.png ADDED
Binary file
data/silicium.gemspec CHANGED
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
19
19
 
20
20
  spec.metadata["homepage_uri"] = spec.homepage
21
- spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
21
+
22
22
  spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
23
23
  =end
24
-
24
+ spec.metadata["source_code_uri"] = 'https://github.com/mmcs-ruby/silicium'
25
25
  # Specify which files should be added to the gem when it is released.
26
26
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
27
27
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.require_paths = ["lib"]
33
33
 
34
34
  spec.add_development_dependency "bundler", "~> 2.0"
35
- spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rake", ">= 12.3.3"
36
36
  spec.add_development_dependency "minitest", "~> 5.0"
37
+ spec.add_development_dependency 'simplecov', "0.17"
37
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silicium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmcs-ruby
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2021-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: '0.17'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: '0.17'
55
69
  description: Long list of applied functions
56
70
  email:
57
71
  - poganesyan@sfedu.ru
@@ -59,23 +73,119 @@ executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
76
+ - ".codeclimate.yml"
62
77
  - ".gitignore"
78
+ - ".rakeTasks"
63
79
  - ".travis.yml"
64
80
  - CODE_OF_CONDUCT.md
65
81
  - Gemfile
66
82
  - LICENSE.txt
83
+ - Makefile
67
84
  - README.md
68
85
  - Rakefile
69
86
  - bin/console
70
87
  - bin/setup
88
+ - docs/Object.html
89
+ - docs/README_md.html
90
+ - docs/Silicium.html
91
+ - docs/Silicium/Combinatorics.html
92
+ - docs/Silicium/Dice.html
93
+ - docs/Silicium/Dice/Polyhedron.html
94
+ - docs/Silicium/Dice/PolyhedronSet.html
95
+ - docs/Silicium/Error.html
96
+ - docs/Silicium/Geometry.html
97
+ - docs/Silicium/Geometry/Line2dCanon.html
98
+ - docs/Silicium/Geometry/VariablesOrderException.html
99
+ - docs/Silicium/GraphVisualizer.html
100
+ - docs/Silicium/Graphs.html
101
+ - docs/Silicium/Graphs/GraphError.html
102
+ - docs/Silicium/Graphs/OrientedGraph.html
103
+ - docs/Silicium/Graphs/UnorientedGraph.html
104
+ - docs/Silicium/IntegralDoesntExistError.html
105
+ - docs/Silicium/NumericalIntegration.html
106
+ - docs/Silicium/Optimization.html
107
+ - docs/Silicium/Plotter.html
108
+ - docs/Silicium/Plotter/Image.html
109
+ - docs/created.rid
110
+ - docs/css/fonts.css
111
+ - docs/css/rdoc.css
112
+ - docs/fonts/Lato-Light.ttf
113
+ - docs/fonts/Lato-LightItalic.ttf
114
+ - docs/fonts/Lato-Regular.ttf
115
+ - docs/fonts/Lato-RegularItalic.ttf
116
+ - docs/fonts/SourceCodePro-Bold.ttf
117
+ - docs/fonts/SourceCodePro-Regular.ttf
118
+ - docs/images/add.png
119
+ - docs/images/arrow_up.png
120
+ - docs/images/brick.png
121
+ - docs/images/brick_link.png
122
+ - docs/images/bug.png
123
+ - docs/images/bullet_black.png
124
+ - docs/images/bullet_toggle_minus.png
125
+ - docs/images/bullet_toggle_plus.png
126
+ - docs/images/date.png
127
+ - docs/images/delete.png
128
+ - docs/images/find.png
129
+ - docs/images/loadingAnimation.gif
130
+ - docs/images/macFFBgHack.png
131
+ - docs/images/package.png
132
+ - docs/images/page_green.png
133
+ - docs/images/page_white_text.png
134
+ - docs/images/page_white_width.png
135
+ - docs/images/plugin.png
136
+ - docs/images/ruby.png
137
+ - docs/images/tag_blue.png
138
+ - docs/images/tag_green.png
139
+ - docs/images/transparent.png
140
+ - docs/images/wrench.png
141
+ - docs/images/wrench_orange.png
142
+ - docs/images/zoom.png
143
+ - docs/index.html
144
+ - docs/js/darkfish.js
145
+ - docs/js/navigation.js
146
+ - docs/js/navigation.js.gz
147
+ - docs/js/search.js
148
+ - docs/js/search_index.js
149
+ - docs/js/search_index.js.gz
150
+ - docs/js/searcher.js
151
+ - docs/js/searcher.js.gz
152
+ - docs/table_of_contents.html
153
+ - lib/algebra.rb
154
+ - lib/algebra_diff.rb
155
+ - lib/geometry.rb
156
+ - lib/geometry/figure.rb
157
+ - lib/geometry3d.rb
158
+ - lib/graph.rb
159
+ - lib/graph/dfs.rb
160
+ - lib/graph/kruskal.rb
161
+ - lib/graph/scc.rb
162
+ - lib/graph_visualizer.rb
163
+ - lib/ml_algorithms.rb
164
+ - lib/numerical_integration.rb
165
+ - lib/optimization.rb
166
+ - lib/plotter.rb
167
+ - lib/polynomial_division.rb
168
+ - lib/polynomial_interpolation.rb
169
+ - lib/regression.rb
71
170
  - lib/silicium.rb
171
+ - lib/silicium/adding.rb
172
+ - lib/silicium/conversions.rb
173
+ - lib/silicium/multi.rb
174
+ - lib/silicium/sparse.rb
175
+ - lib/silicium/sugar.rb
176
+ - lib/silicium/trans.rb
72
177
  - lib/silicium/version.rb
178
+ - lib/theory_of_probability.rb
179
+ - lib/topological_sort.rb
180
+ - oriented_graph.png
181
+ - plot.png
73
182
  - silicium.gemspec
74
- homepage:
183
+ homepage:
75
184
  licenses:
76
185
  - MIT
77
- metadata: {}
78
- post_install_message:
186
+ metadata:
187
+ source_code_uri: https://github.com/mmcs-ruby/silicium
188
+ post_install_message:
79
189
  rdoc_options: []
80
190
  require_paths:
81
191
  - lib
@@ -90,8 +200,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
200
  - !ruby/object:Gem::Version
91
201
  version: '0'
92
202
  requirements: []
93
- rubygems_version: 3.0.3
94
- signing_key:
203
+ rubygems_version: 3.1.4
204
+ signing_key:
95
205
  specification_version: 4
96
206
  summary: Ruby math library made as exercise by MMCS students .
97
207
  test_files: []