eymiha_math3 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/gem_package.rb +1 -2
  2. data/lib/eymiha_math3.rb +1 -0
  3. metadata +56 -186
  4. data/html/classes/Eymiha/Envelope3.html +0 -333
  5. data/html/classes/Eymiha/Envelope3.src/M000044.html +0 -22
  6. data/html/classes/Eymiha/Envelope3.src/M000045.html +0 -19
  7. data/html/classes/Eymiha/Envelope3.src/M000046.html +0 -36
  8. data/html/classes/Eymiha/Envelope3.src/M000047.html +0 -19
  9. data/html/classes/Eymiha/Envelope3.src/M000048.html +0 -19
  10. data/html/classes/Eymiha/Envelope3.src/M000049.html +0 -26
  11. data/html/classes/Eymiha/Point3.html +0 -962
  12. data/html/classes/Eymiha/Point3.src/M000064.html +0 -18
  13. data/html/classes/Eymiha/Point3.src/M000065.html +0 -18
  14. data/html/classes/Eymiha/Point3.src/M000066.html +0 -18
  15. data/html/classes/Eymiha/Point3.src/M000067.html +0 -25
  16. data/html/classes/Eymiha/Point3.src/M000068.html +0 -18
  17. data/html/classes/Eymiha/Point3.src/M000069.html +0 -20
  18. data/html/classes/Eymiha/Point3.src/M000071.html +0 -18
  19. data/html/classes/Eymiha/Point3.src/M000072.html +0 -18
  20. data/html/classes/Eymiha/Point3.src/M000073.html +0 -18
  21. data/html/classes/Eymiha/Point3.src/M000074.html +0 -18
  22. data/html/classes/Eymiha/Point3.src/M000075.html +0 -18
  23. data/html/classes/Eymiha/Point3.src/M000076.html +0 -18
  24. data/html/classes/Eymiha/Point3.src/M000077.html +0 -19
  25. data/html/classes/Eymiha/Point3.src/M000078.html +0 -18
  26. data/html/classes/Eymiha/Point3.src/M000079.html +0 -18
  27. data/html/classes/Eymiha/Point3.src/M000080.html +0 -18
  28. data/html/classes/Eymiha/Point3.src/M000081.html +0 -18
  29. data/html/classes/Eymiha/Point3.src/M000082.html +0 -18
  30. data/html/classes/Eymiha/Point3.src/M000083.html +0 -18
  31. data/html/classes/Eymiha/Point3.src/M000085.html +0 -24
  32. data/html/classes/Eymiha/Point3.src/M000086.html +0 -18
  33. data/html/classes/Eymiha/Point3.src/M000088.html +0 -24
  34. data/html/classes/Eymiha/Point3.src/M000089.html +0 -18
  35. data/html/classes/Eymiha/Point3.src/M000091.html +0 -24
  36. data/html/classes/Eymiha/Point3.src/M000092.html +0 -18
  37. data/html/classes/Eymiha/Point3.src/M000093.html +0 -24
  38. data/html/classes/Eymiha/Point3.src/M000094.html +0 -18
  39. data/html/classes/Eymiha/Point3.src/M000095.html +0 -18
  40. data/html/classes/Eymiha/Point3.src/M000096.html +0 -18
  41. data/html/classes/Eymiha/Point3.src/M000097.html +0 -30
  42. data/html/classes/Eymiha/Point3.src/M000098.html +0 -19
  43. data/html/classes/Eymiha/Point3c.html +0 -493
  44. data/html/classes/Eymiha/Point3c.src/M000050.html +0 -18
  45. data/html/classes/Eymiha/Point3c.src/M000051.html +0 -18
  46. data/html/classes/Eymiha/Point3c.src/M000052.html +0 -18
  47. data/html/classes/Eymiha/Point3c.src/M000053.html +0 -25
  48. data/html/classes/Eymiha/Point3c.src/M000054.html +0 -19
  49. data/html/classes/Eymiha/Point3c.src/M000055.html +0 -22
  50. data/html/classes/Eymiha/Point3c.src/M000057.html +0 -18
  51. data/html/classes/Eymiha/Point3c.src/M000058.html +0 -18
  52. data/html/classes/Eymiha/Point3c.src/M000059.html +0 -18
  53. data/html/classes/Eymiha/Point3c.src/M000060.html +0 -18
  54. data/html/classes/Eymiha/Point3c.src/M000061.html +0 -18
  55. data/html/classes/Eymiha/Point3c.src/M000062.html +0 -18
  56. data/html/classes/Eymiha/Point3c.src/M000063.html +0 -19
  57. data/html/classes/Eymiha/Point3s.html +0 -512
  58. data/html/classes/Eymiha/Point3s.src/M000099.html +0 -18
  59. data/html/classes/Eymiha/Point3s.src/M000100.html +0 -18
  60. data/html/classes/Eymiha/Point3s.src/M000101.html +0 -18
  61. data/html/classes/Eymiha/Point3s.src/M000102.html +0 -18
  62. data/html/classes/Eymiha/Point3s.src/M000103.html +0 -26
  63. data/html/classes/Eymiha/Point3s.src/M000104.html +0 -19
  64. data/html/classes/Eymiha/Point3s.src/M000105.html +0 -21
  65. data/html/classes/Eymiha/Point3s.src/M000107.html +0 -18
  66. data/html/classes/Eymiha/Point3s.src/M000108.html +0 -18
  67. data/html/classes/Eymiha/Point3s.src/M000109.html +0 -18
  68. data/html/classes/Eymiha/Point3s.src/M000110.html +0 -18
  69. data/html/classes/Eymiha/Point3s.src/M000111.html +0 -18
  70. data/html/classes/Eymiha/Point3s.src/M000112.html +0 -18
  71. data/html/classes/Eymiha/Point3s.src/M000113.html +0 -18
  72. data/html/classes/Eymiha/Quaternion.html +0 -791
  73. data/html/classes/Eymiha/Quaternion.src/M000016.html +0 -18
  74. data/html/classes/Eymiha/Quaternion.src/M000017.html +0 -18
  75. data/html/classes/Eymiha/Quaternion.src/M000018.html +0 -26
  76. data/html/classes/Eymiha/Quaternion.src/M000019.html +0 -18
  77. data/html/classes/Eymiha/Quaternion.src/M000020.html +0 -19
  78. data/html/classes/Eymiha/Quaternion.src/M000022.html +0 -18
  79. data/html/classes/Eymiha/Quaternion.src/M000023.html +0 -20
  80. data/html/classes/Eymiha/Quaternion.src/M000024.html +0 -22
  81. data/html/classes/Eymiha/Quaternion.src/M000025.html +0 -18
  82. data/html/classes/Eymiha/Quaternion.src/M000027.html +0 -25
  83. data/html/classes/Eymiha/Quaternion.src/M000028.html +0 -18
  84. data/html/classes/Eymiha/Quaternion.src/M000030.html +0 -25
  85. data/html/classes/Eymiha/Quaternion.src/M000031.html +0 -18
  86. data/html/classes/Eymiha/Quaternion.src/M000033.html +0 -30
  87. data/html/classes/Eymiha/Quaternion.src/M000034.html +0 -18
  88. data/html/classes/Eymiha/Quaternion.src/M000035.html +0 -24
  89. data/html/classes/Eymiha/Quaternion.src/M000036.html +0 -18
  90. data/html/classes/Eymiha/Quaternion.src/M000037.html +0 -18
  91. data/html/classes/Eymiha/Quaternion.src/M000038.html +0 -18
  92. data/html/classes/Eymiha/Quaternion.src/M000039.html +0 -18
  93. data/html/classes/Eymiha/Quaternion.src/M000040.html +0 -18
  94. data/html/classes/Eymiha/Quaternion.src/M000041.html +0 -19
  95. data/html/classes/Eymiha/Quaternion.src/M000042.html +0 -18
  96. data/html/classes/Eymiha/Quaternion.src/M000043.html +0 -25
  97. data/html/classes/Eymiha/ThreeDimensions.html +0 -297
  98. data/html/classes/Eymiha/ThreeDimensions.src/M000006.html +0 -18
  99. data/html/classes/Eymiha/ThreeDimensions.src/M000007.html +0 -18
  100. data/html/classes/Eymiha/ThreeDimensions.src/M000008.html +0 -18
  101. data/html/classes/Eymiha/ThreeDimensions.src/M000009.html +0 -18
  102. data/html/classes/Eymiha/ThreeDimensions.src/M000010.html +0 -18
  103. data/html/classes/Eymiha/ThreeDimensions.src/M000011.html +0 -18
  104. data/html/classes/Eymiha/ThreeDimensions.src/M000012.html +0 -18
  105. data/html/classes/Eymiha/ThreeDimensions.src/M000013.html +0 -18
  106. data/html/classes/Eymiha/ThreeDimensions.src/M000014.html +0 -18
  107. data/html/classes/Eymiha/ThreeDimensions.src/M000015.html +0 -18
  108. data/html/classes/Eymiha.html +0 -143
  109. data/html/classes/Numeric.html +0 -167
  110. data/html/classes/Numeric.src/M000001.html +0 -18
  111. data/html/classes/Numeric.src/M000002.html +0 -18
  112. data/html/classes/Object.html +0 -187
  113. data/html/classes/Object.src/M000003.html +0 -18
  114. data/html/classes/Object.src/M000004.html +0 -18
  115. data/html/classes/Object.src/M000005.html +0 -18
  116. data/html/created.rid +0 -1
  117. data/html/files/lib/eymiha/math3/envelope3_rb.html +0 -109
  118. data/html/files/lib/eymiha/math3/math3_rb.html +0 -109
  119. data/html/files/lib/eymiha/math3/point3_rb.html +0 -108
  120. data/html/files/lib/eymiha/math3/point3c_rb.html +0 -108
  121. data/html/files/lib/eymiha/math3/point3s_rb.html +0 -108
  122. data/html/files/lib/eymiha/math3/quaternion_rb.html +0 -108
  123. data/html/files/lib/eymiha/math3_rb.html +0 -113
  124. data/html/fr_class_index.html +0 -35
  125. data/html/fr_file_index.html +0 -33
  126. data/html/fr_method_index.html +0 -139
  127. data/html/index.html +0 -24
  128. data/html/rdoc-style.css +0 -208
  129. data/lib/#envelope3.rb# +0 -96
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>new (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 30</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-identifier">set</span> <span class="ruby-identifier">axis</span>, <span class="ruby-identifier">real</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>to_s (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 35</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
15
- <span class="ruby-node">&quot;Quaternion: axis: x #{axis.x} y #{axis.y} z #{axis.z} real #{real}&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,26 +0,0 @@
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>
7
- <head>
8
- <title>set (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 44</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Quaternion</span>
16
- <span class="ruby-identifier">set</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">axis</span>, <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">real</span>
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">point3_like?</span>
18
- (<span class="ruby-ivar">@axis</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">point3</span>).<span class="ruby-identifier">set</span>(<span class="ruby-identifier">axis</span>)
19
- <span class="ruby-ivar">@real</span> = <span class="ruby-identifier">real</span>
20
- <span class="ruby-keyword kw">else</span>
21
- <span class="ruby-identifier">raise_no_conversion</span>(<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>,<span class="ruby-identifier">axis</span>)
22
- <span class="ruby-keyword kw">end</span>
23
- <span class="ruby-keyword kw">self</span>
24
- <span class="ruby-keyword kw">end</span></pre>
25
- </body>
26
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>== (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 58</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">quaternion</span>)
15
- (<span class="ruby-ivar">@axis</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">axis</span>)<span class="ruby-operator">&amp;&amp;</span>(<span class="ruby-ivar">@real</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,19 +0,0 @@
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>
7
- <head>
8
- <title>approximately_equals? (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 65</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">quaternion</span>,<span class="ruby-identifier">epsilon</span>=<span class="ruby-constant">Numeric</span>.<span class="ruby-identifier">epsilon</span>)
15
- (<span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">epsilon</span>)<span class="ruby-operator">&amp;&amp;</span>
16
- <span class="ruby-ivar">@real</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">real</span>,<span class="ruby-identifier">epsilon</span>))
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>quaternion (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 76</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quaternion</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">real</span>)
15
- <span class="ruby-constant">Quaternion</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,20 +0,0 @@
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>
7
- <head>
8
- <title>from_axis_angle (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 81</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Quaternion</span>.<span class="ruby-identifier">from_axis_angle</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">angle</span>)
15
- <span class="ruby-identifier">half_angle</span> = <span class="ruby-identifier">angle</span><span class="ruby-operator">/</span><span class="ruby-value">2.0</span>
16
- <span class="ruby-constant">Quaternion</span>.<span class="ruby-identifier">new</span> <span class="ruby-constant">Point3</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">axis</span>).<span class="ruby-identifier">scale</span>(<span class="ruby-constant">Math</span>.<span class="ruby-identifier">sin</span>(<span class="ruby-identifier">half_angle</span>)),
17
- <span class="ruby-constant">Math</span>.<span class="ruby-identifier">cos</span>(<span class="ruby-identifier">half_angle</span>)
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </body>
20
- </html>
@@ -1,22 +0,0 @@
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>
7
- <head>
8
- <title>to_axis_angle (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 88</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_axis_angle</span>
15
- <span class="ruby-identifier">half_angle</span> = <span class="ruby-constant">Math</span>.<span class="ruby-identifier">acos</span>(<span class="ruby-ivar">@real</span>)
16
- <span class="ruby-identifier">sin_half_angle</span> = <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sin</span>(<span class="ruby-identifier">half_angle</span>)
17
- <span class="ruby-identifier">axis</span> = (<span class="ruby-identifier">sin_half_angle</span>.<span class="ruby-identifier">abs</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span><span class="ruby-value">.00000001</span>)<span class="ruby-operator">?</span>
18
- <span class="ruby-constant">Point3</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">1</span>,<span class="ruby-value">0</span>,<span class="ruby-value">0</span>) <span class="ruby-operator">:</span> <span class="ruby-constant">Point3</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@axis</span>).<span class="ruby-identifier">scale!</span>(<span class="ruby-value">1.0</span><span class="ruby-operator">/</span><span class="ruby-identifier">sin_half_angle</span>)
19
- <span class="ruby-constant">Quaternion</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-value">2.0</span><span class="ruby-operator">*</span><span class="ruby-identifier">half_angle</span>)
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>add (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 101</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">add!</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +0,0 @@
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>
7
- <head>
8
- <title>add! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 108</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add!</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Quaternion</span>
16
- <span class="ruby-identifier">add!</span>(<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">real</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">set</span>(<span class="ruby-ivar">@axis</span><span class="ruby-operator">+</span><span class="ruby-identifier">axis</span>,<span class="ruby-ivar">@real</span><span class="ruby-operator">+</span><span class="ruby-identifier">real</span>)
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">axis</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">self</span>
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>subtract (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 124</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">subtract</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">subtract!</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +0,0 @@
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>
7
- <head>
8
- <title>subtract! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 131</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">subtract!</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Quaternion</span>
16
- <span class="ruby-identifier">subtract!</span>(<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">real</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">set</span>(<span class="ruby-ivar">@axis</span><span class="ruby-operator">-</span><span class="ruby-identifier">axis</span>,<span class="ruby-ivar">@real</span><span class="ruby-operator">-</span><span class="ruby-identifier">real</span>)
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">axis</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">self</span>
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>multiply (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 147</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">multiply</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">multiply!</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,30 +0,0 @@
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>
7
- <head>
8
- <title>multiply! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 154</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">multiply!</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Quaternion</span>
16
- <span class="ruby-identifier">multiply!</span>(<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">real</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">r</span> = (<span class="ruby-ivar">@real</span><span class="ruby-operator">*</span><span class="ruby-identifier">real</span>)<span class="ruby-operator">-</span><span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">dot</span>(<span class="ruby-identifier">axis</span>)
19
- <span class="ruby-identifier">p3</span> = <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">scale</span> <span class="ruby-identifier">r</span>
20
- <span class="ruby-identifier">qp3</span> = <span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">scale</span> <span class="ruby-identifier">real</span>
21
- <span class="ruby-identifier">cross</span> = <span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">cross</span> <span class="ruby-identifier">axis</span>
22
- <span class="ruby-identifier">a</span> = <span class="ruby-identifier">p3</span>.<span class="ruby-identifier">add!</span>(<span class="ruby-identifier">qp3</span>).<span class="ruby-identifier">add!</span>(<span class="ruby-identifier">cross</span>)
23
- <span class="ruby-identifier">set</span>(<span class="ruby-identifier">a</span>,<span class="ruby-identifier">r</span>)
24
- <span class="ruby-keyword kw">else</span>
25
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">axis</span>
26
- <span class="ruby-keyword kw">end</span>
27
- <span class="ruby-keyword kw">self</span>
28
- <span class="ruby-keyword kw">end</span></pre>
29
- </body>
30
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>scale (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 175</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scale</span>(<span class="ruby-identifier">scalar</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">scale!</span>(<span class="ruby-identifier">scalar</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,24 +0,0 @@
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>
7
- <head>
8
- <title>scale! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 180</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scale!</span>(<span class="ruby-identifier">scalar</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">scalar</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Quaternion</span>)
16
- <span class="ruby-identifier">multiply!</span>(<span class="ruby-identifier">scalar</span>)
17
- <span class="ruby-keyword kw">elsif</span> (<span class="ruby-identifier">scalar</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Numeric</span>)
18
- <span class="ruby-identifier">set</span>(<span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">scale</span>(<span class="ruby-identifier">scalar</span>),<span class="ruby-ivar">@real</span><span class="ruby-operator">*</span><span class="ruby-identifier">scalar</span>)
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">scalar</span>, <span class="ruby-value str">&quot;Numeric&quot;</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>conjugate (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 192</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conjugate</span>
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">conjugate!</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>conjugate! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 197</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conjugate!</span>
15
- <span class="ruby-identifier">set</span>(<span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">mirror</span>,<span class="ruby-ivar">@real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>norm (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 202</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">norm</span>
15
- (<span class="ruby-ivar">@real</span> <span class="ruby-operator">*</span> <span class="ruby-ivar">@real</span>) <span class="ruby-operator">+</span> <span class="ruby-ivar">@axis</span>.<span class="ruby-identifier">modulus</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>abs (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 207</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abs</span>
15
- <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>(<span class="ruby-identifier">norm</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>inverse (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 213</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inverse</span>
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">inverse!</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,19 +0,0 @@
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>
7
- <head>
8
- <title>inverse! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 218</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inverse!</span>
15
- <span class="ruby-identifier">conjugate!</span>
16
- <span class="ruby-identifier">scale!</span>(<span class="ruby-value">1.0</span><span class="ruby-operator">/</span><span class="ruby-identifier">norm</span>)
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,18 +0,0 @@
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>
7
- <head>
8
- <title>divide (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 228</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-identifier">quaternion</span>.<span class="ruby-identifier">divide!</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">origin</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +0,0 @@
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>
7
- <head>
8
- <title>divide! (Eymiha::Quaternion)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/quaternion.rb, line 233</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide!</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Quaternion</span>
16
- <span class="ruby-identifier">divide!</span>(<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">axis</span>.<span class="ruby-identifier">real</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">axis</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">multiply!</span>(<span class="ruby-identifier">quaternion</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>).<span class="ruby-identifier">inverse!</span>)
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">axis</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">self</span>
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>