prct09 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +7 -2
- data/config/gemnasium.yml +10 -0
- data/doc/Fraccion.html +856 -0
- data/doc/Gemfile.html +280 -0
- data/doc/Guarfile.html +310 -0
- data/doc/LICENSE_txt.html +297 -0
- data/doc/Matriz.html +721 -0
- data/doc/Matriz_densa.html +605 -0
- data/doc/Matriz_dispersa.html +829 -0
- data/doc/Prct09.html +328 -0
- data/doc/Rakefile.html +318 -0
- data/doc/Test_Matriz.html +509 -0
- data/doc/bin/prct09.html +54 -0
- data/doc/classes/Fraccion.html +0 -0
- data/doc/classes/Fraccion.src/M000024.html +0 -0
- data/doc/classes/Fraccion.src/M000025.html +0 -0
- data/doc/classes/Fraccion.src/M000026.html +0 -0
- data/doc/classes/Fraccion.src/M000027.html +0 -0
- data/doc/classes/Fraccion.src/M000028.html +0 -0
- data/doc/classes/Fraccion.src/M000029.html +0 -0
- data/doc/classes/Fraccion.src/M000030.html +0 -0
- data/doc/classes/Fraccion.src/M000031.html +0 -0
- data/doc/classes/Fraccion.src/M000032.html +0 -0
- data/doc/classes/Fraccion.src/M000033.html +0 -0
- data/doc/classes/Fraccion.src/M000034.html +0 -0
- data/doc/classes/Fraccion.src/M000035.html +0 -0
- data/doc/classes/Fraccion.src/M000036.html +0 -0
- data/doc/classes/Matriz.html +0 -0
- data/doc/classes/Matriz.src/M000015.html +0 -0
- data/doc/classes/Matriz.src/M000016.html +0 -0
- data/doc/classes/Matriz.src/M000017.html +0 -0
- data/doc/classes/Matriz.src/M000018.html +0 -0
- data/doc/classes/Matriz.src/M000019.html +0 -0
- data/doc/classes/Matriz.src/M000020.html +0 -0
- data/doc/classes/Matriz.src/M000021.html +0 -0
- data/doc/classes/Matriz.src/M000022.html +0 -0
- data/doc/classes/Matriz.src/M000023.html +0 -0
- data/doc/classes/Matriz_densa.html +0 -0
- data/doc/classes/Matriz_densa.src/M000010.html +0 -0
- data/doc/classes/Matriz_densa.src/M000011.html +0 -0
- data/doc/classes/Matriz_densa.src/M000012.html +0 -0
- data/doc/classes/Matriz_densa.src/M000013.html +0 -0
- data/doc/classes/Matriz_densa.src/M000014.html +0 -0
- data/doc/classes/Matriz_dispersa.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000002.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000003.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000004.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000005.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000006.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000007.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000008.html +0 -0
- data/doc/classes/Matriz_dispersa.src/M000009.html +0 -0
- data/doc/classes/Prct09.html +0 -0
- data/doc/classes/Test_Matriz.html +0 -0
- data/doc/classes/Test_Matriz.src/M000037.html +0 -0
- data/doc/classes/Test_Matriz.src/M000038.html +0 -0
- data/doc/classes/Test_Matriz.src/M000039.html +0 -0
- data/doc/classes/Test_Matriz.src/M000040.html +0 -0
- data/doc/created.rid +125 -14
- data/doc/files/lib/Fraccion_rb.html +0 -0
- data/doc/files/lib/Matriz_densa_rb.html +0 -0
- data/doc/files/lib/Matriz_dispersa_rb.html +0 -0
- data/doc/files/lib/Matriz_rb.html +0 -0
- data/doc/files/lib/mcd_rb.html +0 -0
- data/doc/files/lib/mcd_rb.src/M000001.html +0 -0
- data/doc/files/lib/prct09/version_rb.html +0 -0
- data/doc/files/lib/prct09_rb.html +0 -0
- data/doc/files/spec/Matriz_spec_rb.html +0 -0
- data/doc/files/test/tc_matriz_rb.html +0 -0
- data/doc/fr_class_index.html +0 -0
- data/doc/fr_file_index.html +0 -0
- data/doc/fr_method_index.html +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +254 -132
- data/doc/js/darkfish.js +155 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/Fraccion_rb.html +52 -0
- data/doc/lib/Matriz_densa_rb.html +56 -0
- data/doc/lib/Matriz_dispersa_rb.html +56 -0
- data/doc/lib/Matriz_rb.html +54 -0
- data/doc/lib/prct09/version_rb.html +52 -0
- data/doc/lib/prct09_rb.html +54 -0
- data/doc/rdoc-style.css +0 -0
- data/doc/rdoc.css +595 -0
- data/doc/spec/Matriz_spec_rb.html +62 -0
- data/doc/test/tc_matriz_rb.html +62 -0
- data/lib/Dsl.rb +82 -0
- data/lib/prct09/version.rb +1 -1
- data/prct09-1.0.0.gem +0 -0
- data/prct09.gemspec +1 -1
- data/spec/Dsl_spec.rb +92 -0
- metadata +66 -29
- data/prct09-0.0.1.gem +0 -0
@@ -0,0 +1,605 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class Matriz_densa - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
<div id="file-metadata">
|
49
|
+
<nav id="file-list-section" class="section">
|
50
|
+
<h3 class="section-header">Defined In</h3>
|
51
|
+
<ul>
|
52
|
+
<li>lib/Matriz_densa.rb
|
53
|
+
</ul>
|
54
|
+
</nav>
|
55
|
+
|
56
|
+
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<div id="class-metadata">
|
60
|
+
|
61
|
+
<nav id="parent-class-section" class="section">
|
62
|
+
<h3 class="section-header">Parent</h3>
|
63
|
+
|
64
|
+
<p class="link"><a href="Matriz.html">Matriz</a>
|
65
|
+
|
66
|
+
</nav>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<!-- Method Quickref -->
|
71
|
+
<nav id="method-list-section" class="section">
|
72
|
+
<h3 class="section-header">Methods</h3>
|
73
|
+
|
74
|
+
<ul class="link-list">
|
75
|
+
|
76
|
+
<li ><a href="#method-i-2A">#*</a>
|
77
|
+
|
78
|
+
<li ><a href="#method-i-2B">#+</a>
|
79
|
+
|
80
|
+
<li ><a href="#method-i-2D">#-</a>
|
81
|
+
|
82
|
+
<li ><a href="#method-i-max">#max</a>
|
83
|
+
|
84
|
+
<li ><a href="#method-i-min">#min</a>
|
85
|
+
|
86
|
+
</ul>
|
87
|
+
</nav>
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div id="project-metadata">
|
92
|
+
<nav id="fileindex-section" class="section project-section">
|
93
|
+
<h3 class="section-header">Pages</h3>
|
94
|
+
|
95
|
+
<ul>
|
96
|
+
|
97
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
98
|
+
|
99
|
+
<li class="file"><a href="./Guarfile.html">Guarfile</a>
|
100
|
+
|
101
|
+
<li class="file"><a href="./LICENSE_txt.html">LICENSE</a>
|
102
|
+
|
103
|
+
<li class="file"><a href="./README_md.html">README</a>
|
104
|
+
|
105
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
106
|
+
|
107
|
+
<li class="file"><a href="./doc/Fraccion_html.html">Fraccion.html</a>
|
108
|
+
|
109
|
+
<li class="file"><a href="./doc/Gemfile_html.html">Gemfile.html</a>
|
110
|
+
|
111
|
+
<li class="file"><a href="./doc/Guarfile_html.html">Guarfile.html</a>
|
112
|
+
|
113
|
+
<li class="file"><a href="./doc/LICENSE_txt_html.html">LICENSE_txt.html</a>
|
114
|
+
|
115
|
+
<li class="file"><a href="./doc/Matriz_html.html">Matriz.html</a>
|
116
|
+
|
117
|
+
<li class="file"><a href="./doc/Matriz_densa_html.html">Matriz_densa.html</a>
|
118
|
+
|
119
|
+
<li class="file"><a href="./doc/Matriz_dispersa_html.html">Matriz_dispersa.html</a>
|
120
|
+
|
121
|
+
<li class="file"><a href="./doc/Prct09_html.html">Prct09.html</a>
|
122
|
+
|
123
|
+
<li class="file"><a href="./doc/Rakefile_html.html">Rakefile.html</a>
|
124
|
+
|
125
|
+
<li class="file"><a href="./doc/Test_Matriz_html.html">Test_Matriz.html</a>
|
126
|
+
|
127
|
+
<li class="file"><a href="./doc/bin/prct09_html.html">prct09.html</a>
|
128
|
+
|
129
|
+
<li class="file"><a href="./doc/classes/Fraccion_html.html">Fraccion.html</a>
|
130
|
+
|
131
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000024_html.html">M000024.html</a>
|
132
|
+
|
133
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000025_html.html">M000025.html</a>
|
134
|
+
|
135
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000026_html.html">M000026.html</a>
|
136
|
+
|
137
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000027_html.html">M000027.html</a>
|
138
|
+
|
139
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000028_html.html">M000028.html</a>
|
140
|
+
|
141
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000029_html.html">M000029.html</a>
|
142
|
+
|
143
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000030_html.html">M000030.html</a>
|
144
|
+
|
145
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000031_html.html">M000031.html</a>
|
146
|
+
|
147
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000032_html.html">M000032.html</a>
|
148
|
+
|
149
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000033_html.html">M000033.html</a>
|
150
|
+
|
151
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000034_html.html">M000034.html</a>
|
152
|
+
|
153
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000035_html.html">M000035.html</a>
|
154
|
+
|
155
|
+
<li class="file"><a href="./doc/classes/Fraccion_src/M000036_html.html">M000036.html</a>
|
156
|
+
|
157
|
+
<li class="file"><a href="./doc/classes/Matriz_html.html">Matriz.html</a>
|
158
|
+
|
159
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000015_html.html">M000015.html</a>
|
160
|
+
|
161
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000016_html.html">M000016.html</a>
|
162
|
+
|
163
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000017_html.html">M000017.html</a>
|
164
|
+
|
165
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000018_html.html">M000018.html</a>
|
166
|
+
|
167
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000019_html.html">M000019.html</a>
|
168
|
+
|
169
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000020_html.html">M000020.html</a>
|
170
|
+
|
171
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000021_html.html">M000021.html</a>
|
172
|
+
|
173
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000022_html.html">M000022.html</a>
|
174
|
+
|
175
|
+
<li class="file"><a href="./doc/classes/Matriz_src/M000023_html.html">M000023.html</a>
|
176
|
+
|
177
|
+
<li class="file"><a href="./doc/classes/Matriz_densa_html.html">Matriz_densa.html</a>
|
178
|
+
|
179
|
+
<li class="file"><a href="./doc/classes/Matriz_densa_src/M000010_html.html">M000010.html</a>
|
180
|
+
|
181
|
+
<li class="file"><a href="./doc/classes/Matriz_densa_src/M000011_html.html">M000011.html</a>
|
182
|
+
|
183
|
+
<li class="file"><a href="./doc/classes/Matriz_densa_src/M000012_html.html">M000012.html</a>
|
184
|
+
|
185
|
+
<li class="file"><a href="./doc/classes/Matriz_densa_src/M000013_html.html">M000013.html</a>
|
186
|
+
|
187
|
+
<li class="file"><a href="./doc/classes/Matriz_densa_src/M000014_html.html">M000014.html</a>
|
188
|
+
|
189
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_html.html">Matriz_dispersa.html</a>
|
190
|
+
|
191
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000002_html.html">M000002.html</a>
|
192
|
+
|
193
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000003_html.html">M000003.html</a>
|
194
|
+
|
195
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000004_html.html">M000004.html</a>
|
196
|
+
|
197
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000005_html.html">M000005.html</a>
|
198
|
+
|
199
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000006_html.html">M000006.html</a>
|
200
|
+
|
201
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000007_html.html">M000007.html</a>
|
202
|
+
|
203
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000008_html.html">M000008.html</a>
|
204
|
+
|
205
|
+
<li class="file"><a href="./doc/classes/Matriz_dispersa_src/M000009_html.html">M000009.html</a>
|
206
|
+
|
207
|
+
<li class="file"><a href="./doc/classes/Prct09_html.html">Prct09.html</a>
|
208
|
+
|
209
|
+
<li class="file"><a href="./doc/classes/Test_Matriz_html.html">Test_Matriz.html</a>
|
210
|
+
|
211
|
+
<li class="file"><a href="./doc/classes/Test_Matriz_src/M000037_html.html">M000037.html</a>
|
212
|
+
|
213
|
+
<li class="file"><a href="./doc/classes/Test_Matriz_src/M000038_html.html">M000038.html</a>
|
214
|
+
|
215
|
+
<li class="file"><a href="./doc/classes/Test_Matriz_src/M000039_html.html">M000039.html</a>
|
216
|
+
|
217
|
+
<li class="file"><a href="./doc/classes/Test_Matriz_src/M000040_html.html">M000040.html</a>
|
218
|
+
|
219
|
+
<li class="file"><a href="./doc/created_rid.html">created.rid</a>
|
220
|
+
|
221
|
+
<li class="file"><a href="./doc/files/lib/Fraccion_rb_html.html">Fraccion_rb.html</a>
|
222
|
+
|
223
|
+
<li class="file"><a href="./doc/files/lib/Matriz_densa_rb_html.html">Matriz_densa_rb.html</a>
|
224
|
+
|
225
|
+
<li class="file"><a href="./doc/files/lib/Matriz_dispersa_rb_html.html">Matriz_dispersa_rb.html</a>
|
226
|
+
|
227
|
+
<li class="file"><a href="./doc/files/lib/Matriz_rb_html.html">Matriz_rb.html</a>
|
228
|
+
|
229
|
+
<li class="file"><a href="./doc/files/lib/mcd_rb_html.html">mcd_rb.html</a>
|
230
|
+
|
231
|
+
<li class="file"><a href="./doc/files/lib/mcd_rb_src/M000001_html.html">M000001.html</a>
|
232
|
+
|
233
|
+
<li class="file"><a href="./doc/files/lib/prct09/version_rb_html.html">version_rb.html</a>
|
234
|
+
|
235
|
+
<li class="file"><a href="./doc/files/lib/prct09_rb_html.html">prct09_rb.html</a>
|
236
|
+
|
237
|
+
<li class="file"><a href="./doc/files/spec/Matriz_spec_rb_html.html">Matriz_spec_rb.html</a>
|
238
|
+
|
239
|
+
<li class="file"><a href="./doc/files/test/tc_matriz_rb_html.html">tc_matriz_rb.html</a>
|
240
|
+
|
241
|
+
<li class="file"><a href="./doc/fr_class_index_html.html">fr_class_index.html</a>
|
242
|
+
|
243
|
+
<li class="file"><a href="./doc/fr_file_index_html.html">fr_file_index.html</a>
|
244
|
+
|
245
|
+
<li class="file"><a href="./doc/fr_method_index_html.html">fr_method_index.html</a>
|
246
|
+
|
247
|
+
<li class="file"><a href="./doc/index_html.html">index.html</a>
|
248
|
+
|
249
|
+
<li class="file"><a href="./doc/js/darkfish_js.html">darkfish.js</a>
|
250
|
+
|
251
|
+
<li class="file"><a href="./doc/js/jquery_js.html">jquery.js</a>
|
252
|
+
|
253
|
+
<li class="file"><a href="./doc/js/quicksearch_js.html">quicksearch.js</a>
|
254
|
+
|
255
|
+
<li class="file"><a href="./doc/js/thickbox-compressed_js.html">thickbox-compressed.js</a>
|
256
|
+
|
257
|
+
<li class="file"><a href="./doc/lib/Fraccion_rb_html.html">Fraccion_rb.html</a>
|
258
|
+
|
259
|
+
<li class="file"><a href="./doc/lib/Matriz_densa_rb_html.html">Matriz_densa_rb.html</a>
|
260
|
+
|
261
|
+
<li class="file"><a href="./doc/lib/Matriz_dispersa_rb_html.html">Matriz_dispersa_rb.html</a>
|
262
|
+
|
263
|
+
<li class="file"><a href="./doc/lib/Matriz_rb_html.html">Matriz_rb.html</a>
|
264
|
+
|
265
|
+
<li class="file"><a href="./doc/lib/prct09/version_rb_html.html">version_rb.html</a>
|
266
|
+
|
267
|
+
<li class="file"><a href="./doc/lib/prct09_rb_html.html">prct09_rb.html</a>
|
268
|
+
|
269
|
+
<li class="file"><a href="./doc/rdoc-style_css.html">rdoc-style.css</a>
|
270
|
+
|
271
|
+
<li class="file"><a href="./doc/rdoc_css.html">rdoc.css</a>
|
272
|
+
|
273
|
+
<li class="file"><a href="./doc/spec/Matriz_spec_rb_html.html">Matriz_spec_rb.html</a>
|
274
|
+
|
275
|
+
<li class="file"><a href="./doc/test/tc_matriz_rb_html.html">tc_matriz_rb.html</a>
|
276
|
+
|
277
|
+
<li class="file"><a href="./prct09_gemspec.html">prct09.gemspec</a>
|
278
|
+
|
279
|
+
</ul>
|
280
|
+
</nav>
|
281
|
+
|
282
|
+
<nav id="classindex-section" class="section project-section">
|
283
|
+
<h3 class="section-header">Class and Module Index</h3>
|
284
|
+
|
285
|
+
<ul class="link-list">
|
286
|
+
|
287
|
+
<li><a href="./Dsl.html">Dsl</a>
|
288
|
+
|
289
|
+
<li><a href="./Fraccion.html">Fraccion</a>
|
290
|
+
|
291
|
+
<li><a href="./Matriz.html">Matriz</a>
|
292
|
+
|
293
|
+
<li><a href="./Matriz_densa.html">Matriz_densa</a>
|
294
|
+
|
295
|
+
<li><a href="./Matriz_dispersa.html">Matriz_dispersa</a>
|
296
|
+
|
297
|
+
<li><a href="./Prct09.html">Prct09</a>
|
298
|
+
|
299
|
+
<li><a href="./Test_Matriz.html">Test_Matriz</a>
|
300
|
+
|
301
|
+
</ul>
|
302
|
+
</nav>
|
303
|
+
|
304
|
+
</div>
|
305
|
+
</nav>
|
306
|
+
|
307
|
+
<div id="documentation">
|
308
|
+
<h1 class="class">class Matriz_densa</h1>
|
309
|
+
|
310
|
+
<div id="description" class="description">
|
311
|
+
|
312
|
+
</div><!-- description -->
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
<!-- Methods -->
|
327
|
+
|
328
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
329
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
330
|
+
|
331
|
+
|
332
|
+
<div id="method-i-2A" class="method-detail ">
|
333
|
+
|
334
|
+
<div class="method-heading">
|
335
|
+
<span class="method-name">*</span><span
|
336
|
+
class="method-args">(other)</span>
|
337
|
+
|
338
|
+
<span class="method-click-advice">click to toggle source</span>
|
339
|
+
|
340
|
+
</div>
|
341
|
+
|
342
|
+
|
343
|
+
<div class="method-description">
|
344
|
+
|
345
|
+
<p>Sobrecarga del operador * para operar con matrices densas y dispersas</p>
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
<div class="method-source-code" id="2A-source">
|
351
|
+
<pre><span class="ruby-comment"># File lib/Matriz_densa.rb, line 64</span>
|
352
|
+
<span class="ruby-keyword">def</span> <span class="ruby-operator">*</span> (<span class="ruby-identifier">other</span>)
|
353
|
+
<span class="ruby-identifier">aux_m</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
354
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
355
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
356
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
357
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-value">0</span>;
|
358
|
+
<span class="ruby-keyword">end</span>
|
359
|
+
<span class="ruby-keyword">end</span>
|
360
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Matriz_dispersa</span>)
|
361
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
362
|
+
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
363
|
+
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
|
364
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">matriz</span>[<span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-string">"_"</span><span class="ruby-operator">+</span><span class="ruby-identifier">j</span>.<span class="ruby-identifier">to_s</span>] <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
365
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] <span class="ruby-operator">+=</span> <span class="ruby-ivar">@matriz</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">matriz</span>[<span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-string">"_"</span><span class="ruby-operator">+</span><span class="ruby-identifier">j</span>.<span class="ruby-identifier">to_s</span>]
|
366
|
+
<span class="ruby-keyword">end</span>
|
367
|
+
<span class="ruby-keyword">end</span>
|
368
|
+
<span class="ruby-keyword">end</span>
|
369
|
+
<span class="ruby-keyword">end</span>
|
370
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Matriz_densa</span>)
|
371
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
372
|
+
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
373
|
+
<span class="ruby-identifier">other</span>.<span class="ruby-identifier">filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
|
374
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] <span class="ruby-operator">+=</span> <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">k</span>] <span class="ruby-operator">*</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">matriz</span>[<span class="ruby-identifier">k</span>][<span class="ruby-identifier">j</span>]
|
375
|
+
<span class="ruby-keyword">end</span>
|
376
|
+
<span class="ruby-keyword">end</span>
|
377
|
+
<span class="ruby-keyword">end</span>
|
378
|
+
<span class="ruby-keyword">end</span>
|
379
|
+
<span class="ruby-constant">Matriz</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">aux_m</span>).<span class="ruby-identifier">comprobar</span>()
|
380
|
+
<span class="ruby-keyword">end</span></pre>
|
381
|
+
</div><!-- 2A-source -->
|
382
|
+
|
383
|
+
</div>
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
</div><!-- 2A-method -->
|
389
|
+
|
390
|
+
|
391
|
+
<div id="method-i-2B" class="method-detail ">
|
392
|
+
|
393
|
+
<div class="method-heading">
|
394
|
+
<span class="method-name">+</span><span
|
395
|
+
class="method-args">(other)</span>
|
396
|
+
|
397
|
+
<span class="method-click-advice">click to toggle source</span>
|
398
|
+
|
399
|
+
</div>
|
400
|
+
|
401
|
+
|
402
|
+
<div class="method-description">
|
403
|
+
|
404
|
+
<p>Sobrecarga del operador + para operar con matrices densas y dispersas</p>
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
<div class="method-source-code" id="2B-source">
|
410
|
+
<pre><span class="ruby-comment"># File lib/Matriz_densa.rb, line 6</span>
|
411
|
+
<span class="ruby-keyword">def</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">other</span>)
|
412
|
+
<span class="ruby-identifier">aux_m</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
413
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
414
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
415
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
416
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-value">0</span>;
|
417
|
+
<span class="ruby-keyword">end</span>
|
418
|
+
<span class="ruby-keyword">end</span>
|
419
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Matriz_dispersa</span>)
|
420
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
421
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
422
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">matriz</span>[<span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-string">"_"</span><span class="ruby-operator">+</span><span class="ruby-identifier">j</span>.<span class="ruby-identifier">to_s</span>] <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
423
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@matriz</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">matriz</span>[<span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-string">"_"</span><span class="ruby-operator">+</span><span class="ruby-identifier">j</span>.<span class="ruby-identifier">to_s</span>]
|
424
|
+
<span class="ruby-keyword">else</span>
|
425
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
426
|
+
<span class="ruby-keyword">end</span>
|
427
|
+
<span class="ruby-keyword">end</span>
|
428
|
+
<span class="ruby-keyword">end</span>
|
429
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Matriz_densa</span>)
|
430
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
431
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
432
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@matriz</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">matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
433
|
+
<span class="ruby-keyword">end</span>
|
434
|
+
<span class="ruby-keyword">end</span>
|
435
|
+
<span class="ruby-keyword">end</span>
|
436
|
+
<span class="ruby-constant">Matriz</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">aux_m</span>).<span class="ruby-identifier">comprobar</span>()
|
437
|
+
<span class="ruby-keyword">end</span></pre>
|
438
|
+
</div><!-- 2B-source -->
|
439
|
+
|
440
|
+
</div>
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
</div><!-- 2B-method -->
|
446
|
+
|
447
|
+
|
448
|
+
<div id="method-i-2D" class="method-detail ">
|
449
|
+
|
450
|
+
<div class="method-heading">
|
451
|
+
<span class="method-name">-</span><span
|
452
|
+
class="method-args">(other)</span>
|
453
|
+
|
454
|
+
<span class="method-click-advice">click to toggle source</span>
|
455
|
+
|
456
|
+
</div>
|
457
|
+
|
458
|
+
|
459
|
+
<div class="method-description">
|
460
|
+
|
461
|
+
<p>Sobrecarga del operador - para operar con matrices densas y dispersas</p>
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
<div class="method-source-code" id="2D-source">
|
467
|
+
<pre><span class="ruby-comment"># File lib/Matriz_densa.rb, line 35</span>
|
468
|
+
<span class="ruby-keyword">def</span> <span class="ruby-operator">-</span> (<span class="ruby-identifier">other</span>)
|
469
|
+
<span class="ruby-identifier">aux_m</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
470
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
471
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>] = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
472
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
473
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-value">0</span>;
|
474
|
+
<span class="ruby-keyword">end</span>
|
475
|
+
<span class="ruby-keyword">end</span>
|
476
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Matriz_dispersa</span>)
|
477
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
478
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
479
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">matriz</span>[<span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-string">"_"</span><span class="ruby-operator">+</span><span class="ruby-identifier">j</span>.<span class="ruby-identifier">to_s</span>] <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
480
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@matriz</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">matriz</span>[<span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-string">"_"</span><span class="ruby-operator">+</span><span class="ruby-identifier">j</span>.<span class="ruby-identifier">to_s</span>]
|
481
|
+
<span class="ruby-keyword">else</span>
|
482
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
483
|
+
<span class="ruby-keyword">end</span>
|
484
|
+
<span class="ruby-keyword">end</span>
|
485
|
+
<span class="ruby-keyword">end</span>
|
486
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Matriz_densa</span>)
|
487
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
488
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
489
|
+
<span class="ruby-identifier">aux_m</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>] = <span class="ruby-ivar">@matriz</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">matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
490
|
+
<span class="ruby-keyword">end</span>
|
491
|
+
<span class="ruby-keyword">end</span>
|
492
|
+
<span class="ruby-keyword">end</span>
|
493
|
+
<span class="ruby-constant">Matriz</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">aux_m</span>).<span class="ruby-identifier">comprobar</span>()
|
494
|
+
<span class="ruby-keyword">end</span></pre>
|
495
|
+
</div><!-- 2D-source -->
|
496
|
+
|
497
|
+
</div>
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
</div><!-- 2D-method -->
|
503
|
+
|
504
|
+
|
505
|
+
<div id="method-i-max" class="method-detail ">
|
506
|
+
|
507
|
+
<div class="method-heading">
|
508
|
+
<span class="method-name">max</span><span
|
509
|
+
class="method-args">()</span>
|
510
|
+
|
511
|
+
<span class="method-click-advice">click to toggle source</span>
|
512
|
+
|
513
|
+
</div>
|
514
|
+
|
515
|
+
|
516
|
+
<div class="method-description">
|
517
|
+
|
518
|
+
<p>Calcula el máximo de una matriz densa</p>
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
<div class="method-source-code" id="max-source">
|
524
|
+
<pre><span class="ruby-comment"># File lib/Matriz_densa.rb, line 95</span>
|
525
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">max</span>()
|
526
|
+
|
527
|
+
<span class="ruby-identifier">aux_max</span> = <span class="ruby-ivar">@matriz</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
528
|
+
|
529
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
530
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
531
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">aux_max</span> <span class="ruby-operator"><</span> <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
532
|
+
<span class="ruby-identifier">aux_max</span> = <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
533
|
+
<span class="ruby-keyword">end</span>
|
534
|
+
<span class="ruby-keyword">end</span>
|
535
|
+
<span class="ruby-keyword">end</span>
|
536
|
+
|
537
|
+
<span class="ruby-identifier">aux_max</span>
|
538
|
+
<span class="ruby-keyword">end</span></pre>
|
539
|
+
</div><!-- max-source -->
|
540
|
+
|
541
|
+
</div>
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
|
546
|
+
</div><!-- max-method -->
|
547
|
+
|
548
|
+
|
549
|
+
<div id="method-i-min" class="method-detail ">
|
550
|
+
|
551
|
+
<div class="method-heading">
|
552
|
+
<span class="method-name">min</span><span
|
553
|
+
class="method-args">()</span>
|
554
|
+
|
555
|
+
<span class="method-click-advice">click to toggle source</span>
|
556
|
+
|
557
|
+
</div>
|
558
|
+
|
559
|
+
|
560
|
+
<div class="method-description">
|
561
|
+
|
562
|
+
<p>Calcula el mínimo de una matriz densa</p>
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
<div class="method-source-code" id="min-source">
|
568
|
+
<pre><span class="ruby-comment"># File lib/Matriz_densa.rb, line 111</span>
|
569
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">min</span>()
|
570
|
+
|
571
|
+
<span class="ruby-identifier">aux_min</span> = <span class="ruby-ivar">@matriz</span>[<span class="ruby-value">0</span>][<span class="ruby-value">0</span>]
|
572
|
+
|
573
|
+
<span class="ruby-ivar">@filas</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
574
|
+
<span class="ruby-ivar">@cols</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span>
|
575
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">aux_min</span> <span class="ruby-operator">></span> <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
576
|
+
<span class="ruby-identifier">aux_min</span> = <span class="ruby-ivar">@matriz</span>[<span class="ruby-identifier">i</span>][<span class="ruby-identifier">j</span>]
|
577
|
+
<span class="ruby-keyword">end</span>
|
578
|
+
<span class="ruby-keyword">end</span>
|
579
|
+
<span class="ruby-keyword">end</span>
|
580
|
+
|
581
|
+
<span class="ruby-identifier">aux_min</span>
|
582
|
+
<span class="ruby-keyword">end</span></pre>
|
583
|
+
</div><!-- min-source -->
|
584
|
+
|
585
|
+
</div>
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
</div><!-- min-method -->
|
591
|
+
|
592
|
+
|
593
|
+
</section><!-- public-instance-method-details -->
|
594
|
+
|
595
|
+
</section><!-- 5Buntitled-5D -->
|
596
|
+
|
597
|
+
</div><!-- documentation -->
|
598
|
+
|
599
|
+
|
600
|
+
<footer id="validator-badges">
|
601
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
602
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
|
603
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
604
|
+
</footer>
|
605
|
+
|