modai_prct12 0.0.22

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 (84) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.travis.yml +6 -0
  4. data/Gemfile +9 -0
  5. data/Guardfile +346 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +31 -0
  8. data/Rakefile +6 -0
  9. data/documentacion/classes/MatrizAbstracta.html +144 -0
  10. data/documentacion/classes/MatrizAbstracta.src/M000032.html +21 -0
  11. data/documentacion/classes/MatrizDSL.html +212 -0
  12. data/documentacion/classes/MatrizDSL.src/M000028.html +36 -0
  13. data/documentacion/classes/MatrizDSL.src/M000029.html +20 -0
  14. data/documentacion/classes/MatrizDSL.src/M000030.html +27 -0
  15. data/documentacion/classes/MatrizDSL.src/M000031.html +40 -0
  16. data/documentacion/classes/MatrizDensa.html +345 -0
  17. data/documentacion/classes/MatrizDensa.src/M000016.html +18 -0
  18. data/documentacion/classes/MatrizDensa.src/M000017.html +37 -0
  19. data/documentacion/classes/MatrizDensa.src/M000018.html +27 -0
  20. data/documentacion/classes/MatrizDensa.src/M000019.html +44 -0
  21. data/documentacion/classes/MatrizDensa.src/M000020.html +41 -0
  22. data/documentacion/classes/MatrizDensa.src/M000021.html +29 -0
  23. data/documentacion/classes/MatrizDensa.src/M000022.html +37 -0
  24. data/documentacion/classes/MatrizDensa.src/M000023.html +28 -0
  25. data/documentacion/classes/MatrizDensa.src/M000024.html +28 -0
  26. data/documentacion/classes/MatrizDensa.src/M000025.html +35 -0
  27. data/documentacion/classes/MatrizDensa.src/M000026.html +18 -0
  28. data/documentacion/classes/MatrizDensa.src/M000027.html +37 -0
  29. data/documentacion/classes/MatrizDispersa.html +314 -0
  30. data/documentacion/classes/MatrizDispersa.src/M000033.html +22 -0
  31. data/documentacion/classes/MatrizDispersa.src/M000034.html +49 -0
  32. data/documentacion/classes/MatrizDispersa.src/M000035.html +33 -0
  33. data/documentacion/classes/MatrizDispersa.src/M000036.html +64 -0
  34. data/documentacion/classes/MatrizDispersa.src/M000037.html +66 -0
  35. data/documentacion/classes/MatrizDispersa.src/M000038.html +53 -0
  36. data/documentacion/classes/MatrizDispersa.src/M000039.html +31 -0
  37. data/documentacion/classes/MatrizDispersa.src/M000040.html +31 -0
  38. data/documentacion/classes/MatrizDispersa.src/M000041.html +35 -0
  39. data/documentacion/classes/MatrizDispersa.src/M000042.html +18 -0
  40. data/documentacion/classes/ModaiPrct12.html +147 -0
  41. data/documentacion/classes/Racional.html +380 -0
  42. data/documentacion/classes/Racional.src/M000002.html +24 -0
  43. data/documentacion/classes/Racional.src/M000003.html +18 -0
  44. data/documentacion/classes/Racional.src/M000004.html +22 -0
  45. data/documentacion/classes/Racional.src/M000005.html +18 -0
  46. data/documentacion/classes/Racional.src/M000006.html +18 -0
  47. data/documentacion/classes/Racional.src/M000007.html +18 -0
  48. data/documentacion/classes/Racional.src/M000008.html +18 -0
  49. data/documentacion/classes/Racional.src/M000009.html +23 -0
  50. data/documentacion/classes/Racional.src/M000010.html +23 -0
  51. data/documentacion/classes/Racional.src/M000011.html +23 -0
  52. data/documentacion/classes/Racional.src/M000012.html +23 -0
  53. data/documentacion/classes/Racional.src/M000013.html +23 -0
  54. data/documentacion/classes/Racional.src/M000014.html +19 -0
  55. data/documentacion/classes/Racional.src/M000015.html +18 -0
  56. data/documentacion/created.rid +1 -0
  57. data/documentacion/files/lib/modai_prct12/gcd_rb.html +132 -0
  58. data/documentacion/files/lib/modai_prct12/gcd_rb.src/M000001.html +22 -0
  59. data/documentacion/files/lib/modai_prct12/matrizAbstracta_rb.html +108 -0
  60. data/documentacion/files/lib/modai_prct12/matrizDSL_rb.html +105 -0
  61. data/documentacion/files/lib/modai_prct12/matrizDensa_rb.html +105 -0
  62. data/documentacion/files/lib/modai_prct12/matrizDispersa_rb.html +106 -0
  63. data/documentacion/files/lib/modai_prct12/racional_rb.html +114 -0
  64. data/documentacion/files/lib/modai_prct12/version_rb.html +101 -0
  65. data/documentacion/files/lib/modai_prct12_rb.html +112 -0
  66. data/documentacion/files/spec/modai_prct12_spec_rb.html +116 -0
  67. data/documentacion/files/spec/spec_helper_rb.html +114 -0
  68. data/documentacion/fr_class_index.html +32 -0
  69. data/documentacion/fr_file_index.html +36 -0
  70. data/documentacion/fr_method_index.html +68 -0
  71. data/documentacion/index.html +24 -0
  72. data/documentacion/rdoc-style.css +208 -0
  73. data/lib/modai_prct12.rb +26 -0
  74. data/lib/modai_prct12/gcd.rb +9 -0
  75. data/lib/modai_prct12/matrizAbstracta.rb +30 -0
  76. data/lib/modai_prct12/matrizDSL.rb +120 -0
  77. data/lib/modai_prct12/matrizDensa.rb +232 -0
  78. data/lib/modai_prct12/matrizDispersa.rb +280 -0
  79. data/lib/modai_prct12/racional.rb +121 -0
  80. data/lib/modai_prct12/version.rb +3 -0
  81. data/modai_prct12.gemspec +23 -0
  82. data/spec/modai_prct12_spec.rb +251 -0
  83. data/spec/spec_helper.rb +17 -0
  84. metadata +157 -0
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: matrizDSL.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>matrizDSL.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/modai_prct12/matrizDSL.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Dec 11 10:19:44 +0000 2013</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <h1>Clase de Matriz DSL</h1>
73
+
74
+ </div>
75
+
76
+
77
+ </div>
78
+
79
+
80
+ </div>
81
+
82
+
83
+ <!-- if includes -->
84
+
85
+ <div id="section">
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <!-- if method_list -->
95
+
96
+
97
+ </div>
98
+
99
+
100
+ <div id="validator-badges">
101
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
102
+ </div>
103
+
104
+ </body>
105
+ </html>
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: matrizDensa.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>matrizDensa.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/modai_prct12/matrizDensa.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Dec 11 10:19:44 +0000 2013</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <h1>Clase de Matriz densa</h1>
73
+
74
+ </div>
75
+
76
+
77
+ </div>
78
+
79
+
80
+ </div>
81
+
82
+
83
+ <!-- if includes -->
84
+
85
+ <div id="section">
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <!-- if method_list -->
95
+
96
+
97
+ </div>
98
+
99
+
100
+ <div id="validator-badges">
101
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
102
+ </div>
103
+
104
+ </body>
105
+ </html>
@@ -0,0 +1,106 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: matrizDispersa.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>matrizDispersa.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/modai_prct12/matrizDispersa.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Dec 11 10:19:44 +0000 2013</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <h1>La clase de Matriz dispersa,</h1>
73
+ <h2>Una matriz se considerará dispersa si tiene más de un 60% de ceros.</h2>
74
+
75
+ </div>
76
+
77
+
78
+ </div>
79
+
80
+
81
+ </div>
82
+
83
+
84
+ <!-- if includes -->
85
+
86
+ <div id="section">
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <!-- if method_list -->
96
+
97
+
98
+ </div>
99
+
100
+
101
+ <div id="validator-badges">
102
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
103
+ </div>
104
+
105
+ </body>
106
+ </html>
@@ -0,0 +1,114 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: racional.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>racional.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/modai_prct12/racional.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Dec 11 10:19:44 +0000 2013</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ racional.rb
74
+ </p>
75
+
76
+ </div>
77
+
78
+ <div id="requires-list">
79
+ <h3 class="section-bar">Required files</h3>
80
+
81
+ <div class="name-list">
82
+ ./lib/modai_prct12/gcd.rb&nbsp;&nbsp;
83
+ </div>
84
+ </div>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+
92
+ <!-- if includes -->
93
+
94
+ <div id="section">
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <!-- if method_list -->
104
+
105
+
106
+ </div>
107
+
108
+
109
+ <div id="validator-badges">
110
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
111
+ </div>
112
+
113
+ </body>
114
+ </html>
@@ -0,0 +1,101 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: version.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>version.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/modai_prct12/version.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Dec 11 10:28:59 +0000 2013</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>