chillerlan-QRCode-Common-GenericGFPoly.html 52 KB

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