chillerlan-QRCode-Common-GenericGFPoly.html 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. <h4 class="phpdocumentor-sidebar__root-namespace">
  82. <a href="namespaces/output.html" class="">Output</a>
  83. </h4>
  84. </section>
  85. <section class="phpdocumentor-sidebar__category">
  86. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  87. <h4 class="phpdocumentor-sidebar__root-namespace">
  88. <a href="packages/Application.html" class="">Application</a>
  89. </h4>
  90. </section>
  91. <section class="phpdocumentor-sidebar__category">
  92. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  93. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  94. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  95. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  96. </section>
  97. <section class="phpdocumentor-sidebar__category">
  98. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  100. </section>
  101. </aside>
  102. <div class="phpdocumentor-column -nine phpdocumentor-content">
  103. <section>
  104. <ul class="phpdocumentor-breadcrumbs">
  105. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  106. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  107. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-common.html">Common</a></li>
  108. </ul>
  109. <article class="phpdocumentor-element -class">
  110. <h2 class="phpdocumentor-content__title">
  111. GenericGFPoly
  112. <div class="phpdocumentor-element__package">
  113. in package
  114. <ul class="phpdocumentor-breadcrumbs">
  115. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  116. </ul>
  117. </div>
  118. </h2>
  119. <div class="phpdocumentor-label-line">
  120. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  121. </div>
  122. <aside class="phpdocumentor-element-found-in">
  123. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  124. :
  125. <span class="phpdocumentor-element-found-in__line">26</span>
  126. </aside>
  127. <p class="phpdocumentor-summary">Represents a polynomial whose coefficients are elements of a GF.</p>
  128. <section class="phpdocumentor-description"><p>Instances of this class are immutable.</p>
  129. <p>Much credit is due to William Rucklidge since portions of this code are an indirect
  130. port of his C++ Reed-Solomon implementation.</p>
  131. </section>
  132. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  133. Tags
  134. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  135. </h5>
  136. <dl class="phpdocumentor-tag-list">
  137. <dt class="phpdocumentor-tag-list__entry">
  138. <span class="phpdocumentor-tag__name">author</span>
  139. </dt>
  140. <dd class="phpdocumentor-tag-list__definition">
  141. <section class="phpdocumentor-description"><p>Sean Owen</p>
  142. </section>
  143. </dd>
  144. </dl>
  145. <h3 id="toc">
  146. Table of Contents
  147. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  148. </h3>
  149. <h4 id="toc-properties">
  150. Properties
  151. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  152. </h4>
  153. <dl class="phpdocumentor-table-of-contents">
  154. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  155. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#property_coefficients">$coefficients</a>
  156. <span>
  157. &nbsp;: array&lt;string|int, mixed&gt; </span>
  158. </dt>
  159. </dl>
  160. <h4 id="toc-methods">
  161. Methods
  162. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  163. </h4>
  164. <dl class="phpdocumentor-table-of-contents">
  165. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  166. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method___construct">__construct()</a>
  167. <span>
  168. &nbsp;: mixed </span>
  169. </dt>
  170. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  171. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_addOrSubtract">addOrSubtract()</a>
  172. <span>
  173. &nbsp;: self </span>
  174. </dt>
  175. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  176. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_divide">divide()</a>
  177. <span>
  178. &nbsp;: array&lt;string|int, <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&gt; </span>
  179. </dt>
  180. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  181. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_evaluateAt">evaluateAt()</a>
  182. <span>
  183. &nbsp;: int </span>
  184. </dt>
  185. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  186. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getCoefficient">getCoefficient()</a>
  187. <span>
  188. &nbsp;: int </span>
  189. </dt>
  190. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  191. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getCoefficients">getCoefficients()</a>
  192. <span>
  193. &nbsp;: array&lt;string|int, int&gt; </span>
  194. </dt>
  195. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  196. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getDegree">getDegree()</a>
  197. <span>
  198. &nbsp;: int </span>
  199. </dt>
  200. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  201. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_isZero">isZero()</a>
  202. <span>
  203. &nbsp;: bool </span>
  204. </dt>
  205. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  206. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_mod">mod()</a>
  207. <span>
  208. &nbsp;: self </span>
  209. </dt>
  210. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  211. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiply">multiply()</a>
  212. <span>
  213. &nbsp;: self </span>
  214. </dt>
  215. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  216. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyByMonomial">multiplyByMonomial()</a>
  217. <span>
  218. &nbsp;: self </span>
  219. </dt>
  220. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  221. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyInt">multiplyInt()</a>
  222. <span>
  223. &nbsp;: self </span>
  224. </dt>
  225. </dl>
  226. <section class="phpdocumentor-properties">
  227. <h3 class="phpdocumentor-elements__header" id="properties">
  228. Properties
  229. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  230. </h3>
  231. <article
  232. class="
  233. phpdocumentor-element
  234. -property
  235. -private
  236. "
  237. >
  238. <h4 class="phpdocumentor-element__name" id="property_coefficients">
  239. $coefficients
  240. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#property_coefficients" class="headerlink"><i class="fas fa-link"></i></a>
  241. <span class="phpdocumentor-element__modifiers">
  242. </span>
  243. </h4>
  244. <aside class="phpdocumentor-element-found-in">
  245. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  246. :
  247. <span class="phpdocumentor-element-found-in__line">28</span>
  248. </aside>
  249. <code class="phpdocumentor-code phpdocumentor-signature ">
  250. <span class="phpdocumentor-signature__visibility">private</span>
  251. <span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
  252. <span class="phpdocumentor-signature__name">$coefficients</span>
  253. </code>
  254. </article>
  255. </section>
  256. <section class="phpdocumentor-methods">
  257. <h3 class="phpdocumentor-elements__header" id="methods">
  258. Methods
  259. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  260. </h3>
  261. <article
  262. class="phpdocumentor-element
  263. -method
  264. -public
  265. "
  266. >
  267. <h4 class="phpdocumentor-element__name" id="method___construct">
  268. __construct()
  269. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  270. </h4>
  271. <aside class="phpdocumentor-element-found-in">
  272. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  273. :
  274. <span class="phpdocumentor-element-found-in__line">38</span>
  275. </aside>
  276. <code class="phpdocumentor-code phpdocumentor-signature ">
  277. <span class="phpdocumentor-signature__visibility">public</span>
  278. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$coefficients</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$degree</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  279. <div class="phpdocumentor-label-line">
  280. </div>
  281. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  282. <dl class="phpdocumentor-argument-list">
  283. <dt class="phpdocumentor-argument-list__entry">
  284. <span class="phpdocumentor-signature__argument__name">$coefficients</span>
  285. : <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
  286. </dt>
  287. <dd class="phpdocumentor-argument-list__definition">
  288. <section class="phpdocumentor-description"><p>array coefficients as ints representing elements of GF(size), arranged
  289. from most significant (highest-power term) coefficient to the least significant</p>
  290. </section>
  291. </dd>
  292. <dt class="phpdocumentor-argument-list__entry">
  293. <span class="phpdocumentor-signature__argument__name">$degree</span>
  294. : <span class="phpdocumentor-signature__argument__return-type">int|null</span>
  295. = <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
  296. <dd class="phpdocumentor-argument-list__definition">
  297. </dd>
  298. </dl>
  299. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  300. Tags
  301. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method___construct#tags" class="headerlink"><i class="fas fa-link"></i></a>
  302. </h5>
  303. <dl class="phpdocumentor-tag-list">
  304. <dt class="phpdocumentor-tag-list__entry">
  305. <span class="phpdocumentor-tag__name">throws</span>
  306. </dt>
  307. <dd class="phpdocumentor-tag-list__definition">
  308. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  309. <section class="phpdocumentor-description"><p>if argument is null or empty, or if leading coefficient is 0 and this
  310. is not a constant polynomial (that is, it is not the monomial &quot;0&quot;)</p>
  311. </section>
  312. </dd>
  313. </dl>
  314. </article>
  315. <article
  316. class="phpdocumentor-element
  317. -method
  318. -public
  319. "
  320. >
  321. <h4 class="phpdocumentor-element__name" id="method_addOrSubtract">
  322. addOrSubtract()
  323. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_addOrSubtract" class="headerlink"><i class="fas fa-link"></i></a>
  324. </h4>
  325. <aside class="phpdocumentor-element-found-in">
  326. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  327. :
  328. <span class="phpdocumentor-element-found-in__line">230</span>
  329. </aside>
  330. <code class="phpdocumentor-code phpdocumentor-signature ">
  331. <span class="phpdocumentor-signature__visibility">public</span>
  332. <span class="phpdocumentor-signature__name">addOrSubtract</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$other</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  333. <div class="phpdocumentor-label-line">
  334. </div>
  335. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  336. <dl class="phpdocumentor-argument-list">
  337. <dt class="phpdocumentor-argument-list__entry">
  338. <span class="phpdocumentor-signature__argument__name">$other</span>
  339. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a></span>
  340. </dt>
  341. <dd class="phpdocumentor-argument-list__definition">
  342. </dd>
  343. </dl>
  344. <section>
  345. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  346. <span class="phpdocumentor-signature__response_type">self</span>
  347. </section>
  348. </article>
  349. <article
  350. class="phpdocumentor-element
  351. -method
  352. -public
  353. "
  354. >
  355. <h4 class="phpdocumentor-element__name" id="method_divide">
  356. divide()
  357. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_divide" class="headerlink"><i class="fas fa-link"></i></a>
  358. </h4>
  359. <aside class="phpdocumentor-element-found-in">
  360. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  361. :
  362. <span class="phpdocumentor-element-found-in__line">142</span>
  363. </aside>
  364. <code class="phpdocumentor-code phpdocumentor-signature ">
  365. <span class="phpdocumentor-signature__visibility">public</span>
  366. <span class="phpdocumentor-signature__name">divide</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$other</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&gt;</span></code>
  367. <div class="phpdocumentor-label-line">
  368. </div>
  369. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  370. <dl class="phpdocumentor-argument-list">
  371. <dt class="phpdocumentor-argument-list__entry">
  372. <span class="phpdocumentor-signature__argument__name">$other</span>
  373. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a></span>
  374. </dt>
  375. <dd class="phpdocumentor-argument-list__definition">
  376. </dd>
  377. </dl>
  378. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  379. Tags
  380. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_divide#tags" class="headerlink"><i class="fas fa-link"></i></a>
  381. </h5>
  382. <dl class="phpdocumentor-tag-list">
  383. <dt class="phpdocumentor-tag-list__entry">
  384. <span class="phpdocumentor-tag__name">throws</span>
  385. </dt>
  386. <dd class="phpdocumentor-tag-list__definition">
  387. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  388. </dd>
  389. </dl>
  390. <section>
  391. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  392. <span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&gt;</span>
  393. &mdash;
  394. <section class="phpdocumentor-description"><p>[quotient, remainder]</p>
  395. </section>
  396. </section>
  397. </article>
  398. <article
  399. class="phpdocumentor-element
  400. -method
  401. -public
  402. "
  403. >
  404. <h4 class="phpdocumentor-element__name" id="method_evaluateAt">
  405. evaluateAt()
  406. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_evaluateAt" class="headerlink"><i class="fas fa-link"></i></a>
  407. </h4>
  408. <aside class="phpdocumentor-element-found-in">
  409. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  410. :
  411. <span class="phpdocumentor-element-found-in__line">101</span>
  412. </aside>
  413. <code class="phpdocumentor-code phpdocumentor-signature ">
  414. <span class="phpdocumentor-signature__visibility">public</span>
  415. <span class="phpdocumentor-signature__name">evaluateAt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$a</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  416. <div class="phpdocumentor-label-line">
  417. </div>
  418. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  419. <dl class="phpdocumentor-argument-list">
  420. <dt class="phpdocumentor-argument-list__entry">
  421. <span class="phpdocumentor-signature__argument__name">$a</span>
  422. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  423. </dt>
  424. <dd class="phpdocumentor-argument-list__definition">
  425. </dd>
  426. </dl>
  427. <section>
  428. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  429. <span class="phpdocumentor-signature__response_type">int</span>
  430. &mdash;
  431. <section class="phpdocumentor-description"><p>evaluation of this polynomial at a given point</p>
  432. </section>
  433. </section>
  434. </article>
  435. <article
  436. class="phpdocumentor-element
  437. -method
  438. -public
  439. "
  440. >
  441. <h4 class="phpdocumentor-element__name" id="method_getCoefficient">
  442. getCoefficient()
  443. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getCoefficient" class="headerlink"><i class="fas fa-link"></i></a>
  444. </h4>
  445. <aside class="phpdocumentor-element-found-in">
  446. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  447. :
  448. <span class="phpdocumentor-element-found-in__line">73</span>
  449. </aside>
  450. <code class="phpdocumentor-code phpdocumentor-signature ">
  451. <span class="phpdocumentor-signature__visibility">public</span>
  452. <span class="phpdocumentor-signature__name">getCoefficient</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$degree</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  453. <div class="phpdocumentor-label-line">
  454. </div>
  455. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  456. <dl class="phpdocumentor-argument-list">
  457. <dt class="phpdocumentor-argument-list__entry">
  458. <span class="phpdocumentor-signature__argument__name">$degree</span>
  459. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  460. </dt>
  461. <dd class="phpdocumentor-argument-list__definition">
  462. </dd>
  463. </dl>
  464. <section>
  465. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  466. <span class="phpdocumentor-signature__response_type">int</span>
  467. &mdash;
  468. <section class="phpdocumentor-description"><p>$coefficient of x^degree term in this polynomial</p>
  469. </section>
  470. </section>
  471. </article>
  472. <article
  473. class="phpdocumentor-element
  474. -method
  475. -public
  476. "
  477. >
  478. <h4 class="phpdocumentor-element__name" id="method_getCoefficients">
  479. getCoefficients()
  480. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getCoefficients" class="headerlink"><i class="fas fa-link"></i></a>
  481. </h4>
  482. <aside class="phpdocumentor-element-found-in">
  483. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  484. :
  485. <span class="phpdocumentor-element-found-in__line">80</span>
  486. </aside>
  487. <code class="phpdocumentor-code phpdocumentor-signature ">
  488. <span class="phpdocumentor-signature__visibility">public</span>
  489. <span class="phpdocumentor-signature__name">getCoefficients</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, int&gt;</span></code>
  490. <div class="phpdocumentor-label-line">
  491. </div>
  492. <section>
  493. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  494. <span class="phpdocumentor-signature__response_type">array&lt;string|int, int&gt;</span>
  495. </section>
  496. </article>
  497. <article
  498. class="phpdocumentor-element
  499. -method
  500. -public
  501. "
  502. >
  503. <h4 class="phpdocumentor-element__name" id="method_getDegree">
  504. getDegree()
  505. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getDegree" class="headerlink"><i class="fas fa-link"></i></a>
  506. </h4>
  507. <aside class="phpdocumentor-element-found-in">
  508. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  509. :
  510. <span class="phpdocumentor-element-found-in__line">87</span>
  511. </aside>
  512. <code class="phpdocumentor-code phpdocumentor-signature ">
  513. <span class="phpdocumentor-signature__visibility">public</span>
  514. <span class="phpdocumentor-signature__name">getDegree</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  515. <div class="phpdocumentor-label-line">
  516. </div>
  517. <section>
  518. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  519. <span class="phpdocumentor-signature__response_type">int</span>
  520. &mdash;
  521. <section class="phpdocumentor-description"><p>$degree of this polynomial</p>
  522. </section>
  523. </section>
  524. </article>
  525. <article
  526. class="phpdocumentor-element
  527. -method
  528. -public
  529. "
  530. >
  531. <h4 class="phpdocumentor-element__name" id="method_isZero">
  532. isZero()
  533. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_isZero" class="headerlink"><i class="fas fa-link"></i></a>
  534. </h4>
  535. <aside class="phpdocumentor-element-found-in">
  536. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  537. :
  538. <span class="phpdocumentor-element-found-in__line">94</span>
  539. </aside>
  540. <code class="phpdocumentor-code phpdocumentor-signature ">
  541. <span class="phpdocumentor-signature__visibility">public</span>
  542. <span class="phpdocumentor-signature__name">isZero</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  543. <div class="phpdocumentor-label-line">
  544. </div>
  545. <section>
  546. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  547. <span class="phpdocumentor-signature__response_type">bool</span>
  548. &mdash;
  549. <section class="phpdocumentor-description"><p>true if this polynomial is the monomial &quot;0&quot;</p>
  550. </section>
  551. </section>
  552. </article>
  553. <article
  554. class="phpdocumentor-element
  555. -method
  556. -public
  557. "
  558. >
  559. <h4 class="phpdocumentor-element__name" id="method_mod">
  560. mod()
  561. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_mod" class="headerlink"><i class="fas fa-link"></i></a>
  562. </h4>
  563. <aside class="phpdocumentor-element-found-in">
  564. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  565. :
  566. <span class="phpdocumentor-element-found-in__line">212</span>
  567. </aside>
  568. <code class="phpdocumentor-code phpdocumentor-signature ">
  569. <span class="phpdocumentor-signature__visibility">public</span>
  570. <span class="phpdocumentor-signature__name">mod</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$other</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  571. <div class="phpdocumentor-label-line">
  572. </div>
  573. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  574. <dl class="phpdocumentor-argument-list">
  575. <dt class="phpdocumentor-argument-list__entry">
  576. <span class="phpdocumentor-signature__argument__name">$other</span>
  577. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a></span>
  578. </dt>
  579. <dd class="phpdocumentor-argument-list__definition">
  580. </dd>
  581. </dl>
  582. <section>
  583. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  584. <span class="phpdocumentor-signature__response_type">self</span>
  585. </section>
  586. </article>
  587. <article
  588. class="phpdocumentor-element
  589. -method
  590. -public
  591. "
  592. >
  593. <h4 class="phpdocumentor-element__name" id="method_multiply">
  594. multiply()
  595. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiply" class="headerlink"><i class="fas fa-link"></i></a>
  596. </h4>
  597. <aside class="phpdocumentor-element-found-in">
  598. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  599. :
  600. <span class="phpdocumentor-element-found-in__line">121</span>
  601. </aside>
  602. <code class="phpdocumentor-code phpdocumentor-signature ">
  603. <span class="phpdocumentor-signature__visibility">public</span>
  604. <span class="phpdocumentor-signature__name">multiply</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$other</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  605. <div class="phpdocumentor-label-line">
  606. </div>
  607. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  608. <dl class="phpdocumentor-argument-list">
  609. <dt class="phpdocumentor-argument-list__entry">
  610. <span class="phpdocumentor-signature__argument__name">$other</span>
  611. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"><abbr title="\chillerlan\QRCode\Common\GenericGFPoly">GenericGFPoly</abbr></a></span>
  612. </dt>
  613. <dd class="phpdocumentor-argument-list__definition">
  614. </dd>
  615. </dl>
  616. <section>
  617. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  618. <span class="phpdocumentor-signature__response_type">self</span>
  619. </section>
  620. </article>
  621. <article
  622. class="phpdocumentor-element
  623. -method
  624. -public
  625. "
  626. >
  627. <h4 class="phpdocumentor-element__name" id="method_multiplyByMonomial">
  628. multiplyByMonomial()
  629. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyByMonomial" class="headerlink"><i class="fas fa-link"></i></a>
  630. </h4>
  631. <aside class="phpdocumentor-element-found-in">
  632. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  633. :
  634. <span class="phpdocumentor-element-found-in__line">190</span>
  635. </aside>
  636. <code class="phpdocumentor-code phpdocumentor-signature ">
  637. <span class="phpdocumentor-signature__visibility">public</span>
  638. <span class="phpdocumentor-signature__name">multiplyByMonomial</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$degree</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$coefficient</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  639. <div class="phpdocumentor-label-line">
  640. </div>
  641. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  642. <dl class="phpdocumentor-argument-list">
  643. <dt class="phpdocumentor-argument-list__entry">
  644. <span class="phpdocumentor-signature__argument__name">$degree</span>
  645. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  646. </dt>
  647. <dd class="phpdocumentor-argument-list__definition">
  648. </dd>
  649. <dt class="phpdocumentor-argument-list__entry">
  650. <span class="phpdocumentor-signature__argument__name">$coefficient</span>
  651. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  652. </dt>
  653. <dd class="phpdocumentor-argument-list__definition">
  654. </dd>
  655. </dl>
  656. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  657. Tags
  658. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyByMonomial#tags" class="headerlink"><i class="fas fa-link"></i></a>
  659. </h5>
  660. <dl class="phpdocumentor-tag-list">
  661. <dt class="phpdocumentor-tag-list__entry">
  662. <span class="phpdocumentor-tag__name">throws</span>
  663. </dt>
  664. <dd class="phpdocumentor-tag-list__definition">
  665. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  666. </dd>
  667. </dl>
  668. <section>
  669. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  670. <span class="phpdocumentor-signature__response_type">self</span>
  671. </section>
  672. </article>
  673. <article
  674. class="phpdocumentor-element
  675. -method
  676. -public
  677. "
  678. >
  679. <h4 class="phpdocumentor-element__name" id="method_multiplyInt">
  680. multiplyInt()
  681. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyInt" class="headerlink"><i class="fas fa-link"></i></a>
  682. </h4>
  683. <aside class="phpdocumentor-element-found-in">
  684. <abbr class="phpdocumentor-element-found-in__file" title="src/Common/GenericGFPoly.php"><a href="files/src-common-genericgfpoly.html"><abbr title="src/Common/GenericGFPoly.php">GenericGFPoly.php</abbr></a></abbr>
  685. :
  686. <span class="phpdocumentor-element-found-in__line">168</span>
  687. </aside>
  688. <code class="phpdocumentor-code phpdocumentor-signature ">
  689. <span class="phpdocumentor-signature__visibility">public</span>
  690. <span class="phpdocumentor-signature__name">multiplyInt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$scalar</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
  691. <div class="phpdocumentor-label-line">
  692. </div>
  693. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  694. <dl class="phpdocumentor-argument-list">
  695. <dt class="phpdocumentor-argument-list__entry">
  696. <span class="phpdocumentor-signature__argument__name">$scalar</span>
  697. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  698. </dt>
  699. <dd class="phpdocumentor-argument-list__definition">
  700. </dd>
  701. </dl>
  702. <section>
  703. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  704. <span class="phpdocumentor-signature__response_type">self</span>
  705. </section>
  706. </article>
  707. </section>
  708. <div class="phpdocumentor-modal" id="source-view">
  709. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  710. <div class="phpdocumentor-modal-container">
  711. <div class="phpdocumentor-modal-content">
  712. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Common/GenericGFPoly.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  713. </div>
  714. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  715. </div>
  716. </div>
  717. <script type="text/javascript">
  718. (function () {
  719. function loadExternalCodeSnippet(el, url, line) {
  720. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  721. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  722. const language = 'php';
  723. const code = document.createElement('code');
  724. code.className = 'language-' + language;
  725. pre.textContent = '';
  726. pre.setAttribute('data-line', line)
  727. code.textContent = 'Loading…';
  728. pre.appendChild(code);
  729. var xhr = new XMLHttpRequest();
  730. xhr.open('GET', src, true);
  731. xhr.onreadystatechange = function () {
  732. if (xhr.readyState !== 4) {
  733. return;
  734. }
  735. if (xhr.status < 400 && xhr.responseText) {
  736. code.textContent = xhr.responseText;
  737. Prism.highlightElement(code);
  738. return;
  739. }
  740. if (xhr.status === 404) {
  741. code.textContent = '✖ Error: File could not be found';
  742. return;
  743. }
  744. if (xhr.status >= 400) {
  745. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  746. return;
  747. }
  748. code.textContent = '✖ Error: An unknown error occurred';
  749. };
  750. xhr.send(null);
  751. });
  752. }
  753. const modalButtons = document.querySelectorAll("[data-modal]");
  754. const openedAsLocalFile = window.location.protocol === 'file:';
  755. if (modalButtons.length > 0 && openedAsLocalFile) {
  756. console.warn(
  757. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  758. 'browsers block XHR requests when a page is opened this way'
  759. );
  760. }
  761. modalButtons.forEach(function (trigger) {
  762. if (openedAsLocalFile) {
  763. trigger.setAttribute("hidden", "hidden");
  764. }
  765. trigger.addEventListener("click", function (event) {
  766. event.preventDefault();
  767. const modal = document.getElementById(trigger.dataset.modal);
  768. if (!modal) {
  769. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  770. return;
  771. }
  772. modal.classList.add("phpdocumentor-modal__open");
  773. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  774. const exits = modal.querySelectorAll("[data-exit-button]");
  775. exits.forEach(function (exit) {
  776. exit.addEventListener("click", function (event) {
  777. event.preventDefault();
  778. modal.classList.remove("phpdocumentor-modal__open");
  779. });
  780. });
  781. });
  782. });
  783. })();
  784. </script>
  785. </article>
  786. </section>
  787. <section class="phpdocumentor-on-this-page__sidebar">
  788. <section class="phpdocumentor-on-this-page__content">
  789. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  790. <ul class="phpdocumentor-list -clean">
  791. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  792. <li>
  793. <ul class="phpdocumentor-list -clean">
  794. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#toc-properties">Properties</a></li>
  795. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#toc-methods">Methods</a></li>
  796. </ul>
  797. </li>
  798. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  799. <li>
  800. <ul class="phpdocumentor-list -clean">
  801. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#property_coefficients">$coefficients<a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html"></li>
  802. </ul>
  803. </li>
  804. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  805. <li>
  806. <ul class="phpdocumentor-list -clean">
  807. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method___construct">__construct()</a></li>
  808. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_addOrSubtract">addOrSubtract()</a></li>
  809. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_divide">divide()</a></li>
  810. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_evaluateAt">evaluateAt()</a></li>
  811. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getCoefficient">getCoefficient()</a></li>
  812. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getCoefficients">getCoefficients()</a></li>
  813. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_getDegree">getDegree()</a></li>
  814. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_isZero">isZero()</a></li>
  815. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_mod">mod()</a></li>
  816. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiply">multiply()</a></li>
  817. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyByMonomial">multiplyByMonomial()</a></li>
  818. <li><a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#method_multiplyInt">multiplyInt()</a></li>
  819. </ul>
  820. </li>
  821. </ul>
  822. </section>
  823. </section>
  824. </div>
  825. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  826. <section class="phpdocumentor-search-results__dialog">
  827. <header class="phpdocumentor-search-results__header">
  828. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  829. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  830. </header>
  831. <section class="phpdocumentor-search-results__body">
  832. <ul class="phpdocumentor-search-results__entries"></ul>
  833. </section>
  834. </section>
  835. </section>
  836. </div>
  837. <a href="classes/chillerlan-QRCode-Common-GenericGFPoly.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  838. </main>
  839. <script>
  840. cssVars({});
  841. </script>
  842. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  843. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  844. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  845. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  846. </body>
  847. </html>