RubMat 2.1.6 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/.gitignore +2 -0
  2. data/Rakefile +2 -2
  3. data/bin/{rubmat.rb → rubmat} +0 -0
  4. data/doc/apple-touch-icon.png +0 -0
  5. data/doc/classes/Fixnum.html +394 -0
  6. data/doc/classes/Fixnum.src/M000019.html +18 -0
  7. data/doc/classes/Fixnum.src/M000020.html +18 -0
  8. data/doc/classes/Fixnum.src/M000021.html +18 -0
  9. data/doc/classes/Fixnum.src/M000022.html +18 -0
  10. data/doc/classes/Fixnum.src/M000023.html +18 -0
  11. data/doc/classes/GetOpt.html +135 -0
  12. data/doc/classes/Object.html +2636 -0
  13. data/doc/created.rid +1 -0
  14. data/doc/css/main.css +278 -0
  15. data/doc/css/panel.css +383 -0
  16. data/doc/css/reset.css +53 -0
  17. data/doc/favicon.ico +0 -0
  18. data/doc/files/LICENSE.html +74 -0
  19. data/doc/files/README.html +73 -0
  20. data/doc/files/README_md.html +73 -0
  21. data/doc/files/Rakefile.html +116 -0
  22. data/doc/files/bin/librbdiscrete_rb.html +93 -0
  23. data/doc/files/lib/fixnumexpand_rb.html +59 -0
  24. data/doc/files/lib/help_rb.html +52 -0
  25. data/doc/files/lib/librbdiscrete_rb.html +93 -0
  26. data/doc/files/lib/librbdiscrete_rb.src/M000001.html +22 -0
  27. data/doc/files/lib/librbdiscrete_rb.src/M000002.html +29 -0
  28. data/doc/files/lib/librbdiscrete_rb.src/M000003.html +21 -0
  29. data/doc/files/lib/librbdiscrete_rb.src/M000004.html +28 -0
  30. data/doc/files/lib/librbdiscrete_rb.src/M000005.html +22 -0
  31. data/doc/files/lib/librbdiscrete_rb.src/M000006.html +31 -0
  32. data/doc/files/lib/librbdiscrete_rb.src/M000007.html +18 -0
  33. data/doc/files/lib/librbdiscrete_rb.src/M000008.html +22 -0
  34. data/doc/files/lib/librbdiscrete_rb.src/M000009.html +18 -0
  35. data/doc/files/lib/librbdiscrete_rb.src/M000010.html +22 -0
  36. data/doc/files/lib/librbdiscrete_rb.src/M000011.html +28 -0
  37. data/doc/files/lib/librbdiscrete_rb.src/M000012.html +28 -0
  38. data/doc/files/lib/librbdiscrete_rb.src/M000013.html +18 -0
  39. data/doc/files/lib/librbdiscrete_rb.src/M000014.html +18 -0
  40. data/doc/files/lib/librbdiscrete_rb.src/M000015.html +18 -0
  41. data/doc/files/lib/librbdiscrete_rb.src/M000016.html +32 -0
  42. data/doc/files/lib/librbdiscrete_rb.src/M000017.html +22 -0
  43. data/doc/files/lib/main_rb.html +76 -0
  44. data/doc/files/lib/statics_yml.html +63 -0
  45. data/doc/files/nbproject/private/private_xml.html +67 -0
  46. data/doc/files/nbproject/private/rake-d_txt.html +62 -0
  47. data/doc/files/nbproject/project_properties.html +60 -0
  48. data/doc/files/nbproject/project_xml.html +79 -0
  49. data/doc/files/pkg/RubMat-2_1_5/LICENSE.html +74 -0
  50. data/doc/files/pkg/RubMat-2_1_5/README.html +73 -0
  51. data/doc/files/pkg/RubMat-2_1_5/Rakefile.html +116 -0
  52. data/doc/files/pkg/RubMat-2_1_5/bin/librbdiscrete_rb.html +86 -0
  53. data/doc/files/pkg/RubMat-2_1_5/lib/fixnumexpand_rb.html +59 -0
  54. data/doc/files/pkg/RubMat-2_1_5/lib/librbdiscrete_rb.html +86 -0
  55. data/doc/files/pkg/RubMat-2_1_5/lib/main_rb.html +77 -0
  56. data/doc/files/pkg/RubMat-2_1_5/lib/statics_yml.html +63 -0
  57. data/doc/files/test/testprocedure_rb.html +59 -0
  58. data/doc/files/test/testprocedure_rb.src/M000018.html +18 -0
  59. data/doc/fr_class_index.html +27 -0
  60. data/doc/fr_file_index.html +30 -0
  61. data/doc/fr_method_index.html +49 -0
  62. data/doc/i/arrows.png +0 -0
  63. data/doc/i/results_bg.png +0 -0
  64. data/doc/i/tree_bg.png +0 -0
  65. data/doc/index.html +14 -0
  66. data/doc/js/jquery-1.3.2.min.js +19 -0
  67. data/doc/js/jquery-effect.js +593 -0
  68. data/doc/js/main.js +22 -0
  69. data/doc/js/searchdoc.js +628 -0
  70. data/doc/panel/index.html +71 -0
  71. data/doc/panel/search_index.js +1 -0
  72. data/doc/panel/tree.js +1 -0
  73. data/doc/rdoc-style.css +208 -0
  74. data/pkg/RubMat-2.1.5.gem +0 -0
  75. data/pkg/RubMat-2.1.5/LICENSE +17 -0
  76. data/pkg/RubMat-2.1.5/README +11 -0
  77. data/pkg/RubMat-2.1.5/Rakefile +42 -0
  78. data/pkg/RubMat-2.1.5/RubMat.png +0 -0
  79. data/pkg/RubMat-2.1.5/gplv3.png +0 -0
  80. data/pkg/RubMat-2.1.5/lib/fixnumexpand.rb +35 -0
  81. data/pkg/RubMat-2.1.5/lib/librbdiscrete.rb +412 -0
  82. data/pkg/RubMat-2.1.5/lib/main.rb +13 -0
  83. data/pkg/RubMat-2.1.5/lib/statics.yml +4 -0
  84. data/rubmat.gemspec +22 -0
  85. data/test/testprocedure.rb +8 -0
  86. metadata +110 -16
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/ruby
2
+
3
+ # AUTHOR: Matthew Manahan
4
+
5
+ require 'yaml'
6
+ require 'librbdiscrete.rb'
7
+ require 'fixnumexpand.rb'
8
+
9
+ puts "===RubMat===
10
+ Copyright (C) <2011> <Matthew Manahan>
11
+ This program comes with ABSOLUTELY NO WARRANTY; for details type 'help'.
12
+ This is free software, and you are welcome to redistribute it
13
+ under certain conditions; type `certain' for details."
@@ -0,0 +1,4 @@
1
+ ## AUTHOR : Matthew Manahan
2
+ ---
3
+ EVALUE: 2.718281828459045235360287471352662497757247093
4
+ PIVALUE: 3.141592653589793238462643383279502884197169399
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # require File.expand_path(__FILE__ + '/../lib/rubmat.rb')
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{RubMat}
5
+ s.version = '2.1.8'
6
+ s.platform = Gem::Platform::RUBY
7
+
8
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
9
+ s.authors = ["Mahmut Bulut"]
10
+ s.default_executable = %q{rubmat}
11
+ s.description = %q{Discrete Mathematics solver and Usable Library}
12
+ s.email = %q{scienceblock@gmail.com}
13
+ s.executables = ["rubmat"]
14
+ s.extra_rdoc_files = ["README.md", "LICENSE", "gplv3.png", "RubMat.png"]
15
+ ignores = File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
16
+ s.files = Dir['**/*','.gitignore'] - ignores
17
+ s.homepage = %q{http://regularlambda.github.com/RubMat}
18
+ s.rdoc_options = ["--title", "RubMat -- Discrete Mathematics solver and Usable Library", "--line-numbers", "--main", "README"]
19
+ s.require_paths = ["lib"]
20
+ s.rubygems_version = %q{1.3.1}
21
+ s.summary = %q{Discrete Mathematics solver and Usable Library}
22
+ end
@@ -0,0 +1,8 @@
1
+ require 'yaml'
2
+ constants1 = YAML::load_file('statics.yml')
3
+
4
+ def stirling(strln)
5
+ return (strln/EVALUE**strln)*Math.sqrt(2*PIVALUE*strln);
6
+ end
7
+
8
+ puts stirling(3)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubMat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 6
10
- version: 2.1.6
9
+ - 8
10
+ version: 2.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mahmut Bulut
@@ -15,13 +15,13 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-08 00:00:00 Z
18
+ date: 2011-07-17 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Discrete Mathematics solver and Usable Library
22
22
  email: scienceblock@gmail.com
23
23
  executables:
24
- - rubmat.rb
24
+ - rubmat
25
25
  extensions: []
26
26
 
27
27
  extra_rdoc_files:
@@ -30,23 +30,115 @@ extra_rdoc_files:
30
30
  - gplv3.png
31
31
  - RubMat.png
32
32
  files:
33
- - LICENSE
34
- - README.md
35
- - Rakefile
33
+ - bin/rubmat
34
+ - doc/apple-touch-icon.png
35
+ - doc/classes/Fixnum.html
36
+ - doc/classes/Fixnum.src/M000019.html
37
+ - doc/classes/Fixnum.src/M000020.html
38
+ - doc/classes/Fixnum.src/M000021.html
39
+ - doc/classes/Fixnum.src/M000022.html
40
+ - doc/classes/Fixnum.src/M000023.html
41
+ - doc/classes/GetOpt.html
42
+ - doc/classes/Object.html
43
+ - doc/created.rid
44
+ - doc/css/main.css
45
+ - doc/css/panel.css
46
+ - doc/css/reset.css
47
+ - doc/favicon.ico
48
+ - doc/files/bin/librbdiscrete_rb.html
49
+ - doc/files/lib/fixnumexpand_rb.html
50
+ - doc/files/lib/help_rb.html
51
+ - doc/files/lib/librbdiscrete_rb.html
52
+ - doc/files/lib/librbdiscrete_rb.src/M000001.html
53
+ - doc/files/lib/librbdiscrete_rb.src/M000002.html
54
+ - doc/files/lib/librbdiscrete_rb.src/M000003.html
55
+ - doc/files/lib/librbdiscrete_rb.src/M000004.html
56
+ - doc/files/lib/librbdiscrete_rb.src/M000005.html
57
+ - doc/files/lib/librbdiscrete_rb.src/M000006.html
58
+ - doc/files/lib/librbdiscrete_rb.src/M000007.html
59
+ - doc/files/lib/librbdiscrete_rb.src/M000008.html
60
+ - doc/files/lib/librbdiscrete_rb.src/M000009.html
61
+ - doc/files/lib/librbdiscrete_rb.src/M000010.html
62
+ - doc/files/lib/librbdiscrete_rb.src/M000011.html
63
+ - doc/files/lib/librbdiscrete_rb.src/M000012.html
64
+ - doc/files/lib/librbdiscrete_rb.src/M000013.html
65
+ - doc/files/lib/librbdiscrete_rb.src/M000014.html
66
+ - doc/files/lib/librbdiscrete_rb.src/M000015.html
67
+ - doc/files/lib/librbdiscrete_rb.src/M000016.html
68
+ - doc/files/lib/librbdiscrete_rb.src/M000017.html
69
+ - doc/files/lib/main_rb.html
70
+ - doc/files/lib/statics_yml.html
71
+ - doc/files/LICENSE.html
72
+ - doc/files/nbproject/private/private_xml.html
73
+ - doc/files/nbproject/private/rake-d_txt.html
74
+ - doc/files/nbproject/project_properties.html
75
+ - doc/files/nbproject/project_xml.html
76
+ - doc/files/pkg/RubMat-2_1_5/bin/librbdiscrete_rb.html
77
+ - doc/files/pkg/RubMat-2_1_5/lib/fixnumexpand_rb.html
78
+ - doc/files/pkg/RubMat-2_1_5/lib/librbdiscrete_rb.html
79
+ - doc/files/pkg/RubMat-2_1_5/lib/main_rb.html
80
+ - doc/files/pkg/RubMat-2_1_5/lib/statics_yml.html
81
+ - doc/files/pkg/RubMat-2_1_5/LICENSE.html
82
+ - doc/files/pkg/RubMat-2_1_5/Rakefile.html
83
+ - doc/files/pkg/RubMat-2_1_5/README.html
84
+ - doc/files/Rakefile.html
85
+ - doc/files/README.html
86
+ - doc/files/README_md.html
87
+ - doc/files/test/testprocedure_rb.html
88
+ - doc/files/test/testprocedure_rb.src/M000018.html
89
+ - doc/fr_class_index.html
90
+ - doc/fr_file_index.html
91
+ - doc/fr_method_index.html
92
+ - doc/i/arrows.png
93
+ - doc/i/results_bg.png
94
+ - doc/i/tree_bg.png
95
+ - doc/index.html
96
+ - doc/js/jquery-1.3.2.min.js
97
+ - doc/js/jquery-effect.js
98
+ - doc/js/main.js
99
+ - doc/js/searchdoc.js
100
+ - doc/panel/index.html
101
+ - doc/panel/search_index.js
102
+ - doc/panel/tree.js
103
+ - doc/rdoc-style.css
36
104
  - gplv3.png
37
- - RubMat.png
38
- - bin/rubmat.rb
39
105
  - lib/fixnumexpand.rb
40
106
  - lib/help.rb
41
107
  - lib/librbdiscrete.rb
42
108
  - lib/rubmat.rb
43
109
  - lib/statics.yml
110
+ - LICENSE
111
+ - nbproject/private/private.properties
112
+ - nbproject/private/private.xml
113
+ - nbproject/private/rake-d.txt
114
+ - nbproject/project.properties
115
+ - nbproject/project.xml
116
+ - pkg/RubMat-2.1.5/gplv3.png
117
+ - pkg/RubMat-2.1.5/lib/fixnumexpand.rb
118
+ - pkg/RubMat-2.1.5/lib/librbdiscrete.rb
119
+ - pkg/RubMat-2.1.5/lib/main.rb
120
+ - pkg/RubMat-2.1.5/lib/statics.yml
121
+ - pkg/RubMat-2.1.5/LICENSE
122
+ - pkg/RubMat-2.1.5/Rakefile
123
+ - pkg/RubMat-2.1.5/README
124
+ - pkg/RubMat-2.1.5/RubMat.png
125
+ - pkg/RubMat-2.1.5.gem
126
+ - Rakefile
127
+ - README.md
128
+ - rubmat.gemspec
129
+ - RubMat.png
130
+ - test/testprocedure.rb
131
+ - .gitignore
44
132
  homepage: http://regularlambda.github.com/RubMat
45
133
  licenses: []
46
134
 
47
135
  post_install_message:
48
- rdoc_options: []
49
-
136
+ rdoc_options:
137
+ - --title
138
+ - RubMat -- Discrete Mathematics solver and Usable Library
139
+ - --line-numbers
140
+ - --main
141
+ - README
50
142
  require_paths:
51
143
  - lib
52
144
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -61,12 +153,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
153
  required_rubygems_version: !ruby/object:Gem::Requirement
62
154
  none: false
63
155
  requirements:
64
- - - ">="
156
+ - - ">"
65
157
  - !ruby/object:Gem::Version
66
- hash: 3
158
+ hash: 25
67
159
  segments:
68
- - 0
69
- version: "0"
160
+ - 1
161
+ - 3
162
+ - 1
163
+ version: 1.3.1
70
164
  requirements: []
71
165
 
72
166
  rubyforge_project: