|
|
@@ -2,7 +2,8 @@
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
- <title>Documentation</title>
|
|
|
+ <title>Documentation</title>
|
|
|
+
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<base href="../">
|
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
|
@@ -54,14 +55,16 @@
|
|
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
|
- <h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/chillerlan.html">chillerlan</a></h4>
|
|
|
+ <h4 class="phpdocumentor-sidebar__root-namespace">
|
|
|
+ <a href="namespaces/chillerlan.html" class="">chillerlan</a>
|
|
|
+</h4>
|
|
|
<ul class="phpdocumentor-list">
|
|
|
<li>
|
|
|
- <a href="namespaces/chillerlan-qrcode.html">QRCode</a>
|
|
|
+ <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
|
|
|
|
|
|
</li>
|
|
|
<li>
|
|
|
- <a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a>
|
|
|
+ <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
|
|
|
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -69,7 +72,9 @@
|
|
|
</section>
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
|
- <h4 class="phpdocumentor-sidebar__root-namespace"><a href="packages/Application.html">Application</a></h4>
|
|
|
+ <h4 class="phpdocumentor-sidebar__root-namespace">
|
|
|
+ <a href="packages/Application.html" class="">Application</a>
|
|
|
+</h4>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
@@ -162,7 +167,7 @@ for convenience and speed (but at the cost of memory).</p>
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -private">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#constant_expTable">expTable</a>
|
|
|
<span>
|
|
|
- = [1, 2, 4, 8, 16, 32, 64, 128, 29, 58, 116, 232, 205, 135, 19, 38, 76, 152, 45, 90, 180, 117, 234, 201, 143, 3, 6, 12, 24, 48, 96, 192, 157, 39, 78, 156, 37, 74, 148, 53, 106, 212, 181, 119, 238, 193, 159, 35, 70, 140, 5, 10, 20, 40, 80, 160, 93, 186, 105, 210, 185, 111, 222, 161, 95, 190, 97, 194, 153, 47, 94, 188, 101, 202, 137, 15, 30, 60, 120, 240, 253, 231, 211, 187, 107, 214, 177, 127, 254, 225, 223, 163, 91, 182, 113, 226, 217, 175, 67, 134, 17, 34, 68, 136, 13, 26, 52, 104, 208, 189, 103, 206, 129, 31, 62, 124, 248, 237, 199, 147, 59, 118, 236, 197, 151, 51, 102, 204, 133, 23, 46, 92, 184, 109, 218, 169, 79, 158, 33, 66, 132, 21, 42, 84, 168, 77, 154, 41, 82, 164, 85, 170, 73, 146, 57, 114, 228, 213, 183, 115, 230, 209, 191, 99, 198, 145, 63, 126, 252, 229, 215, 179, 123, 246, 241, 255, 227, 219, 171, 75, 150, 49, 98, 196, 149, 55, 110, 220, 165, 87, 174, 65, 130, 25, 50, 100, 200, 141, 7, 14, 28, 56, 112, 224, 221, 167, 83, 166, 81, 162, 89, 178, 121, 242, 249, 239, 195, 155, 43, 86, 172, 69, 138, 9, 18, 36, 72, 144, 61, 122, 244, 245, 247, 243, 251, 235, 203, 139, 11, 22, 44, 88, 176, 125, 250, 233, 207, 131, 27, 54, 108, 216, 173, 71, 142, 1] </span>
|
|
|
+ = [1, 2, 4, 8, 16, 32, 64, 128, 29, 58, 116, 232, 205, 135, 19, 38, 76, 152, 45, 90, 180, 117, 234, 201, 143, 3, 6, 12, 24, 48, 96, 192, 157, 39, 78, 156, 37, 74, 148, 53, 106, 212, 181, 119, 238, 193, 159, 35, 70, 140, 5, 10, 20, 40, 80, 160, 93, 186, 105, 210, 185, 111, 222, 161, 95, 190, 97, 194, 153, 47, 94, 188, 101, 202, 137, 15, 30, 60, 120, 240, 253, 231, 211, 187, 107, 214, 177, 127, 254, 225, 223, 163, 91, 182, 113, 226, 217, 175, 67, 134, 17, 34, 68, 136, 13, 26, 52, 104, 208, 189, 103, 206, 129, 31, 62, 124, 248, 237, 199, 147, 59, 118, 236, 197, 151, 51, 102, 204, 133, 23, 46, 92, 184, 109, 218, 169, 79, 158, 33, 66, 132, 21, 42, 84, 168, 77, 154, 41, 82, 164, 85, 170, 73, 146, 57, 114, 228, 213, 183, 115, 230, 209, 191, 99, 198, 145, 63, 126, 252, 229, 215, 179, 123, 246, 241, 255, 227, 219, 171, 75, 150, 49, 98, 196, 149, 55, 110, 220, 165, 87, 174, 65, 130, 25, 50, 100, 200, 141, 7, 14, 28, 56, 112, 224, 221, 167, 83, 166, 81, 162, 89, 178, 121, 242, 249, 239, 195, 155, 43, 86, 172, 69, 138, 9, 18, 36, 72, 144, 61, 122, 244, 245, 247, 243, 251, 235, 203, 139, 11, 22, 44, 88, 176, 125, 250, 233, 207, 131, 27, 54, 108, 216, 173, 71, 142, 1] </span>
|
|
|
</dt>
|
|
|
<dd></dd>
|
|
|
|
|
|
@@ -427,50 +432,50 @@ for convenience and speed (but at the cost of memory).</p>
|
|
|
80,
|
|
|
88,
|
|
|
175,
|
|
|
-] </span>
|
|
|
+] </span>
|
|
|
</dt>
|
|
|
<dd>irreducible polynomial whose coefficients are represented by the bits of an int,
|
|
|
where the least-significant bit represents the constant coefficient</dd>
|
|
|
|
|
|
- <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
+ <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#method_addOrSubtract">addOrSubtract()</a>
|
|
|
<span>
|
|
|
- : int </span>
|
|
|
+ : int </span>
|
|
|
</dt>
|
|
|
<dd>Implements both addition and subtraction -- they are the same in GF(size).</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#method_buildMonomial">buildMonomial()</a>
|
|
|
<span>
|
|
|
- : <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a> </span>
|
|
|
+ : <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a> </span>
|
|
|
</dt>
|
|
|
<dd></dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#method_exp">exp()</a>
|
|
|
<span>
|
|
|
- : int </span>
|
|
|
+ : int </span>
|
|
|
</dt>
|
|
|
<dd></dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#method_inverse">inverse()</a>
|
|
|
<span>
|
|
|
- : int </span>
|
|
|
+ : int </span>
|
|
|
</dt>
|
|
|
<dd></dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#method_log">log()</a>
|
|
|
<span>
|
|
|
- : int </span>
|
|
|
+ : int </span>
|
|
|
</dt>
|
|
|
<dd></dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
<a href="classes/chillerlan-QRCode-Common-GF256.html#method_multiply">multiply()</a>
|
|
|
<span>
|
|
|
- : int </span>
|
|
|
+ : int </span>
|
|
|
</dt>
|
|
|
<dd></dd>
|
|
|
|
|
|
@@ -500,7 +505,7 @@ where the least-significant bit represents the constant coefficient</dd>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
- <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
+ <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
<span class="phpdocumentor-signature__name">expTable</span>
|
|
|
= <span class="phpdocumentor-signature__default-value">[1, 2, 4, 8, 16, 32, 64, 128, 29, 58, 116, 232, 205, 135, 19, 38, 76, 152, 45, 90, 180, 117, 234, 201, 143, 3, 6, 12, 24, 48, 96, 192, 157, 39, 78, 156, 37, 74, 148, 53, 106, 212, 181, 119, 238, 193, 159, 35, 70, 140, 5, 10, 20, 40, 80, 160, 93, 186, 105, 210, 185, 111, 222, 161, 95, 190, 97, 194, 153, 47, 94, 188, 101, 202, 137, 15, 30, 60, 120, 240, 253, 231, 211, 187, 107, 214, 177, 127, 254, 225, 223, 163, 91, 182, 113, 226, 217, 175, 67, 134, 17, 34, 68, 136, 13, 26, 52, 104, 208, 189, 103, 206, 129, 31, 62, 124, 248, 237, 199, 147, 59, 118, 236, 197, 151, 51, 102, 204, 133, 23, 46, 92, 184, 109, 218, 169, 79, 158, 33, 66, 132, 21, 42, 84, 168, 77, 154, 41, 82, 164, 85, 170, 73, 146, 57, 114, 228, 213, 183, 115, 230, 209, 191, 99, 198, 145, 63, 126, 252, 229, 215, 179, 123, 246, 241, 255, 227, 219, 171, 75, 150, 49, 98, 196, 149, 55, 110, 220, 165, 87, 174, 65, 130, 25, 50, 100, 200, 141, 7, 14, 28, 56, 112, 224, 221, 167, 83, 166, 81, 162, 89, 178, 121, 242, 249, 239, 195, 155, 43, 86, 172, 69, 138, 9, 18, 36, 72, 144, 61, 122, 244, 245, 247, 243, 251, 235, 203, 139, 11, 22, 44, 88, 176, 125, 250, 233, 207, 131, 27, 54, 108, 216, 173, 71, 142, 1]</span>
|
|
|
</code>
|
|
|
@@ -531,7 +536,7 @@ where the least-significant bit represents the constant coefficient</p>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
- <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
+ <span class="phpdocumentor-signature__type">mixed</span>
|
|
|
<span class="phpdocumentor-signature__name">logTable</span>
|
|
|
= <span class="phpdocumentor-signature__default-value">[
|
|
|
0,
|