t50_matriz_dispersa_densa 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/Documentacion/Fraccion.html +816 -0
  2. data/Documentacion/Gemfile.html +109 -0
  3. data/Documentacion/LICENSE_txt.html +126 -0
  4. data/Documentacion/Matriz.html +405 -0
  5. data/Documentacion/Matriz_Dispersa.html +159 -0
  6. data/Documentacion/Matriz_densa.html +479 -0
  7. data/Documentacion/Object.html +212 -0
  8. data/Documentacion/Rakefile.html +114 -0
  9. data/Documentacion/SparseMatrix.html +775 -0
  10. data/Documentacion/SparseVector.html +307 -0
  11. data/Documentacion/T50MatrizDispersaDensa.html +167 -0
  12. data/Documentacion/TestMatrix.html +467 -0
  13. data/Documentacion/bin/t50_matriz_dispersa_densa.html +54 -0
  14. data/Documentacion/created.rid +13 -0
  15. data/Documentacion/images/brick.png +0 -0
  16. data/Documentacion/images/brick_link.png +0 -0
  17. data/Documentacion/images/bug.png +0 -0
  18. data/Documentacion/images/bullet_black.png +0 -0
  19. data/Documentacion/images/bullet_toggle_minus.png +0 -0
  20. data/Documentacion/images/bullet_toggle_plus.png +0 -0
  21. data/Documentacion/images/date.png +0 -0
  22. data/Documentacion/images/find.png +0 -0
  23. data/Documentacion/images/loadingAnimation.gif +0 -0
  24. data/Documentacion/images/macFFBgHack.png +0 -0
  25. data/Documentacion/images/package.png +0 -0
  26. data/Documentacion/images/page_green.png +0 -0
  27. data/Documentacion/images/page_white_text.png +0 -0
  28. data/Documentacion/images/page_white_width.png +0 -0
  29. data/Documentacion/images/plugin.png +0 -0
  30. data/Documentacion/images/ruby.png +0 -0
  31. data/Documentacion/images/tag_green.png +0 -0
  32. data/Documentacion/images/wrench.png +0 -0
  33. data/Documentacion/images/wrench_orange.png +0 -0
  34. data/Documentacion/images/zoom.png +0 -0
  35. data/Documentacion/index.html +172 -0
  36. data/Documentacion/js/darkfish.js +118 -0
  37. data/Documentacion/js/jquery.js +32 -0
  38. data/Documentacion/js/quicksearch.js +114 -0
  39. data/Documentacion/js/thickbox-compressed.js +10 -0
  40. data/Documentacion/lib/Fraccion_rb.html +54 -0
  41. data/Documentacion/lib/gcd_rb.html +52 -0
  42. data/Documentacion/lib/matriz_densa_rb.html +54 -0
  43. data/Documentacion/lib/matriz_dispersa_rb.html +58 -0
  44. data/Documentacion/lib/matriz_rb.html +58 -0
  45. data/Documentacion/lib/t50_matriz_dispersa_densa/version_rb.html +52 -0
  46. data/Documentacion/lib/t50_matriz_dispersa_densa_rb.html +72 -0
  47. data/Documentacion/rdoc.css +763 -0
  48. data/Documentacion/test/tc_matrix_rb.html +62 -0
  49. data/Gemfile +4 -0
  50. data/LICENSE.txt +22 -0
  51. data/README.md +67 -0
  52. data/Rakefile +10 -0
  53. data/bin/t50_matriz_dispersa_densa +3 -0
  54. data/lib/Fraccion.rb +128 -0
  55. data/lib/gcd.rb +7 -0
  56. data/lib/matriz.rb +71 -0
  57. data/lib/matriz.rb~ +136 -0
  58. data/lib/matriz_densa.rb +128 -0
  59. data/lib/matriz_densa.rb~ +148 -0
  60. data/lib/matriz_dispersa.rb +276 -0
  61. data/lib/matriz_dispersa.rb~ +275 -0
  62. data/lib/t50_matriz_dispersa_densa.rb +27 -0
  63. data/lib/t50_matriz_dispersa_densa.rb~ +7 -0
  64. data/lib/t50_matriz_dispersa_densa/version.rb +3 -0
  65. data/t50_matriz_dispersa_densa.gemspec +19 -0
  66. data/test/tc_matrix.rb +57 -0
  67. data/test/tc_matrix.rb~ +57 -0
  68. metadata +115 -0
@@ -0,0 +1,109 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: Gemfile [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="./js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="./js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="./js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file">
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="./index.html">Home</a>
29
+ <a href="./index.html#classes">Classes</a>
30
+ <a href="./index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="project-metadata">
36
+
37
+
38
+ <div id="fileindex-section" class="section project-section">
39
+ <h3 class="section-header">Files</h3>
40
+ <ul>
41
+
42
+ <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
43
+
44
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE.txt</a></li>
45
+
46
+ <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
47
+
48
+ </ul>
49
+ </div>
50
+
51
+
52
+ <div id="classindex-section" class="section project-section">
53
+ <h3 class="section-header">Class Index
54
+ <span class="search-toggle"><img src="./images/find.png"
55
+ height="16" width="16" alt="[+]"
56
+ title="show/hide quicksearch" /></span></h3>
57
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
58
+ <fieldset>
59
+ <legend>Quicksearch</legend>
60
+ <input type="text" name="quicksearch" value=""
61
+ class="quicksearch-field" />
62
+ </fieldset>
63
+ </form>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="./Fraccion.html">Fraccion</a></li>
68
+
69
+ <li><a href="./Matriz.html">Matriz</a></li>
70
+
71
+ <li><a href="./Matriz_Dispersa.html">Matriz_Dispersa</a></li>
72
+
73
+ <li><a href="./Matriz_densa.html">Matriz_densa</a></li>
74
+
75
+ <li><a href="./Object.html">Object</a></li>
76
+
77
+ <li><a href="./SparseMatrix.html">SparseMatrix</a></li>
78
+
79
+ <li><a href="./SparseVector.html">SparseVector</a></li>
80
+
81
+ <li><a href="./T50MatrizDispersaDensa.html">T50MatrizDispersaDensa</a></li>
82
+
83
+ <li><a href="./TestMatrix.html">TestMatrix</a></li>
84
+
85
+ </ul>
86
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
87
+ </div>
88
+
89
+
90
+ </div>
91
+ </div>
92
+
93
+ <div id="documentation">
94
+
95
+ <p>source ‘<a href="https://rubygems.org">rubygems.org</a>’</p>
96
+
97
+ <p># Specify your gem’s dependencies in t50_matriz_dispersa_densa.gemspec
98
+ gemspec</p>
99
+
100
+ </div>
101
+
102
+ <div id="validator-badges">
103
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
104
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
105
+ Rdoc Generator</a> 2</small>.</p>
106
+ </div>
107
+ </body>
108
+ </html>
109
+
@@ -0,0 +1,126 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
+
9
+ <title>File: LICENSE.txt [RDoc Documentation]</title>
10
+
11
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
+
13
+ <script src="./js/jquery.js" type="text/javascript"
14
+ charset="utf-8"></script>
15
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
16
+ charset="utf-8"></script>
17
+ <script src="./js/quicksearch.js" type="text/javascript"
18
+ charset="utf-8"></script>
19
+ <script src="./js/darkfish.js" type="text/javascript"
20
+ charset="utf-8"></script>
21
+ </head>
22
+
23
+ <body class="file">
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="./index.html">Home</a>
29
+ <a href="./index.html#classes">Classes</a>
30
+ <a href="./index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="project-metadata">
36
+
37
+
38
+ <div id="fileindex-section" class="section project-section">
39
+ <h3 class="section-header">Files</h3>
40
+ <ul>
41
+
42
+ <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
43
+
44
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE.txt</a></li>
45
+
46
+ <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
47
+
48
+ </ul>
49
+ </div>
50
+
51
+
52
+ <div id="classindex-section" class="section project-section">
53
+ <h3 class="section-header">Class Index
54
+ <span class="search-toggle"><img src="./images/find.png"
55
+ height="16" width="16" alt="[+]"
56
+ title="show/hide quicksearch" /></span></h3>
57
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
58
+ <fieldset>
59
+ <legend>Quicksearch</legend>
60
+ <input type="text" name="quicksearch" value=""
61
+ class="quicksearch-field" />
62
+ </fieldset>
63
+ </form>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="./Fraccion.html">Fraccion</a></li>
68
+
69
+ <li><a href="./Matriz.html">Matriz</a></li>
70
+
71
+ <li><a href="./Matriz_Dispersa.html">Matriz_Dispersa</a></li>
72
+
73
+ <li><a href="./Matriz_densa.html">Matriz_densa</a></li>
74
+
75
+ <li><a href="./Object.html">Object</a></li>
76
+
77
+ <li><a href="./SparseMatrix.html">SparseMatrix</a></li>
78
+
79
+ <li><a href="./SparseVector.html">SparseVector</a></li>
80
+
81
+ <li><a href="./T50MatrizDispersaDensa.html">T50MatrizDispersaDensa</a></li>
82
+
83
+ <li><a href="./TestMatrix.html">TestMatrix</a></li>
84
+
85
+ </ul>
86
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
87
+ </div>
88
+
89
+
90
+ </div>
91
+ </div>
92
+
93
+ <div id="documentation">
94
+
95
+ <p>Copyright © 2013 Javier C</p>
96
+
97
+ <p>MIT License</p>
98
+
99
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
100
+ copy of this software and associated documentation files (the “Software”),
101
+ to deal in the Software without restriction, including without limitation
102
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
103
+ and/or sell copies of the Software, and to permit persons to whom the
104
+ Software is furnished to do so, subject to the following conditions:</p>
105
+
106
+ <p>The above copyright notice and this permission notice shall be included in
107
+ all copies or substantial portions of the Software.</p>
108
+
109
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
114
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
115
+ DEALINGS IN THE SOFTWARE.</p>
116
+
117
+ </div>
118
+
119
+ <div id="validator-badges">
120
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
121
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
122
+ Rdoc Generator</a> 2</small>.</p>
123
+ </div>
124
+ </body>
125
+ </html>
126
+
@@ -0,0 +1,405 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: Matriz</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="./index.html">Home</a>
25
+ <a href="./index.html#classes">Classes</a>
26
+ <a href="./index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="./lib/matriz_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/matriz.rb">lib/matriz.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+ <!-- Parent Class -->
50
+ <div id="parent-class-section" class="section">
51
+ <h3 class="section-header">Parent</h3>
52
+
53
+ <p class="link"><a href="Object.html">Object</a></p>
54
+
55
+ </div>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ <!-- Method Quickref -->
64
+ <div id="method-list-section" class="section">
65
+ <h3 class="section-header">Methods</h3>
66
+ <ul class="link-list">
67
+
68
+ <li><a href="#method-c-new">::new</a></li>
69
+
70
+ <li><a href="#method-i-2A">#*</a></li>
71
+
72
+ <li><a href="#method-i-2B">#+</a></li>
73
+
74
+ <li><a href="#method-i-2D">#-</a></li>
75
+
76
+ </ul>
77
+ </div>
78
+
79
+
80
+
81
+ </div>
82
+
83
+ <div id="project-metadata">
84
+
85
+
86
+ <div id="fileindex-section" class="section project-section">
87
+ <h3 class="section-header">Files</h3>
88
+ <ul>
89
+
90
+ <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
91
+
92
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE.txt</a></li>
93
+
94
+ <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
95
+
96
+ </ul>
97
+ </div>
98
+
99
+
100
+ <div id="classindex-section" class="section project-section">
101
+ <h3 class="section-header">Class/Module Index
102
+ <span class="search-toggle"><img src="./images/find.png"
103
+ height="16" width="16" alt="[+]"
104
+ title="show/hide quicksearch" /></span></h3>
105
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
106
+ <fieldset>
107
+ <legend>Quicksearch</legend>
108
+ <input type="text" name="quicksearch" value=""
109
+ class="quicksearch-field" />
110
+ </fieldset>
111
+ </form>
112
+
113
+ <ul class="link-list">
114
+
115
+ <li><a href="./Fraccion.html">Fraccion</a></li>
116
+
117
+ <li><a href="./Matriz.html">Matriz</a></li>
118
+
119
+ <li><a href="./Matriz_Dispersa.html">Matriz_Dispersa</a></li>
120
+
121
+ <li><a href="./Matriz_densa.html">Matriz_densa</a></li>
122
+
123
+ <li><a href="./Object.html">Object</a></li>
124
+
125
+ <li><a href="./SparseMatrix.html">SparseMatrix</a></li>
126
+
127
+ <li><a href="./SparseVector.html">SparseVector</a></li>
128
+
129
+ <li><a href="./T50MatrizDispersaDensa.html">T50MatrizDispersaDensa</a></li>
130
+
131
+ <li><a href="./TestMatrix.html">TestMatrix</a></li>
132
+
133
+ </ul>
134
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
135
+ </div>
136
+
137
+
138
+ </div>
139
+ </div>
140
+
141
+ <div id="documentation">
142
+ <h1 class="class">Matriz</h1>
143
+
144
+ <div id="description" class="description">
145
+
146
+ </div><!-- description -->
147
+
148
+
149
+
150
+
151
+ <div id="5Buntitled-5D" class="documentation-section">
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <!-- Attributes -->
160
+ <div id="attribute-method-details" class="method-section section">
161
+ <h3 class="section-header">Attributes</h3>
162
+
163
+
164
+ <div id="c-attribute-method" class="method-detail">
165
+ <a name="c"></a>
166
+
167
+ <div class="method-heading attribute-method-heading">
168
+ <span class="method-name">c</span><span
169
+ class="attribute-access-type">[R]</span>
170
+ </div>
171
+
172
+ <div class="method-description">
173
+
174
+
175
+
176
+ </div>
177
+ </div>
178
+
179
+ <div id="f-attribute-method" class="method-detail">
180
+ <a name="f"></a>
181
+
182
+ <div class="method-heading attribute-method-heading">
183
+ <span class="method-name">f</span><span
184
+ class="attribute-access-type">[R]</span>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+
189
+
190
+
191
+ </div>
192
+ </div>
193
+
194
+ <div id="m-attribute-method" class="method-detail">
195
+ <a name="m"></a>
196
+
197
+ <div class="method-heading attribute-method-heading">
198
+ <span class="method-name">m</span><span
199
+ class="attribute-access-type">[R]</span>
200
+ </div>
201
+
202
+ <div class="method-description">
203
+
204
+
205
+
206
+ </div>
207
+ </div>
208
+
209
+ </div><!-- attribute-method-details -->
210
+
211
+
212
+ <!-- Methods -->
213
+
214
+ <div id="public-class-method-details" class="method-section section">
215
+ <h3 class="section-header">Public Class Methods</h3>
216
+
217
+
218
+ <div id="new-method" class="method-detail ">
219
+ <a name="method-c-new"></a>
220
+
221
+
222
+ <div class="method-heading">
223
+ <span class="method-name">new</span><span
224
+ class="method-args">(m)</span>
225
+ <span class="method-click-advice">click to toggle source</span>
226
+ </div>
227
+
228
+
229
+ <div class="method-description">
230
+
231
+
232
+
233
+
234
+
235
+ <div class="method-source-code" id="new-source">
236
+ <pre>
237
+ <span class="ruby-comment"># File lib/matriz.rb, line 9</span>
238
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">m</span>)
239
+ <span class="ruby-ivar">@m</span>=<span class="ruby-identifier">m</span>
240
+ <span class="ruby-ivar">@f</span>=<span class="ruby-identifier">m</span>.<span class="ruby-identifier">size</span>
241
+ <span class="ruby-ivar">@c</span>=<span class="ruby-identifier">m</span>[<span class="ruby-value">1</span>].<span class="ruby-identifier">size</span>
242
+ <span class="ruby-keyword">end</span></pre>
243
+ </div><!-- new-source -->
244
+
245
+ </div>
246
+
247
+
248
+
249
+
250
+ </div><!-- new-method -->
251
+
252
+
253
+ </div><!-- public-class-method-details -->
254
+
255
+ <div id="public-instance-method-details" class="method-section section">
256
+ <h3 class="section-header">Public Instance Methods</h3>
257
+
258
+
259
+ <div id="2A-method" class="method-detail ">
260
+ <a name="method-i-2A"></a>
261
+
262
+
263
+ <div class="method-heading">
264
+ <span class="method-name">*</span><span
265
+ class="method-args">(other)</span>
266
+ <span class="method-click-advice">click to toggle source</span>
267
+ </div>
268
+
269
+
270
+ <div class="method-description">
271
+
272
+
273
+
274
+
275
+
276
+ <div class="method-source-code" id="2A-source">
277
+ <pre>
278
+ <span class="ruby-comment"># File lib/matriz.rb, line 34</span>
279
+ <span class="ruby-keyword">def</span> *(<span class="ruby-identifier">other</span>)
280
+
281
+ <span class="ruby-identifier">z</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
282
+
283
+
284
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@f</span> <span class="ruby-keyword">do</span>
285
+ <span class="ruby-identifier">z</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
286
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">j</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@c</span> <span class="ruby-keyword">do</span>
287
+ <span class="ruby-identifier">z</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-value">0</span>
288
+ <span class="ruby-keyword">end</span>
289
+ <span class="ruby-keyword">end</span>
290
+
291
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@f</span> <span class="ruby-keyword">do</span>
292
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">j</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@c</span> <span class="ruby-keyword">do</span>
293
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">k</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@f</span> <span class="ruby-keyword">do</span>
294
+ <span class="ruby-identifier">z</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] <span class="ruby-operator">+=</span> <span class="ruby-ivar">@m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">k</span>] * <span class="ruby-identifier">other</span>.<span class="ruby-identifier">m</span>[<span class="ruby-identifier">k</span>][<span class="ruby-identifier">j</span>]
295
+ <span class="ruby-keyword">end</span>
296
+ <span class="ruby-keyword">end</span>
297
+ <span class="ruby-keyword">end</span>
298
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">z</span>
299
+ <span class="ruby-keyword">end</span></pre>
300
+ </div><!-- 2A-source -->
301
+
302
+ </div>
303
+
304
+
305
+
306
+
307
+ </div><!-- 2A-method -->
308
+
309
+
310
+ <div id="2B-method" class="method-detail ">
311
+ <a name="method-i-2B"></a>
312
+
313
+
314
+ <div class="method-heading">
315
+ <span class="method-name">+</span><span
316
+ class="method-args">(other)</span>
317
+ <span class="method-click-advice">click to toggle source</span>
318
+ </div>
319
+
320
+
321
+ <div class="method-description">
322
+
323
+
324
+
325
+
326
+
327
+ <div class="method-source-code" id="2B-source">
328
+ <pre>
329
+ <span class="ruby-comment"># File lib/matriz.rb, line 24</span>
330
+ <span class="ruby-keyword">def</span> <span class="ruby-operator">+</span>(<span class="ruby-identifier">other</span>)
331
+ <span class="ruby-identifier">suma</span> = <span class="ruby-ivar">@m</span>
332
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@f</span> <span class="ruby-keyword">do</span>
333
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">j</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@c</span> <span class="ruby-keyword">do</span>
334
+ <span class="ruby-identifier">suma</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]=<span class="ruby-ivar">@m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]<span class="ruby-operator">+</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
335
+ <span class="ruby-keyword">end</span>
336
+ <span class="ruby-keyword">end</span>
337
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">suma</span>
338
+ <span class="ruby-keyword">end</span></pre>
339
+ </div><!-- 2B-source -->
340
+
341
+ </div>
342
+
343
+
344
+
345
+
346
+ </div><!-- 2B-method -->
347
+
348
+
349
+ <div id="2D-method" class="method-detail ">
350
+ <a name="method-i-2D"></a>
351
+
352
+
353
+ <div class="method-heading">
354
+ <span class="method-name">-</span><span
355
+ class="method-args">(other)</span>
356
+ <span class="method-click-advice">click to toggle source</span>
357
+ </div>
358
+
359
+
360
+ <div class="method-description">
361
+
362
+
363
+
364
+
365
+
366
+ <div class="method-source-code" id="2D-source">
367
+ <pre>
368
+ <span class="ruby-comment"># File lib/matriz.rb, line 56</span>
369
+ <span class="ruby-keyword">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">other</span>)
370
+
371
+ <span class="ruby-identifier">resta</span> = <span class="ruby-ivar">@m</span>
372
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@f</span> <span class="ruby-keyword">do</span>
373
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">j</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-ivar">@c</span> <span class="ruby-keyword">do</span>
374
+ <span class="ruby-identifier">resta</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] <span class="ruby-operator">-</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
375
+ <span class="ruby-keyword">end</span>
376
+ <span class="ruby-keyword">end</span>
377
+
378
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">resta</span>
379
+ <span class="ruby-keyword">end</span></pre>
380
+ </div><!-- 2D-source -->
381
+
382
+ </div>
383
+
384
+
385
+
386
+
387
+ </div><!-- 2D-method -->
388
+
389
+
390
+ </div><!-- public-instance-method-details -->
391
+
392
+ </div><!-- 5Buntitled-5D -->
393
+
394
+
395
+ </div><!-- documentation -->
396
+
397
+ <div id="validator-badges">
398
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
399
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
400
+ Rdoc Generator</a> 2</small>.</p>
401
+ </div>
402
+
403
+ </body>
404
+ </html>
405
+