diff --git a/CHANGELOG.md b/CHANGELOG.md index 351aeb9..6d3d897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# v2.2.0 + +- Add `.remove` and `.add` functions to `Model` class in `model` module to add and remove compartments. + +# v2.1.2 + +- Fix error from previous release + +# v2.1.1 + +- Fix key error in `model` + # v2.1.0 - Adds `manipulate` to manipulate outputs with `plots` - Adds `mexport` and `mimport` to `model`, which allow for exporting and importing models to `.js` and `.json` files. diff --git a/EpiJS/model.js b/EpiJS/model.js index 87dc7e0..2d8ceb6 100644 --- a/EpiJS/model.js +++ b/EpiJS/model.js @@ -87,6 +87,64 @@ class Model { } } } + + /** + * Remove a compartment from the model. + * @param {Object} compartment - The compartment to remove. + * @example + * + * let susceptible = new Idiom("S-(B*S*I/p)"); + * let infected = new Idiom("I+(B*S*I/p)-(u*I)"); + * let recovered = new Idiom("R+(u*I)"); + * + * let key = { + * "S": 10000, + * "B": 0.3, + * "I": 100, + * "R": 0, + * "p": 10100, + * "u": 0.2 + * }; + * + * let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key) + * + * sirm.remove(recovered) // Removes the recovered compartment. + */ + remove(compartment) { + for (var x = 0; x < this.compartments.length; x++) { + if (this.compartments[x][0] === compartment) { + this.compartments.splice(x, 1) + } + } + } + + /** + * Add a compartment to the model. + * @param {Array} compartment - The compartment to add, should be a list, with the first value being the compartment, and the second being it's value in the key. + * @param {Number} index - The index to add the compartment at. + * @example + * + * let susceptible = new Idiom("S-(B*S*I/p)"); + * let infected = new Idiom("I+(B*S*I/p)-(u*I)"); + * let recovered = new Idiom("R+(u*I)"); + * + * let key = { + * "S": 10000, + * "B": 0.3, + * "I": 100, + * "R": 0, + * "p": 10100, + * "u": 0.2 + * }; + * + * let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key) + * + * sirm.remove(susceptible) // Removes the susceptible compartment. + * sirm.add([susceptible, "S"], 0) // Adds the susceptible compartment back to the beginning + */ + add(compartment, index) { + this.compartments.splice(index, 0, compartment) + } } /** diff --git a/docs/.vuepress/dist/404.html b/docs/.vuepress/dist/404.html index 9575ebb..ce799ea 100644 --- a/docs/.vuepress/dist/404.html +++ b/docs/.vuepress/dist/404.html @@ -8,13 +8,13 @@ - + -

404

How did we get here?
+ - + diff --git a/docs/.vuepress/dist/assets/js/10.a77dd4da.js b/docs/.vuepress/dist/assets/js/10.932528a4.js similarity index 97% rename from docs/.vuepress/dist/assets/js/10.a77dd4da.js rename to docs/.vuepress/dist/assets/js/10.932528a4.js index d355c64..0484c37 100644 --- a/docs/.vuepress/dist/assets/js/10.a77dd4da.js +++ b/docs/.vuepress/dist/assets/js/10.932528a4.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{369:function(t,a,s){"use strict";s.r(a);var e=s(44),n=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"getting-started"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#getting-started"}},[t._v("#")]),t._v(" Getting Started")]),t._v(" "),s("p",[t._v("EpiJS is a toolset for creating and analysing disease outbreaks with epidemiology. It's feature set includes:")]),t._v(" "),s("ul",[s("li",[t._v("Custom models")]),t._v(" "),s("li",[t._v("Pre-built SIR-based compartmental models")]),t._v(" "),s("li",[t._v("Fast execution")]),t._v(" "),s("li",[t._v("Web-compatible")]),t._v(" "),s("li",[t._v("Community Modeling")])]),t._v(" "),s("p",[t._v("along with many other features.")]),t._v(" "),s("h2",{attrs:{id:"install"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#install"}},[t._v("#")]),t._v(" Install")]),t._v(" "),s("p",[t._v("EpiJS is avaliable through npm, yarn, or on the web.")]),t._v(" "),s("div",{staticClass:"language-sh extra-class"},[s("pre",{pre:!0,attrs:{class:"language-sh"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n"),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),t._v(" @epispot/epijs\n")])])]),s("p",[t._v("Or use it in your webpage:")]),t._v(" "),s("div",{staticClass:"language-HTML extra-class"},[s("pre",{pre:!0,attrs:{class:"language-html"}},[s("code",[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),s("span",{pre:!0,attrs:{class:"token attr-value"}},[s("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),s("span",{pre:!0,attrs:{class:"token script"}}),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),s("p",[t._v("See "),s("a",{attrs:{href:"./installation"}},[t._v("installation")]),t._v(" for more.")]),t._v(" "),s("h2",{attrs:{id:"metadata"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#metadata"}},[t._v("#")]),t._v(" Metadata")]),t._v(" "),s("p",[t._v("You can fetch metadata about the package with the following commands:")]),t._v(" "),s("div",{staticClass:"language-JavaScript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" EpiJS "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nEpiJS"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("about "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// General metadata")]),t._v("\nEpiJS"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("version "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Your current package version")]),t._v("\n")])])]),s("h2",{attrs:{id:"modules"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#modules"}},[t._v("#")]),t._v(" Modules")]),t._v(" "),s("p",[t._v("EpiJS has several modules for specfic use cases:")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"./pre"}},[s("code",[t._v("Pre")])]),t._v(" - pre-compiled compartmental models")]),t._v(" "),s("li",[s("a",{attrs:{href:"./comp"}},[s("code",[t._v("Comp")])]),t._v(" - creating compartments which can be used in the model module")]),t._v(" "),s("li",[s("a",{attrs:{href:"./model"}},[s("code",[t._v("Model")])]),t._v(" - for creating models with custom and pre-built compartments")]),t._v(" "),s("li",[s("a",{attrs:{href:"./utils"}},[s("code",[t._v("Utils")])]),t._v(" - for epidemiological-related utilities")]),t._v(" "),s("li",[s("a",{attrs:{href:"./com"}},[s("code",[t._v("Com")])]),t._v(" - for better modelling of community spread")])]),t._v(" "),s("p",[t._v("Each of these compartments have documentation avaliable.")]),t._v(" "),s("h2",{attrs:{id:"the-epijs-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#the-epijs-manual"}},[t._v("#")]),t._v(" The EpiJS Manual")]),t._v(" "),s("p",[t._v("To get you started, I suggest you check out the "),s("a",{attrs:{href:"./manual/SIR"}},[t._v("EpiJS Manual")]),t._v(", which is good if you are starting out in epidemiology, or if you are starting out in EpiJS.")])])}),[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{374:function(t,a,s){"use strict";s.r(a);var e=s(45),n=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"getting-started"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#getting-started"}},[t._v("#")]),t._v(" Getting Started")]),t._v(" "),s("p",[t._v("EpiJS is a toolset for creating and analysing disease outbreaks with epidemiology. It's feature set includes:")]),t._v(" "),s("ul",[s("li",[t._v("Custom models")]),t._v(" "),s("li",[t._v("Pre-built SIR-based compartmental models")]),t._v(" "),s("li",[t._v("Fast execution")]),t._v(" "),s("li",[t._v("Web-compatible")]),t._v(" "),s("li",[t._v("Community Modeling")])]),t._v(" "),s("p",[t._v("along with many other features.")]),t._v(" "),s("h2",{attrs:{id:"install"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#install"}},[t._v("#")]),t._v(" Install")]),t._v(" "),s("p",[t._v("EpiJS is avaliable through npm, yarn, or on the web.")]),t._v(" "),s("div",{staticClass:"language-sh extra-class"},[s("pre",{pre:!0,attrs:{class:"language-sh"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n"),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),t._v(" @epispot/epijs\n")])])]),s("p",[t._v("Or use it in your webpage:")]),t._v(" "),s("div",{staticClass:"language-HTML extra-class"},[s("pre",{pre:!0,attrs:{class:"language-html"}},[s("code",[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),s("span",{pre:!0,attrs:{class:"token attr-value"}},[s("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),s("span",{pre:!0,attrs:{class:"token script"}}),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),s("p",[t._v("See "),s("a",{attrs:{href:"./installation"}},[t._v("installation")]),t._v(" for more.")]),t._v(" "),s("h2",{attrs:{id:"metadata"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#metadata"}},[t._v("#")]),t._v(" Metadata")]),t._v(" "),s("p",[t._v("You can fetch metadata about the package with the following commands:")]),t._v(" "),s("div",{staticClass:"language-JavaScript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" EpiJS "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nEpiJS"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("about "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// General metadata")]),t._v("\nEpiJS"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("version "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Your current package version")]),t._v("\n")])])]),s("h2",{attrs:{id:"modules"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#modules"}},[t._v("#")]),t._v(" Modules")]),t._v(" "),s("p",[t._v("EpiJS has several modules for specfic use cases:")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"./pre"}},[s("code",[t._v("Pre")])]),t._v(" - pre-compiled compartmental models")]),t._v(" "),s("li",[s("a",{attrs:{href:"./comp"}},[s("code",[t._v("Comp")])]),t._v(" - creating compartments which can be used in the model module")]),t._v(" "),s("li",[s("a",{attrs:{href:"./model"}},[s("code",[t._v("Model")])]),t._v(" - for creating models with custom and pre-built compartments")]),t._v(" "),s("li",[s("a",{attrs:{href:"./utils"}},[s("code",[t._v("Utils")])]),t._v(" - for epidemiological-related utilities")]),t._v(" "),s("li",[s("a",{attrs:{href:"./com"}},[s("code",[t._v("Com")])]),t._v(" - for better modelling of community spread")])]),t._v(" "),s("p",[t._v("Each of these compartments have documentation avaliable.")]),t._v(" "),s("h2",{attrs:{id:"the-epijs-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#the-epijs-manual"}},[t._v("#")]),t._v(" The EpiJS Manual")]),t._v(" "),s("p",[t._v("To get you started, I suggest you check out the "),s("a",{attrs:{href:"./manual/SIR"}},[t._v("EpiJS Manual")]),t._v(", which is good if you are starting out in epidemiology, or if you are starting out in EpiJS.")])])}),[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/11.611be703.js b/docs/.vuepress/dist/assets/js/11.872dc73d.js similarity index 98% rename from docs/.vuepress/dist/assets/js/11.611be703.js rename to docs/.vuepress/dist/assets/js/11.872dc73d.js index 99c3602..81cffd5 100644 --- a/docs/.vuepress/dist/assets/js/11.611be703.js +++ b/docs/.vuepress/dist/assets/js/11.872dc73d.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{370:function(t,s,a){"use strict";a.r(s);var n=a(44),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"installation"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#installation"}},[t._v("#")]),t._v(" Installation")]),t._v(" "),a("p",[t._v("The prefered way of installation is through npm or in your html:")]),t._v(" "),a("tabs",[a("tab",{attrs:{name:"NodeJS"}},[a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),t._v(" @epispot/epijs\n")])])])]),t._v(" "),a("tab",{attrs:{name:"HTML"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])])],1),t._v(" "),a("h2",{attrs:{id:"other-installation-methods"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#other-installation-methods"}},[t._v("#")]),t._v(" Other Installation Methods")]),t._v(" "),a("p",[t._v("EpiJS can also be built from the source, however, this might introduce bugs.")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("git")]),t._v(" clone https://github.com/epispot/EpiJS.git --depth"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("cd")]),t._v(" EpiJS\n")])])]),a("p",[t._v("Once cloned you can use it in the prefered way:")]),t._v(" "),a("tabs",[a("tab",{attrs:{name:"NodeJS"}},[a("p",[t._v("Install")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v(".")]),t._v("\n")])])]),a("p",[t._v("Require:")]),t._v(" "),a("div",{staticClass:"language-JAVASCRIPT extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" epijs "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'./epijs/'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"HTML"}},[a("p",[t._v("First build:")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" run build\n")])])]),a("p",[t._v("Then import:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("./web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])])],1),t._v(" "),a("h3",{attrs:{id:"cdns"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#cdns"}},[t._v("#")]),t._v(" CDNs")]),t._v(" "),a("p",[t._v("EpiJS is avaliable on multiple CDNs:")]),t._v(" "),a("tabs",[a("tab",{attrs:{name:"JSDelivr"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS@2.0.0/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"Unpkg"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://unpkg.com/@epispot/epijs@2.0.0/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"CDNJS"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdnjs.cloudflare.com/ajax/libs/epijs/2.0.0/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"Download"}},[a("p",[t._v("Alternatively, you can download the minified js attachment and use that yourself from "),a("a",{attrs:{href:"https://github.com/epispot/EpiJS/releases/",target:"_blank",rel:"noopener noreferrer"}},[t._v("here"),a("OutboundLink")],1)]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("./epijs.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),a("p",[t._v("Download is also avaliable through npm/yarn:")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),t._v(" @epispot/epijs\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n")])])]),a("p",[t._v("And in your html:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("./node_modules/@epispot/epijs/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])])],1)],1)}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{375:function(t,s,a){"use strict";a.r(s);var n=a(45),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"installation"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#installation"}},[t._v("#")]),t._v(" Installation")]),t._v(" "),a("p",[t._v("The prefered way of installation is through npm or in your html:")]),t._v(" "),a("tabs",[a("tab",{attrs:{name:"NodeJS"}},[a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),t._v(" @epispot/epijs\n")])])])]),t._v(" "),a("tab",{attrs:{name:"HTML"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])])],1),t._v(" "),a("h2",{attrs:{id:"other-installation-methods"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#other-installation-methods"}},[t._v("#")]),t._v(" Other Installation Methods")]),t._v(" "),a("p",[t._v("EpiJS can also be built from the source, however, this might introduce bugs.")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("git")]),t._v(" clone https://github.com/epispot/EpiJS.git --depth"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("cd")]),t._v(" EpiJS\n")])])]),a("p",[t._v("Once cloned you can use it in the prefered way:")]),t._v(" "),a("tabs",[a("tab",{attrs:{name:"NodeJS"}},[a("p",[t._v("Install")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v(".")]),t._v("\n")])])]),a("p",[t._v("Require:")]),t._v(" "),a("div",{staticClass:"language-JAVASCRIPT extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" epijs "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'./epijs/'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"HTML"}},[a("p",[t._v("First build:")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" run build\n")])])]),a("p",[t._v("Then import:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("./web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])])],1),t._v(" "),a("h3",{attrs:{id:"cdns"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#cdns"}},[t._v("#")]),t._v(" CDNs")]),t._v(" "),a("p",[t._v("EpiJS is avaliable on multiple CDNs:")]),t._v(" "),a("tabs",[a("tab",{attrs:{name:"JSDelivr"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS@2.0.0/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"Unpkg"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://unpkg.com/@epispot/epijs@2.0.0/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"CDNJS"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdnjs.cloudflare.com/ajax/libs/epijs/2.0.0/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"Download"}},[a("p",[t._v("Alternatively, you can download the minified js attachment and use that yourself from "),a("a",{attrs:{href:"https://github.com/epispot/EpiJS/releases/",target:"_blank",rel:"noopener noreferrer"}},[t._v("here"),a("OutboundLink")],1)]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("./epijs.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),a("p",[t._v("Download is also avaliable through npm/yarn:")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("yarn")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),t._v(" @epispot/epijs\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n")])])]),a("p",[t._v("And in your html:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("./node_modules/@epispot/epijs/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])])],1)],1)}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/12.4e73897a.js b/docs/.vuepress/dist/assets/js/12.87248bdf.js similarity index 99% rename from docs/.vuepress/dist/assets/js/12.4e73897a.js rename to docs/.vuepress/dist/assets/js/12.87248bdf.js index f3d2cf7..ffd123a 100644 --- a/docs/.vuepress/dist/assets/js/12.4e73897a.js +++ b/docs/.vuepress/dist/assets/js/12.87248bdf.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{371:function(t,s,a){"use strict";a.r(s);var e=a(44),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"creating-a-sir-model-in-epijs"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#creating-a-sir-model-in-epijs"}},[t._v("#")]),t._v(" Creating a SIR Model in EpiJS")]),t._v(" "),a("h2",{attrs:{id:"table-of-contents"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),a("p"),a("div",{staticClass:"table-of-contents"},[a("ul",[a("li",[a("a",{attrs:{href:"#table-of-contents"}},[t._v("Table of Contents")])]),a("li",[a("a",{attrs:{href:"#the-base"}},[t._v("The Base")])]),a("li",[a("a",{attrs:{href:"#approach-no-1-custom-models"}},[t._v("Approach No. 1 - Custom Models")])]),a("li",[a("a",{attrs:{href:"#approach-no-2-pre-compiled-models"}},[t._v("Approach No. 2 - Pre-Compiled Models")])]),a("li",[a("a",{attrs:{href:"#approach-no-3-pre-compiled-models-with-community-modelling"}},[t._v("Approach No. 3 - Pre-Compiled Models with Community Modelling")])])])]),a("p"),t._v(" "),a("h2",{attrs:{id:"the-base"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#the-base"}},[t._v("#")]),t._v(" The Base")]),t._v(" "),a("p",[t._v("There are several ways to create an SIR model, and we're going to go through all of them. But first, we need to cover what the SIR model is. The SIR model is made up of several compartments:")]),t._v(" "),a("ul",[a("li",[a("strong",[t._v("S")]),t._v("usceptible")]),t._v(" "),a("li",[a("strong",[t._v("I")]),t._v("nfected")]),t._v(" "),a("li",[a("strong",[t._v("R")]),t._v("ecovered/removed")])]),t._v(" "),a("p",[t._v("For now, we'll treat the last compartment as removed and not recovered, to better represent an outbreak. To model the outbreak, we need to introduce some more parameters:")]),t._v(" "),a("ul",[a("li",[t._v("β - The infection rate")]),t._v(" "),a("li",[t._v("γ - The recovery rate")]),t._v(" "),a("li",[t._v("R"),a("sub",[t._v("0")]),t._v(" or R-Naught - The number of people one infected infects\n​")])]),t._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),a("p",[t._v("You don't need to know the infection rate when modelling. You can easily calculate it by taking R-Naught and multiplying it with the recovery rate. Because of this, we only need to know 2 of the 3 compartments, since you can find the other by finding the product or quotient of the other two numbers.")])]),t._v(" "),a("p",[t._v("Additionally, we have N, the total population, which we can quickly define as the sum of the three populations.")]),t._v(" "),a("p",[t._v("With these definitions, we can start to create equations for each compartment:")]),t._v(" "),a("div",{attrs:{align:"center"}},[a("img",{attrs:{src:"https://i.ibb.co/5837sMf/image.png",alt:"Equations for the SIR Model"}})]),t._v(" "),a("p",[t._v("And now that we know our equations, we can start to create the models in code.")]),t._v(" "),a("h2",{attrs:{id:"approach-no-1-custom-models"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#approach-no-1-custom-models"}},[t._v("#")]),t._v(" Approach No. 1 - Custom Models")]),t._v(" "),a("p",[t._v("Our first aproach is the most extensible. This allows us to easily add compartments beyond the S, I, and R. Let's start with the setup:")]),t._v(" "),a("tabs",{attrs:{"cache-lifetime":"10",options:{useUrlFragment:!1}}},[a("tab",{attrs:{name:"HTML",id:"first-tab"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"NodeJS",id:"second-tab"}},[a("p",[t._v("Install:")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n")])])]),a("p",[t._v("Require:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" comp "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Import the required classes into the program")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" Model "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Model\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" Idiom "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" comp"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Idiom\n")])])])])],1),t._v(" "),a("p",[t._v("Now that we have everything set up, we can define each of our compartments and create the model")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Include configuration from above")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sir "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Let's go through this code. The first few lines define compartments with the "),a("code",[t._v("Idiom")]),t._v(" class, which allows you to create compartments with equations. The next section defines the starting values for the variables in the equation. We define the start susceptible population as 10000, the infected population as 100, and the recovered populaton as 0. We then also define p, which is our total population. The other parameters are:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("B")]),t._v(" - Infection rate")]),t._v(" "),a("li",[a("code",[t._v("u")]),t._v(" - The recovery rate")])]),t._v(" "),a("p",[t._v("Finally we define our model with the Model class, where we first pass in a list with sublists, where we define the compartment and their corresponding values in the key, and then the key itself.")]),t._v(" "),a("p",[t._v("We can now test the SIR model like so:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v("console"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("log")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sir"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("get_data")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Get's data for the 100th day")]),t._v("\n")])])]),a("p",[t._v("This will return something like:")]),t._v(" "),a("div",{staticClass:"language-JSON extra-class"},[a("pre",{pre:!0,attrs:{class:"language-json"}},[a("code",[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token property"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" data"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token property"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" data"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token property"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" data\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("h2",{attrs:{id:"approach-no-2-pre-compiled-models"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#approach-no-2-pre-compiled-models"}},[t._v("#")]),t._v(" Approach No. 2 - Pre-Compiled Models")]),t._v(" "),a("p",[t._v("This step is the easiest of them all, as you don't really have to write that much code, most of the work is done for you.")]),t._v(" "),a("p",[t._v("Let's start by setting up your program:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("canvas")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("id")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("SIR-Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}},[a("span",{pre:!0,attrs:{class:"token language-javascript"}},[t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/** All Code Snippets Go Here */")]),t._v("\n")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),a("p",[t._v("Now, we can use the one line of code:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("rn"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" s"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" i"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" time"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" u"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" p"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" stochastic"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Where:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("c")]),t._v(" is the canvas element,")]),t._v(" "),a("li",[a("code",[t._v("rn")]),t._v(" is R-Naught,")]),t._v(" "),a("li",[a("code",[t._v("s")]),t._v(" is the susceptible population,")]),t._v(" "),a("li",[a("code",[t._v("i")]),t._v(" is the infected population,")]),t._v(" "),a("li",[a("code",[t._v("time")]),t._v(" is the time to model for,")]),t._v(" "),a("li",[a("code",[t._v("u")]),t._v(" is the recovery rate,")]),t._v(" "),a("li",[a("code",[t._v("p")]),t._v(" is the total population,")]),t._v(" "),a("li",[t._v("and "),a("code",[t._v("stochastic")]),t._v(" is whether or not our model is stochastic")])]),t._v(" "),a("p",[t._v("So let's create our model:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirdata "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1.5")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Now, we can plot it with the plots module:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirdata"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"SIR-Model"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"approach-no-3-pre-compiled-models-with-community-modelling"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#approach-no-3-pre-compiled-models-with-community-modelling"}},[t._v("#")]),t._v(" Approach No. 3 - Pre-Compiled Models with Community Modelling")]),t._v(" "),a("p",[t._v("EpiJS also has a "),a("code",[t._v("com")]),t._v(" module, which allows for community modelling with pre-built or custom models. We're going to use the pre-build models for today, however you can read the docs for the modue for detailed instructions on custom models, which are useful if you want to use compartments from the "),a("code",[t._v("comp")]),t._v(" module in the "),a("code",[t._v("com")]),t._v(" module. First, however, let's set up our program:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("canvas")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("id")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("'")]),t._v("our-model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("'")])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}},[a("span",{pre:!0,attrs:{class:"token language-javascript"}},[t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/** All Code Snippets Go Here */")]),t._v("\n")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),a("p",[t._v("First, we need to create our community, and our virus:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Let's go through this. When we define the virus, we pass in two parameters:")]),t._v(" "),a("ul",[a("li",[t._v("R-naught - 5.7")]),t._v(" "),a("li",[t._v("Recovery rate - 2.1/100")])]),t._v(" "),a("p",[t._v("Next, for the community, we pass in three:")]),t._v(" "),a("ul",[a("li",[t._v("Population - 8.419 million")]),t._v(" "),a("li",[t._v("Infected population at the beggining of the outbreak - 300")]),t._v(" "),a("li",[t._v("Total population - 8.4187 million")])]),t._v(" "),a("p",[t._v("We now use an SIR model:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" data "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\nconsole"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("log")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("data"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("You'll get a console output of data from these compartments.")]),t._v(" "),a("p",[t._v("However, if you wanted to compare two compartments, you could also do that:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid_variant "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" chart "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" document"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getElementById")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'our-model'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\ncovid_outbreak "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\nvariant_outbreak "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid_variant"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("compare")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("chart"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" covid_outbreak"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" variant_outbreak"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19 Variant"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("and we get:\n"),a("img",{attrs:{src:"https://i.ibb.co/LRMLNBL/image.png",alt:"Output of the compare function"}})]),t._v(" "),a("p",[t._v("​")]),t._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),a("p",[t._v("You can compare anything, as long as they are an output of the com module. You can compare two outbreaks of the same community with different viruses, or different communities with the same virus, or even two different communities with two different viruses!")])])],1)}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{376:function(t,s,a){"use strict";a.r(s);var e=a(45),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"creating-a-sir-model-in-epijs"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#creating-a-sir-model-in-epijs"}},[t._v("#")]),t._v(" Creating a SIR Model in EpiJS")]),t._v(" "),a("h2",{attrs:{id:"table-of-contents"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),a("p"),a("div",{staticClass:"table-of-contents"},[a("ul",[a("li",[a("a",{attrs:{href:"#table-of-contents"}},[t._v("Table of Contents")])]),a("li",[a("a",{attrs:{href:"#the-base"}},[t._v("The Base")])]),a("li",[a("a",{attrs:{href:"#approach-no-1-custom-models"}},[t._v("Approach No. 1 - Custom Models")])]),a("li",[a("a",{attrs:{href:"#approach-no-2-pre-compiled-models"}},[t._v("Approach No. 2 - Pre-Compiled Models")])]),a("li",[a("a",{attrs:{href:"#approach-no-3-pre-compiled-models-with-community-modelling"}},[t._v("Approach No. 3 - Pre-Compiled Models with Community Modelling")])])])]),a("p"),t._v(" "),a("h2",{attrs:{id:"the-base"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#the-base"}},[t._v("#")]),t._v(" The Base")]),t._v(" "),a("p",[t._v("There are several ways to create an SIR model, and we're going to go through all of them. But first, we need to cover what the SIR model is. The SIR model is made up of several compartments:")]),t._v(" "),a("ul",[a("li",[a("strong",[t._v("S")]),t._v("usceptible")]),t._v(" "),a("li",[a("strong",[t._v("I")]),t._v("nfected")]),t._v(" "),a("li",[a("strong",[t._v("R")]),t._v("ecovered/removed")])]),t._v(" "),a("p",[t._v("For now, we'll treat the last compartment as removed and not recovered, to better represent an outbreak. To model the outbreak, we need to introduce some more parameters:")]),t._v(" "),a("ul",[a("li",[t._v("β - The infection rate")]),t._v(" "),a("li",[t._v("γ - The recovery rate")]),t._v(" "),a("li",[t._v("R"),a("sub",[t._v("0")]),t._v(" or R-Naught - The number of people one infected infects\n​")])]),t._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),a("p",[t._v("You don't need to know the infection rate when modelling. You can easily calculate it by taking R-Naught and multiplying it with the recovery rate. Because of this, we only need to know 2 of the 3 compartments, since you can find the other by finding the product or quotient of the other two numbers.")])]),t._v(" "),a("p",[t._v("Additionally, we have N, the total population, which we can quickly define as the sum of the three populations.")]),t._v(" "),a("p",[t._v("With these definitions, we can start to create equations for each compartment:")]),t._v(" "),a("div",{attrs:{align:"center"}},[a("img",{attrs:{src:"https://i.ibb.co/5837sMf/image.png",alt:"Equations for the SIR Model"}})]),t._v(" "),a("p",[t._v("And now that we know our equations, we can start to create the models in code.")]),t._v(" "),a("h2",{attrs:{id:"approach-no-1-custom-models"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#approach-no-1-custom-models"}},[t._v("#")]),t._v(" Approach No. 1 - Custom Models")]),t._v(" "),a("p",[t._v("Our first aproach is the most extensible. This allows us to easily add compartments beyond the S, I, and R. Let's start with the setup:")]),t._v(" "),a("tabs",{attrs:{"cache-lifetime":"10",options:{useUrlFragment:!1}}},[a("tab",{attrs:{name:"HTML",id:"first-tab"}},[a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])])]),t._v(" "),a("tab",{attrs:{name:"NodeJS",id:"second-tab"}},[a("p",[t._v("Install:")]),t._v(" "),a("div",{staticClass:"language-SH extra-class"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("npm")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("install")]),t._v(" @epispot/epijs\n")])])]),a("p",[t._v("Require:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" comp "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Import the required classes into the program")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" Model "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Model\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" Idiom "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" comp"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Idiom\n")])])])])],1),t._v(" "),a("p",[t._v("Now that we have everything set up, we can define each of our compartments and create the model")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Include configuration from above")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sir "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Let's go through this code. The first few lines define compartments with the "),a("code",[t._v("Idiom")]),t._v(" class, which allows you to create compartments with equations. The next section defines the starting values for the variables in the equation. We define the start susceptible population as 10000, the infected population as 100, and the recovered populaton as 0. We then also define p, which is our total population. The other parameters are:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("B")]),t._v(" - Infection rate")]),t._v(" "),a("li",[a("code",[t._v("u")]),t._v(" - The recovery rate")])]),t._v(" "),a("p",[t._v("Finally we define our model with the Model class, where we first pass in a list with sublists, where we define the compartment and their corresponding values in the key, and then the key itself.")]),t._v(" "),a("p",[t._v("We can now test the SIR model like so:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v("console"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("log")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sir"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("get_data")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Get's data for the 100th day")]),t._v("\n")])])]),a("p",[t._v("This will return something like:")]),t._v(" "),a("div",{staticClass:"language-JSON extra-class"},[a("pre",{pre:!0,attrs:{class:"language-json"}},[a("code",[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token property"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" data"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token property"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" data"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token property"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" data\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("h2",{attrs:{id:"approach-no-2-pre-compiled-models"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#approach-no-2-pre-compiled-models"}},[t._v("#")]),t._v(" Approach No. 2 - Pre-Compiled Models")]),t._v(" "),a("p",[t._v("This step is the easiest of them all, as you don't really have to write that much code, most of the work is done for you.")]),t._v(" "),a("p",[t._v("Let's start by setting up your program:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("canvas")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("id")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("SIR-Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}},[a("span",{pre:!0,attrs:{class:"token language-javascript"}},[t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/** All Code Snippets Go Here */")]),t._v("\n")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),a("p",[t._v("Now, we can use the one line of code:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("rn"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" s"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" i"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" time"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" u"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" p"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" stochastic"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Where:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("c")]),t._v(" is the canvas element,")]),t._v(" "),a("li",[a("code",[t._v("rn")]),t._v(" is R-Naught,")]),t._v(" "),a("li",[a("code",[t._v("s")]),t._v(" is the susceptible population,")]),t._v(" "),a("li",[a("code",[t._v("i")]),t._v(" is the infected population,")]),t._v(" "),a("li",[a("code",[t._v("time")]),t._v(" is the time to model for,")]),t._v(" "),a("li",[a("code",[t._v("u")]),t._v(" is the recovery rate,")]),t._v(" "),a("li",[a("code",[t._v("p")]),t._v(" is the total population,")]),t._v(" "),a("li",[t._v("and "),a("code",[t._v("stochastic")]),t._v(" is whether or not our model is stochastic")])]),t._v(" "),a("p",[t._v("So let's create our model:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirdata "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1.5")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Now, we can plot it with the plots module:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirdata"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"SIR-Model"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"approach-no-3-pre-compiled-models-with-community-modelling"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#approach-no-3-pre-compiled-models-with-community-modelling"}},[t._v("#")]),t._v(" Approach No. 3 - Pre-Compiled Models with Community Modelling")]),t._v(" "),a("p",[t._v("EpiJS also has a "),a("code",[t._v("com")]),t._v(" module, which allows for community modelling with pre-built or custom models. We're going to use the pre-build models for today, however you can read the docs for the modue for detailed instructions on custom models, which are useful if you want to use compartments from the "),a("code",[t._v("comp")]),t._v(" module in the "),a("code",[t._v("com")]),t._v(" module. First, however, let's set up our program:")]),t._v(" "),a("div",{staticClass:"language-HTML extra-class"},[a("pre",{pre:!0,attrs:{class:"language-html"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("canvas")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("id")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("'")]),t._v("our-model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("'")])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token attr-name"}},[t._v("src")]),a("span",{pre:!0,attrs:{class:"token attr-value"}},[a("span",{pre:!0,attrs:{class:"token punctuation attr-equals"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')]),t._v("https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v('"')])]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}}),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("script")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),a("span",{pre:!0,attrs:{class:"token script"}},[a("span",{pre:!0,attrs:{class:"token language-javascript"}},[t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("/** All Code Snippets Go Here */")]),t._v("\n")])]),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("")])]),t._v("\n")])])]),a("p",[t._v("First, we need to create our community, and our virus:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("Let's go through this. When we define the virus, we pass in two parameters:")]),t._v(" "),a("ul",[a("li",[t._v("R-naught - 5.7")]),t._v(" "),a("li",[t._v("Recovery rate - 2.1/100")])]),t._v(" "),a("p",[t._v("Next, for the community, we pass in three:")]),t._v(" "),a("ul",[a("li",[t._v("Population - 8.419 million")]),t._v(" "),a("li",[t._v("Infected population at the beggining of the outbreak - 300")]),t._v(" "),a("li",[t._v("Total population - 8.4187 million")])]),t._v(" "),a("p",[t._v("We now use an SIR model:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" data "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\nconsole"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("log")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("data"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("You'll get a console output of data from these compartments.")]),t._v(" "),a("p",[t._v("However, if you wanted to compare two compartments, you could also do that:")]),t._v(" "),a("div",{staticClass:"language-JavaScript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid_variant "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" chart "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" document"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getElementById")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'our-model'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\ncovid_outbreak "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\nvariant_outbreak "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid_variant"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("compare")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("chart"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" covid_outbreak"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" variant_outbreak"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19 Variant"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("p",[t._v("and we get:\n"),a("img",{attrs:{src:"https://i.ibb.co/LRMLNBL/image.png",alt:"Output of the compare function"}})]),t._v(" "),a("p",[t._v("​")]),t._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),a("p",[t._v("You can compare anything, as long as they are an output of the com module. You can compare two outbreaks of the same community with different viruses, or different communities with the same virus, or even two different communities with two different viruses!")])])],1)}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/13.656464db.js b/docs/.vuepress/dist/assets/js/13.69389283.js similarity index 99% rename from docs/.vuepress/dist/assets/js/13.656464db.js rename to docs/.vuepress/dist/assets/js/13.69389283.js index 43d7e1c..fed84f1 100644 --- a/docs/.vuepress/dist/assets/js/13.656464db.js +++ b/docs/.vuepress/dist/assets/js/13.69389283.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{372:function(t,a,e){"use strict";e.r(a);var s=e(44),n=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"migration-from-v1-to-v2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#migration-from-v1-to-v2"}},[t._v("#")]),t._v(" Migration from v1 to v2")]),t._v(" "),e("p",[t._v("A lot of things have changed from v1 to v2. First and foremost, we have officially dropped support for NodeJS 10, "),e("a",{attrs:{href:"https://github.com/epispot/EpiJS/pull/54",target:"_blank",rel:"noopener noreferrer"}},[t._v("along with MathJS dropping support"),e("OutboundLink")],1),t._v(". This shouldn't change much as NodeJS 10.x was "),e("a",{attrs:{href:"https://endoflife.date/nodejs",target:"_blank",rel:"noopener noreferrer"}},[t._v("already end-of-lifed"),e("OutboundLink")],1),t._v(", so we highly suggest upgrading your NodeJS version to the latest version or a LTS release.")]),t._v(" "),e("p",[t._v("Next, the big deprecation. This release now removes built-in plotting from the "),e("code",[t._v("pre")]),t._v(" module, and moved it to the brand-new "),e("code",[t._v("plots")]),t._v(" module. Why? Currently, the only way to interact with the data is through the chart, but other things you might want to do with the data, whatever they might be, most likely can't be done. So, we've changed the output to this format:")]),t._v(" "),e("div",{staticClass:"language-JSON extra-class"},[e("pre",{pre:!0,attrs:{class:"language-json"}},[e("code",[e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n label"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" '"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("COMPARTMENT NAME"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("'\n data"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("10")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" ..."),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),e("p",[t._v("Note that this is repeated for each compartment in a list, so to access a compartment, use the number corresponding to the value in the name of the model, for example, "),e("code",[t._v("data[0]")]),t._v(" would access the susceptible compartment in any model for the "),e("code",[t._v("pre")]),t._v(" compartment, as it comes first in all the SIR-based models. "),e("code",[t._v("data[1]")]),t._v(" might access an infected compartment or exposed compartment, based on the model, and so on.")]),t._v(" "),e("p",[t._v("However the syntax has also changed. Before it was:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'canvas'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("parameters"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("Take for example the SIR model:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'canvas'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("This creates a graph on the canvas for a model of an infection which has an r-naught of 4, susceptble population of 9999, infected population of 1, recovery rate of 1/21, and a total population of 10000, which it plots for 100 days. However, now, it changed to this:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" ourmodel "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("ourmodel"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'canvas'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("We obviously removed the canvas parameter, as we no longer plot with the pre model, and added the "),e("code",[t._v("plot")]),t._v(" function from the "),e("code",[t._v("plots")]),t._v(" module to plot it to the canvas. Let's start with that, however. First, we select the model, "),e("code",[t._v("ourmodel")]),t._v(", and then select the canvas, and then we add this new parameter, 100, which selects the amount of days to plot for, which allows us to plot 50 days, or even 1 day, but, for this case, we plot it for 100. As for the new parameter in the "),e("code",[t._v("sir")]),t._v(" function, is a new feature we added. Stochastic modelling. This allows for more accurate modelling of models, and we set it to true to make sure we model stochastically. Stochastic modelling also allows for extinctions, so when the infected population is very low, the disease might go extinct, as there is a probability they won't spread it to the people needed to keep the disease alive. Stochastic models then also give you different outputs each time, to better model an outbreak. You can still set this to false if you'd like to still have the same graph as before.")]),t._v(" "),e("p",[t._v("Another important aspect is that this variable was added to the majority of functions/classes. Your Idiom class can now be stochastic if you add a "),e("code",[t._v("w")]),t._v(" to the equation, which EpiJS will auto-generate each run as a random number from the gaussian distribution. In the "),e("code",[t._v("com")]),t._v(" module, when running a function on a class, there's the new parameter "),e("code",[t._v("stochastic")]),t._v(", which is like the other parameter in "),e("code",[t._v("pre")]),t._v(", it's a boolean which defines whether the model is stochastic or not.")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" outbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" com"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("virus"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" time"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("Is now:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" oubreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" com"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("virus"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" time"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Makes a stochastic sir model.")]),t._v("\n")])])]),e("p",[t._v("On the topic of the com module, the "),e("code",[t._v("h")]),t._v(" parameter is now gone on creating viruses, as there was never a pre-built "),e("code",[t._v("seihrd")]),t._v(" model, or any model which used a hospitalized compartment.")]),t._v(" "),e("p",[t._v("So, then why should you switch? You're doing fine right now! Well, not only is v2 a LTS release, meaning we'll support it for a long time (we're thinking around 2 major releases, if we even get that far!), but the release is introducing tons of new features!")]),t._v(" "),e("h2",{attrs:{id:"new-features-in-v2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#new-features-in-v2"}},[t._v("#")]),t._v(" New Features in "),e("code",[t._v("v2")])]),t._v(" "),e("ul",[e("li",[t._v("Stochastic modelling,")]),t._v(" "),e("li",[t._v("Custom models in "),e("code",[t._v("com")]),t._v(" module,")]),t._v(" "),e("li",[t._v("New pre-built compartments for you to use in "),e("code",[t._v("comp")]),t._v(", including:\n"),e("ul",[e("li",[t._v("Susceptible,")]),t._v(" "),e("li",[t._v("Exposed,")]),t._v(" "),e("li",[t._v("Infected,")]),t._v(" "),e("li",[t._v("Hospitalized,")]),t._v(" "),e("li",[t._v("Critical,")]),t._v(" "),e("li",[t._v("Recovered,")]),t._v(" "),e("li",[t._v("Dead,")]),t._v(" "),e("li",[t._v("and Vaccinated compartments,")])])]),t._v(" "),e("li",[t._v("A new utils compartment, which has epidemiological related utilities,")]),t._v(" "),e("li",[t._v("Bug fixes,")]),t._v(" "),e("li",[t._v("Customizable plotting,")]),t._v(" "),e("li",[t._v("Allows for more interaction with data from "),e("code",[t._v("pre")]),t._v(" module,")]),t._v(" "),e("li",[t._v("metadata on the web, through "),e("code",[t._v("EpiJS.about")]),t._v(", "),e("code",[t._v("EpiJS.version")]),t._v(", etc.")])]),t._v(" "),e("p",[t._v("and there's more coming in the new releases! You can just look at the "),e("a",{attrs:{href:"https://github.com/epispot/EpiJS/projects/1",target:"_blank",rel:"noopener noreferrer"}},[t._v("features project board"),e("OutboundLink")],1),t._v(" to get a preview at what's ahead!")]),t._v(" "),e("p",[t._v("Additionally, you can access all the functions via:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[t._v("EpiJS"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("module"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("like:")]),t._v(" "),e("div",{staticClass:"language- extra-class"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[t._v("EpiJS.pre.sir()\n")])])]),e("p",[t._v("why you would want to do that when you can just do "),e("code",[t._v("sir()")]),t._v(" is beyond me, but, it's an option!")])])}),[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{377:function(t,a,e){"use strict";e.r(a);var s=e(45),n=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"migration-from-v1-to-v2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#migration-from-v1-to-v2"}},[t._v("#")]),t._v(" Migration from v1 to v2")]),t._v(" "),e("p",[t._v("A lot of things have changed from v1 to v2. First and foremost, we have officially dropped support for NodeJS 10, "),e("a",{attrs:{href:"https://github.com/epispot/EpiJS/pull/54",target:"_blank",rel:"noopener noreferrer"}},[t._v("along with MathJS dropping support"),e("OutboundLink")],1),t._v(". This shouldn't change much as NodeJS 10.x was "),e("a",{attrs:{href:"https://endoflife.date/nodejs",target:"_blank",rel:"noopener noreferrer"}},[t._v("already end-of-lifed"),e("OutboundLink")],1),t._v(", so we highly suggest upgrading your NodeJS version to the latest version or a LTS release.")]),t._v(" "),e("p",[t._v("Next, the big deprecation. This release now removes built-in plotting from the "),e("code",[t._v("pre")]),t._v(" module, and moved it to the brand-new "),e("code",[t._v("plots")]),t._v(" module. Why? Currently, the only way to interact with the data is through the chart, but other things you might want to do with the data, whatever they might be, most likely can't be done. So, we've changed the output to this format:")]),t._v(" "),e("div",{staticClass:"language-JSON extra-class"},[e("pre",{pre:!0,attrs:{class:"language-json"}},[e("code",[e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n label"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" '"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("COMPARTMENT NAME"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("'\n data"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("10")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" ..."),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),e("p",[t._v("Note that this is repeated for each compartment in a list, so to access a compartment, use the number corresponding to the value in the name of the model, for example, "),e("code",[t._v("data[0]")]),t._v(" would access the susceptible compartment in any model for the "),e("code",[t._v("pre")]),t._v(" compartment, as it comes first in all the SIR-based models. "),e("code",[t._v("data[1]")]),t._v(" might access an infected compartment or exposed compartment, based on the model, and so on.")]),t._v(" "),e("p",[t._v("However the syntax has also changed. Before it was:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'canvas'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("parameters"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("Take for example the SIR model:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'canvas'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("This creates a graph on the canvas for a model of an infection which has an r-naught of 4, susceptble population of 9999, infected population of 1, recovery rate of 1/21, and a total population of 10000, which it plots for 100 days. However, now, it changed to this:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" ourmodel "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("ourmodel"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'canvas'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("We obviously removed the canvas parameter, as we no longer plot with the pre model, and added the "),e("code",[t._v("plot")]),t._v(" function from the "),e("code",[t._v("plots")]),t._v(" module to plot it to the canvas. Let's start with that, however. First, we select the model, "),e("code",[t._v("ourmodel")]),t._v(", and then select the canvas, and then we add this new parameter, 100, which selects the amount of days to plot for, which allows us to plot 50 days, or even 1 day, but, for this case, we plot it for 100. As for the new parameter in the "),e("code",[t._v("sir")]),t._v(" function, is a new feature we added. Stochastic modelling. This allows for more accurate modelling of models, and we set it to true to make sure we model stochastically. Stochastic modelling also allows for extinctions, so when the infected population is very low, the disease might go extinct, as there is a probability they won't spread it to the people needed to keep the disease alive. Stochastic models then also give you different outputs each time, to better model an outbreak. You can still set this to false if you'd like to still have the same graph as before.")]),t._v(" "),e("p",[t._v("Another important aspect is that this variable was added to the majority of functions/classes. Your Idiom class can now be stochastic if you add a "),e("code",[t._v("w")]),t._v(" to the equation, which EpiJS will auto-generate each run as a random number from the gaussian distribution. In the "),e("code",[t._v("com")]),t._v(" module, when running a function on a class, there's the new parameter "),e("code",[t._v("stochastic")]),t._v(", which is like the other parameter in "),e("code",[t._v("pre")]),t._v(", it's a boolean which defines whether the model is stochastic or not.")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" outbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" com"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("virus"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" time"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("Is now:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" oubreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" com"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("virus"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" time"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Makes a stochastic sir model.")]),t._v("\n")])])]),e("p",[t._v("On the topic of the com module, the "),e("code",[t._v("h")]),t._v(" parameter is now gone on creating viruses, as there was never a pre-built "),e("code",[t._v("seihrd")]),t._v(" model, or any model which used a hospitalized compartment.")]),t._v(" "),e("p",[t._v("So, then why should you switch? You're doing fine right now! Well, not only is v2 a LTS release, meaning we'll support it for a long time (we're thinking around 2 major releases, if we even get that far!), but the release is introducing tons of new features!")]),t._v(" "),e("h2",{attrs:{id:"new-features-in-v2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#new-features-in-v2"}},[t._v("#")]),t._v(" New Features in "),e("code",[t._v("v2")])]),t._v(" "),e("ul",[e("li",[t._v("Stochastic modelling,")]),t._v(" "),e("li",[t._v("Custom models in "),e("code",[t._v("com")]),t._v(" module,")]),t._v(" "),e("li",[t._v("New pre-built compartments for you to use in "),e("code",[t._v("comp")]),t._v(", including:\n"),e("ul",[e("li",[t._v("Susceptible,")]),t._v(" "),e("li",[t._v("Exposed,")]),t._v(" "),e("li",[t._v("Infected,")]),t._v(" "),e("li",[t._v("Hospitalized,")]),t._v(" "),e("li",[t._v("Critical,")]),t._v(" "),e("li",[t._v("Recovered,")]),t._v(" "),e("li",[t._v("Dead,")]),t._v(" "),e("li",[t._v("and Vaccinated compartments,")])])]),t._v(" "),e("li",[t._v("A new utils compartment, which has epidemiological related utilities,")]),t._v(" "),e("li",[t._v("Bug fixes,")]),t._v(" "),e("li",[t._v("Customizable plotting,")]),t._v(" "),e("li",[t._v("Allows for more interaction with data from "),e("code",[t._v("pre")]),t._v(" module,")]),t._v(" "),e("li",[t._v("metadata on the web, through "),e("code",[t._v("EpiJS.about")]),t._v(", "),e("code",[t._v("EpiJS.version")]),t._v(", etc.")])]),t._v(" "),e("p",[t._v("and there's more coming in the new releases! You can just look at the "),e("a",{attrs:{href:"https://github.com/epispot/EpiJS/projects/1",target:"_blank",rel:"noopener noreferrer"}},[t._v("features project board"),e("OutboundLink")],1),t._v(" to get a preview at what's ahead!")]),t._v(" "),e("p",[t._v("Additionally, you can access all the functions via:")]),t._v(" "),e("div",{staticClass:"language-JavaScript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[t._v("EpiJS"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("module"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("p",[t._v("like:")]),t._v(" "),e("div",{staticClass:"language- extra-class"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[t._v("EpiJS.pre.sir()\n")])])]),e("p",[t._v("why you would want to do that when you can just do "),e("code",[t._v("sir()")]),t._v(" is beyond me, but, it's an option!")])])}),[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/14.1ebbcd48.js b/docs/.vuepress/dist/assets/js/14.1ebbcd48.js deleted file mode 100644 index f78c7ab..0000000 --- a/docs/.vuepress/dist/assets/js/14.1ebbcd48.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{373:function(t,s,a){"use strict";a.r(s);var e=a(44),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h3",{attrs:{id:"table-of-contents"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#model"}},[t._v("Model")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#get-data"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples"}},[t._v("Examples")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#get_data"}},[t._v("get_data")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])])])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#mexport"}},[t._v("mexport")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-2"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-2"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#mimport"}},[t._v("mimport")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-3"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-3"}},[t._v("Examples")])])])])]),t._v(" "),a("h1",{attrs:{id:"model"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#model"}},[t._v("#")]),t._v(" Model")]),t._v(" "),a("p",[t._v("EpiJS module for creating custom models, which are made of compartments.")]),t._v(" "),a("p",[t._v("Import it with:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" model "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("model\n")])])]),a("h2",{attrs:{id:"model-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#model-2"}},[t._v("#")]),t._v(" Model")]),t._v(" "),a("p",[t._v("Create a model.")]),t._v(" "),a("h3",{attrs:{id:"parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("compartments")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" Compartments in the model. Each should be a list, with the first value being the compartment, and the second being it's start value in the key.")]),t._v(" "),a("li",[a("code",[t._v("key")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),a("OutboundLink")],1)]),t._v(" The key of values for any variable used in the equation. If you use any variable which represents the population of a compartment, add the starting value into the key.")])]),t._v(" "),a("h3",{attrs:{id:"examples"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h3",{attrs:{id:"get-data"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#get-data"}},[t._v("#")]),t._v(" get_data")]),t._v(" "),a("p",[t._v("Get data for the outbreak.")]),t._v(" "),a("h4",{attrs:{id:"parameters-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("time")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),a("OutboundLink")],1)]),t._v(" The total time to model.")])]),t._v(" "),a("h4",{attrs:{id:"examples-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nmodel"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("get_data")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Get data for 100 days.")]),t._v("\n")])])]),a("h2",{attrs:{id:"mexport"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#mexport"}},[t._v("#")]),t._v(" mexport")]),t._v(" "),a("p",[t._v("NodeJS only! Exports models to a file which can then be imported later on.")]),t._v(" "),a("h3",{attrs:{id:"parameters-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("model")]),t._v(" The EpiJS model to export")]),t._v(" "),a("li",[a("code",[t._v("output")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(" The output file path, doesn't have to exist")]),t._v(" "),a("li",[a("code",[t._v("file_type")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(' The file type to output. Supported inputs are ".json" and ".js". (optional, default '),a("code",[t._v('".json"')]),t._v(")")])]),t._v(" "),a("h3",{attrs:{id:"examples-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("mexport")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirm"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"output.js"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" file_type"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('".js"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"mimport"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#mimport"}},[t._v("#")]),t._v(" mimport")]),t._v(" "),a("p",[t._v("NodeJS only! Imports a model from a file.")]),t._v(" "),a("h3",{attrs:{id:"parameters-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("input")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(" The input file path, as a relative path.")]),t._v(" "),a("li",[a("code",[t._v("file_type")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(' The file type of the input. Supported inputs are ".json" and ".js". (optional, default '),a("code",[t._v('".json"')]),t._v(")")])]),t._v(" "),a("h3",{attrs:{id:"examples-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Use mexport to export a model into a file")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("mimport")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"./output.json"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/14.2151a125.js b/docs/.vuepress/dist/assets/js/14.2151a125.js new file mode 100644 index 0000000..f94679d --- /dev/null +++ b/docs/.vuepress/dist/assets/js/14.2151a125.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{378:function(t,s,a){"use strict";a.r(s);var e=a(45),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h3",{attrs:{id:"table-of-contents"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#model"}},[t._v("Model")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples"}},[t._v("Examples")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#get_data"}},[t._v("get_data")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#remove"}},[t._v("remove")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-2"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-2"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#add"}},[t._v("add")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-3"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-3"}},[t._v("Examples")])])])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#mexport"}},[t._v("mexport")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-4"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-4"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#mimport"}},[t._v("mimport")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-5"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-5"}},[t._v("Examples")])])])])]),t._v(" "),a("h1",{attrs:{id:"model"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#model"}},[t._v("#")]),t._v(" Model")]),t._v(" "),a("p",[t._v("EpiJS module for creating custom models, which are made of compartments.")]),t._v(" "),a("p",[t._v("Import it with:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" model "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("model\n")])])]),a("h2",{attrs:{id:"model-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#model-2"}},[t._v("#")]),t._v(" Model")]),t._v(" "),a("p",[t._v("Create a model.")]),t._v(" "),a("h3",{attrs:{id:"parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("compartments")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" Compartments in the model. Each should be a list, with the first value being the compartment, and the second being it's start value in the key.")]),t._v(" "),a("li",[a("code",[t._v("key")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),a("OutboundLink")],1)]),t._v(" The key of values for any variable used in the equation. If you use any variable which represents the population of a compartment, add the starting value into the key.")])]),t._v(" "),a("h3",{attrs:{id:"examples"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h3",{attrs:{id:"get-data"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#get-data"}},[t._v("#")]),t._v(" get_data")]),t._v(" "),a("p",[t._v("Get data for the outbreak.")]),t._v(" "),a("h4",{attrs:{id:"parameters-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("time")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),a("OutboundLink")],1)]),t._v(" The total time to model.")])]),t._v(" "),a("h4",{attrs:{id:"examples-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nmodel"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("get_data")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Get data for 100 days.")]),t._v("\n")])])]),a("h3",{attrs:{id:"remove"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#remove"}},[t._v("#")]),t._v(" remove")]),t._v(" "),a("p",[t._v("Remove a compartment from the model.")]),t._v(" "),a("h4",{attrs:{id:"parameters-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("compartment")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),a("OutboundLink")],1)]),t._v(" The compartment to remove.")])]),t._v(" "),a("h4",{attrs:{id:"examples-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nsirm"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("remove")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Removes the recovered compartment.")]),t._v("\n")])])]),a("h3",{attrs:{id:"add"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#add"}},[t._v("#")]),t._v(" add")]),t._v(" "),a("p",[t._v("Add a compartment to the model.")]),t._v(" "),a("h4",{attrs:{id:"parameters-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("compartment")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" The compartment to add, should be a list, with the first value being the compartment, and the second being it's value in the key.")])]),t._v(" "),a("h4",{attrs:{id:"examples-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\t\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" #model"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("-")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("2")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n\t"),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" #get"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("-")]),t._v("data\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nsirm"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("remove")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Removes the susceptible compartment.")]),t._v("\nsirm"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Adds the susceptible compartment back.")]),t._v("\n")])])]),a("h2",{attrs:{id:"mexport"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#mexport"}},[t._v("#")]),t._v(" mexport")]),t._v(" "),a("p",[t._v("NodeJS only! Exports models to a file which can then be imported later on.")]),t._v(" "),a("h3",{attrs:{id:"parameters-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("model")]),t._v(" The EpiJS model to export")]),t._v(" "),a("li",[a("code",[t._v("output")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(" The output file path, doesn't have to exist")]),t._v(" "),a("li",[a("code",[t._v("file_type")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(' The file type to output. Supported inputs are ".json" and ".js". (optional, default '),a("code",[t._v('".json"')]),t._v(")")])]),t._v(" "),a("h3",{attrs:{id:"examples-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" key "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"B"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"p"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"u"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Model")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" key"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("mexport")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirm"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"output.js"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" file_type"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('".js"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"mimport"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#mimport"}},[t._v("#")]),t._v(" mimport")]),t._v(" "),a("p",[t._v("NodeJS only! Imports a model from a file.")]),t._v(" "),a("h3",{attrs:{id:"parameters-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-6"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("input")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(" The input file path, as a relative path.")]),t._v(" "),a("li",[a("code",[t._v("file_type")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(' The file type of the input. Supported inputs are ".json" and ".js". (optional, default '),a("code",[t._v('".json"')]),t._v(")")])]),t._v(" "),a("h3",{attrs:{id:"examples-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-6"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Use mexport to export a model into a file")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirm "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("mimport")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"./output.json"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/15.5ca88985.js b/docs/.vuepress/dist/assets/js/15.1b080847.js similarity index 98% rename from docs/.vuepress/dist/assets/js/15.5ca88985.js rename to docs/.vuepress/dist/assets/js/15.1b080847.js index 3120d84..8892752 100644 --- a/docs/.vuepress/dist/assets/js/15.5ca88985.js +++ b/docs/.vuepress/dist/assets/js/15.1b080847.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{375:function(t,a,s){"use strict";s.r(a);var e=s(44),r=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h3",{attrs:{id:"table-of-contents"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#plot"}},[t._v("plot")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#examples"}},[t._v("Examples")])])])]),t._v(" "),s("li",[s("a",{attrs:{href:"#manipulate"}},[t._v("manipulate")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])])])])]),t._v(" "),s("h2",{attrs:{id:"plot"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#plot"}},[t._v("#")]),t._v(" Plot")]),t._v(" "),s("p",[t._v("Graphs plots from the pre module.")]),t._v(" "),s("p",[t._v("Import it with:")]),t._v(" "),s("div",{staticClass:"language-javascript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" plots "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("plots\n")])])]),s("h2",{attrs:{id:"plot-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#plot-2"}},[t._v("#")]),t._v(" plot")]),t._v(" "),s("p",[t._v("Plots a output of a model from the pre module.")]),t._v(" "),s("h3",{attrs:{id:"parameters"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),s("ul",[s("li",[s("code",[t._v("model")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),s("OutboundLink")],1)]),t._v(" The output from the pre module function.")]),t._v(" "),s("li",[s("code",[t._v("canvas")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement",target:"_blank",rel:"noopener noreferrer"}},[t._v("HTMLCanvasElement"),s("OutboundLink")],1)]),t._v(" The canvas to show the output.")]),t._v(" "),s("li",[s("code",[t._v("days")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),s("OutboundLink")],1)]),t._v(" The amount of days to plot")]),t._v(" "),s("li",[s("code",[t._v("colors")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),s("OutboundLink")],1)]),t._v(" Custom colors for the graph, in the same order the compartments are. (optional, default "),s("code",[t._v("null")]),t._v(")")]),t._v(" "),s("li",[s("code",[t._v("options")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),s("OutboundLink")],1)]),t._v(" Optional. Custom configuration to pass into the options parameter for chart.js, defaults to:")])]),t._v(" "),s("div",{staticClass:"language-JSON extra-class"},[s("pre",{pre:!0,attrs:{class:"language-json"}},[s("code",[t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n title"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n display"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n text"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"Total Cases"')]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n scales"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n yAxes"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n ticks"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n beginAtZero"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),s("h3",{attrs:{id:"examples"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),s("div",{staticClass:"language-javascript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirout1 "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1000")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("10999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirout1"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"canvas-pre1"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Plots data for 100 days onto the canvas-pre1 chart, with the data from the SIR model.")]),t._v("\n")])])]),s("p",[t._v("Returns "),s("strong",[t._v("any")]),t._v(" Returns the chart.js chart, if needed for modification.")]),t._v(" "),s("h2",{attrs:{id:"manipulate"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#manipulate"}},[t._v("#")]),t._v(" manipulate")]),t._v(" "),s("p",[t._v("Manipulate the chart.js graph")]),t._v(" "),s("h3",{attrs:{id:"parameters-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),s("ul",[s("li",[s("code",[t._v("id")]),t._v(" The chart.js graph")]),t._v(" "),s("li",[s("code",[t._v("mvalue")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),s("OutboundLink")],1)]),t._v(" The value to manipulate in "),s("code",[t._v("chart.data.datasets[x]")]),t._v(". This can be any valid chart.js parameter. See "),s("a",{attrs:{href:"https://www.chartjs.org/docs/latest/charts/line.html#line-styling",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://www.chartjs.org/docs/latest/charts/line.html#line-styling"),s("OutboundLink")],1)]),t._v(" "),s("li",[s("code",[t._v("value")]),t._v(" The value to insert into the graph")])]),t._v(" "),s("h3",{attrs:{id:"examples-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),s("div",{staticClass:"language-javascript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirout1 "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1000")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("10999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirplot "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirout1"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"canvas-pre1"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nsirplot"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("manipulate")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirplot"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"fill"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Set fill to true")]),t._v("\n")])])]),s("p",[t._v("Returns "),s("strong",[t._v("any")]),t._v(" The chart.js graph")])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{379:function(t,a,s){"use strict";s.r(a);var e=s(45),r=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h3",{attrs:{id:"table-of-contents"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#plot"}},[t._v("plot")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#examples"}},[t._v("Examples")])])])]),t._v(" "),s("li",[s("a",{attrs:{href:"#manipulate"}},[t._v("manipulate")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])])])])]),t._v(" "),s("h2",{attrs:{id:"plot"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#plot"}},[t._v("#")]),t._v(" Plot")]),t._v(" "),s("p",[t._v("Graphs plots from the pre module.")]),t._v(" "),s("p",[t._v("Import it with:")]),t._v(" "),s("div",{staticClass:"language-javascript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" plots "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("plots\n")])])]),s("h2",{attrs:{id:"plot-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#plot-2"}},[t._v("#")]),t._v(" plot")]),t._v(" "),s("p",[t._v("Plots a output of a model from the pre module.")]),t._v(" "),s("h3",{attrs:{id:"parameters"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),s("ul",[s("li",[s("code",[t._v("model")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),s("OutboundLink")],1)]),t._v(" The output from the pre module function.")]),t._v(" "),s("li",[s("code",[t._v("canvas")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement",target:"_blank",rel:"noopener noreferrer"}},[t._v("HTMLCanvasElement"),s("OutboundLink")],1)]),t._v(" The canvas to show the output.")]),t._v(" "),s("li",[s("code",[t._v("days")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),s("OutboundLink")],1)]),t._v(" The amount of days to plot")]),t._v(" "),s("li",[s("code",[t._v("colors")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),s("OutboundLink")],1)]),t._v(" Custom colors for the graph, in the same order the compartments are. (optional, default "),s("code",[t._v("null")]),t._v(")")]),t._v(" "),s("li",[s("code",[t._v("options")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),s("OutboundLink")],1)]),t._v(" Optional. Custom configuration to pass into the options parameter for chart.js, defaults to:")])]),t._v(" "),s("div",{staticClass:"language-JSON extra-class"},[s("pre",{pre:!0,attrs:{class:"language-json"}},[s("code",[t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n title"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n display"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n text"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"Total Cases"')]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n scales"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n yAxes"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n ticks"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n beginAtZero"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),s("h3",{attrs:{id:"examples"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),s("div",{staticClass:"language-javascript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirout1 "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1000")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("10999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirout1"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"canvas-pre1"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Plots data for 100 days onto the canvas-pre1 chart, with the data from the SIR model.")]),t._v("\n")])])]),s("p",[t._v("Returns "),s("strong",[t._v("any")]),t._v(" Returns the chart.js chart, if needed for modification.")]),t._v(" "),s("h2",{attrs:{id:"manipulate"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#manipulate"}},[t._v("#")]),t._v(" manipulate")]),t._v(" "),s("p",[t._v("Manipulate the chart.js graph")]),t._v(" "),s("h3",{attrs:{id:"parameters-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),s("ul",[s("li",[s("code",[t._v("id")]),t._v(" The chart.js graph")]),t._v(" "),s("li",[s("code",[t._v("mvalue")]),t._v(" "),s("strong",[s("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),s("OutboundLink")],1)]),t._v(" The value to manipulate in "),s("code",[t._v("chart.data.datasets[x]")]),t._v(". This can be any valid chart.js parameter. See "),s("a",{attrs:{href:"https://www.chartjs.org/docs/latest/charts/line.html#line-styling",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://www.chartjs.org/docs/latest/charts/line.html#line-styling"),s("OutboundLink")],1)]),t._v(" "),s("li",[s("code",[t._v("value")]),t._v(" The value to insert into the graph")])]),t._v(" "),s("h3",{attrs:{id:"examples-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),s("div",{staticClass:"language-javascript extra-class"},[s("pre",{pre:!0,attrs:{class:"language-javascript"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirout1 "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("9999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1000")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("21")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("10999")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" sirplot "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("plot")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirout1"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"canvas-pre1"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\nsirplot"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("manipulate")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("sirplot"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"fill"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Set fill to true")]),t._v("\n")])])]),s("p",[t._v("Returns "),s("strong",[t._v("any")]),t._v(" The chart.js graph")])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/16.5683af4a.js b/docs/.vuepress/dist/assets/js/16.a484d9e5.js similarity index 99% rename from docs/.vuepress/dist/assets/js/16.5683af4a.js rename to docs/.vuepress/dist/assets/js/16.a484d9e5.js index a26cadc..f361e2c 100644 --- a/docs/.vuepress/dist/assets/js/16.5683af4a.js +++ b/docs/.vuepress/dist/assets/js/16.a484d9e5.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{374:function(e,t,r){"use strict";r.r(t);var a=r(44),s=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h3",{attrs:{id:"table-of-contents"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[e._v("#")]),e._v(" Table of Contents")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#sir"}},[e._v("sir")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seir"}},[e._v("seir")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-1"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-1"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seird"}},[e._v("seird")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-2"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-2"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seihrd"}},[e._v("seihrd")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-3"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-3"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seihcrd"}},[e._v("seihcrd")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-4"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-4"}},[e._v("Examples")])])])])]),e._v(" "),r("h1",{attrs:{id:"pre"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#pre"}},[e._v("#")]),e._v(" Pre")]),e._v(" "),r("p",[e._v("Pre-made models for disease outbreaks.")]),e._v(" "),r("p",[e._v("Import it with:")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token keyword"}},[e._v("const")]),e._v(" pre "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("require")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token string"}},[e._v("'@epispot/epijs'")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(".")]),e._v("pre\n")])])]),r("h2",{attrs:{id:"sir"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sir"}},[e._v("#")]),e._v(" sir")]),e._v(" "),r("p",[e._v("The SIR Model. Returns a chart.js graph with the total Susceptible, Infected, and Recovered after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of th outbreak")]),e._v(" "),r("li",[r("code",[e._v("time")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("sir")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seir"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seir"}},[e._v("#")]),e._v(" seir")]),e._v(" "),r("p",[e._v("The SEIR Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, and Recovered after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of th outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seir")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("7")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("7")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seird"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seird"}},[e._v("#")]),e._v(" seird")]),e._v(" "),r("p",[e._v("The SEIRD Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, Recovered, and Dead populations after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("d")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seird")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("99999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("14")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seihrd"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seihrd"}},[e._v("#")]),e._v(" seihrd")]),e._v(" "),r("p",[e._v("The SEIHRD Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, Hospitalized, Recovered, and Dead populations after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-4"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("uh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("di")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("dh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("h")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The hospitalization rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-4"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seihrd")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("265")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("40")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("14")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("20")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("30")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seihcrd"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seihcrd"}},[e._v("#")]),e._v(" seihcrd")]),e._v(" "),r("p",[e._v("The SEIHCRD Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, Hospitalized, Critical, Recovered, and Dead populations after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-5"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("uh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("di")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("dh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("ch")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which patients go to the critical stage from the hospitalized compartment.")]),e._v(" "),r("li",[r("code",[e._v("ci")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which patients go to the critical stage from the infected compartemnt.")]),e._v(" "),r("li",[r("code",[e._v("dc")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for critical patients")]),e._v(" "),r("li",[r("code",[e._v("uc")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for critical patients")]),e._v(" "),r("li",[r("code",[e._v("hc")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which a critical patient goes to the hospitalized compartment, and are no longer critical.")]),e._v(" "),r("li",[r("code",[e._v("ic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which a critical patient goes to the infected compartment, and are no longer critical.")]),e._v(" "),r("li",[r("code",[e._v("h")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The hospitalization rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-5"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seihcrd")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("265")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("40")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("14")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("20")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("40")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("2")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("30")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{380:function(e,t,r){"use strict";r.r(t);var a=r(45),s=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h3",{attrs:{id:"table-of-contents"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[e._v("#")]),e._v(" Table of Contents")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#sir"}},[e._v("sir")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seir"}},[e._v("seir")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-1"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-1"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seird"}},[e._v("seird")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-2"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-2"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seihrd"}},[e._v("seihrd")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-3"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-3"}},[e._v("Examples")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#seihcrd"}},[e._v("seihcrd")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-4"}},[e._v("Parameters")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#examples-4"}},[e._v("Examples")])])])])]),e._v(" "),r("h1",{attrs:{id:"pre"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#pre"}},[e._v("#")]),e._v(" Pre")]),e._v(" "),r("p",[e._v("Pre-made models for disease outbreaks.")]),e._v(" "),r("p",[e._v("Import it with:")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token keyword"}},[e._v("const")]),e._v(" pre "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("require")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token string"}},[e._v("'@epispot/epijs'")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(".")]),e._v("pre\n")])])]),r("h2",{attrs:{id:"sir"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sir"}},[e._v("#")]),e._v(" sir")]),e._v(" "),r("p",[e._v("The SIR Model. Returns a chart.js graph with the total Susceptible, Infected, and Recovered after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of th outbreak")]),e._v(" "),r("li",[r("code",[e._v("time")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("sir")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seir"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seir"}},[e._v("#")]),e._v(" seir")]),e._v(" "),r("p",[e._v("The SEIR Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, and Recovered after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of th outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seir")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("7")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("7")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seird"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seird"}},[e._v("#")]),e._v(" seird")]),e._v(" "),r("p",[e._v("The SEIRD Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, Recovered, and Dead populations after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("d")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seird")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("99999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("14")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seihrd"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seihrd"}},[e._v("#")]),e._v(" seihrd")]),e._v(" "),r("p",[e._v("The SEIHRD Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, Hospitalized, Recovered, and Dead populations after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-4"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("uh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("di")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("dh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("h")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The hospitalization rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-4"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seihrd")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("265")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("40")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("14")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("20")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("30")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")]),e._v(" "),r("h2",{attrs:{id:"seihcrd"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#seihcrd"}},[e._v("#")]),e._v(" seihcrd")]),e._v(" "),r("p",[e._v("The SEIHCRD Model. Returns a chart.js graph with the total Susceptible, Exposed, Infected, Hospitalized, Critical, Recovered, and Dead populations after the given amount of time.")]),e._v(" "),r("h3",{attrs:{id:"parameters-5"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R Naught, or the amount of people one infected infects whlie infected.")]),e._v(" "),r("li",[r("code",[e._v("s")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Susceptible population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("i")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The Infected population at the beggining of the outbreak")]),e._v(" "),r("li",[r("code",[e._v("t")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The time the total simulation lasts.")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("uh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("a")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The incubation period")]),e._v(" "),r("li",[r("code",[e._v("di")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the infected population")]),e._v(" "),r("li",[r("code",[e._v("dh")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for the hospitalized population")]),e._v(" "),r("li",[r("code",[e._v("ch")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which patients go to the critical stage from the hospitalized compartment.")]),e._v(" "),r("li",[r("code",[e._v("ci")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which patients go to the critical stage from the infected compartemnt.")]),e._v(" "),r("li",[r("code",[e._v("dc")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The death rate for critical patients")]),e._v(" "),r("li",[r("code",[e._v("uc")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate for critical patients")]),e._v(" "),r("li",[r("code",[e._v("hc")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which a critical patient goes to the hospitalized compartment, and are no longer critical.")]),e._v(" "),r("li",[r("code",[e._v("ic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The rate at which a critical patient goes to the infected compartment, and are no longer critical.")]),e._v(" "),r("li",[r("code",[e._v("h")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The hospitalization rate")]),e._v(" "),r("li",[r("code",[e._v("p")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The total population.")]),e._v(" "),r("li",[r("code",[e._v("stochastic")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[e._v("Boolean"),r("OutboundLink")],1)]),e._v(" Whether to make the model stochastic or not.")])]),e._v(" "),r("h3",{attrs:{id:"examples-5"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[e._v("#")]),e._v(" Examples")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("seihcrd")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("4")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("9999")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("265")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("21")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("40")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("14")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("100")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("20")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("40")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("2")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("5")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("1")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("/")]),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("30")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("10000")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token boolean"}},[e._v("true")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),e._v("\n")])])]),r("p",[e._v("Returns "),r("strong",[e._v("any")]),e._v(" The data for the model as a list.")])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/17.33651cd7.js b/docs/.vuepress/dist/assets/js/17.113e2690.js similarity index 97% rename from docs/.vuepress/dist/assets/js/17.33651cd7.js rename to docs/.vuepress/dist/assets/js/17.113e2690.js index d3626ec..f73f6aa 100644 --- a/docs/.vuepress/dist/assets/js/17.33651cd7.js +++ b/docs/.vuepress/dist/assets/js/17.113e2690.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{376:function(e,a,r){"use strict";r.r(a);var t=r(44),s=Object(t.a)({},(function(){var e=this,a=e.$createElement,r=e._self._c||a;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h3",{attrs:{id:"table-of-contents"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[e._v("#")]),e._v(" Table of Contents")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#calcrn-1"}},[e._v("calcrn")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-1"}},[e._v("Parameters")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#calcb"}},[e._v("calcb")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-2"}},[e._v("Parameters")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#calcu"}},[e._v("calcu")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-3"}},[e._v("Parameters")])])])])]),e._v(" "),r("h1",{attrs:{id:"utils"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#utils"}},[e._v("#")]),e._v(" Utils")]),e._v(" "),r("p",[e._v("Epidemiological Utilities, like calculating the R-Naught and the infection rate of a disease.")]),e._v(" "),r("p",[e._v("Import it with:")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token keyword"}},[e._v("const")]),e._v(" utils "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("require")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token string"}},[e._v("'@epispot/epijs'")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(".")]),e._v("utils\n")])])]),r("h2",{attrs:{id:"calcrn"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#calcrn"}},[e._v("#")]),e._v(" calcrn")]),e._v(" "),r("p",[e._v("Calculate R-Naught")]),e._v(" "),r("h3",{attrs:{id:"parameters"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("b")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The infection rate")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")])]),e._v(" "),r("h2",{attrs:{id:"calcb"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#calcb"}},[e._v("#")]),e._v(" calcb")]),e._v(" "),r("p",[e._v("Calculate Infection rate")]),e._v(" "),r("h3",{attrs:{id:"parameters-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R-Naught Value")]),e._v(" "),r("li",[r("code",[e._v("u1")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")])]),e._v(" "),r("h2",{attrs:{id:"calcu"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#calcu"}},[e._v("#")]),e._v(" calcu")]),e._v(" "),r("p",[e._v("Calculate Recovery Rate")]),e._v(" "),r("h3",{attrs:{id:"parameters-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn1")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R-Naught Value")]),e._v(" "),r("li",[r("code",[e._v("b1")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The infection rate")])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{381:function(e,a,r){"use strict";r.r(a);var t=r(45),s=Object(t.a)({},(function(){var e=this,a=e.$createElement,r=e._self._c||a;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h3",{attrs:{id:"table-of-contents"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[e._v("#")]),e._v(" Table of Contents")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#calcrn-1"}},[e._v("calcrn")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-1"}},[e._v("Parameters")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#calcb"}},[e._v("calcb")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-2"}},[e._v("Parameters")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#calcu"}},[e._v("calcu")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#parameters-3"}},[e._v("Parameters")])])])])]),e._v(" "),r("h1",{attrs:{id:"utils"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#utils"}},[e._v("#")]),e._v(" Utils")]),e._v(" "),r("p",[e._v("Epidemiological Utilities, like calculating the R-Naught and the infection rate of a disease.")]),e._v(" "),r("p",[e._v("Import it with:")]),e._v(" "),r("div",{staticClass:"language-javascript extra-class"},[r("pre",{pre:!0,attrs:{class:"language-javascript"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token keyword"}},[e._v("const")]),e._v(" utils "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("require")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token string"}},[e._v("'@epispot/epijs'")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(".")]),e._v("utils\n")])])]),r("h2",{attrs:{id:"calcrn"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#calcrn"}},[e._v("#")]),e._v(" calcrn")]),e._v(" "),r("p",[e._v("Calculate R-Naught")]),e._v(" "),r("h3",{attrs:{id:"parameters"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("b")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The infection rate")]),e._v(" "),r("li",[r("code",[e._v("u")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")])]),e._v(" "),r("h2",{attrs:{id:"calcb"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#calcb"}},[e._v("#")]),e._v(" calcb")]),e._v(" "),r("p",[e._v("Calculate Infection rate")]),e._v(" "),r("h3",{attrs:{id:"parameters-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R-Naught Value")]),e._v(" "),r("li",[r("code",[e._v("u1")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The recovery rate")])]),e._v(" "),r("h2",{attrs:{id:"calcu"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#calcu"}},[e._v("#")]),e._v(" calcu")]),e._v(" "),r("p",[e._v("Calculate Recovery Rate")]),e._v(" "),r("h3",{attrs:{id:"parameters-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[e._v("#")]),e._v(" Parameters")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("rn1")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" R-Naught Value")]),e._v(" "),r("li",[r("code",[e._v("b1")]),e._v(" "),r("strong",[r("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[e._v("Number"),r("OutboundLink")],1)]),e._v(" The infection rate")])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/2.9dda8840.js b/docs/.vuepress/dist/assets/js/2.9dda8840.js deleted file mode 100644 index 5a0a370..0000000 --- a/docs/.vuepress/dist/assets/js/2.9dda8840.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{309:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"i",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return d})),n.d(e,"c",(function(){return v})),n.d(e,"j",(function(){return m}));n(45),n(67),n(310),n(312),n(172),n(66),n(95),n(96),n(29),n(97),n(165);var i=/#.*$/,r=/\.(md|html)$/,a=/\/$/,s=/^[a-z]+:/i;function o(t){return decodeURI(t).replace(i,"").replace(r,"")}function u(t){return s.test(t)}function l(t){return/^mailto:/.test(t)}function c(t){return/^tel:/.test(t)}function h(t){if(u(t))return t;var e=t.match(i),n=e?e[0]:"",r=o(t);return a.test(r)?t:r+".html"+n}function p(t,e){var n=decodeURIComponent(t.hash),r=function(t){var e=t.match(i);if(e)return e[0]}(e);return(!r||n===r)&&o(t.path)===o(e)}function f(t,e,n){if(u(e))return{type:"external",path:e};n&&(e=function(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return f(n,e,i);if(Array.isArray(e))return Object.assign(f(n,e[0],i),{title:e[1]});var a=e.children||[];return 0===a.length&&e.path?Object.assign(f(n,e.path,i),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,initialOpenGroupIndex:e.initialOpenGroupIndex,children:a.map((function(e){return t(e,n,i,r+1)})),collapsable:!1!==e.collapsable}}(t,r,l)})):[]}return[]}function g(t){var e=v(t.headers||[]);return[{type:"group",collapsable:!1,title:t.title,path:null,children:e.map((function(e){return{type:"auto",title:e.title,basePath:t.path,path:t.path+"#"+e.slug,children:e.children||[]}}))}]}function v(t){var e;return(t=t.map((function(t){return Object.assign({},t)}))).forEach((function(t){2===t.level?e=t:e&&(e.children||(e.children=[])).push(t)})),t.filter((function(t){return 2===t.level}))}function m(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}},310:function(t,e,n){"use strict";var i=n(169),r=n(5),a=n(13),s=n(23),o=n(170),u=n(171);i("match",(function(t,e,n){return[function(e){var n=s(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,this,t);if(i.done)return i.value;var s=r(this),l=String(t);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,p=[],f=0;null!==(h=u(s,l));){var d=String(h[0]);p[f]=d,""===d&&(s.lastIndex=o(l,a(s.lastIndex),c)),f++}return 0===f?null:p}]}))},311:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},312:function(t,e,n){"use strict";var i=n(169),r=n(166),a=n(5),s=n(23),o=n(100),u=n(170),l=n(13),c=n(171),h=n(70),p=n(168),f=n(1),d=p.UNSUPPORTED_Y,g=[].push,v=Math.min;i("split",(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,a);for(var o,u,l,c=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=new RegExp(t.source,p+"g");(o=h.call(d,i))&&!((u=d.lastIndex)>f&&(c.push(i.slice(f,o.index)),o.length>1&&o.index=a));)d.lastIndex===o.index&&d.lastIndex++;return f===i.length?!l&&d.test("")||c.push(""):c.push(i.slice(f)),c.length>a?c.slice(0,a):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=s(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,r,n):i.call(String(r),e,n)},function(t,r){var s=n(i,this,t,r,i!==e);if(s.done)return s.value;var h=a(this),p=String(t),f=o(h,RegExp),g=h.unicode,m=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(d?"g":"y"),b=new f(d?"^(?:"+h.source+")":h,m),k=void 0===r?4294967295:r>>>0;if(0===k)return[];if(0===p.length)return null===c(b,p)?[p]:[];for(var _=0,x=0,C=[];x@^][^\s!#%&*+<=>@^]*>/,L=/a/g,w=/a/g,S=new C(L)!==L,O=p.UNSUPPORTED_Y,I=i&&(!S||O||k||_||d((function(){return w[x]=!1,C(L)!=L||C(w)==w||"/a/i"!=C(L,"i")})));if(a("RegExp",I)){for(var E=function(t,e){var n,i,r,a,u,l,p=this instanceof E,f=c(t),d=void 0===e,m=[],b=t;if(!p&&f&&d&&t.constructor===E)return t;if((f||t instanceof E)&&(t=t.source,d&&(e="flags"in b?b.flags:h.call(b))),t=void 0===t?"":String(t),e=void 0===e?"":String(e),b=t,k&&"dotAll"in L&&(i=!!e&&e.indexOf("s")>-1)&&(e=e.replace(/s/g,"")),n=e,O&&"sticky"in L&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,"")),_&&(t=(a=function(t){for(var e,n=t.length,i=0,r="",a=[],s={},o=!1,u=!1,l=0,c="";i<=n;i++){if("\\"===(e=t.charAt(i)))e+=t.charAt(++i);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:$.test(t.slice(i+1))&&(i+=2,u=!0),r+=e,l++;continue;case">"===e&&u:if(""===c||g(s,c))throw new SyntaxError("Invalid capture group name");s[c]=!0,a.push([c,l]),u=!1,c="";continue}u?c+=e:r+=e}return[r,a]}(t))[0],m=a[1]),u=s(C(t,e),p?this:y,E),(i||r||m.length)&&(l=v(u),i&&(l.dotAll=!0,l.raw=E(function(t){for(var e,n=t.length,i=0,r="",a=!1;i<=n;i++)"\\"!==(e=t.charAt(i))?a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),r+=e):r+="[\\s\\S]":r+=e+t.charAt(++i);return r}(t),n)),r&&(l.sticky=!0),m.length&&(l.groups=m)),t!==b)try{o(u,"source",""===b?"(?:)":b)}catch(t){}return u},j=function(t){t in E||u(E,t,{configurable:!0,get:function(){return C[t]},set:function(e){C[t]=e}})},A=l(C),N=0;A.length>N;)j(A[N++]);y.constructor=E,E.prototype=y,f(r,"RegExp",E)}m("RegExp")},317:function(t,e,n){"use strict";var i=n(18),r=n(5),a=n(1),s=n(167),o=RegExp.prototype,u=o.toString,l=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),c="toString"!=u.name;(l||c)&&i(RegExp.prototype,"toString",(function(){var t=r(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in o)?s.call(t):n)}),{unsafe:!0})},318:function(t,e,n){},319:function(t,e,n){},320:function(t,e,n){},321:function(t,e,n){},322:function(t,e,n){},323:function(t,e,n){},324:function(t,e){t.exports=function(t){return null==t}},325:function(t,e,n){},326:function(t,e,n){},327:function(t,e,n){},328:function(t,e,n){},329:function(t,e,n){},330:function(t,e,n){},334:function(t,e,n){"use strict";n.r(e);n(93);var i=n(309),r={name:"SidebarGroup",components:{DropdownTransition:n(335).a},props:["item","open","collapsable","depth"],beforeCreate:function(){this.$options.components.SidebarLinks=n(334).default},methods:{isActive:i.e}},a=(n(355),n(44)),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"sidebar-group",class:[{collapsable:t.collapsable,"is-sub-group":0!==t.depth},"depth-"+t.depth]},[t.item.path?n("RouterLink",{staticClass:"sidebar-heading clickable",class:{open:t.open,active:t.isActive(t.$route,t.item.path)},attrs:{to:t.item.path},nativeOn:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]):n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:t.item.children,"sidebar-depth":t.item.sidebarDepth,"initial-open-group-index":t.item.initialOpenGroupIndex,depth:t.depth+1}}):t._e()],1)],1)}),[],!1,null,null,null).exports;n(356),n(66);function o(t,e,n,i,r){var a={props:{to:e,activeClass:"",exactActiveClass:""},class:{active:i,"sidebar-link":!0}};return r>2&&(a.style={"padding-left":r+"rem"}),t("RouterLink",a,n)}function u(t,e,n,r,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!e||s>a?null:t("ul",{class:"sidebar-sub-headers"},e.map((function(e){var l=Object(i.e)(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[o(t,n+"#"+e.slug,e.title,l,e.level-1),u(t,e.children,n,r,a,s+1)])})))}var l={functional:!0,props:["item","sidebarDepth"],render:function(t,e){var n=e.parent,r=n.$page,a=(n.$site,n.$route),s=n.$themeConfig,l=n.$themeLocaleConfig,c=e.props,h=c.item,p=c.sidebarDepth,f=Object(i.e)(a,h.path),d="auto"===h.type?f||h.children.some((function(t){return Object(i.e)(a,h.basePath+"#"+t.slug)})):f,g="external"===h.type?function(t,e,n){return t("a",{attrs:{href:e,target:"_blank",rel:"noopener noreferrer"},class:{"sidebar-link":!0}},[n,t("OutboundLink")])}(t,h.path,h.title||h.path):o(t,h.path,h.title||h.path,d),v=[r.frontmatter.sidebarDepth,p,l.sidebarDepth,s.sidebarDepth,1].find((function(t){return void 0!==t})),m=l.displayAllHeaders||s.displayAllHeaders;return"auto"===h.type?[g,u(t,h.children,h.basePath,a,v)]:(d||m)&&h.headers&&!i.d.test(h.path)?[g,u(t,Object(i.c)(h.headers),h.path,a,v)]:g}};n(357);function c(t,e){if("group"===e.type){var n=e.path&&Object(i.e)(t,e.path),r=e.children.some((function(e){return"group"===e.type?c(t,e):"page"===e.type&&Object(i.e)(t,e.path)}));return n||r}return!1}var h={name:"SidebarLinks",components:{SidebarGroup:s,SidebarLink:Object(a.a)(l,void 0,void 0,!1,null,null,null).exports},props:["items","depth","sidebarDepth","initialOpenGroupIndex"],data:function(){return{openGroupIndex:this.initialOpenGroupIndex||0}},watch:{$route:function(){this.refreshIndex()}},created:function(){this.refreshIndex()},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return Object(i.e)(this.$route,t.regularPath)}}},p=Object(a.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,(function(e,i){return n("li",{key:i},["group"===e.type?n("SidebarGroup",{attrs:{item:e,open:i===t.openGroupIndex,collapsable:e.collapsable||e.collapsible,depth:t.depth},on:{toggle:function(e){return t.toggleGroup(i)}}}):n("SidebarLink",{attrs:{"sidebar-depth":t.sidebarDepth,item:e}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=p.exports},335:function(t,e,n){"use strict";var i={name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}},r=(n(347),n(44)),a=Object(r.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);e.a=a.exports},336:function(t,e,n){"use strict";var i=n(0),r=n(337);i({target:"String",proto:!0,forced:n(338)("link")},{link:function(t){return r(this,"a","href",t)}})},337:function(t,e,n){var i=n(23),r=/"/g;t.exports=function(t,e,n,a){var s=String(i(t)),o="<"+e;return""!==n&&(o+=" "+n+'="'+String(a).replace(r,""")+'"'),o+">"+s+""}},338:function(t,e,n){var i=n(1);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},339:function(t,e,n){"use strict";n(313)},340:function(t,e,n){var i=n(0),r=n(341);i({global:!0,forced:parseInt!=r},{parseInt:r})},341:function(t,e,n){var i=n(3),r=n(314).trim,a=n(311),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");t.exports=u?function(t,e){var n=r(String(t));return s(n,e>>>0||(o.test(n)?16:10))}:s},342:function(t,e,n){var i=n(1),r=n(311);t.exports=function(t){return i((function(){return!!r[t]()||"​…᠎"!="​…᠎"[t]()||r[t].name!==t}))}},343:function(t,e,n){var i=n(4),r=n(69);t.exports=function(t,e,n){var a,s;return r&&"function"==typeof(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(t,s),t}},344:function(t,e,n){"use strict";var i,r=n(0),a=n(25).f,s=n(13),o=n(101),u=n(23),l=n(102),c=n(20),h="".endsWith,p=Math.min,f=l("endsWith");r({target:"String",proto:!0,forced:!!(c||f||(i=a(String.prototype,"endsWith"),!i||i.writable))&&!f},{endsWith:function(t){var e=String(u(this));o(t);var n=arguments.length>1?arguments[1]:void 0,i=s(e.length),r=void 0===n?i:p(s(n),i),a=String(t);return h?h.call(e,a,r):e.slice(r-a.length,r)===a}})},345:function(t,e,n){"use strict";n(318)},346:function(t,e,n){"use strict";n(319)},347:function(t,e,n){"use strict";n(320)},348:function(t,e,n){"use strict";n(321)},349:function(t,e,n){"use strict";n(322)},350:function(t,e,n){"use strict";n(323)},351:function(t,e,n){"use strict";n(325)},352:function(t,e,n){var i=n(31),r=n(14),a=n(26);t.exports=function(t){return"string"==typeof t||!r(t)&&a(t)&&"[object String]"==i(t)}},353:function(t,e,n){"use strict";n(326)},354:function(t,e,n){"use strict";n(327)},355:function(t,e,n){"use strict";n(328)},356:function(t,e,n){"use strict";var i=n(0),r=n(30).find,a=n(98),s=!0;"find"in[]&&Array(1).find((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("find")},357:function(t,e,n){"use strict";n(329)},358:function(t,e,n){"use strict";n(330)},362:function(t,e,n){"use strict";n.r(e);n(336),n(93),n(94);var i=n(309),r={name:"NavLink",props:{item:{required:!0}},computed:{link:function(){return Object(i.b)(this.item.link)},exact:function(){var t=this;return this.$site.locales?Object.keys(this.$site.locales).some((function(e){return e===t.link})):"/"===this.link},isNonHttpURI:function(){return Object(i.g)(this.link)||Object(i.h)(this.link)},isBlankTarget:function(){return"_blank"===this.target},isInternal:function(){return!Object(i.f)(this.link)&&!this.isBlankTarget},target:function(){return this.isNonHttpURI?null:this.item.target?this.item.target:Object(i.f)(this.link)?"_blank":""},rel:function(){return this.isNonHttpURI||!1===this.item.rel?null:this.item.rel?this.item.rel:this.isBlankTarget?"noopener noreferrer":null}},methods:{focusoutAction:function(){this.$emit("focusout")}}},a=n(44),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isInternal?n("RouterLink",{staticClass:"nav-link",attrs:{to:t.link,exact:t.exact},nativeOn:{focusout:function(e){return t.focusoutAction.apply(null,arguments)}}},[t._v("\n "+t._s(t.item.text)+"\n")]):n("a",{staticClass:"nav-link external",attrs:{href:t.link,target:t.target,rel:t.rel},on:{focusout:t.focusoutAction}},[t._v("\n "+t._s(t.item.text)+"\n "),t.isBlankTarget?n("OutboundLink"):t._e()],1)}),[],!1,null,null,null).exports,o={name:"Home",components:{NavLink:s},computed:{data:function(){return this.$page.frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}}}},u=(n(339),Object(a.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"home",attrs:{"aria-labelledby":null!==t.data.heroText?"main-title":null}},[n("header",{staticClass:"hero"},[t.data.heroImage?n("img",{attrs:{src:t.$withBase(t.data.heroImage),alt:t.data.heroAlt||"hero"}}):t._e(),t._v(" "),null!==t.data.heroText?n("h1",{attrs:{id:"main-title"}},[t._v("\n "+t._s(t.data.heroText||t.$title||"Hello")+"\n ")]):t._e(),t._v(" "),null!==t.data.tagline?n("p",{staticClass:"description"},[t._v("\n "+t._s(t.data.tagline||t.$description||"Welcome to your VuePress site")+"\n ")]):t._e(),t._v(" "),t.data.actionText&&t.data.actionLink?n("p",{staticClass:"action"},[n("NavLink",{staticClass:"action-button",attrs:{item:t.actionLink}})],1):t._e()]),t._v(" "),t.data.features&&t.data.features.length?n("div",{staticClass:"features"},t._l(t.data.features,(function(e,i){return n("div",{key:i,staticClass:"feature"},[n("h2",[t._v(t._s(e.title))]),t._v(" "),n("p",[t._v(t._s(e.details))])])})),0):t._e(),t._v(" "),n("Content",{staticClass:"theme-default-content custom"}),t._v(" "),t.data.footer?n("div",{staticClass:"footer"},[t._v("\n "+t._s(t.data.footer)+"\n ")]):t._e()],1)}),[],!1,null,null,null).exports),l=(n(340),n(315),n(165),n(97),n(29),n(45),n(310),n(176),n(177),n(172),n(67),n(316),n(317),n(66),n(312),n(344),n(179)),c=n.n(l),h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=c()(e,"title","");return c()(e,"frontmatter.tags")&&(i+=" ".concat(e.frontmatter.tags.join(" "))),n&&(i+=" ".concat(n)),p(t,i)},p=function(t,e){var n=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},i=new RegExp("[^\0-]"),r=t.split(/\s+/g).map((function(t){return t.trim()})).filter((function(t){return!!t}));if(i.test(t))return r.some((function(t){return e.toLowerCase().indexOf(t)>-1}));var a=t.endsWith(" ");return new RegExp(r.map((function(t,e){return r.length!==e+1||a?"(?=.*\\b".concat(n(t),"\\b)"):"(?=.*\\b".concat(n(t),")")})).join("")+".+","gi").test(e)},f={name:"SearchBox",data:function(){return{query:"",focused:!1,focusIndex:0,placeholder:void 0}},computed:{showSuggestions:function(){return this.focused&&this.suggestions&&this.suggestions.length},suggestions:function(){var t=this.query.trim().toLowerCase();if(t){for(var e=this.$site.pages,n=this.$site.themeConfig.searchMaxSuggestions||5,i=this.$localePath,r=[],a=0;a=n);a++){var s=e[a];if(this.getPageLocalePath(s)===i&&this.isSearchable(s))if(h(t,s))r.push(s);else if(s.headers)for(var o=0;o=n);o++){var u=s.headers[o];u.title&&h(t,s,u.title)&&r.push(Object.assign({},s,{path:s.path+"#"+u.slug,header:u}))}}return r}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},mounted:function(){this.placeholder=this.$site.themeConfig.searchPlaceholder||"",document.addEventListener("keydown",this.onHotkey)},beforeDestroy:function(){document.removeEventListener("keydown",this.onHotkey)},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},isSearchable:function(t){var e=null;return null===e||(e=Array.isArray(e)?e:new Array(e)).filter((function(e){return t.path.match(e)})).length>0},onHotkey:function(t){t.srcElement===document.body&&["s","/"].includes(t.key)&&(this.$refs.input.focus(),t.preventDefault())},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})),0):t._e()])}),[],!1,null,null,null).exports),g=(n(346),Object(a.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-button",on:{click:function(e){return t.$emit("toggle-sidebar")}}},[n("svg",{staticClass:"icon",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"}},[n("path",{attrs:{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"}})])])}),[],!1,null,null,null).exports),v=n(42),m=(n(178),n(335)),b=n(180),k=n.n(b),_={name:"DropdownLink",components:{NavLink:s,DropdownTransition:m.a},props:{item:{required:!0}},data:function(){return{open:!1}},computed:{dropdownAriaLabel:function(){return this.item.ariaLabel||this.item.text}},watch:{$route:function(){this.open=!1}},methods:{setOpen:function(t){this.open=t},isLastItemOfArray:function(t,e){return k()(e)===t},handleDropdown:function(){0===event.detail&&this.setOpen(!this.open)}}},x=(n(348),{name:"NavLinks",components:{NavLink:s,DropdownLink:Object(a.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("button",{staticClass:"dropdown-title",attrs:{type:"button","aria-label":t.dropdownAriaLabel},on:{click:t.handleDropdown}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow down"})]),t._v(" "),n("button",{staticClass:"mobile-dropdown-title",attrs:{type:"button","aria-label":t.dropdownAriaLabel},on:{click:function(e){return t.setOpen(!t.open)}}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,(function(e,i){return n("li",{key:e.link||i,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v("\n "+t._s(e.text)+"\n ")]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,(function(i){return n("li",{key:i.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:i},on:{focusout:function(n){t.isLastItemOfArray(i,e.items)&&t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0):n("NavLink",{attrs:{item:e},on:{focusout:function(n){t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0)])],1)}),[],!1,null,null,null).exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,i=this.$router.options.routes,r=this.$site.themeConfig.locales||{},a={text:this.$themeLocaleConfig.selectText||"Languages",ariaLabel:this.$themeLocaleConfig.ariaLabel||"Select language",items:Object.keys(e).map((function(a){var s,o=e[a],u=r[a]&&r[a].label||o.lang;return o.lang===t.$lang?s=n:(s=n.replace(t.$localeConfig.path,a),i.some((function(t){return t.path===s}))||(s=a)),{text:u,link:s}}))};return[].concat(Object(v.a)(this.userNav),[a])}return this.userNav},userLinks:function(){return(this.nav||[]).map((function(t){return Object.assign(Object(i.j)(t),{items:(t.items||[]).map(i.j)})}))},repoLink:function(){var t=this.$site.themeConfig.repo;return t?/^https?:/.test(t)?t:"https://github.com/".concat(t):null},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;nMath.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))}}}),G=Object(a.a)(W,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){return t.toggleSidebar(!1)}}}),t._v(" "),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("sidebar-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("sidebar-bottom")]},proxy:!0}],null,!0)}),t._v(" "),t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("page-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("page-bottom")]},proxy:!0}],null,!0)})],1)}),[],!1,null,null,null);e.default=G.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/2.b0282dab.js b/docs/.vuepress/dist/assets/js/2.b0282dab.js new file mode 100644 index 0000000..9568824 --- /dev/null +++ b/docs/.vuepress/dist/assets/js/2.b0282dab.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{314:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"i",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return d})),n.d(e,"c",(function(){return v})),n.d(e,"j",(function(){return m}));n(46),n(70),n(315),n(317),n(174),n(69),n(97),n(98),n(30),n(99),n(167);var i=/#.*$/,r=/\.(md|html)$/,a=/\/$/,s=/^[a-z]+:/i;function o(t){return decodeURI(t).replace(i,"").replace(r,"")}function u(t){return s.test(t)}function l(t){return/^mailto:/.test(t)}function c(t){return/^tel:/.test(t)}function h(t){if(u(t))return t;var e=t.match(i),n=e?e[0]:"",r=o(t);return a.test(r)?t:r+".html"+n}function p(t,e){var n=decodeURIComponent(t.hash),r=function(t){var e=t.match(i);if(e)return e[0]}(e);return(!r||n===r)&&o(t.path)===o(e)}function f(t,e,n){if(u(e))return{type:"external",path:e};n&&(e=function(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return f(n,e,i);if(Array.isArray(e))return Object.assign(f(n,e[0],i),{title:e[1]});var a=e.children||[];return 0===a.length&&e.path?Object.assign(f(n,e.path,i),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,initialOpenGroupIndex:e.initialOpenGroupIndex,children:a.map((function(e){return t(e,n,i,r+1)})),collapsable:!1!==e.collapsable}}(t,r,l)})):[]}return[]}function g(t){var e=v(t.headers||[]);return[{type:"group",collapsable:!1,title:t.title,path:null,children:e.map((function(e){return{type:"auto",title:e.title,basePath:t.path,path:t.path+"#"+e.slug,children:e.children||[]}}))}]}function v(t){var e;return(t=t.map((function(t){return Object.assign({},t)}))).forEach((function(t){2===t.level?e=t:e&&(e.children||(e.children=[])).push(t)})),t.filter((function(t){return 2===t.level}))}function m(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}},315:function(t,e,n){"use strict";var i=n(171),r=n(5),a=n(12),s=n(20),o=n(24),u=n(172),l=n(173);i("match",(function(t,e,n){return[function(e){var n=o(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](s(n))},function(t){var i=r(this),o=s(t),c=n(e,i,o);if(c.done)return c.value;if(!i.global)return l(i,o);var h=i.unicode;i.lastIndex=0;for(var p,f=[],d=0;null!==(p=l(i,o));){var g=s(p[0]);f[d]=g,""===g&&(i.lastIndex=u(o,a(i.lastIndex),h)),d++}return 0===d?null:f}]}))},316:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},317:function(t,e,n){"use strict";var i=n(171),r=n(168),a=n(5),s=n(24),o=n(102),u=n(172),l=n(12),c=n(20),h=n(173),p=n(72),f=n(170),d=n(1),g=f.UNSUPPORTED_Y,v=[].push,m=Math.min;i("split",(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=c(s(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,a);for(var o,u,l,h=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=new RegExp(t.source,f+"g");(o=p.call(g,i))&&!((u=g.lastIndex)>d&&(h.push(i.slice(d,o.index)),o.length>1&&o.index=a));)g.lastIndex===o.index&&g.lastIndex++;return d===i.length?!l&&g.test("")||h.push(""):h.push(i.slice(d)),h.length>a?h.slice(0,a):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=s(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,r,n):i.call(c(r),e,n)},function(t,r){var s=a(this),p=c(t),f=n(i,s,p,r,i!==e);if(f.done)return f.value;var d=o(s,RegExp),v=s.unicode,b=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(g?"g":"y"),k=new d(g?"^(?:"+s.source+")":s,b),_=void 0===r?4294967295:r>>>0;if(0===_)return[];if(0===p.length)return null===h(k,p)?[p]:[];for(var x=0,C=0,y=[];C@^][^\s!#%&*+<=>@^]*>/,w=/a/g,O=/a/g,S=new y(w)!==w,I=f.UNSUPPORTED_Y,E=i&&(!S||I||_||x||g((function(){return O[C]=!1,y(w)!=w||y(O)==O||"/a/i"!=y(w,"i")})));if(a("RegExp",E)){for(var j=function(t,e){var n,i,r,a,u,l,f=this instanceof j,d=c(t),g=void 0===e,b=[],k=t;if(!f&&d&&g&&t.constructor===j)return t;if((d||t instanceof j)&&(t=t.source,g&&(e="flags"in k?k.flags:p.call(k))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),k=t,_&&"dotAll"in w&&(i=!!e&&e.indexOf("s")>-1)&&(e=e.replace(/s/g,"")),n=e,I&&"sticky"in w&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,"")),x&&(t=(a=function(t){for(var e,n=t.length,i=0,r="",a=[],s={},o=!1,u=!1,l=0,c="";i<=n;i++){if("\\"===(e=t.charAt(i)))e+=t.charAt(++i);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:L.test(t.slice(i+1))&&(i+=2,u=!0),r+=e,l++;continue;case">"===e&&u:if(""===c||v(s,c))throw new SyntaxError("Invalid capture group name");s[c]=!0,a.push([c,l]),u=!1,c="";continue}u?c+=e:r+=e}return[r,a]}(t))[0],b=a[1]),u=s(y(t,e),f?this:$,j),(i||r||b.length)&&(l=m(u),i&&(l.dotAll=!0,l.raw=j(function(t){for(var e,n=t.length,i=0,r="",a=!1;i<=n;i++)"\\"!==(e=t.charAt(i))?a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),r+=e):r+="[\\s\\S]":r+=e+t.charAt(++i);return r}(t),n)),r&&(l.sticky=!0),b.length&&(l.groups=b)),t!==k)try{o(u,"source",""===k?"(?:)":k)}catch(t){}return u},A=function(t){t in j||u(j,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},N=l(y),T=0;N.length>T;)A(N[T++]);$.constructor=j,j.prototype=$,d(r,"RegExp",j)}b("RegExp")},322:function(t,e,n){"use strict";var i=n(19),r=n(5),a=n(20),s=n(1),o=n(169),u=RegExp.prototype,l=u.toString,c=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),h="toString"!=l.name;(c||h)&&i(RegExp.prototype,"toString",(function(){var t=r(this),e=a(t.source),n=t.flags;return"/"+e+"/"+a(void 0===n&&t instanceof RegExp&&!("flags"in u)?o.call(t):n)}),{unsafe:!0})},323:function(t,e,n){},324:function(t,e,n){},325:function(t,e,n){},326:function(t,e,n){},327:function(t,e,n){},328:function(t,e,n){},329:function(t,e){t.exports=function(t){return null==t}},330:function(t,e,n){},331:function(t,e,n){},332:function(t,e,n){},333:function(t,e,n){},334:function(t,e,n){},335:function(t,e,n){},339:function(t,e,n){"use strict";n.r(e);n(95);var i=n(314),r={name:"SidebarGroup",components:{DropdownTransition:n(340).a},props:["item","open","collapsable","depth"],beforeCreate:function(){this.$options.components.SidebarLinks=n(339).default},methods:{isActive:i.e}},a=(n(360),n(45)),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"sidebar-group",class:[{collapsable:t.collapsable,"is-sub-group":0!==t.depth},"depth-"+t.depth]},[t.item.path?n("RouterLink",{staticClass:"sidebar-heading clickable",class:{open:t.open,active:t.isActive(t.$route,t.item.path)},attrs:{to:t.item.path},nativeOn:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]):n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:t.item.children,"sidebar-depth":t.item.sidebarDepth,"initial-open-group-index":t.item.initialOpenGroupIndex,depth:t.depth+1}}):t._e()],1)],1)}),[],!1,null,null,null).exports;n(361),n(69);function o(t,e,n,i,r){var a={props:{to:e,activeClass:"",exactActiveClass:""},class:{active:i,"sidebar-link":!0}};return r>2&&(a.style={"padding-left":r+"rem"}),t("RouterLink",a,n)}function u(t,e,n,r,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!e||s>a?null:t("ul",{class:"sidebar-sub-headers"},e.map((function(e){var l=Object(i.e)(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[o(t,n+"#"+e.slug,e.title,l,e.level-1),u(t,e.children,n,r,a,s+1)])})))}var l={functional:!0,props:["item","sidebarDepth"],render:function(t,e){var n=e.parent,r=n.$page,a=(n.$site,n.$route),s=n.$themeConfig,l=n.$themeLocaleConfig,c=e.props,h=c.item,p=c.sidebarDepth,f=Object(i.e)(a,h.path),d="auto"===h.type?f||h.children.some((function(t){return Object(i.e)(a,h.basePath+"#"+t.slug)})):f,g="external"===h.type?function(t,e,n){return t("a",{attrs:{href:e,target:"_blank",rel:"noopener noreferrer"},class:{"sidebar-link":!0}},[n,t("OutboundLink")])}(t,h.path,h.title||h.path):o(t,h.path,h.title||h.path,d),v=[r.frontmatter.sidebarDepth,p,l.sidebarDepth,s.sidebarDepth,1].find((function(t){return void 0!==t})),m=l.displayAllHeaders||s.displayAllHeaders;return"auto"===h.type?[g,u(t,h.children,h.basePath,a,v)]:(d||m)&&h.headers&&!i.d.test(h.path)?[g,u(t,Object(i.c)(h.headers),h.path,a,v)]:g}};n(362);function c(t,e){if("group"===e.type){var n=e.path&&Object(i.e)(t,e.path),r=e.children.some((function(e){return"group"===e.type?c(t,e):"page"===e.type&&Object(i.e)(t,e.path)}));return n||r}return!1}var h={name:"SidebarLinks",components:{SidebarGroup:s,SidebarLink:Object(a.a)(l,void 0,void 0,!1,null,null,null).exports},props:["items","depth","sidebarDepth","initialOpenGroupIndex"],data:function(){return{openGroupIndex:this.initialOpenGroupIndex||0}},watch:{$route:function(){this.refreshIndex()}},created:function(){this.refreshIndex()},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return Object(i.e)(this.$route,t.regularPath)}}},p=Object(a.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,(function(e,i){return n("li",{key:i},["group"===e.type?n("SidebarGroup",{attrs:{item:e,open:i===t.openGroupIndex,collapsable:e.collapsable||e.collapsible,depth:t.depth},on:{toggle:function(e){return t.toggleGroup(i)}}}):n("SidebarLink",{attrs:{"sidebar-depth":t.sidebarDepth,item:e}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=p.exports},340:function(t,e,n){"use strict";var i={name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}},r=(n(352),n(45)),a=Object(r.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);e.a=a.exports},341:function(t,e,n){"use strict";var i=n(0),r=n(342);i({target:"String",proto:!0,forced:n(343)("link")},{link:function(t){return r(this,"a","href",t)}})},342:function(t,e,n){var i=n(24),r=n(20),a=/"/g;t.exports=function(t,e,n,s){var o=r(i(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+r(s).replace(a,""")+'"'),u+">"+o+""}},343:function(t,e,n){var i=n(1);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},344:function(t,e,n){"use strict";n(318)},345:function(t,e,n){var i=n(0),r=n(346);i({global:!0,forced:parseInt!=r},{parseInt:r})},346:function(t,e,n){var i=n(3),r=n(20),a=n(319).trim,s=n(316),o=i.parseInt,u=/^[+-]?0[Xx]/,l=8!==o(s+"08")||22!==o(s+"0x16");t.exports=l?function(t,e){var n=a(r(t));return o(n,e>>>0||(u.test(n)?16:10))}:o},347:function(t,e,n){var i=n(1),r=n(316);t.exports=function(t){return i((function(){return!!r[t]()||"​…᠎"!="​…᠎"[t]()||r[t].name!==t}))}},348:function(t,e,n){var i=n(4),r=n(71);t.exports=function(t,e,n){var a,s;return r&&"function"==typeof(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(t,s),t}},349:function(t,e,n){"use strict";var i,r=n(0),a=n(26).f,s=n(12),o=n(20),u=n(103),l=n(24),c=n(104),h=n(21),p="".endsWith,f=Math.min,d=c("endsWith");r({target:"String",proto:!0,forced:!!(h||d||(i=a(String.prototype,"endsWith"),!i||i.writable))&&!d},{endsWith:function(t){var e=o(l(this));u(t);var n=arguments.length>1?arguments[1]:void 0,i=s(e.length),r=void 0===n?i:f(s(n),i),a=o(t);return p?p.call(e,a,r):e.slice(r-a.length,r)===a}})},350:function(t,e,n){"use strict";n(323)},351:function(t,e,n){"use strict";n(324)},352:function(t,e,n){"use strict";n(325)},353:function(t,e,n){"use strict";n(326)},354:function(t,e,n){"use strict";n(327)},355:function(t,e,n){"use strict";n(328)},356:function(t,e,n){"use strict";n(330)},357:function(t,e,n){var i=n(32),r=n(14),a=n(27);t.exports=function(t){return"string"==typeof t||!r(t)&&a(t)&&"[object String]"==i(t)}},358:function(t,e,n){"use strict";n(331)},359:function(t,e,n){"use strict";n(332)},360:function(t,e,n){"use strict";n(333)},361:function(t,e,n){"use strict";var i=n(0),r=n(31).find,a=n(100),s=!0;"find"in[]&&Array(1).find((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("find")},362:function(t,e,n){"use strict";n(334)},363:function(t,e,n){"use strict";n(335)},367:function(t,e,n){"use strict";n.r(e);n(341),n(95),n(96);var i=n(314),r={name:"NavLink",props:{item:{required:!0}},computed:{link:function(){return Object(i.b)(this.item.link)},exact:function(){var t=this;return this.$site.locales?Object.keys(this.$site.locales).some((function(e){return e===t.link})):"/"===this.link},isNonHttpURI:function(){return Object(i.g)(this.link)||Object(i.h)(this.link)},isBlankTarget:function(){return"_blank"===this.target},isInternal:function(){return!Object(i.f)(this.link)&&!this.isBlankTarget},target:function(){return this.isNonHttpURI?null:this.item.target?this.item.target:Object(i.f)(this.link)?"_blank":""},rel:function(){return this.isNonHttpURI||!1===this.item.rel?null:this.item.rel?this.item.rel:this.isBlankTarget?"noopener noreferrer":null}},methods:{focusoutAction:function(){this.$emit("focusout")}}},a=n(45),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isInternal?n("RouterLink",{staticClass:"nav-link",attrs:{to:t.link,exact:t.exact},nativeOn:{focusout:function(e){return t.focusoutAction.apply(null,arguments)}}},[t._v("\n "+t._s(t.item.text)+"\n")]):n("a",{staticClass:"nav-link external",attrs:{href:t.link,target:t.target,rel:t.rel},on:{focusout:t.focusoutAction}},[t._v("\n "+t._s(t.item.text)+"\n "),t.isBlankTarget?n("OutboundLink"):t._e()],1)}),[],!1,null,null,null).exports,o={name:"Home",components:{NavLink:s},computed:{data:function(){return this.$page.frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}}}},u=(n(344),Object(a.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"home",attrs:{"aria-labelledby":null!==t.data.heroText?"main-title":null}},[n("header",{staticClass:"hero"},[t.data.heroImage?n("img",{attrs:{src:t.$withBase(t.data.heroImage),alt:t.data.heroAlt||"hero"}}):t._e(),t._v(" "),null!==t.data.heroText?n("h1",{attrs:{id:"main-title"}},[t._v("\n "+t._s(t.data.heroText||t.$title||"Hello")+"\n ")]):t._e(),t._v(" "),null!==t.data.tagline?n("p",{staticClass:"description"},[t._v("\n "+t._s(t.data.tagline||t.$description||"Welcome to your VuePress site")+"\n ")]):t._e(),t._v(" "),t.data.actionText&&t.data.actionLink?n("p",{staticClass:"action"},[n("NavLink",{staticClass:"action-button",attrs:{item:t.actionLink}})],1):t._e()]),t._v(" "),t.data.features&&t.data.features.length?n("div",{staticClass:"features"},t._l(t.data.features,(function(e,i){return n("div",{key:i,staticClass:"feature"},[n("h2",[t._v(t._s(e.title))]),t._v(" "),n("p",[t._v(t._s(e.details))])])})),0):t._e(),t._v(" "),n("Content",{staticClass:"theme-default-content custom"}),t._v(" "),t.data.footer?n("div",{staticClass:"footer"},[t._v("\n "+t._s(t.data.footer)+"\n ")]):t._e()],1)}),[],!1,null,null,null).exports),l=(n(345),n(320),n(167),n(99),n(30),n(46),n(315),n(178),n(179),n(174),n(70),n(321),n(322),n(69),n(317),n(349),n(181)),c=n.n(l),h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=c()(e,"title","");return c()(e,"frontmatter.tags")&&(i+=" ".concat(e.frontmatter.tags.join(" "))),n&&(i+=" ".concat(n)),p(t,i)},p=function(t,e){var n=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},i=new RegExp("[^\0-]"),r=t.split(/\s+/g).map((function(t){return t.trim()})).filter((function(t){return!!t}));if(i.test(t))return r.some((function(t){return e.toLowerCase().indexOf(t)>-1}));var a=t.endsWith(" ");return new RegExp(r.map((function(t,e){return r.length!==e+1||a?"(?=.*\\b".concat(n(t),"\\b)"):"(?=.*\\b".concat(n(t),")")})).join("")+".+","gi").test(e)},f={name:"SearchBox",data:function(){return{query:"",focused:!1,focusIndex:0,placeholder:void 0}},computed:{showSuggestions:function(){return this.focused&&this.suggestions&&this.suggestions.length},suggestions:function(){var t=this.query.trim().toLowerCase();if(t){for(var e=this.$site.pages,n=this.$site.themeConfig.searchMaxSuggestions||5,i=this.$localePath,r=[],a=0;a=n);a++){var s=e[a];if(this.getPageLocalePath(s)===i&&this.isSearchable(s))if(h(t,s))r.push(s);else if(s.headers)for(var o=0;o=n);o++){var u=s.headers[o];u.title&&h(t,s,u.title)&&r.push(Object.assign({},s,{path:s.path+"#"+u.slug,header:u}))}}return r}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},mounted:function(){this.placeholder=this.$site.themeConfig.searchPlaceholder||"",document.addEventListener("keydown",this.onHotkey)},beforeDestroy:function(){document.removeEventListener("keydown",this.onHotkey)},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},isSearchable:function(t){var e=null;return null===e||(e=Array.isArray(e)?e:new Array(e)).filter((function(e){return t.path.match(e)})).length>0},onHotkey:function(t){t.srcElement===document.body&&["s","/"].includes(t.key)&&(this.$refs.input.focus(),t.preventDefault())},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})),0):t._e()])}),[],!1,null,null,null).exports),g=(n(351),Object(a.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-button",on:{click:function(e){return t.$emit("toggle-sidebar")}}},[n("svg",{staticClass:"icon",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"}},[n("path",{attrs:{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"}})])])}),[],!1,null,null,null).exports),v=n(43),m=(n(180),n(340)),b=n(182),k=n.n(b),_={name:"DropdownLink",components:{NavLink:s,DropdownTransition:m.a},props:{item:{required:!0}},data:function(){return{open:!1}},computed:{dropdownAriaLabel:function(){return this.item.ariaLabel||this.item.text}},watch:{$route:function(){this.open=!1}},methods:{setOpen:function(t){this.open=t},isLastItemOfArray:function(t,e){return k()(e)===t},handleDropdown:function(){0===event.detail&&this.setOpen(!this.open)}}},x=(n(353),{name:"NavLinks",components:{NavLink:s,DropdownLink:Object(a.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("button",{staticClass:"dropdown-title",attrs:{type:"button","aria-label":t.dropdownAriaLabel},on:{click:t.handleDropdown}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow down"})]),t._v(" "),n("button",{staticClass:"mobile-dropdown-title",attrs:{type:"button","aria-label":t.dropdownAriaLabel},on:{click:function(e){return t.setOpen(!t.open)}}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,(function(e,i){return n("li",{key:e.link||i,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v("\n "+t._s(e.text)+"\n ")]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,(function(i){return n("li",{key:i.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:i},on:{focusout:function(n){t.isLastItemOfArray(i,e.items)&&t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0):n("NavLink",{attrs:{item:e},on:{focusout:function(n){t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0)])],1)}),[],!1,null,null,null).exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,i=this.$router.options.routes,r=this.$site.themeConfig.locales||{},a={text:this.$themeLocaleConfig.selectText||"Languages",ariaLabel:this.$themeLocaleConfig.ariaLabel||"Select language",items:Object.keys(e).map((function(a){var s,o=e[a],u=r[a]&&r[a].label||o.lang;return o.lang===t.$lang?s=n:(s=n.replace(t.$localeConfig.path,a),i.some((function(t){return t.path===s}))||(s=a)),{text:u,link:s}}))};return[].concat(Object(v.a)(this.userNav),[a])}return this.userNav},userLinks:function(){return(this.nav||[]).map((function(t){return Object.assign(Object(i.j)(t),{items:(t.items||[]).map(i.j)})}))},repoLink:function(){var t=this.$site.themeConfig.repo;return t?/^https?:/.test(t)?t:"https://github.com/".concat(t):null},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;nMath.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))}}}),G=Object(a.a)(W,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){return t.toggleSidebar(!1)}}}),t._v(" "),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("sidebar-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("sidebar-bottom")]},proxy:!0}],null,!0)}),t._v(" "),t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("page-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("page-bottom")]},proxy:!0}],null,!0)})],1)}),[],!1,null,null,null);e.default=G.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/3.7383f13d.js b/docs/.vuepress/dist/assets/js/3.6af3db70.js similarity index 62% rename from docs/.vuepress/dist/assets/js/3.7383f13d.js rename to docs/.vuepress/dist/assets/js/3.6af3db70.js index 92ef3d9..f9b9a22 100644 --- a/docs/.vuepress/dist/assets/js/3.7383f13d.js +++ b/docs/.vuepress/dist/assets/js/3.6af3db70.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{331:function(t,e,n){},359:function(t,e,n){"use strict";n(331)},377:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(359),n(44)),p=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=p.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{336:function(t,e,n){},364:function(t,e,n){"use strict";n(336)},382:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(364),n(45)),p=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=p.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/4.e52e661e.js b/docs/.vuepress/dist/assets/js/4.2a5d96fc.js similarity index 67% rename from docs/.vuepress/dist/assets/js/4.e52e661e.js rename to docs/.vuepress/dist/assets/js/4.2a5d96fc.js index bc717bb..0f55c80 100644 --- a/docs/.vuepress/dist/assets/js/4.e52e661e.js +++ b/docs/.vuepress/dist/assets/js/4.2a5d96fc.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{332:function(t,e,a){},360:function(t,e,a){"use strict";a(332)},364:function(t,e,a){"use strict";a.r(e);var n={name:"CodeBlock",props:{title:{type:String,required:!0},active:{type:Boolean,default:!1}},mounted:function(){this.$parent&&this.$parent.loadTabs&&this.$parent.loadTabs()}},i=(a(360),a(44)),s=Object(i.a)(n,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"theme-code-block",class:{"theme-code-block__active":this.active}},[this._t("default")],2)}),[],!1,null,"759a7d02",null);e.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{337:function(t,e,a){},365:function(t,e,a){"use strict";a(337)},369:function(t,e,a){"use strict";a.r(e);var n={name:"CodeBlock",props:{title:{type:String,required:!0},active:{type:Boolean,default:!1}},mounted:function(){this.$parent&&this.$parent.loadTabs&&this.$parent.loadTabs()}},i=(a(365),a(45)),s=Object(i.a)(n,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"theme-code-block",class:{"theme-code-block__active":this.active}},[this._t("default")],2)}),[],!1,null,"759a7d02",null);e.default=s.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/5.0ae7634d.js b/docs/.vuepress/dist/assets/js/5.33ec2a2e.js similarity index 85% rename from docs/.vuepress/dist/assets/js/5.0ae7634d.js rename to docs/.vuepress/dist/assets/js/5.33ec2a2e.js index a3707a5..9ddb3b5 100644 --- a/docs/.vuepress/dist/assets/js/5.0ae7634d.js +++ b/docs/.vuepress/dist/assets/js/5.33ec2a2e.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{333:function(e,t,a){},361:function(e,t,a){"use strict";a(333)},365:function(e,t,a){"use strict";a.r(t);a(66),a(29),a(95),a(96);var o={name:"CodeGroup",data:function(){return{codeTabs:[],activeCodeTabIndex:-1}},watch:{activeCodeTabIndex:function(e){this.activateCodeTab(e)}},mounted:function(){this.loadTabs()},methods:{changeCodeTab:function(e){this.activeCodeTabIndex=e},loadTabs:function(){var e=this;this.codeTabs=(this.$slots.default||[]).filter((function(e){return Boolean(e.componentOptions)})).map((function(t,a){return""===t.componentOptions.propsData.active&&(e.activeCodeTabIndex=a),{title:t.componentOptions.propsData.title,elm:t.elm}})),-1===this.activeCodeTabIndex&&this.codeTabs.length>0&&(this.activeCodeTabIndex=0),this.activateCodeTab(0)},activateCodeTab:function(e){this.codeTabs.forEach((function(e){e.elm&&e.elm.classList.remove("theme-code-block__active")})),this.codeTabs[e].elm&&this.codeTabs[e].elm.classList.add("theme-code-block__active")}}},n=(a(361),a(44)),c=Object(n.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ClientOnly",[a("div",{staticClass:"theme-code-group"},[a("div",{staticClass:"theme-code-group__nav"},[a("ul",{staticClass:"theme-code-group__ul"},e._l(e.codeTabs,(function(t,o){return a("li",{key:t.title,staticClass:"theme-code-group__li"},[a("button",{staticClass:"theme-code-group__nav-tab",class:{"theme-code-group__nav-tab-active":o===e.activeCodeTabIndex},on:{click:function(t){return e.changeCodeTab(o)}}},[e._v("\n "+e._s(t.title)+"\n ")])])})),0)]),e._v(" "),e._t("default"),e._v(" "),e.codeTabs.length<1?a("pre",{staticClass:"pre-blank"},[e._v("// Make sure to add code blocks to your code group")]):e._e()],2)])}),[],!1,null,"deefee04",null);t.default=c.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{338:function(e,t,a){},366:function(e,t,a){"use strict";a(338)},370:function(e,t,a){"use strict";a.r(t);a(69),a(30),a(97),a(98);var o={name:"CodeGroup",data:function(){return{codeTabs:[],activeCodeTabIndex:-1}},watch:{activeCodeTabIndex:function(e){this.activateCodeTab(e)}},mounted:function(){this.loadTabs()},methods:{changeCodeTab:function(e){this.activeCodeTabIndex=e},loadTabs:function(){var e=this;this.codeTabs=(this.$slots.default||[]).filter((function(e){return Boolean(e.componentOptions)})).map((function(t,a){return""===t.componentOptions.propsData.active&&(e.activeCodeTabIndex=a),{title:t.componentOptions.propsData.title,elm:t.elm}})),-1===this.activeCodeTabIndex&&this.codeTabs.length>0&&(this.activeCodeTabIndex=0),this.activateCodeTab(0)},activateCodeTab:function(e){this.codeTabs.forEach((function(e){e.elm&&e.elm.classList.remove("theme-code-block__active")})),this.codeTabs[e].elm&&this.codeTabs[e].elm.classList.add("theme-code-block__active")}}},n=(a(366),a(45)),c=Object(n.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ClientOnly",[a("div",{staticClass:"theme-code-group"},[a("div",{staticClass:"theme-code-group__nav"},[a("ul",{staticClass:"theme-code-group__ul"},e._l(e.codeTabs,(function(t,o){return a("li",{key:t.title,staticClass:"theme-code-group__li"},[a("button",{staticClass:"theme-code-group__nav-tab",class:{"theme-code-group__nav-tab-active":o===e.activeCodeTabIndex},on:{click:function(t){return e.changeCodeTab(o)}}},[e._v("\n "+e._s(t.title)+"\n ")])])})),0)]),e._v(" "),e._t("default"),e._v(" "),e.codeTabs.length<1?a("pre",{staticClass:"pre-blank"},[e._v("// Make sure to add code blocks to your code group")]):e._e()],2)])}),[],!1,null,"deefee04",null);t.default=c.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/6.852d803a.js b/docs/.vuepress/dist/assets/js/6.66b67ff0.js similarity index 81% rename from docs/.vuepress/dist/assets/js/6.852d803a.js rename to docs/.vuepress/dist/assets/js/6.66b67ff0.js index 0ab6d83..2f3281f 100644 --- a/docs/.vuepress/dist/assets/js/6.852d803a.js +++ b/docs/.vuepress/dist/assets/js/6.66b67ff0.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{363:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(44),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-default-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{368:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(45),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-default-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/7.43ae9a22.js b/docs/.vuepress/dist/assets/js/7.bbf703d4.js similarity index 77% rename from docs/.vuepress/dist/assets/js/7.43ae9a22.js rename to docs/.vuepress/dist/assets/js/7.bbf703d4.js index b26e7c9..271ee00 100644 --- a/docs/.vuepress/dist/assets/js/7.43ae9a22.js +++ b/docs/.vuepress/dist/assets/js/7.bbf703d4.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{366:function(t,e,s){"use strict";s.r(e);var r=s(44),i=Object(r.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[e("div",{attrs:{align:"center"}},[e("h2",[this._v("Don't take it from us, see for yourself!")]),this._v(" "),e("a",{attrs:{href:"/getting-started.html"}},[this._v("Get Started →")])]),this._v(" "),e("br"),this._v(" "),e("br"),this._v(" "),e("br")])}),[],!1,null,null,null);e.default=i.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{371:function(t,e,s){"use strict";s.r(e);var r=s(45),i=Object(r.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[e("div",{attrs:{align:"center"}},[e("h2",[this._v("Don't take it from us, see for yourself!")]),this._v(" "),e("a",{attrs:{href:"/getting-started.html"}},[this._v("Get Started →")])]),this._v(" "),e("br"),this._v(" "),e("br"),this._v(" "),e("br")])}),[],!1,null,null,null);e.default=i.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/8.4f988444.js b/docs/.vuepress/dist/assets/js/8.22d960c1.js similarity index 99% rename from docs/.vuepress/dist/assets/js/8.4f988444.js rename to docs/.vuepress/dist/assets/js/8.22d960c1.js index 03ed2f1..0b36afc 100644 --- a/docs/.vuepress/dist/assets/js/8.4f988444.js +++ b/docs/.vuepress/dist/assets/js/8.22d960c1.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{367:function(t,a,e){"use strict";e.r(a);var s=e(44),r=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h3",{attrs:{id:"table-of-contents"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#virus"}},[t._v("Virus")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#community"}},[t._v("Community")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#sir"}},[t._v("sir")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-2"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-2"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#seir"}},[t._v("seir")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-3"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-3"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#seird"}},[t._v("seird")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-4"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-4"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#custom"}},[t._v("custom")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-5"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-5"}},[t._v("Examples")])])])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#compare"}},[t._v("compare")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-6"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-6"}},[t._v("Examples")])])])])]),t._v(" "),e("h1",{attrs:{id:"com"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#com"}},[t._v("#")]),t._v(" Com")]),t._v(" "),e("p",[t._v("EpiJS module for representing communities")]),t._v(" "),e("p",[t._v("Import it with:")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" com "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("com\n")])])]),e("h2",{attrs:{id:"virus"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#virus"}},[t._v("#")]),t._v(" Virus")]),t._v(" "),e("p",[t._v("Class representing a virus, which can infect a community.")]),t._v(" "),e("h3",{attrs:{id:"parameters"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("rnaught")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's R-Naught")]),t._v(" "),e("li",[e("code",[t._v("u")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's recovery rate")]),t._v(" "),e("li",[e("code",[t._v("a")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's incubation period (optional, default "),e("code",[t._v("0")]),t._v(")")]),t._v(" "),e("li",[e("code",[t._v("d")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's death rate (for infected population) (optional, default "),e("code",[t._v("0")]),t._v(")")])]),t._v(" "),e("h3",{attrs:{id:"examples"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h2",{attrs:{id:"community"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#community"}},[t._v("#")]),t._v(" Community")]),t._v(" "),e("p",[t._v("Class representing a community, which can be infected with a disease, and compared to other communities.")]),t._v(" "),e("h3",{attrs:{id:"parameters-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("pop")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The population of the community")]),t._v(" "),e("li",[e("code",[t._v("i")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The start infected population of the community.")]),t._v(" "),e("li",[e("code",[t._v("s")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The start susceptible population of the community")])]),t._v(" "),e("h3",{attrs:{id:"examples-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"sir"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#sir"}},[t._v("#")]),t._v(" sir")]),t._v(" "),e("p",[t._v("SIR model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-3"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("disease")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" A virus class. The virus to infect the community with and model for.")]),t._v(" "),e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" Time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("stochastic")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),e("OutboundLink")],1)]),t._v(" Whether to make the model stochastic or not.")])]),t._v(" "),e("h4",{attrs:{id:"examples-3"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"seir"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#seir"}},[t._v("#")]),t._v(" seir")]),t._v(" "),e("p",[t._v("SEIR model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-4"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("disease")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" A virus class. The virus to infect the community with and model for.")]),t._v(" "),e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" Time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("stochastic")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),e("OutboundLink")],1)]),t._v(" Whether to make the model stochastic or not.")])]),t._v(" "),e("h4",{attrs:{id:"examples-4"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("seir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"seird"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#seird"}},[t._v("#")]),t._v(" seird")]),t._v(" "),e("p",[t._v("SEIRD model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-5"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("disease")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" A virus class. The virus to infect the community with and model for.")]),t._v(" "),e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" Time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("stochastic")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),e("OutboundLink")],1)]),t._v(" Whether to make the model stochastic or not.")])]),t._v(" "),e("h4",{attrs:{id:"examples-5"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("seird")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"custom"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#custom"}},[t._v("#")]),t._v(" custom")]),t._v(" "),e("p",[t._v("Custom model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-6"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-6"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("p",[e("code",[t._v("compartments")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),e("OutboundLink")],1)]),t._v(" The compartments for the model. Pass in as an array with sub arrays of the form [compartment, name in key].\nNote that the 'name in key' is a string with the same value that is stored in your extra key, otherwise it should be the same name that we store it as.\nYou can find these names below.")]),t._v(" "),e("ul",[e("li",[t._v("Susceptible - stored as 'S'")]),t._v(" "),e("li",[t._v("Infected - stored as 'I'")]),t._v(" "),e("li",[t._v("Recovered - stored as 'R'")])])])]),t._v(" "),e("p",[t._v("Make sure that you use the same names that are stored in the key in the equations for the compartments. These values are found from parameters passed into the virus class and the community class.")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("virus")]),t._v(" The virus class to infect the community with.")]),t._v(" "),e("li",[e("code",[t._v("extrakey")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),e("OutboundLink")],1)]),t._v(" Optional, any extra parameters for the compartments equations.\nWe already have the following parameters:\n"),e("ul",[e("li",[t._v("Population - stored as 'p' in our key.")]),t._v(" "),e("li",[t._v("Susceptible Population - stored as 'S' in our key.")]),t._v(" "),e("li",[t._v("R-naught - stored as 'rn' in our key.")]),t._v(" "),e("li",[t._v("Recovery rate - stored as 'u' in our key.")]),t._v(" "),e("li",[t._v("Recovered - stored as 'R' in our key.")]),t._v(" "),e("li",[t._v("Infected - stored as 'I' in our key.")]),t._v(" "),e("li",[t._v("Death Rate - stored as 'd' in our key.")]),t._v(" "),e("li",[t._v("Incubation Period - stored as 'a' in our key.")])])])]),t._v(" "),e("h4",{attrs:{id:"examples-6"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-6"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("custom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'S'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'I'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'R'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),e("span",{pre:!0,attrs:{class:"token constant"}},[t._v("B")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("rnaught"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("u"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h2",{attrs:{id:"compare"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#compare"}},[t._v("#")]),t._v(" compare")]),t._v(" "),e("p",[t._v("Compare's two different outbreaks, communities, or anything else.")]),t._v(" "),e("h3",{attrs:{id:"parameters-7"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-7"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("c")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement",target:"_blank",rel:"noopener noreferrer"}},[t._v("HTMLCanvasElement"),e("OutboundLink")],1)]),t._v(" The canvas element")]),t._v(" "),e("li",[e("code",[t._v("model1")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function",target:"_blank",rel:"noopener noreferrer"}},[t._v("Function"),e("OutboundLink")],1)]),t._v(" The first model to compare.")]),t._v(" "),e("li",[e("code",[t._v("model2")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function",target:"_blank",rel:"noopener noreferrer"}},[t._v("Function"),e("OutboundLink")],1)]),t._v(" The second model to compare.")]),t._v(" "),e("li",[e("code",[t._v("m1name")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),e("OutboundLink")],1)]),t._v(" The name of the first model")]),t._v(" "),e("li",[e("code",[t._v("m2name")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),e("OutboundLink")],1)]),t._v(" The name of the second model")]),t._v(" "),e("li",[e("code",[t._v("days")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The total amount of days to compare for.")])]),t._v(" "),e("h3",{attrs:{id:"examples-7"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-7"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid_variant "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" chart "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" document"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("getElementById")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'model'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\ncovid_outbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\nvariant_outbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid_variant"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("compare")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("chart"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" covid_outbreak"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" variant_outbreak"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19 Variant"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// We chose 100 as the amount of days, but it could be 50 or 25, not the lenght of the prediction that was in the model.")]),t._v("\n")])])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{372:function(t,a,e){"use strict";e.r(a);var s=e(45),r=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h3",{attrs:{id:"table-of-contents"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#virus"}},[t._v("Virus")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#community"}},[t._v("Community")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#sir"}},[t._v("sir")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-2"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-2"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#seir"}},[t._v("seir")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-3"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-3"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#seird"}},[t._v("seird")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-4"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-4"}},[t._v("Examples")])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#custom"}},[t._v("custom")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-5"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-5"}},[t._v("Examples")])])])])])]),t._v(" "),e("li",[e("a",{attrs:{href:"#compare"}},[t._v("compare")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#parameters-6"}},[t._v("Parameters")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#examples-6"}},[t._v("Examples")])])])])]),t._v(" "),e("h1",{attrs:{id:"com"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#com"}},[t._v("#")]),t._v(" Com")]),t._v(" "),e("p",[t._v("EpiJS module for representing communities")]),t._v(" "),e("p",[t._v("Import it with:")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" com "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("com\n")])])]),e("h2",{attrs:{id:"virus"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#virus"}},[t._v("#")]),t._v(" Virus")]),t._v(" "),e("p",[t._v("Class representing a virus, which can infect a community.")]),t._v(" "),e("h3",{attrs:{id:"parameters"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("rnaught")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's R-Naught")]),t._v(" "),e("li",[e("code",[t._v("u")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's recovery rate")]),t._v(" "),e("li",[e("code",[t._v("a")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's incubation period (optional, default "),e("code",[t._v("0")]),t._v(")")]),t._v(" "),e("li",[e("code",[t._v("d")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The disease's death rate (for infected population) (optional, default "),e("code",[t._v("0")]),t._v(")")])]),t._v(" "),e("h3",{attrs:{id:"examples"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h2",{attrs:{id:"community"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#community"}},[t._v("#")]),t._v(" Community")]),t._v(" "),e("p",[t._v("Class representing a community, which can be infected with a disease, and compared to other communities.")]),t._v(" "),e("h3",{attrs:{id:"parameters-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("pop")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The population of the community")]),t._v(" "),e("li",[e("code",[t._v("i")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The start infected population of the community.")]),t._v(" "),e("li",[e("code",[t._v("s")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The start susceptible population of the community")])]),t._v(" "),e("h3",{attrs:{id:"examples-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"sir"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#sir"}},[t._v("#")]),t._v(" sir")]),t._v(" "),e("p",[t._v("SIR model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-3"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("disease")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" A virus class. The virus to infect the community with and model for.")]),t._v(" "),e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" Time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("stochastic")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),e("OutboundLink")],1)]),t._v(" Whether to make the model stochastic or not.")])]),t._v(" "),e("h4",{attrs:{id:"examples-3"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"seir"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#seir"}},[t._v("#")]),t._v(" seir")]),t._v(" "),e("p",[t._v("SEIR model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-4"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("disease")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" A virus class. The virus to infect the community with and model for.")]),t._v(" "),e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" Time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("stochastic")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),e("OutboundLink")],1)]),t._v(" Whether to make the model stochastic or not.")])]),t._v(" "),e("h4",{attrs:{id:"examples-4"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("seir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"seird"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#seird"}},[t._v("#")]),t._v(" seird")]),t._v(" "),e("p",[t._v("SEIRD model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-5"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("disease")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" A virus class. The virus to infect the community with and model for.")]),t._v(" "),e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" Time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("stochastic")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),e("OutboundLink")],1)]),t._v(" Whether to make the model stochastic or not.")])]),t._v(" "),e("h4",{attrs:{id:"examples-5"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("seird")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h3",{attrs:{id:"custom"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#custom"}},[t._v("#")]),t._v(" custom")]),t._v(" "),e("p",[t._v("Custom model for the community")]),t._v(" "),e("h4",{attrs:{id:"parameters-6"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-6"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("p",[e("code",[t._v("compartments")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),e("OutboundLink")],1)]),t._v(" The compartments for the model. Pass in as an array with sub arrays of the form [compartment, name in key].\nNote that the 'name in key' is a string with the same value that is stored in your extra key, otherwise it should be the same name that we store it as.\nYou can find these names below.")]),t._v(" "),e("ul",[e("li",[t._v("Susceptible - stored as 'S'")]),t._v(" "),e("li",[t._v("Infected - stored as 'I'")]),t._v(" "),e("li",[t._v("Recovered - stored as 'R'")])])])]),t._v(" "),e("p",[t._v("Make sure that you use the same names that are stored in the key in the equations for the compartments. These values are found from parameters passed into the virus class and the community class.")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("time")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The time to predict for.")]),t._v(" "),e("li",[e("code",[t._v("virus")]),t._v(" The virus class to infect the community with.")]),t._v(" "),e("li",[e("code",[t._v("extrakey")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object",target:"_blank",rel:"noopener noreferrer"}},[t._v("Object"),e("OutboundLink")],1)]),t._v(" Optional, any extra parameters for the compartments equations.\nWe already have the following parameters:\n"),e("ul",[e("li",[t._v("Population - stored as 'p' in our key.")]),t._v(" "),e("li",[t._v("Susceptible Population - stored as 'S' in our key.")]),t._v(" "),e("li",[t._v("R-naught - stored as 'rn' in our key.")]),t._v(" "),e("li",[t._v("Recovery rate - stored as 'u' in our key.")]),t._v(" "),e("li",[t._v("Recovered - stored as 'R' in our key.")]),t._v(" "),e("li",[t._v("Infected - stored as 'I' in our key.")]),t._v(" "),e("li",[t._v("Death Rate - stored as 'd' in our key.")]),t._v(" "),e("li",[t._v("Incubation Period - stored as 'a' in our key.")])])])]),t._v(" "),e("h4",{attrs:{id:"examples-6"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-6"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I/p)"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" infected "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I+(B*S*I/p)-(u*I)"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" recovered "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"R+(u*I)"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\noutbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("custom")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("susceptible"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'S'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("infected"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'I'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("recovered"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'R'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),e("span",{pre:!0,attrs:{class:"token constant"}},[t._v("B")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("rnaught"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("u"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),e("h2",{attrs:{id:"compare"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#compare"}},[t._v("#")]),t._v(" compare")]),t._v(" "),e("p",[t._v("Compare's two different outbreaks, communities, or anything else.")]),t._v(" "),e("h3",{attrs:{id:"parameters-7"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#parameters-7"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("c")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement",target:"_blank",rel:"noopener noreferrer"}},[t._v("HTMLCanvasElement"),e("OutboundLink")],1)]),t._v(" The canvas element")]),t._v(" "),e("li",[e("code",[t._v("model1")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function",target:"_blank",rel:"noopener noreferrer"}},[t._v("Function"),e("OutboundLink")],1)]),t._v(" The first model to compare.")]),t._v(" "),e("li",[e("code",[t._v("model2")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function",target:"_blank",rel:"noopener noreferrer"}},[t._v("Function"),e("OutboundLink")],1)]),t._v(" The second model to compare.")]),t._v(" "),e("li",[e("code",[t._v("m1name")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),e("OutboundLink")],1)]),t._v(" The name of the first model")]),t._v(" "),e("li",[e("code",[t._v("m2name")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),e("OutboundLink")],1)]),t._v(" The name of the second model")]),t._v(" "),e("li",[e("code",[t._v("days")]),t._v(" "),e("strong",[e("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number",target:"_blank",rel:"noopener noreferrer"}},[t._v("Number"),e("OutboundLink")],1)]),t._v(" The total amount of days to compare for.")])]),t._v(" "),e("h3",{attrs:{id:"examples-7"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#examples-7"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),e("div",{staticClass:"language-javascript extra-class"},[e("pre",{pre:!0,attrs:{class:"language-javascript"}},[e("code",[e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" NewYorkCity "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Community")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8419000")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("300")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("8418700")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5.7")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("2.1")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" covid_variant "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Virus")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("5")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" chart "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" document"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("getElementById")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token string"}},[t._v("'model'")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\ncovid_outbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\nvariant_outbreak "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" NewYorkCity"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("sir")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("covid_variant"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("compare")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("chart"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" covid_outbreak"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" variant_outbreak"),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token string"}},[t._v('"COVID-19 Variant"')]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// We chose 100 as the amount of days, but it could be 50 or 25, not the lenght of the prediction that was in the model.")]),t._v("\n")])])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/9.94dfc0ef.js b/docs/.vuepress/dist/assets/js/9.570eb5e8.js similarity index 99% rename from docs/.vuepress/dist/assets/js/9.94dfc0ef.js rename to docs/.vuepress/dist/assets/js/9.570eb5e8.js index 6f4d507..6181b0f 100644 --- a/docs/.vuepress/dist/assets/js/9.94dfc0ef.js +++ b/docs/.vuepress/dist/assets/js/9.570eb5e8.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{368:function(t,e,a){"use strict";a.r(e);var s=a(44),r=Object(s.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h3",{attrs:{id:"table-of-contents"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#idiom"}},[t._v("Idiom")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#susceptible"}},[t._v("Susceptible")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#infected"}},[t._v("Infected")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-2"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-2"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#exposed"}},[t._v("Exposed")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-3"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-3"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#critical"}},[t._v("Critical")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-4"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-4"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#hospitalized"}},[t._v("Hospitalized")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-5"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-5"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#dead"}},[t._v("Dead")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-6"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-6"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#vaccinated"}},[t._v("Vaccinated")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-7"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-7"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#recovered"}},[t._v("Recovered")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-8"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-8"}},[t._v("Examples")])])])])]),t._v(" "),a("h1",{attrs:{id:"comp"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#comp"}},[t._v("#")]),t._v(" Comp")]),t._v(" "),a("p",[t._v("EpiJS module for creating compartments, which can be combined into models.")]),t._v(" "),a("p",[t._v("Import it with:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" comp "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("comp\n")])])]),a("h2",{attrs:{id:"idiom"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#idiom"}},[t._v("#")]),t._v(" Idiom")]),t._v(" "),a("p",[t._v("Class for a custom compartments.")]),t._v(" "),a("h3",{attrs:{id:"parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("equation")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(" The equation for the compartment. This defines what to run to get a new value for the next day in the model. Use any variable in the equation (1 char max), but when making this a model, you need to define this in the key.\nIf using other compartment classes, they each have their own corresponding variable:\n"),a("ul",[a("li",[t._v("'S' - Susceptible")]),t._v(" "),a("li",[t._v("'E' - Exposed")]),t._v(" "),a("li",[t._v("'I' - Infectious")]),t._v(" "),a("li",[t._v("'R' - Recovered")]),t._v(" "),a("li",[t._v("'D' - Dead")]),t._v(" "),a("li",[t._v("'C' - Critical")]),t._v(" "),a("li",[t._v("'H' - Hospitalized")]),t._v(" "),a("li",[t._v("'V' - Vaccinated")]),t._v(" "),a("li",[t._v("'w' - Reserved for stochastic models. If put, it will be replaced with a random number generated from the gaussian distribution.")])])])]),t._v(" "),a("h3",{attrs:{id:"examples"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"susceptible"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#susceptible"}},[t._v("#")]),t._v(" Susceptible")]),t._v(" "),a("p",[t._v("Class for Suscepible compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current susceptible population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "S" as the id. This parameter is useful\nif you want to model a disease with re-susceptibility.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic. You can still pass in your normal equation, and epijs will\nauto generate the equations from what you pass in.")])]),t._v(" "),a("h3",{attrs:{id:"examples-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a number as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a string because we want to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. This applies to the prev parameter too. ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("S")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Susceptible")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I*0.4/N"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"infected"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#infected"}},[t._v("#")]),t._v(" Infected")]),t._v(" "),a("p",[t._v("Class for Infected compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current infected population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "I" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("I")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Infected")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I*0.4/N"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"exposed"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#exposed"}},[t._v("#")]),t._v(" Exposed")]),t._v(" "),a("p",[t._v("Class for Exposed compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current exposed population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "E" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("E")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Exposed")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("14")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S*0.4/N"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"critical"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#critical"}},[t._v("#")]),t._v(" Critical")]),t._v(" "),a("p",[t._v("Class for Critical compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current critical population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "C" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("C")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Critical")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.14")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"H"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"hospitalized"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#hospitalized"}},[t._v("#")]),t._v(" Hospitalized")]),t._v(" "),a("p",[t._v("Class for Hospitalized compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-6"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current hospitalized population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "H" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-6"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("H")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Hospitalized")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"E"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"dead"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#dead"}},[t._v("#")]),t._v(" Dead")]),t._v(" "),a("p",[t._v("Class for the Dead compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-7"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments. This is multiplied by the current dead population.\nUseful if you want to have a dead population that can also be the walking dead.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "D" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-7"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("D")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Dead")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// This disease also gives you a 3/10 chance to come alive after death.")]),t._v("\n")])])]),a("h2",{attrs:{id:"vaccinated"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#vaccinated"}},[t._v("#")]),t._v(" Vaccinated")]),t._v(" "),a("p",[t._v("Class for Vaccinated compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-8"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-8"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments, good if the vaccine isn't 100% effective. This is multiplied by the current vaccinated population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "V" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-8"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-8"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("I")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Infected")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.001")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S*0.4"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"recovered"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#recovered"}},[t._v("#")]),t._v(" Recovered")]),t._v(" "),a("p",[t._v("Class for Recovered compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-9"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-9"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments, good if the vaccine isn't 100% effective. This is multiplied by the current vaccinated population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "V" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-9"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-9"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("R")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Recovered")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{373:function(t,e,a){"use strict";a.r(e);var s=a(45),r=Object(s.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h3",{attrs:{id:"table-of-contents"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of Contents")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#idiom"}},[t._v("Idiom")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#susceptible"}},[t._v("Susceptible")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-1"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-1"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#infected"}},[t._v("Infected")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-2"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-2"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#exposed"}},[t._v("Exposed")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-3"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-3"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#critical"}},[t._v("Critical")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-4"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-4"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#hospitalized"}},[t._v("Hospitalized")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-5"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-5"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#dead"}},[t._v("Dead")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-6"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-6"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#vaccinated"}},[t._v("Vaccinated")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-7"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-7"}},[t._v("Examples")])])])]),t._v(" "),a("li",[a("a",{attrs:{href:"#recovered"}},[t._v("Recovered")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#parameters-8"}},[t._v("Parameters")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#examples-8"}},[t._v("Examples")])])])])]),t._v(" "),a("h1",{attrs:{id:"comp"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#comp"}},[t._v("#")]),t._v(" Comp")]),t._v(" "),a("p",[t._v("EpiJS module for creating compartments, which can be combined into models.")]),t._v(" "),a("p",[t._v("Import it with:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" comp "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("'@epispot/epijs'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("comp\n")])])]),a("h2",{attrs:{id:"idiom"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#idiom"}},[t._v("#")]),t._v(" Idiom")]),t._v(" "),a("p",[t._v("Class for a custom compartments.")]),t._v(" "),a("h3",{attrs:{id:"parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("equation")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String",target:"_blank",rel:"noopener noreferrer"}},[t._v("String"),a("OutboundLink")],1)]),t._v(" The equation for the compartment. This defines what to run to get a new value for the next day in the model. Use any variable in the equation (1 char max), but when making this a model, you need to define this in the key.\nIf using other compartment classes, they each have their own corresponding variable:\n"),a("ul",[a("li",[t._v("'S' - Susceptible")]),t._v(" "),a("li",[t._v("'E' - Exposed")]),t._v(" "),a("li",[t._v("'I' - Infectious")]),t._v(" "),a("li",[t._v("'R' - Recovered")]),t._v(" "),a("li",[t._v("'D' - Dead")]),t._v(" "),a("li",[t._v("'C' - Critical")]),t._v(" "),a("li",[t._v("'H' - Hospitalized")]),t._v(" "),a("li",[t._v("'V' - Vaccinated")]),t._v(" "),a("li",[t._v("'w' - Reserved for stochastic models. If put, it will be replaced with a random number generated from the gaussian distribution.")])])])]),t._v(" "),a("h3",{attrs:{id:"examples"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" susceptible "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Idiom")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S-(B*S*I)"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"susceptible"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#susceptible"}},[t._v("#")]),t._v(" Susceptible")]),t._v(" "),a("p",[t._v("Class for Suscepible compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-2"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current susceptible population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "S" as the id. This parameter is useful\nif you want to model a disease with re-susceptibility.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic. You can still pass in your normal equation, and epijs will\nauto generate the equations from what you pass in.")])]),t._v(" "),a("h3",{attrs:{id:"examples-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-2"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a number as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a string because we want to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. This applies to the prev parameter too. ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("S")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Susceptible")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I*0.4/N"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"infected"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#infected"}},[t._v("#")]),t._v(" Infected")]),t._v(" "),a("p",[t._v("Class for Infected compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-3"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current infected population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "I" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-3"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("I")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Infected")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I*0.4/N"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"exposed"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#exposed"}},[t._v("#")]),t._v(" Exposed")]),t._v(" "),a("p",[t._v("Class for Exposed compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-4"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current exposed population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "E" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-4"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("E")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Exposed")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("/")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("14")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S*0.4/N"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"critical"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#critical"}},[t._v("#")]),t._v(" Critical")]),t._v(" "),a("p",[t._v("Class for Critical compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-5"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current critical population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "C" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-5"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("C")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Critical")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.14")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"H"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"hospitalized"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#hospitalized"}},[t._v("#")]),t._v(" Hospitalized")]),t._v(" "),a("p",[t._v("Class for Hospitalized compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-6"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments This is multiplied by the current hospitalized population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "H" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-6"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("H")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Hospitalized")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"E"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"dead"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#dead"}},[t._v("#")]),t._v(" Dead")]),t._v(" "),a("p",[t._v("Class for the Dead compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-7"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments. This is multiplied by the current dead population.\nUseful if you want to have a dead population that can also be the walking dead.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "D" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-7"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("D")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Dead")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.3")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// This disease also gives you a 3/10 chance to come alive after death.")]),t._v("\n")])])]),a("h2",{attrs:{id:"vaccinated"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#vaccinated"}},[t._v("#")]),t._v(" Vaccinated")]),t._v(" "),a("p",[t._v("Class for Vaccinated compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-8"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-8"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments, good if the vaccine isn't 100% effective. This is multiplied by the current vaccinated population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "V" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-8"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-8"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("I")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Infected")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.001")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"S*0.4"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),a("h2",{attrs:{id:"recovered"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#recovered"}},[t._v("#")]),t._v(" Recovered")]),t._v(" "),a("p",[t._v("Class for Recovered compartment.")]),t._v(" "),a("h3",{attrs:{id:"parameters-9"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#parameters-9"}},[t._v("#")]),t._v(" Parameters")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("next")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(" List of rates of the next compartments, good if the vaccine isn't 100% effective. This is multiplied by the current vaccinated population.")]),t._v(" "),a("li",[a("code",[t._v("prev")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array",target:"_blank",rel:"noopener noreferrer"}},[t._v("Array"),a("OutboundLink")],1)]),t._v(' List of rates of the previous compartments, which include sub-arrays\nwith the compartment id (one letter only), as a string, and the rate for the compartment.\nIf reffering to this compartment\'s population, use "V" as the id.')]),t._v(" "),a("li",[a("code",[t._v("stochastic")]),t._v(" "),a("strong",[a("a",{attrs:{href:"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boolean"),a("OutboundLink")],1)]),t._v(" If true, the compartment will be stochastic.")])]),t._v(" "),a("h3",{attrs:{id:"examples-9"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#examples-9"}},[t._v("#")]),t._v(" Examples")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Note that you can pass in a string as a rate too, ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// but we use a number in this case because we don't need to multiply ")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// by other compartment populations. We do actually do this for the prev parameter, though.")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("let")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("R")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Recovered")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"I"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token boolean"}},[t._v("false")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/js/app.91f8e8e3.js b/docs/.vuepress/dist/assets/js/app.91f8e8e3.js new file mode 100644 index 0000000..4b67c1c --- /dev/null +++ b/docs/.vuepress/dist/assets/js/app.91f8e8e3.js @@ -0,0 +1,8 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,s=e[0],u=e[1],c=e[2],l=0,p=[];l=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(53),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(7),o=n(8),i=n(37);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(33),o=n(24);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(3),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(3),o=n(128),i=n(105),a=n(13),s=n(2),u=s("iterator"),c=s("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(t){h[u]=f}if(h[c]||a(h,c,l),o[l])for(var d in i)if(h[d]!==i[d])try{a(h,d,i[d])}catch(t){h[d]=i[d]}}}},function(t,e,n){var r=n(139),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(3),o=n(13),i=n(6),a=n(74),s=n(80),u=n(25),c=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,s){var u,c=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(u=f(n)).source||(u.source=l.join("string"==typeof e?e:""))),t!==r?(c?!h&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(t,e,n){var r=n(51);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(232),o=n(235);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r,o,i,a=n(187),s=n(3),u=n(4),c=n(13),f=n(6),l=n(73),p=n(54),h=n(35),d=s.WeakMap;if(a||l.state){var v=l.state||(l.state=new d),y=v.get,m=v.has,g=v.set;r=function(t,e){if(m.call(v,t))throw new TypeError("Object already initialized");return e.facade=t,g.call(v,t,e),e},o=function(t){return y.call(v,t)||{}},i=function(t){return m.call(v,t)}}else{var b=p("state");h[b]=!0,r=function(t,e){if(f(t,b))throw new TypeError("Object already initialized");return e.facade=t,c(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(7),o=n(81),i=n(37),a=n(15),s=n(50),u=n(6),c=n(107),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=s(e),c)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r,o=n(5),i=n(184),a=n(79),s=n(35),u=n(110),c=n(77),f=n(54),l=f("IE_PROTO"),p=function(){},h=function(t){return" + diff --git a/docs/.vuepress/dist/comp.html b/docs/.vuepress/dist/comp.html index c4587dc..ead2146 100644 --- a/docs/.vuepress/dist/comp.html +++ b/docs/.vuepress/dist/comp.html @@ -8,7 +8,7 @@ - + @@ -88,6 +88,6 @@ →

- + diff --git a/docs/.vuepress/dist/getting-started.html b/docs/.vuepress/dist/getting-started.html index 796458e..2feef8f 100644 --- a/docs/.vuepress/dist/getting-started.html +++ b/docs/.vuepress/dist/getting-started.html @@ -8,7 +8,7 @@ - + @@ -36,6 +36,6 @@ →

- + diff --git a/docs/.vuepress/dist/index.html b/docs/.vuepress/dist/index.html index f7e3fbe..fb61483 100644 --- a/docs/.vuepress/dist/index.html +++ b/docs/.vuepress/dist/index.html @@ -8,7 +8,7 @@ - + @@ -33,6 +33,6 @@

Customized SIR-Based Models

Quick, readable graphs

Complex, yet simple

Easy, customizable SIR based models, with SEIR, SEIRD, SIR, and more models for you to choose from.

Quick and readable graphs made with chart.js to get the info you need, when you need it.

Complex models like SEIHCRD models done simply, in only 1-line of code.

Don't take it from us, see for yourself!

Get Started →



- + diff --git a/docs/.vuepress/dist/installation.html b/docs/.vuepress/dist/installation.html index d84d176..6f32267 100644 --- a/docs/.vuepress/dist/installation.html +++ b/docs/.vuepress/dist/installation.html @@ -8,7 +8,7 @@ - + @@ -49,6 +49,6 @@ →

- + diff --git a/docs/.vuepress/dist/manual/SIR.html b/docs/.vuepress/dist/manual/SIR.html index 4074a5b..d5d6356 100644 --- a/docs/.vuepress/dist/manual/SIR.html +++ b/docs/.vuepress/dist/manual/SIR.html @@ -8,7 +8,7 @@ - + @@ -90,6 +90,6 @@ →

- + diff --git a/docs/.vuepress/dist/manual/migration.html b/docs/.vuepress/dist/manual/migration.html index 318468e..d0c4788 100644 --- a/docs/.vuepress/dist/manual/migration.html +++ b/docs/.vuepress/dist/manual/migration.html @@ -8,7 +8,7 @@ - + @@ -42,6 +42,6 @@

- + diff --git a/docs/.vuepress/dist/model.html b/docs/.vuepress/dist/model.html index 7d1fade..c64e574 100644 --- a/docs/.vuepress/dist/model.html +++ b/docs/.vuepress/dist/model.html @@ -8,7 +8,7 @@ - + @@ -24,7 +24,7 @@ Demo (opens new window)

# Table of Contents

# Model

EpiJS module for creating custom models, which are made of compartments.

Import it with:

       const model = require('@epispot/epijs').model
+   (opens new window)

# Table of Contents

# Model

EpiJS module for creating custom models, which are made of compartments.

Import it with:

       const model = require('@epispot/epijs').model
 

# Model

Create a model.

# Parameters

  • compartments Array (opens new window) Compartments in the model. Each should be a list, with the first value being the compartment, and the second being it's start value in the key.
  • key Object (opens new window) The key of values for any variable used in the equation. If you use any variable which represents the population of a compartment, add the starting value into the key.

# Examples

let susceptible = new Idiom("S-(B*S*I/p)");
 let infected = new Idiom("I+(B*S*I/p)-(u*I)");
 let recovered = new Idiom("R+(u*I)");
@@ -55,7 +55,40 @@
 let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key)
 
 model.get_data(100) // Get data for 100 days.
-

# mexport

NodeJS only! Exports models to a file which can then be imported later on.

# Parameters

# Examples

let susceptible = new Idiom("S-(B*S*I/p)");
+

# remove

Remove a compartment from the model.

# Parameters

# Examples

let susceptible = new Idiom("S-(B*S*I/p)");
+let infected = new Idiom("I+(B*S*I/p)-(u*I)");
+let recovered = new Idiom("R+(u*I)");
+
+let key = {
+	"S": 10000,
+	"B": 0.3,
+	"I": 100,
+	"R": 0,
+	"p": 10100,
+	"u": 0.2
+};
+
+let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key)
+
+sirm.remove(recovered) // Removes the recovered compartment.
+

# add

Add a compartment to the model.

# Parameters

  • compartment Array (opens new window) The compartment to add, should be a list, with the first value being the compartment, and the second being it's value in the key.

# Examples

let susceptible = new Idiom("S-(B*S*I/p)");
+let infected = new Idiom("I+(B*S*I/p)-(u*I)");
+let recovered = new Idiom("R+(u*I)");
+	
+let key = {
+	"S": 10000,
+	"B": 0.3,
+[1]: #model-2
+	"R": 0,
+	"p": 10100,
+	"u": 0.2
+[3]: #get-data
+
+let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key)
+
+sirm.remove(susceptible) // Removes the susceptible compartment.
+sirm.add([susceptible, "S"]) // Adds the susceptible compartment back.
+

# mexport

NodeJS only! Exports models to a file which can then be imported later on.

# Parameters

# Examples

let susceptible = new Idiom("S-(B*S*I/p)");
 let infected = new Idiom("I+(B*S*I/p)-(u*I)");
 let recovered = new Idiom("R+(u*I)");
 
@@ -71,7 +104,7 @@
 let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key)
 
 mexport(sirm, "output.js", file_type=".js")
-

# mimport

NodeJS only! Imports a model from a file.

# Parameters

# Examples

// Use mexport to export a model into a file
+

# mimport

NodeJS only! Imports a model from a file.

# Parameters

# Examples

// Use mexport to export a model into a file
 let sirm = mimport("./output.json")
 
- + diff --git a/docs/.vuepress/dist/plots.html b/docs/.vuepress/dist/plots.html index 3e4e9e1..665b83a 100644 --- a/docs/.vuepress/dist/plots.html +++ b/docs/.vuepress/dist/plots.html @@ -8,7 +8,7 @@ - + @@ -55,6 +55,6 @@ →

- + diff --git a/docs/.vuepress/dist/pre.html b/docs/.vuepress/dist/pre.html index 93dc8f3..985deaa 100644 --- a/docs/.vuepress/dist/pre.html +++ b/docs/.vuepress/dist/pre.html @@ -8,7 +8,7 @@ - + @@ -39,6 +39,6 @@ →

- + diff --git a/docs/.vuepress/dist/utils.html b/docs/.vuepress/dist/utils.html index 8d3d229..1e11720 100644 --- a/docs/.vuepress/dist/utils.html +++ b/docs/.vuepress/dist/utils.html @@ -8,7 +8,7 @@ - + @@ -34,6 +34,6 @@ →

- + diff --git a/docs/model.md b/docs/model.md index a317d39..af3c135 100644 --- a/docs/model.md +++ b/docs/model.md @@ -12,12 +12,18 @@ title: EpiJS Module - Model * [get_data][5] * [Parameters][6] * [Examples][7] -* [mexport][8] - * [Parameters][9] - * [Examples][10] -* [mimport][11] - * [Parameters][12] - * [Examples][13] + * [remove][8] + * [Parameters][9] + * [Examples][10] + * [add][11] + * [Parameters][12] + * [Examples][13] +* [mexport][14] + * [Parameters][15] + * [Examples][16] +* [mimport][17] + * [Parameters][18] + * [Examples][19] # Model @@ -33,8 +39,8 @@ Create a model. ### Parameters -* `compartments` **[Array][14]** Compartments in the model. Each should be a list, with the first value being the compartment, and the second being it's start value in the key. -* `key` **[Object][15]** The key of values for any variable used in the equation. If you use any variable which represents the population of a compartment, add the starting value into the key. +* `compartments` **[Array][20]** Compartments in the model. Each should be a list, with the first value being the compartment, and the second being it's start value in the key. +* `key` **[Object][21]** The key of values for any variable used in the equation. If you use any variable which represents the population of a compartment, add the starting value into the key. ### Examples @@ -61,7 +67,7 @@ Get data for the outbreak. #### Parameters -* `time` **[Number][16]** The total time to model. +* `time` **[Number][22]** The total time to model. #### Examples @@ -84,6 +90,65 @@ let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], ke model.get_data(100) // Get data for 100 days. ``` +### remove + +Remove a compartment from the model. + +#### Parameters + +* `compartment` **[Object][21]** The compartment to remove. + +#### Examples + +```javascript +let susceptible = new Idiom("S-(B*S*I/p)"); +let infected = new Idiom("I+(B*S*I/p)-(u*I)"); +let recovered = new Idiom("R+(u*I)"); + +let key = { + "S": 10000, + "B": 0.3, + "I": 100, + "R": 0, + "p": 10100, + "u": 0.2 +}; + +let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key) + +sirm.remove(recovered) // Removes the recovered compartment. +``` + +### add + +Add a compartment to the model. + +#### Parameters + +* `compartment` **[Array][20]** The compartment to add, should be a list, with the first value being the compartment, and the second being it's value in the key. + +#### Examples + +```javascript +let susceptible = new Idiom("S-(B*S*I/p)"); +let infected = new Idiom("I+(B*S*I/p)-(u*I)"); +let recovered = new Idiom("R+(u*I)"); + +let key = { + "S": 10000, + "B": 0.3, +[1]: #model-2 + "R": 0, + "p": 10100, + "u": 0.2 +[3]: #get-data + +let sirm = new Model([[susceptible, "S"], [infected, "I"], [recovered, "R"]], key) + +sirm.remove(susceptible) // Removes the susceptible compartment. +sirm.add([susceptible, "S"]) // Adds the susceptible compartment back. +``` + ## mexport NodeJS only! Exports models to a file which can then be imported later on. @@ -91,8 +156,8 @@ NodeJS only! Exports models to a file which can then be imported later on. ### Parameters * `model` The EpiJS model to export -* `output` **[String][17]** The output file path, doesn't have to exist -* `file_type` **[String][17]** The file type to output. Supported inputs are ".json" and ".js". (optional, default `".json"`) +* `output` **[String][23]** The output file path, doesn't have to exist +* `file_type` **[String][23]** The file type to output. Supported inputs are ".json" and ".js". (optional, default `".json"`) ### Examples @@ -121,8 +186,8 @@ NodeJS only! Imports a model from a file. ### Parameters -* `input` **[String][17]** The input file path, as a relative path. -* `file_type` **[String][17]** The file type of the input. Supported inputs are ".json" and ".js". (optional, default `".json"`) +* `input` **[String][23]** The input file path, as a relative path. +* `file_type` **[String][23]** The file type of the input. Supported inputs are ".json" and ".js". (optional, default `".json"`) ### Examples @@ -131,11 +196,11 @@ NodeJS only! Imports a model from a file. let sirm = mimport("./output.json") ``` -[1]: #model-2 +[1]: #fs [2]: #model -[3]: #get-data +[3]: #parameters [4]: #examples @@ -145,22 +210,34 @@ let sirm = mimport("./output.json") [7]: #examples-1 -[8]: #mexport +[8]: #remove [9]: #parameters-2 [10]: #examples-2 -[11]: #mimport +[11]: #add [12]: #parameters-3 [13]: #examples-3 -[14]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[14]: #mexport + +[15]: #parameters-4 + +[16]: #examples-4 + +[17]: #mimport + +[18]: #parameters-5 + +[19]: #examples-5 + +[20]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[15]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[21]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[16]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[22]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[17]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[23]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String diff --git a/package.json b/package.json index 7d3c1cd..906078d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@epispot/epijs", - "version": "2.1.2", + "version": "2.2.0", "description": "A disease modeling package.", "main": "EpiJS/index.js", "scripts": { diff --git a/scripts/doc-update.py b/scripts/doc-update.py index 3a96ecc..1ac6f44 100644 --- a/scripts/doc-update.py +++ b/scripts/doc-update.py @@ -32,11 +32,11 @@ doc = mdoc.readlines() doc[4] = '\n' - doc[18] = '# Model\n' - doc[23] = '```javascript\n' - doc[25] = '```\n' - doc[130] = "[1]: #model-2\n" - doc[134] = '[3]: #get-data\n' + doc[24] = '# Model\n' + doc[29] = '```javascript\n' + doc[31] = '```\n' + doc[136] = "[1]: #model-2\n" + doc[140] = '[3]: #get-data\n' doc1 = ['---\n', 'title: EpiJS Module - Model\n', '---\n'] doc = doc1+doc diff --git a/tests/scripts/model.js b/tests/scripts/model.js index 2be0cb3..bc27133 100644 --- a/tests/scripts/model.js +++ b/tests/scripts/model.js @@ -20,4 +20,8 @@ let key1 = { let sirm2 = new Model([[S, "S"], [I, "I"], [R, "R"]], key1) var data2 = sirm2.get_data(100) -console.log(data2) \ No newline at end of file +console.log(data2) + +sirm2.remove(S) +sirm2.add([S, "S"], 0) +console.log(sirm2.get_data(100)) \ No newline at end of file diff --git a/web/index.min.js b/web/index.min.js index 8e0014b..78db2be 100644 --- a/web/index.min.js +++ b/web/index.min.js @@ -1,6 +1,6 @@ -!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).EpiJS=f()}}((function(){return function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,(function(r){return o(e[i][1][r]||r)}),p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);ihex[15&b],h2=b=>hex[(240&b)>>4]+hex[15&b],eq=b=>(240&b)>>4==(15&b);function hexString(v){var f=function isShort(v){return eq(v.r)&&eq(v.g)&&eq(v.b)&&eq(v.a)}(v)?h1:h2;return v?"#"+f(v.r)+f(v.g)+f(v.b)+(v.a<255?f(v.a):""):v}function round(v){return v+.5|0}const lim=(v,l,h)=>Math.max(Math.min(v,h),l);function p2b(v){return lim(round(2.55*v),0,255)}function n2b(v){return lim(round(255*v),0,255)}function b2n(v){return lim(round(v/2.55)/100,0,1)}function n2p(v){return lim(round(100*v),0,100)}const RGB_RE=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const HUE_RE=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function hsl2rgbn(h,s,l){const a=s*Math.min(l,1-l),f=(n,k=(n+h/30)%12)=>l-a*Math.max(Math.min(k-3,9-k,1),-1);return[f(0),f(8),f(4)]}function hsv2rgbn(h,s,v){const f=(n,k=(n+h/60)%6)=>v-v*s*Math.max(Math.min(k,4-k,1),0);return[f(5),f(3),f(1)]}function hwb2rgbn(h,w,b){const rgb=hsl2rgbn(h,1,.5);let i;for(w+b>1&&(i=1/(w+b),w*=i,b*=i),i=0;i<3;i++)rgb[i]*=1-w-b,rgb[i]+=w;return rgb}function rgb2hsl(v){const r=v.r/255,g=v.g/255,b=v.b/255,max=Math.max(r,g,b),min=Math.min(r,g,b),l=(max+min)/2;let h,s,d;return max!==min&&(d=max-min,s=l>.5?d/(2-max-min):d/(max+min),h=max===r?(g-b)/d+(g>16&255,k>>8&255,255&k]}return unpacked}(),names$1.transparent=[0,0,0,0]);const a=names$1[str.toLowerCase()];return a&&{r:a[0],g:a[1],b:a[2],a:4===a.length?a[3]:255}}function modHSL(v,i,ratio){if(v){let tmp=rgb2hsl(v);tmp[i]=Math.max(0,Math.min(tmp[i]+tmp[i]*ratio,0===i?360:1)),tmp=hsl2rgb(tmp),v.r=tmp[0],v.g=tmp[1],v.b=tmp[2]}}function clone$1(v,proto){return v?Object.assign(proto||{},v):v}function fromObject(input){var v={r:0,g:0,b:0,a:255};return Array.isArray(input)?input.length>=3&&(v={r:input[0],g:input[1],b:input[2],a:255},input.length>3&&(v.a=n2b(input[3]))):(v=clone$1(input,{r:0,g:0,b:0,a:1})).a=n2b(v.a),v}function functionParse(str){return"r"===str.charAt(0)?function rgbParse(str){const m=RGB_RE.exec(str);let r,g,b,a=255;if(m){if(m[7]!==r){const v=+m[7];a=255&(m[8]?p2b(v):255*v)}return r=+m[1],g=+m[3],b=+m[5],r=255&(m[2]?p2b(r):r),g=255&(m[4]?p2b(g):g),b=255&(m[6]?p2b(b):b),{r:r,g:g,b:b,a:a}}}(str):hueParse(str)}class Color{constructor(input){if(input instanceof Color)return input;const type=typeof input;let v;"object"===type?v=fromObject(input):"string"===type&&(v=function hexParse(str){var ret,len=str.length;return"#"===str[0]&&(4===len||5===len?ret={r:255&17*map$1[str[1]],g:255&17*map$1[str[2]],b:255&17*map$1[str[3]],a:5===len?17*map$1[str[4]]:255}:7!==len&&9!==len||(ret={r:map$1[str[1]]<<4|map$1[str[2]],g:map$1[str[3]]<<4|map$1[str[4]],b:map$1[str[5]]<<4|map$1[str[6]],a:9===len?map$1[str[7]]<<4|map$1[str[8]]:255})),ret}(input)||nameParse(input)||functionParse(input)),this._rgb=v,this._valid=!!v}get valid(){return this._valid}get rgb(){var v=clone$1(this._rgb);return v&&(v.a=b2n(v.a)),v}set rgb(obj){this._rgb=fromObject(obj)}rgbString(){return this._valid?function rgbString(v){return v&&(v.a<255?`rgba(${v.r}, ${v.g}, ${v.b}, ${b2n(v.a)})`:`rgb(${v.r}, ${v.g}, ${v.b})`)}(this._rgb):this._rgb}hexString(){return this._valid?hexString(this._rgb):this._rgb}hslString(){return this._valid?function hslString(v){if(!v)return;const a=rgb2hsl(v),h=a[0],s=n2p(a[1]),l=n2p(a[2]);return v.a<255?`hsla(${h}, ${s}%, ${l}%, ${b2n(v.a)})`:`hsl(${h}, ${s}%, ${l}%)`}(this._rgb):this._rgb}mix(color,weight){const me=this;if(color){const c1=me.rgb,c2=color.rgb;let w2;const p=weight===w2?.5:weight,w=2*p-1,a=c1.a-c2.a,w1=((w*a==-1?w:(w+a)/(1+w*a))+1)/2;w2=1-w1,c1.r=255&w1*c1.r+w2*c2.r+.5,c1.g=255&w1*c1.g+w2*c2.g+.5,c1.b=255&w1*c1.b+w2*c2.b+.5,c1.a=p*c1.a+(1-p)*c2.a,me.rgb=c1}return me}clone(){return new Color(this.rgb)}alpha(a){return this._rgb.a=n2b(a),this}clearer(ratio){return this._rgb.a*=1-ratio,this}greyscale(){const rgb=this._rgb,val=round(.3*rgb.r+.59*rgb.g+.11*rgb.b);return rgb.r=rgb.g=rgb.b=val,this}opaquer(ratio){return this._rgb.a*=1+ratio,this}negate(){const v=this._rgb;return v.r=255-v.r,v.g=255-v.g,v.b=255-v.b,this}lighten(ratio){return modHSL(this._rgb,2,ratio),this}darken(ratio){return modHSL(this._rgb,2,-ratio),this}saturate(ratio){return modHSL(this._rgb,1,ratio),this}desaturate(ratio){return modHSL(this._rgb,1,-ratio),this}rotate(deg){return function rotate(v,deg){var h=rgb2hsl(v);h[0]=hue(h[0]+deg),h=hsl2rgb(h),v.r=h[0],v.g=h[1],v.b=h[2]}(this._rgb,deg),this}}function index_esm(input){return new Color(input)}const isPatternOrGradient=value=>value instanceof CanvasGradient||value instanceof CanvasPattern;function color(value){return isPatternOrGradient(value)?value:index_esm(value)}function getHoverColor(value){return isPatternOrGradient(value)?value:index_esm(value).saturate(.5).darken(.1).hexString()}function noop(){}const uid=function(){let id=0;return function(){return id++}}();function isNullOrUndef(value){return null==value}function isArray(value){if(Array.isArray&&Array.isArray(value))return!0;const type=Object.prototype.toString.call(value);return"[object"===type.substr(0,7)&&"Array]"===type.substr(-6)}function isObject(value){return null!==value&&"[object Object]"===Object.prototype.toString.call(value)}const isNumberFinite=value=>("number"==typeof value||value instanceof Number)&&isFinite(+value);function finiteOrDefault(value,defaultValue){return isNumberFinite(value)?value:defaultValue}function valueOrDefault(value,defaultValue){return void 0===value?defaultValue:value}const toPercentage=(value,dimension)=>"string"==typeof value&&value.endsWith("%")?parseFloat(value)/100:value/dimension,toDimension=(value,dimension)=>"string"==typeof value&&value.endsWith("%")?parseFloat(value)/100*dimension:+value;function callback(fn,args,thisArg){if(fn&&"function"==typeof fn.call)return fn.apply(thisArg,args)}function each(loopable,fn,thisArg,reverse){let i,len,keys;if(isArray(loopable))if(len=loopable.length,reverse)for(i=len-1;i>=0;i--)fn.call(thisArg,loopable[i],i);else for(i=0;ipos;)obj=obj[key.substr(pos,idx-pos)],pos=idx+1,idx=indexOfDotOrLength(key,pos);return obj}function _capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}const defined=value=>void 0!==value,isFunction=value=>"function"==typeof value,setsEqual=(a,b)=>{if(a.size!==b.size)return!1;for(const item of a)if(!b.has(item))return!1;return!0},overrides=Object.create(null),descriptors=Object.create(null);function getScope$1(node,key){if(!key)return node;const keys=key.split(".");for(let i=0,n=keys.length;icontext.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(ctx,options)=>getHoverColor(options.backgroundColor),this.hoverBorderColor=(ctx,options)=>getHoverColor(options.borderColor),this.hoverColor=(ctx,options)=>getHoverColor(options.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(_descriptors)}set(scope,values){return set(this,scope,values)}get(scope){return getScope$1(this,scope)}describe(scope,values){return set(descriptors,scope,values)}override(scope,values){return set(overrides,scope,values)}route(scope,name,targetScope,targetName){const scopeObject=getScope$1(this,scope),targetScopeObject=getScope$1(this,targetScope),privateName="_"+name;Object.defineProperties(scopeObject,{[privateName]:{value:scopeObject[name],writable:!0},[name]:{enumerable:!0,get(){const local=this[privateName],target=targetScopeObject[targetName];return isObject(local)?Object.assign({},target,local):valueOrDefault(local,target)},set(value){this[privateName]=value}}})}}({_scriptable:name=>!name.startsWith("on"),_indexable:name=>"events"!==name,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});const PI=Math.PI,TAU=2*PI,PITAU=TAU+PI,INFINITY=Number.POSITIVE_INFINITY,RAD_PER_DEG=PI/180,HALF_PI=PI/2,QUARTER_PI=PI/4,TWO_THIRDS_PI=2*PI/3,log10=Math.log10,sign=Math.sign;function niceNum(range){const roundedRange=Math.round(range);range=almostEquals(range,roundedRange,range/1e3)?roundedRange:range;const niceRange=Math.pow(10,Math.floor(log10(range))),fraction=range/niceRange;return(fraction<=1?1:fraction<=2?2:fraction<=5?5:10)*niceRange}function _factorize(value){const result=[],sqrt=Math.sqrt(value);let i;for(i=1;ia-b)).pop(),result}function isNumber(n){return!isNaN(parseFloat(n))&&isFinite(n)}function almostEquals(x,y,epsilon){return Math.abs(x-y)=x}function _setMinAndMaxByKey(array,target,property){let i,ilen,value;for(i=0,ilen=array.length;iangleToEnd&&startToAnglelongest&&(longest=textWidth),longest}function _longestText(ctx,font,arrayOfThings,cache){let data=(cache=cache||{}).data=cache.data||{},gc=cache.garbageCollect=cache.garbageCollect||[];cache.font!==font&&(data=cache.data={},gc=cache.garbageCollect=[],cache.font=font),ctx.save(),ctx.font=font;let longest=0;const ilen=arrayOfThings.length;let i,j,jlen,thing,nestedThing;for(i=0;iarrayOfThings.length){for(i=0;i0&&ctx.stroke()}}function _isPointInArea(point,area,margin){return margin=margin||.5,point&&point.x>area.left-margin&&point.xarea.top-margin&&point.y0&&""!==opts.strokeColor;let i,line;for(ctx.save(),ctx.font=font.string,function setRenderOpts(ctx,opts){opts.translation&&ctx.translate(opts.translation[0],opts.translation[1]);isNullOrUndef(opts.rotation)||ctx.rotate(opts.rotation);opts.color&&(ctx.fillStyle=opts.color);opts.textAlign&&(ctx.textAlign=opts.textAlign);opts.textBaseline&&(ctx.textBaseline=opts.textBaseline)}(ctx,opts),i=0;itable[index]1;)mid=lo+hi>>1,cmp(mid)?lo=mid:hi=mid;return{lo:lo,hi:hi}}const _lookupByKey=(table,key,value)=>_lookup(table,value,(index=>table[index][key]_lookup(table,value,(index=>table[index][key]>=value));function _filterBetween(values,min,max){let start=0,end=values.length;for(;startstart&&values[end-1]>max;)end--;return start>0||end{const method="_onData"+_capitalize(key),base=array[key];Object.defineProperty(array,key,{configurable:!0,enumerable:!1,value(...args){const res=base.apply(this,args);return array._chartjs.listeners.forEach((object=>{"function"==typeof object[method]&&object[method](...args)})),res}})})))}function unlistenArrayEvents(array,listener){const stub=array._chartjs;if(!stub)return;const listeners=stub.listeners,index=listeners.indexOf(listener);-1!==index&&listeners.splice(index,1),listeners.length>0||(arrayEvents.forEach((key=>{delete array[key]})),delete array._chartjs)}function _arrayUnique(items){const set=new Set;let i,ilen;for(i=0,ilen=items.length;iwindow.getComputedStyle(element,null);function getStyle(el,property){return getComputedStyle(el).getPropertyValue(property)}const positions=["top","right","bottom","left"];function getPositionedStyle(styles,style,suffix){const result={};suffix=suffix?"-"+suffix:"";for(let i=0;i<4;i++){const pos=positions[i];result[pos]=parseFloat(styles[style+"-"+pos+suffix])||0}return result.width=result.left+result.right,result.height=result.top+result.bottom,result}function getRelativePosition$1(evt,chart){const{canvas:canvas,currentDevicePixelRatio:currentDevicePixelRatio}=chart,style=getComputedStyle(canvas),borderBox="border-box"===style.boxSizing,paddings=getPositionedStyle(style,"padding"),borders=getPositionedStyle(style,"border","width"),{x:x,y:y,box:box}=function getCanvasPosition(evt,canvas){const e=evt.native||evt,touches=e.touches,source=touches&&touches.length?touches[0]:e,{offsetX:offsetX,offsetY:offsetY}=source;let x,y,box=!1;if(((x,y,target)=>(x>0||y>0)&&(!target||!target.shadowRoot))(offsetX,offsetY,e.target))x=offsetX,y=offsetY;else{const rect=canvas.getBoundingClientRect();x=source.clientX-rect.left,y=source.clientY-rect.top,box=!0}return{x:x,y:y,box:box}}(evt,canvas),xOffset=paddings.left+(box&&borders.left),yOffset=paddings.top+(box&&borders.top);let{width:width,height:height}=chart;return borderBox&&(width-=paddings.width+borders.width,height-=paddings.height+borders.height),{x:Math.round((x-xOffset)/width*canvas.width/currentDevicePixelRatio),y:Math.round((y-yOffset)/height*canvas.height/currentDevicePixelRatio)}}const round1=v=>Math.round(10*v)/10;function getMaximumSize(canvas,bbWidth,bbHeight,aspectRatio){const style=getComputedStyle(canvas),margins=getPositionedStyle(style,"margin"),maxWidth=parseMaxStyle(style.maxWidth,canvas,"clientWidth")||INFINITY,maxHeight=parseMaxStyle(style.maxHeight,canvas,"clientHeight")||INFINITY,containerSize=function getContainerSize(canvas,width,height){let maxWidth,maxHeight;if(void 0===width||void 0===height){const container=_getParentNode(canvas);if(container){const rect=container.getBoundingClientRect(),containerStyle=getComputedStyle(container),containerBorder=getPositionedStyle(containerStyle,"border","width"),containerPadding=getPositionedStyle(containerStyle,"padding");width=rect.width-containerPadding.width-containerBorder.width,height=rect.height-containerPadding.height-containerBorder.height,maxWidth=parseMaxStyle(containerStyle.maxWidth,container,"clientWidth"),maxHeight=parseMaxStyle(containerStyle.maxHeight,container,"clientHeight")}else width=canvas.clientWidth,height=canvas.clientHeight}return{width:width,height:height,maxWidth:maxWidth||INFINITY,maxHeight:maxHeight||INFINITY}}(canvas,bbWidth,bbHeight);let{width:width,height:height}=containerSize;if("content-box"===style.boxSizing){const borders=getPositionedStyle(style,"border","width"),paddings=getPositionedStyle(style,"padding");width-=paddings.width+borders.width,height-=paddings.height+borders.height}return width=Math.max(0,width-margins.width),height=Math.max(0,aspectRatio?Math.floor(width/aspectRatio):height-margins.height),width=round1(Math.min(width,maxWidth,containerSize.maxWidth)),height=round1(Math.min(height,maxHeight,containerSize.maxHeight)),width&&!height&&(height=round1(width/2)),{width:width,height:height}}function retinaScale(chart,forceRatio,forceStyle){const pixelRatio=forceRatio||1,deviceHeight=Math.floor(chart.height*pixelRatio),deviceWidth=Math.floor(chart.width*pixelRatio);chart.height=deviceHeight/pixelRatio,chart.width=deviceWidth/pixelRatio;const canvas=chart.canvas;return canvas.style&&(forceStyle||!canvas.style.height&&!canvas.style.width)&&(canvas.style.height=`${chart.height}px`,canvas.style.width=`${chart.width}px`),(chart.currentDevicePixelRatio!==pixelRatio||canvas.height!==deviceHeight||canvas.width!==deviceWidth)&&(chart.currentDevicePixelRatio=pixelRatio,canvas.height=deviceHeight,canvas.width=deviceWidth,chart.ctx.setTransform(pixelRatio,0,0,pixelRatio,0,0),!0)}const supportsEventListenerOptions=function(){let passiveSupported=!1;try{const options={get passive(){return passiveSupported=!0,!1}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(e){}return passiveSupported}();function readUsedSize(element,property){const value=getStyle(element,property),matches=value&&value.match(/^(\d+)(\.\d+)?px$/);return matches?+matches[1]:void 0}function getRelativePosition(e,chart){return"native"in e?{x:e.x,y:e.y}:getRelativePosition$1(e,chart)}function binarySearch(metaset,axis,value,intersect){const{controller:controller,data:data,_sorted:_sorted}=metaset,iScale=controller._cachedMeta.iScale;if(iScale&&axis===iScale.axis&&_sorted&&data.length){const lookupMethod=iScale._reversePixels?_rlookupByKey:_lookupByKey;if(!intersect)return lookupMethod(data,axis,value);if(controller._sharedOptions){const el=data[0],range="function"==typeof el.getRange&&el.getRange(axis);if(range){const start=lookupMethod(data,axis,value-range),end=lookupMethod(data,axis,value+range);return{lo:start.lo,hi:end.hi}}}}return{lo:0,hi:data.length-1}}function optimizedEvaluateItems(chart,axis,position,handler,intersect){const metasets=chart.getSortedVisibleDatasetMetas(),value=position[axis];for(let i=0,ilen=metasets.length;i{element[rangeMethod](position[axis],useFinalPosition)&&items.push({element:element,datasetIndex:datasetIndex,index:index}),element.inRange(position.x,position.y,useFinalPosition)&&(intersectsItem=!0)})),options.intersect&&!intersectsItem?[]:items}var Interaction={modes:{index(chart,e,options,useFinalPosition){const position=getRelativePosition(e,chart),axis=options.axis||"x",items=options.intersect?getIntersectItems(chart,position,axis,useFinalPosition):getNearestItems(chart,position,axis,!1,useFinalPosition),elements=[];return items.length?(chart.getSortedVisibleDatasetMetas().forEach((meta=>{const index=items[0].index,element=meta.data[index];element&&!element.skip&&elements.push({element:element,datasetIndex:meta.index,index:index})})),elements):[]},dataset(chart,e,options,useFinalPosition){const position=getRelativePosition(e,chart),axis=options.axis||"xy";let items=options.intersect?getIntersectItems(chart,position,axis,useFinalPosition):getNearestItems(chart,position,axis,!1,useFinalPosition);if(items.length>0){const datasetIndex=items[0].datasetIndex,data=chart.getDatasetMeta(datasetIndex).data;items=[];for(let i=0;igetIntersectItems(chart,getRelativePosition(e,chart),options.axis||"xy",useFinalPosition),nearest:(chart,e,options,useFinalPosition)=>getNearestItems(chart,getRelativePosition(e,chart),options.axis||"xy",options.intersect,useFinalPosition),x:(chart,e,options,useFinalPosition)=>(options.axis="x",getAxisItems(chart,e,options,useFinalPosition)),y:(chart,e,options,useFinalPosition)=>(options.axis="y",getAxisItems(chart,e,options,useFinalPosition))}};const LINE_HEIGHT=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),FONT_STYLE=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function toLineHeight(value,size){const matches=(""+value).match(LINE_HEIGHT);if(!matches||"normal"===matches[1])return 1.2*size;switch(value=+matches[2],matches[3]){case"px":return value;case"%":value/=100}return size*value}function _readValueToProps(value,props){const ret={},objProps=isObject(props),keys=objProps?Object.keys(props):props,read=isObject(value)?objProps?prop=>valueOrDefault(value[prop],value[props[prop]]):prop=>value[prop]:()=>value;for(const prop of keys)ret[prop]=+read(prop)||0;return ret}function toTRBL(value){return _readValueToProps(value,{top:"y",right:"x",bottom:"y",left:"x"})}function toTRBLCorners(value){return _readValueToProps(value,["topLeft","topRight","bottomLeft","bottomRight"])}function toPadding(value){const obj=toTRBL(value);return obj.width=obj.left+obj.right,obj.height=obj.top+obj.bottom,obj}function toFont(options,fallback){options=options||{},fallback=fallback||defaults.font;let size=valueOrDefault(options.size,fallback.size);"string"==typeof size&&(size=parseInt(size,10));let style=valueOrDefault(options.style,fallback.style);style&&!(""+style).match(FONT_STYLE)&&(console.warn('Invalid font style specified: "'+style+'"'),style="");const font={family:valueOrDefault(options.family,fallback.family),lineHeight:toLineHeight(valueOrDefault(options.lineHeight,fallback.lineHeight),size),size:size,style:style,weight:valueOrDefault(options.weight,fallback.weight),string:""};return font.string=toFontString(font),font}function resolve(inputs,context,index,info){let i,ilen,value,cacheable=!0;for(i=0,ilen=inputs.length;iv.pos===position))}function filterDynamicPositionByAxis(array,axis){return array.filter((v=>-1===STATIC_POSITIONS.indexOf(v.pos)&&v.box.axis===axis))}function sortByWeight(array,reverse){return array.sort(((a,b)=>{const v0=reverse?b:a,v1=reverse?a:b;return v0.weight===v1.weight?v0.index-v1.index:v0.weight-v1.weight}))}function getCombinedMax(maxPadding,chartArea,a,b){return Math.max(maxPadding[a],chartArea[a])+Math.max(maxPadding[b],chartArea[b])}function updateMaxPadding(maxPadding,boxPadding){maxPadding.top=Math.max(maxPadding.top,boxPadding.top),maxPadding.left=Math.max(maxPadding.left,boxPadding.left),maxPadding.bottom=Math.max(maxPadding.bottom,boxPadding.bottom),maxPadding.right=Math.max(maxPadding.right,boxPadding.right)}function updateDims(chartArea,params,layout){const box=layout.box,maxPadding=chartArea.maxPadding;isObject(layout.pos)||(layout.size&&(chartArea[layout.pos]-=layout.size),layout.size=layout.horizontal?box.height:box.width,chartArea[layout.pos]+=layout.size),box.getPadding&&updateMaxPadding(maxPadding,box.getPadding());const newWidth=Math.max(0,params.outerWidth-getCombinedMax(maxPadding,chartArea,"left","right")),newHeight=Math.max(0,params.outerHeight-getCombinedMax(maxPadding,chartArea,"top","bottom")),widthChanged=newWidth!==chartArea.w,heightChanged=newHeight!==chartArea.h;return chartArea.w=newWidth,chartArea.h=newHeight,layout.horizontal?{same:widthChanged,other:heightChanged}:{same:heightChanged,other:widthChanged}}function getMargins(horizontal,chartArea){const maxPadding=chartArea.maxPadding;function marginForPositions(positions){const margin={left:0,top:0,right:0,bottom:0};return positions.forEach((pos=>{margin[pos]=Math.max(chartArea[pos],maxPadding[pos])})),margin}return marginForPositions(horizontal?["left","right"]:["top","bottom"])}function fitBoxes(boxes,chartArea,params){const refitBoxes=[];let i,ilen,layout,box,refit,changed;for(i=0,ilen=boxes.length,refit=0;iwrap.box.fullSize)),!0),left=sortByWeight(filterByPosition(layoutBoxes,"left"),!0),right=sortByWeight(filterByPosition(layoutBoxes,"right")),top=sortByWeight(filterByPosition(layoutBoxes,"top"),!0),bottom=sortByWeight(filterByPosition(layoutBoxes,"bottom")),centerHorizontal=filterDynamicPositionByAxis(layoutBoxes,"x"),centerVertical=filterDynamicPositionByAxis(layoutBoxes,"y");return{fullSize:fullSize,leftAndTop:left.concat(top),rightAndBottom:right.concat(centerVertical).concat(bottom).concat(centerHorizontal),chartArea:filterByPosition(layoutBoxes,"chartArea"),vertical:left.concat(right).concat(centerVertical),horizontal:top.concat(bottom).concat(centerHorizontal)}}(chart.boxes),verticalBoxes=boxes.vertical,horizontalBoxes=boxes.horizontal;each(chart.boxes,(box=>{"function"==typeof box.beforeLayout&&box.beforeLayout()}));const visibleVerticalBoxCount=verticalBoxes.reduce(((total,wrap)=>wrap.box.options&&!1===wrap.box.options.display?total:total+1),0)||1,params=Object.freeze({outerWidth:width,outerHeight:height,padding:padding,availableWidth:availableWidth,availableHeight:availableHeight,vBoxMaxWidth:availableWidth/2/visibleVerticalBoxCount,hBoxMaxHeight:availableHeight/2}),maxPadding=Object.assign({},padding);updateMaxPadding(maxPadding,toPadding(minPadding));const chartArea=Object.assign({maxPadding:maxPadding,w:availableWidth,h:availableHeight,x:padding.left,y:padding.top},padding);!function setLayoutDims(layouts,params){let i,ilen,layout;for(i=0,ilen=layouts.length;i{const box=layout.box;Object.assign(box,chart.chartArea),box.update(chartArea.w,chartArea.h)}))}};class BasePlatform{acquireContext(canvas,aspectRatio){}releaseContext(context){return!1}addEventListener(chart,type,listener){}removeEventListener(chart,type,listener){}getDevicePixelRatio(){return 1}getMaximumSize(element,width,height,aspectRatio){return width=Math.max(0,width||element.width),height=height||element.height,{width:width,height:Math.max(0,aspectRatio?Math.floor(width/aspectRatio):height)}}isAttached(canvas){return!0}}class BasicPlatform extends BasePlatform{acquireContext(item){return item&&item.getContext&&item.getContext("2d")||null}}const EVENT_TYPES={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},isNullOrEmpty=value=>null===value||""===value;const eventListenerOptions=!!supportsEventListenerOptions&&{passive:!0};function removeListener(chart,type,listener){chart.canvas.removeEventListener(type,listener,eventListenerOptions)}function createAttachObserver(chart,type,listener){const canvas=chart.canvas,element=canvas&&_getParentNode(canvas)||canvas,observer=new MutationObserver((entries=>{const parent=_getParentNode(element);entries.forEach((entry=>{for(let i=0;i{entries.forEach((entry=>{for(let i=0;i{chart.currentDevicePixelRatio!==dpr&&resize()})))}function createResizeObserver(chart,type,listener){const canvas=chart.canvas,container=canvas&&_getParentNode(canvas);if(!container)return;const resize=throttled(((width,height)=>{const w=container.clientWidth;listener(width,height),w{const entry=entries[0],width=entry.contentRect.width,height=entry.contentRect.height;0===width&&0===height||resize(width,height)}));return observer.observe(container),function listenDevicePixelRatioChanges(chart,resize){drpListeningCharts.size||window.addEventListener("resize",onWindowResize),drpListeningCharts.set(chart,resize)}(chart,resize),observer}function releaseObserver(chart,type,observer){observer&&observer.disconnect(),"resize"===type&&function unlistenDevicePixelRatioChanges(chart){drpListeningCharts.delete(chart),drpListeningCharts.size||window.removeEventListener("resize",onWindowResize)}(chart)}function createProxyAndListen(chart,type,listener){const canvas=chart.canvas,proxy=throttled((event=>{null!==chart.ctx&&listener(function fromNativeEvent(event,chart){const type=EVENT_TYPES[event.type]||event.type,{x:x,y:y}=getRelativePosition$1(event,chart);return{type:type,chart:chart,native:event,x:void 0!==x?x:null,y:void 0!==y?y:null}}(event,chart))}),chart,(args=>{const event=args[0];return[event,event.offsetX,event.offsetY]}));return function addListener(node,type,listener){node.addEventListener(type,listener,eventListenerOptions)}(canvas,type,proxy),proxy}class DomPlatform extends BasePlatform{acquireContext(canvas,aspectRatio){const context=canvas&&canvas.getContext&&canvas.getContext("2d");return context&&context.canvas===canvas?(function initCanvas(canvas,aspectRatio){const style=canvas.style,renderHeight=canvas.getAttribute("height"),renderWidth=canvas.getAttribute("width");if(canvas.$chartjs={initial:{height:renderHeight,width:renderWidth,style:{display:style.display,height:style.height,width:style.width}}},style.display=style.display||"block",style.boxSizing=style.boxSizing||"border-box",isNullOrEmpty(renderWidth)){const displayWidth=readUsedSize(canvas,"width");void 0!==displayWidth&&(canvas.width=displayWidth)}if(isNullOrEmpty(renderHeight))if(""===canvas.style.height)canvas.height=canvas.width/(aspectRatio||2);else{const displayHeight=readUsedSize(canvas,"height");void 0!==displayHeight&&(canvas.height=displayHeight)}return canvas}(canvas,aspectRatio),context):null}releaseContext(context){const canvas=context.canvas;if(!canvas.$chartjs)return!1;const initial=canvas.$chartjs.initial;["height","width"].forEach((prop=>{const value=initial[prop];isNullOrUndef(value)?canvas.removeAttribute(prop):canvas.setAttribute(prop,value)}));const style=initial.style||{};return Object.keys(style).forEach((key=>{canvas.style[key]=style[key]})),canvas.width=canvas.width,delete canvas.$chartjs,!0}addEventListener(chart,type,listener){this.removeEventListener(chart,type);const proxies=chart.$proxies||(chart.$proxies={}),handler={attach:createAttachObserver,detach:createDetachObserver,resize:createResizeObserver}[type]||createProxyAndListen;proxies[type]=handler(chart,type,listener)}removeEventListener(chart,type){const proxies=chart.$proxies||(chart.$proxies={}),proxy=proxies[type];if(!proxy)return;({attach:releaseObserver,detach:releaseObserver,resize:releaseObserver}[type]||removeListener)(chart,type,proxy),proxies[type]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(canvas,width,height,aspectRatio){return getMaximumSize(canvas,width,height,aspectRatio)}isAttached(canvas){const container=_getParentNode(canvas);return!(!container||!_getParentNode(container))}}var platforms=Object.freeze({__proto__:null,BasePlatform:BasePlatform,BasicPlatform:BasicPlatform,DomPlatform:DomPlatform});const atEdge=t=>0===t||1===t,elasticIn=(t,s,p)=>-Math.pow(2,10*(t-=1))*Math.sin((t-s)*TAU/p),elasticOut=(t,s,p)=>Math.pow(2,-10*t)*Math.sin((t-s)*TAU/p)+1,effects={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*HALF_PI),easeOutSine:t=>Math.sin(t*HALF_PI),easeInOutSine:t=>-.5*(Math.cos(PI*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>atEdge(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>atEdge(t)?t:elasticIn(t,.075,.3),easeOutElastic:t=>atEdge(t)?t:elasticOut(t,.075,.3),easeInOutElastic(t){const s=.1125;return atEdge(t)?t:t<.5?.5*elasticIn(2*t,s,.45):.5+.5*elasticOut(2*t-1,s,.45)},easeInBack(t){const s=1.70158;return t*t*((s+1)*t-s)},easeOutBack(t){const s=1.70158;return(t-=1)*t*((s+1)*t+s)+1},easeInOutBack(t){let s=1.70158;return(t/=.5)<1?t*t*((1+(s*=1.525))*t-s)*.5:.5*((t-=2)*t*((1+(s*=1.525))*t+s)+2)},easeInBounce:t=>1-effects.easeOutBounce(1-t),easeOutBounce(t){const m=7.5625,d=2.75;return t<1/d?m*t*t:t<2/d?m*(t-=1.5/d)*t+.75:t<2.5/d?m*(t-=2.25/d)*t+.9375:m*(t-=2.625/d)*t+.984375},easeInOutBounce:t=>t<.5?.5*effects.easeInBounce(2*t):.5*effects.easeOutBounce(2*t-1)+.5},interpolators={boolean:(from,to,factor)=>factor>.5?to:from,color(from,to,factor){const c0=color(from||"transparent"),c1=c0.valid&&color(to||"transparent");return c1&&c1.valid?c1.mix(c0,factor).hexString():to},number:(from,to,factor)=>from+(to-from)*factor};class Animation{constructor(cfg,target,prop,to){const currentValue=target[prop];to=resolve([cfg.to,to,currentValue,cfg.from]);const from=resolve([cfg.from,currentValue,to]);this._active=!0,this._fn=cfg.fn||interpolators[cfg.type||typeof from],this._easing=effects[cfg.easing]||effects.linear,this._start=Math.floor(Date.now()+(cfg.delay||0)),this._duration=this._total=Math.floor(cfg.duration),this._loop=!!cfg.loop,this._target=target,this._prop=prop,this._from=from,this._to=to,this._promises=void 0}active(){return this._active}update(cfg,to,date){const me=this;if(me._active){me._notify(!1);const currentValue=me._target[me._prop],elapsed=date-me._start,remain=me._duration-elapsed;me._start=date,me._duration=Math.floor(Math.max(remain,cfg.duration)),me._total+=elapsed,me._loop=!!cfg.loop,me._to=resolve([cfg.to,to,currentValue,cfg.from]),me._from=resolve([cfg.from,currentValue,to])}}cancel(){const me=this;me._active&&(me.tick(Date.now()),me._active=!1,me._notify(!1))}tick(date){const me=this,elapsed=date-me._start,duration=me._duration,prop=me._prop,from=me._from,loop=me._loop,to=me._to;let factor;if(me._active=from!==to&&(loop||elapsed1?2-factor:factor,factor=me._easing(Math.min(1,Math.max(0,factor))),me._target[prop]=me._fn(from,to,factor))}wait(){const promises=this._promises||(this._promises=[]);return new Promise(((res,rej)=>{promises.push({res:res,rej:rej})}))}_notify(resolved){const method=resolved?"res":"rej",promises=this._promises||[];for(let i=0;i"onProgress"!==name&&"onComplete"!==name&&"fn"!==name}),defaults.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),defaults.describe("animations",{_fallback:"animation"}),defaults.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:v=>0|v}}}});class Animations{constructor(chart,config){this._chart=chart,this._properties=new Map,this.configure(config)}configure(config){if(!isObject(config))return;const animatedProps=this._properties;Object.getOwnPropertyNames(config).forEach((key=>{const cfg=config[key];if(!isObject(cfg))return;const resolved={};for(const option of animationOptions)resolved[option]=cfg[option];(isArray(cfg.properties)&&cfg.properties||[key]).forEach((prop=>{prop!==key&&animatedProps.has(prop)||animatedProps.set(prop,resolved)}))}))}_animateOptions(target,values){const newOptions=values.options,options=function resolveTargetOptions(target,newOptions){if(!newOptions)return;let options=target.options;if(!options)return void(target.options=newOptions);options.$shared&&(target.options=options=Object.assign({},options,{$shared:!1,$animations:{}}));return options}(target,newOptions);if(!options)return[];const animations=this._createAnimations(options,newOptions);return newOptions.$shared&&function awaitAll(animations,properties){const running=[],keys=Object.keys(properties);for(let i=0;i{target.options=newOptions}),(()=>{})),animations}_createAnimations(target,values){const animatedProps=this._properties,animations=[],running=target.$animations||(target.$animations={}),props=Object.keys(values),date=Date.now();let i;for(i=props.length-1;i>=0;--i){const prop=props[i];if("$"===prop.charAt(0))continue;if("options"===prop){animations.push(...this._animateOptions(target,values));continue}const value=values[prop];let animation=running[prop];const cfg=animatedProps.get(prop);if(animation){if(cfg&&animation.active()){animation.update(cfg,value,date);continue}animation.cancel()}cfg&&cfg.duration?(running[prop]=animation=new Animation(cfg,target,prop,value),animations.push(animation)):target[prop]=value}return animations}update(target,values){if(0===this._properties.size)return void Object.assign(target,values);const animations=this._createAnimations(target,values);return animations.length?(animator.add(this._chart,animations),!0):void 0}}function scaleClip(scale,allowedOverflow){const opts=scale&&scale.options||{},reverse=opts.reverse,min=void 0===opts.min?allowedOverflow:0,max=void 0===opts.max?allowedOverflow:0;return{start:reverse?max:min,end:reverse?min:max}}function getSortedDatasetIndices(chart,filterVisible){const keys=[],metasets=chart._getSortedDatasetMetas(filterVisible);let i,ilen;for(i=0,ilen=metasets.length;i0||!positive&&value<0)return meta.index}return null}function updateStacks(controller,parsed){const{chart:chart,_cachedMeta:meta}=controller,stacks=chart._stacks||(chart._stacks={}),{iScale:iScale,vScale:vScale,index:datasetIndex}=meta,iAxis=iScale.axis,vAxis=vScale.axis,key=function getStackKey(indexScale,valueScale,meta){return`${indexScale.id}.${valueScale.id}.${meta.stack||meta.type}`}(iScale,vScale,meta),ilen=parsed.length;let stack;for(let i=0;iscales[key].axis===axis)).shift()}function clearStacks(meta,items){const axis=meta.vScale&&meta.vScale.axis;if(axis){items=items||meta._parsed;for(const parsed of items){const stacks=parsed._stacks;if(!stacks||void 0===stacks[axis]||void 0===stacks[axis][meta.index])return;delete stacks[axis][meta.index]}}}const isDirectUpdateMode=mode=>"reset"===mode||"none"===mode,cloneIfNotShared=(cached,shared)=>shared?cached:Object.assign({},cached);class DatasetController{constructor(chart,datasetIndex){this.chart=chart,this._ctx=chart.ctx,this.index=datasetIndex,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const meta=this._cachedMeta;this.configure(),this.linkScales(),meta._stacked=isStacked(meta.vScale,meta),this.addElements()}updateIndex(datasetIndex){this.index!==datasetIndex&&clearStacks(this._cachedMeta),this.index=datasetIndex}linkScales(){const me=this,chart=me.chart,meta=me._cachedMeta,dataset=me.getDataset(),chooseId=(axis,x,y,r)=>"x"===axis?x:"r"===axis?r:y,xid=meta.xAxisID=valueOrDefault(dataset.xAxisID,getFirstScaleId(chart,"x")),yid=meta.yAxisID=valueOrDefault(dataset.yAxisID,getFirstScaleId(chart,"y")),rid=meta.rAxisID=valueOrDefault(dataset.rAxisID,getFirstScaleId(chart,"r")),indexAxis=meta.indexAxis,iid=meta.iAxisID=chooseId(indexAxis,xid,yid,rid),vid=meta.vAxisID=chooseId(indexAxis,yid,xid,rid);meta.xScale=me.getScaleForId(xid),meta.yScale=me.getScaleForId(yid),meta.rScale=me.getScaleForId(rid),meta.iScale=me.getScaleForId(iid),meta.vScale=me.getScaleForId(vid)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(scaleID){return this.chart.scales[scaleID]}_getOtherScale(scale){const meta=this._cachedMeta;return scale===meta.iScale?meta.vScale:meta.iScale}reset(){this._update("reset")}_destroy(){const meta=this._cachedMeta;this._data&&unlistenArrayEvents(this._data,this),meta._stacked&&clearStacks(meta)}_dataCheck(){const me=this,dataset=me.getDataset(),data=dataset.data||(dataset.data=[]),_data=me._data;if(isObject(data))me._data=function convertObjectDataToArray(data){const keys=Object.keys(data),adata=new Array(keys.length);let i,ilen,key;for(i=0,ilen=keys.length;i0&&meta._parsed[start-1];if(!1===me._parsing)meta._parsed=data,meta._sorted=!0,parsed=data;else{parsed=isArray(data[start])?me.parseArrayData(meta,data,start,count):isObject(data[start])?me.parseObjectData(meta,data,start,count):me.parsePrimitiveData(meta,data,start,count);const isNotInOrderComparedToPrev=()=>null===cur[iAxis]||prev&&cur[iAxis]otherValue||otherMax=0;--i)if(!_skip()){me.updateRangeFromParsed(range,scale,parsed,stack);break}return range}getAllParsedValues(scale){const parsed=this._cachedMeta._parsed,values=[];let i,ilen,value;for(i=0,ilen=parsed.length;i=0&&indexme.getContext(index,active)),prefixes);return values.$shared&&(values.$shared=sharing,cache[cacheKey]=Object.freeze(cloneIfNotShared(values,sharing))),values}_resolveAnimations(index,transition,active){const me=this,chart=me.chart,cache=me._cachedDataOpts,cacheKey=`animation-${transition}`,cached=cache[cacheKey];if(cached)return cached;let options;if(!1!==chart.options.animation){const config=me.chart.config,scopeKeys=config.datasetAnimationScopeKeys(me._type,transition),scopes=config.getOptionScopes(me.getDataset(),scopeKeys);options=config.createResolver(scopes,me.getContext(index,active,transition))}const animations=new Animations(chart,options&&options.animations);return options&&options._cacheable&&(cache[cacheKey]=Object.freeze(animations)),animations}getSharedOptions(options){if(options.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},options))}includeOptions(mode,sharedOptions){return!sharedOptions||isDirectUpdateMode(mode)||this.chart._animationsDisabled}updateElement(element,index,properties,mode){isDirectUpdateMode(mode)?Object.assign(element,properties):this._resolveAnimations(index,mode).update(element,properties)}updateSharedOptions(sharedOptions,mode,newOptions){sharedOptions&&!isDirectUpdateMode(mode)&&this._resolveAnimations(void 0,mode).update(sharedOptions,newOptions)}_setStyle(element,index,mode,active){element.active=active;const options=this.getStyle(index,active);this._resolveAnimations(index,mode,active).update(element,{options:!active&&this.getSharedOptions(options)||options})}removeHoverStyle(element,datasetIndex,index){this._setStyle(element,index,"active",!1)}setHoverStyle(element,datasetIndex,index){this._setStyle(element,index,"active",!0)}_removeDatasetHoverStyle(){const element=this._cachedMeta.dataset;element&&this._setStyle(element,void 0,"active",!1)}_setDatasetHoverStyle(){const element=this._cachedMeta.dataset;element&&this._setStyle(element,void 0,"active",!0)}_resyncElements(resetNewElements){const me=this,data=me._data,elements=me._cachedMeta.data;for(const[method,arg1,arg2]of me._syncList)me[method](arg1,arg2);me._syncList=[];const numMeta=elements.length,numData=data.length,count=Math.min(numData,numMeta);count&&me.parse(0,count),numData>numMeta?me._insertElements(numMeta,numData-numMeta,resetNewElements):numData{for(arr.length+=count,i=arr.length-1;i>=end;i--)arr[i]=arr[i-count]};for(move(data),i=start;i{ret[prop]=anims[prop]&&anims[prop].active()?anims[prop]._to:me[prop]})),ret}}Element.defaults={},Element.defaultRoutes=void 0;const intlCache=new Map;function formatNumber(num,locale,options){return function getNumberFormat(locale,options){options=options||{};const cacheKey=locale+JSON.stringify(options);let formatter=intlCache.get(cacheKey);return formatter||(formatter=new Intl.NumberFormat(locale,options),intlCache.set(cacheKey,formatter)),formatter}(locale,options).format(num)}const formatters={values:value=>isArray(value)?value:""+value,numeric(tickValue,index,ticks){if(0===tickValue)return"0";const locale=this.chart.options.locale;let notation,delta=tickValue;if(ticks.length>1){const maxTick=Math.max(Math.abs(ticks[0].value),Math.abs(ticks[ticks.length-1].value));(maxTick<1e-4||maxTick>1e15)&&(notation="scientific"),delta=function calculateDelta(tickValue,ticks){let delta=ticks.length>3?ticks[2].value-ticks[1].value:ticks[1].value-ticks[0].value;Math.abs(delta)>=1&&tickValue!==Math.floor(tickValue)&&(delta=tickValue-Math.floor(tickValue));return delta}(tickValue,ticks)}const logDelta=log10(Math.abs(delta)),numDecimal=Math.max(Math.min(-1*Math.floor(logDelta),20),0),options={notation:notation,minimumFractionDigits:numDecimal,maximumFractionDigits:numDecimal};return Object.assign(options,this.options.ticks.format),formatNumber(tickValue,locale,options)},logarithmic(tickValue,index,ticks){if(0===tickValue)return"0";const remain=tickValue/Math.pow(10,Math.floor(log10(tickValue)));return 1===remain||2===remain||5===remain?formatters.numeric.call(this,tickValue,index,ticks):""}};var Ticks={formatters:formatters};function autoSkip(scale,ticks){const tickOpts=scale.options.ticks,ticksLimit=tickOpts.maxTicksLimit||function determineMaxTicks(scale){const offset=scale.options.offset,tickLength=scale._tickSize(),maxScale=scale._length/tickLength+(offset?0:1),maxChart=scale._maxLength/tickLength;return Math.floor(Math.min(maxScale,maxChart))}(scale),majorIndices=tickOpts.major.enabled?function getMajorIndices(ticks){const result=[];let i,ilen;for(i=0,ilen=ticks.length;iticksLimit)return function skipMajors(ticks,newTicks,majorIndices,spacing){let i,count=0,next=majorIndices[0];for(spacing=Math.ceil(spacing),i=0;ispacing)return factor}return Math.max(spacing,1)}(majorIndices,ticks,ticksLimit);if(numMajorIndices>0){let i,ilen;const avgMajorSpacing=numMajorIndices>1?Math.round((last-first)/(numMajorIndices-1)):null;for(skip(ticks,newTicks,spacing,isNullOrUndef(avgMajorSpacing)?0:first-avgMajorSpacing,first),i=0,ilen=numMajorIndices-1;ioptions.lineWidth,tickColor:(_ctx,options)=>options.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ticks.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),defaults.route("scale.ticks","color","","color"),defaults.route("scale.grid","color","","borderColor"),defaults.route("scale.grid","borderColor","","borderColor"),defaults.route("scale.title","color","","color"),defaults.describe("scale",{_fallback:!1,_scriptable:name=>!name.startsWith("before")&&!name.startsWith("after")&&"callback"!==name&&"parser"!==name,_indexable:name=>"borderDash"!==name&&"tickBorderDash"!==name}),defaults.describe("scales",{_fallback:"scale"}),defaults.describe("scale.ticks",{_scriptable:name=>"backdropPadding"!==name&&"callback"!==name,_indexable:name=>"backdropPadding"!==name});const offsetFromEdge=(scale,edge,offset)=>"top"===edge||"left"===edge?scale[edge]+offset:scale[edge]-offset;function sample(arr,numItems){const result=[],increment=arr.length/numItems,len=arr.length;let i=0;for(;iend+1e-6)))return lineValue}function getTickMarkLength(options){return options.drawTicks?options.tickLength:0}function getTitleHeight(options,fallback){if(!options.display)return 0;const font=toFont(options.font,fallback),padding=toPadding(options.padding);return(isArray(options.text)?options.text.length:1)*font.lineHeight+padding.height}function titleAlign(align,position,reverse){let ret=_toLeftRightCenter(align);return(reverse&&"right"!==position||!reverse&&"right"===position)&&(ret=(align=>"left"===align?"right":"right"===align?"left":align)(ret)),ret}class Scale extends Element{constructor(cfg){super(),this.id=cfg.id,this.type=cfg.type,this.options=void 0,this.ctx=cfg.ctx,this.chart=cfg.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(options){const me=this;me.options=options.setContext(me.getContext()),me.axis=options.axis,me._userMin=me.parse(options.min),me._userMax=me.parse(options.max),me._suggestedMin=me.parse(options.suggestedMin),me._suggestedMax=me.parse(options.suggestedMax)}parse(raw,index){return raw}getUserBounds(){let{_userMin:_userMin,_userMax:_userMax,_suggestedMin:_suggestedMin,_suggestedMax:_suggestedMax}=this;return _userMin=finiteOrDefault(_userMin,Number.POSITIVE_INFINITY),_userMax=finiteOrDefault(_userMax,Number.NEGATIVE_INFINITY),_suggestedMin=finiteOrDefault(_suggestedMin,Number.POSITIVE_INFINITY),_suggestedMax=finiteOrDefault(_suggestedMax,Number.NEGATIVE_INFINITY),{min:finiteOrDefault(_userMin,_suggestedMin),max:finiteOrDefault(_userMax,_suggestedMax),minDefined:isNumberFinite(_userMin),maxDefined:isNumberFinite(_userMax)}}getMinMax(canStack){const me=this;let range,{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();if(minDefined&&maxDefined)return{min:min,max:max};const metas=me.getMatchingVisibleMetas();for(let i=0,ilen=metas.length;i=maxRotation||numTicks<=1||!me.isHorizontal())return void(me.labelRotation=minRotation);const labelSizes=me._getLabelSizes(),maxLabelWidth=labelSizes.widest.width,maxLabelHeight=labelSizes.highest.height,maxWidth=_limitValue(me.chart.width-maxLabelWidth,0,me.maxWidth);tickWidth=options.offset?me.maxWidth/numTicks:maxWidth/(numTicks-1),maxLabelWidth+6>tickWidth&&(tickWidth=maxWidth/(numTicks-(options.offset?.5:1)),maxHeight=me.maxHeight-getTickMarkLength(options.grid)-tickOpts.padding-getTitleHeight(options.title,me.chart.options.font),maxLabelDiagonal=Math.sqrt(maxLabelWidth*maxLabelWidth+maxLabelHeight*maxLabelHeight),labelRotation=toDegrees(Math.min(Math.asin(Math.min((labelSizes.highest.height+6)/tickWidth,1)),Math.asin(Math.min(maxHeight/maxLabelDiagonal,1))-Math.asin(maxLabelHeight/maxLabelDiagonal))),labelRotation=Math.max(minRotation,Math.min(maxRotation,labelRotation))),me.labelRotation=labelRotation}afterCalculateLabelRotation(){callback(this.options.afterCalculateLabelRotation,[this])}beforeFit(){callback(this.options.beforeFit,[this])}fit(){const me=this,minSize={width:0,height:0},{chart:chart,options:{ticks:tickOpts,title:titleOpts,grid:gridOpts}}=me,display=me._isVisible(),isHorizontal=me.isHorizontal();if(display){const titleHeight=getTitleHeight(titleOpts,chart.options.font);if(isHorizontal?(minSize.width=me.maxWidth,minSize.height=getTickMarkLength(gridOpts)+titleHeight):(minSize.height=me.maxHeight,minSize.width=getTickMarkLength(gridOpts)+titleHeight),tickOpts.display&&me.ticks.length){const{first:first,last:last,widest:widest,highest:highest}=me._getLabelSizes(),tickPadding=2*tickOpts.padding,angleRadians=toRadians(me.labelRotation),cos=Math.cos(angleRadians),sin=Math.sin(angleRadians);if(isHorizontal){const labelHeight=tickOpts.mirror?0:sin*widest.width+cos*highest.height;minSize.height=Math.min(me.maxHeight,minSize.height+labelHeight+tickPadding)}else{const labelWidth=tickOpts.mirror?0:cos*widest.width+sin*highest.height;minSize.width=Math.min(me.maxWidth,minSize.width+labelWidth+tickPadding)}me._calculatePadding(first,last,sin,cos)}}me._handleMargins(),isHorizontal?(me.width=me._length=chart.width-me._margins.left-me._margins.right,me.height=minSize.height):(me.width=minSize.width,me.height=me._length=chart.height-me._margins.top-me._margins.bottom)}_calculatePadding(first,last,sin,cos){const me=this,{ticks:{align:align,padding:padding},position:position}=me.options,isRotated=0!==me.labelRotation,labelsBelowTicks="top"!==position&&"x"===me.axis;if(me.isHorizontal()){const offsetLeft=me.getPixelForTick(0)-me.left,offsetRight=me.right-me.getPixelForTick(me.ticks.length-1);let paddingLeft=0,paddingRight=0;isRotated?labelsBelowTicks?(paddingLeft=cos*first.width,paddingRight=sin*last.height):(paddingLeft=sin*first.height,paddingRight=cos*last.width):"start"===align?paddingRight=last.width:"end"===align?paddingLeft=first.width:(paddingLeft=first.width/2,paddingRight=last.width/2),me.paddingLeft=Math.max((paddingLeft-offsetLeft+padding)*me.width/(me.width-offsetLeft),0),me.paddingRight=Math.max((paddingRight-offsetRight+padding)*me.width/(me.width-offsetRight),0)}else{let paddingTop=last.height/2,paddingBottom=first.height/2;"start"===align?(paddingTop=0,paddingBottom=first.height):"end"===align&&(paddingTop=last.height,paddingBottom=0),me.paddingTop=paddingTop+padding,me.paddingBottom=paddingBottom+padding}}_handleMargins(){const me=this;me._margins&&(me._margins.left=Math.max(me.paddingLeft,me._margins.left),me._margins.top=Math.max(me.paddingTop,me._margins.top),me._margins.right=Math.max(me.paddingRight,me._margins.right),me._margins.bottom=Math.max(me.paddingBottom,me._margins.bottom))}afterFit(){callback(this.options.afterFit,[this])}isHorizontal(){const{axis:axis,position:position}=this.options;return"top"===position||"bottom"===position||"x"===axis}isFullSize(){return this.options.fullSize}_convertTicksToLabels(ticks){let i,ilen;for(this.beforeTickToLabelConversion(),this.generateTickLabels(ticks),i=0,ilen=ticks.length;i{const gc=cache.gc,gcLen=gc.length/2;let i;if(gcLen>length){for(i=0;i({width:widths[idx]||0,height:heights[idx]||0});return{first:valueAt(0),last:valueAt(length-1),widest:valueAt(widest),highest:valueAt(highest),widths:widths,heights:heights}}getLabelForValue(value){return value}getPixelForValue(value,index){return NaN}getValueForPixel(pixel){}getPixelForTick(index){const ticks=this.ticks;return index<0||index>ticks.length-1?null:this.getPixelForValue(ticks[index].value)}getPixelForDecimal(decimal){const me=this;me._reversePixels&&(decimal=1-decimal);const pixel=me._startPixel+decimal*me._length;return _int16Range(me._alignToPixels?_alignPixel(me.chart,pixel,0):pixel)}getDecimalForPixel(pixel){const decimal=(pixel-this._startPixel)/this._length;return this._reversePixels?1-decimal:decimal}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:min,max:max}=this;return min<0&&max<0?max:min>0&&max>0?min:0}getContext(index){const me=this,ticks=me.ticks||[];if(index>=0&&indexw*sin?w/cos:h/sin:h*sin0}_computeGridLineItems(chartArea){const me=this,axis=me.axis,chart=me.chart,options=me.options,{grid:grid,position:position}=options,offset=grid.offset,isHorizontal=me.isHorizontal(),ticksLength=me.ticks.length+(offset?1:0),tl=getTickMarkLength(grid),items=[],borderOpts=grid.setContext(me.getContext()),axisWidth=borderOpts.drawBorder?borderOpts.borderWidth:0,axisHalfWidth=axisWidth/2,alignBorderValue=function(pixel){return _alignPixel(chart,pixel,axisWidth)};let borderValue,i,lineValue,alignedLineValue,tx1,ty1,tx2,ty2,x1,y1,x2,y2;if("top"===position)borderValue=alignBorderValue(me.bottom),ty1=me.bottom-tl,ty2=borderValue-axisHalfWidth,y1=alignBorderValue(chartArea.top)+axisHalfWidth,y2=chartArea.bottom;else if("bottom"===position)borderValue=alignBorderValue(me.top),y1=chartArea.top,y2=alignBorderValue(chartArea.bottom)-axisHalfWidth,ty1=borderValue+axisHalfWidth,ty2=me.top+tl;else if("left"===position)borderValue=alignBorderValue(me.right),tx1=me.right-tl,tx2=borderValue-axisHalfWidth,x1=alignBorderValue(chartArea.left)+axisHalfWidth,x2=chartArea.right;else if("right"===position)borderValue=alignBorderValue(me.left),x1=chartArea.left,x2=alignBorderValue(chartArea.right)-axisHalfWidth,tx1=borderValue+axisHalfWidth,tx2=me.left+tl;else if("x"===axis){if("center"===position)borderValue=alignBorderValue((chartArea.top+chartArea.bottom)/2+.5);else if(isObject(position)){const positionAxisID=Object.keys(position)[0],value=position[positionAxisID];borderValue=alignBorderValue(me.chart.scales[positionAxisID].getPixelForValue(value))}y1=chartArea.top,y2=chartArea.bottom,ty1=borderValue+axisHalfWidth,ty2=ty1+tl}else if("y"===axis){if("center"===position)borderValue=alignBorderValue((chartArea.left+chartArea.right)/2);else if(isObject(position)){const positionAxisID=Object.keys(position)[0],value=position[positionAxisID];borderValue=alignBorderValue(me.chart.scales[positionAxisID].getPixelForValue(value))}tx1=borderValue-axisHalfWidth,tx2=tx1-tl,x1=chartArea.left,x2=chartArea.right}const limit=valueOrDefault(options.ticks.maxTicksLimit,ticksLength),step=Math.max(1,Math.ceil(ticksLength/limit));for(i=0;it.value===value));if(index>=0){return grid.setContext(me.getContext(index)).lineWidth}return 0}drawGrid(chartArea){const me=this,grid=me.options.grid,ctx=me.ctx,items=me._gridLineItems||(me._gridLineItems=me._computeGridLineItems(chartArea));let i,ilen;const drawLine=(p1,p2,style)=>{style.width&&style.color&&(ctx.save(),ctx.lineWidth=style.width,ctx.strokeStyle=style.color,ctx.setLineDash(style.borderDash||[]),ctx.lineDashOffset=style.borderDashOffset,ctx.beginPath(),ctx.moveTo(p1.x,p1.y),ctx.lineTo(p2.x,p2.y),ctx.stroke(),ctx.restore())};if(grid.display)for(i=0,ilen=items.length;iscopes[0])){defined(fallback)||(fallback=_resolve("_fallback",scopes));const cache={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:scopes,_rootScopes:rootScopes,_fallback:fallback,_getTarget:getTarget,override:scope=>_createResolver([scope,...scopes],prefixes,rootScopes,fallback)};return new Proxy(cache,{deleteProperty:(target,prop)=>(delete target[prop],delete target._keys,delete scopes[0][prop],!0),get:(target,prop)=>_cached(target,prop,(()=>function _resolveWithPrefixes(prop,prefixes,scopes,proxy){let value;for(const prefix of prefixes)if(value=_resolve(readKey(prefix,prop),scopes),defined(value))return needsSubResolver(prop,value)?createSubResolver(scopes,proxy,prop,value):value}(prop,prefixes,scopes,target))),getOwnPropertyDescriptor:(target,prop)=>Reflect.getOwnPropertyDescriptor(target._scopes[0],prop),getPrototypeOf:()=>Reflect.getPrototypeOf(scopes[0]),has:(target,prop)=>getKeysFromAllScopes(target).includes(prop),ownKeys:target=>getKeysFromAllScopes(target),set:(target,prop,value)=>((target._storage||(target._storage=getTarget()))[prop]=value,delete target[prop],delete target._keys,!0)})}function _attachContext(proxy,context,subProxy,descriptorDefaults){const cache={_cacheable:!1,_proxy:proxy,_context:context,_subProxy:subProxy,_stack:new Set,_descriptors:_descriptors(proxy,descriptorDefaults),setContext:ctx=>_attachContext(proxy,ctx,subProxy,descriptorDefaults),override:scope=>_attachContext(proxy.override(scope),context,subProxy,descriptorDefaults)};return new Proxy(cache,{deleteProperty:(target,prop)=>(delete target[prop],delete proxy[prop],!0),get:(target,prop,receiver)=>_cached(target,prop,(()=>function _resolveWithContext(target,prop,receiver){const{_proxy:_proxy,_context:_context,_subProxy:_subProxy,_descriptors:descriptors}=target;let value=_proxy[prop];isFunction(value)&&descriptors.isScriptable(prop)&&(value=function _resolveScriptable(prop,value,target,receiver){const{_proxy:_proxy,_context:_context,_subProxy:_subProxy,_stack:_stack}=target;if(_stack.has(prop))throw new Error("Recursion detected: "+Array.from(_stack).join("->")+"->"+prop);_stack.add(prop),value=value(_context,_subProxy||receiver),_stack.delete(prop),isObject(value)&&(value=createSubResolver(_proxy._scopes,_proxy,prop,value));return value}(prop,value,target,receiver));isArray(value)&&value.length&&(value=function _resolveArray(prop,value,target,isIndexable){const{_proxy:_proxy,_context:_context,_subProxy:_subProxy,_descriptors:descriptors}=target;if(defined(_context.index)&&isIndexable(prop))value=value[_context.index%value.length];else if(isObject(value[0])){const arr=value,scopes=_proxy._scopes.filter((s=>s!==arr));value=[];for(const item of arr){const resolver=createSubResolver(scopes,_proxy,prop,item);value.push(_attachContext(resolver,_context,_subProxy&&_subProxy[prop],descriptors))}}return value}(prop,value,target,descriptors.isIndexable));needsSubResolver(prop,value)&&(value=_attachContext(value,_context,_subProxy&&_subProxy[prop],descriptors));return value}(target,prop,receiver))),getOwnPropertyDescriptor:(target,prop)=>target._descriptors.allKeys?Reflect.has(proxy,prop)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(proxy,prop),getPrototypeOf:()=>Reflect.getPrototypeOf(proxy),has:(target,prop)=>Reflect.has(proxy,prop),ownKeys:()=>Reflect.ownKeys(proxy),set:(target,prop,value)=>(proxy[prop]=value,delete target[prop],!0)})}function _descriptors(proxy,defaults={scriptable:!0,indexable:!0}){const{_scriptable:_scriptable=defaults.scriptable,_indexable:_indexable=defaults.indexable,_allKeys:_allKeys=defaults.allKeys}=proxy;return{allKeys:_allKeys,scriptable:_scriptable,indexable:_indexable,isScriptable:isFunction(_scriptable)?_scriptable:()=>_scriptable,isIndexable:isFunction(_indexable)?_indexable:()=>_indexable}}const readKey=(prefix,name)=>prefix?prefix+_capitalize(name):name,needsSubResolver=(prop,value)=>isObject(value)&&"adapters"!==prop;function _cached(target,prop,resolve){let value=target[prop];return defined(value)||(value=resolve(),defined(value)&&(target[prop]=value)),value}function resolveFallback(fallback,prop,value){return isFunction(fallback)?fallback(prop,value):fallback}const getScope=(key,parent)=>!0===key?parent:"string"==typeof key?resolveObjectKey(parent,key):void 0;function addScopes(set,parentScopes,key,parentFallback){for(const parent of parentScopes){const scope=getScope(key,parent);if(scope){set.add(scope);const fallback=resolveFallback(scope._fallback,key,scope);if(defined(fallback)&&fallback!==key&&fallback!==parentFallback)return fallback}else if(!1===scope&&defined(parentFallback)&&key!==parentFallback)return null}return!1}function createSubResolver(parentScopes,resolver,prop,value){const rootScopes=resolver._rootScopes,fallback=resolveFallback(resolver._fallback,prop,value),allScopes=[...parentScopes,...rootScopes],set=new Set;set.add(value);let key=addScopesFromKey(set,allScopes,prop,fallback||prop);return null!==key&&((!defined(fallback)||fallback===prop||(key=addScopesFromKey(set,allScopes,fallback,key),null!==key))&&_createResolver(Array.from(set),[""],rootScopes,fallback,(()=>function subGetTarget(resolver,prop,value){const parent=resolver._getTarget();prop in parent||(parent[prop]={});const target=parent[prop];if(isArray(target)&&isObject(value))return value;return target}(resolver,prop,value))))}function addScopesFromKey(set,allScopes,key,fallback){for(;key;)key=addScopes(set,allScopes,key,fallback);return key}function _resolve(key,scopes){for(const scope of scopes){if(!scope)continue;const value=scope[key];if(defined(value))return value}}function getKeysFromAllScopes(target){let keys=target._keys;return keys||(keys=target._keys=function resolveKeysFromAllScopes(scopes){const set=new Set;for(const scope of scopes)for(const key of Object.keys(scope).filter((k=>!k.startsWith("_"))))set.add(key);return Array.from(set)}(target._scopes)),keys}const EPSILON=Number.EPSILON||1e-14,getPoint=(points,i)=>i"x"===indexAxis?"y":"x";function splineCurve(firstPoint,middlePoint,afterPoint,t){const previous=firstPoint.skip?middlePoint:firstPoint,current=middlePoint,next=afterPoint.skip?middlePoint:afterPoint,d01=distanceBetweenPoints(current,previous),d12=distanceBetweenPoints(next,current);let s01=d01/(d01+d12),s12=d12/(d01+d12);s01=isNaN(s01)?0:s01,s12=isNaN(s12)?0:s12;const fa=t*s01,fb=t*s12;return{previous:{x:current.x-fa*(next.x-previous.x),y:current.y-fa*(next.y-previous.y)},next:{x:current.x+fb*(next.x-previous.x),y:current.y+fb*(next.y-previous.y)}}}function splineCurveMonotone(points,indexAxis="x"){const valueAxis=getValueAxis(indexAxis),pointsLen=points.length,deltaK=Array(pointsLen).fill(0),mK=Array(pointsLen);let i,pointBefore,pointCurrent,pointAfter=getPoint(points,0);for(i=0;i!pt.skip))),"monotone"===options.cubicInterpolationMode)splineCurveMonotone(points,indexAxis);else{let prev=loop?points[points.length-1]:points[0];for(i=0,ilen=points.length;i0?p2.y:p1.y}}function _bezierInterpolation(p1,p2,t,mode){const cp1={x:p1.cp2x,y:p1.cp2y},cp2={x:p2.cp1x,y:p2.cp1y},a=_pointInLine(p1,cp1,t),b=_pointInLine(cp1,cp2,t),c=_pointInLine(cp2,p2,t),d=_pointInLine(a,b,t),e=_pointInLine(b,c,t);return _pointInLine(d,e,t)}function getRtlAdapter(rtl,rectX,width){return rtl?function(rectX,width){return{x:x=>rectX+rectX+width-x,setWidth(w){width=w},textAlign:align=>"center"===align?align:"right"===align?"left":"right",xPlus:(x,value)=>x-value,leftForLtr:(x,itemWidth)=>x-itemWidth}}(rectX,width):{x:x=>x,setWidth(w){},textAlign:align=>align,xPlus:(x,value)=>x+value,leftForLtr:(x,_itemWidth)=>x}}function overrideTextDirection(ctx,direction){let style,original;"ltr"!==direction&&"rtl"!==direction||(style=ctx.canvas.style,original=[style.getPropertyValue("direction"),style.getPropertyPriority("direction")],style.setProperty("direction",direction,"important"),ctx.prevTextDirection=original)}function restoreTextDirection(ctx,original){void 0!==original&&(delete ctx.prevTextDirection,ctx.canvas.style.setProperty("direction",original[0],original[1]))}function propertyFn(property){return"angle"===property?{between:_angleBetween,compare:_angleDiff,normalize:_normalizeAngle}:{between:(n,s,e)=>n>=Math.min(s,e)&&n<=Math.max(e,s),compare:(a,b)=>a-b,normalize:x=>x}}function normalizeSegment({start:start,end:end,count:count,loop:loop,style:style}){return{start:start%count,end:end%count,loop:loop&&(end-start+1)%count==0,style:style}}function _boundSegment(segment,points,bounds){if(!bounds)return[segment];const{property:property,start:startBound,end:endBound}=bounds,count=points.length,{compare:compare,between:between,normalize:normalize}=propertyFn(property),{start:start,end:end,loop:loop,style:style}=function getSegment(segment,points,bounds){const{property:property,start:startBound,end:endBound}=bounds,{between:between,normalize:normalize}=propertyFn(property),count=points.length;let i,ilen,{start:start,end:end,loop:loop}=segment;if(loop){for(start+=count,end+=count,i=0,ilen=count;iinside||between(startBound,prevValue,value)&&0!==compare(startBound,prevValue),shouldStop=()=>!inside||0===compare(endBound,value)||between(endBound,prevValue,value);for(let i=start,prev=start;i<=end;++i)point=points[i%count],point.skip||(value=normalize(point[property]),value!==prevValue&&(inside=between(value,startBound,endBound),null===subStart&&shouldStart()&&(subStart=0===compare(value,startBound)?i:prev),null!==subStart&&shouldStop()&&(result.push(normalizeSegment({start:subStart,end:i,loop:loop,count:count,style:style})),subStart=null),prev=i,prevValue=value));return null!==subStart&&result.push(normalizeSegment({start:subStart,end:end,loop:loop,count:count,style:style})),result}function _boundSegments(line,bounds){const result=[],segments=line.segments;for(let i=0;istart&&points[end%count].skip;)end--;return end%=count,{start:start,end:end}}(points,count,loop,spanGaps);if(!0===spanGaps)return splitByStyles([{start:start,end:end,loop:loop}],points,segmentOptions);return splitByStyles(function solidSegments(points,start,max,loop){const count=points.length,result=[];let end,last=start,prev=points[start];for(end=start+1;end<=max;++end){const cur=points[end%count];cur.skip||cur.stop?prev.skip||(loop=!1,result.push({start:start%count,end:(end-1)%count,loop:loop}),start=last=cur.stop?end:null):(last=end,prev.skip&&(start=end)),prev=cur}return null!==last&&result.push({start:start%count,end:last%count,loop:loop}),result}(points,start,end{const propertyParts=property.split("."),sourceName=propertyParts.pop(),sourceScope=[scope].concat(propertyParts).join("."),parts=routes[property].split("."),targetName=parts.pop(),targetScope=parts.join(".");defaults.route(sourceScope,sourceName,targetScope,targetName)}))}(scope,item.defaultRoutes);item.descriptors&&defaults.describe(scope,item.descriptors)}(item,scope,parentScope),me.override&&defaults.override(item.id,item.overrides)),scope}get(id){return this.items[id]}unregister(item){const items=this.items,id=item.id,scope=this.scope;id in items&&delete items[id],scope&&id in defaults[scope]&&(delete defaults[scope][id],this.override&&delete overrides[id])}}var registry=new class Registry{constructor(){this.controllers=new TypedRegistry(DatasetController,"datasets",!0),this.elements=new TypedRegistry(Element,"elements"),this.plugins=new TypedRegistry(Object,"plugins"),this.scales=new TypedRegistry(Scale,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...args){this._each("register",args)}remove(...args){this._each("unregister",args)}addControllers(...args){this._each("register",args,this.controllers)}addElements(...args){this._each("register",args,this.elements)}addPlugins(...args){this._each("register",args,this.plugins)}addScales(...args){this._each("register",args,this.scales)}getController(id){return this._get(id,this.controllers,"controller")}getElement(id){return this._get(id,this.elements,"element")}getPlugin(id){return this._get(id,this.plugins,"plugin")}getScale(id){return this._get(id,this.scales,"scale")}removeControllers(...args){this._each("unregister",args,this.controllers)}removeElements(...args){this._each("unregister",args,this.elements)}removePlugins(...args){this._each("unregister",args,this.plugins)}removeScales(...args){this._each("unregister",args,this.scales)}_each(method,args,typedRegistry){const me=this;[...args].forEach((arg=>{const reg=typedRegistry||me._getRegistryForType(arg);typedRegistry||reg.isForType(arg)||reg===me.plugins&&arg.id?me._exec(method,reg,arg):each(arg,(item=>{const itemReg=typedRegistry||me._getRegistryForType(item);me._exec(method,itemReg,item)}))}))}_exec(method,registry,component){const camelMethod=_capitalize(method);callback(component["before"+camelMethod],[],component),registry[method](component),callback(component["after"+camelMethod],[],component)}_getRegistryForType(type){for(let i=0;ia.filter((x=>!b.some((y=>x.plugin.id===y.plugin.id))));this._notify(diff(previousDescriptors,descriptors),chart,"stop"),this._notify(diff(descriptors,previousDescriptors),chart,"start")}}function getOpts(options,all){return all||!1!==options?!0===options?{}:options:null}function pluginOpts(config,plugin,opts,context){const keys=config.pluginScopeKeys(plugin),scopes=config.getOptionScopes(opts,keys);return config.createResolver(scopes,context,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function getIndexAxis(type,options){const datasetDefaults=defaults.datasets[type]||{};return((options.datasets||{})[type]||{}).indexAxis||options.indexAxis||datasetDefaults.indexAxis||"x"}function determineAxis(id,scaleOptions){return"x"===id||"y"===id?id:scaleOptions.axis||function axisFromPosition(position){return"top"===position||"bottom"===position?"x":"left"===position||"right"===position?"y":void 0}(scaleOptions.position)||id.charAt(0).toLowerCase()}function initOptions(config){const options=config.options||(config.options={});options.plugins=valueOrDefault(options.plugins,{}),options.scales=function mergeScaleConfig(config,options){const chartDefaults=overrides[config.type]||{scales:{}},configScales=options.scales||{},chartIndexAxis=getIndexAxis(config.type,options),firstIDs=Object.create(null),scales=Object.create(null);return Object.keys(configScales).forEach((id=>{const scaleConf=configScales[id],axis=determineAxis(id,scaleConf),defaultId=function getDefaultScaleIDFromAxis(axis,indexAxis){return axis===indexAxis?"_index_":"_value_"}(axis,chartIndexAxis),defaultScaleOptions=chartDefaults.scales||{};firstIDs[axis]=firstIDs[axis]||id,scales[id]=mergeIf(Object.create(null),[{axis:axis},scaleConf,defaultScaleOptions[axis],defaultScaleOptions[defaultId]])})),config.data.datasets.forEach((dataset=>{const type=dataset.type||config.type,indexAxis=dataset.indexAxis||getIndexAxis(type,options),defaultScaleOptions=(overrides[type]||{}).scales||{};Object.keys(defaultScaleOptions).forEach((defaultID=>{const axis=function getAxisFromDefaultScaleID(id,indexAxis){let axis=id;return"_index_"===id?axis=indexAxis:"_value_"===id&&(axis="x"===indexAxis?"y":"x"),axis}(defaultID,indexAxis),id=dataset[axis+"AxisID"]||firstIDs[axis]||axis;scales[id]=scales[id]||Object.create(null),mergeIf(scales[id],[{axis:axis},configScales[id],defaultScaleOptions[defaultID]])}))})),Object.keys(scales).forEach((key=>{const scale=scales[key];mergeIf(scale,[defaults.scales[scale.type],defaults.scale])})),scales}(config,options)}function initData(data){return(data=data||{}).datasets=data.datasets||[],data.labels=data.labels||[],data}const keyCache=new Map,keysCached=new Set;function cachedKeys(cacheKey,generate){let keys=keyCache.get(cacheKey);return keys||(keys=generate(),keyCache.set(cacheKey,keys),keysCached.add(keys)),keys}const addIfFound=(set,obj,key)=>{const opts=resolveObjectKey(obj,key);void 0!==opts&&set.add(opts)};class Config{constructor(config){this._config=function initConfig(config){return(config=config||{}).data=initData(config.data),initOptions(config),config}(config),this._scopeCache=new Map,this._resolverCache=new Map}get type(){return this._config.type}set type(type){this._config.type=type}get data(){return this._config.data}set data(data){this._config.data=initData(data)}get options(){return this._config.options}set options(options){this._config.options=options}get plugins(){return this._config.plugins}update(){const config=this._config;this.clearCache(),initOptions(config)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(datasetType){return cachedKeys(datasetType,(()=>[[`datasets.${datasetType}`,""]]))}datasetAnimationScopeKeys(datasetType,transition){return cachedKeys(`${datasetType}.transition.${transition}`,(()=>[[`datasets.${datasetType}.transitions.${transition}`,`transitions.${transition}`],[`datasets.${datasetType}`,""]]))}datasetElementScopeKeys(datasetType,elementType){return cachedKeys(`${datasetType}-${elementType}`,(()=>[[`datasets.${datasetType}.elements.${elementType}`,`datasets.${datasetType}`,`elements.${elementType}`,""]]))}pluginScopeKeys(plugin){const id=plugin.id;return cachedKeys(`${this.type}-plugin-${id}`,(()=>[[`plugins.${id}`,...plugin.additionalOptionScopes||[]]]))}_cachedScopes(mainScope,resetCache){const _scopeCache=this._scopeCache;let cache=_scopeCache.get(mainScope);return cache&&!resetCache||(cache=new Map,_scopeCache.set(mainScope,cache)),cache}getOptionScopes(mainScope,keyLists,resetCache){const{options:options,type:type}=this,cache=this._cachedScopes(mainScope,resetCache),cached=cache.get(keyLists);if(cached)return cached;const scopes=new Set;keyLists.forEach((keys=>{mainScope&&(scopes.add(mainScope),keys.forEach((key=>addIfFound(scopes,mainScope,key)))),keys.forEach((key=>addIfFound(scopes,options,key))),keys.forEach((key=>addIfFound(scopes,overrides[type]||{},key))),keys.forEach((key=>addIfFound(scopes,defaults,key))),keys.forEach((key=>addIfFound(scopes,descriptors,key)))}));const array=Array.from(scopes);return keysCached.has(keyLists)&&cache.set(keyLists,array),array}chartOptionScopes(){const{options:options,type:type}=this;return[options,overrides[type]||{},defaults.datasets[type]||{},{type:type},defaults,descriptors]}resolveNamedOptions(scopes,names,context,prefixes=[""]){const result={$shared:!0},{resolver:resolver,subPrefixes:subPrefixes}=getResolver(this._resolverCache,scopes,prefixes);let options=resolver;if(function needContext(proxy,names){const{isScriptable:isScriptable,isIndexable:isIndexable}=_descriptors(proxy);for(const prop of names)if(isScriptable(prop)&&isFunction(proxy[prop])||isIndexable(prop)&&isArray(proxy[prop]))return!0;return!1}(resolver,names)){result.$shared=!1;options=_attachContext(resolver,context=isFunction(context)?context():context,this.createResolver(scopes,context,subPrefixes))}for(const prop of names)result[prop]=options[prop];return result}createResolver(scopes,context,prefixes=[""],descriptorDefaults){const{resolver:resolver}=getResolver(this._resolverCache,scopes,prefixes);return isObject(context)?_attachContext(resolver,context,void 0,descriptorDefaults):resolver}}function getResolver(resolverCache,scopes,prefixes){let cache=resolverCache.get(scopes);cache||(cache=new Map,resolverCache.set(scopes,cache));const cacheKey=prefixes.join();let cached=cache.get(cacheKey);if(!cached){cached={resolver:_createResolver(scopes,prefixes),subPrefixes:prefixes.filter((p=>!p.toLowerCase().includes("hover")))},cache.set(cacheKey,cached)}return cached}const KNOWN_POSITIONS=["top","bottom","left","right","chartArea"];function positionIsHorizontal(position,axis){return"top"===position||"bottom"===position||-1===KNOWN_POSITIONS.indexOf(position)&&"x"===axis}function compare2Level(l1,l2){return function(a,b){return a[l1]===b[l1]?a[l2]-b[l2]:a[l1]-b[l1]}}function onAnimationsComplete(context){const chart=context.chart,animationOptions=chart.options.animation;chart.notifyPlugins("afterRender"),callback(animationOptions&&animationOptions.onComplete,[context],chart)}function onAnimationProgress(context){const chart=context.chart,animationOptions=chart.options.animation;callback(animationOptions&&animationOptions.onProgress,[context],chart)}function isDomSupported(){return"undefined"!=typeof window&&"undefined"!=typeof document}function getCanvas(item){return isDomSupported()&&"string"==typeof item?item=document.getElementById(item):item&&item.length&&(item=item[0]),item&&item.canvas&&(item=item.canvas),item}const instances={},getChart=key=>{const canvas=getCanvas(key);return Object.values(instances).filter((c=>c.canvas===canvas)).pop()};class Chart{constructor(item,config){const me=this;this.config=config=new Config(config);const initialCanvas=getCanvas(item),existingChart=getChart(initialCanvas);if(existingChart)throw new Error("Canvas is already in use. Chart with ID '"+existingChart.id+"' must be destroyed before the canvas can be reused.");const options=config.createResolver(config.chartOptionScopes(),me.getContext());this.platform=me._initializePlatform(initialCanvas,config);const context=me.platform.acquireContext(initialCanvas,options.aspectRatio),canvas=context&&context.canvas,height=canvas&&canvas.height,width=canvas&&canvas.width;this.id=uid(),this.ctx=context,this.canvas=canvas,this.width=width,this.height=height,this._options=options,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this.scale=void 0,this._plugins=new PluginService,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=debounce((()=>this.update("resize")),options.resizeDelay||0),instances[me.id]=me,context&&canvas?(animator.listen(me,"complete",onAnimationsComplete),animator.listen(me,"progress",onAnimationProgress),me._initialize(),me.attached&&me.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:aspectRatio,maintainAspectRatio:maintainAspectRatio},width:width,height:height,_aspectRatio:_aspectRatio}=this;return isNullOrUndef(aspectRatio)?maintainAspectRatio&&_aspectRatio?_aspectRatio:height?width/height:null:aspectRatio}get data(){return this.config.data}set data(data){this.config.data=data}get options(){return this._options}set options(options){this.config.options=options}_initialize(){const me=this;return me.notifyPlugins("beforeInit"),me.options.responsive?me.resize():retinaScale(me,me.options.devicePixelRatio),me.bindEvents(),me.notifyPlugins("afterInit"),me}_initializePlatform(canvas,config){return config.platform?new config.platform:!isDomSupported()||"undefined"!=typeof OffscreenCanvas&&canvas instanceof OffscreenCanvas?new BasicPlatform:new DomPlatform}clear(){return clearCanvas(this.canvas,this.ctx),this}stop(){return animator.stop(this),this}resize(width,height){animator.running(this)?this._resizeBeforeDraw={width:width,height:height}:this._resize(width,height)}_resize(width,height){const me=this,options=me.options,canvas=me.canvas,aspectRatio=options.maintainAspectRatio&&me.aspectRatio,newSize=me.platform.getMaximumSize(canvas,width,height,aspectRatio),newRatio=options.devicePixelRatio||me.platform.getDevicePixelRatio();me.width=newSize.width,me.height=newSize.height,me._aspectRatio=me.aspectRatio,retinaScale(me,newRatio,!0)&&(me.notifyPlugins("resize",{size:newSize}),callback(options.onResize,[me,newSize],me),me.attached&&me._doResize()&&me.render())}ensureScalesHaveIDs(){each(this.options.scales||{},((axisOptions,axisID)=>{axisOptions.id=axisID}))}buildOrUpdateScales(){const me=this,options=me.options,scaleOpts=options.scales,scales=me.scales,updated=Object.keys(scales).reduce(((obj,id)=>(obj[id]=!1,obj)),{});let items=[];scaleOpts&&(items=items.concat(Object.keys(scaleOpts).map((id=>{const scaleOptions=scaleOpts[id],axis=determineAxis(id,scaleOptions),isRadial="r"===axis,isHorizontal="x"===axis;return{options:scaleOptions,dposition:isRadial?"chartArea":isHorizontal?"bottom":"left",dtype:isRadial?"radialLinear":isHorizontal?"category":"linear"}})))),each(items,(item=>{const scaleOptions=item.options,id=scaleOptions.id,axis=determineAxis(id,scaleOptions),scaleType=valueOrDefault(scaleOptions.type,item.dtype);void 0!==scaleOptions.position&&positionIsHorizontal(scaleOptions.position,axis)===positionIsHorizontal(item.dposition)||(scaleOptions.position=item.dposition),updated[id]=!0;let scale=null;if(id in scales&&scales[id].type===scaleType)scale=scales[id];else{scale=new(registry.getScale(scaleType))({id:id,type:scaleType,ctx:me.ctx,chart:me}),scales[scale.id]=scale}scale.init(scaleOptions,options)})),each(updated,((hasUpdated,id)=>{hasUpdated||delete scales[id]})),each(scales,(scale=>{layouts.configure(me,scale,scale.options),layouts.addBox(me,scale)}))}_updateMetasets(){const me=this,metasets=me._metasets,numData=me.data.datasets.length,numMeta=metasets.length;if(metasets.sort(((a,b)=>a.index-b.index)),numMeta>numData){for(let i=numData;idatasets.length&&delete me._stacks,metasets.forEach(((meta,index)=>{0===datasets.filter((x=>x===meta._dataset)).length&&me._destroyDatasetMeta(index)}))}buildOrUpdateControllers(){const me=this,newControllers=[],datasets=me.data.datasets;let i,ilen;for(me._removeUnreferencedMetasets(),i=0,ilen=datasets.length;i{me.getDatasetMeta(datasetIndex).controller.reset()}),me)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(mode){const me=this,config=me.config;config.update(),me._options=config.createResolver(config.chartOptionScopes(),me.getContext()),each(me.scales,(scale=>{layouts.removeBox(me,scale)}));const animsDisabled=me._animationsDisabled=!me.options.animation;me.ensureScalesHaveIDs(),me.buildOrUpdateScales();const existingEvents=new Set(Object.keys(me._listeners)),newEvents=new Set(me.options.events);if(setsEqual(existingEvents,newEvents)&&!!this._responsiveListeners===me.options.responsive||(me.unbindEvents(),me.bindEvents()),me._plugins.invalidate(),!1===me.notifyPlugins("beforeUpdate",{mode:mode,cancelable:!0}))return;const newControllers=me.buildOrUpdateControllers();me.notifyPlugins("beforeElementsUpdate");let minPadding=0;for(let i=0,ilen=me.data.datasets.length;i{controller.reset()})),me._updateDatasets(mode),me.notifyPlugins("afterUpdate",{mode:mode}),me._layers.sort(compare2Level("z","_idx")),me._lastEvent&&me._eventHandler(me._lastEvent,!0),me.render()}_updateLayout(minPadding){const me=this;if(!1===me.notifyPlugins("beforeLayout",{cancelable:!0}))return;layouts.update(me,me.width,me.height,minPadding);const area=me.chartArea,noArea=area.width<=0||area.height<=0;me._layers=[],each(me.boxes,(box=>{noArea&&"chartArea"===box.position||(box.configure&&box.configure(),me._layers.push(...box._layers()))}),me),me._layers.forEach(((item,index)=>{item._idx=index})),me.notifyPlugins("afterLayout")}_updateDatasets(mode){const me=this,isFunction="function"==typeof mode;if(!1!==me.notifyPlugins("beforeDatasetsUpdate",{mode:mode,cancelable:!0})){for(let i=0,ilen=me.data.datasets.length;i=0;--i)me._drawDataset(metasets[i]);me.notifyPlugins("afterDatasetsDraw")}_drawDataset(meta){const me=this,ctx=me.ctx,clip=meta._clip,useClip=!clip.disabled,area=me.chartArea,args={meta:meta,index:meta.index,cancelable:!0};!1!==me.notifyPlugins("beforeDatasetDraw",args)&&(useClip&&clipArea(ctx,{left:!1===clip.left?0:area.left-clip.left,right:!1===clip.right?me.width:area.right+clip.right,top:!1===clip.top?0:area.top-clip.top,bottom:!1===clip.bottom?me.height:area.bottom+clip.bottom}),meta.controller.draw(),useClip&&unclipArea(ctx),args.cancelable=!1,me.notifyPlugins("afterDatasetDraw",args))}getElementsAtEventForMode(e,mode,options,useFinalPosition){const method=Interaction.modes[mode];return"function"==typeof method?method(this,e,options,useFinalPosition):[]}getDatasetMeta(datasetIndex){const dataset=this.data.datasets[datasetIndex],metasets=this._metasets;let meta=metasets.filter((x=>x&&x._dataset===dataset)).pop();return meta||(meta={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:dataset&&dataset.order||0,index:datasetIndex,_dataset:dataset,_parsed:[],_sorted:!1},metasets.push(meta)),meta}getContext(){return this.$context||(this.$context={chart:this,type:"chart"})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(datasetIndex){const dataset=this.data.datasets[datasetIndex];if(!dataset)return!1;const meta=this.getDatasetMeta(datasetIndex);return"boolean"==typeof meta.hidden?!meta.hidden:!dataset.hidden}setDatasetVisibility(datasetIndex,visible){this.getDatasetMeta(datasetIndex).hidden=!visible}toggleDataVisibility(index){this._hiddenIndices[index]=!this._hiddenIndices[index]}getDataVisibility(index){return!this._hiddenIndices[index]}_updateDatasetVisibility(datasetIndex,visible){const mode=visible?"show":"hide",meta=this.getDatasetMeta(datasetIndex),anims=meta.controller._resolveAnimations(void 0,mode);this.setDatasetVisibility(datasetIndex,visible),anims.update(meta,{visible:visible}),this.update((ctx=>ctx.datasetIndex===datasetIndex?mode:void 0))}hide(datasetIndex){this._updateDatasetVisibility(datasetIndex,!1)}show(datasetIndex){this._updateDatasetVisibility(datasetIndex,!0)}_destroyDatasetMeta(datasetIndex){const me=this,meta=me._metasets&&me._metasets[datasetIndex];meta&&meta.controller&&(meta.controller._destroy(),delete me._metasets[datasetIndex])}destroy(){const me=this,{canvas:canvas,ctx:ctx}=me;let i,ilen;for(me.stop(),animator.remove(me),i=0,ilen=me.data.datasets.length;i((type,listener)=>{platform.addEventListener(me,type,listener),listeners[type]=listener})(type,listener)))}bindResponsiveEvents(){const me=this;me._responsiveListeners||(me._responsiveListeners={});const listeners=me._responsiveListeners,platform=me.platform,_add=(type,listener)=>{platform.addEventListener(me,type,listener),listeners[type]=listener},_remove=(type,listener)=>{listeners[type]&&(platform.removeEventListener(me,type,listener),delete listeners[type])},listener=(width,height)=>{me.canvas&&me.resize(width,height)};let detached;const attached=()=>{_remove("attach",attached),me.attached=!0,me.resize(),_add("resize",listener),_add("detach",detached)};detached=()=>{me.attached=!1,_remove("resize",listener),_add("attach",attached)},platform.isAttached(me.canvas)?attached():detached()}unbindEvents(){const me=this;each(me._listeners,((listener,type)=>{me.platform.removeEventListener(me,type,listener)})),me._listeners={},each(me._responsiveListeners,((listener,type)=>{me.platform.removeEventListener(me,type,listener)})),me._responsiveListeners=void 0}updateHoverStyle(items,mode,enabled){const prefix=enabled?"set":"remove";let meta,item,i,ilen;for("dataset"===mode&&(meta=this.getDatasetMeta(items[0].datasetIndex),meta.controller["_"+prefix+"DatasetHoverStyle"]()),i=0,ilen=items.length;i{const meta=me.getDatasetMeta(datasetIndex);if(!meta)throw new Error("No dataset found at index "+datasetIndex);return{datasetIndex:datasetIndex,element:meta.data[index],index:index}}));!_elementsEqual(active,lastActive)&&(me._active=active,me._updateHoverStyles(active,lastActive))}notifyPlugins(hook,args,filter){return this._plugins.notify(this,hook,args,filter)}_updateHoverStyles(active,lastActive,replay){const me=this,hoverOptions=me.options.hover,diff=(a,b)=>a.filter((x=>!b.some((y=>x.datasetIndex===y.datasetIndex&&x.index===y.index)))),deactivated=diff(lastActive,active),activated=replay?active:diff(active,lastActive);deactivated.length&&me.updateHoverStyle(deactivated,hoverOptions.mode,!1),activated.length&&hoverOptions.mode&&me.updateHoverStyle(activated,hoverOptions.mode,!0)}_eventHandler(e,replay){const me=this,args={event:e,replay:replay,cancelable:!0},eventFilter=plugin=>(plugin.options.events||this.options.events).includes(e.type);if(!1===me.notifyPlugins("beforeEvent",args,eventFilter))return;const changed=me._handleEvent(e,replay);return args.cancelable=!1,me.notifyPlugins("afterEvent",args,eventFilter),(changed||args.changed)&&me.render(),me}_handleEvent(e,replay){const me=this,{_active:lastActive=[],options:options}=me,hoverOptions=options.hover,useFinalPosition=replay;let active=[],changed=!1,lastEvent=null;return"mouseout"!==e.type&&(active=me.getElementsAtEventForMode(e,hoverOptions.mode,hoverOptions,useFinalPosition),lastEvent="click"===e.type?me._lastEvent:e),me._lastEvent=null,_isPointInArea(e,me.chartArea,me._minPadding)&&(callback(options.onHover,[e,active,me],me),"mouseup"!==e.type&&"click"!==e.type&&"contextmenu"!==e.type||callback(options.onClick,[e,active,me],me)),changed=!_elementsEqual(active,lastActive),(changed||replay)&&(me._active=active,me._updateHoverStyles(active,lastActive,replay)),me._lastEvent=lastEvent,changed}}const invalidatePlugins=()=>each(Chart.instances,(chart=>chart._plugins.invalidate()));function abstract(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}Object.defineProperties(Chart,{defaults:{enumerable:true,value:defaults},instances:{enumerable:true,value:instances},overrides:{enumerable:true,value:overrides},registry:{enumerable:true,value:registry},version:{enumerable:true,value:"3.4.1"},getChart:{enumerable:true,value:getChart},register:{enumerable:true,value:(...items)=>{registry.add(...items),invalidatePlugins()}},unregister:{enumerable:true,value:(...items)=>{registry.remove(...items),invalidatePlugins()}}});class DateAdapter{constructor(options){this.options=options||{}}formats(){return abstract()}parse(value,format){return abstract()}format(timestamp,format){return abstract()}add(timestamp,amount,unit){return abstract()}diff(a,b,unit){return abstract()}startOf(timestamp,unit,weekday){return abstract()}endOf(timestamp,unit){return abstract()}}DateAdapter.override=function(members){Object.assign(DateAdapter.prototype,members)};var _adapters={_date:DateAdapter};function computeMinSampleSize(scale){const values=function getAllScaleValues(scale){if(!scale._cache.$bar){const metas=scale.getMatchingVisibleMetas("bar");let values=[];for(let i=0,ilen=metas.length;ia-b)))}return scale._cache.$bar}(scale);let i,ilen,curr,prev,min=scale._length;const updateMinAndPrev=()=>{32767!==curr&&-32768!==curr&&(defined(prev)&&(min=Math.min(min,Math.abs(curr-prev)||min)),prev=curr)};for(i=0,ilen=values.length;iMath.abs(max)&&(barStart=max,barEnd=min),item[vScale.axis]=barEnd,item._custom={barStart:barStart,barEnd:barEnd,start:startValue,end:endValue,min:min,max:max}}(entry,item,vScale,i):item[vScale.axis]=vScale.parse(entry,i),item}function parseArrayOrPrimitive(meta,data,start,count){const iScale=meta.iScale,vScale=meta.vScale,labels=iScale.getLabels(),singleScale=iScale===vScale,parsed=[];let i,ilen,item,entry;for(i=start,ilen=start+count;i0?(base+=halfGrid,size-=halfGrid):size<0&&(base-=halfGrid,size+=halfGrid)}return{size:size,base:base,head:head,center:head+size/2}}_calculateBarIndexPixels(index,ruler){const me=this,scale=ruler.scale,options=me.options,skipNull=options.skipNull,maxBarThickness=valueOrDefault(options.maxBarThickness,1/0);let center,size;if(ruler.grouped){const stackCount=skipNull?me._getStackCount(index):ruler.stackCount,range="flex"===options.barThickness?function computeFlexCategoryTraits(index,ruler,options,stackCount){const pixels=ruler.pixels,curr=pixels[index];let prev=index>0?pixels[index-1]:null,next=index=0;--i)max=Math.max(max,data[i].size()/2,_parsed[i]._custom);return max>0&&max}getLabelAndValue(index){const meta=this._cachedMeta,{xScale:xScale,yScale:yScale}=meta,parsed=this.getParsed(index),x=xScale.getLabelForValue(parsed.x),y=yScale.getLabelForValue(parsed.y),r=parsed._custom;return{label:meta.label,value:"("+x+", "+y+(r?", "+r:"")+")"}}update(mode){const points=this._cachedMeta.data;this.updateElements(points,0,points.length,mode)}updateElements(points,start,count,mode){const me=this,reset="reset"===mode,{iScale:iScale,vScale:vScale}=me._cachedMeta,firstOpts=me.resolveDataElementOptions(start,mode),sharedOptions=me.getSharedOptions(firstOpts),includeOptions=me.includeOptions(mode,sharedOptions),iAxis=iScale.axis,vAxis=vScale.axis;for(let i=start;i""}}}};class DoughnutController extends DatasetController{constructor(chart,datasetIndex){super(chart,datasetIndex),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(start,count){const data=this.getDataset().data,meta=this._cachedMeta;let i,ilen;for(i=start,ilen=start+count;i_angleBetween(angle,startAngle,endAngle,!0)?1:Math.max(a,a*cutout,b,b*cutout),calcMin=(angle,a,b)=>_angleBetween(angle,startAngle,endAngle,!0)?-1:Math.min(a,a*cutout,b,b*cutout),maxX=calcMax(0,startX,endX),maxY=calcMax(HALF_PI,startY,endY),minX=calcMin(PI,startX,endX),minY=calcMin(PI+HALF_PI,startY,endY);ratioX=(maxX-minX)/2,ratioY=(maxY-minY)/2,offsetX=-(maxX+minX)/2,offsetY=-(maxY+minY)/2}return{ratioX:ratioX,ratioY:ratioY,offsetX:offsetX,offsetY:offsetY}}(rotation,circumference,cutout),maxWidth=(chartArea.width-spacing)/ratioX,maxHeight=(chartArea.height-spacing)/ratioY,maxRadius=Math.max(Math.min(maxWidth,maxHeight)/2,0),outerRadius=toDimension(me.options.radius,maxRadius),radiusLength=(outerRadius-Math.max(outerRadius*cutout,0))/me._getVisibleDatasetWeightTotal();me.offsetX=offsetX*outerRadius,me.offsetY=offsetY*outerRadius,meta.total=me.calculateTotal(),me.outerRadius=outerRadius-radiusLength*me._getRingWeightOffset(me.index),me.innerRadius=Math.max(me.outerRadius-radiusLength*chartWeight,0),me.updateElements(arcs,0,arcs.length,mode)}_circumference(i,reset){const opts=this.options,meta=this._cachedMeta,circumference=this._getCircumference();return reset&&opts.animation.animateRotate||!this.chart.getDataVisibility(i)||null===meta._parsed[i]?0:this.calculateCircumference(meta._parsed[i]*circumference/TAU)}updateElements(arcs,start,count,mode){const me=this,reset="reset"===mode,chart=me.chart,chartArea=chart.chartArea,animationOpts=chart.options.animation,centerX=(chartArea.left+chartArea.right)/2,centerY=(chartArea.top+chartArea.bottom)/2,animateScale=reset&&animationOpts.animateScale,innerRadius=animateScale?0:me.innerRadius,outerRadius=animateScale?0:me.outerRadius,firstOpts=me.resolveDataElementOptions(start,mode),sharedOptions=me.getSharedOptions(firstOpts),includeOptions=me.includeOptions(mode,sharedOptions);let i,startAngle=me._getRotation();for(i=0;i0&&!isNaN(value)?TAU*(Math.abs(value)/total):0}getLabelAndValue(index){const meta=this._cachedMeta,chart=this.chart,labels=chart.data.labels||[],value=formatNumber(meta._parsed[index],chart.options.locale);return{label:labels[index]||"",value:value}}getMaxBorderWidth(arcs){const me=this;let max=0;const chart=me.chart;let i,ilen,meta,controller,options;if(!arcs)for(i=0,ilen=chart.data.datasets.length;i"spacing"!==name,_indexable:name=>"spacing"!==name},DoughnutController.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(chart){const data=chart.data;if(data.labels.length&&data.datasets.length){const{labels:{pointStyle:pointStyle}}=chart.legend.options;return data.labels.map(((label,i)=>{const style=chart.getDatasetMeta(0).controller.getStyle(i);return{text:label,fillStyle:style.backgroundColor,strokeStyle:style.borderColor,lineWidth:style.borderWidth,pointStyle:pointStyle,hidden:!chart.getDataVisibility(i),index:i}}))}return[]}},onClick(e,legendItem,legend){legend.chart.toggleDataVisibility(legendItem.index),legend.chart.update()}},tooltip:{callbacks:{title:()=>"",label(tooltipItem){let dataLabel=tooltipItem.label;const value=": "+tooltipItem.formattedValue;return isArray(dataLabel)?(dataLabel=dataLabel.slice(),dataLabel[0]+=value):dataLabel+=value,dataLabel}}}}};class LineController extends DatasetController{initialize(){this.enableOptionSharing=!0,super.initialize()}update(mode){const me=this,meta=me._cachedMeta,{dataset:line,data:points=[],_dataset:_dataset}=meta,animationsDisabled=me.chart._animationsDisabled;let{start:start,count:count}=function getStartAndCountOfVisiblePoints(meta,points,animationsDisabled){const pointCount=points.length;let start=0,count=pointCount;if(meta._sorted){const{iScale:iScale,_parsed:_parsed}=meta,axis=iScale.axis,{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=iScale.getUserBounds();minDefined&&(start=_limitValue(Math.min(_lookupByKey(_parsed,iScale.axis,min).lo,animationsDisabled?pointCount:_lookupByKey(points,axis,iScale.getPixelForValue(min)).lo),0,pointCount-1)),count=maxDefined?_limitValue(Math.max(_lookupByKey(_parsed,iScale.axis,max).hi+1,animationsDisabled?0:_lookupByKey(points,axis,iScale.getPixelForValue(max)).hi+1),start,pointCount)-start:pointCount-start}return{start:start,count:count}}(meta,points,animationsDisabled);me._drawStart=start,me._drawCount=count,function scaleRangesChanged(meta){const{xScale:xScale,yScale:yScale,_scaleRanges:_scaleRanges}=meta,newRanges={xmin:xScale.min,xmax:xScale.max,ymin:yScale.min,ymax:yScale.max};if(!_scaleRanges)return meta._scaleRanges=newRanges,!0;const changed=_scaleRanges.xmin!==xScale.min||_scaleRanges.xmax!==xScale.max||_scaleRanges.ymin!==yScale.min||_scaleRanges.ymax!==yScale.max;return Object.assign(_scaleRanges,newRanges),changed}(meta)&&(start=0,count=points.length),line._decimated=!!_dataset._decimated,line.points=points;const options=me.resolveDatasetElementOptions(mode);me.options.showLine||(options.borderWidth=0),options.segment=me.options.segment,me.updateElement(line,void 0,{animated:!animationsDisabled,options:options},mode),me.updateElements(points,start,count,mode)}updateElements(points,start,count,mode){const me=this,reset="reset"===mode,{iScale:iScale,vScale:vScale,_stacked:_stacked}=me._cachedMeta,firstOpts=me.resolveDataElementOptions(start,mode),sharedOptions=me.getSharedOptions(firstOpts),includeOptions=me.includeOptions(mode,sharedOptions),iAxis=iScale.axis,vAxis=vScale.axis,spanGaps=me.options.spanGaps,maxGapLength=isNumber(spanGaps)?spanGaps:Number.POSITIVE_INFINITY,directUpdate=me.chart._animationsDisabled||reset||"none"===mode;let prevParsed=start>0&&me.getParsed(start-1);for(let i=start;i0&&parsed[iAxis]-prevParsed[iAxis]>maxGapLength,properties.parsed=parsed,includeOptions&&(properties.options=sharedOptions||me.resolveDataElementOptions(i,point.active?"active":mode)),directUpdate||me.updateElement(point,i,properties,mode),prevParsed=parsed}me.updateSharedOptions(sharedOptions,mode,firstOpts)}getMaxOverflow(){const meta=this._cachedMeta,dataset=meta.dataset,border=dataset.options&&dataset.options.borderWidth||0,data=meta.data||[];if(!data.length)return border;const firstPoint=data[0].size(this.resolveDataElementOptions(0)),lastPoint=data[data.length-1].size(this.resolveDataElementOptions(data.length-1));return Math.max(border,firstPoint,lastPoint)/2}draw(){const meta=this._cachedMeta;meta.dataset.updateControlPoints(this.chart.chartArea,meta.iScale.axis),super.draw()}}LineController.id="line",LineController.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},LineController.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class PolarAreaController extends DatasetController{constructor(chart,datasetIndex){super(chart,datasetIndex),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(index){const meta=this._cachedMeta,chart=this.chart,labels=chart.data.labels||[],value=formatNumber(meta._parsed[index].r,chart.options.locale);return{label:labels[index]||"",value:value}}update(mode){const arcs=this._cachedMeta.data;this._updateRadius(),this.updateElements(arcs,0,arcs.length,mode)}_updateRadius(){const me=this,chart=me.chart,chartArea=chart.chartArea,opts=chart.options,minSize=Math.min(chartArea.right-chartArea.left,chartArea.bottom-chartArea.top),outerRadius=Math.max(minSize/2,0),radiusLength=(outerRadius-Math.max(opts.cutoutPercentage?outerRadius/100*opts.cutoutPercentage:1,0))/chart.getVisibleDatasetCount();me.outerRadius=outerRadius-radiusLength*me.index,me.innerRadius=me.outerRadius-radiusLength}updateElements(arcs,start,count,mode){const me=this,reset="reset"===mode,chart=me.chart,dataset=me.getDataset(),animationOpts=chart.options.animation,scale=me._cachedMeta.rScale,centerX=scale.xCenter,centerY=scale.yCenter,datasetStartAngle=scale.getIndexAngle(0)-.5*PI;let i,angle=datasetStartAngle;const defaultAngle=360/me.countVisibleElements();for(i=0;i{!isNaN(dataset.data[index])&&this.chart.getDataVisibility(index)&&count++})),count}_computeAngle(index,mode,defaultAngle){return this.chart.getDataVisibility(index)?toRadians(this.resolveDataElementOptions(index,mode).angle||defaultAngle):0}}PolarAreaController.id="polarArea",PolarAreaController.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},PolarAreaController.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(chart){const data=chart.data;if(data.labels.length&&data.datasets.length){const{labels:{pointStyle:pointStyle}}=chart.legend.options;return data.labels.map(((label,i)=>{const style=chart.getDatasetMeta(0).controller.getStyle(i);return{text:label,fillStyle:style.backgroundColor,strokeStyle:style.borderColor,lineWidth:style.borderWidth,pointStyle:pointStyle,hidden:!chart.getDataVisibility(i),index:i}}))}return[]}},onClick(e,legendItem,legend){legend.chart.toggleDataVisibility(legendItem.index),legend.chart.update()}},tooltip:{callbacks:{title:()=>"",label:context=>context.chart.data.labels[context.dataIndex]+": "+context.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class PieController extends DoughnutController{}PieController.id="pie",PieController.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class RadarController extends DatasetController{getLabelAndValue(index){const vScale=this._cachedMeta.vScale,parsed=this.getParsed(index);return{label:vScale.getLabels()[index],value:""+vScale.getLabelForValue(parsed[vScale.axis])}}update(mode){const me=this,meta=me._cachedMeta,line=meta.dataset,points=meta.data||[],labels=meta.iScale.getLabels();if(line.points=points,"resize"!==mode){const options=me.resolveDatasetElementOptions(mode);me.options.showLine||(options.borderWidth=0);const properties={_loop:!0,_fullLoop:labels.length===points.length,options:options};me.updateElement(line,void 0,properties,mode)}me.updateElements(points,0,points.length,mode)}updateElements(points,start,count,mode){const me=this,dataset=me.getDataset(),scale=me._cachedMeta.rScale,reset="reset"===mode;for(let i=start;i"",label:item=>"("+item.label+", "+item.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var controllers=Object.freeze({__proto__:null,BarController:BarController,BubbleController:BubbleController,DoughnutController:DoughnutController,LineController:LineController,PolarAreaController:PolarAreaController,PieController:PieController,RadarController:RadarController,ScatterController:ScatterController});function clipArc(ctx,element,endAngle){const{startAngle:startAngle,pixelMargin:pixelMargin,x:x,y:y,outerRadius:outerRadius,innerRadius:innerRadius}=element;let angleMargin=pixelMargin/outerRadius;ctx.beginPath(),ctx.arc(x,y,outerRadius,startAngle-angleMargin,endAngle+angleMargin),innerRadius>pixelMargin?(angleMargin=pixelMargin/innerRadius,ctx.arc(x,y,innerRadius,endAngle+angleMargin,startAngle-angleMargin,!0)):ctx.arc(x,y,pixelMargin,endAngle+HALF_PI,startAngle-HALF_PI),ctx.closePath(),ctx.clip()}function parseBorderRadius$1(arc,innerRadius,outerRadius,angleDelta){const o=function toRadiusCorners(value){return _readValueToProps(value,["outerStart","outerEnd","innerStart","innerEnd"])}(arc.options.borderRadius),halfThickness=(outerRadius-innerRadius)/2,innerLimit=Math.min(halfThickness,angleDelta*innerRadius/2),computeOuterLimit=val=>{const outerArcLimit=(outerRadius-Math.min(halfThickness,val))*angleDelta/2;return _limitValue(val,0,Math.min(halfThickness,outerArcLimit))};return{outerStart:computeOuterLimit(o.outerStart),outerEnd:computeOuterLimit(o.outerEnd),innerStart:_limitValue(o.innerStart,0,innerLimit),innerEnd:_limitValue(o.innerEnd,0,innerLimit)}}function rThetaToXY(r,theta,x,y){return{x:x+r*Math.cos(theta),y:y+r*Math.sin(theta)}}function pathArc(ctx,element,offset,spacing,end){const{x:x,y:y,startAngle:start,pixelMargin:pixelMargin,innerRadius:innerR}=element,outerRadius=Math.max(element.outerRadius+spacing+offset-pixelMargin,0),innerRadius=innerR>0?innerR+spacing+offset+pixelMargin:0;let spacingOffset=0;const alpha=end-start;if(spacing){const avNogSpacingRadius=((innerR>0?innerR-spacing:0)+(outerRadius>0?outerRadius-spacing:0))/2;spacingOffset=(alpha-(0!==avNogSpacingRadius?alpha*avNogSpacingRadius/(avNogSpacingRadius+spacing):alpha))/2}const angleOffset=(alpha-Math.max(.001,alpha*outerRadius-offset/PI)/outerRadius)/2,startAngle=start+angleOffset+spacingOffset,endAngle=end-angleOffset-spacingOffset,{outerStart:outerStart,outerEnd:outerEnd,innerStart:innerStart,innerEnd:innerEnd}=parseBorderRadius$1(element,innerRadius,outerRadius,endAngle-startAngle),outerStartAdjustedRadius=outerRadius-outerStart,outerEndAdjustedRadius=outerRadius-outerEnd,outerStartAdjustedAngle=startAngle+outerStart/outerStartAdjustedRadius,outerEndAdjustedAngle=endAngle-outerEnd/outerEndAdjustedRadius,innerStartAdjustedRadius=innerRadius+innerStart,innerEndAdjustedRadius=innerRadius+innerEnd,innerStartAdjustedAngle=startAngle+innerStart/innerStartAdjustedRadius,innerEndAdjustedAngle=endAngle-innerEnd/innerEndAdjustedRadius;if(ctx.beginPath(),ctx.arc(x,y,outerRadius,outerStartAdjustedAngle,outerEndAdjustedAngle),outerEnd>0){const pCenter=rThetaToXY(outerEndAdjustedRadius,outerEndAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,outerEnd,outerEndAdjustedAngle,endAngle+HALF_PI)}const p4=rThetaToXY(innerEndAdjustedRadius,endAngle,x,y);if(ctx.lineTo(p4.x,p4.y),innerEnd>0){const pCenter=rThetaToXY(innerEndAdjustedRadius,innerEndAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,innerEnd,endAngle+HALF_PI,innerEndAdjustedAngle+Math.PI)}if(ctx.arc(x,y,innerRadius,endAngle-innerEnd/innerRadius,startAngle+innerStart/innerRadius,!0),innerStart>0){const pCenter=rThetaToXY(innerStartAdjustedRadius,innerStartAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,innerStart,innerStartAdjustedAngle+Math.PI,startAngle-HALF_PI)}const p8=rThetaToXY(outerStartAdjustedRadius,startAngle,x,y);if(ctx.lineTo(p8.x,p8.y),outerStart>0){const pCenter=rThetaToXY(outerStartAdjustedRadius,outerStartAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,outerStart,startAngle-HALF_PI,outerStartAdjustedAngle)}ctx.closePath()}function drawBorder(ctx,element,offset,spacing,endAngle){const{options:options}=element,inner="inner"===options.borderAlign;options.borderWidth&&(inner?(ctx.lineWidth=2*options.borderWidth,ctx.lineJoin="round"):(ctx.lineWidth=options.borderWidth,ctx.lineJoin="bevel"),element.fullCircles&&function drawFullCircleBorders(ctx,element,inner){const{x:x,y:y,startAngle:startAngle,pixelMargin:pixelMargin,fullCircles:fullCircles}=element,outerRadius=Math.max(element.outerRadius-pixelMargin,0),innerRadius=element.innerRadius+pixelMargin;let i;for(inner&&clipArc(ctx,element,startAngle+TAU),ctx.beginPath(),ctx.arc(x,y,innerRadius,startAngle+TAU,startAngle,!0),i=0;i=TAU||_angleBetween(angle,startAngle,endAngle))&&(distance>=innerRadius+rAdjust&&distance<=outerRadius+rAdjust)}getCenterPoint(useFinalPosition){const{x:x,y:y,startAngle:startAngle,endAngle:endAngle,innerRadius:innerRadius,outerRadius:outerRadius}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],useFinalPosition),{offset:offset,spacing:spacing}=this.options,halfAngle=(startAngle+endAngle)/2,halfRadius=(innerRadius+outerRadius+spacing+offset)/2;return{x:x+Math.cos(halfAngle)*halfRadius,y:y+Math.sin(halfAngle)*halfRadius}}tooltipPosition(useFinalPosition){return this.getCenterPoint(useFinalPosition)}draw(ctx){const me=this,{options:options,circumference:circumference}=me,offset=(options.offset||0)/2,spacing=(options.spacing||0)/2;if(me.pixelMargin="inner"===options.borderAlign?.33:0,me.fullCircles=circumference>TAU?Math.floor(circumference/TAU):0,0===circumference||me.innerRadius<0||me.outerRadius<0)return;ctx.save();let radiusOffset=0;if(offset){radiusOffset=offset/2;const halfAngle=(me.startAngle+me.endAngle)/2;ctx.translate(Math.cos(halfAngle)*radiusOffset,Math.sin(halfAngle)*radiusOffset),me.circumference>=PI&&(radiusOffset=offset)}ctx.fillStyle=options.backgroundColor,ctx.strokeStyle=options.borderColor;const endAngle=function drawArc(ctx,element,offset,spacing){const{fullCircles:fullCircles,startAngle:startAngle,circumference:circumference}=element;let endAngle=element.endAngle;if(fullCircles){pathArc(ctx,element,offset,spacing,startAngle+TAU);for(let i=0;isegmentEnd&¶msEnd>segmentEnd;return{count:count,start:start,loop:segment.loop,ilen:end(start+(reverse?ilen-index:index))%count,drawX=()=>{minY!==maxY&&(ctx.lineTo(avgX,maxY),ctx.lineTo(avgX,minY),ctx.lineTo(avgX,lastY))};for(move&&(point=points[pointIndex(0)],ctx.moveTo(point.x,point.y)),i=0;i<=ilen;++i){if(point=points[pointIndex(i)],point.skip)continue;const x=point.x,y=point.y,truncX=0|x;truncX===prevX?(ymaxY&&(maxY=y),avgX=(countX*avgX+x)/++countX):(drawX(),ctx.lineTo(x,y),prevX=truncX,countX=0,minY=maxY=y),lastY=y}drawX()}function _getSegmentMethod(line){const opts=line.options,borderDash=opts.borderDash&&opts.borderDash.length;return!(line._decimated||line._loop||opts.tension||"monotone"===opts.cubicInterpolationMode||opts.stepped||borderDash)?fastPathSegment:pathSegment}ArcElement.id="arc",ArcElement.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},ArcElement.defaultRoutes={backgroundColor:"backgroundColor"};const usePath2D="function"==typeof Path2D;function draw(ctx,line,start,count){usePath2D&&1===line.segments.length?function strokePathWithCache(ctx,line,start,count){let path=line._path;path||(path=line._path=new Path2D,line.path(path,start,count)&&path.closePath()),setStyle(ctx,line.options),ctx.stroke(path)}(ctx,line,start,count):function strokePathDirect(ctx,line,start,count){const{segments:segments,options:options}=line,segmentMethod=_getSegmentMethod(line);for(const segment of segments)setStyle(ctx,options,segment.style),ctx.beginPath(),segmentMethod(ctx,line,segment,{start:start,end:start+count-1})&&ctx.closePath(),ctx.stroke()}(ctx,line,start,count)}class LineElement extends Element{constructor(cfg){super(),this.animated=!0,this.options=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,cfg&&Object.assign(this,cfg)}updateControlPoints(chartArea,indexAxis){const me=this,options=me.options;if((options.tension||"monotone"===options.cubicInterpolationMode)&&!options.stepped&&!me._pointsUpdated){const loop=options.spanGaps?me._loop:me._fullLoop;_updateBezierControlPoints(me._points,options,chartArea,loop,indexAxis),me._pointsUpdated=!0}}set points(points){this._points=points,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=_computeSegments(this,this.options.segment))}first(){const segments=this.segments,points=this.points;return segments.length&&points[segments[0].start]}last(){const segments=this.segments,points=this.points,count=segments.length;return count&&points[segments[count-1].end]}interpolate(point,property){const options=this.options,value=point[property],points=this.points,segments=_boundSegments(this,{property:property,start:value,end:value});if(!segments.length)return;const result=[],_interpolate=function _getInterpolationMethod(options){return options.stepped?_steppedInterpolation:options.tension||"monotone"===options.cubicInterpolationMode?_bezierInterpolation:_pointInLine}(options);let i,ilen;for(i=0,ilen=segments.length;i"borderDash"!==name&&"fill"!==name};class PointElement extends Element{constructor(cfg){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,cfg&&Object.assign(this,cfg)}inRange(mouseX,mouseY,useFinalPosition){const options=this.options,{x:x,y:y}=this.getProps(["x","y"],useFinalPosition);return Math.pow(mouseX-x,2)+Math.pow(mouseY-y,2)bar.x):parseEdge(edge,"bottom","top",bar.base=bounds.left&&x<=bounds.right)&&(skipY||y>=bounds.top&&y<=bounds.bottom)}function addNormalRectPath(ctx,rect){ctx.rect(rect.x,rect.y,rect.w,rect.h)}PointElement.id="point",PointElement.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},PointElement.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class BarElement extends Element{constructor(cfg){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,cfg&&Object.assign(this,cfg)}draw(ctx){const options=this.options,{inner:inner,outer:outer}=boundingRects(this),addRectPath=function hasRadius(radius){return radius.topLeft||radius.topRight||radius.bottomLeft||radius.bottomRight}(outer.radius)?addRoundedRectPath:addNormalRectPath;ctx.save(),outer.w===inner.w&&outer.h===inner.h||(ctx.beginPath(),addRectPath(ctx,outer),ctx.clip(),addRectPath(ctx,inner),ctx.fillStyle=options.borderColor,ctx.fill("evenodd")),ctx.beginPath(),addRectPath(ctx,inner),ctx.fillStyle=options.backgroundColor,ctx.fill(),ctx.restore()}inRange(mouseX,mouseY,useFinalPosition){return inRange(this,mouseX,mouseY,useFinalPosition)}inXRange(mouseX,useFinalPosition){return inRange(this,mouseX,null,useFinalPosition)}inYRange(mouseY,useFinalPosition){return inRange(this,null,mouseY,useFinalPosition)}getCenterPoint(useFinalPosition){const{x:x,y:y,base:base,horizontal:horizontal}=this.getProps(["x","y","base","horizontal"],useFinalPosition);return{x:horizontal?(x+base)/2:x,y:horizontal?y:(y+base)/2}}getRange(axis){return"x"===axis?this.width/2:this.height/2}}BarElement.id="bar",BarElement.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},BarElement.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var elements=Object.freeze({__proto__:null,ArcElement:ArcElement,LineElement:LineElement,PointElement:PointElement,BarElement:BarElement});function cleanDecimatedDataset(dataset){if(dataset._decimated){const data=dataset._data;delete dataset._decimated,delete dataset._data,Object.defineProperty(dataset,"data",{value:data})}}function cleanDecimatedData(chart){chart.data.datasets.forEach((dataset=>{cleanDecimatedDataset(dataset)}))}var plugin_decimation={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(chart,args,options)=>{if(!options.enabled)return void cleanDecimatedData(chart);const availableWidth=chart.width;chart.data.datasets.forEach(((dataset,datasetIndex)=>{const{_data:_data,indexAxis:indexAxis}=dataset,meta=chart.getDatasetMeta(datasetIndex),data=_data||dataset.data;if("y"===resolve([indexAxis,chart.options.indexAxis]))return;if("line"!==meta.type)return;const xAxis=chart.scales[meta.xAxisID];if("linear"!==xAxis.type&&"time"!==xAxis.type)return;if(chart.options.parsing)return;let decimated,{start:start,count:count}=function getStartAndCountOfVisiblePointsSimplified(meta,points){const pointCount=points.length;let count,start=0;const{iScale:iScale}=meta,{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=iScale.getUserBounds();return minDefined&&(start=_limitValue(_lookupByKey(points,iScale.axis,min).lo,0,pointCount-1)),count=maxDefined?_limitValue(_lookupByKey(points,iScale.axis,max).hi+1,start,pointCount)-start:pointCount-start,{start:start,count:count}}(meta,data);if(count<=4*availableWidth)cleanDecimatedDataset(dataset);else{switch(isNullOrUndef(_data)&&(dataset._data=data,delete dataset.data,Object.defineProperty(dataset,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(d){this._data=d}})),options.algorithm){case"lttb":decimated=function lttbDecimation(data,start,count,availableWidth,options){const samples=options.samples||availableWidth;if(samples>=count)return data.slice(start,start+count);const decimated=[],bucketWidth=(count-2)/(samples-2);let sampledIndex=0;const endIndex=start+count-1;let i,maxAreaPoint,maxArea,area,nextA,a=start;for(decimated[sampledIndex++]=data[a],i=0;imaxArea&&(maxArea=area,maxAreaPoint=data[j],nextA=j);decimated[sampledIndex++]=maxAreaPoint,a=nextA}return decimated[sampledIndex++]=data[endIndex],decimated}(data,start,count,availableWidth,options);break;case"min-max":decimated=function minMaxDecimation(data,start,count,availableWidth){let i,point,x,y,prevX,minIndex,maxIndex,startIndex,minY,maxY,avgX=0,countX=0;const decimated=[],endIndex=start+count-1,xMin=data[start].x,dx=data[endIndex].x-xMin;for(i=start;imaxY&&(maxY=y,maxIndex=i),avgX=(countX*avgX+point.x)/++countX;else{const lastIndex=i-1;if(!isNullOrUndef(minIndex)&&!isNullOrUndef(maxIndex)){const intermediateIndex1=Math.min(minIndex,maxIndex),intermediateIndex2=Math.max(minIndex,maxIndex);intermediateIndex1!==startIndex&&intermediateIndex1!==lastIndex&&decimated.push({...data[intermediateIndex1],x:avgX}),intermediateIndex2!==startIndex&&intermediateIndex2!==lastIndex&&decimated.push({...data[intermediateIndex2],x:avgX})}i>0&&lastIndex!==startIndex&&decimated.push(data[lastIndex]),decimated.push(point),prevX=truncX,countX=0,minY=maxY=y,minIndex=maxIndex=startIndex=i}}return decimated}(data,start,count,availableWidth);break;default:throw new Error(`Unsupported decimation algorithm '${options.algorithm}'`)}dataset._decimated=decimated}}))},destroy(chart){cleanDecimatedData(chart)}};function decodeFill(line,index,count){const fill=function parseFillOption(line){const options=line.options,fillOption=options.fill;let fill=valueOrDefault(fillOption&&fillOption.target,fillOption);return void 0===fill&&(fill=!!options.backgroundColor),!1!==fill&&null!==fill&&(!0===fill?"origin":fill)}(line);if(isObject(fill))return!isNaN(fill.value)&&fill;let target=parseFloat(fill);return isNumberFinite(target)&&Math.floor(target)===target?("-"!==fill[0]&&"+"!==fill[0]||(target=index+target),!(target===index||target<0||target>=count)&&target):["origin","start","end","stack"].indexOf(fill)>=0&&fill}class simpleArc{constructor(opts){this.x=opts.x,this.y=opts.y,this.radius=opts.radius}pathSegment(ctx,bounds,opts){const{x:x,y:y,radius:radius}=this;return bounds=bounds||{start:0,end:TAU},ctx.arc(x,y,radius,bounds.end,bounds.start,!0),!opts.bounds}interpolate(point){const{x:x,y:y,radius:radius}=this,angle=point.angle;return{x:x+Math.cos(angle)*radius,y:y+Math.sin(angle)*radius,angle:angle}}}function computeBoundary(source){return(source.scale||{}).getPointPositionForValue?function computeCircularBoundary(source){const{scale:scale,fill:fill}=source,options=scale.options,length=scale.getLabels().length,target=[],start=options.reverse?scale.max:scale.min,end=options.reverse?scale.min:scale.max;let i,center,value;if(value="start"===fill?start:"end"===fill?end:isObject(fill)?fill.value:scale.getBaseValue(),options.grid.circular)return center=scale.getPointPositionForValue(0,start),new simpleArc({x:center.x,y:center.y,radius:scale.getDistanceFromCenterForValue(value)});for(i=0;istart;end--){const point=points[end];if(!isNaN(point.x)&&!isNaN(point.y))break}return end}function buildStackLine(source){const{chart:chart,scale:scale,index:index,line:line}=source,points=[],segments=line.segments,sourcePoints=line.points,linesBelow=function getLinesBelow(chart,index){const below=[],metas=chart.getSortedVisibleDatasetMetas();for(let i=0;i"line"===meta.type&&!meta.hidden;function addPointsBelow(points,sourcePoint,linesBelow){const postponed=[];for(let j=0;j=firstValue&&pointValue<=lastValue){first=pointValue===firstValue,last=pointValue===lastValue;break}}return{first:first,last:last,point:point}}function createBoundaryLine(boundary,line){let points=[],_loop=!1;return isArray(boundary)?(_loop=!0,points=boundary):points=function pointsFromSegments(boundary,line){const{x:x=null,y:y=null}=boundary||{},linePoints=line.points,points=[];return line.segments.forEach((({start:start,end:end})=>{end=findSegmentEnd(start,end,linePoints);const first=linePoints[start],last=linePoints[end];null!==y?(points.push({x:first.x,y:y}),points.push({x:last.x,y:y})):null!==x&&(points.push({x:x,y:first.y}),points.push({x:x,y:last.y}))})),points}(boundary,line),points.length?new LineElement({points:points,options:{tension:0},_loop:_loop,_fullLoop:_loop}):null}function resolveTarget(sources,index,propagate){let fill=sources[index].fill;const visited=[index];let target;if(!propagate)return fill;for(;!1!==fill&&-1===visited.indexOf(fill);){if(!isNumberFinite(fill))return fill;if(target=sources[fill],!target)return!1;if(target.visible)return fill;visited.push(fill),fill=target.fill}return!1}function _clip(ctx,target,clipY){ctx.beginPath(),target.path(ctx),ctx.lineTo(target.last().x,clipY),ctx.lineTo(target.first().x,clipY),ctx.closePath(),ctx.clip()}function getBounds(property,first,last,loop){if(loop)return;let start=first[property],end=last[property];return"angle"===property&&(start=_normalizeAngle(start),end=_normalizeAngle(end)),{property:property,start:start,end:end}}function _getEdge(a,b,prop,fn){return a&&b?fn(a[prop],b[prop]):a?a[prop]:b?b[prop]:0}function clipBounds(ctx,scale,bounds){const{top:top,bottom:bottom}=scale.chart.chartArea,{property:property,start:start,end:end}=bounds||{};"x"===property&&(ctx.beginPath(),ctx.rect(start,top,end-start,bottom-top),ctx.clip())}function interpolatedLineTo(ctx,target,point,property){const interpolatedPoint=target.interpolate(point,property);interpolatedPoint&&ctx.lineTo(interpolatedPoint.x,interpolatedPoint.y)}function _fill(ctx,cfg){const{line:line,target:target,property:property,color:color,scale:scale}=cfg,segments=function _segments(line,target,property){const segments=line.segments,points=line.points,tpoints=target.points,parts=[];for(const segment of segments){let{start:start,end:end}=segment;end=findSegmentEnd(start,end,points);const bounds=getBounds(property,points[start],points[end],segment.loop);if(!target.segments){parts.push({source:segment,target:bounds,start:points[start],end:points[end]});continue}const targetSegments=_boundSegments(target,bounds);for(const tgt of targetSegments){const subBounds=getBounds(property,tpoints[tgt.start],tpoints[tgt.end],tgt.loop),fillSources=_boundSegment(segment,points,subBounds);for(const fillSource of fillSources)parts.push({source:fillSource,target:tgt,start:{[property]:_getEdge(bounds,subBounds,"start",Math.max)},end:{[property]:_getEdge(bounds,subBounds,"end",Math.min)}})}}return parts}(line,target,property);for(const{source:src,target:tgt,start:start,end:end}of segments){const{style:{backgroundColor:backgroundColor=color}={}}=src;ctx.save(),ctx.fillStyle=backgroundColor,clipBounds(ctx,scale,getBounds(property,start,end)),ctx.beginPath();const lineLoop=!!line.pathSegment(ctx,src);lineLoop?ctx.closePath():interpolatedLineTo(ctx,target,end,property);const targetLoop=!!target.pathSegment(ctx,tgt,{move:lineLoop,reverse:!0}),loop=lineLoop&&targetLoop;loop||interpolatedLineTo(ctx,target,start,property),ctx.closePath(),ctx.fill(loop?"evenodd":"nonzero"),ctx.restore()}}function drawfill(ctx,source,area){const target=function getTarget(source){const{chart:chart,fill:fill,line:line}=source;if(isNumberFinite(fill))return function getLineByIndex(chart,index){const meta=chart.getDatasetMeta(index);return meta&&chart.isDatasetVisible(index)?meta.dataset:null}(chart,fill);if("stack"===fill)return buildStackLine(source);const boundary=computeBoundary(source);return boundary instanceof simpleArc?boundary:createBoundaryLine(boundary,line)}(source),{line:line,scale:scale,axis:axis}=source,lineOpts=line.options,fillOption=lineOpts.fill,color=lineOpts.backgroundColor,{above:above=color,below:below=color}=fillOption||{};target&&line.points.length&&(clipArea(ctx,area),function doFill(ctx,cfg){const{line:line,target:target,above:above,below:below,area:area,scale:scale}=cfg,property=line._loop?"angle":cfg.axis;ctx.save(),"x"===property&&below!==above&&(_clip(ctx,target,area.top),_fill(ctx,{line:line,target:target,color:above,scale:scale,property:property}),ctx.restore(),ctx.save(),_clip(ctx,target,area.bottom)),_fill(ctx,{line:line,target:target,color:below,scale:scale,property:property}),ctx.restore()}(ctx,{line:line,target:target,above:above,below:below,area:area,scale:scale,axis:axis}),unclipArea(ctx))}var plugin_filler={id:"filler",afterDatasetsUpdate(chart,_args,options){const count=(chart.data.datasets||[]).length,sources=[];let meta,i,line,source;for(i=0;i=0;--i){const source=metasets[i].$filler;source&&(source.line.updateControlPoints(area,source.axis),draw&&drawfill(chart.ctx,source,area))}},beforeDatasetsDraw(chart,_args,options){if("beforeDatasetsDraw"!==options.drawTime)return;const metasets=chart.getSortedVisibleDatasetMetas();for(let i=metasets.length-1;i>=0;--i){const source=metasets[i].$filler;source&&drawfill(chart.ctx,source,chart.chartArea)}},beforeDatasetDraw(chart,args,options){const source=args.meta.$filler;source&&!1!==source.fill&&"beforeDatasetDraw"===options.drawTime&&drawfill(chart.ctx,source,chart.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const getBoxSize=(labelOpts,fontSize)=>{let{boxHeight:boxHeight=fontSize,boxWidth:boxWidth=fontSize}=labelOpts;return labelOpts.usePointStyle&&(boxHeight=Math.min(boxHeight,fontSize),boxWidth=Math.min(boxWidth,fontSize)),{boxWidth:boxWidth,boxHeight:boxHeight,itemHeight:Math.max(fontSize,boxHeight)}};class Legend extends Element{constructor(config){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=config.chart,this.options=config.options,this.ctx=config.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(maxWidth,maxHeight,margins){const me=this;me.maxWidth=maxWidth,me.maxHeight=maxHeight,me._margins=margins,me.setDimensions(),me.buildLabels(),me.fit()}setDimensions(){const me=this;me.isHorizontal()?(me.width=me.maxWidth,me.left=me._margins.left,me.right=me.width):(me.height=me.maxHeight,me.top=me._margins.top,me.bottom=me.height)}buildLabels(){const me=this,labelOpts=me.options.labels||{};let legendItems=callback(labelOpts.generateLabels,[me.chart],me)||[];labelOpts.filter&&(legendItems=legendItems.filter((item=>labelOpts.filter(item,me.chart.data)))),labelOpts.sort&&(legendItems=legendItems.sort(((a,b)=>labelOpts.sort(a,b,me.chart.data)))),me.options.reverse&&legendItems.reverse(),me.legendItems=legendItems}fit(){const me=this,{options:options,ctx:ctx}=me;if(!options.display)return void(me.width=me.height=0);const labelOpts=options.labels,labelFont=toFont(labelOpts.font),fontSize=labelFont.size,titleHeight=me._computeTitleHeight(),{boxWidth:boxWidth,itemHeight:itemHeight}=getBoxSize(labelOpts,fontSize);let width,height;ctx.font=labelFont.string,me.isHorizontal()?(width=me.maxWidth,height=me._fitRows(titleHeight,fontSize,boxWidth,itemHeight)+10):(height=me.maxHeight,width=me._fitCols(titleHeight,fontSize,boxWidth,itemHeight)+10),me.width=Math.min(width,options.maxWidth||me.maxWidth),me.height=Math.min(height,options.maxHeight||me.maxHeight)}_fitRows(titleHeight,fontSize,boxWidth,itemHeight){const{ctx:ctx,maxWidth:maxWidth,options:{labels:{padding:padding}}}=this,hitboxes=this.legendHitBoxes=[],lineWidths=this.lineWidths=[0],lineHeight=itemHeight+padding;let totalHeight=titleHeight;ctx.textAlign="left",ctx.textBaseline="middle";let row=-1,top=-lineHeight;return this.legendItems.forEach(((legendItem,i)=>{const itemWidth=boxWidth+fontSize/2+ctx.measureText(legendItem.text).width;(0===i||lineWidths[lineWidths.length-1]+itemWidth+2*padding>maxWidth)&&(totalHeight+=lineHeight,lineWidths[lineWidths.length-(i>0?0:1)]=0,top+=lineHeight,row++),hitboxes[i]={left:0,top:top,row:row,width:itemWidth,height:itemHeight},lineWidths[lineWidths.length-1]+=itemWidth+padding})),totalHeight}_fitCols(titleHeight,fontSize,boxWidth,itemHeight){const{ctx:ctx,maxHeight:maxHeight,options:{labels:{padding:padding}}}=this,hitboxes=this.legendHitBoxes=[],columnSizes=this.columnSizes=[],heightLimit=maxHeight-titleHeight;let totalWidth=padding,currentColWidth=0,currentColHeight=0,left=0,col=0;return this.legendItems.forEach(((legendItem,i)=>{const itemWidth=boxWidth+fontSize/2+ctx.measureText(legendItem.text).width;i>0&¤tColHeight+itemHeight+2*padding>heightLimit&&(totalWidth+=currentColWidth+padding,columnSizes.push({width:currentColWidth,height:currentColHeight}),left+=currentColWidth+padding,col++,currentColWidth=currentColHeight=0),hitboxes[i]={left:left,top:currentColHeight,col:col,width:itemWidth,height:itemHeight},currentColWidth=Math.max(currentColWidth,itemWidth),currentColHeight+=itemHeight+padding})),totalWidth+=currentColWidth,columnSizes.push({width:currentColWidth,height:currentColHeight}),totalWidth}adjustHitBoxes(){const me=this;if(!me.options.display)return;const titleHeight=me._computeTitleHeight(),{legendHitBoxes:hitboxes,options:{align:align,labels:{padding:padding},rtl:rtl}}=me;if(this.isHorizontal()){let row=0,left=_alignStartEnd(align,me.left+padding,me.right-me.lineWidths[row]);for(const hitbox of hitboxes)row!==hitbox.row&&(row=hitbox.row,left=_alignStartEnd(align,me.left+padding,me.right-me.lineWidths[row])),hitbox.top+=me.top+titleHeight+padding,hitbox.left=left,left+=hitbox.width+padding;if(rtl){const boxMap=hitboxes.reduce(((map,box)=>(map[box.row]=map[box.row]||[],map[box.row].push(box),map)),{}),newBoxes=[];Object.keys(boxMap).forEach((key=>{boxMap[key].reverse(),newBoxes.push(...boxMap[key])})),me.legendHitBoxes=newBoxes}}else{let col=0,top=_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-me.columnSizes[col].height);for(const hitbox of hitboxes)hitbox.col!==col&&(col=hitbox.col,top=_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-me.columnSizes[col].height)),hitbox.top=top,hitbox.left+=me.left+padding,top+=hitbox.height+padding}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){const me=this;if(me.options.display){const ctx=me.ctx;clipArea(ctx,me),me._draw(),unclipArea(ctx)}}_draw(){const me=this,{options:opts,columnSizes:columnSizes,lineWidths:lineWidths,ctx:ctx}=me,{align:align,labels:labelOpts}=opts,defaultColor=defaults.color,rtlHelper=getRtlAdapter(opts.rtl,me.left,me.width),labelFont=toFont(labelOpts.font),{color:fontColor,padding:padding}=labelOpts,fontSize=labelFont.size,halfFontSize=fontSize/2;let cursor;me.drawTitle(),ctx.textAlign=rtlHelper.textAlign("left"),ctx.textBaseline="middle",ctx.lineWidth=.5,ctx.font=labelFont.string;const{boxWidth:boxWidth,boxHeight:boxHeight,itemHeight:itemHeight}=getBoxSize(labelOpts,fontSize),isHorizontal=me.isHorizontal(),titleHeight=this._computeTitleHeight();cursor=isHorizontal?{x:_alignStartEnd(align,me.left+padding,me.right-lineWidths[0]),y:me.top+padding+titleHeight,line:0}:{x:me.left+padding,y:_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-columnSizes[0].height),line:0},overrideTextDirection(me.ctx,opts.textDirection);const lineHeight=itemHeight+padding;me.legendItems.forEach(((legendItem,i)=>{ctx.strokeStyle=legendItem.fontColor||fontColor,ctx.fillStyle=legendItem.fontColor||fontColor;const textWidth=ctx.measureText(legendItem.text).width,textAlign=rtlHelper.textAlign(legendItem.textAlign||(legendItem.textAlign=labelOpts.textAlign)),width=boxWidth+halfFontSize+textWidth;let x=cursor.x,y=cursor.y;rtlHelper.setWidth(me.width),isHorizontal?i>0&&x+width+padding>me.right&&(y=cursor.y+=lineHeight,cursor.line++,x=cursor.x=_alignStartEnd(align,me.left+padding,me.right-lineWidths[cursor.line])):i>0&&y+lineHeight>me.bottom&&(x=cursor.x=x+columnSizes[cursor.line].width+padding,cursor.line++,y=cursor.y=_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-columnSizes[cursor.line].height));!function(x,y,legendItem){if(isNaN(boxWidth)||boxWidth<=0||isNaN(boxHeight)||boxHeight<0)return;ctx.save();const lineWidth=valueOrDefault(legendItem.lineWidth,1);if(ctx.fillStyle=valueOrDefault(legendItem.fillStyle,defaultColor),ctx.lineCap=valueOrDefault(legendItem.lineCap,"butt"),ctx.lineDashOffset=valueOrDefault(legendItem.lineDashOffset,0),ctx.lineJoin=valueOrDefault(legendItem.lineJoin,"miter"),ctx.lineWidth=lineWidth,ctx.strokeStyle=valueOrDefault(legendItem.strokeStyle,defaultColor),ctx.setLineDash(valueOrDefault(legendItem.lineDash,[])),labelOpts.usePointStyle){const drawOptions={radius:boxWidth*Math.SQRT2/2,pointStyle:legendItem.pointStyle,rotation:legendItem.rotation,borderWidth:lineWidth},centerX=rtlHelper.xPlus(x,boxWidth/2);drawPoint(ctx,drawOptions,centerX,y+halfFontSize)}else{const yBoxTop=y+Math.max((fontSize-boxHeight)/2,0),xBoxLeft=rtlHelper.leftForLtr(x,boxWidth),borderRadius=toTRBLCorners(legendItem.borderRadius);ctx.beginPath(),Object.values(borderRadius).some((v=>0!==v))?addRoundedRectPath(ctx,{x:xBoxLeft,y:yBoxTop,w:boxWidth,h:boxHeight,radius:borderRadius}):ctx.rect(xBoxLeft,yBoxTop,boxWidth,boxHeight),ctx.fill(),0!==lineWidth&&ctx.stroke()}ctx.restore()}(rtlHelper.x(x),y,legendItem),x=_textX(textAlign,x+boxWidth+halfFontSize,isHorizontal?x+width:me.right,opts.rtl),function(x,y,legendItem){renderText(ctx,legendItem.text,x,y+itemHeight/2,labelFont,{strikethrough:legendItem.hidden,textAlign:rtlHelper.textAlign(legendItem.textAlign)})}(rtlHelper.x(x),y,legendItem),isHorizontal?cursor.x+=width+padding:cursor.y+=lineHeight})),restoreTextDirection(me.ctx,opts.textDirection)}drawTitle(){const me=this,opts=me.options,titleOpts=opts.title,titleFont=toFont(titleOpts.font),titlePadding=toPadding(titleOpts.padding);if(!titleOpts.display)return;const rtlHelper=getRtlAdapter(opts.rtl,me.left,me.width),ctx=me.ctx,position=titleOpts.position,halfFontSize=titleFont.size/2,topPaddingPlusHalfFontSize=titlePadding.top+halfFontSize;let y,left=me.left,maxWidth=me.width;if(this.isHorizontal())maxWidth=Math.max(...me.lineWidths),y=me.top+topPaddingPlusHalfFontSize,left=_alignStartEnd(opts.align,left,me.right-maxWidth);else{const maxHeight=me.columnSizes.reduce(((acc,size)=>Math.max(acc,size.height)),0);y=topPaddingPlusHalfFontSize+_alignStartEnd(opts.align,me.top,me.bottom-maxHeight-opts.labels.padding-me._computeTitleHeight())}const x=_alignStartEnd(position,left,left+maxWidth);ctx.textAlign=rtlHelper.textAlign(_toLeftRightCenter(position)),ctx.textBaseline="middle",ctx.strokeStyle=titleOpts.color,ctx.fillStyle=titleOpts.color,ctx.font=titleFont.string,renderText(ctx,titleOpts.text,x,y,titleFont)}_computeTitleHeight(){const titleOpts=this.options.title,titleFont=toFont(titleOpts.font),titlePadding=toPadding(titleOpts.padding);return titleOpts.display?titleFont.lineHeight+titlePadding.height:0}_getLegendItemAt(x,y){const me=this;let i,hitBox,lh;if(x>=me.left&&x<=me.right&&y>=me.top&&y<=me.bottom)for(lh=me.legendHitBoxes,i=0;i=hitBox.left&&x<=hitBox.left+hitBox.width&&y>=hitBox.top&&y<=hitBox.top+hitBox.height)return me.legendItems[i];return null}handleEvent(e){const me=this,opts=me.options;if(!function isListened(type,opts){if("mousemove"===type&&(opts.onHover||opts.onLeave))return!0;if(opts.onClick&&("click"===type||"mouseup"===type))return!0;return!1}(e.type,opts))return;const hoveredItem=me._getLegendItemAt(e.x,e.y);if("mousemove"===e.type){const previous=me._hoveredItem,sameItem=(b=hoveredItem,null!==(a=previous)&&null!==b&&a.datasetIndex===b.datasetIndex&&a.index===b.index);previous&&!sameItem&&callback(opts.onLeave,[e,previous,me],me),me._hoveredItem=hoveredItem,hoveredItem&&!sameItem&&callback(opts.onHover,[e,hoveredItem,me],me)}else hoveredItem&&callback(opts.onClick,[e,hoveredItem,me],me);var a,b}}var plugin_legend={id:"legend",_element:Legend,start(chart,_args,options){const legend=chart.legend=new Legend({ctx:chart.ctx,options:options,chart:chart});layouts.configure(chart,legend,options),layouts.addBox(chart,legend)},stop(chart){layouts.removeBox(chart,chart.legend),delete chart.legend},beforeUpdate(chart,_args,options){const legend=chart.legend;layouts.configure(chart,legend,options),legend.options=options},afterUpdate(chart){const legend=chart.legend;legend.buildLabels(),legend.adjustHitBoxes()},afterEvent(chart,args){args.replay||chart.legend.handleEvent(args.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,legendItem,legend){const index=legendItem.datasetIndex,ci=legend.chart;ci.isDatasetVisible(index)?(ci.hide(index),legendItem.hidden=!0):(ci.show(index),legendItem.hidden=!1)},onHover:null,onLeave:null,labels:{color:ctx=>ctx.chart.options.color,boxWidth:40,padding:10,generateLabels(chart){const datasets=chart.data.datasets,{labels:{usePointStyle:usePointStyle,pointStyle:pointStyle,textAlign:textAlign,color:color}}=chart.legend.options;return chart._getSortedDatasetMetas().map((meta=>{const style=meta.controller.getStyle(usePointStyle?0:void 0),borderWidth=toPadding(style.borderWidth);return{text:datasets[meta.index].label,fillStyle:style.backgroundColor,fontColor:color,hidden:!meta.visible,lineCap:style.borderCapStyle,lineDash:style.borderDash,lineDashOffset:style.borderDashOffset,lineJoin:style.borderJoinStyle,lineWidth:(borderWidth.width+borderWidth.height)/4,strokeStyle:style.borderColor,pointStyle:pointStyle||style.pointStyle,rotation:style.rotation,textAlign:textAlign||style.textAlign,borderRadius:0,datasetIndex:meta.index}}),this)}},title:{color:ctx=>ctx.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:name=>!name.startsWith("on"),labels:{_scriptable:name=>!["generateLabels","filter","sort"].includes(name)}}};class Title extends Element{constructor(config){super(),this.chart=config.chart,this.options=config.options,this.ctx=config.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(maxWidth,maxHeight){const me=this,opts=me.options;if(me.left=0,me.top=0,!opts.display)return void(me.width=me.height=me.right=me.bottom=0);me.width=me.right=maxWidth,me.height=me.bottom=maxHeight;const lineCount=isArray(opts.text)?opts.text.length:1;me._padding=toPadding(opts.padding);const textSize=lineCount*toFont(opts.font).lineHeight+me._padding.height;me.isHorizontal()?me.height=textSize:me.width=textSize}isHorizontal(){const pos=this.options.position;return"top"===pos||"bottom"===pos}_drawArgs(offset){const{top:top,left:left,bottom:bottom,right:right,options:options}=this,align=options.align;let maxWidth,titleX,titleY,rotation=0;return this.isHorizontal()?(titleX=_alignStartEnd(align,left,right),titleY=top+offset,maxWidth=right-left):("left"===options.position?(titleX=left+offset,titleY=_alignStartEnd(align,bottom,top),rotation=-.5*PI):(titleX=right-offset,titleY=_alignStartEnd(align,top,bottom),rotation=.5*PI),maxWidth=bottom-top),{titleX:titleX,titleY:titleY,maxWidth:maxWidth,rotation:rotation}}draw(){const ctx=this.ctx,opts=this.options;if(!opts.display)return;const fontOpts=toFont(opts.font),offset=fontOpts.lineHeight/2+this._padding.top,{titleX:titleX,titleY:titleY,maxWidth:maxWidth,rotation:rotation}=this._drawArgs(offset);renderText(ctx,opts.text,0,0,fontOpts,{color:opts.color,maxWidth:maxWidth,rotation:rotation,textAlign:_toLeftRightCenter(opts.align),textBaseline:"middle",translation:[titleX,titleY]})}}var plugin_title={id:"title",_element:Title,start(chart,_args,options){!function createTitle(chart,titleOpts){const title=new Title({ctx:chart.ctx,options:titleOpts,chart:chart});layouts.configure(chart,title,titleOpts),layouts.addBox(chart,title),chart.titleBlock=title}(chart,options)},stop(chart){const titleBlock=chart.titleBlock;layouts.removeBox(chart,titleBlock),delete chart.titleBlock},beforeUpdate(chart,_args,options){const title=chart.titleBlock;layouts.configure(chart,title,options),title.options=options},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const map=new WeakMap;var plugin_subtitle={id:"subtitle",start(chart,_args,options){const title=new Title({ctx:chart.ctx,options:options,chart:chart});layouts.configure(chart,title,options),layouts.addBox(chart,title),map.set(chart,title)},stop(chart){layouts.removeBox(chart,map.get(chart)),map.delete(chart)},beforeUpdate(chart,_args,options){const title=map.get(chart);layouts.configure(chart,title,options),title.options=options},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const positioners={average(items){if(!items.length)return!1;let i,len,x=0,y=0,count=0;for(i=0,len=items.length;i-1?str.split("\n"):str}function createTooltipItem(chart,item){const{element:element,datasetIndex:datasetIndex,index:index}=item,controller=chart.getDatasetMeta(datasetIndex).controller,{label:label,value:value}=controller.getLabelAndValue(index);return{chart:chart,label:label,parsed:controller.getParsed(index),raw:chart.data.datasets[datasetIndex].data[index],formattedValue:value,dataset:controller.getDataset(),dataIndex:index,datasetIndex:datasetIndex,element:element}}function getTooltipSize(tooltip,options){const ctx=tooltip._chart.ctx,{body:body,footer:footer,title:title}=tooltip,{boxWidth:boxWidth,boxHeight:boxHeight}=options,bodyFont=toFont(options.bodyFont),titleFont=toFont(options.titleFont),footerFont=toFont(options.footerFont),titleLineCount=title.length,footerLineCount=footer.length,bodyLineItemCount=body.length,padding=toPadding(options.padding);let height=padding.height,width=0,combinedBodyLength=body.reduce(((count,bodyItem)=>count+bodyItem.before.length+bodyItem.lines.length+bodyItem.after.length),0);if(combinedBodyLength+=tooltip.beforeBody.length+tooltip.afterBody.length,titleLineCount&&(height+=titleLineCount*titleFont.lineHeight+(titleLineCount-1)*options.titleSpacing+options.titleMarginBottom),combinedBodyLength){height+=bodyLineItemCount*(options.displayColors?Math.max(boxHeight,bodyFont.lineHeight):bodyFont.lineHeight)+(combinedBodyLength-bodyLineItemCount)*bodyFont.lineHeight+(combinedBodyLength-1)*options.bodySpacing}footerLineCount&&(height+=options.footerMarginTop+footerLineCount*footerFont.lineHeight+(footerLineCount-1)*options.footerSpacing);let widthPadding=0;const maxLineWidth=function(line){width=Math.max(width,ctx.measureText(line).width+widthPadding)};return ctx.save(),ctx.font=titleFont.string,each(tooltip.title,maxLineWidth),ctx.font=bodyFont.string,each(tooltip.beforeBody.concat(tooltip.afterBody),maxLineWidth),widthPadding=options.displayColors?boxWidth+2:0,each(body,(bodyItem=>{each(bodyItem.before,maxLineWidth),each(bodyItem.lines,maxLineWidth),each(bodyItem.after,maxLineWidth)})),widthPadding=0,ctx.font=footerFont.string,each(tooltip.footer,maxLineWidth),ctx.restore(),width+=padding.width,{width:width,height:height}}function determineXAlign(chart,options,size,yAlign){const{x:x,width:width}=size,{width:chartWidth,chartArea:{left:left,right:right}}=chart;let xAlign="center";return"center"===yAlign?xAlign=x<=(left+right)/2?"left":"right":x<=width/2?xAlign="left":x>=chartWidth-width/2&&(xAlign="right"),function doesNotFitWithAlign(xAlign,chart,options,size){const{x:x,width:width}=size,caret=options.caretSize+options.caretPadding;return"left"===xAlign&&x+width+caret>chart.width||"right"===xAlign&&x-width-caret<0||void 0}(xAlign,chart,options,size)&&(xAlign="center"),xAlign}function determineAlignment(chart,options,size){const yAlign=options.yAlign||function determineYAlign(chart,size){const{y:y,height:height}=size;return ychart.height-height/2?"bottom":"center"}(chart,size);return{xAlign:options.xAlign||determineXAlign(chart,options,size,yAlign),yAlign:yAlign}}function getBackgroundPoint(options,size,alignment,chart){const{caretSize:caretSize,caretPadding:caretPadding,cornerRadius:cornerRadius}=options,{xAlign:xAlign,yAlign:yAlign}=alignment,paddingAndSize=caretSize+caretPadding,radiusAndPadding=cornerRadius+caretPadding;let x=function alignX(size,xAlign){let{x:x,width:width}=size;return"right"===xAlign?x-=width:"center"===xAlign&&(x-=width/2),x}(size,xAlign);const y=function alignY(size,yAlign,paddingAndSize){let{y:y,height:height}=size;return"top"===yAlign?y+=paddingAndSize:y-="bottom"===yAlign?height+paddingAndSize:height/2,y}(size,yAlign,paddingAndSize);return"center"===yAlign?"left"===xAlign?x+=paddingAndSize:"right"===xAlign&&(x-=paddingAndSize):"left"===xAlign?x-=radiusAndPadding:"right"===xAlign&&(x+=radiusAndPadding),{x:_limitValue(x,0,chart.width-size.width),y:_limitValue(y,0,chart.height-size.height)}}function getAlignedX(tooltip,align,options){const padding=toPadding(options.padding);return"center"===align?tooltip.x+tooltip.width/2:"right"===align?tooltip.x+tooltip.width-padding.right:tooltip.x+padding.left}function getBeforeAfterBodyLines(callback){return pushOrConcat([],splitNewlines(callback))}function overrideCallbacks(callbacks,context){const override=context&&context.dataset&&context.dataset.tooltip&&context.dataset.tooltip.callbacks;return override?callbacks.override(override):callbacks}class Tooltip extends Element{constructor(config){super(),this.opacity=0,this._active=[],this._chart=config._chart,this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.options=config.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(options){this.options=options,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const me=this,cached=me._cachedAnimations;if(cached)return cached;const chart=me._chart,options=me.options.setContext(me.getContext()),opts=options.enabled&&chart.options.animation&&options.animations,animations=new Animations(me._chart,opts);return opts._cacheable&&(me._cachedAnimations=Object.freeze(animations)),animations}getContext(){const me=this;return me.$context||(me.$context=function createTooltipContext(parent,tooltip,tooltipItems){return Object.assign(Object.create(parent),{tooltip:tooltip,tooltipItems:tooltipItems,type:"tooltip"})}(me._chart.getContext(),me,me._tooltipItems))}getTitle(context,options){const{callbacks:callbacks}=options,beforeTitle=callbacks.beforeTitle.apply(this,[context]),title=callbacks.title.apply(this,[context]),afterTitle=callbacks.afterTitle.apply(this,[context]);let lines=[];return lines=pushOrConcat(lines,splitNewlines(beforeTitle)),lines=pushOrConcat(lines,splitNewlines(title)),lines=pushOrConcat(lines,splitNewlines(afterTitle)),lines}getBeforeBody(tooltipItems,options){return getBeforeAfterBodyLines(options.callbacks.beforeBody.apply(this,[tooltipItems]))}getBody(tooltipItems,options){const me=this,{callbacks:callbacks}=options,bodyItems=[];return each(tooltipItems,(context=>{const bodyItem={before:[],lines:[],after:[]},scoped=overrideCallbacks(callbacks,context);pushOrConcat(bodyItem.before,splitNewlines(scoped.beforeLabel.call(me,context))),pushOrConcat(bodyItem.lines,scoped.label.call(me,context)),pushOrConcat(bodyItem.after,splitNewlines(scoped.afterLabel.call(me,context))),bodyItems.push(bodyItem)})),bodyItems}getAfterBody(tooltipItems,options){return getBeforeAfterBodyLines(options.callbacks.afterBody.apply(this,[tooltipItems]))}getFooter(tooltipItems,options){const{callbacks:callbacks}=options,beforeFooter=callbacks.beforeFooter.apply(this,[tooltipItems]),footer=callbacks.footer.apply(this,[tooltipItems]),afterFooter=callbacks.afterFooter.apply(this,[tooltipItems]);let lines=[];return lines=pushOrConcat(lines,splitNewlines(beforeFooter)),lines=pushOrConcat(lines,splitNewlines(footer)),lines=pushOrConcat(lines,splitNewlines(afterFooter)),lines}_createItems(options){const me=this,active=me._active,data=me._chart.data,labelColors=[],labelPointStyles=[],labelTextColors=[];let i,len,tooltipItems=[];for(i=0,len=active.length;ioptions.filter(element,index,array,data)))),options.itemSort&&(tooltipItems=tooltipItems.sort(((a,b)=>options.itemSort(a,b,data)))),each(tooltipItems,(context=>{const scoped=overrideCallbacks(options.callbacks,context);labelColors.push(scoped.labelColor.call(me,context)),labelPointStyles.push(scoped.labelPointStyle.call(me,context)),labelTextColors.push(scoped.labelTextColor.call(me,context))})),me.labelColors=labelColors,me.labelPointStyles=labelPointStyles,me.labelTextColors=labelTextColors,me.dataPoints=tooltipItems,tooltipItems}update(changed,replay){const me=this,options=me.options.setContext(me.getContext()),active=me._active;let properties,tooltipItems=[];if(active.length){const position=positioners[options.position].call(me,active,me._eventPosition);tooltipItems=me._createItems(options),me.title=me.getTitle(tooltipItems,options),me.beforeBody=me.getBeforeBody(tooltipItems,options),me.body=me.getBody(tooltipItems,options),me.afterBody=me.getAfterBody(tooltipItems,options),me.footer=me.getFooter(tooltipItems,options);const size=me._size=getTooltipSize(me,options),positionAndSize=Object.assign({},position,size),alignment=determineAlignment(me._chart,options,positionAndSize),backgroundPoint=getBackgroundPoint(options,positionAndSize,alignment,me._chart);me.xAlign=alignment.xAlign,me.yAlign=alignment.yAlign,properties={opacity:1,x:backgroundPoint.x,y:backgroundPoint.y,width:size.width,height:size.height,caretX:position.x,caretY:position.y}}else 0!==me.opacity&&(properties={opacity:0});me._tooltipItems=tooltipItems,me.$context=void 0,properties&&me._resolveAnimations().update(me,properties),changed&&options.external&&options.external.call(me,{chart:me._chart,tooltip:me,replay:replay})}drawCaret(tooltipPoint,ctx,size,options){const caretPosition=this.getCaretPosition(tooltipPoint,size,options);ctx.lineTo(caretPosition.x1,caretPosition.y1),ctx.lineTo(caretPosition.x2,caretPosition.y2),ctx.lineTo(caretPosition.x3,caretPosition.y3)}getCaretPosition(tooltipPoint,size,options){const{xAlign:xAlign,yAlign:yAlign}=this,{cornerRadius:cornerRadius,caretSize:caretSize}=options,{x:ptX,y:ptY}=tooltipPoint,{width:width,height:height}=size;let x1,x2,x3,y1,y2,y3;return"center"===yAlign?(y2=ptY+height/2,"left"===xAlign?(x1=ptX,x2=x1-caretSize,y1=y2+caretSize,y3=y2-caretSize):(x1=ptX+width,x2=x1+caretSize,y1=y2-caretSize,y3=y2+caretSize),x3=x1):(x2="left"===xAlign?ptX+cornerRadius+caretSize:"right"===xAlign?ptX+width-cornerRadius-caretSize:this.caretX,"top"===yAlign?(y1=ptY,y2=y1-caretSize,x1=x2-caretSize,x3=x2+caretSize):(y1=ptY+height,y2=y1+caretSize,x1=x2+caretSize,x3=x2-caretSize),y3=y1),{x1:x1,x2:x2,x3:x3,y1:y1,y2:y2,y3:y3}}drawTitle(pt,ctx,options){const me=this,title=me.title,length=title.length;let titleFont,titleSpacing,i;if(length){const rtlHelper=getRtlAdapter(options.rtl,me.x,me.width);for(pt.x=getAlignedX(me,options.titleAlign,options),ctx.textAlign=rtlHelper.textAlign(options.titleAlign),ctx.textBaseline="middle",titleFont=toFont(options.titleFont),titleSpacing=options.titleSpacing,ctx.fillStyle=options.titleColor,ctx.font=titleFont.string,i=0;i0!==v))?(ctx.beginPath(),ctx.fillStyle=options.multiKeyBackground,addRoundedRectPath(ctx,{x:outerX,y:colorY,w:boxWidth,h:boxHeight,radius:borderRadius}),ctx.fill(),ctx.stroke(),ctx.fillStyle=labelColors.backgroundColor,ctx.beginPath(),addRoundedRectPath(ctx,{x:innerX,y:colorY+1,w:boxWidth-2,h:boxHeight-2,radius:borderRadius}),ctx.fill()):(ctx.fillStyle=options.multiKeyBackground,ctx.fillRect(outerX,colorY,boxWidth,boxHeight),ctx.strokeRect(outerX,colorY,boxWidth,boxHeight),ctx.fillStyle=labelColors.backgroundColor,ctx.fillRect(innerX,colorY+1,boxWidth-2,boxHeight-2))}ctx.fillStyle=this.labelTextColors[i]}drawBody(pt,ctx,options){const me=this,{body:body}=me,{bodySpacing:bodySpacing,bodyAlign:bodyAlign,displayColors:displayColors,boxHeight:boxHeight,boxWidth:boxWidth}=options,bodyFont=toFont(options.bodyFont);let bodyLineHeight=bodyFont.lineHeight,xLinePadding=0;const rtlHelper=getRtlAdapter(options.rtl,me.x,me.width),fillLineOfText=function(line){ctx.fillText(line,rtlHelper.x(pt.x+xLinePadding),pt.y+bodyLineHeight/2),pt.y+=bodyLineHeight+bodySpacing},bodyAlignForCalculation=rtlHelper.textAlign(bodyAlign);let bodyItem,textColor,lines,i,j,ilen,jlen;for(ctx.textAlign=bodyAlign,ctx.textBaseline="middle",ctx.font=bodyFont.string,pt.x=getAlignedX(me,bodyAlignForCalculation,options),ctx.fillStyle=options.bodyColor,each(me.beforeBody,fillLineOfText),xLinePadding=displayColors&&"right"!==bodyAlignForCalculation?"center"===bodyAlign?boxWidth/2+1:boxWidth+2:0,i=0,ilen=body.length;i0&&ctx.stroke()}_updateAnimationTarget(options){const me=this,chart=me._chart,anims=me.$animations,animX=anims&&anims.x,animY=anims&&anims.y;if(animX||animY){const position=positioners[options.position].call(me,me._active,me._eventPosition);if(!position)return;const size=me._size=getTooltipSize(me,options),positionAndSize=Object.assign({},position,me._size),alignment=determineAlignment(chart,options,positionAndSize),point=getBackgroundPoint(options,positionAndSize,alignment,chart);animX._to===point.x&&animY._to===point.y||(me.xAlign=alignment.xAlign,me.yAlign=alignment.yAlign,me.width=size.width,me.height=size.height,me.caretX=position.x,me.caretY=position.y,me._resolveAnimations().update(me,point))}}draw(ctx){const me=this,options=me.options.setContext(me.getContext());let opacity=me.opacity;if(!opacity)return;me._updateAnimationTarget(options);const tooltipSize={width:me.width,height:me.height},pt={x:me.x,y:me.y};opacity=Math.abs(opacity)<.001?0:opacity;const padding=toPadding(options.padding),hasTooltipContent=me.title.length||me.beforeBody.length||me.body.length||me.afterBody.length||me.footer.length;options.enabled&&hasTooltipContent&&(ctx.save(),ctx.globalAlpha=opacity,me.drawBackground(pt,ctx,tooltipSize,options),overrideTextDirection(ctx,options.textDirection),pt.y+=padding.top,me.drawTitle(pt,ctx,options),me.drawBody(pt,ctx,options),me.drawFooter(pt,ctx,options),restoreTextDirection(ctx,options.textDirection),ctx.restore())}getActiveElements(){return this._active||[]}setActiveElements(activeElements,eventPosition){const me=this,lastActive=me._active,active=activeElements.map((({datasetIndex:datasetIndex,index:index})=>{const meta=me._chart.getDatasetMeta(datasetIndex);if(!meta)throw new Error("Cannot find a dataset at index "+datasetIndex);return{datasetIndex:datasetIndex,element:meta.data[index],index:index}})),changed=!_elementsEqual(lastActive,active),positionChanged=me._positionChanged(active,eventPosition);(changed||positionChanged)&&(me._active=active,me._eventPosition=eventPosition,me.update(!0))}handleEvent(e,replay){const me=this,options=me.options,lastActive=me._active||[];let changed=!1,active=[];"mouseout"!==e.type&&(active=me._chart.getElementsAtEventForMode(e,options.mode,options,replay),options.reverse&&active.reverse());const positionChanged=me._positionChanged(active,e);return changed=replay||!_elementsEqual(active,lastActive)||positionChanged,changed&&(me._active=active,(options.enabled||options.external)&&(me._eventPosition={x:e.x,y:e.y},me.update(!0,replay))),changed}_positionChanged(active,e){const{caretX:caretX,caretY:caretY,options:options}=this,position=positioners[options.position].call(this,active,e);return!1!==position&&(caretX!==position.x||caretY!==position.y)}}Tooltip.positioners=positioners;var plugin_tooltip={id:"tooltip",_element:Tooltip,positioners:positioners,afterInit(chart,_args,options){options&&(chart.tooltip=new Tooltip({_chart:chart,options:options}))},beforeUpdate(chart,_args,options){chart.tooltip&&chart.tooltip.initialize(options)},reset(chart,_args,options){chart.tooltip&&chart.tooltip.initialize(options)},afterDraw(chart){const tooltip=chart.tooltip,args={tooltip:tooltip};!1!==chart.notifyPlugins("beforeTooltipDraw",args)&&(tooltip&&tooltip.draw(chart.ctx),chart.notifyPlugins("afterTooltipDraw",args))},afterEvent(chart,args){if(chart.tooltip){const useFinalPosition=args.replay;chart.tooltip.handleEvent(args.event,useFinalPosition)&&(args.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(ctx,opts)=>opts.bodyFont.size,boxWidth:(ctx,opts)=>opts.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:noop,title(tooltipItems){if(tooltipItems.length>0){const item=tooltipItems[0],labels=item.chart.data.labels,labelCount=labels?labels.length:0;if(this&&this.options&&"dataset"===this.options.mode)return item.dataset.label||"";if(item.label)return item.label;if(labelCount>0&&item.dataIndex"filter"!==name&&"itemSort"!==name&&"external"!==name,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},plugins=Object.freeze({__proto__:null,Decimation:plugin_decimation,Filler:plugin_filler,Legend:plugin_legend,SubTitle:plugin_subtitle,Title:plugin_title,Tooltip:plugin_tooltip});function findOrAddLabel(labels,raw,index){const first=labels.indexOf(raw);if(-1===first)return((labels,raw,index)=>"string"==typeof raw?labels.push(raw)-1:isNaN(raw)?null:index)(labels,raw,index);return first!==labels.lastIndexOf(raw)?index:first}class CategoryScale extends Scale{constructor(cfg){super(cfg),this._startValue=void 0,this._valueRange=0}parse(raw,index){if(isNullOrUndef(raw))return null;const labels=this.getLabels();return((index,max)=>null===index?null:_limitValue(Math.round(index),0,max))(index=isFinite(index)&&labels[index]===raw?index:findOrAddLabel(labels,raw,valueOrDefault(index,raw)),labels.length-1)}determineDataLimits(){const me=this,{minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();let{min:min,max:max}=me.getMinMax(!0);"ticks"===me.options.bounds&&(minDefined||(min=0),maxDefined||(max=me.getLabels().length-1)),me.min=min,me.max=max}buildTicks(){const me=this,min=me.min,max=me.max,offset=me.options.offset,ticks=[];let labels=me.getLabels();labels=0===min&&max===labels.length-1?labels:labels.slice(min,max+1),me._valueRange=Math.max(labels.length-(offset?0:1),1),me._startValue=me.min-(offset?.5:0);for(let value=min;value<=max;value++)ticks.push({value:value});return ticks}getLabelForValue(value){const labels=this.getLabels();return value>=0&&valueticks.length-1?null:this.getPixelForValue(ticks[index].value)}getValueForPixel(pixel){return Math.round(this._startValue+this.getDecimalForPixel(pixel)*this._valueRange)}getBasePixel(){return this.bottom}}function relativeLabelSize(value,minSpacing,{horizontal:horizontal,minRotation:minRotation}){const rad=toRadians(minRotation),ratio=(horizontal?Math.sin(rad):Math.cos(rad))||.001,length=.75*minSpacing*(""+value).length;return Math.min(minSpacing/ratio,length)}CategoryScale.id="category",CategoryScale.defaults={ticks:{callback:CategoryScale.prototype.getLabelForValue}};class LinearScaleBase extends Scale{constructor(cfg){super(cfg),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(raw,index){return isNullOrUndef(raw)||("number"==typeof raw||raw instanceof Number)&&!isFinite(+raw)?null:+raw}handleTickRangeOptions(){const me=this,{beginAtZero:beginAtZero}=me.options,{minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();let{min:min,max:max}=me;const setMin=v=>min=minDefined?min:v,setMax=v=>max=maxDefined?max:v;if(beginAtZero){const minSign=sign(min),maxSign=sign(max);minSign<0&&maxSign<0?setMax(0):minSign>0&&maxSign>0&&setMin(0)}min===max&&(setMax(max+1),beginAtZero||setMin(min-1)),me.min=min,me.max=max}getTickLimit(){const me=this,tickOpts=me.options.ticks;let maxTicks,{maxTicksLimit:maxTicksLimit,stepSize:stepSize}=tickOpts;return stepSize?maxTicks=Math.ceil(me.max/stepSize)-Math.floor(me.min/stepSize)+1:(maxTicks=me.computeTickLimit(),maxTicksLimit=maxTicksLimit||11),maxTicksLimit&&(maxTicks=Math.min(maxTicksLimit,maxTicks)),maxTicks}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const me=this,opts=me.options,tickOpts=opts.ticks;let maxTicks=me.getTickLimit();maxTicks=Math.max(2,maxTicks);const ticks=function generateTicks$1(generationOptions,dataRange){const ticks=[],{bounds:bounds,step:step,min:min,max:max,precision:precision,count:count,maxTicks:maxTicks,maxDigits:maxDigits,includeBounds:includeBounds}=generationOptions,unit=step||1,maxSpaces=maxTicks-1,{min:rmin,max:rmax}=dataRange,minDefined=!isNullOrUndef(min),maxDefined=!isNullOrUndef(max),countDefined=!isNullOrUndef(count),minSpacing=(rmax-rmin)/(maxDigits+1);let factor,niceMin,niceMax,numSpaces,spacing=niceNum((rmax-rmin)/maxSpaces/unit)*unit;if(spacing<1e-14&&!minDefined&&!maxDefined)return[{value:rmin},{value:rmax}];numSpaces=Math.ceil(rmax/spacing)-Math.floor(rmin/spacing),numSpaces>maxSpaces&&(spacing=niceNum(numSpaces*spacing/maxSpaces/unit)*unit),isNullOrUndef(precision)||(factor=Math.pow(10,precision),spacing=Math.ceil(spacing*factor)/factor),"ticks"===bounds?(niceMin=Math.floor(rmin/spacing)*spacing,niceMax=Math.ceil(rmax/spacing)*spacing):(niceMin=rmin,niceMax=rmax),minDefined&&maxDefined&&step&&almostWhole((max-min)/step,spacing/1e3)?(numSpaces=Math.round(Math.min((max-min)/spacing,maxTicks)),spacing=(max-min)/numSpaces,niceMin=min,niceMax=max):countDefined?(niceMin=minDefined?min:niceMin,niceMax=maxDefined?max:niceMax,numSpaces=count-1,spacing=(niceMax-niceMin)/numSpaces):(numSpaces=(niceMax-niceMin)/spacing,numSpaces=almostEquals(numSpaces,Math.round(numSpaces),spacing/1e3)?Math.round(numSpaces):Math.ceil(numSpaces));const decimalPlaces=Math.max(_decimalPlaces(spacing),_decimalPlaces(niceMin));factor=Math.pow(10,isNullOrUndef(precision)?decimalPlaces:precision),niceMin=Math.round(niceMin*factor)/factor,niceMax=Math.round(niceMax*factor)/factor;let j=0;for(minDefined&&(includeBounds&&niceMin!==min?(ticks.push({value:min}),niceMin0?value:null;this._zero=!0}determineDataLimits(){const me=this,{min:min,max:max}=me.getMinMax(!0);me.min=isNumberFinite(min)?Math.max(0,min):null,me.max=isNumberFinite(max)?Math.max(0,max):null,me.options.beginAtZero&&(me._zero=!0),me.handleTickRangeOptions()}handleTickRangeOptions(){const me=this,{minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();let min=me.min,max=me.max;const setMin=v=>min=minDefined?min:v,setMax=v=>max=maxDefined?max:v,exp=(v,m)=>Math.pow(10,Math.floor(log10(v))+m);min===max&&(min<=0?(setMin(1),setMax(10)):(setMin(exp(min,-1)),setMax(exp(max,1)))),min<=0&&setMin(exp(max,-1)),max<=0&&setMax(exp(min,1)),me._zero&&me.min!==me._suggestedMin&&min===exp(me.min,0)&&setMin(exp(min,-1)),me.min=min,me.max=max}buildTicks(){const me=this,opts=me.options,ticks=function generateTicks(generationOptions,dataRange){const endExp=Math.floor(log10(dataRange.max)),endSignificand=Math.ceil(dataRange.max/Math.pow(10,endExp)),ticks=[];let tickVal=finiteOrDefault(generationOptions.min,Math.pow(10,Math.floor(log10(dataRange.min)))),exp=Math.floor(log10(tickVal)),significand=Math.floor(tickVal/Math.pow(10,exp)),precision=exp<0?Math.pow(10,Math.abs(exp)):1;do{ticks.push({value:tickVal,major:isMajor(tickVal)}),++significand,10===significand&&(significand=1,++exp,precision=exp>=0?1:precision),tickVal=Math.round(significand*Math.pow(10,exp)*precision)/precision}while(expmax?{start:pos-size,end:pos}:{start:pos,end:pos+size}}function fitWithPointLabels(scale){const furthestLimits={l:0,r:scale.width,t:0,b:scale.height-scale.paddingTop},furthestAngles={},labelSizes=[],padding=[],valueCount=scale.getLabels().length;for(let i=0;ifurthestLimits.r&&(furthestLimits.r=hLimits.end,furthestAngles.r=angleRadians),vLimits.startfurthestLimits.b&&(furthestLimits.b=vLimits.end,furthestAngles.b=angleRadians)}var ctx,font,label;scale._setReductions(scale.drawingArea,furthestLimits,furthestAngles),scale._pointLabelItems=function buildPointLabelItems(scale,labelSizes,padding){const items=[],valueCount=scale.getLabels().length,opts=scale.options,tickBackdropHeight=getTickBackdropHeight(opts),outerDistance=scale.getDistanceFromCenterForValue(opts.ticks.reverse?scale.min:scale.max);for(let i=0;i270||angle<90)&&(y-=h),y}function pathRadiusLine(scale,radius,circular,labelCount){const{ctx:ctx}=scale;if(circular)ctx.arc(scale.xCenter,scale.yCenter,radius,0,TAU);else{let pointPosition=scale.getPointPosition(0,radius);ctx.moveTo(pointPosition.x,pointPosition.y);for(let i=1;i{const label=callback(me.options.pointLabels.callback,[value,index],me);return label||0===label?label:""}))}fit(){const me=this,opts=me.options;opts.display&&opts.pointLabels.display?fitWithPointLabels(me):me.setCenterPoint(0,0,0,0)}_setReductions(largestPossibleRadius,furthestLimits,furthestAngles){const me=this;let radiusReductionLeft=furthestLimits.l/Math.sin(furthestAngles.l),radiusReductionRight=Math.max(furthestLimits.r-me.width,0)/Math.sin(furthestAngles.r),radiusReductionTop=-furthestLimits.t/Math.cos(furthestAngles.t),radiusReductionBottom=-Math.max(furthestLimits.b-(me.height-me.paddingTop),0)/Math.cos(furthestAngles.b);radiusReductionLeft=numberOrZero(radiusReductionLeft),radiusReductionRight=numberOrZero(radiusReductionRight),radiusReductionTop=numberOrZero(radiusReductionTop),radiusReductionBottom=numberOrZero(radiusReductionBottom),me.drawingArea=Math.max(largestPossibleRadius/2,Math.min(Math.floor(largestPossibleRadius-(radiusReductionLeft+radiusReductionRight)/2),Math.floor(largestPossibleRadius-(radiusReductionTop+radiusReductionBottom)/2))),me.setCenterPoint(radiusReductionLeft,radiusReductionRight,radiusReductionTop,radiusReductionBottom)}setCenterPoint(leftMovement,rightMovement,topMovement,bottomMovement){const me=this,maxRight=me.width-rightMovement-me.drawingArea,maxLeft=leftMovement+me.drawingArea,maxTop=topMovement+me.drawingArea,maxBottom=me.height-me.paddingTop-bottomMovement-me.drawingArea;me.xCenter=Math.floor((maxLeft+maxRight)/2+me.left),me.yCenter=Math.floor((maxTop+maxBottom)/2+me.top+me.paddingTop)}getIndexAngle(index){return _normalizeAngle(index*(TAU/this.getLabels().length)+toRadians(this.options.startAngle||0))}getDistanceFromCenterForValue(value){const me=this;if(isNullOrUndef(value))return NaN;const scalingFactor=me.drawingArea/(me.max-me.min);return me.options.reverse?(me.max-value)*scalingFactor:(value-me.min)*scalingFactor}getValueForDistanceFromCenter(distance){if(isNullOrUndef(distance))return NaN;const me=this,scaledDistance=distance/(me.drawingArea/(me.max-me.min));return me.options.reverse?me.max-scaledDistance:me.min+scaledDistance}getPointPosition(index,distanceFromCenter){const angle=this.getIndexAngle(index)-HALF_PI;return{x:Math.cos(angle)*distanceFromCenter+this.xCenter,y:Math.sin(angle)*distanceFromCenter+this.yCenter,angle:angle}}getPointPositionForValue(index,value){return this.getPointPosition(index,this.getDistanceFromCenterForValue(value))}getBasePosition(index){return this.getPointPositionForValue(index||0,this.getBaseValue())}getPointLabelPosition(index){const{left:left,top:top,right:right,bottom:bottom}=this._pointLabelItems[index];return{left:left,top:top,right:right,bottom:bottom}}drawBackground(){const me=this,{backgroundColor:backgroundColor,grid:{circular:circular}}=me.options;if(backgroundColor){const ctx=me.ctx;ctx.save(),ctx.beginPath(),pathRadiusLine(me,me.getDistanceFromCenterForValue(me._endValue),circular,me.getLabels().length),ctx.closePath(),ctx.fillStyle=backgroundColor,ctx.fill(),ctx.restore()}}drawGrid(){const me=this,ctx=me.ctx,opts=me.options,{angleLines:angleLines,grid:grid}=opts,labelCount=me.getLabels().length;let i,offset,position;if(opts.pointLabels.display&&function drawPointLabels(scale,labelCount){const{ctx:ctx,options:{pointLabels:pointLabels}}=scale;for(let i=labelCount-1;i>=0;i--){const optsAtIndex=pointLabels.setContext(scale.getContext(i)),plFont=toFont(optsAtIndex.font),{x:x,y:y,textAlign:textAlign,left:left,top:top,right:right,bottom:bottom}=scale._pointLabelItems[i],{backdropColor:backdropColor}=optsAtIndex;if(!isNullOrUndef(backdropColor)){const padding=toPadding(optsAtIndex.backdropPadding);ctx.fillStyle=backdropColor,ctx.fillRect(left-padding.left,top-padding.top,right-left+padding.width,bottom-top+padding.height)}renderText(ctx,scale._pointLabels[i],x,y+plFont.lineHeight/2,plFont,{color:optsAtIndex.color,textAlign:textAlign,textBaseline:"middle"})}}(me,labelCount),grid.display&&me.ticks.forEach(((tick,index)=>{if(0!==index){offset=me.getDistanceFromCenterForValue(tick.value);const optsAtIndex=grid.setContext(me.getContext(index-1));!function drawRadiusLine(scale,gridLineOpts,radius,labelCount){const ctx=scale.ctx,circular=gridLineOpts.circular,{color:color,lineWidth:lineWidth}=gridLineOpts;!circular&&!labelCount||!color||!lineWidth||radius<0||(ctx.save(),ctx.strokeStyle=color,ctx.lineWidth=lineWidth,ctx.setLineDash(gridLineOpts.borderDash),ctx.lineDashOffset=gridLineOpts.borderDashOffset,ctx.beginPath(),pathRadiusLine(scale,radius,circular,labelCount),ctx.closePath(),ctx.stroke(),ctx.restore())}(me,optsAtIndex,offset,labelCount)}})),angleLines.display){for(ctx.save(),i=me.getLabels().length-1;i>=0;i--){const optsAtIndex=angleLines.setContext(me.getContext(i)),{color:color,lineWidth:lineWidth}=optsAtIndex;lineWidth&&color&&(ctx.lineWidth=lineWidth,ctx.strokeStyle=color,ctx.setLineDash(optsAtIndex.borderDash),ctx.lineDashOffset=optsAtIndex.borderDashOffset,offset=me.getDistanceFromCenterForValue(opts.ticks.reverse?me.min:me.max),position=me.getPointPosition(i,offset),ctx.beginPath(),ctx.moveTo(me.xCenter,me.yCenter),ctx.lineTo(position.x,position.y),ctx.stroke())}ctx.restore()}}drawBorder(){}drawLabels(){const me=this,ctx=me.ctx,opts=me.options,tickOpts=opts.ticks;if(!tickOpts.display)return;const startAngle=me.getIndexAngle(0);let offset,width;ctx.save(),ctx.translate(me.xCenter,me.yCenter),ctx.rotate(startAngle),ctx.textAlign="center",ctx.textBaseline="middle",me.ticks.forEach(((tick,index)=>{if(0===index&&!opts.reverse)return;const optsAtIndex=tickOpts.setContext(me.getContext(index)),tickFont=toFont(optsAtIndex.font);if(offset=me.getDistanceFromCenterForValue(me.ticks[index].value),optsAtIndex.showLabelBackdrop){ctx.font=tickFont.string,width=ctx.measureText(tick.label).width,ctx.fillStyle=optsAtIndex.backdropColor;const padding=toPadding(optsAtIndex.backdropPadding);ctx.fillRect(-width/2-padding.left,-offset-tickFont.size/2-padding.top,width+padding.width,tickFont.size+padding.height)}renderText(ctx,tick.label,0,-offset,tickFont,{color:optsAtIndex.color})})),ctx.restore()}drawTitle(){}}RadialLinearScale.id="radialLinear",RadialLinearScale.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ticks.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:label=>label,padding:5}},RadialLinearScale.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},RadialLinearScale.descriptors={angleLines:{_fallback:"grid"}};const INTERVALS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},UNITS=Object.keys(INTERVALS);function sorter(a,b){return a-b}function parse(scale,input){if(isNullOrUndef(input))return null;const adapter=scale._adapter,{parser:parser,round:round,isoWeekday:isoWeekday}=scale._parseOpts;let value=input;return"function"==typeof parser&&(value=parser(value)),isNumberFinite(value)||(value="string"==typeof parser?adapter.parse(value,parser):adapter.parse(value)),null===value?null:(round&&(value="week"!==round||!isNumber(isoWeekday)&&!0!==isoWeekday?adapter.startOf(value,round):adapter.startOf(value,"isoWeek",isoWeekday)),+value)}function determineUnitForAutoTicks(minUnit,min,max,capacity){const ilen=UNITS.length;for(let i=UNITS.indexOf(minUnit);i=time?timestamps[lo]:timestamps[hi]]=!0}}else ticks[time]=!0}function ticksFromTimestamps(scale,values,majorUnit){const ticks=[],map={},ilen=values.length;let i,value;for(i=0;i=0&&(ticks[index].major=!0);return ticks}(scale,ticks,map,majorUnit):ticks}class TimeScale extends Scale{constructor(props){super(props),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(scaleOpts,opts){const time=scaleOpts.time||(scaleOpts.time={}),adapter=this._adapter=new _adapters._date(scaleOpts.adapters.date);mergeIf(time.displayFormats,adapter.formats()),this._parseOpts={parser:time.parser,round:time.round,isoWeekday:time.isoWeekday},super.init(scaleOpts),this._normalized=opts.normalized}parse(raw,index){return void 0===raw?null:parse(this,raw)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const me=this,options=me.options,adapter=me._adapter,unit=options.time.unit||"day";let{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();function _applyBounds(bounds){minDefined||isNaN(bounds.min)||(min=Math.min(min,bounds.min)),maxDefined||isNaN(bounds.max)||(max=Math.max(max,bounds.max))}minDefined&&maxDefined||(_applyBounds(me._getLabelBounds()),"ticks"===options.bounds&&"labels"===options.ticks.source||_applyBounds(me.getMinMax(!1))),min=isNumberFinite(min)&&!isNaN(min)?min:+adapter.startOf(Date.now(),unit),max=isNumberFinite(max)&&!isNaN(max)?max:+adapter.endOf(Date.now(),unit)+1,me.min=Math.min(min,max-1),me.max=Math.max(min+1,max)}_getLabelBounds(){const arr=this.getLabelTimestamps();let min=Number.POSITIVE_INFINITY,max=Number.NEGATIVE_INFINITY;return arr.length&&(min=arr[0],max=arr[arr.length-1]),{min:min,max:max}}buildTicks(){const me=this,options=me.options,timeOpts=options.time,tickOpts=options.ticks,timestamps="labels"===tickOpts.source?me.getLabelTimestamps():me._generate();"ticks"===options.bounds&×tamps.length&&(me.min=me._userMin||timestamps[0],me.max=me._userMax||timestamps[timestamps.length-1]);const min=me.min,ticks=_filterBetween(timestamps,min,me.max);return me._unit=timeOpts.unit||(tickOpts.autoSkip?determineUnitForAutoTicks(timeOpts.minUnit,me.min,me.max,me._getLabelCapacity(min)):function determineUnitForFormatting(scale,numTicks,minUnit,min,max){for(let i=UNITS.length-1;i>=UNITS.indexOf(minUnit);i--){const unit=UNITS[i];if(INTERVALS[unit].common&&scale._adapter.diff(max,min,unit)>=numTicks-1)return unit}return UNITS[minUnit?UNITS.indexOf(minUnit):0]}(me,ticks.length,timeOpts.minUnit,me.min,me.max)),me._majorUnit=tickOpts.major.enabled&&"year"!==me._unit?function determineMajorUnit(unit){for(let i=UNITS.indexOf(unit)+1,ilen=UNITS.length;i1e5*stepSize)throw new Error(min+" and "+max+" are too far apart with stepSize of "+stepSize+" "+minor);const timestamps="data"===options.ticks.source&&me.getDataTimestamps();for(time=first,count=0;timea-b)).map((x=>+x))}getLabelForValue(value){const adapter=this._adapter,timeOpts=this.options.time;return timeOpts.tooltipFormat?adapter.format(value,timeOpts.tooltipFormat):adapter.format(value,timeOpts.displayFormats.datetime)}_tickFormatFunction(time,index,ticks,format){const me=this,options=me.options,formats=options.time.displayFormats,unit=me._unit,majorUnit=me._majorUnit,minorFormat=unit&&formats[unit],majorFormat=majorUnit&&formats[majorUnit],tick=ticks[index],major=majorUnit&&majorFormat&&tick&&tick.major,label=me._adapter.format(time,format||(major?majorFormat:minorFormat)),formatter=options.ticks.callback;return formatter?callback(formatter,[label,index,ticks],me):label}generateTickLabels(ticks){let i,ilen,tick;for(i=0,ilen=ticks.length;i0?capacity:1}getDataTimestamps(){const me=this;let i,ilen,timestamps=me._cache.data||[];if(timestamps.length)return timestamps;const metas=me.getMatchingVisibleMetas();if(me._normalized&&metas.length)return me._cache.data=metas[0].controller.getAllParsedValues(me);for(i=0,ilen=metas.length;i=table[lo].pos&&val<=table[hi].pos&&({lo:lo,hi:hi}=_lookupByKey(table,"pos",val)),({pos:prevSource,time:prevTarget}=table[lo]),({pos:nextSource,time:nextTarget}=table[hi])):(val>=table[lo].time&&val<=table[hi].time&&({lo:lo,hi:hi}=_lookupByKey(table,"time",val)),({time:prevSource,pos:prevTarget}=table[lo]),({time:nextSource,pos:nextTarget}=table[hi]));const span=nextSource-prevSource;return span?prevTarget+(nextTarget-prevTarget)*(val-prevSource)/span:prevTarget}TimeScale.id="time",TimeScale.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class TimeSeriesScale extends TimeScale{constructor(props){super(props),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const me=this,timestamps=me._getTimestampsForTable(),table=me._table=me.buildLookupTable(timestamps);me._minPos=interpolate(table,me.min),me._tableRange=interpolate(table,me.max)-me._minPos,super.initOffsets(timestamps)}buildLookupTable(timestamps){const{min:min,max:max}=this,items=[],table=[];let i,ilen,prev,curr,next;for(i=0,ilen=timestamps.length;i=min&&curr<=max&&items.push(curr);if(items.length<2)return[{time:min,pos:0},{time:max,pos:1}];for(i=0,ilen=items.length;ihex[15&b],h2=b=>hex[(240&b)>>4]+hex[15&b],eq=b=>(240&b)>>4==(15&b);function hexString(v){var f=function isShort(v){return eq(v.r)&&eq(v.g)&&eq(v.b)&&eq(v.a)}(v)?h1:h2;return v?"#"+f(v.r)+f(v.g)+f(v.b)+(v.a<255?f(v.a):""):v}function round(v){return v+.5|0}const lim=(v,l,h)=>Math.max(Math.min(v,h),l);function p2b(v){return lim(round(2.55*v),0,255)}function n2b(v){return lim(round(255*v),0,255)}function b2n(v){return lim(round(v/2.55)/100,0,1)}function n2p(v){return lim(round(100*v),0,100)}const RGB_RE=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const HUE_RE=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function hsl2rgbn(h,s,l){const a=s*Math.min(l,1-l),f=(n,k=(n+h/30)%12)=>l-a*Math.max(Math.min(k-3,9-k,1),-1);return[f(0),f(8),f(4)]}function hsv2rgbn(h,s,v){const f=(n,k=(n+h/60)%6)=>v-v*s*Math.max(Math.min(k,4-k,1),0);return[f(5),f(3),f(1)]}function hwb2rgbn(h,w,b){const rgb=hsl2rgbn(h,1,.5);let i;for(w+b>1&&(i=1/(w+b),w*=i,b*=i),i=0;i<3;i++)rgb[i]*=1-w-b,rgb[i]+=w;return rgb}function rgb2hsl(v){const r=v.r/255,g=v.g/255,b=v.b/255,max=Math.max(r,g,b),min=Math.min(r,g,b),l=(max+min)/2;let h,s,d;return max!==min&&(d=max-min,s=l>.5?d/(2-max-min):d/(max+min),h=max===r?(g-b)/d+(g>16&255,k>>8&255,255&k]}return unpacked}(),names$1.transparent=[0,0,0,0]);const a=names$1[str.toLowerCase()];return a&&{r:a[0],g:a[1],b:a[2],a:4===a.length?a[3]:255}}function modHSL(v,i,ratio){if(v){let tmp=rgb2hsl(v);tmp[i]=Math.max(0,Math.min(tmp[i]+tmp[i]*ratio,0===i?360:1)),tmp=hsl2rgb(tmp),v.r=tmp[0],v.g=tmp[1],v.b=tmp[2]}}function clone$1(v,proto){return v?Object.assign(proto||{},v):v}function fromObject(input){var v={r:0,g:0,b:0,a:255};return Array.isArray(input)?input.length>=3&&(v={r:input[0],g:input[1],b:input[2],a:255},input.length>3&&(v.a=n2b(input[3]))):(v=clone$1(input,{r:0,g:0,b:0,a:1})).a=n2b(v.a),v}function functionParse(str){return"r"===str.charAt(0)?function rgbParse(str){const m=RGB_RE.exec(str);let r,g,b,a=255;if(m){if(m[7]!==r){const v=+m[7];a=255&(m[8]?p2b(v):255*v)}return r=+m[1],g=+m[3],b=+m[5],r=255&(m[2]?p2b(r):r),g=255&(m[4]?p2b(g):g),b=255&(m[6]?p2b(b):b),{r:r,g:g,b:b,a:a}}}(str):hueParse(str)}class Color{constructor(input){if(input instanceof Color)return input;const type=typeof input;let v;"object"===type?v=fromObject(input):"string"===type&&(v=function hexParse(str){var ret,len=str.length;return"#"===str[0]&&(4===len||5===len?ret={r:255&17*map$1[str[1]],g:255&17*map$1[str[2]],b:255&17*map$1[str[3]],a:5===len?17*map$1[str[4]]:255}:7!==len&&9!==len||(ret={r:map$1[str[1]]<<4|map$1[str[2]],g:map$1[str[3]]<<4|map$1[str[4]],b:map$1[str[5]]<<4|map$1[str[6]],a:9===len?map$1[str[7]]<<4|map$1[str[8]]:255})),ret}(input)||nameParse(input)||functionParse(input)),this._rgb=v,this._valid=!!v}get valid(){return this._valid}get rgb(){var v=clone$1(this._rgb);return v&&(v.a=b2n(v.a)),v}set rgb(obj){this._rgb=fromObject(obj)}rgbString(){return this._valid?function rgbString(v){return v&&(v.a<255?`rgba(${v.r}, ${v.g}, ${v.b}, ${b2n(v.a)})`:`rgb(${v.r}, ${v.g}, ${v.b})`)}(this._rgb):this._rgb}hexString(){return this._valid?hexString(this._rgb):this._rgb}hslString(){return this._valid?function hslString(v){if(!v)return;const a=rgb2hsl(v),h=a[0],s=n2p(a[1]),l=n2p(a[2]);return v.a<255?`hsla(${h}, ${s}%, ${l}%, ${b2n(v.a)})`:`hsl(${h}, ${s}%, ${l}%)`}(this._rgb):this._rgb}mix(color,weight){const me=this;if(color){const c1=me.rgb,c2=color.rgb;let w2;const p=weight===w2?.5:weight,w=2*p-1,a=c1.a-c2.a,w1=((w*a==-1?w:(w+a)/(1+w*a))+1)/2;w2=1-w1,c1.r=255&w1*c1.r+w2*c2.r+.5,c1.g=255&w1*c1.g+w2*c2.g+.5,c1.b=255&w1*c1.b+w2*c2.b+.5,c1.a=p*c1.a+(1-p)*c2.a,me.rgb=c1}return me}clone(){return new Color(this.rgb)}alpha(a){return this._rgb.a=n2b(a),this}clearer(ratio){return this._rgb.a*=1-ratio,this}greyscale(){const rgb=this._rgb,val=round(.3*rgb.r+.59*rgb.g+.11*rgb.b);return rgb.r=rgb.g=rgb.b=val,this}opaquer(ratio){return this._rgb.a*=1+ratio,this}negate(){const v=this._rgb;return v.r=255-v.r,v.g=255-v.g,v.b=255-v.b,this}lighten(ratio){return modHSL(this._rgb,2,ratio),this}darken(ratio){return modHSL(this._rgb,2,-ratio),this}saturate(ratio){return modHSL(this._rgb,1,ratio),this}desaturate(ratio){return modHSL(this._rgb,1,-ratio),this}rotate(deg){return function rotate(v,deg){var h=rgb2hsl(v);h[0]=hue(h[0]+deg),h=hsl2rgb(h),v.r=h[0],v.g=h[1],v.b=h[2]}(this._rgb,deg),this}}function index_esm(input){return new Color(input)}const isPatternOrGradient=value=>value instanceof CanvasGradient||value instanceof CanvasPattern;function color(value){return isPatternOrGradient(value)?value:index_esm(value)}function getHoverColor(value){return isPatternOrGradient(value)?value:index_esm(value).saturate(.5).darken(.1).hexString()}function noop(){}const uid=function(){let id=0;return function(){return id++}}();function isNullOrUndef(value){return null==value}function isArray(value){if(Array.isArray&&Array.isArray(value))return!0;const type=Object.prototype.toString.call(value);return"[object"===type.substr(0,7)&&"Array]"===type.substr(-6)}function isObject(value){return null!==value&&"[object Object]"===Object.prototype.toString.call(value)}const isNumberFinite=value=>("number"==typeof value||value instanceof Number)&&isFinite(+value);function finiteOrDefault(value,defaultValue){return isNumberFinite(value)?value:defaultValue}function valueOrDefault(value,defaultValue){return void 0===value?defaultValue:value}const toPercentage=(value,dimension)=>"string"==typeof value&&value.endsWith("%")?parseFloat(value)/100:value/dimension,toDimension=(value,dimension)=>"string"==typeof value&&value.endsWith("%")?parseFloat(value)/100*dimension:+value;function callback(fn,args,thisArg){if(fn&&"function"==typeof fn.call)return fn.apply(thisArg,args)}function each(loopable,fn,thisArg,reverse){let i,len,keys;if(isArray(loopable))if(len=loopable.length,reverse)for(i=len-1;i>=0;i--)fn.call(thisArg,loopable[i],i);else for(i=0;ipos;)obj=obj[key.substr(pos,idx-pos)],pos=idx+1,idx=indexOfDotOrLength(key,pos);return obj}function _capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}const defined=value=>void 0!==value,isFunction=value=>"function"==typeof value,setsEqual=(a,b)=>{if(a.size!==b.size)return!1;for(const item of a)if(!b.has(item))return!1;return!0},overrides=Object.create(null),descriptors=Object.create(null);function getScope$1(node,key){if(!key)return node;const keys=key.split(".");for(let i=0,n=keys.length;icontext.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(ctx,options)=>getHoverColor(options.backgroundColor),this.hoverBorderColor=(ctx,options)=>getHoverColor(options.borderColor),this.hoverColor=(ctx,options)=>getHoverColor(options.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(_descriptors)}set(scope,values){return set(this,scope,values)}get(scope){return getScope$1(this,scope)}describe(scope,values){return set(descriptors,scope,values)}override(scope,values){return set(overrides,scope,values)}route(scope,name,targetScope,targetName){const scopeObject=getScope$1(this,scope),targetScopeObject=getScope$1(this,targetScope),privateName="_"+name;Object.defineProperties(scopeObject,{[privateName]:{value:scopeObject[name],writable:!0},[name]:{enumerable:!0,get(){const local=this[privateName],target=targetScopeObject[targetName];return isObject(local)?Object.assign({},target,local):valueOrDefault(local,target)},set(value){this[privateName]=value}}})}}({_scriptable:name=>!name.startsWith("on"),_indexable:name=>"events"!==name,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});const PI=Math.PI,TAU=2*PI,PITAU=TAU+PI,INFINITY=Number.POSITIVE_INFINITY,RAD_PER_DEG=PI/180,HALF_PI=PI/2,QUARTER_PI=PI/4,TWO_THIRDS_PI=2*PI/3,log10=Math.log10,sign=Math.sign;function niceNum(range){const roundedRange=Math.round(range);range=almostEquals(range,roundedRange,range/1e3)?roundedRange:range;const niceRange=Math.pow(10,Math.floor(log10(range))),fraction=range/niceRange;return(fraction<=1?1:fraction<=2?2:fraction<=5?5:10)*niceRange}function _factorize(value){const result=[],sqrt=Math.sqrt(value);let i;for(i=1;ia-b)).pop(),result}function isNumber(n){return!isNaN(parseFloat(n))&&isFinite(n)}function almostEquals(x,y,epsilon){return Math.abs(x-y)=x}function _setMinAndMaxByKey(array,target,property){let i,ilen,value;for(i=0,ilen=array.length;iangleToEnd&&startToAnglelongest&&(longest=textWidth),longest}function _longestText(ctx,font,arrayOfThings,cache){let data=(cache=cache||{}).data=cache.data||{},gc=cache.garbageCollect=cache.garbageCollect||[];cache.font!==font&&(data=cache.data={},gc=cache.garbageCollect=[],cache.font=font),ctx.save(),ctx.font=font;let longest=0;const ilen=arrayOfThings.length;let i,j,jlen,thing,nestedThing;for(i=0;iarrayOfThings.length){for(i=0;i0&&ctx.stroke()}}function _isPointInArea(point,area,margin){return margin=margin||.5,!area||point&&point.x>area.left-margin&&point.xarea.top-margin&&point.y0&&""!==opts.strokeColor;let i,line;for(ctx.save(),ctx.font=font.string,function setRenderOpts(ctx,opts){opts.translation&&ctx.translate(opts.translation[0],opts.translation[1]);isNullOrUndef(opts.rotation)||ctx.rotate(opts.rotation);opts.color&&(ctx.fillStyle=opts.color);opts.textAlign&&(ctx.textAlign=opts.textAlign);opts.textBaseline&&(ctx.textBaseline=opts.textBaseline)}(ctx,opts),i=0;itable[index]1;)mid=lo+hi>>1,cmp(mid)?lo=mid:hi=mid;return{lo:lo,hi:hi}}const _lookupByKey=(table,key,value)=>_lookup(table,value,(index=>table[index][key]_lookup(table,value,(index=>table[index][key]>=value));function _filterBetween(values,min,max){let start=0,end=values.length;for(;startstart&&values[end-1]>max;)end--;return start>0||end{const method="_onData"+_capitalize(key),base=array[key];Object.defineProperty(array,key,{configurable:!0,enumerable:!1,value(...args){const res=base.apply(this,args);return array._chartjs.listeners.forEach((object=>{"function"==typeof object[method]&&object[method](...args)})),res}})})))}function unlistenArrayEvents(array,listener){const stub=array._chartjs;if(!stub)return;const listeners=stub.listeners,index=listeners.indexOf(listener);-1!==index&&listeners.splice(index,1),listeners.length>0||(arrayEvents.forEach((key=>{delete array[key]})),delete array._chartjs)}function _arrayUnique(items){const set=new Set;let i,ilen;for(i=0,ilen=items.length;iwindow.getComputedStyle(element,null);function getStyle(el,property){return getComputedStyle(el).getPropertyValue(property)}const positions=["top","right","bottom","left"];function getPositionedStyle(styles,style,suffix){const result={};suffix=suffix?"-"+suffix:"";for(let i=0;i<4;i++){const pos=positions[i];result[pos]=parseFloat(styles[style+"-"+pos+suffix])||0}return result.width=result.left+result.right,result.height=result.top+result.bottom,result}function getRelativePosition$1(evt,chart){const{canvas:canvas,currentDevicePixelRatio:currentDevicePixelRatio}=chart,style=getComputedStyle(canvas),borderBox="border-box"===style.boxSizing,paddings=getPositionedStyle(style,"padding"),borders=getPositionedStyle(style,"border","width"),{x:x,y:y,box:box}=function getCanvasPosition(evt,canvas){const e=evt.native||evt,touches=e.touches,source=touches&&touches.length?touches[0]:e,{offsetX:offsetX,offsetY:offsetY}=source;let x,y,box=!1;if(((x,y,target)=>(x>0||y>0)&&(!target||!target.shadowRoot))(offsetX,offsetY,e.target))x=offsetX,y=offsetY;else{const rect=canvas.getBoundingClientRect();x=source.clientX-rect.left,y=source.clientY-rect.top,box=!0}return{x:x,y:y,box:box}}(evt,canvas),xOffset=paddings.left+(box&&borders.left),yOffset=paddings.top+(box&&borders.top);let{width:width,height:height}=chart;return borderBox&&(width-=paddings.width+borders.width,height-=paddings.height+borders.height),{x:Math.round((x-xOffset)/width*canvas.width/currentDevicePixelRatio),y:Math.round((y-yOffset)/height*canvas.height/currentDevicePixelRatio)}}const round1=v=>Math.round(10*v)/10;function getMaximumSize(canvas,bbWidth,bbHeight,aspectRatio){const style=getComputedStyle(canvas),margins=getPositionedStyle(style,"margin"),maxWidth=parseMaxStyle(style.maxWidth,canvas,"clientWidth")||INFINITY,maxHeight=parseMaxStyle(style.maxHeight,canvas,"clientHeight")||INFINITY,containerSize=function getContainerSize(canvas,width,height){let maxWidth,maxHeight;if(void 0===width||void 0===height){const container=_getParentNode(canvas);if(container){const rect=container.getBoundingClientRect(),containerStyle=getComputedStyle(container),containerBorder=getPositionedStyle(containerStyle,"border","width"),containerPadding=getPositionedStyle(containerStyle,"padding");width=rect.width-containerPadding.width-containerBorder.width,height=rect.height-containerPadding.height-containerBorder.height,maxWidth=parseMaxStyle(containerStyle.maxWidth,container,"clientWidth"),maxHeight=parseMaxStyle(containerStyle.maxHeight,container,"clientHeight")}else width=canvas.clientWidth,height=canvas.clientHeight}return{width:width,height:height,maxWidth:maxWidth||INFINITY,maxHeight:maxHeight||INFINITY}}(canvas,bbWidth,bbHeight);let{width:width,height:height}=containerSize;if("content-box"===style.boxSizing){const borders=getPositionedStyle(style,"border","width"),paddings=getPositionedStyle(style,"padding");width-=paddings.width+borders.width,height-=paddings.height+borders.height}return width=Math.max(0,width-margins.width),height=Math.max(0,aspectRatio?Math.floor(width/aspectRatio):height-margins.height),width=round1(Math.min(width,maxWidth,containerSize.maxWidth)),height=round1(Math.min(height,maxHeight,containerSize.maxHeight)),width&&!height&&(height=round1(width/2)),{width:width,height:height}}function retinaScale(chart,forceRatio,forceStyle){const pixelRatio=forceRatio||1,deviceHeight=Math.floor(chart.height*pixelRatio),deviceWidth=Math.floor(chart.width*pixelRatio);chart.height=deviceHeight/pixelRatio,chart.width=deviceWidth/pixelRatio;const canvas=chart.canvas;return canvas.style&&(forceStyle||!canvas.style.height&&!canvas.style.width)&&(canvas.style.height=`${chart.height}px`,canvas.style.width=`${chart.width}px`),(chart.currentDevicePixelRatio!==pixelRatio||canvas.height!==deviceHeight||canvas.width!==deviceWidth)&&(chart.currentDevicePixelRatio=pixelRatio,canvas.height=deviceHeight,canvas.width=deviceWidth,chart.ctx.setTransform(pixelRatio,0,0,pixelRatio,0,0),!0)}const supportsEventListenerOptions=function(){let passiveSupported=!1;try{const options={get passive(){return passiveSupported=!0,!1}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(e){}return passiveSupported}();function readUsedSize(element,property){const value=getStyle(element,property),matches=value&&value.match(/^(\d+)(\.\d+)?px$/);return matches?+matches[1]:void 0}function getRelativePosition(e,chart){return"native"in e?{x:e.x,y:e.y}:getRelativePosition$1(e,chart)}function binarySearch(metaset,axis,value,intersect){const{controller:controller,data:data,_sorted:_sorted}=metaset,iScale=controller._cachedMeta.iScale;if(iScale&&axis===iScale.axis&&_sorted&&data.length){const lookupMethod=iScale._reversePixels?_rlookupByKey:_lookupByKey;if(!intersect)return lookupMethod(data,axis,value);if(controller._sharedOptions){const el=data[0],range="function"==typeof el.getRange&&el.getRange(axis);if(range){const start=lookupMethod(data,axis,value-range),end=lookupMethod(data,axis,value+range);return{lo:start.lo,hi:end.hi}}}}return{lo:0,hi:data.length-1}}function optimizedEvaluateItems(chart,axis,position,handler,intersect){const metasets=chart.getSortedVisibleDatasetMetas(),value=position[axis];for(let i=0,ilen=metasets.length;i{element[rangeMethod](position[axis],useFinalPosition)&&items.push({element:element,datasetIndex:datasetIndex,index:index}),element.inRange(position.x,position.y,useFinalPosition)&&(intersectsItem=!0)})),options.intersect&&!intersectsItem?[]:items}var Interaction={modes:{index(chart,e,options,useFinalPosition){const position=getRelativePosition(e,chart),axis=options.axis||"x",items=options.intersect?getIntersectItems(chart,position,axis,useFinalPosition):getNearestItems(chart,position,axis,!1,useFinalPosition),elements=[];return items.length?(chart.getSortedVisibleDatasetMetas().forEach((meta=>{const index=items[0].index,element=meta.data[index];element&&!element.skip&&elements.push({element:element,datasetIndex:meta.index,index:index})})),elements):[]},dataset(chart,e,options,useFinalPosition){const position=getRelativePosition(e,chart),axis=options.axis||"xy";let items=options.intersect?getIntersectItems(chart,position,axis,useFinalPosition):getNearestItems(chart,position,axis,!1,useFinalPosition);if(items.length>0){const datasetIndex=items[0].datasetIndex,data=chart.getDatasetMeta(datasetIndex).data;items=[];for(let i=0;igetIntersectItems(chart,getRelativePosition(e,chart),options.axis||"xy",useFinalPosition),nearest:(chart,e,options,useFinalPosition)=>getNearestItems(chart,getRelativePosition(e,chart),options.axis||"xy",options.intersect,useFinalPosition),x:(chart,e,options,useFinalPosition)=>(options.axis="x",getAxisItems(chart,e,options,useFinalPosition)),y:(chart,e,options,useFinalPosition)=>(options.axis="y",getAxisItems(chart,e,options,useFinalPosition))}};const LINE_HEIGHT=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),FONT_STYLE=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function toLineHeight(value,size){const matches=(""+value).match(LINE_HEIGHT);if(!matches||"normal"===matches[1])return 1.2*size;switch(value=+matches[2],matches[3]){case"px":return value;case"%":value/=100}return size*value}function _readValueToProps(value,props){const ret={},objProps=isObject(props),keys=objProps?Object.keys(props):props,read=isObject(value)?objProps?prop=>valueOrDefault(value[prop],value[props[prop]]):prop=>value[prop]:()=>value;for(const prop of keys)ret[prop]=+read(prop)||0;return ret}function toTRBL(value){return _readValueToProps(value,{top:"y",right:"x",bottom:"y",left:"x"})}function toTRBLCorners(value){return _readValueToProps(value,["topLeft","topRight","bottomLeft","bottomRight"])}function toPadding(value){const obj=toTRBL(value);return obj.width=obj.left+obj.right,obj.height=obj.top+obj.bottom,obj}function toFont(options,fallback){options=options||{},fallback=fallback||defaults.font;let size=valueOrDefault(options.size,fallback.size);"string"==typeof size&&(size=parseInt(size,10));let style=valueOrDefault(options.style,fallback.style);style&&!(""+style).match(FONT_STYLE)&&(console.warn('Invalid font style specified: "'+style+'"'),style="");const font={family:valueOrDefault(options.family,fallback.family),lineHeight:toLineHeight(valueOrDefault(options.lineHeight,fallback.lineHeight),size),size:size,style:style,weight:valueOrDefault(options.weight,fallback.weight),string:""};return font.string=toFontString(font),font}function resolve(inputs,context,index,info){let i,ilen,value,cacheable=!0;for(i=0,ilen=inputs.length;iv.pos===position))}function filterDynamicPositionByAxis(array,axis){return array.filter((v=>-1===STATIC_POSITIONS.indexOf(v.pos)&&v.box.axis===axis))}function sortByWeight(array,reverse){return array.sort(((a,b)=>{const v0=reverse?b:a,v1=reverse?a:b;return v0.weight===v1.weight?v0.index-v1.index:v0.weight-v1.weight}))}function setLayoutDims(layouts,params){const stacks=function buildStacks(layouts){const stacks={};for(const wrap of layouts){const{stack:stack,pos:pos,stackWeight:stackWeight}=wrap;if(!stack||!STATIC_POSITIONS.includes(pos))continue;const _stack=stacks[stack]||(stacks[stack]={count:0,placed:0,weight:0,size:0});_stack.count++,_stack.weight+=stackWeight}return stacks}(layouts),{vBoxMaxWidth:vBoxMaxWidth,hBoxMaxHeight:hBoxMaxHeight}=params;let i,ilen,layout;for(i=0,ilen=layouts.length;i{margin[pos]=Math.max(chartArea[pos],maxPadding[pos])})),margin}return marginForPositions(horizontal?["left","right"]:["top","bottom"])}function fitBoxes(boxes,chartArea,params,stacks){const refitBoxes=[];let i,ilen,layout,box,refit,changed;for(i=0,ilen=boxes.length,refit=0;iwrap.box.fullSize)),!0),left=sortByWeight(filterByPosition(layoutBoxes,"left"),!0),right=sortByWeight(filterByPosition(layoutBoxes,"right")),top=sortByWeight(filterByPosition(layoutBoxes,"top"),!0),bottom=sortByWeight(filterByPosition(layoutBoxes,"bottom")),centerHorizontal=filterDynamicPositionByAxis(layoutBoxes,"x"),centerVertical=filterDynamicPositionByAxis(layoutBoxes,"y");return{fullSize:fullSize,leftAndTop:left.concat(top),rightAndBottom:right.concat(centerVertical).concat(bottom).concat(centerHorizontal),chartArea:filterByPosition(layoutBoxes,"chartArea"),vertical:left.concat(right).concat(centerVertical),horizontal:top.concat(bottom).concat(centerHorizontal)}}(chart.boxes),verticalBoxes=boxes.vertical,horizontalBoxes=boxes.horizontal;each(chart.boxes,(box=>{"function"==typeof box.beforeLayout&&box.beforeLayout()}));const visibleVerticalBoxCount=verticalBoxes.reduce(((total,wrap)=>wrap.box.options&&!1===wrap.box.options.display?total:total+1),0)||1,params=Object.freeze({outerWidth:width,outerHeight:height,padding:padding,availableWidth:availableWidth,availableHeight:availableHeight,vBoxMaxWidth:availableWidth/2/visibleVerticalBoxCount,hBoxMaxHeight:availableHeight/2}),maxPadding=Object.assign({},padding);updateMaxPadding(maxPadding,toPadding(minPadding));const chartArea=Object.assign({maxPadding:maxPadding,w:availableWidth,h:availableHeight,x:padding.left,y:padding.top},padding),stacks=setLayoutDims(verticalBoxes.concat(horizontalBoxes),params);fitBoxes(boxes.fullSize,chartArea,params,stacks),fitBoxes(verticalBoxes,chartArea,params,stacks),fitBoxes(horizontalBoxes,chartArea,params,stacks)&&fitBoxes(verticalBoxes,chartArea,params,stacks),function handleMaxPadding(chartArea){const maxPadding=chartArea.maxPadding;function updatePos(pos){const change=Math.max(maxPadding[pos]-chartArea[pos],0);return chartArea[pos]+=change,change}chartArea.y+=updatePos("top"),chartArea.x+=updatePos("left"),updatePos("right"),updatePos("bottom")}(chartArea),placeBoxes(boxes.leftAndTop,chartArea,params,stacks),chartArea.x+=chartArea.w,chartArea.y+=chartArea.h,placeBoxes(boxes.rightAndBottom,chartArea,params,stacks),chart.chartArea={left:chartArea.left,top:chartArea.top,right:chartArea.left+chartArea.w,bottom:chartArea.top+chartArea.h,height:chartArea.h,width:chartArea.w},each(boxes.chartArea,(layout=>{const box=layout.box;Object.assign(box,chart.chartArea),box.update(chartArea.w,chartArea.h)}))}};function _createResolver(scopes,prefixes=[""],rootScopes=scopes,fallback,getTarget=(()=>scopes[0])){defined(fallback)||(fallback=_resolve("_fallback",scopes));const cache={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:scopes,_rootScopes:rootScopes,_fallback:fallback,_getTarget:getTarget,override:scope=>_createResolver([scope,...scopes],prefixes,rootScopes,fallback)};return new Proxy(cache,{deleteProperty:(target,prop)=>(delete target[prop],delete target._keys,delete scopes[0][prop],!0),get:(target,prop)=>_cached(target,prop,(()=>function _resolveWithPrefixes(prop,prefixes,scopes,proxy){let value;for(const prefix of prefixes)if(value=_resolve(readKey(prefix,prop),scopes),defined(value))return needsSubResolver(prop,value)?createSubResolver(scopes,proxy,prop,value):value}(prop,prefixes,scopes,target))),getOwnPropertyDescriptor:(target,prop)=>Reflect.getOwnPropertyDescriptor(target._scopes[0],prop),getPrototypeOf:()=>Reflect.getPrototypeOf(scopes[0]),has:(target,prop)=>getKeysFromAllScopes(target).includes(prop),ownKeys:target=>getKeysFromAllScopes(target),set:(target,prop,value)=>((target._storage||(target._storage=getTarget()))[prop]=value,delete target[prop],delete target._keys,!0)})}function _attachContext(proxy,context,subProxy,descriptorDefaults){const cache={_cacheable:!1,_proxy:proxy,_context:context,_subProxy:subProxy,_stack:new Set,_descriptors:_descriptors(proxy,descriptorDefaults),setContext:ctx=>_attachContext(proxy,ctx,subProxy,descriptorDefaults),override:scope=>_attachContext(proxy.override(scope),context,subProxy,descriptorDefaults)};return new Proxy(cache,{deleteProperty:(target,prop)=>(delete target[prop],delete proxy[prop],!0),get:(target,prop,receiver)=>_cached(target,prop,(()=>function _resolveWithContext(target,prop,receiver){const{_proxy:_proxy,_context:_context,_subProxy:_subProxy,_descriptors:descriptors}=target;let value=_proxy[prop];isFunction(value)&&descriptors.isScriptable(prop)&&(value=function _resolveScriptable(prop,value,target,receiver){const{_proxy:_proxy,_context:_context,_subProxy:_subProxy,_stack:_stack}=target;if(_stack.has(prop))throw new Error("Recursion detected: "+Array.from(_stack).join("->")+"->"+prop);_stack.add(prop),value=value(_context,_subProxy||receiver),_stack.delete(prop),isObject(value)&&(value=createSubResolver(_proxy._scopes,_proxy,prop,value));return value}(prop,value,target,receiver));isArray(value)&&value.length&&(value=function _resolveArray(prop,value,target,isIndexable){const{_proxy:_proxy,_context:_context,_subProxy:_subProxy,_descriptors:descriptors}=target;if(defined(_context.index)&&isIndexable(prop))value=value[_context.index%value.length];else if(isObject(value[0])){const arr=value,scopes=_proxy._scopes.filter((s=>s!==arr));value=[];for(const item of arr){const resolver=createSubResolver(scopes,_proxy,prop,item);value.push(_attachContext(resolver,_context,_subProxy&&_subProxy[prop],descriptors))}}return value}(prop,value,target,descriptors.isIndexable));needsSubResolver(prop,value)&&(value=_attachContext(value,_context,_subProxy&&_subProxy[prop],descriptors));return value}(target,prop,receiver))),getOwnPropertyDescriptor:(target,prop)=>target._descriptors.allKeys?Reflect.has(proxy,prop)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(proxy,prop),getPrototypeOf:()=>Reflect.getPrototypeOf(proxy),has:(target,prop)=>Reflect.has(proxy,prop),ownKeys:()=>Reflect.ownKeys(proxy),set:(target,prop,value)=>(proxy[prop]=value,delete target[prop],!0)})}function _descriptors(proxy,defaults={scriptable:!0,indexable:!0}){const{_scriptable:_scriptable=defaults.scriptable,_indexable:_indexable=defaults.indexable,_allKeys:_allKeys=defaults.allKeys}=proxy;return{allKeys:_allKeys,scriptable:_scriptable,indexable:_indexable,isScriptable:isFunction(_scriptable)?_scriptable:()=>_scriptable,isIndexable:isFunction(_indexable)?_indexable:()=>_indexable}}const readKey=(prefix,name)=>prefix?prefix+_capitalize(name):name,needsSubResolver=(prop,value)=>isObject(value)&&"adapters"!==prop;function _cached(target,prop,resolve){let value=target[prop];return defined(value)||(value=resolve(),defined(value)&&(target[prop]=value)),value}function resolveFallback(fallback,prop,value){return isFunction(fallback)?fallback(prop,value):fallback}const getScope=(key,parent)=>!0===key?parent:"string"==typeof key?resolveObjectKey(parent,key):void 0;function addScopes(set,parentScopes,key,parentFallback){for(const parent of parentScopes){const scope=getScope(key,parent);if(scope){set.add(scope);const fallback=resolveFallback(scope._fallback,key,scope);if(defined(fallback)&&fallback!==key&&fallback!==parentFallback)return fallback}else if(!1===scope&&defined(parentFallback)&&key!==parentFallback)return null}return!1}function createSubResolver(parentScopes,resolver,prop,value){const rootScopes=resolver._rootScopes,fallback=resolveFallback(resolver._fallback,prop,value),allScopes=[...parentScopes,...rootScopes],set=new Set;set.add(value);let key=addScopesFromKey(set,allScopes,prop,fallback||prop);return null!==key&&((!defined(fallback)||fallback===prop||(key=addScopesFromKey(set,allScopes,fallback,key),null!==key))&&_createResolver(Array.from(set),[""],rootScopes,fallback,(()=>function subGetTarget(resolver,prop,value){const parent=resolver._getTarget();prop in parent||(parent[prop]={});const target=parent[prop];if(isArray(target)&&isObject(value))return value;return target}(resolver,prop,value))))}function addScopesFromKey(set,allScopes,key,fallback){for(;key;)key=addScopes(set,allScopes,key,fallback);return key}function _resolve(key,scopes){for(const scope of scopes){if(!scope)continue;const value=scope[key];if(defined(value))return value}}function getKeysFromAllScopes(target){let keys=target._keys;return keys||(keys=target._keys=function resolveKeysFromAllScopes(scopes){const set=new Set;for(const scope of scopes)for(const key of Object.keys(scope).filter((k=>!k.startsWith("_"))))set.add(key);return Array.from(set)}(target._scopes)),keys}const EPSILON=Number.EPSILON||1e-14,getPoint=(points,i)=>i"x"===indexAxis?"y":"x";function splineCurve(firstPoint,middlePoint,afterPoint,t){const previous=firstPoint.skip?middlePoint:firstPoint,current=middlePoint,next=afterPoint.skip?middlePoint:afterPoint,d01=distanceBetweenPoints(current,previous),d12=distanceBetweenPoints(next,current);let s01=d01/(d01+d12),s12=d12/(d01+d12);s01=isNaN(s01)?0:s01,s12=isNaN(s12)?0:s12;const fa=t*s01,fb=t*s12;return{previous:{x:current.x-fa*(next.x-previous.x),y:current.y-fa*(next.y-previous.y)},next:{x:current.x+fb*(next.x-previous.x),y:current.y+fb*(next.y-previous.y)}}}function splineCurveMonotone(points,indexAxis="x"){const valueAxis=getValueAxis(indexAxis),pointsLen=points.length,deltaK=Array(pointsLen).fill(0),mK=Array(pointsLen);let i,pointBefore,pointCurrent,pointAfter=getPoint(points,0);for(i=0;i!pt.skip))),"monotone"===options.cubicInterpolationMode)splineCurveMonotone(points,indexAxis);else{let prev=loop?points[points.length-1]:points[0];for(i=0,ilen=points.length;i0===t||1===t,elasticIn=(t,s,p)=>-Math.pow(2,10*(t-=1))*Math.sin((t-s)*TAU/p),elasticOut=(t,s,p)=>Math.pow(2,-10*t)*Math.sin((t-s)*TAU/p)+1,effects={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*HALF_PI),easeOutSine:t=>Math.sin(t*HALF_PI),easeInOutSine:t=>-.5*(Math.cos(PI*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>atEdge(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>atEdge(t)?t:elasticIn(t,.075,.3),easeOutElastic:t=>atEdge(t)?t:elasticOut(t,.075,.3),easeInOutElastic(t){const s=.1125;return atEdge(t)?t:t<.5?.5*elasticIn(2*t,s,.45):.5+.5*elasticOut(2*t-1,s,.45)},easeInBack(t){const s=1.70158;return t*t*((s+1)*t-s)},easeOutBack(t){const s=1.70158;return(t-=1)*t*((s+1)*t+s)+1},easeInOutBack(t){let s=1.70158;return(t/=.5)<1?t*t*((1+(s*=1.525))*t-s)*.5:.5*((t-=2)*t*((1+(s*=1.525))*t+s)+2)},easeInBounce:t=>1-effects.easeOutBounce(1-t),easeOutBounce(t){const m=7.5625,d=2.75;return t<1/d?m*t*t:t<2/d?m*(t-=1.5/d)*t+.75:t<2.5/d?m*(t-=2.25/d)*t+.9375:m*(t-=2.625/d)*t+.984375},easeInOutBounce:t=>t<.5?.5*effects.easeInBounce(2*t):.5*effects.easeOutBounce(2*t-1)+.5};function _pointInLine(p1,p2,t,mode){return{x:p1.x+t*(p2.x-p1.x),y:p1.y+t*(p2.y-p1.y)}}function _steppedInterpolation(p1,p2,t,mode){return{x:p1.x+t*(p2.x-p1.x),y:"middle"===mode?t<.5?p1.y:p2.y:"after"===mode?t<1?p1.y:p2.y:t>0?p2.y:p1.y}}function _bezierInterpolation(p1,p2,t,mode){const cp1={x:p1.cp2x,y:p1.cp2y},cp2={x:p2.cp1x,y:p2.cp1y},a=_pointInLine(p1,cp1,t),b=_pointInLine(cp1,cp2,t),c=_pointInLine(cp2,p2,t),d=_pointInLine(a,b,t),e=_pointInLine(b,c,t);return _pointInLine(d,e,t)}const intlCache=new Map;function formatNumber(num,locale,options){return function getNumberFormat(locale,options){options=options||{};const cacheKey=locale+JSON.stringify(options);let formatter=intlCache.get(cacheKey);return formatter||(formatter=new Intl.NumberFormat(locale,options),intlCache.set(cacheKey,formatter)),formatter}(locale,options).format(num)}function getRtlAdapter(rtl,rectX,width){return rtl?function(rectX,width){return{x:x=>rectX+rectX+width-x,setWidth(w){width=w},textAlign:align=>"center"===align?align:"right"===align?"left":"right",xPlus:(x,value)=>x-value,leftForLtr:(x,itemWidth)=>x-itemWidth}}(rectX,width):{x:x=>x,setWidth(w){},textAlign:align=>align,xPlus:(x,value)=>x+value,leftForLtr:(x,_itemWidth)=>x}}function overrideTextDirection(ctx,direction){let style,original;"ltr"!==direction&&"rtl"!==direction||(style=ctx.canvas.style,original=[style.getPropertyValue("direction"),style.getPropertyPriority("direction")],style.setProperty("direction",direction,"important"),ctx.prevTextDirection=original)}function restoreTextDirection(ctx,original){void 0!==original&&(delete ctx.prevTextDirection,ctx.canvas.style.setProperty("direction",original[0],original[1]))}function propertyFn(property){return"angle"===property?{between:_angleBetween,compare:_angleDiff,normalize:_normalizeAngle}:{between:(n,s,e)=>n>=Math.min(s,e)&&n<=Math.max(e,s),compare:(a,b)=>a-b,normalize:x=>x}}function normalizeSegment({start:start,end:end,count:count,loop:loop,style:style}){return{start:start%count,end:end%count,loop:loop&&(end-start+1)%count==0,style:style}}function _boundSegment(segment,points,bounds){if(!bounds)return[segment];const{property:property,start:startBound,end:endBound}=bounds,count=points.length,{compare:compare,between:between,normalize:normalize}=propertyFn(property),{start:start,end:end,loop:loop,style:style}=function getSegment(segment,points,bounds){const{property:property,start:startBound,end:endBound}=bounds,{between:between,normalize:normalize}=propertyFn(property),count=points.length;let i,ilen,{start:start,end:end,loop:loop}=segment;if(loop){for(start+=count,end+=count,i=0,ilen=count;iinside||between(startBound,prevValue,value)&&0!==compare(startBound,prevValue),shouldStop=()=>!inside||0===compare(endBound,value)||between(endBound,prevValue,value);for(let i=start,prev=start;i<=end;++i)point=points[i%count],point.skip||(value=normalize(point[property]),value!==prevValue&&(inside=between(value,startBound,endBound),null===subStart&&shouldStart()&&(subStart=0===compare(value,startBound)?i:prev),null!==subStart&&shouldStop()&&(result.push(normalizeSegment({start:subStart,end:i,loop:loop,count:count,style:style})),subStart=null),prev=i,prevValue=value));return null!==subStart&&result.push(normalizeSegment({start:subStart,end:end,loop:loop,count:count,style:style})),result}function _boundSegments(line,bounds){const result=[],segments=line.segments;for(let i=0;istart&&points[end%count].skip;)end--;return end%=count,{start:start,end:end}}(points,count,loop,spanGaps);if(!0===spanGaps)return splitByStyles(line,[{start:start,end:end,loop:loop}],points,segmentOptions);return splitByStyles(line,function solidSegments(points,start,max,loop){const count=points.length,result=[];let end,last=start,prev=points[start];for(end=start+1;end<=max;++end){const cur=points[end%count];cur.skip||cur.stop?prev.skip||(loop=!1,result.push({start:start%count,end:(end-1)%count,loop:loop}),start=last=cur.stop?end:null):(last=end,prev.skip&&(start=end)),prev=cur}return null!==last&&result.push({start:start%count,end:last%count,loop:loop}),result}(points,start,endnull===value||""===value;const eventListenerOptions=!!supportsEventListenerOptions&&{passive:!0};function removeListener(chart,type,listener){chart.canvas.removeEventListener(type,listener,eventListenerOptions)}function createAttachObserver(chart,type,listener){const canvas=chart.canvas,element=canvas&&_getParentNode(canvas)||canvas,observer=new MutationObserver((entries=>{const parent=_getParentNode(element);entries.forEach((entry=>{for(let i=0;i{entries.forEach((entry=>{for(let i=0;i{chart.currentDevicePixelRatio!==dpr&&resize()})))}function createResizeObserver(chart,type,listener){const canvas=chart.canvas,container=canvas&&_getParentNode(canvas);if(!container)return;const resize=throttled(((width,height)=>{const w=container.clientWidth;listener(width,height),w{const entry=entries[0],width=entry.contentRect.width,height=entry.contentRect.height;0===width&&0===height||resize(width,height)}));return observer.observe(container),function listenDevicePixelRatioChanges(chart,resize){drpListeningCharts.size||window.addEventListener("resize",onWindowResize),drpListeningCharts.set(chart,resize)}(chart,resize),observer}function releaseObserver(chart,type,observer){observer&&observer.disconnect(),"resize"===type&&function unlistenDevicePixelRatioChanges(chart){drpListeningCharts.delete(chart),drpListeningCharts.size||window.removeEventListener("resize",onWindowResize)}(chart)}function createProxyAndListen(chart,type,listener){const canvas=chart.canvas,proxy=throttled((event=>{null!==chart.ctx&&listener(function fromNativeEvent(event,chart){const type=EVENT_TYPES[event.type]||event.type,{x:x,y:y}=getRelativePosition$1(event,chart);return{type:type,chart:chart,native:event,x:void 0!==x?x:null,y:void 0!==y?y:null}}(event,chart))}),chart,(args=>{const event=args[0];return[event,event.offsetX,event.offsetY]}));return function addListener(node,type,listener){node.addEventListener(type,listener,eventListenerOptions)}(canvas,type,proxy),proxy}class DomPlatform extends BasePlatform{acquireContext(canvas,aspectRatio){const context=canvas&&canvas.getContext&&canvas.getContext("2d");return context&&context.canvas===canvas?(function initCanvas(canvas,aspectRatio){const style=canvas.style,renderHeight=canvas.getAttribute("height"),renderWidth=canvas.getAttribute("width");if(canvas.$chartjs={initial:{height:renderHeight,width:renderWidth,style:{display:style.display,height:style.height,width:style.width}}},style.display=style.display||"block",style.boxSizing=style.boxSizing||"border-box",isNullOrEmpty(renderWidth)){const displayWidth=readUsedSize(canvas,"width");void 0!==displayWidth&&(canvas.width=displayWidth)}if(isNullOrEmpty(renderHeight))if(""===canvas.style.height)canvas.height=canvas.width/(aspectRatio||2);else{const displayHeight=readUsedSize(canvas,"height");void 0!==displayHeight&&(canvas.height=displayHeight)}return canvas}(canvas,aspectRatio),context):null}releaseContext(context){const canvas=context.canvas;if(!canvas.$chartjs)return!1;const initial=canvas.$chartjs.initial;["height","width"].forEach((prop=>{const value=initial[prop];isNullOrUndef(value)?canvas.removeAttribute(prop):canvas.setAttribute(prop,value)}));const style=initial.style||{};return Object.keys(style).forEach((key=>{canvas.style[key]=style[key]})),canvas.width=canvas.width,delete canvas.$chartjs,!0}addEventListener(chart,type,listener){this.removeEventListener(chart,type);const proxies=chart.$proxies||(chart.$proxies={}),handler={attach:createAttachObserver,detach:createDetachObserver,resize:createResizeObserver}[type]||createProxyAndListen;proxies[type]=handler(chart,type,listener)}removeEventListener(chart,type){const proxies=chart.$proxies||(chart.$proxies={}),proxy=proxies[type];if(!proxy)return;({attach:releaseObserver,detach:releaseObserver,resize:releaseObserver}[type]||removeListener)(chart,type,proxy),proxies[type]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(canvas,width,height,aspectRatio){return getMaximumSize(canvas,width,height,aspectRatio)}isAttached(canvas){const container=_getParentNode(canvas);return!(!container||!container.isConnected)}}function _detectPlatform(canvas){return!_isDomSupported()||"undefined"!=typeof OffscreenCanvas&&canvas instanceof OffscreenCanvas?BasicPlatform:DomPlatform}var platforms=Object.freeze({__proto__:null,_detectPlatform:_detectPlatform,BasePlatform:BasePlatform,BasicPlatform:BasicPlatform,DomPlatform:DomPlatform});const interpolators={boolean:(from,to,factor)=>factor>.5?to:from,color(from,to,factor){const c0=color(from||"transparent"),c1=c0.valid&&color(to||"transparent");return c1&&c1.valid?c1.mix(c0,factor).hexString():to},number:(from,to,factor)=>from+(to-from)*factor};class Animation{constructor(cfg,target,prop,to){const currentValue=target[prop];to=resolve([cfg.to,to,currentValue,cfg.from]);const from=resolve([cfg.from,currentValue,to]);this._active=!0,this._fn=cfg.fn||interpolators[cfg.type||typeof from],this._easing=effects[cfg.easing]||effects.linear,this._start=Math.floor(Date.now()+(cfg.delay||0)),this._duration=this._total=Math.floor(cfg.duration),this._loop=!!cfg.loop,this._target=target,this._prop=prop,this._from=from,this._to=to,this._promises=void 0}active(){return this._active}update(cfg,to,date){const me=this;if(me._active){me._notify(!1);const currentValue=me._target[me._prop],elapsed=date-me._start,remain=me._duration-elapsed;me._start=date,me._duration=Math.floor(Math.max(remain,cfg.duration)),me._total+=elapsed,me._loop=!!cfg.loop,me._to=resolve([cfg.to,to,currentValue,cfg.from]),me._from=resolve([cfg.from,currentValue,to])}}cancel(){const me=this;me._active&&(me.tick(Date.now()),me._active=!1,me._notify(!1))}tick(date){const me=this,elapsed=date-me._start,duration=me._duration,prop=me._prop,from=me._from,loop=me._loop,to=me._to;let factor;if(me._active=from!==to&&(loop||elapsed1?2-factor:factor,factor=me._easing(Math.min(1,Math.max(0,factor))),me._target[prop]=me._fn(from,to,factor))}wait(){const promises=this._promises||(this._promises=[]);return new Promise(((res,rej)=>{promises.push({res:res,rej:rej})}))}_notify(resolved){const method=resolved?"res":"rej",promises=this._promises||[];for(let i=0;i"onProgress"!==name&&"onComplete"!==name&&"fn"!==name}),defaults.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),defaults.describe("animations",{_fallback:"animation"}),defaults.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:v=>0|v}}}});class Animations{constructor(chart,config){this._chart=chart,this._properties=new Map,this.configure(config)}configure(config){if(!isObject(config))return;const animatedProps=this._properties;Object.getOwnPropertyNames(config).forEach((key=>{const cfg=config[key];if(!isObject(cfg))return;const resolved={};for(const option of animationOptions)resolved[option]=cfg[option];(isArray(cfg.properties)&&cfg.properties||[key]).forEach((prop=>{prop!==key&&animatedProps.has(prop)||animatedProps.set(prop,resolved)}))}))}_animateOptions(target,values){const newOptions=values.options,options=function resolveTargetOptions(target,newOptions){if(!newOptions)return;let options=target.options;if(!options)return void(target.options=newOptions);options.$shared&&(target.options=options=Object.assign({},options,{$shared:!1,$animations:{}}));return options}(target,newOptions);if(!options)return[];const animations=this._createAnimations(options,newOptions);return newOptions.$shared&&function awaitAll(animations,properties){const running=[],keys=Object.keys(properties);for(let i=0;i{target.options=newOptions}),(()=>{})),animations}_createAnimations(target,values){const animatedProps=this._properties,animations=[],running=target.$animations||(target.$animations={}),props=Object.keys(values),date=Date.now();let i;for(i=props.length-1;i>=0;--i){const prop=props[i];if("$"===prop.charAt(0))continue;if("options"===prop){animations.push(...this._animateOptions(target,values));continue}const value=values[prop];let animation=running[prop];const cfg=animatedProps.get(prop);if(animation){if(cfg&&animation.active()){animation.update(cfg,value,date);continue}animation.cancel()}cfg&&cfg.duration?(running[prop]=animation=new Animation(cfg,target,prop,value),animations.push(animation)):target[prop]=value}return animations}update(target,values){if(0===this._properties.size)return void Object.assign(target,values);const animations=this._createAnimations(target,values);return animations.length?(animator.add(this._chart,animations),!0):void 0}}function scaleClip(scale,allowedOverflow){const opts=scale&&scale.options||{},reverse=opts.reverse,min=void 0===opts.min?allowedOverflow:0,max=void 0===opts.max?allowedOverflow:0;return{start:reverse?max:min,end:reverse?min:max}}function getSortedDatasetIndices(chart,filterVisible){const keys=[],metasets=chart._getSortedDatasetMetas(filterVisible);let i,ilen;for(i=0,ilen=metasets.length;i0||!positive&&value<0)return meta.index}return null}function updateStacks(controller,parsed){const{chart:chart,_cachedMeta:meta}=controller,stacks=chart._stacks||(chart._stacks={}),{iScale:iScale,vScale:vScale,index:datasetIndex}=meta,iAxis=iScale.axis,vAxis=vScale.axis,key=function getStackKey(indexScale,valueScale,meta){return`${indexScale.id}.${valueScale.id}.${meta.stack||meta.type}`}(iScale,vScale,meta),ilen=parsed.length;let stack;for(let i=0;iscales[key].axis===axis)).shift()}function clearStacks(meta,items){const datasetIndex=meta.controller.index,axis=meta.vScale&&meta.vScale.axis;if(axis){items=items||meta._parsed;for(const parsed of items){const stacks=parsed._stacks;if(!stacks||void 0===stacks[axis]||void 0===stacks[axis][datasetIndex])return;delete stacks[axis][datasetIndex]}}}const isDirectUpdateMode=mode=>"reset"===mode||"none"===mode,cloneIfNotShared=(cached,shared)=>shared?cached:Object.assign({},cached);class DatasetController{constructor(chart,datasetIndex){this.chart=chart,this._ctx=chart.ctx,this.index=datasetIndex,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const meta=this._cachedMeta;this.configure(),this.linkScales(),meta._stacked=isStacked(meta.vScale,meta),this.addElements()}updateIndex(datasetIndex){this.index!==datasetIndex&&clearStacks(this._cachedMeta),this.index=datasetIndex}linkScales(){const me=this,chart=me.chart,meta=me._cachedMeta,dataset=me.getDataset(),chooseId=(axis,x,y,r)=>"x"===axis?x:"r"===axis?r:y,xid=meta.xAxisID=valueOrDefault(dataset.xAxisID,getFirstScaleId(chart,"x")),yid=meta.yAxisID=valueOrDefault(dataset.yAxisID,getFirstScaleId(chart,"y")),rid=meta.rAxisID=valueOrDefault(dataset.rAxisID,getFirstScaleId(chart,"r")),indexAxis=meta.indexAxis,iid=meta.iAxisID=chooseId(indexAxis,xid,yid,rid),vid=meta.vAxisID=chooseId(indexAxis,yid,xid,rid);meta.xScale=me.getScaleForId(xid),meta.yScale=me.getScaleForId(yid),meta.rScale=me.getScaleForId(rid),meta.iScale=me.getScaleForId(iid),meta.vScale=me.getScaleForId(vid)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(scaleID){return this.chart.scales[scaleID]}_getOtherScale(scale){const meta=this._cachedMeta;return scale===meta.iScale?meta.vScale:meta.iScale}reset(){this._update("reset")}_destroy(){const meta=this._cachedMeta;this._data&&unlistenArrayEvents(this._data,this),meta._stacked&&clearStacks(meta)}_dataCheck(){const me=this,dataset=me.getDataset(),data=dataset.data||(dataset.data=[]),_data=me._data;if(isObject(data))me._data=function convertObjectDataToArray(data){const keys=Object.keys(data),adata=new Array(keys.length);let i,ilen,key;for(i=0,ilen=keys.length;i0&&meta._parsed[start-1];if(!1===me._parsing)meta._parsed=data,meta._sorted=!0,parsed=data;else{parsed=isArray(data[start])?me.parseArrayData(meta,data,start,count):isObject(data[start])?me.parseObjectData(meta,data,start,count):me.parsePrimitiveData(meta,data,start,count);const isNotInOrderComparedToPrev=()=>null===cur[iAxis]||prev&&cur[iAxis]otherValue||otherMax=0;--i)if(!_skip()){me.updateRangeFromParsed(range,scale,parsed,stack);break}return range}getAllParsedValues(scale){const parsed=this._cachedMeta._parsed,values=[];let i,ilen,value;for(i=0,ilen=parsed.length;i=0&&indexme.getContext(index,active)),prefixes);return values.$shared&&(values.$shared=sharing,cache[cacheKey]=Object.freeze(cloneIfNotShared(values,sharing))),values}_resolveAnimations(index,transition,active){const me=this,chart=me.chart,cache=me._cachedDataOpts,cacheKey=`animation-${transition}`,cached=cache[cacheKey];if(cached)return cached;let options;if(!1!==chart.options.animation){const config=me.chart.config,scopeKeys=config.datasetAnimationScopeKeys(me._type,transition),scopes=config.getOptionScopes(me.getDataset(),scopeKeys);options=config.createResolver(scopes,me.getContext(index,active,transition))}const animations=new Animations(chart,options&&options.animations);return options&&options._cacheable&&(cache[cacheKey]=Object.freeze(animations)),animations}getSharedOptions(options){if(options.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},options))}includeOptions(mode,sharedOptions){return!sharedOptions||isDirectUpdateMode(mode)||this.chart._animationsDisabled}updateElement(element,index,properties,mode){isDirectUpdateMode(mode)?Object.assign(element,properties):this._resolveAnimations(index,mode).update(element,properties)}updateSharedOptions(sharedOptions,mode,newOptions){sharedOptions&&!isDirectUpdateMode(mode)&&this._resolveAnimations(void 0,mode).update(sharedOptions,newOptions)}_setStyle(element,index,mode,active){element.active=active;const options=this.getStyle(index,active);this._resolveAnimations(index,mode,active).update(element,{options:!active&&this.getSharedOptions(options)||options})}removeHoverStyle(element,datasetIndex,index){this._setStyle(element,index,"active",!1)}setHoverStyle(element,datasetIndex,index){this._setStyle(element,index,"active",!0)}_removeDatasetHoverStyle(){const element=this._cachedMeta.dataset;element&&this._setStyle(element,void 0,"active",!1)}_setDatasetHoverStyle(){const element=this._cachedMeta.dataset;element&&this._setStyle(element,void 0,"active",!0)}_resyncElements(resetNewElements){const me=this,data=me._data,elements=me._cachedMeta.data;for(const[method,arg1,arg2]of me._syncList)me[method](arg1,arg2);me._syncList=[];const numMeta=elements.length,numData=data.length,count=Math.min(numData,numMeta);count&&me.parse(0,count),numData>numMeta?me._insertElements(numMeta,numData-numMeta,resetNewElements):numData{for(arr.length+=count,i=arr.length-1;i>=end;i--)arr[i]=arr[i-count]};for(move(data),i=start;i{ret[prop]=anims[prop]&&anims[prop].active()?anims[prop]._to:me[prop]})),ret}}Element.defaults={},Element.defaultRoutes=void 0;const formatters={values:value=>isArray(value)?value:""+value,numeric(tickValue,index,ticks){if(0===tickValue)return"0";const locale=this.chart.options.locale;let notation,delta=tickValue;if(ticks.length>1){const maxTick=Math.max(Math.abs(ticks[0].value),Math.abs(ticks[ticks.length-1].value));(maxTick<1e-4||maxTick>1e15)&&(notation="scientific"),delta=function calculateDelta(tickValue,ticks){let delta=ticks.length>3?ticks[2].value-ticks[1].value:ticks[1].value-ticks[0].value;Math.abs(delta)>=1&&tickValue!==Math.floor(tickValue)&&(delta=tickValue-Math.floor(tickValue));return delta}(tickValue,ticks)}const logDelta=log10(Math.abs(delta)),numDecimal=Math.max(Math.min(-1*Math.floor(logDelta),20),0),options={notation:notation,minimumFractionDigits:numDecimal,maximumFractionDigits:numDecimal};return Object.assign(options,this.options.ticks.format),formatNumber(tickValue,locale,options)},logarithmic(tickValue,index,ticks){if(0===tickValue)return"0";const remain=tickValue/Math.pow(10,Math.floor(log10(tickValue)));return 1===remain||2===remain||5===remain?formatters.numeric.call(this,tickValue,index,ticks):""}};var Ticks={formatters:formatters};function autoSkip(scale,ticks){const tickOpts=scale.options.ticks,ticksLimit=tickOpts.maxTicksLimit||function determineMaxTicks(scale){const offset=scale.options.offset,tickLength=scale._tickSize(),maxScale=scale._length/tickLength+(offset?0:1),maxChart=scale._maxLength/tickLength;return Math.floor(Math.min(maxScale,maxChart))}(scale),majorIndices=tickOpts.major.enabled?function getMajorIndices(ticks){const result=[];let i,ilen;for(i=0,ilen=ticks.length;iticksLimit)return function skipMajors(ticks,newTicks,majorIndices,spacing){let i,count=0,next=majorIndices[0];for(spacing=Math.ceil(spacing),i=0;ispacing)return factor}return Math.max(spacing,1)}(majorIndices,ticks,ticksLimit);if(numMajorIndices>0){let i,ilen;const avgMajorSpacing=numMajorIndices>1?Math.round((last-first)/(numMajorIndices-1)):null;for(skip(ticks,newTicks,spacing,isNullOrUndef(avgMajorSpacing)?0:first-avgMajorSpacing,first),i=0,ilen=numMajorIndices-1;ioptions.lineWidth,tickColor:(_ctx,options)=>options.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ticks.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),defaults.route("scale.ticks","color","","color"),defaults.route("scale.grid","color","","borderColor"),defaults.route("scale.grid","borderColor","","borderColor"),defaults.route("scale.title","color","","color"),defaults.describe("scale",{_fallback:!1,_scriptable:name=>!name.startsWith("before")&&!name.startsWith("after")&&"callback"!==name&&"parser"!==name,_indexable:name=>"borderDash"!==name&&"tickBorderDash"!==name}),defaults.describe("scales",{_fallback:"scale"}),defaults.describe("scale.ticks",{_scriptable:name=>"backdropPadding"!==name&&"callback"!==name,_indexable:name=>"backdropPadding"!==name});const offsetFromEdge=(scale,edge,offset)=>"top"===edge||"left"===edge?scale[edge]+offset:scale[edge]-offset;function sample(arr,numItems){const result=[],increment=arr.length/numItems,len=arr.length;let i=0;for(;iend+1e-6)))return lineValue}function getTickMarkLength(options){return options.drawTicks?options.tickLength:0}function getTitleHeight(options,fallback){if(!options.display)return 0;const font=toFont(options.font,fallback),padding=toPadding(options.padding);return(isArray(options.text)?options.text.length:1)*font.lineHeight+padding.height}function titleAlign(align,position,reverse){let ret=_toLeftRightCenter(align);return(reverse&&"right"!==position||!reverse&&"right"===position)&&(ret=(align=>"left"===align?"right":"right"===align?"left":align)(ret)),ret}class Scale extends Element{constructor(cfg){super(),this.id=cfg.id,this.type=cfg.type,this.options=void 0,this.ctx=cfg.ctx,this.chart=cfg.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(options){const me=this;me.options=options.setContext(me.getContext()),me.axis=options.axis,me._userMin=me.parse(options.min),me._userMax=me.parse(options.max),me._suggestedMin=me.parse(options.suggestedMin),me._suggestedMax=me.parse(options.suggestedMax)}parse(raw,index){return raw}getUserBounds(){let{_userMin:_userMin,_userMax:_userMax,_suggestedMin:_suggestedMin,_suggestedMax:_suggestedMax}=this;return _userMin=finiteOrDefault(_userMin,Number.POSITIVE_INFINITY),_userMax=finiteOrDefault(_userMax,Number.NEGATIVE_INFINITY),_suggestedMin=finiteOrDefault(_suggestedMin,Number.POSITIVE_INFINITY),_suggestedMax=finiteOrDefault(_suggestedMax,Number.NEGATIVE_INFINITY),{min:finiteOrDefault(_userMin,_suggestedMin),max:finiteOrDefault(_userMax,_suggestedMax),minDefined:isNumberFinite(_userMin),maxDefined:isNumberFinite(_userMax)}}getMinMax(canStack){const me=this;let range,{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();if(minDefined&&maxDefined)return{min:min,max:max};const metas=me.getMatchingVisibleMetas();for(let i=0,ilen=metas.length;i=maxRotation||numTicks<=1||!me.isHorizontal())return void(me.labelRotation=minRotation);const labelSizes=me._getLabelSizes(),maxLabelWidth=labelSizes.widest.width,maxLabelHeight=labelSizes.highest.height,maxWidth=_limitValue(me.chart.width-maxLabelWidth,0,me.maxWidth);tickWidth=options.offset?me.maxWidth/numTicks:maxWidth/(numTicks-1),maxLabelWidth+6>tickWidth&&(tickWidth=maxWidth/(numTicks-(options.offset?.5:1)),maxHeight=me.maxHeight-getTickMarkLength(options.grid)-tickOpts.padding-getTitleHeight(options.title,me.chart.options.font),maxLabelDiagonal=Math.sqrt(maxLabelWidth*maxLabelWidth+maxLabelHeight*maxLabelHeight),labelRotation=toDegrees(Math.min(Math.asin(_limitValue((labelSizes.highest.height+6)/tickWidth,-1,1)),Math.asin(_limitValue(maxHeight/maxLabelDiagonal,-1,1))-Math.asin(_limitValue(maxLabelHeight/maxLabelDiagonal,-1,1)))),labelRotation=Math.max(minRotation,Math.min(maxRotation,labelRotation))),me.labelRotation=labelRotation}afterCalculateLabelRotation(){callback(this.options.afterCalculateLabelRotation,[this])}beforeFit(){callback(this.options.beforeFit,[this])}fit(){const me=this,minSize={width:0,height:0},{chart:chart,options:{ticks:tickOpts,title:titleOpts,grid:gridOpts}}=me,display=me._isVisible(),isHorizontal=me.isHorizontal();if(display){const titleHeight=getTitleHeight(titleOpts,chart.options.font);if(isHorizontal?(minSize.width=me.maxWidth,minSize.height=getTickMarkLength(gridOpts)+titleHeight):(minSize.height=me.maxHeight,minSize.width=getTickMarkLength(gridOpts)+titleHeight),tickOpts.display&&me.ticks.length){const{first:first,last:last,widest:widest,highest:highest}=me._getLabelSizes(),tickPadding=2*tickOpts.padding,angleRadians=toRadians(me.labelRotation),cos=Math.cos(angleRadians),sin=Math.sin(angleRadians);if(isHorizontal){const labelHeight=tickOpts.mirror?0:sin*widest.width+cos*highest.height;minSize.height=Math.min(me.maxHeight,minSize.height+labelHeight+tickPadding)}else{const labelWidth=tickOpts.mirror?0:cos*widest.width+sin*highest.height;minSize.width=Math.min(me.maxWidth,minSize.width+labelWidth+tickPadding)}me._calculatePadding(first,last,sin,cos)}}me._handleMargins(),isHorizontal?(me.width=me._length=chart.width-me._margins.left-me._margins.right,me.height=minSize.height):(me.width=minSize.width,me.height=me._length=chart.height-me._margins.top-me._margins.bottom)}_calculatePadding(first,last,sin,cos){const me=this,{ticks:{align:align,padding:padding},position:position}=me.options,isRotated=0!==me.labelRotation,labelsBelowTicks="top"!==position&&"x"===me.axis;if(me.isHorizontal()){const offsetLeft=me.getPixelForTick(0)-me.left,offsetRight=me.right-me.getPixelForTick(me.ticks.length-1);let paddingLeft=0,paddingRight=0;isRotated?labelsBelowTicks?(paddingLeft=cos*first.width,paddingRight=sin*last.height):(paddingLeft=sin*first.height,paddingRight=cos*last.width):"start"===align?paddingRight=last.width:"end"===align?paddingLeft=first.width:(paddingLeft=first.width/2,paddingRight=last.width/2),me.paddingLeft=Math.max((paddingLeft-offsetLeft+padding)*me.width/(me.width-offsetLeft),0),me.paddingRight=Math.max((paddingRight-offsetRight+padding)*me.width/(me.width-offsetRight),0)}else{let paddingTop=last.height/2,paddingBottom=first.height/2;"start"===align?(paddingTop=0,paddingBottom=first.height):"end"===align&&(paddingTop=last.height,paddingBottom=0),me.paddingTop=paddingTop+padding,me.paddingBottom=paddingBottom+padding}}_handleMargins(){const me=this;me._margins&&(me._margins.left=Math.max(me.paddingLeft,me._margins.left),me._margins.top=Math.max(me.paddingTop,me._margins.top),me._margins.right=Math.max(me.paddingRight,me._margins.right),me._margins.bottom=Math.max(me.paddingBottom,me._margins.bottom))}afterFit(){callback(this.options.afterFit,[this])}isHorizontal(){const{axis:axis,position:position}=this.options;return"top"===position||"bottom"===position||"x"===axis}isFullSize(){return this.options.fullSize}_convertTicksToLabels(ticks){let i,ilen;for(this.beforeTickToLabelConversion(),this.generateTickLabels(ticks),i=0,ilen=ticks.length;i{const gc=cache.gc,gcLen=gc.length/2;let i;if(gcLen>length){for(i=0;i({width:widths[idx]||0,height:heights[idx]||0});return{first:valueAt(0),last:valueAt(length-1),widest:valueAt(widest),highest:valueAt(highest),widths:widths,heights:heights}}getLabelForValue(value){return value}getPixelForValue(value,index){return NaN}getValueForPixel(pixel){}getPixelForTick(index){const ticks=this.ticks;return index<0||index>ticks.length-1?null:this.getPixelForValue(ticks[index].value)}getPixelForDecimal(decimal){const me=this;me._reversePixels&&(decimal=1-decimal);const pixel=me._startPixel+decimal*me._length;return _int16Range(me._alignToPixels?_alignPixel(me.chart,pixel,0):pixel)}getDecimalForPixel(pixel){const decimal=(pixel-this._startPixel)/this._length;return this._reversePixels?1-decimal:decimal}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:min,max:max}=this;return min<0&&max<0?max:min>0&&max>0?min:0}getContext(index){const me=this,ticks=me.ticks||[];if(index>=0&&indexw*sin?w/cos:h/sin:h*sin0}_computeGridLineItems(chartArea){const me=this,axis=me.axis,chart=me.chart,options=me.options,{grid:grid,position:position}=options,offset=grid.offset,isHorizontal=me.isHorizontal(),ticksLength=me.ticks.length+(offset?1:0),tl=getTickMarkLength(grid),items=[],borderOpts=grid.setContext(me.getContext()),axisWidth=borderOpts.drawBorder?borderOpts.borderWidth:0,axisHalfWidth=axisWidth/2,alignBorderValue=function(pixel){return _alignPixel(chart,pixel,axisWidth)};let borderValue,i,lineValue,alignedLineValue,tx1,ty1,tx2,ty2,x1,y1,x2,y2;if("top"===position)borderValue=alignBorderValue(me.bottom),ty1=me.bottom-tl,ty2=borderValue-axisHalfWidth,y1=alignBorderValue(chartArea.top)+axisHalfWidth,y2=chartArea.bottom;else if("bottom"===position)borderValue=alignBorderValue(me.top),y1=chartArea.top,y2=alignBorderValue(chartArea.bottom)-axisHalfWidth,ty1=borderValue+axisHalfWidth,ty2=me.top+tl;else if("left"===position)borderValue=alignBorderValue(me.right),tx1=me.right-tl,tx2=borderValue-axisHalfWidth,x1=alignBorderValue(chartArea.left)+axisHalfWidth,x2=chartArea.right;else if("right"===position)borderValue=alignBorderValue(me.left),x1=chartArea.left,x2=alignBorderValue(chartArea.right)-axisHalfWidth,tx1=borderValue+axisHalfWidth,tx2=me.left+tl;else if("x"===axis){if("center"===position)borderValue=alignBorderValue((chartArea.top+chartArea.bottom)/2+.5);else if(isObject(position)){const positionAxisID=Object.keys(position)[0],value=position[positionAxisID];borderValue=alignBorderValue(me.chart.scales[positionAxisID].getPixelForValue(value))}y1=chartArea.top,y2=chartArea.bottom,ty1=borderValue+axisHalfWidth,ty2=ty1+tl}else if("y"===axis){if("center"===position)borderValue=alignBorderValue((chartArea.left+chartArea.right)/2);else if(isObject(position)){const positionAxisID=Object.keys(position)[0],value=position[positionAxisID];borderValue=alignBorderValue(me.chart.scales[positionAxisID].getPixelForValue(value))}tx1=borderValue-axisHalfWidth,tx2=tx1-tl,x1=chartArea.left,x2=chartArea.right}const limit=valueOrDefault(options.ticks.maxTicksLimit,ticksLength),step=Math.max(1,Math.ceil(ticksLength/limit));for(i=0;it.value===value));if(index>=0){return grid.setContext(me.getContext(index)).lineWidth}return 0}drawGrid(chartArea){const me=this,grid=me.options.grid,ctx=me.ctx,items=me._gridLineItems||(me._gridLineItems=me._computeGridLineItems(chartArea));let i,ilen;const drawLine=(p1,p2,style)=>{style.width&&style.color&&(ctx.save(),ctx.lineWidth=style.width,ctx.strokeStyle=style.color,ctx.setLineDash(style.borderDash||[]),ctx.lineDashOffset=style.borderDashOffset,ctx.beginPath(),ctx.moveTo(p1.x,p1.y),ctx.lineTo(p2.x,p2.y),ctx.stroke(),ctx.restore())};if(grid.display)for(i=0,ilen=items.length;i{const propertyParts=property.split("."),sourceName=propertyParts.pop(),sourceScope=[scope].concat(propertyParts).join("."),parts=routes[property].split("."),targetName=parts.pop(),targetScope=parts.join(".");defaults.route(sourceScope,sourceName,targetScope,targetName)}))}(scope,item.defaultRoutes);item.descriptors&&defaults.describe(scope,item.descriptors)}(item,scope,parentScope),me.override&&defaults.override(item.id,item.overrides)),scope}get(id){return this.items[id]}unregister(item){const items=this.items,id=item.id,scope=this.scope;id in items&&delete items[id],scope&&id in defaults[scope]&&(delete defaults[scope][id],this.override&&delete overrides[id])}}var registry=new class Registry{constructor(){this.controllers=new TypedRegistry(DatasetController,"datasets",!0),this.elements=new TypedRegistry(Element,"elements"),this.plugins=new TypedRegistry(Object,"plugins"),this.scales=new TypedRegistry(Scale,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...args){this._each("register",args)}remove(...args){this._each("unregister",args)}addControllers(...args){this._each("register",args,this.controllers)}addElements(...args){this._each("register",args,this.elements)}addPlugins(...args){this._each("register",args,this.plugins)}addScales(...args){this._each("register",args,this.scales)}getController(id){return this._get(id,this.controllers,"controller")}getElement(id){return this._get(id,this.elements,"element")}getPlugin(id){return this._get(id,this.plugins,"plugin")}getScale(id){return this._get(id,this.scales,"scale")}removeControllers(...args){this._each("unregister",args,this.controllers)}removeElements(...args){this._each("unregister",args,this.elements)}removePlugins(...args){this._each("unregister",args,this.plugins)}removeScales(...args){this._each("unregister",args,this.scales)}_each(method,args,typedRegistry){const me=this;[...args].forEach((arg=>{const reg=typedRegistry||me._getRegistryForType(arg);typedRegistry||reg.isForType(arg)||reg===me.plugins&&arg.id?me._exec(method,reg,arg):each(arg,(item=>{const itemReg=typedRegistry||me._getRegistryForType(item);me._exec(method,itemReg,item)}))}))}_exec(method,registry,component){const camelMethod=_capitalize(method);callback(component["before"+camelMethod],[],component),registry[method](component),callback(component["after"+camelMethod],[],component)}_getRegistryForType(type){for(let i=0;ia.filter((x=>!b.some((y=>x.plugin.id===y.plugin.id))));this._notify(diff(previousDescriptors,descriptors),chart,"stop"),this._notify(diff(descriptors,previousDescriptors),chart,"start")}}function getOpts(options,all){return all||!1!==options?!0===options?{}:options:null}function pluginOpts(config,plugin,opts,context){const keys=config.pluginScopeKeys(plugin),scopes=config.getOptionScopes(opts,keys);return config.createResolver(scopes,context,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function getIndexAxis(type,options){const datasetDefaults=defaults.datasets[type]||{};return((options.datasets||{})[type]||{}).indexAxis||options.indexAxis||datasetDefaults.indexAxis||"x"}function determineAxis(id,scaleOptions){return"x"===id||"y"===id?id:scaleOptions.axis||function axisFromPosition(position){return"top"===position||"bottom"===position?"x":"left"===position||"right"===position?"y":void 0}(scaleOptions.position)||id.charAt(0).toLowerCase()}function initOptions(config){const options=config.options||(config.options={});options.plugins=valueOrDefault(options.plugins,{}),options.scales=function mergeScaleConfig(config,options){const chartDefaults=overrides[config.type]||{scales:{}},configScales=options.scales||{},chartIndexAxis=getIndexAxis(config.type,options),firstIDs=Object.create(null),scales=Object.create(null);return Object.keys(configScales).forEach((id=>{const scaleConf=configScales[id],axis=determineAxis(id,scaleConf),defaultId=function getDefaultScaleIDFromAxis(axis,indexAxis){return axis===indexAxis?"_index_":"_value_"}(axis,chartIndexAxis),defaultScaleOptions=chartDefaults.scales||{};firstIDs[axis]=firstIDs[axis]||id,scales[id]=mergeIf(Object.create(null),[{axis:axis},scaleConf,defaultScaleOptions[axis],defaultScaleOptions[defaultId]])})),config.data.datasets.forEach((dataset=>{const type=dataset.type||config.type,indexAxis=dataset.indexAxis||getIndexAxis(type,options),defaultScaleOptions=(overrides[type]||{}).scales||{};Object.keys(defaultScaleOptions).forEach((defaultID=>{const axis=function getAxisFromDefaultScaleID(id,indexAxis){let axis=id;return"_index_"===id?axis=indexAxis:"_value_"===id&&(axis="x"===indexAxis?"y":"x"),axis}(defaultID,indexAxis),id=dataset[axis+"AxisID"]||firstIDs[axis]||axis;scales[id]=scales[id]||Object.create(null),mergeIf(scales[id],[{axis:axis},configScales[id],defaultScaleOptions[defaultID]])}))})),Object.keys(scales).forEach((key=>{const scale=scales[key];mergeIf(scale,[defaults.scales[scale.type],defaults.scale])})),scales}(config,options)}function initData(data){return(data=data||{}).datasets=data.datasets||[],data.labels=data.labels||[],data}const keyCache=new Map,keysCached=new Set;function cachedKeys(cacheKey,generate){let keys=keyCache.get(cacheKey);return keys||(keys=generate(),keyCache.set(cacheKey,keys),keysCached.add(keys)),keys}const addIfFound=(set,obj,key)=>{const opts=resolveObjectKey(obj,key);void 0!==opts&&set.add(opts)};class Config{constructor(config){this._config=function initConfig(config){return(config=config||{}).data=initData(config.data),initOptions(config),config}(config),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(type){this._config.type=type}get data(){return this._config.data}set data(data){this._config.data=initData(data)}get options(){return this._config.options}set options(options){this._config.options=options}get plugins(){return this._config.plugins}update(){const config=this._config;this.clearCache(),initOptions(config)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(datasetType){return cachedKeys(datasetType,(()=>[[`datasets.${datasetType}`,""]]))}datasetAnimationScopeKeys(datasetType,transition){return cachedKeys(`${datasetType}.transition.${transition}`,(()=>[[`datasets.${datasetType}.transitions.${transition}`,`transitions.${transition}`],[`datasets.${datasetType}`,""]]))}datasetElementScopeKeys(datasetType,elementType){return cachedKeys(`${datasetType}-${elementType}`,(()=>[[`datasets.${datasetType}.elements.${elementType}`,`datasets.${datasetType}`,`elements.${elementType}`,""]]))}pluginScopeKeys(plugin){const id=plugin.id;return cachedKeys(`${this.type}-plugin-${id}`,(()=>[[`plugins.${id}`,...plugin.additionalOptionScopes||[]]]))}_cachedScopes(mainScope,resetCache){const _scopeCache=this._scopeCache;let cache=_scopeCache.get(mainScope);return cache&&!resetCache||(cache=new Map,_scopeCache.set(mainScope,cache)),cache}getOptionScopes(mainScope,keyLists,resetCache){const{options:options,type:type}=this,cache=this._cachedScopes(mainScope,resetCache),cached=cache.get(keyLists);if(cached)return cached;const scopes=new Set;keyLists.forEach((keys=>{mainScope&&(scopes.add(mainScope),keys.forEach((key=>addIfFound(scopes,mainScope,key)))),keys.forEach((key=>addIfFound(scopes,options,key))),keys.forEach((key=>addIfFound(scopes,overrides[type]||{},key))),keys.forEach((key=>addIfFound(scopes,defaults,key))),keys.forEach((key=>addIfFound(scopes,descriptors,key)))}));const array=Array.from(scopes);return 0===array.length&&array.push(Object.create(null)),keysCached.has(keyLists)&&cache.set(keyLists,array),array}chartOptionScopes(){const{options:options,type:type}=this;return[options,overrides[type]||{},defaults.datasets[type]||{},{type:type},defaults,descriptors]}resolveNamedOptions(scopes,names,context,prefixes=[""]){const result={$shared:!0},{resolver:resolver,subPrefixes:subPrefixes}=getResolver(this._resolverCache,scopes,prefixes);let options=resolver;if(function needContext(proxy,names){const{isScriptable:isScriptable,isIndexable:isIndexable}=_descriptors(proxy);for(const prop of names)if(isScriptable(prop)&&isFunction(proxy[prop])||isIndexable(prop)&&isArray(proxy[prop]))return!0;return!1}(resolver,names)){result.$shared=!1;options=_attachContext(resolver,context=isFunction(context)?context():context,this.createResolver(scopes,context,subPrefixes))}for(const prop of names)result[prop]=options[prop];return result}createResolver(scopes,context,prefixes=[""],descriptorDefaults){const{resolver:resolver}=getResolver(this._resolverCache,scopes,prefixes);return isObject(context)?_attachContext(resolver,context,void 0,descriptorDefaults):resolver}}function getResolver(resolverCache,scopes,prefixes){let cache=resolverCache.get(scopes);cache||(cache=new Map,resolverCache.set(scopes,cache));const cacheKey=prefixes.join();let cached=cache.get(cacheKey);if(!cached){cached={resolver:_createResolver(scopes,prefixes),subPrefixes:prefixes.filter((p=>!p.toLowerCase().includes("hover")))},cache.set(cacheKey,cached)}return cached}const KNOWN_POSITIONS=["top","bottom","left","right","chartArea"];function positionIsHorizontal(position,axis){return"top"===position||"bottom"===position||-1===KNOWN_POSITIONS.indexOf(position)&&"x"===axis}function compare2Level(l1,l2){return function(a,b){return a[l1]===b[l1]?a[l2]-b[l2]:a[l1]-b[l1]}}function onAnimationsComplete(context){const chart=context.chart,animationOptions=chart.options.animation;chart.notifyPlugins("afterRender"),callback(animationOptions&&animationOptions.onComplete,[context],chart)}function onAnimationProgress(context){const chart=context.chart,animationOptions=chart.options.animation;callback(animationOptions&&animationOptions.onProgress,[context],chart)}function getCanvas(item){return _isDomSupported()&&"string"==typeof item?item=document.getElementById(item):item&&item.length&&(item=item[0]),item&&item.canvas&&(item=item.canvas),item}const instances={},getChart=key=>{const canvas=getCanvas(key);return Object.values(instances).filter((c=>c.canvas===canvas)).pop()};class Chart{constructor(item,userConfig){const me=this,config=this.config=new Config(userConfig),initialCanvas=getCanvas(item),existingChart=getChart(initialCanvas);if(existingChart)throw new Error("Canvas is already in use. Chart with ID '"+existingChart.id+"' must be destroyed before the canvas can be reused.");const options=config.createResolver(config.chartOptionScopes(),me.getContext());this.platform=new(config.platform||_detectPlatform(initialCanvas));const context=me.platform.acquireContext(initialCanvas,options.aspectRatio),canvas=context&&context.canvas,height=canvas&&canvas.height,width=canvas&&canvas.width;this.id=uid(),this.ctx=context,this.canvas=canvas,this.width=width,this.height=height,this._options=options,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new PluginService,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=debounce((()=>this.update("resize")),options.resizeDelay||0),instances[me.id]=me,context&&canvas?(animator.listen(me,"complete",onAnimationsComplete),animator.listen(me,"progress",onAnimationProgress),me._initialize(),me.attached&&me.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:aspectRatio,maintainAspectRatio:maintainAspectRatio},width:width,height:height,_aspectRatio:_aspectRatio}=this;return isNullOrUndef(aspectRatio)?maintainAspectRatio&&_aspectRatio?_aspectRatio:height?width/height:null:aspectRatio}get data(){return this.config.data}set data(data){this.config.data=data}get options(){return this._options}set options(options){this.config.options=options}_initialize(){const me=this;return me.notifyPlugins("beforeInit"),me.options.responsive?me.resize():retinaScale(me,me.options.devicePixelRatio),me.bindEvents(),me.notifyPlugins("afterInit"),me}clear(){return clearCanvas(this.canvas,this.ctx),this}stop(){return animator.stop(this),this}resize(width,height){animator.running(this)?this._resizeBeforeDraw={width:width,height:height}:this._resize(width,height)}_resize(width,height){const me=this,options=me.options,canvas=me.canvas,aspectRatio=options.maintainAspectRatio&&me.aspectRatio,newSize=me.platform.getMaximumSize(canvas,width,height,aspectRatio),newRatio=options.devicePixelRatio||me.platform.getDevicePixelRatio();me.width=newSize.width,me.height=newSize.height,me._aspectRatio=me.aspectRatio,retinaScale(me,newRatio,!0)&&(me.notifyPlugins("resize",{size:newSize}),callback(options.onResize,[me,newSize],me),me.attached&&me._doResize()&&me.render())}ensureScalesHaveIDs(){each(this.options.scales||{},((axisOptions,axisID)=>{axisOptions.id=axisID}))}buildOrUpdateScales(){const me=this,options=me.options,scaleOpts=options.scales,scales=me.scales,updated=Object.keys(scales).reduce(((obj,id)=>(obj[id]=!1,obj)),{});let items=[];scaleOpts&&(items=items.concat(Object.keys(scaleOpts).map((id=>{const scaleOptions=scaleOpts[id],axis=determineAxis(id,scaleOptions),isRadial="r"===axis,isHorizontal="x"===axis;return{options:scaleOptions,dposition:isRadial?"chartArea":isHorizontal?"bottom":"left",dtype:isRadial?"radialLinear":isHorizontal?"category":"linear"}})))),each(items,(item=>{const scaleOptions=item.options,id=scaleOptions.id,axis=determineAxis(id,scaleOptions),scaleType=valueOrDefault(scaleOptions.type,item.dtype);void 0!==scaleOptions.position&&positionIsHorizontal(scaleOptions.position,axis)===positionIsHorizontal(item.dposition)||(scaleOptions.position=item.dposition),updated[id]=!0;let scale=null;if(id in scales&&scales[id].type===scaleType)scale=scales[id];else{scale=new(registry.getScale(scaleType))({id:id,type:scaleType,ctx:me.ctx,chart:me}),scales[scale.id]=scale}scale.init(scaleOptions,options)})),each(updated,((hasUpdated,id)=>{hasUpdated||delete scales[id]})),each(scales,(scale=>{layouts.configure(me,scale,scale.options),layouts.addBox(me,scale)}))}_updateMetasets(){const me=this,metasets=me._metasets,numData=me.data.datasets.length,numMeta=metasets.length;if(metasets.sort(((a,b)=>a.index-b.index)),numMeta>numData){for(let i=numData;idatasets.length&&delete me._stacks,metasets.forEach(((meta,index)=>{0===datasets.filter((x=>x===meta._dataset)).length&&me._destroyDatasetMeta(index)}))}buildOrUpdateControllers(){const me=this,newControllers=[],datasets=me.data.datasets;let i,ilen;for(me._removeUnreferencedMetasets(),i=0,ilen=datasets.length;i{me.getDatasetMeta(datasetIndex).controller.reset()}),me)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(mode){const me=this,config=me.config;config.update(),me._options=config.createResolver(config.chartOptionScopes(),me.getContext()),each(me.scales,(scale=>{layouts.removeBox(me,scale)}));const animsDisabled=me._animationsDisabled=!me.options.animation;me.ensureScalesHaveIDs(),me.buildOrUpdateScales();const existingEvents=new Set(Object.keys(me._listeners)),newEvents=new Set(me.options.events);if(setsEqual(existingEvents,newEvents)&&!!this._responsiveListeners===me.options.responsive||(me.unbindEvents(),me.bindEvents()),me._plugins.invalidate(),!1===me.notifyPlugins("beforeUpdate",{mode:mode,cancelable:!0}))return;const newControllers=me.buildOrUpdateControllers();me.notifyPlugins("beforeElementsUpdate");let minPadding=0;for(let i=0,ilen=me.data.datasets.length;i{controller.reset()})),me._updateDatasets(mode),me.notifyPlugins("afterUpdate",{mode:mode}),me._layers.sort(compare2Level("z","_idx")),me._lastEvent&&me._eventHandler(me._lastEvent,!0),me.render()}_updateLayout(minPadding){const me=this;if(!1===me.notifyPlugins("beforeLayout",{cancelable:!0}))return;layouts.update(me,me.width,me.height,minPadding);const area=me.chartArea,noArea=area.width<=0||area.height<=0;me._layers=[],each(me.boxes,(box=>{noArea&&"chartArea"===box.position||(box.configure&&box.configure(),me._layers.push(...box._layers()))}),me),me._layers.forEach(((item,index)=>{item._idx=index})),me.notifyPlugins("afterLayout")}_updateDatasets(mode){const me=this,isFunction="function"==typeof mode;if(!1!==me.notifyPlugins("beforeDatasetsUpdate",{mode:mode,cancelable:!0})){for(let i=0,ilen=me.data.datasets.length;i=0;--i)me._drawDataset(metasets[i]);me.notifyPlugins("afterDatasetsDraw")}_drawDataset(meta){const me=this,ctx=me.ctx,clip=meta._clip,useClip=!clip.disabled,area=me.chartArea,args={meta:meta,index:meta.index,cancelable:!0};!1!==me.notifyPlugins("beforeDatasetDraw",args)&&(useClip&&clipArea(ctx,{left:!1===clip.left?0:area.left-clip.left,right:!1===clip.right?me.width:area.right+clip.right,top:!1===clip.top?0:area.top-clip.top,bottom:!1===clip.bottom?me.height:area.bottom+clip.bottom}),meta.controller.draw(),useClip&&unclipArea(ctx),args.cancelable=!1,me.notifyPlugins("afterDatasetDraw",args))}getElementsAtEventForMode(e,mode,options,useFinalPosition){const method=Interaction.modes[mode];return"function"==typeof method?method(this,e,options,useFinalPosition):[]}getDatasetMeta(datasetIndex){const dataset=this.data.datasets[datasetIndex],metasets=this._metasets;let meta=metasets.filter((x=>x&&x._dataset===dataset)).pop();return meta||(meta={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:dataset&&dataset.order||0,index:datasetIndex,_dataset:dataset,_parsed:[],_sorted:!1},metasets.push(meta)),meta}getContext(){return this.$context||(this.$context={chart:this,type:"chart"})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(datasetIndex){const dataset=this.data.datasets[datasetIndex];if(!dataset)return!1;const meta=this.getDatasetMeta(datasetIndex);return"boolean"==typeof meta.hidden?!meta.hidden:!dataset.hidden}setDatasetVisibility(datasetIndex,visible){this.getDatasetMeta(datasetIndex).hidden=!visible}toggleDataVisibility(index){this._hiddenIndices[index]=!this._hiddenIndices[index]}getDataVisibility(index){return!this._hiddenIndices[index]}_updateVisibility(datasetIndex,dataIndex,visible){const me=this,mode=visible?"show":"hide",meta=me.getDatasetMeta(datasetIndex),anims=meta.controller._resolveAnimations(void 0,mode);defined(dataIndex)?(meta.data[dataIndex].hidden=!visible,me.update()):(me.setDatasetVisibility(datasetIndex,visible),anims.update(meta,{visible:visible}),me.update((ctx=>ctx.datasetIndex===datasetIndex?mode:void 0)))}hide(datasetIndex,dataIndex){this._updateVisibility(datasetIndex,dataIndex,!1)}show(datasetIndex,dataIndex){this._updateVisibility(datasetIndex,dataIndex,!0)}_destroyDatasetMeta(datasetIndex){const me=this,meta=me._metasets&&me._metasets[datasetIndex];meta&&meta.controller&&(meta.controller._destroy(),delete me._metasets[datasetIndex])}destroy(){const me=this,{canvas:canvas,ctx:ctx}=me;let i,ilen;for(me.stop(),animator.remove(me),i=0,ilen=me.data.datasets.length;i((type,listener)=>{platform.addEventListener(me,type,listener),listeners[type]=listener})(type,listener)))}bindResponsiveEvents(){const me=this;me._responsiveListeners||(me._responsiveListeners={});const listeners=me._responsiveListeners,platform=me.platform,_add=(type,listener)=>{platform.addEventListener(me,type,listener),listeners[type]=listener},_remove=(type,listener)=>{listeners[type]&&(platform.removeEventListener(me,type,listener),delete listeners[type])},listener=(width,height)=>{me.canvas&&me.resize(width,height)};let detached;const attached=()=>{_remove("attach",attached),me.attached=!0,me.resize(),_add("resize",listener),_add("detach",detached)};detached=()=>{me.attached=!1,_remove("resize",listener),_add("attach",attached)},platform.isAttached(me.canvas)?attached():detached()}unbindEvents(){const me=this;each(me._listeners,((listener,type)=>{me.platform.removeEventListener(me,type,listener)})),me._listeners={},each(me._responsiveListeners,((listener,type)=>{me.platform.removeEventListener(me,type,listener)})),me._responsiveListeners=void 0}updateHoverStyle(items,mode,enabled){const prefix=enabled?"set":"remove";let meta,item,i,ilen;for("dataset"===mode&&(meta=this.getDatasetMeta(items[0].datasetIndex),meta.controller["_"+prefix+"DatasetHoverStyle"]()),i=0,ilen=items.length;i{const meta=me.getDatasetMeta(datasetIndex);if(!meta)throw new Error("No dataset found at index "+datasetIndex);return{datasetIndex:datasetIndex,element:meta.data[index],index:index}}));!_elementsEqual(active,lastActive)&&(me._active=active,me._updateHoverStyles(active,lastActive))}notifyPlugins(hook,args,filter){return this._plugins.notify(this,hook,args,filter)}_updateHoverStyles(active,lastActive,replay){const me=this,hoverOptions=me.options.hover,diff=(a,b)=>a.filter((x=>!b.some((y=>x.datasetIndex===y.datasetIndex&&x.index===y.index)))),deactivated=diff(lastActive,active),activated=replay?active:diff(active,lastActive);deactivated.length&&me.updateHoverStyle(deactivated,hoverOptions.mode,!1),activated.length&&hoverOptions.mode&&me.updateHoverStyle(activated,hoverOptions.mode,!0)}_eventHandler(e,replay){const me=this,args={event:e,replay:replay,cancelable:!0},eventFilter=plugin=>(plugin.options.events||this.options.events).includes(e.type);if(!1===me.notifyPlugins("beforeEvent",args,eventFilter))return;const changed=me._handleEvent(e,replay);return args.cancelable=!1,me.notifyPlugins("afterEvent",args,eventFilter),(changed||args.changed)&&me.render(),me}_handleEvent(e,replay){const me=this,{_active:lastActive=[],options:options}=me,hoverOptions=options.hover,useFinalPosition=replay;let active=[],changed=!1,lastEvent=null;return"mouseout"!==e.type&&(active=me.getElementsAtEventForMode(e,hoverOptions.mode,hoverOptions,useFinalPosition),lastEvent="click"===e.type?me._lastEvent:e),me._lastEvent=null,_isPointInArea(e,me.chartArea,me._minPadding)&&(callback(options.onHover,[e,active,me],me),"mouseup"!==e.type&&"click"!==e.type&&"contextmenu"!==e.type||callback(options.onClick,[e,active,me],me)),changed=!_elementsEqual(active,lastActive),(changed||replay)&&(me._active=active,me._updateHoverStyles(active,lastActive,replay)),me._lastEvent=lastEvent,changed}}const invalidatePlugins=()=>each(Chart.instances,(chart=>chart._plugins.invalidate()));function abstract(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}Object.defineProperties(Chart,{defaults:{enumerable:true,value:defaults},instances:{enumerable:true,value:instances},overrides:{enumerable:true,value:overrides},registry:{enumerable:true,value:registry},version:{enumerable:true,value:"3.5.1"},getChart:{enumerable:true,value:getChart},register:{enumerable:true,value:(...items)=>{registry.add(...items),invalidatePlugins()}},unregister:{enumerable:true,value:(...items)=>{registry.remove(...items),invalidatePlugins()}}});class DateAdapter{constructor(options){this.options=options||{}}formats(){return abstract()}parse(value,format){return abstract()}format(timestamp,format){return abstract()}add(timestamp,amount,unit){return abstract()}diff(a,b,unit){return abstract()}startOf(timestamp,unit,weekday){return abstract()}endOf(timestamp,unit){return abstract()}}DateAdapter.override=function(members){Object.assign(DateAdapter.prototype,members)};var _adapters={_date:DateAdapter};function computeMinSampleSize(scale){const values=function getAllScaleValues(scale){if(!scale._cache.$bar){const metas=scale.getMatchingVisibleMetas("bar");let values=[];for(let i=0,ilen=metas.length;ia-b)))}return scale._cache.$bar}(scale);let i,ilen,curr,prev,min=scale._length;const updateMinAndPrev=()=>{32767!==curr&&-32768!==curr&&(defined(prev)&&(min=Math.min(min,Math.abs(curr-prev)||min)),prev=curr)};for(i=0,ilen=values.length;iMath.abs(max)&&(barStart=max,barEnd=min),item[vScale.axis]=barEnd,item._custom={barStart:barStart,barEnd:barEnd,start:startValue,end:endValue,min:min,max:max}}(entry,item,vScale,i):item[vScale.axis]=vScale.parse(entry,i),item}function parseArrayOrPrimitive(meta,data,start,count){const iScale=meta.iScale,vScale=meta.vScale,labels=iScale.getLabels(),singleScale=iScale===vScale,parsed=[];let i,ilen,item,entry;for(i=start,ilen=start+count;iproperties.x,start="left",end="right"):(reverse=properties.base=actualBase?1:-1)}(size,vScale,actualBase)*minBarLength,value===actualBase&&(base-=size/2),head=base+size),base===vScale.getPixelForValue(actualBase)){const halfGrid=sign(size)*vScale.getLineWidthForValue(actualBase)/2;base+=halfGrid,size-=halfGrid}return{size:size,base:base,head:head,center:head+size/2}}_calculateBarIndexPixels(index,ruler){const me=this,scale=ruler.scale,options=me.options,skipNull=options.skipNull,maxBarThickness=valueOrDefault(options.maxBarThickness,1/0);let center,size;if(ruler.grouped){const stackCount=skipNull?me._getStackCount(index):ruler.stackCount,range="flex"===options.barThickness?function computeFlexCategoryTraits(index,ruler,options,stackCount){const pixels=ruler.pixels,curr=pixels[index];let prev=index>0?pixels[index-1]:null,next=index=0;--i)max=Math.max(max,data[i].size()/2,_parsed[i]._custom);return max>0&&max}getLabelAndValue(index){const meta=this._cachedMeta,{xScale:xScale,yScale:yScale}=meta,parsed=this.getParsed(index),x=xScale.getLabelForValue(parsed.x),y=yScale.getLabelForValue(parsed.y),r=parsed._custom;return{label:meta.label,value:"("+x+", "+y+(r?", "+r:"")+")"}}update(mode){const points=this._cachedMeta.data;this.updateElements(points,0,points.length,mode)}updateElements(points,start,count,mode){const me=this,reset="reset"===mode,{iScale:iScale,vScale:vScale}=me._cachedMeta,firstOpts=me.resolveDataElementOptions(start,mode),sharedOptions=me.getSharedOptions(firstOpts),includeOptions=me.includeOptions(mode,sharedOptions),iAxis=iScale.axis,vAxis=vScale.axis;for(let i=start;i""}}}};class DoughnutController extends DatasetController{constructor(chart,datasetIndex){super(chart,datasetIndex),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(start,count){const data=this.getDataset().data,meta=this._cachedMeta;let i,ilen;for(i=start,ilen=start+count;i_angleBetween(angle,startAngle,endAngle,!0)?1:Math.max(a,a*cutout,b,b*cutout),calcMin=(angle,a,b)=>_angleBetween(angle,startAngle,endAngle,!0)?-1:Math.min(a,a*cutout,b,b*cutout),maxX=calcMax(0,startX,endX),maxY=calcMax(HALF_PI,startY,endY),minX=calcMin(PI,startX,endX),minY=calcMin(PI+HALF_PI,startY,endY);ratioX=(maxX-minX)/2,ratioY=(maxY-minY)/2,offsetX=-(maxX+minX)/2,offsetY=-(maxY+minY)/2}return{ratioX:ratioX,ratioY:ratioY,offsetX:offsetX,offsetY:offsetY}}(rotation,circumference,cutout),maxWidth=(chartArea.width-spacing)/ratioX,maxHeight=(chartArea.height-spacing)/ratioY,maxRadius=Math.max(Math.min(maxWidth,maxHeight)/2,0),outerRadius=toDimension(me.options.radius,maxRadius),radiusLength=(outerRadius-Math.max(outerRadius*cutout,0))/me._getVisibleDatasetWeightTotal();me.offsetX=offsetX*outerRadius,me.offsetY=offsetY*outerRadius,meta.total=me.calculateTotal(),me.outerRadius=outerRadius-radiusLength*me._getRingWeightOffset(me.index),me.innerRadius=Math.max(me.outerRadius-radiusLength*chartWeight,0),me.updateElements(arcs,0,arcs.length,mode)}_circumference(i,reset){const opts=this.options,meta=this._cachedMeta,circumference=this._getCircumference();return reset&&opts.animation.animateRotate||!this.chart.getDataVisibility(i)||null===meta._parsed[i]||meta.data[i].hidden?0:this.calculateCircumference(meta._parsed[i]*circumference/TAU)}updateElements(arcs,start,count,mode){const me=this,reset="reset"===mode,chart=me.chart,chartArea=chart.chartArea,animationOpts=chart.options.animation,centerX=(chartArea.left+chartArea.right)/2,centerY=(chartArea.top+chartArea.bottom)/2,animateScale=reset&&animationOpts.animateScale,innerRadius=animateScale?0:me.innerRadius,outerRadius=animateScale?0:me.outerRadius,firstOpts=me.resolveDataElementOptions(start,mode),sharedOptions=me.getSharedOptions(firstOpts),includeOptions=me.includeOptions(mode,sharedOptions);let i,startAngle=me._getRotation();for(i=0;i0&&!isNaN(value)?TAU*(Math.abs(value)/total):0}getLabelAndValue(index){const meta=this._cachedMeta,chart=this.chart,labels=chart.data.labels||[],value=formatNumber(meta._parsed[index],chart.options.locale);return{label:labels[index]||"",value:value}}getMaxBorderWidth(arcs){const me=this;let max=0;const chart=me.chart;let i,ilen,meta,controller,options;if(!arcs)for(i=0,ilen=chart.data.datasets.length;i"spacing"!==name,_indexable:name=>"spacing"!==name},DoughnutController.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(chart){const data=chart.data;if(data.labels.length&&data.datasets.length){const{labels:{pointStyle:pointStyle}}=chart.legend.options;return data.labels.map(((label,i)=>{const style=chart.getDatasetMeta(0).controller.getStyle(i);return{text:label,fillStyle:style.backgroundColor,strokeStyle:style.borderColor,lineWidth:style.borderWidth,pointStyle:pointStyle,hidden:!chart.getDataVisibility(i),index:i}}))}return[]}},onClick(e,legendItem,legend){legend.chart.toggleDataVisibility(legendItem.index),legend.chart.update()}},tooltip:{callbacks:{title:()=>"",label(tooltipItem){let dataLabel=tooltipItem.label;const value=": "+tooltipItem.formattedValue;return isArray(dataLabel)?(dataLabel=dataLabel.slice(),dataLabel[0]+=value):dataLabel+=value,dataLabel}}}}};class LineController extends DatasetController{initialize(){this.enableOptionSharing=!0,super.initialize()}update(mode){const me=this,meta=me._cachedMeta,{dataset:line,data:points=[],_dataset:_dataset}=meta,animationsDisabled=me.chart._animationsDisabled;let{start:start,count:count}=function getStartAndCountOfVisiblePoints(meta,points,animationsDisabled){const pointCount=points.length;let start=0,count=pointCount;if(meta._sorted){const{iScale:iScale,_parsed:_parsed}=meta,axis=iScale.axis,{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=iScale.getUserBounds();minDefined&&(start=_limitValue(Math.min(_lookupByKey(_parsed,iScale.axis,min).lo,animationsDisabled?pointCount:_lookupByKey(points,axis,iScale.getPixelForValue(min)).lo),0,pointCount-1)),count=maxDefined?_limitValue(Math.max(_lookupByKey(_parsed,iScale.axis,max).hi+1,animationsDisabled?0:_lookupByKey(points,axis,iScale.getPixelForValue(max)).hi+1),start,pointCount)-start:pointCount-start}return{start:start,count:count}}(meta,points,animationsDisabled);me._drawStart=start,me._drawCount=count,function scaleRangesChanged(meta){const{xScale:xScale,yScale:yScale,_scaleRanges:_scaleRanges}=meta,newRanges={xmin:xScale.min,xmax:xScale.max,ymin:yScale.min,ymax:yScale.max};if(!_scaleRanges)return meta._scaleRanges=newRanges,!0;const changed=_scaleRanges.xmin!==xScale.min||_scaleRanges.xmax!==xScale.max||_scaleRanges.ymin!==yScale.min||_scaleRanges.ymax!==yScale.max;return Object.assign(_scaleRanges,newRanges),changed}(meta)&&(start=0,count=points.length),line._datasetIndex=me.index,line._decimated=!!_dataset._decimated,line.points=points;const options=me.resolveDatasetElementOptions(mode);me.options.showLine||(options.borderWidth=0),options.segment=me.options.segment,me.updateElement(line,void 0,{animated:!animationsDisabled,options:options},mode),me.updateElements(points,start,count,mode)}updateElements(points,start,count,mode){const me=this,reset="reset"===mode,{iScale:iScale,vScale:vScale,_stacked:_stacked}=me._cachedMeta,firstOpts=me.resolveDataElementOptions(start,mode),sharedOptions=me.getSharedOptions(firstOpts),includeOptions=me.includeOptions(mode,sharedOptions),iAxis=iScale.axis,vAxis=vScale.axis,spanGaps=me.options.spanGaps,maxGapLength=isNumber(spanGaps)?spanGaps:Number.POSITIVE_INFINITY,directUpdate=me.chart._animationsDisabled||reset||"none"===mode;let prevParsed=start>0&&me.getParsed(start-1);for(let i=start;i0&&parsed[iAxis]-prevParsed[iAxis]>maxGapLength,properties.parsed=parsed,includeOptions&&(properties.options=sharedOptions||me.resolveDataElementOptions(i,point.active?"active":mode)),directUpdate||me.updateElement(point,i,properties,mode),prevParsed=parsed}me.updateSharedOptions(sharedOptions,mode,firstOpts)}getMaxOverflow(){const meta=this._cachedMeta,dataset=meta.dataset,border=dataset.options&&dataset.options.borderWidth||0,data=meta.data||[];if(!data.length)return border;const firstPoint=data[0].size(this.resolveDataElementOptions(0)),lastPoint=data[data.length-1].size(this.resolveDataElementOptions(data.length-1));return Math.max(border,firstPoint,lastPoint)/2}draw(){const meta=this._cachedMeta;meta.dataset.updateControlPoints(this.chart.chartArea,meta.iScale.axis),super.draw()}}LineController.id="line",LineController.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},LineController.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class PolarAreaController extends DatasetController{constructor(chart,datasetIndex){super(chart,datasetIndex),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(index){const meta=this._cachedMeta,chart=this.chart,labels=chart.data.labels||[],value=formatNumber(meta._parsed[index].r,chart.options.locale);return{label:labels[index]||"",value:value}}update(mode){const arcs=this._cachedMeta.data;this._updateRadius(),this.updateElements(arcs,0,arcs.length,mode)}_updateRadius(){const me=this,chart=me.chart,chartArea=chart.chartArea,opts=chart.options,minSize=Math.min(chartArea.right-chartArea.left,chartArea.bottom-chartArea.top),outerRadius=Math.max(minSize/2,0),radiusLength=(outerRadius-Math.max(opts.cutoutPercentage?outerRadius/100*opts.cutoutPercentage:1,0))/chart.getVisibleDatasetCount();me.outerRadius=outerRadius-radiusLength*me.index,me.innerRadius=me.outerRadius-radiusLength}updateElements(arcs,start,count,mode){const me=this,reset="reset"===mode,chart=me.chart,dataset=me.getDataset(),animationOpts=chart.options.animation,scale=me._cachedMeta.rScale,centerX=scale.xCenter,centerY=scale.yCenter,datasetStartAngle=scale.getIndexAngle(0)-.5*PI;let i,angle=datasetStartAngle;const defaultAngle=360/me.countVisibleElements();for(i=0;i{!isNaN(dataset.data[index])&&this.chart.getDataVisibility(index)&&count++})),count}_computeAngle(index,mode,defaultAngle){return this.chart.getDataVisibility(index)?toRadians(this.resolveDataElementOptions(index,mode).angle||defaultAngle):0}}PolarAreaController.id="polarArea",PolarAreaController.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},PolarAreaController.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(chart){const data=chart.data;if(data.labels.length&&data.datasets.length){const{labels:{pointStyle:pointStyle}}=chart.legend.options;return data.labels.map(((label,i)=>{const style=chart.getDatasetMeta(0).controller.getStyle(i);return{text:label,fillStyle:style.backgroundColor,strokeStyle:style.borderColor,lineWidth:style.borderWidth,pointStyle:pointStyle,hidden:!chart.getDataVisibility(i),index:i}}))}return[]}},onClick(e,legendItem,legend){legend.chart.toggleDataVisibility(legendItem.index),legend.chart.update()}},tooltip:{callbacks:{title:()=>"",label:context=>context.chart.data.labels[context.dataIndex]+": "+context.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class PieController extends DoughnutController{}PieController.id="pie",PieController.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class RadarController extends DatasetController{getLabelAndValue(index){const vScale=this._cachedMeta.vScale,parsed=this.getParsed(index);return{label:vScale.getLabels()[index],value:""+vScale.getLabelForValue(parsed[vScale.axis])}}update(mode){const me=this,meta=me._cachedMeta,line=meta.dataset,points=meta.data||[],labels=meta.iScale.getLabels();if(line.points=points,"resize"!==mode){const options=me.resolveDatasetElementOptions(mode);me.options.showLine||(options.borderWidth=0);const properties={_loop:!0,_fullLoop:labels.length===points.length,options:options};me.updateElement(line,void 0,properties,mode)}me.updateElements(points,0,points.length,mode)}updateElements(points,start,count,mode){const me=this,dataset=me.getDataset(),scale=me._cachedMeta.rScale,reset="reset"===mode;for(let i=start;i"",label:item=>"("+item.label+", "+item.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var controllers=Object.freeze({__proto__:null,BarController:BarController,BubbleController:BubbleController,DoughnutController:DoughnutController,LineController:LineController,PolarAreaController:PolarAreaController,PieController:PieController,RadarController:RadarController,ScatterController:ScatterController});function clipArc(ctx,element,endAngle){const{startAngle:startAngle,pixelMargin:pixelMargin,x:x,y:y,outerRadius:outerRadius,innerRadius:innerRadius}=element;let angleMargin=pixelMargin/outerRadius;ctx.beginPath(),ctx.arc(x,y,outerRadius,startAngle-angleMargin,endAngle+angleMargin),innerRadius>pixelMargin?(angleMargin=pixelMargin/innerRadius,ctx.arc(x,y,innerRadius,endAngle+angleMargin,startAngle-angleMargin,!0)):ctx.arc(x,y,pixelMargin,endAngle+HALF_PI,startAngle-HALF_PI),ctx.closePath(),ctx.clip()}function parseBorderRadius$1(arc,innerRadius,outerRadius,angleDelta){const o=function toRadiusCorners(value){return _readValueToProps(value,["outerStart","outerEnd","innerStart","innerEnd"])}(arc.options.borderRadius),halfThickness=(outerRadius-innerRadius)/2,innerLimit=Math.min(halfThickness,angleDelta*innerRadius/2),computeOuterLimit=val=>{const outerArcLimit=(outerRadius-Math.min(halfThickness,val))*angleDelta/2;return _limitValue(val,0,Math.min(halfThickness,outerArcLimit))};return{outerStart:computeOuterLimit(o.outerStart),outerEnd:computeOuterLimit(o.outerEnd),innerStart:_limitValue(o.innerStart,0,innerLimit),innerEnd:_limitValue(o.innerEnd,0,innerLimit)}}function rThetaToXY(r,theta,x,y){return{x:x+r*Math.cos(theta),y:y+r*Math.sin(theta)}}function pathArc(ctx,element,offset,spacing,end){const{x:x,y:y,startAngle:start,pixelMargin:pixelMargin,innerRadius:innerR}=element,outerRadius=Math.max(element.outerRadius+spacing+offset-pixelMargin,0),innerRadius=innerR>0?innerR+spacing+offset+pixelMargin:0;let spacingOffset=0;const alpha=end-start;if(spacing){const avNogSpacingRadius=((innerR>0?innerR-spacing:0)+(outerRadius>0?outerRadius-spacing:0))/2;spacingOffset=(alpha-(0!==avNogSpacingRadius?alpha*avNogSpacingRadius/(avNogSpacingRadius+spacing):alpha))/2}const angleOffset=(alpha-Math.max(.001,alpha*outerRadius-offset/PI)/outerRadius)/2,startAngle=start+angleOffset+spacingOffset,endAngle=end-angleOffset-spacingOffset,{outerStart:outerStart,outerEnd:outerEnd,innerStart:innerStart,innerEnd:innerEnd}=parseBorderRadius$1(element,innerRadius,outerRadius,endAngle-startAngle),outerStartAdjustedRadius=outerRadius-outerStart,outerEndAdjustedRadius=outerRadius-outerEnd,outerStartAdjustedAngle=startAngle+outerStart/outerStartAdjustedRadius,outerEndAdjustedAngle=endAngle-outerEnd/outerEndAdjustedRadius,innerStartAdjustedRadius=innerRadius+innerStart,innerEndAdjustedRadius=innerRadius+innerEnd,innerStartAdjustedAngle=startAngle+innerStart/innerStartAdjustedRadius,innerEndAdjustedAngle=endAngle-innerEnd/innerEndAdjustedRadius;if(ctx.beginPath(),ctx.arc(x,y,outerRadius,outerStartAdjustedAngle,outerEndAdjustedAngle),outerEnd>0){const pCenter=rThetaToXY(outerEndAdjustedRadius,outerEndAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,outerEnd,outerEndAdjustedAngle,endAngle+HALF_PI)}const p4=rThetaToXY(innerEndAdjustedRadius,endAngle,x,y);if(ctx.lineTo(p4.x,p4.y),innerEnd>0){const pCenter=rThetaToXY(innerEndAdjustedRadius,innerEndAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,innerEnd,endAngle+HALF_PI,innerEndAdjustedAngle+Math.PI)}if(ctx.arc(x,y,innerRadius,endAngle-innerEnd/innerRadius,startAngle+innerStart/innerRadius,!0),innerStart>0){const pCenter=rThetaToXY(innerStartAdjustedRadius,innerStartAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,innerStart,innerStartAdjustedAngle+Math.PI,startAngle-HALF_PI)}const p8=rThetaToXY(outerStartAdjustedRadius,startAngle,x,y);if(ctx.lineTo(p8.x,p8.y),outerStart>0){const pCenter=rThetaToXY(outerStartAdjustedRadius,outerStartAdjustedAngle,x,y);ctx.arc(pCenter.x,pCenter.y,outerStart,startAngle-HALF_PI,outerStartAdjustedAngle)}ctx.closePath()}function drawBorder(ctx,element,offset,spacing,endAngle){const{options:options}=element,inner="inner"===options.borderAlign;options.borderWidth&&(inner?(ctx.lineWidth=2*options.borderWidth,ctx.lineJoin="round"):(ctx.lineWidth=options.borderWidth,ctx.lineJoin="bevel"),element.fullCircles&&function drawFullCircleBorders(ctx,element,inner){const{x:x,y:y,startAngle:startAngle,pixelMargin:pixelMargin,fullCircles:fullCircles}=element,outerRadius=Math.max(element.outerRadius-pixelMargin,0),innerRadius=element.innerRadius+pixelMargin;let i;for(inner&&clipArc(ctx,element,startAngle+TAU),ctx.beginPath(),ctx.arc(x,y,innerRadius,startAngle+TAU,startAngle,!0),i=0;i=TAU||_angleBetween(angle,startAngle,endAngle))&&(distance>=innerRadius+rAdjust&&distance<=outerRadius+rAdjust)}getCenterPoint(useFinalPosition){const{x:x,y:y,startAngle:startAngle,endAngle:endAngle,innerRadius:innerRadius,outerRadius:outerRadius}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],useFinalPosition),{offset:offset,spacing:spacing}=this.options,halfAngle=(startAngle+endAngle)/2,halfRadius=(innerRadius+outerRadius+spacing+offset)/2;return{x:x+Math.cos(halfAngle)*halfRadius,y:y+Math.sin(halfAngle)*halfRadius}}tooltipPosition(useFinalPosition){return this.getCenterPoint(useFinalPosition)}draw(ctx){const me=this,{options:options,circumference:circumference}=me,offset=(options.offset||0)/2,spacing=(options.spacing||0)/2;if(me.pixelMargin="inner"===options.borderAlign?.33:0,me.fullCircles=circumference>TAU?Math.floor(circumference/TAU):0,0===circumference||me.innerRadius<0||me.outerRadius<0)return;ctx.save();let radiusOffset=0;if(offset){radiusOffset=offset/2;const halfAngle=(me.startAngle+me.endAngle)/2;ctx.translate(Math.cos(halfAngle)*radiusOffset,Math.sin(halfAngle)*radiusOffset),me.circumference>=PI&&(radiusOffset=offset)}ctx.fillStyle=options.backgroundColor,ctx.strokeStyle=options.borderColor;const endAngle=function drawArc(ctx,element,offset,spacing){const{fullCircles:fullCircles,startAngle:startAngle,circumference:circumference}=element;let endAngle=element.endAngle;if(fullCircles){pathArc(ctx,element,offset,spacing,startAngle+TAU);for(let i=0;isegmentEnd&¶msEnd>segmentEnd;return{count:count,start:start,loop:segment.loop,ilen:end(start+(reverse?ilen-index:index))%count,drawX=()=>{minY!==maxY&&(ctx.lineTo(avgX,maxY),ctx.lineTo(avgX,minY),ctx.lineTo(avgX,lastY))};for(move&&(point=points[pointIndex(0)],ctx.moveTo(point.x,point.y)),i=0;i<=ilen;++i){if(point=points[pointIndex(i)],point.skip)continue;const x=point.x,y=point.y,truncX=0|x;truncX===prevX?(ymaxY&&(maxY=y),avgX=(countX*avgX+x)/++countX):(drawX(),ctx.lineTo(x,y),prevX=truncX,countX=0,minY=maxY=y),lastY=y}drawX()}function _getSegmentMethod(line){const opts=line.options,borderDash=opts.borderDash&&opts.borderDash.length;return!(line._decimated||line._loop||opts.tension||"monotone"===opts.cubicInterpolationMode||opts.stepped||borderDash)?fastPathSegment:pathSegment}ArcElement.id="arc",ArcElement.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},ArcElement.defaultRoutes={backgroundColor:"backgroundColor"};const usePath2D="function"==typeof Path2D;function draw(ctx,line,start,count){usePath2D&&1===line.segments.length?function strokePathWithCache(ctx,line,start,count){let path=line._path;path||(path=line._path=new Path2D,line.path(path,start,count)&&path.closePath()),setStyle(ctx,line.options),ctx.stroke(path)}(ctx,line,start,count):function strokePathDirect(ctx,line,start,count){const{segments:segments,options:options}=line,segmentMethod=_getSegmentMethod(line);for(const segment of segments)setStyle(ctx,options,segment.style),ctx.beginPath(),segmentMethod(ctx,line,segment,{start:start,end:start+count-1})&&ctx.closePath(),ctx.stroke()}(ctx,line,start,count)}class LineElement extends Element{constructor(cfg){super(),this.animated=!0,this.options=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,cfg&&Object.assign(this,cfg)}updateControlPoints(chartArea,indexAxis){const me=this,options=me.options;if((options.tension||"monotone"===options.cubicInterpolationMode)&&!options.stepped&&!me._pointsUpdated){const loop=options.spanGaps?me._loop:me._fullLoop;_updateBezierControlPoints(me._points,options,chartArea,loop,indexAxis),me._pointsUpdated=!0}}set points(points){this._points=points,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=_computeSegments(this,this.options.segment))}first(){const segments=this.segments,points=this.points;return segments.length&&points[segments[0].start]}last(){const segments=this.segments,points=this.points,count=segments.length;return count&&points[segments[count-1].end]}interpolate(point,property){const options=this.options,value=point[property],points=this.points,segments=_boundSegments(this,{property:property,start:value,end:value});if(!segments.length)return;const result=[],_interpolate=function _getInterpolationMethod(options){return options.stepped?_steppedInterpolation:options.tension||"monotone"===options.cubicInterpolationMode?_bezierInterpolation:_pointInLine}(options);let i,ilen;for(i=0,ilen=segments.length;i"borderDash"!==name&&"fill"!==name};class PointElement extends Element{constructor(cfg){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,cfg&&Object.assign(this,cfg)}inRange(mouseX,mouseY,useFinalPosition){const options=this.options,{x:x,y:y}=this.getProps(["x","y"],useFinalPosition);return Math.pow(mouseX-x,2)+Math.pow(mouseY-y,2)=bounds.left&&x<=bounds.right)&&(skipY||y>=bounds.top&&y<=bounds.bottom)}function addNormalRectPath(ctx,rect){ctx.rect(rect.x,rect.y,rect.w,rect.h)}function inflateRect(rect,amount,refRect={}){const x=rect.x!==refRect.x?-amount:0,y=rect.y!==refRect.y?-amount:0,w=(rect.x+rect.w!==refRect.x+refRect.w?amount:0)-x,h=(rect.y+rect.h!==refRect.y+refRect.h?amount:0)-y;return{x:rect.x+x,y:rect.y+y,w:rect.w+w,h:rect.h+h,radius:rect.radius}}PointElement.id="point",PointElement.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},PointElement.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class BarElement extends Element{constructor(cfg){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,cfg&&Object.assign(this,cfg)}draw(ctx){const options=this.options,{inner:inner,outer:outer}=boundingRects(this),addRectPath=function hasRadius(radius){return radius.topLeft||radius.topRight||radius.bottomLeft||radius.bottomRight}(outer.radius)?addRoundedRectPath:addNormalRectPath;ctx.save(),outer.w===inner.w&&outer.h===inner.h||(ctx.beginPath(),addRectPath(ctx,inflateRect(outer,.33,inner)),ctx.clip(),addRectPath(ctx,inflateRect(inner,-.33,outer)),ctx.fillStyle=options.borderColor,ctx.fill("evenodd")),ctx.beginPath(),addRectPath(ctx,inflateRect(inner,.33,outer)),ctx.fillStyle=options.backgroundColor,ctx.fill(),ctx.restore()}inRange(mouseX,mouseY,useFinalPosition){return inRange(this,mouseX,mouseY,useFinalPosition)}inXRange(mouseX,useFinalPosition){return inRange(this,mouseX,null,useFinalPosition)}inYRange(mouseY,useFinalPosition){return inRange(this,null,mouseY,useFinalPosition)}getCenterPoint(useFinalPosition){const{x:x,y:y,base:base,horizontal:horizontal}=this.getProps(["x","y","base","horizontal"],useFinalPosition);return{x:horizontal?(x+base)/2:x,y:horizontal?y:(y+base)/2}}getRange(axis){return"x"===axis?this.width/2:this.height/2}}BarElement.id="bar",BarElement.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},BarElement.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var elements=Object.freeze({__proto__:null,ArcElement:ArcElement,LineElement:LineElement,PointElement:PointElement,BarElement:BarElement});function cleanDecimatedDataset(dataset){if(dataset._decimated){const data=dataset._data;delete dataset._decimated,delete dataset._data,Object.defineProperty(dataset,"data",{value:data})}}function cleanDecimatedData(chart){chart.data.datasets.forEach((dataset=>{cleanDecimatedDataset(dataset)}))}var plugin_decimation={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(chart,args,options)=>{if(!options.enabled)return void cleanDecimatedData(chart);const availableWidth=chart.width;chart.data.datasets.forEach(((dataset,datasetIndex)=>{const{_data:_data,indexAxis:indexAxis}=dataset,meta=chart.getDatasetMeta(datasetIndex),data=_data||dataset.data;if("y"===resolve([indexAxis,chart.options.indexAxis]))return;if("line"!==meta.type)return;const xAxis=chart.scales[meta.xAxisID];if("linear"!==xAxis.type&&"time"!==xAxis.type)return;if(chart.options.parsing)return;let{start:start,count:count}=function getStartAndCountOfVisiblePointsSimplified(meta,points){const pointCount=points.length;let count,start=0;const{iScale:iScale}=meta,{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=iScale.getUserBounds();return minDefined&&(start=_limitValue(_lookupByKey(points,iScale.axis,min).lo,0,pointCount-1)),count=maxDefined?_limitValue(_lookupByKey(points,iScale.axis,max).hi+1,start,pointCount)-start:pointCount-start,{start:start,count:count}}(meta,data);if(count<=(options.threshold||4*availableWidth))return void cleanDecimatedDataset(dataset);let decimated;switch(isNullOrUndef(_data)&&(dataset._data=data,delete dataset.data,Object.defineProperty(dataset,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(d){this._data=d}})),options.algorithm){case"lttb":decimated=function lttbDecimation(data,start,count,availableWidth,options){const samples=options.samples||availableWidth;if(samples>=count)return data.slice(start,start+count);const decimated=[],bucketWidth=(count-2)/(samples-2);let sampledIndex=0;const endIndex=start+count-1;let i,maxAreaPoint,maxArea,area,nextA,a=start;for(decimated[sampledIndex++]=data[a],i=0;imaxArea&&(maxArea=area,maxAreaPoint=data[j],nextA=j);decimated[sampledIndex++]=maxAreaPoint,a=nextA}return decimated[sampledIndex++]=data[endIndex],decimated}(data,start,count,availableWidth,options);break;case"min-max":decimated=function minMaxDecimation(data,start,count,availableWidth){let i,point,x,y,prevX,minIndex,maxIndex,startIndex,minY,maxY,avgX=0,countX=0;const decimated=[],endIndex=start+count-1,xMin=data[start].x,dx=data[endIndex].x-xMin;for(i=start;imaxY&&(maxY=y,maxIndex=i),avgX=(countX*avgX+point.x)/++countX;else{const lastIndex=i-1;if(!isNullOrUndef(minIndex)&&!isNullOrUndef(maxIndex)){const intermediateIndex1=Math.min(minIndex,maxIndex),intermediateIndex2=Math.max(minIndex,maxIndex);intermediateIndex1!==startIndex&&intermediateIndex1!==lastIndex&&decimated.push({...data[intermediateIndex1],x:avgX}),intermediateIndex2!==startIndex&&intermediateIndex2!==lastIndex&&decimated.push({...data[intermediateIndex2],x:avgX})}i>0&&lastIndex!==startIndex&&decimated.push(data[lastIndex]),decimated.push(point),prevX=truncX,countX=0,minY=maxY=y,minIndex=maxIndex=startIndex=i}}return decimated}(data,start,count,availableWidth);break;default:throw new Error(`Unsupported decimation algorithm '${options.algorithm}'`)}dataset._decimated=decimated}))},destroy(chart){cleanDecimatedData(chart)}};function decodeFill(line,index,count){const fill=function parseFillOption(line){const options=line.options,fillOption=options.fill;let fill=valueOrDefault(fillOption&&fillOption.target,fillOption);return void 0===fill&&(fill=!!options.backgroundColor),!1!==fill&&null!==fill&&(!0===fill?"origin":fill)}(line);if(isObject(fill))return!isNaN(fill.value)&&fill;let target=parseFloat(fill);return isNumberFinite(target)&&Math.floor(target)===target?("-"!==fill[0]&&"+"!==fill[0]||(target=index+target),!(target===index||target<0||target>=count)&&target):["origin","start","end","stack","shape"].indexOf(fill)>=0&&fill}class simpleArc{constructor(opts){this.x=opts.x,this.y=opts.y,this.radius=opts.radius}pathSegment(ctx,bounds,opts){const{x:x,y:y,radius:radius}=this;return bounds=bounds||{start:0,end:TAU},ctx.arc(x,y,radius,bounds.end,bounds.start,!0),!opts.bounds}interpolate(point){const{x:x,y:y,radius:radius}=this,angle=point.angle;return{x:x+Math.cos(angle)*radius,y:y+Math.sin(angle)*radius,angle:angle}}}function computeBoundary(source){return(source.scale||{}).getPointPositionForValue?function computeCircularBoundary(source){const{scale:scale,fill:fill}=source,options=scale.options,length=scale.getLabels().length,target=[],start=options.reverse?scale.max:scale.min,end=options.reverse?scale.min:scale.max;let i,center,value;if(value="start"===fill?start:"end"===fill?end:isObject(fill)?fill.value:scale.getBaseValue(),options.grid.circular)return center=scale.getPointPositionForValue(0,start),new simpleArc({x:center.x,y:center.y,radius:scale.getDistanceFromCenterForValue(value)});for(i=0;istart;end--){const point=points[end];if(!isNaN(point.x)&&!isNaN(point.y))break}return end}function buildStackLine(source){const{chart:chart,scale:scale,index:index,line:line}=source,points=[],segments=line.segments,sourcePoints=line.points,linesBelow=function getLinesBelow(chart,index){const below=[],metas=chart.getSortedVisibleDatasetMetas();for(let i=0;i"line"===meta.type&&!meta.hidden;function addPointsBelow(points,sourcePoint,linesBelow){const postponed=[];for(let j=0;j=firstValue&&pointValue<=lastValue){first=pointValue===firstValue,last=pointValue===lastValue;break}}return{first:first,last:last,point:point}}function createBoundaryLine(boundary,line){let points=[],_loop=!1;return isArray(boundary)?(_loop=!0,points=boundary):points=function pointsFromSegments(boundary,line){const{x:x=null,y:y=null}=boundary||{},linePoints=line.points,points=[];return line.segments.forEach((({start:start,end:end})=>{end=findSegmentEnd(start,end,linePoints);const first=linePoints[start],last=linePoints[end];null!==y?(points.push({x:first.x,y:y}),points.push({x:last.x,y:y})):null!==x&&(points.push({x:x,y:first.y}),points.push({x:x,y:last.y}))})),points}(boundary,line),points.length?new LineElement({points:points,options:{tension:0},_loop:_loop,_fullLoop:_loop}):null}function resolveTarget(sources,index,propagate){let fill=sources[index].fill;const visited=[index];let target;if(!propagate)return fill;for(;!1!==fill&&-1===visited.indexOf(fill);){if(!isNumberFinite(fill))return fill;if(target=sources[fill],!target)return!1;if(target.visible)return fill;visited.push(fill),fill=target.fill}return!1}function _clip(ctx,target,clipY){ctx.beginPath(),target.path(ctx),ctx.lineTo(target.last().x,clipY),ctx.lineTo(target.first().x,clipY),ctx.closePath(),ctx.clip()}function getBounds(property,first,last,loop){if(loop)return;let start=first[property],end=last[property];return"angle"===property&&(start=_normalizeAngle(start),end=_normalizeAngle(end)),{property:property,start:start,end:end}}function _getEdge(a,b,prop,fn){return a&&b?fn(a[prop],b[prop]):a?a[prop]:b?b[prop]:0}function clipBounds(ctx,scale,bounds){const{top:top,bottom:bottom}=scale.chart.chartArea,{property:property,start:start,end:end}=bounds||{};"x"===property&&(ctx.beginPath(),ctx.rect(start,top,end-start,bottom-top),ctx.clip())}function interpolatedLineTo(ctx,target,point,property){const interpolatedPoint=target.interpolate(point,property);interpolatedPoint&&ctx.lineTo(interpolatedPoint.x,interpolatedPoint.y)}function _fill(ctx,cfg){const{line:line,target:target,property:property,color:color,scale:scale}=cfg,segments=function _segments(line,target,property){const segments=line.segments,points=line.points,tpoints=target.points,parts=[];for(const segment of segments){let{start:start,end:end}=segment;end=findSegmentEnd(start,end,points);const bounds=getBounds(property,points[start],points[end],segment.loop);if(!target.segments){parts.push({source:segment,target:bounds,start:points[start],end:points[end]});continue}const targetSegments=_boundSegments(target,bounds);for(const tgt of targetSegments){const subBounds=getBounds(property,tpoints[tgt.start],tpoints[tgt.end],tgt.loop),fillSources=_boundSegment(segment,points,subBounds);for(const fillSource of fillSources)parts.push({source:fillSource,target:tgt,start:{[property]:_getEdge(bounds,subBounds,"start",Math.max)},end:{[property]:_getEdge(bounds,subBounds,"end",Math.min)}})}}return parts}(line,target,property);for(const{source:src,target:tgt,start:start,end:end}of segments){const{style:{backgroundColor:backgroundColor=color}={}}=src,notShape=!0!==target;ctx.save(),ctx.fillStyle=backgroundColor,clipBounds(ctx,scale,notShape&&getBounds(property,start,end)),ctx.beginPath();const lineLoop=!!line.pathSegment(ctx,src);let loop;if(notShape){lineLoop?ctx.closePath():interpolatedLineTo(ctx,target,end,property);const targetLoop=!!target.pathSegment(ctx,tgt,{move:lineLoop,reverse:!0});loop=lineLoop&&targetLoop,loop||interpolatedLineTo(ctx,target,start,property)}ctx.closePath(),ctx.fill(loop?"evenodd":"nonzero"),ctx.restore()}}function drawfill(ctx,source,area){const target=function getTarget(source){const{chart:chart,fill:fill,line:line}=source;if(isNumberFinite(fill))return function getLineByIndex(chart,index){const meta=chart.getDatasetMeta(index);return meta&&chart.isDatasetVisible(index)?meta.dataset:null}(chart,fill);if("stack"===fill)return buildStackLine(source);if("shape"===fill)return!0;const boundary=computeBoundary(source);return boundary instanceof simpleArc?boundary:createBoundaryLine(boundary,line)}(source),{line:line,scale:scale,axis:axis}=source,lineOpts=line.options,fillOption=lineOpts.fill,color=lineOpts.backgroundColor,{above:above=color,below:below=color}=fillOption||{};target&&line.points.length&&(clipArea(ctx,area),function doFill(ctx,cfg){const{line:line,target:target,above:above,below:below,area:area,scale:scale}=cfg,property=line._loop?"angle":cfg.axis;ctx.save(),"x"===property&&below!==above&&(_clip(ctx,target,area.top),_fill(ctx,{line:line,target:target,color:above,scale:scale,property:property}),ctx.restore(),ctx.save(),_clip(ctx,target,area.bottom)),_fill(ctx,{line:line,target:target,color:below,scale:scale,property:property}),ctx.restore()}(ctx,{line:line,target:target,above:above,below:below,area:area,scale:scale,axis:axis}),unclipArea(ctx))}var plugin_filler={id:"filler",afterDatasetsUpdate(chart,_args,options){const count=(chart.data.datasets||[]).length,sources=[];let meta,i,line,source;for(i=0;i=0;--i){const source=metasets[i].$filler;source&&(source.line.updateControlPoints(area,source.axis),draw&&drawfill(chart.ctx,source,area))}},beforeDatasetsDraw(chart,_args,options){if("beforeDatasetsDraw"!==options.drawTime)return;const metasets=chart.getSortedVisibleDatasetMetas();for(let i=metasets.length-1;i>=0;--i){const source=metasets[i].$filler;source&&drawfill(chart.ctx,source,chart.chartArea)}},beforeDatasetDraw(chart,args,options){const source=args.meta.$filler;source&&!1!==source.fill&&"beforeDatasetDraw"===options.drawTime&&drawfill(chart.ctx,source,chart.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const getBoxSize=(labelOpts,fontSize)=>{let{boxHeight:boxHeight=fontSize,boxWidth:boxWidth=fontSize}=labelOpts;return labelOpts.usePointStyle&&(boxHeight=Math.min(boxHeight,fontSize),boxWidth=Math.min(boxWidth,fontSize)),{boxWidth:boxWidth,boxHeight:boxHeight,itemHeight:Math.max(fontSize,boxHeight)}};class Legend extends Element{constructor(config){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=config.chart,this.options=config.options,this.ctx=config.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(maxWidth,maxHeight,margins){const me=this;me.maxWidth=maxWidth,me.maxHeight=maxHeight,me._margins=margins,me.setDimensions(),me.buildLabels(),me.fit()}setDimensions(){const me=this;me.isHorizontal()?(me.width=me.maxWidth,me.left=me._margins.left,me.right=me.width):(me.height=me.maxHeight,me.top=me._margins.top,me.bottom=me.height)}buildLabels(){const me=this,labelOpts=me.options.labels||{};let legendItems=callback(labelOpts.generateLabels,[me.chart],me)||[];labelOpts.filter&&(legendItems=legendItems.filter((item=>labelOpts.filter(item,me.chart.data)))),labelOpts.sort&&(legendItems=legendItems.sort(((a,b)=>labelOpts.sort(a,b,me.chart.data)))),me.options.reverse&&legendItems.reverse(),me.legendItems=legendItems}fit(){const me=this,{options:options,ctx:ctx}=me;if(!options.display)return void(me.width=me.height=0);const labelOpts=options.labels,labelFont=toFont(labelOpts.font),fontSize=labelFont.size,titleHeight=me._computeTitleHeight(),{boxWidth:boxWidth,itemHeight:itemHeight}=getBoxSize(labelOpts,fontSize);let width,height;ctx.font=labelFont.string,me.isHorizontal()?(width=me.maxWidth,height=me._fitRows(titleHeight,fontSize,boxWidth,itemHeight)+10):(height=me.maxHeight,width=me._fitCols(titleHeight,fontSize,boxWidth,itemHeight)+10),me.width=Math.min(width,options.maxWidth||me.maxWidth),me.height=Math.min(height,options.maxHeight||me.maxHeight)}_fitRows(titleHeight,fontSize,boxWidth,itemHeight){const{ctx:ctx,maxWidth:maxWidth,options:{labels:{padding:padding}}}=this,hitboxes=this.legendHitBoxes=[],lineWidths=this.lineWidths=[0],lineHeight=itemHeight+padding;let totalHeight=titleHeight;ctx.textAlign="left",ctx.textBaseline="middle";let row=-1,top=-lineHeight;return this.legendItems.forEach(((legendItem,i)=>{const itemWidth=boxWidth+fontSize/2+ctx.measureText(legendItem.text).width;(0===i||lineWidths[lineWidths.length-1]+itemWidth+2*padding>maxWidth)&&(totalHeight+=lineHeight,lineWidths[lineWidths.length-(i>0?0:1)]=0,top+=lineHeight,row++),hitboxes[i]={left:0,top:top,row:row,width:itemWidth,height:itemHeight},lineWidths[lineWidths.length-1]+=itemWidth+padding})),totalHeight}_fitCols(titleHeight,fontSize,boxWidth,itemHeight){const{ctx:ctx,maxHeight:maxHeight,options:{labels:{padding:padding}}}=this,hitboxes=this.legendHitBoxes=[],columnSizes=this.columnSizes=[],heightLimit=maxHeight-titleHeight;let totalWidth=padding,currentColWidth=0,currentColHeight=0,left=0,col=0;return this.legendItems.forEach(((legendItem,i)=>{const itemWidth=boxWidth+fontSize/2+ctx.measureText(legendItem.text).width;i>0&¤tColHeight+itemHeight+2*padding>heightLimit&&(totalWidth+=currentColWidth+padding,columnSizes.push({width:currentColWidth,height:currentColHeight}),left+=currentColWidth+padding,col++,currentColWidth=currentColHeight=0),hitboxes[i]={left:left,top:currentColHeight,col:col,width:itemWidth,height:itemHeight},currentColWidth=Math.max(currentColWidth,itemWidth),currentColHeight+=itemHeight+padding})),totalWidth+=currentColWidth,columnSizes.push({width:currentColWidth,height:currentColHeight}),totalWidth}adjustHitBoxes(){const me=this;if(!me.options.display)return;const titleHeight=me._computeTitleHeight(),{legendHitBoxes:hitboxes,options:{align:align,labels:{padding:padding},rtl:rtl}}=me,rtlHelper=getRtlAdapter(rtl,me.left,me.width);if(this.isHorizontal()){let row=0,left=_alignStartEnd(align,me.left+padding,me.right-me.lineWidths[row]);for(const hitbox of hitboxes)row!==hitbox.row&&(row=hitbox.row,left=_alignStartEnd(align,me.left+padding,me.right-me.lineWidths[row])),hitbox.top+=me.top+titleHeight+padding,hitbox.left=rtlHelper.leftForLtr(rtlHelper.x(left),hitbox.width),left+=hitbox.width+padding}else{let col=0,top=_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-me.columnSizes[col].height);for(const hitbox of hitboxes)hitbox.col!==col&&(col=hitbox.col,top=_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-me.columnSizes[col].height)),hitbox.top=top,hitbox.left+=me.left+padding,hitbox.left=rtlHelper.leftForLtr(rtlHelper.x(hitbox.left),hitbox.width),top+=hitbox.height+padding}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){const me=this;if(me.options.display){const ctx=me.ctx;clipArea(ctx,me),me._draw(),unclipArea(ctx)}}_draw(){const me=this,{options:opts,columnSizes:columnSizes,lineWidths:lineWidths,ctx:ctx}=me,{align:align,labels:labelOpts}=opts,defaultColor=defaults.color,rtlHelper=getRtlAdapter(opts.rtl,me.left,me.width),labelFont=toFont(labelOpts.font),{color:fontColor,padding:padding}=labelOpts,fontSize=labelFont.size,halfFontSize=fontSize/2;let cursor;me.drawTitle(),ctx.textAlign=rtlHelper.textAlign("left"),ctx.textBaseline="middle",ctx.lineWidth=.5,ctx.font=labelFont.string;const{boxWidth:boxWidth,boxHeight:boxHeight,itemHeight:itemHeight}=getBoxSize(labelOpts,fontSize),isHorizontal=me.isHorizontal(),titleHeight=this._computeTitleHeight();cursor=isHorizontal?{x:_alignStartEnd(align,me.left+padding,me.right-lineWidths[0]),y:me.top+padding+titleHeight,line:0}:{x:me.left+padding,y:_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-columnSizes[0].height),line:0},overrideTextDirection(me.ctx,opts.textDirection);const lineHeight=itemHeight+padding;me.legendItems.forEach(((legendItem,i)=>{ctx.strokeStyle=legendItem.fontColor||fontColor,ctx.fillStyle=legendItem.fontColor||fontColor;const textWidth=ctx.measureText(legendItem.text).width,textAlign=rtlHelper.textAlign(legendItem.textAlign||(legendItem.textAlign=labelOpts.textAlign)),width=boxWidth+halfFontSize+textWidth;let x=cursor.x,y=cursor.y;rtlHelper.setWidth(me.width),isHorizontal?i>0&&x+width+padding>me.right&&(y=cursor.y+=lineHeight,cursor.line++,x=cursor.x=_alignStartEnd(align,me.left+padding,me.right-lineWidths[cursor.line])):i>0&&y+lineHeight>me.bottom&&(x=cursor.x=x+columnSizes[cursor.line].width+padding,cursor.line++,y=cursor.y=_alignStartEnd(align,me.top+titleHeight+padding,me.bottom-columnSizes[cursor.line].height));!function(x,y,legendItem){if(isNaN(boxWidth)||boxWidth<=0||isNaN(boxHeight)||boxHeight<0)return;ctx.save();const lineWidth=valueOrDefault(legendItem.lineWidth,1);if(ctx.fillStyle=valueOrDefault(legendItem.fillStyle,defaultColor),ctx.lineCap=valueOrDefault(legendItem.lineCap,"butt"),ctx.lineDashOffset=valueOrDefault(legendItem.lineDashOffset,0),ctx.lineJoin=valueOrDefault(legendItem.lineJoin,"miter"),ctx.lineWidth=lineWidth,ctx.strokeStyle=valueOrDefault(legendItem.strokeStyle,defaultColor),ctx.setLineDash(valueOrDefault(legendItem.lineDash,[])),labelOpts.usePointStyle){const drawOptions={radius:boxWidth*Math.SQRT2/2,pointStyle:legendItem.pointStyle,rotation:legendItem.rotation,borderWidth:lineWidth},centerX=rtlHelper.xPlus(x,boxWidth/2);drawPoint(ctx,drawOptions,centerX,y+halfFontSize)}else{const yBoxTop=y+Math.max((fontSize-boxHeight)/2,0),xBoxLeft=rtlHelper.leftForLtr(x,boxWidth),borderRadius=toTRBLCorners(legendItem.borderRadius);ctx.beginPath(),Object.values(borderRadius).some((v=>0!==v))?addRoundedRectPath(ctx,{x:xBoxLeft,y:yBoxTop,w:boxWidth,h:boxHeight,radius:borderRadius}):ctx.rect(xBoxLeft,yBoxTop,boxWidth,boxHeight),ctx.fill(),0!==lineWidth&&ctx.stroke()}ctx.restore()}(rtlHelper.x(x),y,legendItem),x=_textX(textAlign,x+boxWidth+halfFontSize,isHorizontal?x+width:me.right,opts.rtl),function(x,y,legendItem){renderText(ctx,legendItem.text,x,y+itemHeight/2,labelFont,{strikethrough:legendItem.hidden,textAlign:rtlHelper.textAlign(legendItem.textAlign)})}(rtlHelper.x(x),y,legendItem),isHorizontal?cursor.x+=width+padding:cursor.y+=lineHeight})),restoreTextDirection(me.ctx,opts.textDirection)}drawTitle(){const me=this,opts=me.options,titleOpts=opts.title,titleFont=toFont(titleOpts.font),titlePadding=toPadding(titleOpts.padding);if(!titleOpts.display)return;const rtlHelper=getRtlAdapter(opts.rtl,me.left,me.width),ctx=me.ctx,position=titleOpts.position,halfFontSize=titleFont.size/2,topPaddingPlusHalfFontSize=titlePadding.top+halfFontSize;let y,left=me.left,maxWidth=me.width;if(this.isHorizontal())maxWidth=Math.max(...me.lineWidths),y=me.top+topPaddingPlusHalfFontSize,left=_alignStartEnd(opts.align,left,me.right-maxWidth);else{const maxHeight=me.columnSizes.reduce(((acc,size)=>Math.max(acc,size.height)),0);y=topPaddingPlusHalfFontSize+_alignStartEnd(opts.align,me.top,me.bottom-maxHeight-opts.labels.padding-me._computeTitleHeight())}const x=_alignStartEnd(position,left,left+maxWidth);ctx.textAlign=rtlHelper.textAlign(_toLeftRightCenter(position)),ctx.textBaseline="middle",ctx.strokeStyle=titleOpts.color,ctx.fillStyle=titleOpts.color,ctx.font=titleFont.string,renderText(ctx,titleOpts.text,x,y,titleFont)}_computeTitleHeight(){const titleOpts=this.options.title,titleFont=toFont(titleOpts.font),titlePadding=toPadding(titleOpts.padding);return titleOpts.display?titleFont.lineHeight+titlePadding.height:0}_getLegendItemAt(x,y){const me=this;let i,hitBox,lh;if(x>=me.left&&x<=me.right&&y>=me.top&&y<=me.bottom)for(lh=me.legendHitBoxes,i=0;i=hitBox.left&&x<=hitBox.left+hitBox.width&&y>=hitBox.top&&y<=hitBox.top+hitBox.height)return me.legendItems[i];return null}handleEvent(e){const me=this,opts=me.options;if(!function isListened(type,opts){if("mousemove"===type&&(opts.onHover||opts.onLeave))return!0;if(opts.onClick&&("click"===type||"mouseup"===type))return!0;return!1}(e.type,opts))return;const hoveredItem=me._getLegendItemAt(e.x,e.y);if("mousemove"===e.type){const previous=me._hoveredItem,sameItem=(b=hoveredItem,null!==(a=previous)&&null!==b&&a.datasetIndex===b.datasetIndex&&a.index===b.index);previous&&!sameItem&&callback(opts.onLeave,[e,previous,me],me),me._hoveredItem=hoveredItem,hoveredItem&&!sameItem&&callback(opts.onHover,[e,hoveredItem,me],me)}else hoveredItem&&callback(opts.onClick,[e,hoveredItem,me],me);var a,b}}var plugin_legend={id:"legend",_element:Legend,start(chart,_args,options){const legend=chart.legend=new Legend({ctx:chart.ctx,options:options,chart:chart});layouts.configure(chart,legend,options),layouts.addBox(chart,legend)},stop(chart){layouts.removeBox(chart,chart.legend),delete chart.legend},beforeUpdate(chart,_args,options){const legend=chart.legend;layouts.configure(chart,legend,options),legend.options=options},afterUpdate(chart){const legend=chart.legend;legend.buildLabels(),legend.adjustHitBoxes()},afterEvent(chart,args){args.replay||chart.legend.handleEvent(args.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,legendItem,legend){const index=legendItem.datasetIndex,ci=legend.chart;ci.isDatasetVisible(index)?(ci.hide(index),legendItem.hidden=!0):(ci.show(index),legendItem.hidden=!1)},onHover:null,onLeave:null,labels:{color:ctx=>ctx.chart.options.color,boxWidth:40,padding:10,generateLabels(chart){const datasets=chart.data.datasets,{labels:{usePointStyle:usePointStyle,pointStyle:pointStyle,textAlign:textAlign,color:color}}=chart.legend.options;return chart._getSortedDatasetMetas().map((meta=>{const style=meta.controller.getStyle(usePointStyle?0:void 0),borderWidth=toPadding(style.borderWidth);return{text:datasets[meta.index].label,fillStyle:style.backgroundColor,fontColor:color,hidden:!meta.visible,lineCap:style.borderCapStyle,lineDash:style.borderDash,lineDashOffset:style.borderDashOffset,lineJoin:style.borderJoinStyle,lineWidth:(borderWidth.width+borderWidth.height)/4,strokeStyle:style.borderColor,pointStyle:pointStyle||style.pointStyle,rotation:style.rotation,textAlign:textAlign||style.textAlign,borderRadius:0,datasetIndex:meta.index}}),this)}},title:{color:ctx=>ctx.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:name=>!name.startsWith("on"),labels:{_scriptable:name=>!["generateLabels","filter","sort"].includes(name)}}};class Title extends Element{constructor(config){super(),this.chart=config.chart,this.options=config.options,this.ctx=config.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(maxWidth,maxHeight){const me=this,opts=me.options;if(me.left=0,me.top=0,!opts.display)return void(me.width=me.height=me.right=me.bottom=0);me.width=me.right=maxWidth,me.height=me.bottom=maxHeight;const lineCount=isArray(opts.text)?opts.text.length:1;me._padding=toPadding(opts.padding);const textSize=lineCount*toFont(opts.font).lineHeight+me._padding.height;me.isHorizontal()?me.height=textSize:me.width=textSize}isHorizontal(){const pos=this.options.position;return"top"===pos||"bottom"===pos}_drawArgs(offset){const{top:top,left:left,bottom:bottom,right:right,options:options}=this,align=options.align;let maxWidth,titleX,titleY,rotation=0;return this.isHorizontal()?(titleX=_alignStartEnd(align,left,right),titleY=top+offset,maxWidth=right-left):("left"===options.position?(titleX=left+offset,titleY=_alignStartEnd(align,bottom,top),rotation=-.5*PI):(titleX=right-offset,titleY=_alignStartEnd(align,top,bottom),rotation=.5*PI),maxWidth=bottom-top),{titleX:titleX,titleY:titleY,maxWidth:maxWidth,rotation:rotation}}draw(){const ctx=this.ctx,opts=this.options;if(!opts.display)return;const fontOpts=toFont(opts.font),offset=fontOpts.lineHeight/2+this._padding.top,{titleX:titleX,titleY:titleY,maxWidth:maxWidth,rotation:rotation}=this._drawArgs(offset);renderText(ctx,opts.text,0,0,fontOpts,{color:opts.color,maxWidth:maxWidth,rotation:rotation,textAlign:_toLeftRightCenter(opts.align),textBaseline:"middle",translation:[titleX,titleY]})}}var plugin_title={id:"title",_element:Title,start(chart,_args,options){!function createTitle(chart,titleOpts){const title=new Title({ctx:chart.ctx,options:titleOpts,chart:chart});layouts.configure(chart,title,titleOpts),layouts.addBox(chart,title),chart.titleBlock=title}(chart,options)},stop(chart){const titleBlock=chart.titleBlock;layouts.removeBox(chart,titleBlock),delete chart.titleBlock},beforeUpdate(chart,_args,options){const title=chart.titleBlock;layouts.configure(chart,title,options),title.options=options},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const map=new WeakMap;var plugin_subtitle={id:"subtitle",start(chart,_args,options){const title=new Title({ctx:chart.ctx,options:options,chart:chart});layouts.configure(chart,title,options),layouts.addBox(chart,title),map.set(chart,title)},stop(chart){layouts.removeBox(chart,map.get(chart)),map.delete(chart)},beforeUpdate(chart,_args,options){const title=map.get(chart);layouts.configure(chart,title,options),title.options=options},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const positioners={average(items){if(!items.length)return!1;let i,len,x=0,y=0,count=0;for(i=0,len=items.length;i-1?str.split("\n"):str}function createTooltipItem(chart,item){const{element:element,datasetIndex:datasetIndex,index:index}=item,controller=chart.getDatasetMeta(datasetIndex).controller,{label:label,value:value}=controller.getLabelAndValue(index);return{chart:chart,label:label,parsed:controller.getParsed(index),raw:chart.data.datasets[datasetIndex].data[index],formattedValue:value,dataset:controller.getDataset(),dataIndex:index,datasetIndex:datasetIndex,element:element}}function getTooltipSize(tooltip,options){const ctx=tooltip._chart.ctx,{body:body,footer:footer,title:title}=tooltip,{boxWidth:boxWidth,boxHeight:boxHeight}=options,bodyFont=toFont(options.bodyFont),titleFont=toFont(options.titleFont),footerFont=toFont(options.footerFont),titleLineCount=title.length,footerLineCount=footer.length,bodyLineItemCount=body.length,padding=toPadding(options.padding);let height=padding.height,width=0,combinedBodyLength=body.reduce(((count,bodyItem)=>count+bodyItem.before.length+bodyItem.lines.length+bodyItem.after.length),0);if(combinedBodyLength+=tooltip.beforeBody.length+tooltip.afterBody.length,titleLineCount&&(height+=titleLineCount*titleFont.lineHeight+(titleLineCount-1)*options.titleSpacing+options.titleMarginBottom),combinedBodyLength){height+=bodyLineItemCount*(options.displayColors?Math.max(boxHeight,bodyFont.lineHeight):bodyFont.lineHeight)+(combinedBodyLength-bodyLineItemCount)*bodyFont.lineHeight+(combinedBodyLength-1)*options.bodySpacing}footerLineCount&&(height+=options.footerMarginTop+footerLineCount*footerFont.lineHeight+(footerLineCount-1)*options.footerSpacing);let widthPadding=0;const maxLineWidth=function(line){width=Math.max(width,ctx.measureText(line).width+widthPadding)};return ctx.save(),ctx.font=titleFont.string,each(tooltip.title,maxLineWidth),ctx.font=bodyFont.string,each(tooltip.beforeBody.concat(tooltip.afterBody),maxLineWidth),widthPadding=options.displayColors?boxWidth+2:0,each(body,(bodyItem=>{each(bodyItem.before,maxLineWidth),each(bodyItem.lines,maxLineWidth),each(bodyItem.after,maxLineWidth)})),widthPadding=0,ctx.font=footerFont.string,each(tooltip.footer,maxLineWidth),ctx.restore(),width+=padding.width,{width:width,height:height}}function determineXAlign(chart,options,size,yAlign){const{x:x,width:width}=size,{width:chartWidth,chartArea:{left:left,right:right}}=chart;let xAlign="center";return"center"===yAlign?xAlign=x<=(left+right)/2?"left":"right":x<=width/2?xAlign="left":x>=chartWidth-width/2&&(xAlign="right"),function doesNotFitWithAlign(xAlign,chart,options,size){const{x:x,width:width}=size,caret=options.caretSize+options.caretPadding;return"left"===xAlign&&x+width+caret>chart.width||"right"===xAlign&&x-width-caret<0||void 0}(xAlign,chart,options,size)&&(xAlign="center"),xAlign}function determineAlignment(chart,options,size){const yAlign=options.yAlign||function determineYAlign(chart,size){const{y:y,height:height}=size;return ychart.height-height/2?"bottom":"center"}(chart,size);return{xAlign:options.xAlign||determineXAlign(chart,options,size,yAlign),yAlign:yAlign}}function getBackgroundPoint(options,size,alignment,chart){const{caretSize:caretSize,caretPadding:caretPadding,cornerRadius:cornerRadius}=options,{xAlign:xAlign,yAlign:yAlign}=alignment,paddingAndSize=caretSize+caretPadding,radiusAndPadding=cornerRadius+caretPadding;let x=function alignX(size,xAlign){let{x:x,width:width}=size;return"right"===xAlign?x-=width:"center"===xAlign&&(x-=width/2),x}(size,xAlign);const y=function alignY(size,yAlign,paddingAndSize){let{y:y,height:height}=size;return"top"===yAlign?y+=paddingAndSize:y-="bottom"===yAlign?height+paddingAndSize:height/2,y}(size,yAlign,paddingAndSize);return"center"===yAlign?"left"===xAlign?x+=paddingAndSize:"right"===xAlign&&(x-=paddingAndSize):"left"===xAlign?x-=radiusAndPadding:"right"===xAlign&&(x+=radiusAndPadding),{x:_limitValue(x,0,chart.width-size.width),y:_limitValue(y,0,chart.height-size.height)}}function getAlignedX(tooltip,align,options){const padding=toPadding(options.padding);return"center"===align?tooltip.x+tooltip.width/2:"right"===align?tooltip.x+tooltip.width-padding.right:tooltip.x+padding.left}function getBeforeAfterBodyLines(callback){return pushOrConcat([],splitNewlines(callback))}function overrideCallbacks(callbacks,context){const override=context&&context.dataset&&context.dataset.tooltip&&context.dataset.tooltip.callbacks;return override?callbacks.override(override):callbacks}class Tooltip extends Element{constructor(config){super(),this.opacity=0,this._active=[],this._chart=config._chart,this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.options=config.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(options){this.options=options,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const me=this,cached=me._cachedAnimations;if(cached)return cached;const chart=me._chart,options=me.options.setContext(me.getContext()),opts=options.enabled&&chart.options.animation&&options.animations,animations=new Animations(me._chart,opts);return opts._cacheable&&(me._cachedAnimations=Object.freeze(animations)),animations}getContext(){const me=this;return me.$context||(me.$context=function createTooltipContext(parent,tooltip,tooltipItems){return Object.assign(Object.create(parent),{tooltip:tooltip,tooltipItems:tooltipItems,type:"tooltip"})}(me._chart.getContext(),me,me._tooltipItems))}getTitle(context,options){const{callbacks:callbacks}=options,beforeTitle=callbacks.beforeTitle.apply(this,[context]),title=callbacks.title.apply(this,[context]),afterTitle=callbacks.afterTitle.apply(this,[context]);let lines=[];return lines=pushOrConcat(lines,splitNewlines(beforeTitle)),lines=pushOrConcat(lines,splitNewlines(title)),lines=pushOrConcat(lines,splitNewlines(afterTitle)),lines}getBeforeBody(tooltipItems,options){return getBeforeAfterBodyLines(options.callbacks.beforeBody.apply(this,[tooltipItems]))}getBody(tooltipItems,options){const me=this,{callbacks:callbacks}=options,bodyItems=[];return each(tooltipItems,(context=>{const bodyItem={before:[],lines:[],after:[]},scoped=overrideCallbacks(callbacks,context);pushOrConcat(bodyItem.before,splitNewlines(scoped.beforeLabel.call(me,context))),pushOrConcat(bodyItem.lines,scoped.label.call(me,context)),pushOrConcat(bodyItem.after,splitNewlines(scoped.afterLabel.call(me,context))),bodyItems.push(bodyItem)})),bodyItems}getAfterBody(tooltipItems,options){return getBeforeAfterBodyLines(options.callbacks.afterBody.apply(this,[tooltipItems]))}getFooter(tooltipItems,options){const{callbacks:callbacks}=options,beforeFooter=callbacks.beforeFooter.apply(this,[tooltipItems]),footer=callbacks.footer.apply(this,[tooltipItems]),afterFooter=callbacks.afterFooter.apply(this,[tooltipItems]);let lines=[];return lines=pushOrConcat(lines,splitNewlines(beforeFooter)),lines=pushOrConcat(lines,splitNewlines(footer)),lines=pushOrConcat(lines,splitNewlines(afterFooter)),lines}_createItems(options){const me=this,active=me._active,data=me._chart.data,labelColors=[],labelPointStyles=[],labelTextColors=[];let i,len,tooltipItems=[];for(i=0,len=active.length;ioptions.filter(element,index,array,data)))),options.itemSort&&(tooltipItems=tooltipItems.sort(((a,b)=>options.itemSort(a,b,data)))),each(tooltipItems,(context=>{const scoped=overrideCallbacks(options.callbacks,context);labelColors.push(scoped.labelColor.call(me,context)),labelPointStyles.push(scoped.labelPointStyle.call(me,context)),labelTextColors.push(scoped.labelTextColor.call(me,context))})),me.labelColors=labelColors,me.labelPointStyles=labelPointStyles,me.labelTextColors=labelTextColors,me.dataPoints=tooltipItems,tooltipItems}update(changed,replay){const me=this,options=me.options.setContext(me.getContext()),active=me._active;let properties,tooltipItems=[];if(active.length){const position=positioners[options.position].call(me,active,me._eventPosition);tooltipItems=me._createItems(options),me.title=me.getTitle(tooltipItems,options),me.beforeBody=me.getBeforeBody(tooltipItems,options),me.body=me.getBody(tooltipItems,options),me.afterBody=me.getAfterBody(tooltipItems,options),me.footer=me.getFooter(tooltipItems,options);const size=me._size=getTooltipSize(me,options),positionAndSize=Object.assign({},position,size),alignment=determineAlignment(me._chart,options,positionAndSize),backgroundPoint=getBackgroundPoint(options,positionAndSize,alignment,me._chart);me.xAlign=alignment.xAlign,me.yAlign=alignment.yAlign,properties={opacity:1,x:backgroundPoint.x,y:backgroundPoint.y,width:size.width,height:size.height,caretX:position.x,caretY:position.y}}else 0!==me.opacity&&(properties={opacity:0});me._tooltipItems=tooltipItems,me.$context=void 0,properties&&me._resolveAnimations().update(me,properties),changed&&options.external&&options.external.call(me,{chart:me._chart,tooltip:me,replay:replay})}drawCaret(tooltipPoint,ctx,size,options){const caretPosition=this.getCaretPosition(tooltipPoint,size,options);ctx.lineTo(caretPosition.x1,caretPosition.y1),ctx.lineTo(caretPosition.x2,caretPosition.y2),ctx.lineTo(caretPosition.x3,caretPosition.y3)}getCaretPosition(tooltipPoint,size,options){const{xAlign:xAlign,yAlign:yAlign}=this,{cornerRadius:cornerRadius,caretSize:caretSize}=options,{x:ptX,y:ptY}=tooltipPoint,{width:width,height:height}=size;let x1,x2,x3,y1,y2,y3;return"center"===yAlign?(y2=ptY+height/2,"left"===xAlign?(x1=ptX,x2=x1-caretSize,y1=y2+caretSize,y3=y2-caretSize):(x1=ptX+width,x2=x1+caretSize,y1=y2-caretSize,y3=y2+caretSize),x3=x1):(x2="left"===xAlign?ptX+cornerRadius+caretSize:"right"===xAlign?ptX+width-cornerRadius-caretSize:this.caretX,"top"===yAlign?(y1=ptY,y2=y1-caretSize,x1=x2-caretSize,x3=x2+caretSize):(y1=ptY+height,y2=y1+caretSize,x1=x2+caretSize,x3=x2-caretSize),y3=y1),{x1:x1,x2:x2,x3:x3,y1:y1,y2:y2,y3:y3}}drawTitle(pt,ctx,options){const me=this,title=me.title,length=title.length;let titleFont,titleSpacing,i;if(length){const rtlHelper=getRtlAdapter(options.rtl,me.x,me.width);for(pt.x=getAlignedX(me,options.titleAlign,options),ctx.textAlign=rtlHelper.textAlign(options.titleAlign),ctx.textBaseline="middle",titleFont=toFont(options.titleFont),titleSpacing=options.titleSpacing,ctx.fillStyle=options.titleColor,ctx.font=titleFont.string,i=0;i0!==v))?(ctx.beginPath(),ctx.fillStyle=options.multiKeyBackground,addRoundedRectPath(ctx,{x:outerX,y:colorY,w:boxWidth,h:boxHeight,radius:borderRadius}),ctx.fill(),ctx.stroke(),ctx.fillStyle=labelColors.backgroundColor,ctx.beginPath(),addRoundedRectPath(ctx,{x:innerX,y:colorY+1,w:boxWidth-2,h:boxHeight-2,radius:borderRadius}),ctx.fill()):(ctx.fillStyle=options.multiKeyBackground,ctx.fillRect(outerX,colorY,boxWidth,boxHeight),ctx.strokeRect(outerX,colorY,boxWidth,boxHeight),ctx.fillStyle=labelColors.backgroundColor,ctx.fillRect(innerX,colorY+1,boxWidth-2,boxHeight-2))}ctx.fillStyle=this.labelTextColors[i]}drawBody(pt,ctx,options){const me=this,{body:body}=me,{bodySpacing:bodySpacing,bodyAlign:bodyAlign,displayColors:displayColors,boxHeight:boxHeight,boxWidth:boxWidth}=options,bodyFont=toFont(options.bodyFont);let bodyLineHeight=bodyFont.lineHeight,xLinePadding=0;const rtlHelper=getRtlAdapter(options.rtl,me.x,me.width),fillLineOfText=function(line){ctx.fillText(line,rtlHelper.x(pt.x+xLinePadding),pt.y+bodyLineHeight/2),pt.y+=bodyLineHeight+bodySpacing},bodyAlignForCalculation=rtlHelper.textAlign(bodyAlign);let bodyItem,textColor,lines,i,j,ilen,jlen;for(ctx.textAlign=bodyAlign,ctx.textBaseline="middle",ctx.font=bodyFont.string,pt.x=getAlignedX(me,bodyAlignForCalculation,options),ctx.fillStyle=options.bodyColor,each(me.beforeBody,fillLineOfText),xLinePadding=displayColors&&"right"!==bodyAlignForCalculation?"center"===bodyAlign?boxWidth/2+1:boxWidth+2:0,i=0,ilen=body.length;i0&&ctx.stroke()}_updateAnimationTarget(options){const me=this,chart=me._chart,anims=me.$animations,animX=anims&&anims.x,animY=anims&&anims.y;if(animX||animY){const position=positioners[options.position].call(me,me._active,me._eventPosition);if(!position)return;const size=me._size=getTooltipSize(me,options),positionAndSize=Object.assign({},position,me._size),alignment=determineAlignment(chart,options,positionAndSize),point=getBackgroundPoint(options,positionAndSize,alignment,chart);animX._to===point.x&&animY._to===point.y||(me.xAlign=alignment.xAlign,me.yAlign=alignment.yAlign,me.width=size.width,me.height=size.height,me.caretX=position.x,me.caretY=position.y,me._resolveAnimations().update(me,point))}}draw(ctx){const me=this,options=me.options.setContext(me.getContext());let opacity=me.opacity;if(!opacity)return;me._updateAnimationTarget(options);const tooltipSize={width:me.width,height:me.height},pt={x:me.x,y:me.y};opacity=Math.abs(opacity)<.001?0:opacity;const padding=toPadding(options.padding),hasTooltipContent=me.title.length||me.beforeBody.length||me.body.length||me.afterBody.length||me.footer.length;options.enabled&&hasTooltipContent&&(ctx.save(),ctx.globalAlpha=opacity,me.drawBackground(pt,ctx,tooltipSize,options),overrideTextDirection(ctx,options.textDirection),pt.y+=padding.top,me.drawTitle(pt,ctx,options),me.drawBody(pt,ctx,options),me.drawFooter(pt,ctx,options),restoreTextDirection(ctx,options.textDirection),ctx.restore())}getActiveElements(){return this._active||[]}setActiveElements(activeElements,eventPosition){const me=this,lastActive=me._active,active=activeElements.map((({datasetIndex:datasetIndex,index:index})=>{const meta=me._chart.getDatasetMeta(datasetIndex);if(!meta)throw new Error("Cannot find a dataset at index "+datasetIndex);return{datasetIndex:datasetIndex,element:meta.data[index],index:index}})),changed=!_elementsEqual(lastActive,active),positionChanged=me._positionChanged(active,eventPosition);(changed||positionChanged)&&(me._active=active,me._eventPosition=eventPosition,me.update(!0))}handleEvent(e,replay){const me=this,options=me.options,lastActive=me._active||[];let changed=!1,active=[];"mouseout"!==e.type&&(active=me._chart.getElementsAtEventForMode(e,options.mode,options,replay),options.reverse&&active.reverse());const positionChanged=me._positionChanged(active,e);return changed=replay||!_elementsEqual(active,lastActive)||positionChanged,changed&&(me._active=active,(options.enabled||options.external)&&(me._eventPosition={x:e.x,y:e.y},me.update(!0,replay))),changed}_positionChanged(active,e){const{caretX:caretX,caretY:caretY,options:options}=this,position=positioners[options.position].call(this,active,e);return!1!==position&&(caretX!==position.x||caretY!==position.y)}}Tooltip.positioners=positioners;var plugin_tooltip={id:"tooltip",_element:Tooltip,positioners:positioners,afterInit(chart,_args,options){options&&(chart.tooltip=new Tooltip({_chart:chart,options:options}))},beforeUpdate(chart,_args,options){chart.tooltip&&chart.tooltip.initialize(options)},reset(chart,_args,options){chart.tooltip&&chart.tooltip.initialize(options)},afterDraw(chart){const tooltip=chart.tooltip,args={tooltip:tooltip};!1!==chart.notifyPlugins("beforeTooltipDraw",args)&&(tooltip&&tooltip.draw(chart.ctx),chart.notifyPlugins("afterTooltipDraw",args))},afterEvent(chart,args){if(chart.tooltip){const useFinalPosition=args.replay;chart.tooltip.handleEvent(args.event,useFinalPosition)&&(args.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(ctx,opts)=>opts.bodyFont.size,boxWidth:(ctx,opts)=>opts.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:noop,title(tooltipItems){if(tooltipItems.length>0){const item=tooltipItems[0],labels=item.chart.data.labels,labelCount=labels?labels.length:0;if(this&&this.options&&"dataset"===this.options.mode)return item.dataset.label||"";if(item.label)return item.label;if(labelCount>0&&item.dataIndex"filter"!==name&&"itemSort"!==name&&"external"!==name,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},plugins=Object.freeze({__proto__:null,Decimation:plugin_decimation,Filler:plugin_filler,Legend:plugin_legend,SubTitle:plugin_subtitle,Title:plugin_title,Tooltip:plugin_tooltip});function findOrAddLabel(labels,raw,index){const first=labels.indexOf(raw);if(-1===first)return((labels,raw,index)=>"string"==typeof raw?labels.push(raw)-1:isNaN(raw)?null:index)(labels,raw,index);return first!==labels.lastIndexOf(raw)?index:first}class CategoryScale extends Scale{constructor(cfg){super(cfg),this._startValue=void 0,this._valueRange=0}parse(raw,index){if(isNullOrUndef(raw))return null;const labels=this.getLabels();return((index,max)=>null===index?null:_limitValue(Math.round(index),0,max))(index=isFinite(index)&&labels[index]===raw?index:findOrAddLabel(labels,raw,valueOrDefault(index,raw)),labels.length-1)}determineDataLimits(){const me=this,{minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();let{min:min,max:max}=me.getMinMax(!0);"ticks"===me.options.bounds&&(minDefined||(min=0),maxDefined||(max=me.getLabels().length-1)),me.min=min,me.max=max}buildTicks(){const me=this,min=me.min,max=me.max,offset=me.options.offset,ticks=[];let labels=me.getLabels();labels=0===min&&max===labels.length-1?labels:labels.slice(min,max+1),me._valueRange=Math.max(labels.length-(offset?0:1),1),me._startValue=me.min-(offset?.5:0);for(let value=min;value<=max;value++)ticks.push({value:value});return ticks}getLabelForValue(value){const labels=this.getLabels();return value>=0&&valueticks.length-1?null:this.getPixelForValue(ticks[index].value)}getValueForPixel(pixel){return Math.round(this._startValue+this.getDecimalForPixel(pixel)*this._valueRange)}getBasePixel(){return this.bottom}}function relativeLabelSize(value,minSpacing,{horizontal:horizontal,minRotation:minRotation}){const rad=toRadians(minRotation),ratio=(horizontal?Math.sin(rad):Math.cos(rad))||.001,length=.75*minSpacing*(""+value).length;return Math.min(minSpacing/ratio,length)}CategoryScale.id="category",CategoryScale.defaults={ticks:{callback:CategoryScale.prototype.getLabelForValue}};class LinearScaleBase extends Scale{constructor(cfg){super(cfg),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(raw,index){return isNullOrUndef(raw)||("number"==typeof raw||raw instanceof Number)&&!isFinite(+raw)?null:+raw}handleTickRangeOptions(){const me=this,{beginAtZero:beginAtZero}=me.options,{minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();let{min:min,max:max}=me;const setMin=v=>min=minDefined?min:v,setMax=v=>max=maxDefined?max:v;if(beginAtZero){const minSign=sign(min),maxSign=sign(max);minSign<0&&maxSign<0?setMax(0):minSign>0&&maxSign>0&&setMin(0)}if(min===max){let offset=1;(max>=Number.MAX_SAFE_INTEGER||min<=Number.MIN_SAFE_INTEGER)&&(offset=Math.abs(.05*max)),setMax(max+offset),beginAtZero||setMin(min-offset)}me.min=min,me.max=max}getTickLimit(){const me=this,tickOpts=me.options.ticks;let maxTicks,{maxTicksLimit:maxTicksLimit,stepSize:stepSize}=tickOpts;return stepSize?maxTicks=Math.ceil(me.max/stepSize)-Math.floor(me.min/stepSize)+1:(maxTicks=me.computeTickLimit(),maxTicksLimit=maxTicksLimit||11),maxTicksLimit&&(maxTicks=Math.min(maxTicksLimit,maxTicks)),maxTicks}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const me=this,opts=me.options,tickOpts=opts.ticks;let maxTicks=me.getTickLimit();maxTicks=Math.max(2,maxTicks);const ticks=function generateTicks$1(generationOptions,dataRange){const ticks=[],{bounds:bounds,step:step,min:min,max:max,precision:precision,count:count,maxTicks:maxTicks,maxDigits:maxDigits,includeBounds:includeBounds}=generationOptions,unit=step||1,maxSpaces=maxTicks-1,{min:rmin,max:rmax}=dataRange,minDefined=!isNullOrUndef(min),maxDefined=!isNullOrUndef(max),countDefined=!isNullOrUndef(count),minSpacing=(rmax-rmin)/(maxDigits+1);let factor,niceMin,niceMax,numSpaces,spacing=niceNum((rmax-rmin)/maxSpaces/unit)*unit;if(spacing<1e-14&&!minDefined&&!maxDefined)return[{value:rmin},{value:rmax}];numSpaces=Math.ceil(rmax/spacing)-Math.floor(rmin/spacing),numSpaces>maxSpaces&&(spacing=niceNum(numSpaces*spacing/maxSpaces/unit)*unit),isNullOrUndef(precision)||(factor=Math.pow(10,precision),spacing=Math.ceil(spacing*factor)/factor),"ticks"===bounds?(niceMin=Math.floor(rmin/spacing)*spacing,niceMax=Math.ceil(rmax/spacing)*spacing):(niceMin=rmin,niceMax=rmax),minDefined&&maxDefined&&step&&almostWhole((max-min)/step,spacing/1e3)?(numSpaces=Math.round(Math.min((max-min)/spacing,maxTicks)),spacing=(max-min)/numSpaces,niceMin=min,niceMax=max):countDefined?(niceMin=minDefined?min:niceMin,niceMax=maxDefined?max:niceMax,numSpaces=count-1,spacing=(niceMax-niceMin)/numSpaces):(numSpaces=(niceMax-niceMin)/spacing,numSpaces=almostEquals(numSpaces,Math.round(numSpaces),spacing/1e3)?Math.round(numSpaces):Math.ceil(numSpaces));const decimalPlaces=Math.max(_decimalPlaces(spacing),_decimalPlaces(niceMin));factor=Math.pow(10,isNullOrUndef(precision)?decimalPlaces:precision),niceMin=Math.round(niceMin*factor)/factor,niceMax=Math.round(niceMax*factor)/factor;let j=0;for(minDefined&&(includeBounds&&niceMin!==min?(ticks.push({value:min}),niceMin0?value:null;this._zero=!0}determineDataLimits(){const me=this,{min:min,max:max}=me.getMinMax(!0);me.min=isNumberFinite(min)?Math.max(0,min):null,me.max=isNumberFinite(max)?Math.max(0,max):null,me.options.beginAtZero&&(me._zero=!0),me.handleTickRangeOptions()}handleTickRangeOptions(){const me=this,{minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();let min=me.min,max=me.max;const setMin=v=>min=minDefined?min:v,setMax=v=>max=maxDefined?max:v,exp=(v,m)=>Math.pow(10,Math.floor(log10(v))+m);min===max&&(min<=0?(setMin(1),setMax(10)):(setMin(exp(min,-1)),setMax(exp(max,1)))),min<=0&&setMin(exp(max,-1)),max<=0&&setMax(exp(min,1)),me._zero&&me.min!==me._suggestedMin&&min===exp(me.min,0)&&setMin(exp(min,-1)),me.min=min,me.max=max}buildTicks(){const me=this,opts=me.options,ticks=function generateTicks(generationOptions,dataRange){const endExp=Math.floor(log10(dataRange.max)),endSignificand=Math.ceil(dataRange.max/Math.pow(10,endExp)),ticks=[];let tickVal=finiteOrDefault(generationOptions.min,Math.pow(10,Math.floor(log10(dataRange.min)))),exp=Math.floor(log10(tickVal)),significand=Math.floor(tickVal/Math.pow(10,exp)),precision=exp<0?Math.pow(10,Math.abs(exp)):1;do{ticks.push({value:tickVal,major:isMajor(tickVal)}),++significand,10===significand&&(significand=1,++exp,precision=exp>=0?1:precision),tickVal=Math.round(significand*Math.pow(10,exp)*precision)/precision}while(expmax?{start:pos-size,end:pos}:{start:pos,end:pos+size}}function fitWithPointLabels(scale){const furthestLimits={l:0,r:scale.width,t:0,b:scale.height-scale.paddingTop},furthestAngles={},labelSizes=[],padding=[],valueCount=scale.getLabels().length;for(let i=0;ifurthestLimits.r&&(furthestLimits.r=hLimits.end,furthestAngles.r=angleRadians),vLimits.startfurthestLimits.b&&(furthestLimits.b=vLimits.end,furthestAngles.b=angleRadians)}var ctx,font,label;scale._setReductions(scale.drawingArea,furthestLimits,furthestAngles),scale._pointLabelItems=function buildPointLabelItems(scale,labelSizes,padding){const items=[],valueCount=scale.getLabels().length,opts=scale.options,tickBackdropHeight=getTickBackdropHeight(opts),outerDistance=scale.getDistanceFromCenterForValue(opts.ticks.reverse?scale.min:scale.max);for(let i=0;i270||angle<90)&&(y-=h),y}function pathRadiusLine(scale,radius,circular,labelCount){const{ctx:ctx}=scale;if(circular)ctx.arc(scale.xCenter,scale.yCenter,radius,0,TAU);else{let pointPosition=scale.getPointPosition(0,radius);ctx.moveTo(pointPosition.x,pointPosition.y);for(let i=1;i{const label=callback(me.options.pointLabels.callback,[value,index],me);return label||0===label?label:""}))}fit(){const me=this,opts=me.options;opts.display&&opts.pointLabels.display?fitWithPointLabels(me):me.setCenterPoint(0,0,0,0)}_setReductions(largestPossibleRadius,furthestLimits,furthestAngles){const me=this;let radiusReductionLeft=furthestLimits.l/Math.sin(furthestAngles.l),radiusReductionRight=Math.max(furthestLimits.r-me.width,0)/Math.sin(furthestAngles.r),radiusReductionTop=-furthestLimits.t/Math.cos(furthestAngles.t),radiusReductionBottom=-Math.max(furthestLimits.b-(me.height-me.paddingTop),0)/Math.cos(furthestAngles.b);radiusReductionLeft=numberOrZero(radiusReductionLeft),radiusReductionRight=numberOrZero(radiusReductionRight),radiusReductionTop=numberOrZero(radiusReductionTop),radiusReductionBottom=numberOrZero(radiusReductionBottom),me.drawingArea=Math.max(largestPossibleRadius/2,Math.min(Math.floor(largestPossibleRadius-(radiusReductionLeft+radiusReductionRight)/2),Math.floor(largestPossibleRadius-(radiusReductionTop+radiusReductionBottom)/2))),me.setCenterPoint(radiusReductionLeft,radiusReductionRight,radiusReductionTop,radiusReductionBottom)}setCenterPoint(leftMovement,rightMovement,topMovement,bottomMovement){const me=this,maxRight=me.width-rightMovement-me.drawingArea,maxLeft=leftMovement+me.drawingArea,maxTop=topMovement+me.drawingArea,maxBottom=me.height-me.paddingTop-bottomMovement-me.drawingArea;me.xCenter=Math.floor((maxLeft+maxRight)/2+me.left),me.yCenter=Math.floor((maxTop+maxBottom)/2+me.top+me.paddingTop)}getIndexAngle(index){return _normalizeAngle(index*(TAU/this.getLabels().length)+toRadians(this.options.startAngle||0))}getDistanceFromCenterForValue(value){const me=this;if(isNullOrUndef(value))return NaN;const scalingFactor=me.drawingArea/(me.max-me.min);return me.options.reverse?(me.max-value)*scalingFactor:(value-me.min)*scalingFactor}getValueForDistanceFromCenter(distance){if(isNullOrUndef(distance))return NaN;const me=this,scaledDistance=distance/(me.drawingArea/(me.max-me.min));return me.options.reverse?me.max-scaledDistance:me.min+scaledDistance}getPointLabelContext(index){const me=this,pointLabels=me._pointLabels||[];if(index>=0&&index=0;i--){const optsAtIndex=pointLabels.setContext(scale.getPointLabelContext(i)),plFont=toFont(optsAtIndex.font),{x:x,y:y,textAlign:textAlign,left:left,top:top,right:right,bottom:bottom}=scale._pointLabelItems[i],{backdropColor:backdropColor}=optsAtIndex;if(!isNullOrUndef(backdropColor)){const padding=toPadding(optsAtIndex.backdropPadding);ctx.fillStyle=backdropColor,ctx.fillRect(left-padding.left,top-padding.top,right-left+padding.width,bottom-top+padding.height)}renderText(ctx,scale._pointLabels[i],x,y+plFont.lineHeight/2,plFont,{color:optsAtIndex.color,textAlign:textAlign,textBaseline:"middle"})}}(me,labelCount),grid.display&&me.ticks.forEach(((tick,index)=>{if(0!==index){offset=me.getDistanceFromCenterForValue(tick.value);const optsAtIndex=grid.setContext(me.getContext(index-1));!function drawRadiusLine(scale,gridLineOpts,radius,labelCount){const ctx=scale.ctx,circular=gridLineOpts.circular,{color:color,lineWidth:lineWidth}=gridLineOpts;!circular&&!labelCount||!color||!lineWidth||radius<0||(ctx.save(),ctx.strokeStyle=color,ctx.lineWidth=lineWidth,ctx.setLineDash(gridLineOpts.borderDash),ctx.lineDashOffset=gridLineOpts.borderDashOffset,ctx.beginPath(),pathRadiusLine(scale,radius,circular,labelCount),ctx.closePath(),ctx.stroke(),ctx.restore())}(me,optsAtIndex,offset,labelCount)}})),angleLines.display){for(ctx.save(),i=me.getLabels().length-1;i>=0;i--){const optsAtIndex=angleLines.setContext(me.getPointLabelContext(i)),{color:color,lineWidth:lineWidth}=optsAtIndex;lineWidth&&color&&(ctx.lineWidth=lineWidth,ctx.strokeStyle=color,ctx.setLineDash(optsAtIndex.borderDash),ctx.lineDashOffset=optsAtIndex.borderDashOffset,offset=me.getDistanceFromCenterForValue(opts.ticks.reverse?me.min:me.max),position=me.getPointPosition(i,offset),ctx.beginPath(),ctx.moveTo(me.xCenter,me.yCenter),ctx.lineTo(position.x,position.y),ctx.stroke())}ctx.restore()}}drawBorder(){}drawLabels(){const me=this,ctx=me.ctx,opts=me.options,tickOpts=opts.ticks;if(!tickOpts.display)return;const startAngle=me.getIndexAngle(0);let offset,width;ctx.save(),ctx.translate(me.xCenter,me.yCenter),ctx.rotate(startAngle),ctx.textAlign="center",ctx.textBaseline="middle",me.ticks.forEach(((tick,index)=>{if(0===index&&!opts.reverse)return;const optsAtIndex=tickOpts.setContext(me.getContext(index)),tickFont=toFont(optsAtIndex.font);if(offset=me.getDistanceFromCenterForValue(me.ticks[index].value),optsAtIndex.showLabelBackdrop){ctx.font=tickFont.string,width=ctx.measureText(tick.label).width,ctx.fillStyle=optsAtIndex.backdropColor;const padding=toPadding(optsAtIndex.backdropPadding);ctx.fillRect(-width/2-padding.left,-offset-tickFont.size/2-padding.top,width+padding.width,tickFont.size+padding.height)}renderText(ctx,tick.label,0,-offset,tickFont,{color:optsAtIndex.color})})),ctx.restore()}drawTitle(){}}RadialLinearScale.id="radialLinear",RadialLinearScale.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ticks.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:label=>label,padding:5}},RadialLinearScale.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},RadialLinearScale.descriptors={angleLines:{_fallback:"grid"}};const INTERVALS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},UNITS=Object.keys(INTERVALS);function sorter(a,b){return a-b}function parse(scale,input){if(isNullOrUndef(input))return null;const adapter=scale._adapter,{parser:parser,round:round,isoWeekday:isoWeekday}=scale._parseOpts;let value=input;return"function"==typeof parser&&(value=parser(value)),isNumberFinite(value)||(value="string"==typeof parser?adapter.parse(value,parser):adapter.parse(value)),null===value?null:(round&&(value="week"!==round||!isNumber(isoWeekday)&&!0!==isoWeekday?adapter.startOf(value,round):adapter.startOf(value,"isoWeek",isoWeekday)),+value)}function determineUnitForAutoTicks(minUnit,min,max,capacity){const ilen=UNITS.length;for(let i=UNITS.indexOf(minUnit);i=time?timestamps[lo]:timestamps[hi]]=!0}}else ticks[time]=!0}function ticksFromTimestamps(scale,values,majorUnit){const ticks=[],map={},ilen=values.length;let i,value;for(i=0;i=0&&(ticks[index].major=!0);return ticks}(scale,ticks,map,majorUnit):ticks}class TimeScale extends Scale{constructor(props){super(props),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(scaleOpts,opts){const time=scaleOpts.time||(scaleOpts.time={}),adapter=this._adapter=new _adapters._date(scaleOpts.adapters.date);mergeIf(time.displayFormats,adapter.formats()),this._parseOpts={parser:time.parser,round:time.round,isoWeekday:time.isoWeekday},super.init(scaleOpts),this._normalized=opts.normalized}parse(raw,index){return void 0===raw?null:parse(this,raw)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const me=this,options=me.options,adapter=me._adapter,unit=options.time.unit||"day";let{min:min,max:max,minDefined:minDefined,maxDefined:maxDefined}=me.getUserBounds();function _applyBounds(bounds){minDefined||isNaN(bounds.min)||(min=Math.min(min,bounds.min)),maxDefined||isNaN(bounds.max)||(max=Math.max(max,bounds.max))}minDefined&&maxDefined||(_applyBounds(me._getLabelBounds()),"ticks"===options.bounds&&"labels"===options.ticks.source||_applyBounds(me.getMinMax(!1))),min=isNumberFinite(min)&&!isNaN(min)?min:+adapter.startOf(Date.now(),unit),max=isNumberFinite(max)&&!isNaN(max)?max:+adapter.endOf(Date.now(),unit)+1,me.min=Math.min(min,max-1),me.max=Math.max(min+1,max)}_getLabelBounds(){const arr=this.getLabelTimestamps();let min=Number.POSITIVE_INFINITY,max=Number.NEGATIVE_INFINITY;return arr.length&&(min=arr[0],max=arr[arr.length-1]),{min:min,max:max}}buildTicks(){const me=this,options=me.options,timeOpts=options.time,tickOpts=options.ticks,timestamps="labels"===tickOpts.source?me.getLabelTimestamps():me._generate();"ticks"===options.bounds&×tamps.length&&(me.min=me._userMin||timestamps[0],me.max=me._userMax||timestamps[timestamps.length-1]);const min=me.min,ticks=_filterBetween(timestamps,min,me.max);return me._unit=timeOpts.unit||(tickOpts.autoSkip?determineUnitForAutoTicks(timeOpts.minUnit,me.min,me.max,me._getLabelCapacity(min)):function determineUnitForFormatting(scale,numTicks,minUnit,min,max){for(let i=UNITS.length-1;i>=UNITS.indexOf(minUnit);i--){const unit=UNITS[i];if(INTERVALS[unit].common&&scale._adapter.diff(max,min,unit)>=numTicks-1)return unit}return UNITS[minUnit?UNITS.indexOf(minUnit):0]}(me,ticks.length,timeOpts.minUnit,me.min,me.max)),me._majorUnit=tickOpts.major.enabled&&"year"!==me._unit?function determineMajorUnit(unit){for(let i=UNITS.indexOf(unit)+1,ilen=UNITS.length;i1e5*stepSize)throw new Error(min+" and "+max+" are too far apart with stepSize of "+stepSize+" "+minor);const timestamps="data"===options.ticks.source&&me.getDataTimestamps();for(time=first,count=0;timea-b)).map((x=>+x))}getLabelForValue(value){const adapter=this._adapter,timeOpts=this.options.time;return timeOpts.tooltipFormat?adapter.format(value,timeOpts.tooltipFormat):adapter.format(value,timeOpts.displayFormats.datetime)}_tickFormatFunction(time,index,ticks,format){const me=this,options=me.options,formats=options.time.displayFormats,unit=me._unit,majorUnit=me._majorUnit,minorFormat=unit&&formats[unit],majorFormat=majorUnit&&formats[majorUnit],tick=ticks[index],major=majorUnit&&majorFormat&&tick&&tick.major,label=me._adapter.format(time,format||(major?majorFormat:minorFormat)),formatter=options.ticks.callback;return formatter?callback(formatter,[label,index,ticks],me):label}generateTickLabels(ticks){let i,ilen,tick;for(i=0,ilen=ticks.length;i0?capacity:1}getDataTimestamps(){const me=this;let i,ilen,timestamps=me._cache.data||[];if(timestamps.length)return timestamps;const metas=me.getMatchingVisibleMetas();if(me._normalized&&metas.length)return me._cache.data=metas[0].controller.getAllParsedValues(me);for(i=0,ilen=metas.length;i=table[lo].pos&&val<=table[hi].pos&&({lo:lo,hi:hi}=_lookupByKey(table,"pos",val)),({pos:prevSource,time:prevTarget}=table[lo]),({pos:nextSource,time:nextTarget}=table[hi])):(val>=table[lo].time&&val<=table[hi].time&&({lo:lo,hi:hi}=_lookupByKey(table,"time",val)),({time:prevSource,pos:prevTarget}=table[lo]),({time:nextSource,pos:nextTarget}=table[hi]));const span=nextSource-prevSource;return span?prevTarget+(nextTarget-prevTarget)*(val-prevSource)/span:prevTarget}TimeScale.id="time",TimeScale.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class TimeSeriesScale extends TimeScale{constructor(props){super(props),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const me=this,timestamps=me._getTimestampsForTable(),table=me._table=me.buildLookupTable(timestamps);me._minPos=interpolate(table,me.min),me._tableRange=interpolate(table,me.max)-me._minPos,super.initOffsets(timestamps)}buildLookupTable(timestamps){const{min:min,max:max}=this,items=[],table=[];let i,ilen,prev,curr,next;for(i=0,ilen=timestamps.length;i=min&&curr<=max&&items.push(curr);if(items.length<2)return[{time:min,pos:0},{time:max,pos:1}];for(i=0,ilen=items.length;i0&&parser_exit();break;case"number":z.im=0,z.re=a;break;default:parser_exit()}return isNaN(z.re)||isNaN(z.im),z}(a,b);this.re=z.re,this.im=z.im}Complex.prototype={re:0,im:0,sign:function(){var abs=this.abs();return new Complex(this.re/abs,this.im/abs)},add:function(a,b){var z=new Complex(a,b);return this.isInfinite()&&z.isInfinite()?Complex.NAN:this.isInfinite()||z.isInfinite()?Complex.INFINITY:new Complex(this.re+z.re,this.im+z.im)},sub:function(a,b){var z=new Complex(a,b);return this.isInfinite()&&z.isInfinite()?Complex.NAN:this.isInfinite()||z.isInfinite()?Complex.INFINITY:new Complex(this.re-z.re,this.im-z.im)},mul:function(a,b){var z=new Complex(a,b);return this.isInfinite()&&z.isZero()||this.isZero()&&z.isInfinite()?Complex.NAN:this.isInfinite()||z.isInfinite()?Complex.INFINITY:0===z.im&&0===this.im?new Complex(this.re*z.re,0):new Complex(this.re*z.re-this.im*z.im,this.re*z.im+this.im*z.re)},div:function(a,b){var z=new Complex(a,b);if(this.isZero()&&z.isZero()||this.isInfinite()&&z.isInfinite())return Complex.NAN;if(this.isInfinite()||z.isZero())return Complex.INFINITY;if(this.isZero()||z.isInfinite())return Complex.ZERO;a=this.re,b=this.im;var t,x,c=z.re,d=z.im;return 0===d?new Complex(a/c,b/c):Math.abs(c)0)return new Complex(Math.pow(a,z.re),0);if(0===a)switch((z.re%4+4)%4){case 0:return new Complex(Math.pow(b,z.re),0);case 1:return new Complex(0,Math.pow(b,z.re));case 2:return new Complex(-Math.pow(b,z.re),0);case 3:return new Complex(0,-Math.pow(b,z.re))}}if(0===a&&0===b&&z.re>0&&z.im>=0)return Complex.ZERO;var arg=Math.atan2(b,a),loh=logHypot(a,b);return a=Math.exp(z.re*loh-z.im*arg),b=z.im*loh+z.re*arg,new Complex(a*Math.cos(b),a*Math.sin(b))},sqrt:function(){var re,im,a=this.re,b=this.im,r=this.abs();if(a>=0){if(0===b)return new Complex(Math.sqrt(a),0);re=.5*Math.sqrt(2*(r+a))}else re=Math.abs(b)/Math.sqrt(2*(r-a));return im=a<=0?.5*Math.sqrt(2*(r-a)):Math.abs(b)/Math.sqrt(2*(r+a)),new Complex(re,b<0?-im:im)},exp:function(){var tmp=Math.exp(this.re);return this.im,new Complex(tmp*Math.cos(this.im),tmp*Math.sin(this.im))},expm1:function(){var a=this.re,b=this.im;return new Complex(Math.expm1(a)*Math.cos(b)+function(x){var limit=Math.PI/4;if(x<-limit||x>limit)return Math.cos(x)-1;var xx=x*x;return xx*(xx*(1/24+xx*(-1/720+xx*(1/40320+xx*(-1/3628800+xx*(1/4790014600+xx*(-1/87178291200+xx*(1/20922789888e3)))))))-.5)}(b),Math.exp(a)*Math.sin(b))},log:function(){var a=this.re,b=this.im;return new Complex(logHypot(a,b),Math.atan2(b,a))},abs:function(){return x=this.re,y=this.im,a=Math.abs(x),b=Math.abs(y),a<3e3&&b<3e3?Math.sqrt(a*a+b*b):(a1&&0===b,oneMinus=1-a,onePlus=1+a,d=oneMinus*oneMinus+b*b,x=0!==d?new Complex((onePlus*oneMinus-b*b)/d,(b*oneMinus+onePlus*b)/d):new Complex(-1!==a?a/0:0,0!==b?b/0:0),temp=x.re;return x.re=logHypot(x.re,x.im)/2,x.im=Math.atan2(x.im,temp)/2,noIM&&(x.im=-x.im),x},acoth:function(){var a=this.re,b=this.im;if(0===a&&0===b)return new Complex(0,Math.PI/2);var d=a*a+b*b;return 0!==d?new Complex(a/d,-b/d).atanh():new Complex(0!==a?a/0:0,0!==b?-b/0:0).atanh()},acsch:function(){var a=this.re,b=this.im;if(0===b)return new Complex(0!==a?Math.log(a+Math.sqrt(a*a+1)):1/0,0);var d=a*a+b*b;return 0!==d?new Complex(a/d,-b/d).asinh():new Complex(0!==a?a/0:0,0!==b?-b/0:0).asinh()},asech:function(){var a=this.re,b=this.im;if(this.isZero())return Complex.INFINITY;var d=a*a+b*b;return 0!==d?new Complex(a/d,-b/d).acosh():new Complex(0!==a?a/0:0,0!==b?-b/0:0).acosh()},inverse:function(){if(this.isZero())return Complex.INFINITY;if(this.isInfinite())return Complex.ZERO;var a=this.re,b=this.im,d=a*a+b*b;return new Complex(a/d,-b/d)},conjugate:function(){return new Complex(this.re,-this.im)},neg:function(){return new Complex(-this.re,-this.im)},ceil:function(places){return places=Math.pow(10,places||0),new Complex(Math.ceil(this.re*places)/places,Math.ceil(this.im*places)/places)},floor:function(places){return places=Math.pow(10,places||0),new Complex(Math.floor(this.re*places)/places,Math.floor(this.im*places)/places)},round:function(places){return places=Math.pow(10,places||0),new Complex(Math.round(this.re*places)/places,Math.round(this.im*places)/places)},equals:function(a,b){var z=new Complex(a,b);return Math.abs(z.re-this.re)<=Complex.EPSILON&&Math.abs(z.im-this.im)<=Complex.EPSILON},clone:function(){return new Complex(this.re,this.im)},toString:function(){var a=this.re,b=this.im,ret="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(a)0){for(str+=w,i=1;imax)throw Error(invalidArgument+i)}function checkRoundingDigits(d,i,rm,repeating){var di,k,r,rd;for(k=d[0];k>=10;k/=10)--i;return--i<0?(i+=7,di=0):(di=Math.ceil((i+1)/7),i%=7),k=mathpow(10,7-i),rd=d[di]%k|0,null==repeating?i<3?(0==i?rd=rd/100|0:1==i&&(rd=rd/10|0),r=rm<4&&99999==rd||rm>3&&49999==rd||5e4==rd||0==rd):r=(rm<4&&rd+1==k||rm>3&&rd+1==k/2)&&(d[di+1]/k/100|0)==mathpow(10,i-2)-1||(rd==k/2||0==rd)&&0==(d[di+1]/k/100|0):i<4?(0==i?rd=rd/1e3|0:1==i?rd=rd/100|0:2==i&&(rd=rd/10|0),r=(repeating||rm<4)&&9999==rd||!repeating&&rm>3&&4999==rd):r=((repeating||rm<4)&&rd+1==k||!repeating&&rm>3&&rd+1==k/2)&&(d[di+1]/k/1e3|0)==mathpow(10,i-3)-1,r}function convertBase(str,baseIn,baseOut){for(var j,arrL,arr=[0],i=0,strL=str.length;ibaseOut-1&&(void 0===arr[j+1]&&(arr[j+1]=0),arr[j+1]+=arr[j]/baseOut|0,arr[j]%=baseOut)}return arr.reverse()}P.absoluteValue=P.abs=function(){var x=new this.constructor(this);return x.s<0&&(x.s=1),finalise(x)},P.ceil=function(){return finalise(new this.constructor(this),this.e+1,2)},P.comparedTo=P.cmp=function(y){var i,j,xdL,ydL,x=this,xd=x.d,yd=(y=new x.constructor(y)).d,xs=x.s,ys=y.s;if(!xd||!yd)return xs&&ys?xs!==ys?xs:xd===yd?0:!xd^xs<0?1:-1:NaN;if(!xd[0]||!yd[0])return xd[0]?xs:yd[0]?-ys:0;if(xs!==ys)return xs;if(x.e!==y.e)return x.e>y.e^xs<0?1:-1;for(i=0,j=(xdL=xd.length)<(ydL=yd.length)?xdL:ydL;iyd[i]^xs<0?1:-1;return xdL===ydL?0:xdL>ydL^xs<0?1:-1},P.cosine=P.cos=function(){var pr,rm,x=this,Ctor=x.constructor;return x.d?x.d[0]?(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+7,Ctor.rounding=1,x=function cosine(Ctor,x){var k,y,len=x.d.length;len<32?y=(1/tinyPow(4,k=Math.ceil(len/3))).toString():(k=16,y="2.3283064365386962890625e-10");Ctor.precision+=k,x=taylorSeries(Ctor,1,x.times(y),new Ctor(1));for(var i=k;i--;){var cos2x=x.times(x);x=cos2x.times(cos2x).minus(cos2x).times(8).plus(1)}return Ctor.precision-=k,x}(Ctor,toLessThanHalfPi(Ctor,x)),Ctor.precision=pr,Ctor.rounding=rm,finalise(2==quadrant||3==quadrant?x.neg():x,pr,rm,!0)):new Ctor(1):new Ctor(NaN)},P.cubeRoot=P.cbrt=function(){var e,m,n,r,rep,s,sd,t,t3,t3plusx,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);for(external=!1,(s=x.s*mathpow(x.s*x,1/3))&&Math.abs(s)!=1/0?r=new Ctor(s.toString()):(n=digitsToString(x.d),(s=((e=x.e)-n.length+1)%3)&&(n+=1==s||-2==s?"0":"00"),s=mathpow(n,1/3),e=mathfloor((e+1)/3)-(e%3==(e<0?-1:2)),(r=new Ctor(n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=x.s),sd=(e=Ctor.precision)+3;;)if(t3plusx=(t3=(t=r).times(t).times(t)).plus(x),r=divide(t3plusx.plus(x).times(t),t3plusx.plus(t3),sd+2,1),digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){if("9999"!=(n=n.slice(sd-3,sd+1))&&(rep||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(finalise(r,e+1,1),m=!r.times(r).times(r).eq(x));break}if(!rep&&(finalise(t,e+1,0),t.times(t).times(t).eq(x))){r=t;break}sd+=4,rep=1}return external=!0,finalise(r,e,Ctor.rounding,m)},P.decimalPlaces=P.dp=function(){var w,d=this.d,n=NaN;if(d){if(n=7*((w=d.length-1)-mathfloor(this.e/7)),w=d[w])for(;w%10==0;w/=10)n--;n<0&&(n=0)}return n},P.dividedBy=P.div=function(y){return divide(this,new this.constructor(y))},P.dividedToIntegerBy=P.divToInt=function(y){var Ctor=this.constructor;return finalise(divide(this,new Ctor(y),0,1,1),Ctor.precision,Ctor.rounding)},P.equals=P.eq=function(y){return 0===this.cmp(y)},P.floor=function(){return finalise(new this.constructor(this),this.e+1,3)},P.greaterThan=P.gt=function(y){return this.cmp(y)>0},P.greaterThanOrEqualTo=P.gte=function(y){var k=this.cmp(y);return 1==k||0===k},P.hyperbolicCosine=P.cosh=function(){var k,n,pr,rm,len,x=this,Ctor=x.constructor,one=new Ctor(1);if(!x.isFinite())return new Ctor(x.s?1/0:NaN);if(x.isZero())return one;pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+4,Ctor.rounding=1,(len=x.d.length)<32?n=(1/tinyPow(4,k=Math.ceil(len/3))).toString():(k=16,n="2.3283064365386962890625e-10"),x=taylorSeries(Ctor,1,x.times(n),new Ctor(1),!0);for(var cosh2_x,i=k,d8=new Ctor(8);i--;)cosh2_x=x.times(x),x=one.minus(cosh2_x.times(d8.minus(cosh2_x.times(d8))));return finalise(x,Ctor.precision=pr,Ctor.rounding=rm,!0)},P.hyperbolicSine=P.sinh=function(){var k,pr,rm,len,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);if(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+4,Ctor.rounding=1,(len=x.d.length)<3)x=taylorSeries(Ctor,2,x,x,!0);else{k=(k=1.4*Math.sqrt(len))>16?16:0|k,x=taylorSeries(Ctor,2,x=x.times(1/tinyPow(5,k)),x,!0);for(var sinh2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);k--;)sinh2_x=x.times(x),x=x.times(d5.plus(sinh2_x.times(d16.times(sinh2_x).plus(d20))))}return Ctor.precision=pr,Ctor.rounding=rm,finalise(x,pr,rm,!0)},P.hyperbolicTangent=P.tanh=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+7,Ctor.rounding=1,divide(x.sinh(),x.cosh(),Ctor.precision=pr,Ctor.rounding=rm)):new Ctor(x.s)},P.inverseCosine=P.acos=function(){var halfPi,x=this,Ctor=x.constructor,k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding;return-1!==k?0===k?x.isNeg()?getPi(Ctor,pr,rm):new Ctor(0):new Ctor(NaN):x.isZero()?getPi(Ctor,pr+4,rm).times(.5):(Ctor.precision=pr+6,Ctor.rounding=1,x=x.asin(),halfPi=getPi(Ctor,pr+4,rm).times(.5),Ctor.precision=pr,Ctor.rounding=rm,halfPi.minus(x))},P.inverseHyperbolicCosine=P.acosh=function(){var pr,rm,x=this,Ctor=x.constructor;return x.lte(1)?new Ctor(x.eq(1)?0:NaN):x.isFinite()?(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(Math.abs(x.e),x.sd())+4,Ctor.rounding=1,external=!1,x=x.times(x).minus(1).sqrt().plus(x),external=!0,Ctor.precision=pr,Ctor.rounding=rm,x.ln()):new Ctor(x)},P.inverseHyperbolicSine=P.asinh=function(){var pr,rm,x=this,Ctor=x.constructor;return!x.isFinite()||x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+2*Math.max(Math.abs(x.e),x.sd())+6,Ctor.rounding=1,external=!1,x=x.times(x).plus(1).sqrt().plus(x),external=!0,Ctor.precision=pr,Ctor.rounding=rm,x.ln())},P.inverseHyperbolicTangent=P.atanh=function(){var pr,rm,wpr,xsd,x=this,Ctor=x.constructor;return x.isFinite()?x.e>=0?new Ctor(x.abs().eq(1)?x.s/0:x.isZero()?x:NaN):(pr=Ctor.precision,rm=Ctor.rounding,xsd=x.sd(),Math.max(xsd,pr)<2*-x.e-1?finalise(new Ctor(x),pr,rm,!0):(Ctor.precision=wpr=xsd-x.e,x=divide(x.plus(1),new Ctor(1).minus(x),wpr+pr,1),Ctor.precision=pr+4,Ctor.rounding=1,x=x.ln(),Ctor.precision=pr,Ctor.rounding=rm,x.times(.5))):new Ctor(NaN)},P.inverseSine=P.asin=function(){var halfPi,k,pr,rm,x=this,Ctor=x.constructor;return x.isZero()?new Ctor(x):(k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding,-1!==k?0===k?((halfPi=getPi(Ctor,pr+4,rm).times(.5)).s=x.s,halfPi):new Ctor(NaN):(Ctor.precision=pr+6,Ctor.rounding=1,x=x.div(new Ctor(1).minus(x.times(x)).sqrt().plus(1)).atan(),Ctor.precision=pr,Ctor.rounding=rm,x.times(2)))},P.inverseTangent=P.atan=function(){var i,j,k,n,px,t,r,wpr,x2,x=this,Ctor=x.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(x.isFinite()){if(x.isZero())return new Ctor(x);if(x.abs().eq(1)&&pr+4<=PI_PRECISION)return(r=getPi(Ctor,pr+4,rm).times(.25)).s=x.s,r}else{if(!x.s)return new Ctor(NaN);if(pr+4<=PI_PRECISION)return(r=getPi(Ctor,pr+4,rm).times(.5)).s=x.s,r}for(Ctor.precision=wpr=pr+10,Ctor.rounding=1,i=k=Math.min(28,wpr/7+2|0);i;--i)x=x.div(x.times(x).plus(1).sqrt().plus(1));for(external=!1,j=Math.ceil(wpr/7),n=1,x2=x.times(x),r=new Ctor(x),px=x;-1!==i;)if(px=px.times(x2),t=r.minus(px.div(n+=2)),px=px.times(x2),void 0!==(r=t.plus(px.div(n+=2))).d[j])for(i=j;r.d[i]===t.d[i]&&i--;);return k&&(r=r.times(2<this.d.length-2},P.isNaN=function(){return!this.s},P.isNegative=P.isNeg=function(){return this.s<0},P.isPositive=P.isPos=function(){return this.s>0},P.isZero=function(){return!!this.d&&0===this.d[0]},P.lessThan=P.lt=function(y){return this.cmp(y)<0},P.lessThanOrEqualTo=P.lte=function(y){return this.cmp(y)<1},P.logarithm=P.log=function(base){var isBase10,d,denominator,k,inf,num,sd,r,Ctor=this.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(null==base)base=new Ctor(10),isBase10=!0;else{if(d=(base=new Ctor(base)).d,base.s<0||!d||!d[0]||base.eq(1))return new Ctor(NaN);isBase10=base.eq(10)}if(d=this.d,this.s<0||!d||!d[0]||this.eq(1))return new Ctor(d&&!d[0]?-1/0:1!=this.s?NaN:d?0:1/0);if(isBase10)if(d.length>1)inf=!0;else{for(k=d[0];k%10==0;)k/=10;inf=1!==k}if(external=!1,num=naturalLogarithm(this,sd=pr+5),denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd),checkRoundingDigits((r=divide(num,denominator,sd,1)).d,k=pr,rm))do{if(num=naturalLogarithm(this,sd+=10),denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd),r=divide(num,denominator,sd,1),!inf){+digitsToString(r.d).slice(k+1,k+15)+1==1e14&&(r=finalise(r,pr+1,0));break}}while(checkRoundingDigits(r.d,k+=10,rm));return external=!0,finalise(r,pr,rm)},P.minus=P.sub=function(y){var d,e,i,j,k,len,pr,rm,xd,xe,xLTy,yd,x=this,Ctor=x.constructor;if(y=new Ctor(y),!x.d||!y.d)return x.s&&y.s?x.d?y.s=-y.s:y=new Ctor(y.d||x.s!==y.s?x:NaN):y=new Ctor(NaN),y;if(x.s!=y.s)return y.s=-y.s,x.plus(y);if(xd=x.d,yd=y.d,pr=Ctor.precision,rm=Ctor.rounding,!xd[0]||!yd[0]){if(yd[0])y.s=-y.s;else{if(!xd[0])return new Ctor(3===rm?-0:0);y=new Ctor(x)}return external?finalise(y,pr,rm):y}if(e=mathfloor(y.e/7),xe=mathfloor(x.e/7),xd=xd.slice(),k=xe-e){for((xLTy=k<0)?(d=xd,k=-k,len=yd.length):(d=yd,e=xe,len=xd.length),k>(i=Math.max(Math.ceil(pr/7),len)+2)&&(k=i,d.length=1),d.reverse(),i=k;i--;)d.push(0);d.reverse()}else{for((xLTy=(i=xd.length)<(len=yd.length))&&(len=i),i=0;i0;--i)xd[len++]=0;for(i=yd.length;i>k;){if(xd[--i](len=(k=Math.ceil(pr/7))>len?k+1:len+1)&&(i=len,d.length=1),d.reverse();i--;)d.push(0);d.reverse()}for((len=xd.length)-(i=yd.length)<0&&(i=len,d=yd,yd=xd,xd=d),carry=0;i;)carry=(xd[--i]=xd[i]+yd[i]+carry)/BASE|0,xd[i]%=BASE;for(carry&&(xd.unshift(carry),++e),len=xd.length;0==xd[--len];)xd.pop();return y.d=xd,y.e=getBase10Exponent(xd,e),external?finalise(y,pr,rm):y},P.precision=P.sd=function(z){var k,x=this;if(void 0!==z&&z!==!!z&&1!==z&&0!==z)throw Error(invalidArgument+z);return x.d?(k=getPrecision(x.d),z&&x.e+1>k&&(k=x.e+1)):k=NaN,k},P.round=function(){var x=this,Ctor=x.constructor;return finalise(new Ctor(x),x.e+1,Ctor.rounding)},P.sine=P.sin=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+7,Ctor.rounding=1,x=function sine(Ctor,x){var k,len=x.d.length;if(len<3)return taylorSeries(Ctor,2,x,x);k=(k=1.4*Math.sqrt(len))>16?16:0|k,x=x.times(1/tinyPow(5,k)),x=taylorSeries(Ctor,2,x,x);for(var sin2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);k--;)sin2_x=x.times(x),x=x.times(d5.plus(sin2_x.times(d16.times(sin2_x).minus(d20))));return x}(Ctor,toLessThanHalfPi(Ctor,x)),Ctor.precision=pr,Ctor.rounding=rm,finalise(quadrant>2?x.neg():x,pr,rm,!0)):new Ctor(NaN)},P.squareRoot=P.sqrt=function(){var m,n,sd,r,rep,t,x=this,d=x.d,e=x.e,s=x.s,Ctor=x.constructor;if(1!==s||!d||!d[0])return new Ctor(!s||s<0&&(!d||d[0])?NaN:d?x:1/0);for(external=!1,0==(s=Math.sqrt(+x))||s==1/0?(((n=digitsToString(d)).length+e)%2==0&&(n+="0"),s=Math.sqrt(n),e=mathfloor((e+1)/2)-(e<0||e%2),r=new Ctor(n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e)):r=new Ctor(s.toString()),sd=(e=Ctor.precision)+3;;)if(r=(t=r).plus(divide(x,t,sd+2,1)).times(.5),digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){if("9999"!=(n=n.slice(sd-3,sd+1))&&(rep||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(finalise(r,e+1,1),m=!r.times(r).eq(x));break}if(!rep&&(finalise(t,e+1,0),t.times(t).eq(x))){r=t;break}sd+=4,rep=1}return external=!0,finalise(r,e,Ctor.rounding,m)},P.tangent=P.tan=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+10,Ctor.rounding=1,(x=x.sin()).s=1,x=divide(x,new Ctor(1).minus(x.times(x)).sqrt(),pr+10,0),Ctor.precision=pr,Ctor.rounding=rm,finalise(2==quadrant||4==quadrant?x.neg():x,pr,rm,!0)):new Ctor(NaN)},P.times=P.mul=function(y){var carry,e,i,k,r,rL,t,xdL,ydL,x=this,Ctor=x.constructor,xd=x.d,yd=(y=new Ctor(y)).d;if(y.s*=x.s,!(xd&&xd[0]&&yd&&yd[0]))return new Ctor(!y.s||xd&&!xd[0]&&!yd||yd&&!yd[0]&&!xd?NaN:xd&&yd?0*y.s:y.s/0);for(e=mathfloor(x.e/7)+mathfloor(y.e/7),(xdL=xd.length)<(ydL=yd.length)&&(r=xd,xd=yd,yd=r,rL=xdL,xdL=ydL,ydL=rL),r=[],i=rL=xdL+ydL;i--;)r.push(0);for(i=ydL;--i>=0;){for(carry=0,k=xdL+i;k>i;)t=r[k]+yd[i]*xd[k-i-1]+carry,r[k--]=t%BASE|0,carry=t/BASE|0;r[k]=(r[k]+carry)%BASE|0}for(;!r[--rL];)r.pop();return carry?++e:r.shift(),y.d=r,y.e=getBase10Exponent(r,e),external?finalise(y,Ctor.precision,Ctor.rounding):y},P.toBinary=function(sd,rm){return toStringBinary(this,2,sd,rm)},P.toDecimalPlaces=P.toDP=function(dp,rm){var x=this,Ctor=x.constructor;return x=new Ctor(x),void 0===dp?x:(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),finalise(x,dp+x.e+1,rm))},P.toExponential=function(dp,rm){var str,x=this,Ctor=x.constructor;return void 0===dp?str=finiteToString(x,!0):(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(x=finalise(new Ctor(x),dp+1,rm),!0,dp+1)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toFixed=function(dp,rm){var str,y,x=this,Ctor=x.constructor;return void 0===dp?str=finiteToString(x):(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(y=finalise(new Ctor(x),dp+x.e+1,rm),!1,dp+y.e+1)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toFraction=function(maxD){var d,d0,d1,d2,e,k,n,n0,n1,pr,q,r,x=this,xd=x.d,Ctor=x.constructor;if(!xd)return new Ctor(x);if(n1=d0=new Ctor(1),d1=n0=new Ctor(0),k=(e=(d=new Ctor(d1)).e=getPrecision(xd)-x.e-1)%7,d.d[0]=mathpow(10,k<0?7+k:k),null==maxD)maxD=e>0?d:n1;else{if(!(n=new Ctor(maxD)).isInt()||n.lt(n1))throw Error(invalidArgument+n);maxD=n.gt(d)?e>0?d:n1:n}for(external=!1,n=new Ctor(digitsToString(xd)),pr=Ctor.precision,Ctor.precision=e=7*xd.length*2;q=divide(n,d,0,1,1),1!=(d2=d0.plus(q.times(d1))).cmp(maxD);)d0=d1,d1=d2,d2=n1,n1=n0.plus(q.times(d2)),n0=d2,d2=d,d=n.minus(q.times(d2)),n=d2;return d2=divide(maxD.minus(d0),d1,0,1,1),n0=n0.plus(d2.times(n1)),d0=d0.plus(d2.times(d1)),n0.s=n1.s=x.s,r=divide(n1,d1,e,1).minus(x).abs().cmp(divide(n0,d0,e,1).minus(x).abs())<1?[n1,d1]:[n0,d0],Ctor.precision=pr,external=!0,r},P.toHexadecimal=P.toHex=function(sd,rm){return toStringBinary(this,16,sd,rm)},P.toNearest=function(y,rm){var x=this,Ctor=x.constructor;if(x=new Ctor(x),null==y){if(!x.d)return x;y=new Ctor(1),rm=Ctor.rounding}else{if(y=new Ctor(y),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),!x.d)return y.s?x:y;if(!y.d)return y.s&&(y.s=x.s),y}return y.d[0]?(external=!1,x=divide(x,y,0,rm,1).times(y),external=!0,finalise(x)):(y.s=x.s,x=y),x},P.toNumber=function(){return+this},P.toOctal=function(sd,rm){return toStringBinary(this,8,sd,rm)},P.toPower=P.pow=function(y){var e,k,pr,r,rm,s,x=this,Ctor=x.constructor,yn=+(y=new Ctor(y));if(!(x.d&&y.d&&x.d[0]&&y.d[0]))return new Ctor(mathpow(+x,yn));if((x=new Ctor(x)).eq(1))return x;if(pr=Ctor.precision,rm=Ctor.rounding,y.eq(1))return finalise(x,pr,rm);if((e=mathfloor(y.e/7))>=y.d.length-1&&(k=yn<0?-yn:yn)<=9007199254740991)return r=intPow(Ctor,x,k,pr),y.s<0?new Ctor(1).div(r):finalise(r,pr,rm);if((s=x.s)<0){if(eCtor.maxE+1||e0?s/0:0):(external=!1,Ctor.rounding=x.s=1,k=Math.min(12,(e+"").length),(r=naturalExponential(y.times(naturalLogarithm(x,pr+k)),pr)).d&&checkRoundingDigits((r=finalise(r,pr+5,1)).d,pr,rm)&&(e=pr+10,+digitsToString((r=finalise(naturalExponential(y.times(naturalLogarithm(x,e+k)),e),e+5,1)).d).slice(pr+1,pr+15)+1==1e14&&(r=finalise(r,pr+1,0))),r.s=s,external=!0,Ctor.rounding=rm,finalise(r,pr,rm))},P.toPrecision=function(sd,rm){var str,x=this,Ctor=x.constructor;return void 0===sd?str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos):(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(x=finalise(new Ctor(x),sd,rm),sd<=x.e||x.e<=Ctor.toExpNeg,sd)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toSignificantDigits=P.toSD=function(sd,rm){var Ctor=this.constructor;return void 0===sd?(sd=Ctor.precision,rm=Ctor.rounding):(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8)),finalise(new Ctor(this),sd,rm)},P.toString=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()&&!x.isZero()?"-"+str:str},P.truncated=P.trunc=function(){return finalise(new this.constructor(this),this.e+1,1)},P.valueOf=P.toJSON=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()?"-"+str:str};var divide=function(){function multiplyInteger(x,k,base){var temp,carry=0,i=x.length;for(x=x.slice();i--;)temp=x[i]*k+carry,x[i]=temp%base|0,carry=temp/base|0;return carry&&x.unshift(carry),x}function compare(a,b,aL,bL){var i,r;if(aL!=bL)r=aL>bL?1:-1;else for(i=r=0;ib[i]?1:-1;break}return r}function subtract(a,b,aL,base){for(var i=0;aL--;)a[aL]-=i,i=a[aL]1;)a.shift()}return function(x,y,pr,rm,dp,base){var cmp,e,i,k,logBase,more,prod,prodL,q,qd,rem,remL,rem0,sd,t,xi,xL,yd0,yL,yz,Ctor=x.constructor,sign=x.s==y.s?1:-1,xd=x.d,yd=y.d;if(!(xd&&xd[0]&&yd&&yd[0]))return new Ctor(x.s&&y.s&&(xd?!yd||xd[0]!=yd[0]:yd)?xd&&0==xd[0]||!yd?0*sign:sign/0:NaN);for(base?(logBase=1,e=x.e-y.e):(base=BASE,logBase=7,e=mathfloor(x.e/logBase)-mathfloor(y.e/logBase)),yL=yd.length,xL=xd.length,qd=(q=new Ctor(sign)).d=[],i=0;yd[i]==(xd[i]||0);i++);if(yd[i]>(xd[i]||0)&&e--,null==pr?(sd=pr=Ctor.precision,rm=Ctor.rounding):sd=dp?pr+(x.e-y.e)+1:pr,sd<0)qd.push(1),more=!0;else{if(sd=sd/logBase+2|0,i=0,1==yL){for(k=0,yd=yd[0],sd++;(i1&&(yd=multiplyInteger(yd,k,base),xd=multiplyInteger(xd,k,base),yL=yd.length,xL=xd.length),xi=yL,remL=(rem=xd.slice(0,yL)).length;remL=base/2&&++yd0;do{k=0,(cmp=compare(yd,rem,yL,remL))<0?(rem0=rem[0],yL!=remL&&(rem0=rem0*base+(rem[1]||0)),(k=rem0/yd0|0)>1?(k>=base&&(k=base-1),1==(cmp=compare(prod=multiplyInteger(yd,k,base),rem,prodL=prod.length,remL=rem.length))&&(k--,subtract(prod,yL=10;k/=10)i++;q.e=i+e*logBase-1,finalise(q,dp?pr+q.e+1:pr,rm,more)}return q}}();function finalise(x,sd,rm,isTruncated){var digits,i,j,k,rd,roundUp,w,xd,xdi,Ctor=x.constructor;out:if(null!=sd){if(!(xd=x.d))return x;for(digits=1,k=xd[0];k>=10;k/=10)digits++;if((i=sd-digits)<0)i+=7,j=sd,rd=(w=xd[xdi=0])/mathpow(10,digits-j-1)%10|0;else if((xdi=Math.ceil((i+1)/7))>=(k=xd.length)){if(!isTruncated)break out;for(;k++<=xdi;)xd.push(0);w=rd=0,digits=1,j=(i%=7)-7+1}else{for(w=k=xd[xdi],digits=1;k>=10;k/=10)digits++;rd=(j=(i%=7)-7+digits)<0?0:w/mathpow(10,digits-j-1)%10|0}if(isTruncated=isTruncated||sd<0||void 0!==xd[xdi+1]||(j<0?w:w%mathpow(10,digits-j-1)),roundUp=rm<4?(rd||isTruncated)&&(0==rm||rm==(x.s<0?3:2)):rd>5||5==rd&&(4==rm||isTruncated||6==rm&&(i>0?j>0?w/mathpow(10,digits-j):0:xd[xdi-1])%10&1||rm==(x.s<0?8:7)),sd<1||!xd[0])return xd.length=0,roundUp?(sd-=x.e+1,xd[0]=mathpow(10,(7-sd%7)%7),x.e=-sd||0):xd[0]=x.e=0,x;if(0==i?(xd.length=xdi,k=1,xdi--):(xd.length=xdi+1,k=mathpow(10,7-i),xd[xdi]=j>0?(w/mathpow(10,digits-j)%mathpow(10,j)|0)*k:0),roundUp)for(;;){if(0==xdi){for(i=1,j=xd[0];j>=10;j/=10)i++;for(j=xd[0]+=k,k=1;j>=10;j/=10)k++;i!=k&&(x.e++,xd[0]==BASE&&(xd[0]=1));break}if(xd[xdi]+=k,xd[xdi]!=BASE)break;xd[xdi--]=0,k=1}for(i=xd.length;0===xd[--i];)xd.pop()}return external&&(x.e>Ctor.maxE?(x.d=null,x.e=NaN):x.e0?str=str.charAt(0)+"."+str.slice(1)+getZeroString(k):len>1&&(str=str.charAt(0)+"."+str.slice(1)),str=str+(x.e<0?"e":"e+")+x.e):e<0?(str="0."+getZeroString(-e-1)+str,sd&&(k=sd-len)>0&&(str+=getZeroString(k))):e>=len?(str+=getZeroString(e+1-len),sd&&(k=sd-e-1)>0&&(str=str+"."+getZeroString(k))):((k=e+1)0&&(e+1===len&&(str+="."),str+=getZeroString(k))),str}function getBase10Exponent(digits,e){var w=digits[0];for(e*=7;w>=10;w/=10)e++;return e}function getLn10(Ctor,sd,pr){if(sd>LN10_PRECISION)throw external=!0,pr&&(Ctor.precision=pr),Error("[DecimalError] Precision limit exceeded");return finalise(new Ctor(LN10),sd,1,!0)}function getPi(Ctor,sd,rm){if(sd>PI_PRECISION)throw Error("[DecimalError] Precision limit exceeded");return finalise(new Ctor(PI),sd,rm,!0)}function getPrecision(digits){var w=digits.length-1,len=7*w+1;if(w=digits[w]){for(;w%10==0;w/=10)len--;for(w=digits[0];w>=10;w/=10)len++}return len}function getZeroString(k){for(var zs="";k--;)zs+="0";return zs}function intPow(Ctor,x,n,pr){var isTruncated,r=new Ctor(1),k=Math.ceil(pr/7+4);for(external=!1;;){if(n%2&&truncate((r=r.times(x)).d,k)&&(isTruncated=!0),0===(n=mathfloor(n/2))){n=r.d.length-1,isTruncated&&0===r.d[n]&&++r.d[n];break}truncate((x=x.times(x)).d,k)}return external=!0,r}function isOdd(n){return 1&n.d[n.d.length-1]}function maxOrMin(Ctor,args,ltgt){for(var y,x=new Ctor(args[0]),i=0;++i17)return new Ctor(x.d?x.d[0]?x.s<0?0:1/0:1:x.s?x.s<0?0:x:NaN);for(null==sd?(external=!1,wpr=pr):wpr=sd,t=new Ctor(.03125);x.e>-2;)x=x.times(t),k+=5;for(wpr+=guard=Math.log(mathpow(2,k))/Math.LN10*2+5|0,denominator=pow=sum=new Ctor(1),Ctor.precision=wpr;;){if(pow=finalise(pow.times(x),wpr,1),denominator=denominator.times(++i),digitsToString((t=sum.plus(divide(pow,denominator,wpr,1))).d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){for(j=k;j--;)sum=finalise(sum.times(sum),wpr,1);if(null!=sd)return Ctor.precision=pr,sum;if(!(rep<3&&checkRoundingDigits(sum.d,wpr-guard,rm,rep)))return finalise(sum,Ctor.precision=pr,rm,external=!0);Ctor.precision=wpr+=10,denominator=pow=t=new Ctor(1),i=0,rep++}sum=t}}function naturalLogarithm(y,sd){var c,c0,denominator,e,numerator,rep,sum,t,wpr,x1,x2,n=1,x=y,xd=x.d,Ctor=x.constructor,rm=Ctor.rounding,pr=Ctor.precision;if(x.s<0||!xd||!xd[0]||!x.e&&1==xd[0]&&1==xd.length)return new Ctor(xd&&!xd[0]?-1/0:1!=x.s?NaN:xd?0:x);if(null==sd?(external=!1,wpr=pr):wpr=sd,Ctor.precision=wpr+=10,c0=(c=digitsToString(xd)).charAt(0),!(Math.abs(e=x.e)<15e14))return t=getLn10(Ctor,wpr+2,pr).times(e+""),x=naturalLogarithm(new Ctor(c0+"."+c.slice(1)),wpr-10).plus(t),Ctor.precision=pr,null==sd?finalise(x,pr,rm,external=!0):x;for(;c0<7&&1!=c0||1==c0&&c.charAt(1)>3;)c0=(c=digitsToString((x=x.times(y)).d)).charAt(0),n++;for(e=x.e,c0>1?(x=new Ctor("0."+c),e++):x=new Ctor(c0+"."+c.slice(1)),x1=x,sum=numerator=x=divide(x.minus(1),x.plus(1),wpr,1),x2=finalise(x.times(x),wpr,1),denominator=3;;){if(numerator=finalise(numerator.times(x2),wpr,1),digitsToString((t=sum.plus(divide(numerator,new Ctor(denominator),wpr,1))).d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){if(sum=sum.times(2),0!==e&&(sum=sum.plus(getLn10(Ctor,wpr+2,pr).times(e+""))),sum=divide(sum,new Ctor(n),wpr,1),null!=sd)return Ctor.precision=pr,sum;if(!checkRoundingDigits(sum.d,wpr-10,rm,rep))return finalise(sum,Ctor.precision=pr,rm,external=!0);Ctor.precision=wpr+=10,t=numerator=x=divide(x1.minus(1),x1.plus(1),wpr,1),x2=finalise(x.times(x),wpr,1),denominator=rep=1}sum=t,denominator+=2}}function nonFiniteToString(x){return String(x.s*x.s/0)}function parseDecimal(x,str){var e,i,len;for((e=str.indexOf("."))>-1&&(str=str.replace(".","")),(i=str.search(/e/i))>0?(e<0&&(e=i),e+=+str.slice(i+1),str=str.substring(0,i)):e<0&&(e=str.length),i=0;48===str.charCodeAt(i);i++);for(len=str.length;48===str.charCodeAt(len-1);--len);if(str=str.slice(i,len)){if(len-=i,x.e=e=e-i-1,x.d=[],i=(e+1)%7,e<0&&(i+=7),ix.constructor.maxE?(x.d=null,x.e=NaN):x.e0?(p=+str.slice(i+1),str=str.substring(2,i)):str=str.slice(2),isFloat=(i=str.indexOf("."))>=0,Ctor=x.constructor,isFloat&&(i=(len=(str=str.replace(".","")).length)-i,divisor=intPow(Ctor,new Ctor(base),i,2*i)),i=xe=(xd=convertBase(str,base,BASE)).length-1;0===xd[i];--i)xd.pop();return i<0?new Ctor(0*x.s):(x.e=getBase10Exponent(xd,xe),x.d=xd,external=!1,isFloat&&(x=divide(x,divisor,4*len)),p&&(x=x.times(Math.abs(p)<54?mathpow(2,p):Decimal.pow(2,p))),external=!0,x)}function taylorSeries(Ctor,n,x,y,isHyperbolic){var j,t,u,x2,pr=Ctor.precision,k=Math.ceil(pr/7);for(external=!1,x2=x.times(x),u=new Ctor(y);;){if(t=divide(u.times(x2),new Ctor(n++*n++),pr,1),u=isHyperbolic?y.plus(t):y.minus(t),y=divide(t.times(x2),new Ctor(n++*n++),pr,1),void 0!==(t=u.plus(y)).d[k]){for(j=k;t.d[j]===u.d[j]&&j--;);if(-1==j)break}j=u,u=y,y=t,t=j}return external=!0,t.d.length=k+1,t}function tinyPow(b,e){for(var n=b;--e;)n*=b;return n}function toLessThanHalfPi(Ctor,x){var t,isNeg=x.s<0,pi=getPi(Ctor,Ctor.precision,1),halfPi=pi.times(.5);if((x=x.abs()).lte(halfPi))return quadrant=isNeg?4:1,x;if((t=x.divToInt(pi)).isZero())quadrant=isNeg?3:2;else{if((x=x.minus(t.times(pi))).lte(halfPi))return quadrant=isOdd(t)?isNeg?2:3:isNeg?4:1,x;quadrant=isOdd(t)?isNeg?1:4:isNeg?3:2}return x.minus(pi).abs()}function toStringBinary(x,baseOut,sd,rm){var base,e,i,k,len,roundUp,str,xd,y,Ctor=x.constructor,isExp=void 0!==sd;if(isExp?(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8)):(sd=Ctor.precision,rm=Ctor.rounding),x.isFinite()){for(isExp?(base=2,16==baseOut?sd=4*sd-3:8==baseOut&&(sd=3*sd-2)):base=baseOut,(i=(str=finiteToString(x)).indexOf("."))>=0&&(str=str.replace(".",""),(y=new Ctor(1)).e=str.length-i,y.d=convertBase(finiteToString(y),10,base),y.e=y.d.length),e=len=(xd=convertBase(str,10,base)).length;0==xd[--len];)xd.pop();if(xd[0]){if(i<0?e--:((x=new Ctor(x)).d=xd,x.e=e,xd=(x=divide(x,y,sd,rm,0,base)).d,e=x.e,roundUp=inexact),i=xd[sd],k=base/2,roundUp=roundUp||void 0!==xd[sd+1],roundUp=rm<4?(void 0!==i||roundUp)&&(0===rm||rm===(x.s<0?3:2)):i>k||i===k&&(4===rm||roundUp||6===rm&&1&xd[sd-1]||rm===(x.s<0?8:7)),xd.length=sd,roundUp)for(;++xd[--sd]>base-1;)xd[sd]=0,sd||(++e,xd.unshift(1));for(len=xd.length;!xd[len-1];--len);for(i=0,str="";i1)if(16==baseOut||8==baseOut){for(i=16==baseOut?4:3,--len;len%i;len++)str+="0";for(len=(xd=convertBase(str,base,baseOut)).length;!xd[len-1];--len);for(i=1,str="1.";ilen)for(e-=len;e--;)str+="0";else elen)return arr.length=len,!0}function abs(x){return new this(x).abs()}function acos(x){return new this(x).acos()}function acosh(x){return new this(x).acosh()}function add(x,y){return new this(x).plus(y)}function asin(x){return new this(x).asin()}function asinh(x){return new this(x).asinh()}function atan(x){return new this(x).atan()}function atanh(x){return new this(x).atanh()}function atan2(y,x){y=new this(y),x=new this(x);var r,pr=this.precision,rm=this.rounding,wpr=pr+4;return y.s&&x.s?y.d||x.d?!x.d||y.isZero()?(r=x.s<0?getPi(this,pr,rm):new this(0)).s=y.s:!y.d||x.isZero()?(r=getPi(this,wpr,1).times(.5)).s=y.s:x.s<0?(this.precision=wpr,this.rounding=1,r=this.atan(divide(y,x,wpr,1)),x=getPi(this,wpr,1),this.precision=pr,this.rounding=rm,r=y.s<0?r.minus(x):r.plus(x)):r=this.atan(divide(y,x,wpr,1)):(r=getPi(this,wpr,1).times(x.s>0?.25:.75)).s=y.s:r=new this(NaN),r}function cbrt(x){return new this(x).cbrt()}function ceil(x){return finalise(x=new this(x),x.e+1,2)}function config(obj){if(!obj||"object"!=typeof obj)throw Error("[DecimalError] Object expected");var i,p,v,useDefaults=!0===obj.defaults,ps=["precision",1,1e9,"rounding",0,8,"toExpNeg",-EXP_LIMIT,0,"toExpPos",0,EXP_LIMIT,"maxE",0,EXP_LIMIT,"minE",-EXP_LIMIT,0,"modulo",0,9];for(i=0;i=ps[i+1]&&v<=ps[i+2]))throw Error(invalidArgument+p+": "+v);this[p]=v}if(p="crypto",useDefaults&&(this[p]=DEFAULTS[p]),void 0!==(v=obj[p])){if(!0!==v&&!1!==v&&0!==v&&1!==v)throw Error(invalidArgument+p+": "+v);if(v){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");this[p]=!0}else this[p]=!1}return this}function cos(x){return new this(x).cos()}function cosh(x){return new this(x).cosh()}function div(x,y){return new this(x).div(y)}function exp(x){return new this(x).exp()}function floor(x){return finalise(x=new this(x),x.e+1,3)}function hypot(){var i,n,t=new this(0);for(external=!1,i=0;i=429e7?d[i]=crypto.getRandomValues(new Uint32Array(1))[0]:rd[i++]=n%1e7;else{if(!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");for(d=crypto.randomBytes(k*=4);i=214e7?crypto.randomBytes(4).copy(d,i):(rd.push(n%1e7),i+=4);i=k/4}else for(;i=10;n/=10)k++;k<7&&(e-=7-k)}return r.e=e,r.d=rd,r}function round(x){return finalise(x=new this(x),x.e+1,this.rounding)}function sign(x){return(x=new this(x)).d?x.d[0]?x.s:0*x.s:x.s||NaN}function sin(x){return new this(x).sin()}function sinh(x){return new this(x).sinh()}function sqrt(x){return new this(x).sqrt()}function sub(x,y){return new this(x).sub(y)}function tan(x){return new this(x).tan()}function tanh(x){return new this(x).tanh()}function trunc(x){return finalise(x=new this(x),x.e+1,1)}(Decimal=function clone(obj){var i,p,ps;function Decimal(v){var e,i,t,x=this;if(!(x instanceof Decimal))return new Decimal(v);if(x.constructor=Decimal,v instanceof Decimal)return x.s=v.s,void(external?!v.d||v.e>Decimal.maxE?(x.e=NaN,x.d=null):v.e=10;i/=10)e++;return void(external?e>Decimal.maxE?(x.e=NaN,x.d=null):e1&&void 0!==arguments[1]?arguments[1]:{},_ref$preserveFormatti=_ref.preserveFormatting,preserveFormatting=void 0!==_ref$preserveFormatti&&_ref$preserveFormatti,_ref$escapeMapFn=_ref.escapeMapFn,escapeMapFn=void 0===_ref$escapeMapFn?defaultEscapeMapFn:_ref$escapeMapFn,runningStr=String(str),result="",escapes=escapeMapFn(_extends({},defaultEscapes),preserveFormatting?_extends({},formatEscapes):{}),escapeKeys=Object.keys(escapes),_loop=function _loop(){var specialCharFound=!1;escapeKeys.forEach((function(key,index){specialCharFound||runningStr.length>=key.length&&runningStr.slice(0,key.length)===key&&(result+=escapes[escapeKeys[index]],runningStr=runningStr.slice(key.length,runningStr.length),specialCharFound=!0)})),specialCharFound||(result+=runningStr.slice(0,1),runningStr=runningStr.slice(1,runningStr.length))};runningStr;)_loop();return result}},{}],31:[function(require,module,exports){ +!function(root){"use strict";var cosh=function(x){return.5*(Math.exp(x)+Math.exp(-x))},sinh=function(x){return.5*(Math.exp(x)-Math.exp(-x))},parser_exit=function(){throw SyntaxError("Invalid Param")};function logHypot(a,b){var _a=Math.abs(a),_b=Math.abs(b);return 0===a?Math.log(_b):0===b?Math.log(_a):_a<3e3&&_b<3e3?.5*Math.log(a*a+b*b):Math.log(a/Math.cos(Math.atan2(b,a)))}function Complex(a,b){if(!(this instanceof Complex))return new Complex(a,b);var z=function(a,b){var z={re:0,im:0};if(null==a)z.re=z.im=0;else if(void 0!==b)z.re=a,z.im=b;else switch(typeof a){case"object":if("im"in a&&"re"in a)z.re=a.re,z.im=a.im;else if("abs"in a&&"arg"in a){if(!Number.isFinite(a.abs)&&Number.isFinite(a.arg))return Complex.INFINITY;z.re=a.abs*Math.cos(a.arg),z.im=a.abs*Math.sin(a.arg)}else if("r"in a&&"phi"in a){if(!Number.isFinite(a.r)&&Number.isFinite(a.phi))return Complex.INFINITY;z.re=a.r*Math.cos(a.phi),z.im=a.r*Math.sin(a.phi)}else 2===a.length?(z.re=a[0],z.im=a[1]):parser_exit();break;case"string":z.im=z.re=0;var tokens=a.match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),plus=1,minus=0;null===tokens&&parser_exit();for(var i=0;i0&&parser_exit();break;case"number":z.im=0,z.re=a;break;default:parser_exit()}return isNaN(z.re)||isNaN(z.im),z}(a,b);this.re=z.re,this.im=z.im}Complex.prototype={re:0,im:0,sign:function(){var abs=this.abs();return new Complex(this.re/abs,this.im/abs)},add:function(a,b){var z=new Complex(a,b);return this.isInfinite()&&z.isInfinite()?Complex.NAN:this.isInfinite()||z.isInfinite()?Complex.INFINITY:new Complex(this.re+z.re,this.im+z.im)},sub:function(a,b){var z=new Complex(a,b);return this.isInfinite()&&z.isInfinite()?Complex.NAN:this.isInfinite()||z.isInfinite()?Complex.INFINITY:new Complex(this.re-z.re,this.im-z.im)},mul:function(a,b){var z=new Complex(a,b);return this.isInfinite()&&z.isZero()||this.isZero()&&z.isInfinite()?Complex.NAN:this.isInfinite()||z.isInfinite()?Complex.INFINITY:0===z.im&&0===this.im?new Complex(this.re*z.re,0):new Complex(this.re*z.re-this.im*z.im,this.re*z.im+this.im*z.re)},div:function(a,b){var z=new Complex(a,b);if(this.isZero()&&z.isZero()||this.isInfinite()&&z.isInfinite())return Complex.NAN;if(this.isInfinite()||z.isZero())return Complex.INFINITY;if(this.isZero()||z.isInfinite())return Complex.ZERO;a=this.re,b=this.im;var t,x,c=z.re,d=z.im;return 0===d?new Complex(a/c,b/c):Math.abs(c)0)return new Complex(Math.pow(a,z.re),0);if(0===a)switch((z.re%4+4)%4){case 0:return new Complex(Math.pow(b,z.re),0);case 1:return new Complex(0,Math.pow(b,z.re));case 2:return new Complex(-Math.pow(b,z.re),0);case 3:return new Complex(0,-Math.pow(b,z.re))}}if(0===a&&0===b&&z.re>0&&z.im>=0)return Complex.ZERO;var arg=Math.atan2(b,a),loh=logHypot(a,b);return a=Math.exp(z.re*loh-z.im*arg),b=z.im*loh+z.re*arg,new Complex(a*Math.cos(b),a*Math.sin(b))},sqrt:function(){var re,im,a=this.re,b=this.im,r=this.abs();if(a>=0){if(0===b)return new Complex(Math.sqrt(a),0);re=.5*Math.sqrt(2*(r+a))}else re=Math.abs(b)/Math.sqrt(2*(r-a));return im=a<=0?.5*Math.sqrt(2*(r-a)):Math.abs(b)/Math.sqrt(2*(r+a)),new Complex(re,b<0?-im:im)},exp:function(){var tmp=Math.exp(this.re);return this.im,new Complex(tmp*Math.cos(this.im),tmp*Math.sin(this.im))},expm1:function(){var a=this.re,b=this.im;return new Complex(Math.expm1(a)*Math.cos(b)+function(x){var b=Math.PI/4;if(-b>x||x>b)return Math.cos(x)-1;var xx=x*x;return xx*(xx*(xx*(xx*(xx*(xx*(xx*(xx/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-.5)}(b),Math.exp(a)*Math.sin(b))},log:function(){var a=this.re,b=this.im;return new Complex(logHypot(a,b),Math.atan2(b,a))},abs:function(){return x=this.re,y=this.im,a=Math.abs(x),b=Math.abs(y),a<3e3&&b<3e3?Math.sqrt(a*a+b*b):(a1&&0===b,oneMinus=1-a,onePlus=1+a,d=oneMinus*oneMinus+b*b,x=0!==d?new Complex((onePlus*oneMinus-b*b)/d,(b*oneMinus+onePlus*b)/d):new Complex(-1!==a?a/0:0,0!==b?b/0:0),temp=x.re;return x.re=logHypot(x.re,x.im)/2,x.im=Math.atan2(x.im,temp)/2,noIM&&(x.im=-x.im),x},acoth:function(){var a=this.re,b=this.im;if(0===a&&0===b)return new Complex(0,Math.PI/2);var d=a*a+b*b;return 0!==d?new Complex(a/d,-b/d).atanh():new Complex(0!==a?a/0:0,0!==b?-b/0:0).atanh()},acsch:function(){var a=this.re,b=this.im;if(0===b)return new Complex(0!==a?Math.log(a+Math.sqrt(a*a+1)):1/0,0);var d=a*a+b*b;return 0!==d?new Complex(a/d,-b/d).asinh():new Complex(0!==a?a/0:0,0!==b?-b/0:0).asinh()},asech:function(){var a=this.re,b=this.im;if(this.isZero())return Complex.INFINITY;var d=a*a+b*b;return 0!==d?new Complex(a/d,-b/d).acosh():new Complex(0!==a?a/0:0,0!==b?-b/0:0).acosh()},inverse:function(){if(this.isZero())return Complex.INFINITY;if(this.isInfinite())return Complex.ZERO;var a=this.re,b=this.im,d=a*a+b*b;return new Complex(a/d,-b/d)},conjugate:function(){return new Complex(this.re,-this.im)},neg:function(){return new Complex(-this.re,-this.im)},ceil:function(places){return places=Math.pow(10,places||0),new Complex(Math.ceil(this.re*places)/places,Math.ceil(this.im*places)/places)},floor:function(places){return places=Math.pow(10,places||0),new Complex(Math.floor(this.re*places)/places,Math.floor(this.im*places)/places)},round:function(places){return places=Math.pow(10,places||0),new Complex(Math.round(this.re*places)/places,Math.round(this.im*places)/places)},equals:function(a,b){var z=new Complex(a,b);return Math.abs(z.re-this.re)<=Complex.EPSILON&&Math.abs(z.im-this.im)<=Complex.EPSILON},clone:function(){return new Complex(this.re,this.im)},toString:function(){var a=this.re,b=this.im,ret="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(a)0){for(str+=w,i=1;imax)throw Error(invalidArgument+i)}function checkRoundingDigits(d,i,rm,repeating){var di,k,r,rd;for(k=d[0];k>=10;k/=10)--i;return--i<0?(i+=7,di=0):(di=Math.ceil((i+1)/7),i%=7),k=mathpow(10,7-i),rd=d[di]%k|0,null==repeating?i<3?(0==i?rd=rd/100|0:1==i&&(rd=rd/10|0),r=rm<4&&99999==rd||rm>3&&49999==rd||5e4==rd||0==rd):r=(rm<4&&rd+1==k||rm>3&&rd+1==k/2)&&(d[di+1]/k/100|0)==mathpow(10,i-2)-1||(rd==k/2||0==rd)&&0==(d[di+1]/k/100|0):i<4?(0==i?rd=rd/1e3|0:1==i?rd=rd/100|0:2==i&&(rd=rd/10|0),r=(repeating||rm<4)&&9999==rd||!repeating&&rm>3&&4999==rd):r=((repeating||rm<4)&&rd+1==k||!repeating&&rm>3&&rd+1==k/2)&&(d[di+1]/k/1e3|0)==mathpow(10,i-3)-1,r}function convertBase(str,baseIn,baseOut){for(var j,arrL,arr=[0],i=0,strL=str.length;ibaseOut-1&&(void 0===arr[j+1]&&(arr[j+1]=0),arr[j+1]+=arr[j]/baseOut|0,arr[j]%=baseOut)}return arr.reverse()}P.absoluteValue=P.abs=function(){var x=new this.constructor(this);return x.s<0&&(x.s=1),finalise(x)},P.ceil=function(){return finalise(new this.constructor(this),this.e+1,2)},P.clampedTo=P.clamp=function(min,max){var x=this,Ctor=x.constructor;if(min=new Ctor(min),max=new Ctor(max),!min.s||!max.s)return new Ctor(NaN);if(min.gt(max))throw Error(invalidArgument+max);return x.cmp(min)<0?min:x.cmp(max)>0?max:new Ctor(x)},P.comparedTo=P.cmp=function(y){var i,j,xdL,ydL,x=this,xd=x.d,yd=(y=new x.constructor(y)).d,xs=x.s,ys=y.s;if(!xd||!yd)return xs&&ys?xs!==ys?xs:xd===yd?0:!xd^xs<0?1:-1:NaN;if(!xd[0]||!yd[0])return xd[0]?xs:yd[0]?-ys:0;if(xs!==ys)return xs;if(x.e!==y.e)return x.e>y.e^xs<0?1:-1;for(i=0,j=(xdL=xd.length)<(ydL=yd.length)?xdL:ydL;iyd[i]^xs<0?1:-1;return xdL===ydL?0:xdL>ydL^xs<0?1:-1},P.cosine=P.cos=function(){var pr,rm,x=this,Ctor=x.constructor;return x.d?x.d[0]?(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+7,Ctor.rounding=1,x=function cosine(Ctor,x){var k,len,y;if(x.isZero())return x;(len=x.d.length)<32?y=(1/tinyPow(4,k=Math.ceil(len/3))).toString():(k=16,y="2.3283064365386962890625e-10");Ctor.precision+=k,x=taylorSeries(Ctor,1,x.times(y),new Ctor(1));for(var i=k;i--;){var cos2x=x.times(x);x=cos2x.times(cos2x).minus(cos2x).times(8).plus(1)}return Ctor.precision-=k,x}(Ctor,toLessThanHalfPi(Ctor,x)),Ctor.precision=pr,Ctor.rounding=rm,finalise(2==quadrant||3==quadrant?x.neg():x,pr,rm,!0)):new Ctor(1):new Ctor(NaN)},P.cubeRoot=P.cbrt=function(){var e,m,n,r,rep,s,sd,t,t3,t3plusx,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);for(external=!1,(s=x.s*mathpow(x.s*x,1/3))&&Math.abs(s)!=1/0?r=new Ctor(s.toString()):(n=digitsToString(x.d),(s=((e=x.e)-n.length+1)%3)&&(n+=1==s||-2==s?"0":"00"),s=mathpow(n,1/3),e=mathfloor((e+1)/3)-(e%3==(e<0?-1:2)),(r=new Ctor(n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=x.s),sd=(e=Ctor.precision)+3;;)if(t3plusx=(t3=(t=r).times(t).times(t)).plus(x),r=divide(t3plusx.plus(x).times(t),t3plusx.plus(t3),sd+2,1),digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){if("9999"!=(n=n.slice(sd-3,sd+1))&&(rep||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(finalise(r,e+1,1),m=!r.times(r).times(r).eq(x));break}if(!rep&&(finalise(t,e+1,0),t.times(t).times(t).eq(x))){r=t;break}sd+=4,rep=1}return external=!0,finalise(r,e,Ctor.rounding,m)},P.decimalPlaces=P.dp=function(){var w,d=this.d,n=NaN;if(d){if(n=7*((w=d.length-1)-mathfloor(this.e/7)),w=d[w])for(;w%10==0;w/=10)n--;n<0&&(n=0)}return n},P.dividedBy=P.div=function(y){return divide(this,new this.constructor(y))},P.dividedToIntegerBy=P.divToInt=function(y){var Ctor=this.constructor;return finalise(divide(this,new Ctor(y),0,1,1),Ctor.precision,Ctor.rounding)},P.equals=P.eq=function(y){return 0===this.cmp(y)},P.floor=function(){return finalise(new this.constructor(this),this.e+1,3)},P.greaterThan=P.gt=function(y){return this.cmp(y)>0},P.greaterThanOrEqualTo=P.gte=function(y){var k=this.cmp(y);return 1==k||0===k},P.hyperbolicCosine=P.cosh=function(){var k,n,pr,rm,len,x=this,Ctor=x.constructor,one=new Ctor(1);if(!x.isFinite())return new Ctor(x.s?1/0:NaN);if(x.isZero())return one;pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+4,Ctor.rounding=1,(len=x.d.length)<32?n=(1/tinyPow(4,k=Math.ceil(len/3))).toString():(k=16,n="2.3283064365386962890625e-10"),x=taylorSeries(Ctor,1,x.times(n),new Ctor(1),!0);for(var cosh2_x,i=k,d8=new Ctor(8);i--;)cosh2_x=x.times(x),x=one.minus(cosh2_x.times(d8.minus(cosh2_x.times(d8))));return finalise(x,Ctor.precision=pr,Ctor.rounding=rm,!0)},P.hyperbolicSine=P.sinh=function(){var k,pr,rm,len,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);if(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+4,Ctor.rounding=1,(len=x.d.length)<3)x=taylorSeries(Ctor,2,x,x,!0);else{k=(k=1.4*Math.sqrt(len))>16?16:0|k,x=taylorSeries(Ctor,2,x=x.times(1/tinyPow(5,k)),x,!0);for(var sinh2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);k--;)sinh2_x=x.times(x),x=x.times(d5.plus(sinh2_x.times(d16.times(sinh2_x).plus(d20))))}return Ctor.precision=pr,Ctor.rounding=rm,finalise(x,pr,rm,!0)},P.hyperbolicTangent=P.tanh=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+7,Ctor.rounding=1,divide(x.sinh(),x.cosh(),Ctor.precision=pr,Ctor.rounding=rm)):new Ctor(x.s)},P.inverseCosine=P.acos=function(){var halfPi,x=this,Ctor=x.constructor,k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding;return-1!==k?0===k?x.isNeg()?getPi(Ctor,pr,rm):new Ctor(0):new Ctor(NaN):x.isZero()?getPi(Ctor,pr+4,rm).times(.5):(Ctor.precision=pr+6,Ctor.rounding=1,x=x.asin(),halfPi=getPi(Ctor,pr+4,rm).times(.5),Ctor.precision=pr,Ctor.rounding=rm,halfPi.minus(x))},P.inverseHyperbolicCosine=P.acosh=function(){var pr,rm,x=this,Ctor=x.constructor;return x.lte(1)?new Ctor(x.eq(1)?0:NaN):x.isFinite()?(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(Math.abs(x.e),x.sd())+4,Ctor.rounding=1,external=!1,x=x.times(x).minus(1).sqrt().plus(x),external=!0,Ctor.precision=pr,Ctor.rounding=rm,x.ln()):new Ctor(x)},P.inverseHyperbolicSine=P.asinh=function(){var pr,rm,x=this,Ctor=x.constructor;return!x.isFinite()||x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+2*Math.max(Math.abs(x.e),x.sd())+6,Ctor.rounding=1,external=!1,x=x.times(x).plus(1).sqrt().plus(x),external=!0,Ctor.precision=pr,Ctor.rounding=rm,x.ln())},P.inverseHyperbolicTangent=P.atanh=function(){var pr,rm,wpr,xsd,x=this,Ctor=x.constructor;return x.isFinite()?x.e>=0?new Ctor(x.abs().eq(1)?x.s/0:x.isZero()?x:NaN):(pr=Ctor.precision,rm=Ctor.rounding,xsd=x.sd(),Math.max(xsd,pr)<2*-x.e-1?finalise(new Ctor(x),pr,rm,!0):(Ctor.precision=wpr=xsd-x.e,x=divide(x.plus(1),new Ctor(1).minus(x),wpr+pr,1),Ctor.precision=pr+4,Ctor.rounding=1,x=x.ln(),Ctor.precision=pr,Ctor.rounding=rm,x.times(.5))):new Ctor(NaN)},P.inverseSine=P.asin=function(){var halfPi,k,pr,rm,x=this,Ctor=x.constructor;return x.isZero()?new Ctor(x):(k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding,-1!==k?0===k?((halfPi=getPi(Ctor,pr+4,rm).times(.5)).s=x.s,halfPi):new Ctor(NaN):(Ctor.precision=pr+6,Ctor.rounding=1,x=x.div(new Ctor(1).minus(x.times(x)).sqrt().plus(1)).atan(),Ctor.precision=pr,Ctor.rounding=rm,x.times(2)))},P.inverseTangent=P.atan=function(){var i,j,k,n,px,t,r,wpr,x2,x=this,Ctor=x.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(x.isFinite()){if(x.isZero())return new Ctor(x);if(x.abs().eq(1)&&pr+4<=PI_PRECISION)return(r=getPi(Ctor,pr+4,rm).times(.25)).s=x.s,r}else{if(!x.s)return new Ctor(NaN);if(pr+4<=PI_PRECISION)return(r=getPi(Ctor,pr+4,rm).times(.5)).s=x.s,r}for(Ctor.precision=wpr=pr+10,Ctor.rounding=1,i=k=Math.min(28,wpr/7+2|0);i;--i)x=x.div(x.times(x).plus(1).sqrt().plus(1));for(external=!1,j=Math.ceil(wpr/7),n=1,x2=x.times(x),r=new Ctor(x),px=x;-1!==i;)if(px=px.times(x2),t=r.minus(px.div(n+=2)),px=px.times(x2),void 0!==(r=t.plus(px.div(n+=2))).d[j])for(i=j;r.d[i]===t.d[i]&&i--;);return k&&(r=r.times(2<this.d.length-2},P.isNaN=function(){return!this.s},P.isNegative=P.isNeg=function(){return this.s<0},P.isPositive=P.isPos=function(){return this.s>0},P.isZero=function(){return!!this.d&&0===this.d[0]},P.lessThan=P.lt=function(y){return this.cmp(y)<0},P.lessThanOrEqualTo=P.lte=function(y){return this.cmp(y)<1},P.logarithm=P.log=function(base){var isBase10,d,denominator,k,inf,num,sd,r,Ctor=this.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(null==base)base=new Ctor(10),isBase10=!0;else{if(d=(base=new Ctor(base)).d,base.s<0||!d||!d[0]||base.eq(1))return new Ctor(NaN);isBase10=base.eq(10)}if(d=this.d,this.s<0||!d||!d[0]||this.eq(1))return new Ctor(d&&!d[0]?-1/0:1!=this.s?NaN:d?0:1/0);if(isBase10)if(d.length>1)inf=!0;else{for(k=d[0];k%10==0;)k/=10;inf=1!==k}if(external=!1,num=naturalLogarithm(this,sd=pr+5),denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd),checkRoundingDigits((r=divide(num,denominator,sd,1)).d,k=pr,rm))do{if(num=naturalLogarithm(this,sd+=10),denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd),r=divide(num,denominator,sd,1),!inf){+digitsToString(r.d).slice(k+1,k+15)+1==1e14&&(r=finalise(r,pr+1,0));break}}while(checkRoundingDigits(r.d,k+=10,rm));return external=!0,finalise(r,pr,rm)},P.minus=P.sub=function(y){var d,e,i,j,k,len,pr,rm,xd,xe,xLTy,yd,x=this,Ctor=x.constructor;if(y=new Ctor(y),!x.d||!y.d)return x.s&&y.s?x.d?y.s=-y.s:y=new Ctor(y.d||x.s!==y.s?x:NaN):y=new Ctor(NaN),y;if(x.s!=y.s)return y.s=-y.s,x.plus(y);if(xd=x.d,yd=y.d,pr=Ctor.precision,rm=Ctor.rounding,!xd[0]||!yd[0]){if(yd[0])y.s=-y.s;else{if(!xd[0])return new Ctor(3===rm?-0:0);y=new Ctor(x)}return external?finalise(y,pr,rm):y}if(e=mathfloor(y.e/7),xe=mathfloor(x.e/7),xd=xd.slice(),k=xe-e){for((xLTy=k<0)?(d=xd,k=-k,len=yd.length):(d=yd,e=xe,len=xd.length),k>(i=Math.max(Math.ceil(pr/7),len)+2)&&(k=i,d.length=1),d.reverse(),i=k;i--;)d.push(0);d.reverse()}else{for((xLTy=(i=xd.length)<(len=yd.length))&&(len=i),i=0;i0;--i)xd[len++]=0;for(i=yd.length;i>k;){if(xd[--i](len=(k=Math.ceil(pr/7))>len?k+1:len+1)&&(i=len,d.length=1),d.reverse();i--;)d.push(0);d.reverse()}for((len=xd.length)-(i=yd.length)<0&&(i=len,d=yd,yd=xd,xd=d),carry=0;i;)carry=(xd[--i]=xd[i]+yd[i]+carry)/BASE|0,xd[i]%=BASE;for(carry&&(xd.unshift(carry),++e),len=xd.length;0==xd[--len];)xd.pop();return y.d=xd,y.e=getBase10Exponent(xd,e),external?finalise(y,pr,rm):y},P.precision=P.sd=function(z){var k,x=this;if(void 0!==z&&z!==!!z&&1!==z&&0!==z)throw Error(invalidArgument+z);return x.d?(k=getPrecision(x.d),z&&x.e+1>k&&(k=x.e+1)):k=NaN,k},P.round=function(){var x=this,Ctor=x.constructor;return finalise(new Ctor(x),x.e+1,Ctor.rounding)},P.sine=P.sin=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+Math.max(x.e,x.sd())+7,Ctor.rounding=1,x=function sine(Ctor,x){var k,len=x.d.length;if(len<3)return x.isZero()?x:taylorSeries(Ctor,2,x,x);k=(k=1.4*Math.sqrt(len))>16?16:0|k,x=x.times(1/tinyPow(5,k)),x=taylorSeries(Ctor,2,x,x);for(var sin2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);k--;)sin2_x=x.times(x),x=x.times(d5.plus(sin2_x.times(d16.times(sin2_x).minus(d20))));return x}(Ctor,toLessThanHalfPi(Ctor,x)),Ctor.precision=pr,Ctor.rounding=rm,finalise(quadrant>2?x.neg():x,pr,rm,!0)):new Ctor(NaN)},P.squareRoot=P.sqrt=function(){var m,n,sd,r,rep,t,x=this,d=x.d,e=x.e,s=x.s,Ctor=x.constructor;if(1!==s||!d||!d[0])return new Ctor(!s||s<0&&(!d||d[0])?NaN:d?x:1/0);for(external=!1,0==(s=Math.sqrt(+x))||s==1/0?(((n=digitsToString(d)).length+e)%2==0&&(n+="0"),s=Math.sqrt(n),e=mathfloor((e+1)/2)-(e<0||e%2),r=new Ctor(n=s==1/0?"5e"+e:(n=s.toExponential()).slice(0,n.indexOf("e")+1)+e)):r=new Ctor(s.toString()),sd=(e=Ctor.precision)+3;;)if(r=(t=r).plus(divide(x,t,sd+2,1)).times(.5),digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){if("9999"!=(n=n.slice(sd-3,sd+1))&&(rep||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(finalise(r,e+1,1),m=!r.times(r).eq(x));break}if(!rep&&(finalise(t,e+1,0),t.times(t).eq(x))){r=t;break}sd+=4,rep=1}return external=!0,finalise(r,e,Ctor.rounding,m)},P.tangent=P.tan=function(){var pr,rm,x=this,Ctor=x.constructor;return x.isFinite()?x.isZero()?new Ctor(x):(pr=Ctor.precision,rm=Ctor.rounding,Ctor.precision=pr+10,Ctor.rounding=1,(x=x.sin()).s=1,x=divide(x,new Ctor(1).minus(x.times(x)).sqrt(),pr+10,0),Ctor.precision=pr,Ctor.rounding=rm,finalise(2==quadrant||4==quadrant?x.neg():x,pr,rm,!0)):new Ctor(NaN)},P.times=P.mul=function(y){var carry,e,i,k,r,rL,t,xdL,ydL,x=this,Ctor=x.constructor,xd=x.d,yd=(y=new Ctor(y)).d;if(y.s*=x.s,!(xd&&xd[0]&&yd&&yd[0]))return new Ctor(!y.s||xd&&!xd[0]&&!yd||yd&&!yd[0]&&!xd?NaN:xd&&yd?0*y.s:y.s/0);for(e=mathfloor(x.e/7)+mathfloor(y.e/7),(xdL=xd.length)<(ydL=yd.length)&&(r=xd,xd=yd,yd=r,rL=xdL,xdL=ydL,ydL=rL),r=[],i=rL=xdL+ydL;i--;)r.push(0);for(i=ydL;--i>=0;){for(carry=0,k=xdL+i;k>i;)t=r[k]+yd[i]*xd[k-i-1]+carry,r[k--]=t%BASE|0,carry=t/BASE|0;r[k]=(r[k]+carry)%BASE|0}for(;!r[--rL];)r.pop();return carry?++e:r.shift(),y.d=r,y.e=getBase10Exponent(r,e),external?finalise(y,Ctor.precision,Ctor.rounding):y},P.toBinary=function(sd,rm){return toStringBinary(this,2,sd,rm)},P.toDecimalPlaces=P.toDP=function(dp,rm){var x=this,Ctor=x.constructor;return x=new Ctor(x),void 0===dp?x:(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),finalise(x,dp+x.e+1,rm))},P.toExponential=function(dp,rm){var str,x=this,Ctor=x.constructor;return void 0===dp?str=finiteToString(x,!0):(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(x=finalise(new Ctor(x),dp+1,rm),!0,dp+1)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toFixed=function(dp,rm){var str,y,x=this,Ctor=x.constructor;return void 0===dp?str=finiteToString(x):(checkInt32(dp,0,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(y=finalise(new Ctor(x),dp+x.e+1,rm),!1,dp+y.e+1)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toFraction=function(maxD){var d,d0,d1,d2,e,k,n,n0,n1,pr,q,r,x=this,xd=x.d,Ctor=x.constructor;if(!xd)return new Ctor(x);if(n1=d0=new Ctor(1),d1=n0=new Ctor(0),k=(e=(d=new Ctor(d1)).e=getPrecision(xd)-x.e-1)%7,d.d[0]=mathpow(10,k<0?7+k:k),null==maxD)maxD=e>0?d:n1;else{if(!(n=new Ctor(maxD)).isInt()||n.lt(n1))throw Error(invalidArgument+n);maxD=n.gt(d)?e>0?d:n1:n}for(external=!1,n=new Ctor(digitsToString(xd)),pr=Ctor.precision,Ctor.precision=e=7*xd.length*2;q=divide(n,d,0,1,1),1!=(d2=d0.plus(q.times(d1))).cmp(maxD);)d0=d1,d1=d2,d2=n1,n1=n0.plus(q.times(d2)),n0=d2,d2=d,d=n.minus(q.times(d2)),n=d2;return d2=divide(maxD.minus(d0),d1,0,1,1),n0=n0.plus(d2.times(n1)),d0=d0.plus(d2.times(d1)),n0.s=n1.s=x.s,r=divide(n1,d1,e,1).minus(x).abs().cmp(divide(n0,d0,e,1).minus(x).abs())<1?[n1,d1]:[n0,d0],Ctor.precision=pr,external=!0,r},P.toHexadecimal=P.toHex=function(sd,rm){return toStringBinary(this,16,sd,rm)},P.toNearest=function(y,rm){var x=this,Ctor=x.constructor;if(x=new Ctor(x),null==y){if(!x.d)return x;y=new Ctor(1),rm=Ctor.rounding}else{if(y=new Ctor(y),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),!x.d)return y.s?x:y;if(!y.d)return y.s&&(y.s=x.s),y}return y.d[0]?(external=!1,x=divide(x,y,0,rm,1).times(y),external=!0,finalise(x)):(y.s=x.s,x=y),x},P.toNumber=function(){return+this},P.toOctal=function(sd,rm){return toStringBinary(this,8,sd,rm)},P.toPower=P.pow=function(y){var e,k,pr,r,rm,s,x=this,Ctor=x.constructor,yn=+(y=new Ctor(y));if(!(x.d&&y.d&&x.d[0]&&y.d[0]))return new Ctor(mathpow(+x,yn));if((x=new Ctor(x)).eq(1))return x;if(pr=Ctor.precision,rm=Ctor.rounding,y.eq(1))return finalise(x,pr,rm);if((e=mathfloor(y.e/7))>=y.d.length-1&&(k=yn<0?-yn:yn)<=9007199254740991)return r=intPow(Ctor,x,k,pr),y.s<0?new Ctor(1).div(r):finalise(r,pr,rm);if((s=x.s)<0){if(eCtor.maxE+1||e0?s/0:0):(external=!1,Ctor.rounding=x.s=1,k=Math.min(12,(e+"").length),(r=naturalExponential(y.times(naturalLogarithm(x,pr+k)),pr)).d&&checkRoundingDigits((r=finalise(r,pr+5,1)).d,pr,rm)&&(e=pr+10,+digitsToString((r=finalise(naturalExponential(y.times(naturalLogarithm(x,e+k)),e),e+5,1)).d).slice(pr+1,pr+15)+1==1e14&&(r=finalise(r,pr+1,0))),r.s=s,external=!0,Ctor.rounding=rm,finalise(r,pr,rm))},P.toPrecision=function(sd,rm){var str,x=this,Ctor=x.constructor;return void 0===sd?str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos):(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8),str=finiteToString(x=finalise(new Ctor(x),sd,rm),sd<=x.e||x.e<=Ctor.toExpNeg,sd)),x.isNeg()&&!x.isZero()?"-"+str:str},P.toSignificantDigits=P.toSD=function(sd,rm){var Ctor=this.constructor;return void 0===sd?(sd=Ctor.precision,rm=Ctor.rounding):(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8)),finalise(new Ctor(this),sd,rm)},P.toString=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()&&!x.isZero()?"-"+str:str},P.truncated=P.trunc=function(){return finalise(new this.constructor(this),this.e+1,1)},P.valueOf=P.toJSON=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()?"-"+str:str};var divide=function(){function multiplyInteger(x,k,base){var temp,carry=0,i=x.length;for(x=x.slice();i--;)temp=x[i]*k+carry,x[i]=temp%base|0,carry=temp/base|0;return carry&&x.unshift(carry),x}function compare(a,b,aL,bL){var i,r;if(aL!=bL)r=aL>bL?1:-1;else for(i=r=0;ib[i]?1:-1;break}return r}function subtract(a,b,aL,base){for(var i=0;aL--;)a[aL]-=i,i=a[aL]1;)a.shift()}return function(x,y,pr,rm,dp,base){var cmp,e,i,k,logBase,more,prod,prodL,q,qd,rem,remL,rem0,sd,t,xi,xL,yd0,yL,yz,Ctor=x.constructor,sign=x.s==y.s?1:-1,xd=x.d,yd=y.d;if(!(xd&&xd[0]&&yd&&yd[0]))return new Ctor(x.s&&y.s&&(xd?!yd||xd[0]!=yd[0]:yd)?xd&&0==xd[0]||!yd?0*sign:sign/0:NaN);for(base?(logBase=1,e=x.e-y.e):(base=BASE,logBase=7,e=mathfloor(x.e/logBase)-mathfloor(y.e/logBase)),yL=yd.length,xL=xd.length,qd=(q=new Ctor(sign)).d=[],i=0;yd[i]==(xd[i]||0);i++);if(yd[i]>(xd[i]||0)&&e--,null==pr?(sd=pr=Ctor.precision,rm=Ctor.rounding):sd=dp?pr+(x.e-y.e)+1:pr,sd<0)qd.push(1),more=!0;else{if(sd=sd/logBase+2|0,i=0,1==yL){for(k=0,yd=yd[0],sd++;(i1&&(yd=multiplyInteger(yd,k,base),xd=multiplyInteger(xd,k,base),yL=yd.length,xL=xd.length),xi=yL,remL=(rem=xd.slice(0,yL)).length;remL=base/2&&++yd0;do{k=0,(cmp=compare(yd,rem,yL,remL))<0?(rem0=rem[0],yL!=remL&&(rem0=rem0*base+(rem[1]||0)),(k=rem0/yd0|0)>1?(k>=base&&(k=base-1),1==(cmp=compare(prod=multiplyInteger(yd,k,base),rem,prodL=prod.length,remL=rem.length))&&(k--,subtract(prod,yL=10;k/=10)i++;q.e=i+e*logBase-1,finalise(q,dp?pr+q.e+1:pr,rm,more)}return q}}();function finalise(x,sd,rm,isTruncated){var digits,i,j,k,rd,roundUp,w,xd,xdi,Ctor=x.constructor;out:if(null!=sd){if(!(xd=x.d))return x;for(digits=1,k=xd[0];k>=10;k/=10)digits++;if((i=sd-digits)<0)i+=7,j=sd,rd=(w=xd[xdi=0])/mathpow(10,digits-j-1)%10|0;else if((xdi=Math.ceil((i+1)/7))>=(k=xd.length)){if(!isTruncated)break out;for(;k++<=xdi;)xd.push(0);w=rd=0,digits=1,j=(i%=7)-7+1}else{for(w=k=xd[xdi],digits=1;k>=10;k/=10)digits++;rd=(j=(i%=7)-7+digits)<0?0:w/mathpow(10,digits-j-1)%10|0}if(isTruncated=isTruncated||sd<0||void 0!==xd[xdi+1]||(j<0?w:w%mathpow(10,digits-j-1)),roundUp=rm<4?(rd||isTruncated)&&(0==rm||rm==(x.s<0?3:2)):rd>5||5==rd&&(4==rm||isTruncated||6==rm&&(i>0?j>0?w/mathpow(10,digits-j):0:xd[xdi-1])%10&1||rm==(x.s<0?8:7)),sd<1||!xd[0])return xd.length=0,roundUp?(sd-=x.e+1,xd[0]=mathpow(10,(7-sd%7)%7),x.e=-sd||0):xd[0]=x.e=0,x;if(0==i?(xd.length=xdi,k=1,xdi--):(xd.length=xdi+1,k=mathpow(10,7-i),xd[xdi]=j>0?(w/mathpow(10,digits-j)%mathpow(10,j)|0)*k:0),roundUp)for(;;){if(0==xdi){for(i=1,j=xd[0];j>=10;j/=10)i++;for(j=xd[0]+=k,k=1;j>=10;j/=10)k++;i!=k&&(x.e++,xd[0]==BASE&&(xd[0]=1));break}if(xd[xdi]+=k,xd[xdi]!=BASE)break;xd[xdi--]=0,k=1}for(i=xd.length;0===xd[--i];)xd.pop()}return external&&(x.e>Ctor.maxE?(x.d=null,x.e=NaN):x.e0?str=str.charAt(0)+"."+str.slice(1)+getZeroString(k):len>1&&(str=str.charAt(0)+"."+str.slice(1)),str=str+(x.e<0?"e":"e+")+x.e):e<0?(str="0."+getZeroString(-e-1)+str,sd&&(k=sd-len)>0&&(str+=getZeroString(k))):e>=len?(str+=getZeroString(e+1-len),sd&&(k=sd-e-1)>0&&(str=str+"."+getZeroString(k))):((k=e+1)0&&(e+1===len&&(str+="."),str+=getZeroString(k))),str}function getBase10Exponent(digits,e){var w=digits[0];for(e*=7;w>=10;w/=10)e++;return e}function getLn10(Ctor,sd,pr){if(sd>LN10_PRECISION)throw external=!0,pr&&(Ctor.precision=pr),Error("[DecimalError] Precision limit exceeded");return finalise(new Ctor(LN10),sd,1,!0)}function getPi(Ctor,sd,rm){if(sd>PI_PRECISION)throw Error("[DecimalError] Precision limit exceeded");return finalise(new Ctor(PI),sd,rm,!0)}function getPrecision(digits){var w=digits.length-1,len=7*w+1;if(w=digits[w]){for(;w%10==0;w/=10)len--;for(w=digits[0];w>=10;w/=10)len++}return len}function getZeroString(k){for(var zs="";k--;)zs+="0";return zs}function intPow(Ctor,x,n,pr){var isTruncated,r=new Ctor(1),k=Math.ceil(pr/7+4);for(external=!1;;){if(n%2&&truncate((r=r.times(x)).d,k)&&(isTruncated=!0),0===(n=mathfloor(n/2))){n=r.d.length-1,isTruncated&&0===r.d[n]&&++r.d[n];break}truncate((x=x.times(x)).d,k)}return external=!0,r}function isOdd(n){return 1&n.d[n.d.length-1]}function maxOrMin(Ctor,args,ltgt){for(var y,x=new Ctor(args[0]),i=0;++i17)return new Ctor(x.d?x.d[0]?x.s<0?0:1/0:1:x.s?x.s<0?0:x:NaN);for(null==sd?(external=!1,wpr=pr):wpr=sd,t=new Ctor(.03125);x.e>-2;)x=x.times(t),k+=5;for(wpr+=guard=Math.log(mathpow(2,k))/Math.LN10*2+5|0,denominator=pow=sum=new Ctor(1),Ctor.precision=wpr;;){if(pow=finalise(pow.times(x),wpr,1),denominator=denominator.times(++i),digitsToString((t=sum.plus(divide(pow,denominator,wpr,1))).d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){for(j=k;j--;)sum=finalise(sum.times(sum),wpr,1);if(null!=sd)return Ctor.precision=pr,sum;if(!(rep<3&&checkRoundingDigits(sum.d,wpr-guard,rm,rep)))return finalise(sum,Ctor.precision=pr,rm,external=!0);Ctor.precision=wpr+=10,denominator=pow=t=new Ctor(1),i=0,rep++}sum=t}}function naturalLogarithm(y,sd){var c,c0,denominator,e,numerator,rep,sum,t,wpr,x1,x2,n=1,x=y,xd=x.d,Ctor=x.constructor,rm=Ctor.rounding,pr=Ctor.precision;if(x.s<0||!xd||!xd[0]||!x.e&&1==xd[0]&&1==xd.length)return new Ctor(xd&&!xd[0]?-1/0:1!=x.s?NaN:xd?0:x);if(null==sd?(external=!1,wpr=pr):wpr=sd,Ctor.precision=wpr+=10,c0=(c=digitsToString(xd)).charAt(0),!(Math.abs(e=x.e)<15e14))return t=getLn10(Ctor,wpr+2,pr).times(e+""),x=naturalLogarithm(new Ctor(c0+"."+c.slice(1)),wpr-10).plus(t),Ctor.precision=pr,null==sd?finalise(x,pr,rm,external=!0):x;for(;c0<7&&1!=c0||1==c0&&c.charAt(1)>3;)c0=(c=digitsToString((x=x.times(y)).d)).charAt(0),n++;for(e=x.e,c0>1?(x=new Ctor("0."+c),e++):x=new Ctor(c0+"."+c.slice(1)),x1=x,sum=numerator=x=divide(x.minus(1),x.plus(1),wpr,1),x2=finalise(x.times(x),wpr,1),denominator=3;;){if(numerator=finalise(numerator.times(x2),wpr,1),digitsToString((t=sum.plus(divide(numerator,new Ctor(denominator),wpr,1))).d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){if(sum=sum.times(2),0!==e&&(sum=sum.plus(getLn10(Ctor,wpr+2,pr).times(e+""))),sum=divide(sum,new Ctor(n),wpr,1),null!=sd)return Ctor.precision=pr,sum;if(!checkRoundingDigits(sum.d,wpr-10,rm,rep))return finalise(sum,Ctor.precision=pr,rm,external=!0);Ctor.precision=wpr+=10,t=numerator=x=divide(x1.minus(1),x1.plus(1),wpr,1),x2=finalise(x.times(x),wpr,1),denominator=rep=1}sum=t,denominator+=2}}function nonFiniteToString(x){return String(x.s*x.s/0)}function parseDecimal(x,str){var e,i,len;for((e=str.indexOf("."))>-1&&(str=str.replace(".","")),(i=str.search(/e/i))>0?(e<0&&(e=i),e+=+str.slice(i+1),str=str.substring(0,i)):e<0&&(e=str.length),i=0;48===str.charCodeAt(i);i++);for(len=str.length;48===str.charCodeAt(len-1);--len);if(str=str.slice(i,len)){if(len-=i,x.e=e=e-i-1,x.d=[],i=(e+1)%7,e<0&&(i+=7),ix.constructor.maxE?(x.d=null,x.e=NaN):x.e-1){if(str=str.replace(/(\d)_(?=\d)/g,"$1"),isDecimal.test(str))return parseDecimal(x,str)}else if("Infinity"===str||"NaN"===str)return+str||(x.s=NaN),x.e=NaN,x.d=null,x;if(isHex.test(str))base=16,str=str.toLowerCase();else if(isBinary.test(str))base=2;else{if(!isOctal.test(str))throw Error(invalidArgument+str);base=8}for((i=str.search(/p/i))>0?(p=+str.slice(i+1),str=str.substring(2,i)):str=str.slice(2),isFloat=(i=str.indexOf("."))>=0,Ctor=x.constructor,isFloat&&(i=(len=(str=str.replace(".","")).length)-i,divisor=intPow(Ctor,new Ctor(base),i,2*i)),i=xe=(xd=convertBase(str,base,BASE)).length-1;0===xd[i];--i)xd.pop();return i<0?new Ctor(0*x.s):(x.e=getBase10Exponent(xd,xe),x.d=xd,external=!1,isFloat&&(x=divide(x,divisor,4*len)),p&&(x=x.times(Math.abs(p)<54?mathpow(2,p):Decimal.pow(2,p))),external=!0,x)}function taylorSeries(Ctor,n,x,y,isHyperbolic){var j,t,u,x2,pr=Ctor.precision,k=Math.ceil(pr/7);for(external=!1,x2=x.times(x),u=new Ctor(y);;){if(t=divide(u.times(x2),new Ctor(n++*n++),pr,1),u=isHyperbolic?y.plus(t):y.minus(t),y=divide(t.times(x2),new Ctor(n++*n++),pr,1),void 0!==(t=u.plus(y)).d[k]){for(j=k;t.d[j]===u.d[j]&&j--;);if(-1==j)break}j=u,u=y,y=t,t=j}return external=!0,t.d.length=k+1,t}function tinyPow(b,e){for(var n=b;--e;)n*=b;return n}function toLessThanHalfPi(Ctor,x){var t,isNeg=x.s<0,pi=getPi(Ctor,Ctor.precision,1),halfPi=pi.times(.5);if((x=x.abs()).lte(halfPi))return quadrant=isNeg?4:1,x;if((t=x.divToInt(pi)).isZero())quadrant=isNeg?3:2;else{if((x=x.minus(t.times(pi))).lte(halfPi))return quadrant=isOdd(t)?isNeg?2:3:isNeg?4:1,x;quadrant=isOdd(t)?isNeg?1:4:isNeg?3:2}return x.minus(pi).abs()}function toStringBinary(x,baseOut,sd,rm){var base,e,i,k,len,roundUp,str,xd,y,Ctor=x.constructor,isExp=void 0!==sd;if(isExp?(checkInt32(sd,1,1e9),void 0===rm?rm=Ctor.rounding:checkInt32(rm,0,8)):(sd=Ctor.precision,rm=Ctor.rounding),x.isFinite()){for(isExp?(base=2,16==baseOut?sd=4*sd-3:8==baseOut&&(sd=3*sd-2)):base=baseOut,(i=(str=finiteToString(x)).indexOf("."))>=0&&(str=str.replace(".",""),(y=new Ctor(1)).e=str.length-i,y.d=convertBase(finiteToString(y),10,base),y.e=y.d.length),e=len=(xd=convertBase(str,10,base)).length;0==xd[--len];)xd.pop();if(xd[0]){if(i<0?e--:((x=new Ctor(x)).d=xd,x.e=e,xd=(x=divide(x,y,sd,rm,0,base)).d,e=x.e,roundUp=inexact),i=xd[sd],k=base/2,roundUp=roundUp||void 0!==xd[sd+1],roundUp=rm<4?(void 0!==i||roundUp)&&(0===rm||rm===(x.s<0?3:2)):i>k||i===k&&(4===rm||roundUp||6===rm&&1&xd[sd-1]||rm===(x.s<0?8:7)),xd.length=sd,roundUp)for(;++xd[--sd]>base-1;)xd[sd]=0,sd||(++e,xd.unshift(1));for(len=xd.length;!xd[len-1];--len);for(i=0,str="";i1)if(16==baseOut||8==baseOut){for(i=16==baseOut?4:3,--len;len%i;len++)str+="0";for(len=(xd=convertBase(str,base,baseOut)).length;!xd[len-1];--len);for(i=1,str="1.";ilen)for(e-=len;e--;)str+="0";else elen)return arr.length=len,!0}function abs(x){return new this(x).abs()}function acos(x){return new this(x).acos()}function acosh(x){return new this(x).acosh()}function add(x,y){return new this(x).plus(y)}function asin(x){return new this(x).asin()}function asinh(x){return new this(x).asinh()}function atan(x){return new this(x).atan()}function atanh(x){return new this(x).atanh()}function atan2(y,x){y=new this(y),x=new this(x);var r,pr=this.precision,rm=this.rounding,wpr=pr+4;return y.s&&x.s?y.d||x.d?!x.d||y.isZero()?(r=x.s<0?getPi(this,pr,rm):new this(0)).s=y.s:!y.d||x.isZero()?(r=getPi(this,wpr,1).times(.5)).s=y.s:x.s<0?(this.precision=wpr,this.rounding=1,r=this.atan(divide(y,x,wpr,1)),x=getPi(this,wpr,1),this.precision=pr,this.rounding=rm,r=y.s<0?r.minus(x):r.plus(x)):r=this.atan(divide(y,x,wpr,1)):(r=getPi(this,wpr,1).times(x.s>0?.25:.75)).s=y.s:r=new this(NaN),r}function cbrt(x){return new this(x).cbrt()}function ceil(x){return finalise(x=new this(x),x.e+1,2)}function clamp(x,min,max){return new this(x).clamp(min,max)}function config(obj){if(!obj||"object"!=typeof obj)throw Error("[DecimalError] Object expected");var i,p,v,useDefaults=!0===obj.defaults,ps=["precision",1,1e9,"rounding",0,8,"toExpNeg",-EXP_LIMIT,0,"toExpPos",0,EXP_LIMIT,"maxE",0,EXP_LIMIT,"minE",-EXP_LIMIT,0,"modulo",0,9];for(i=0;i=ps[i+1]&&v<=ps[i+2]))throw Error(invalidArgument+p+": "+v);this[p]=v}if(p="crypto",useDefaults&&(this[p]=DEFAULTS[p]),void 0!==(v=obj[p])){if(!0!==v&&!1!==v&&0!==v&&1!==v)throw Error(invalidArgument+p+": "+v);if(v){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");this[p]=!0}else this[p]=!1}return this}function cos(x){return new this(x).cos()}function cosh(x){return new this(x).cosh()}function div(x,y){return new this(x).div(y)}function exp(x){return new this(x).exp()}function floor(x){return finalise(x=new this(x),x.e+1,3)}function hypot(){var i,n,t=new this(0);for(external=!1,i=0;i=429e7?d[i]=crypto.getRandomValues(new Uint32Array(1))[0]:rd[i++]=n%1e7;else{if(!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");for(d=crypto.randomBytes(k*=4);i=214e7?crypto.randomBytes(4).copy(d,i):(rd.push(n%1e7),i+=4);i=k/4}else for(;i=10;n/=10)k++;k<7&&(e-=7-k)}return r.e=e,r.d=rd,r}function round(x){return finalise(x=new this(x),x.e+1,this.rounding)}function sign(x){return(x=new this(x)).d?x.d[0]?x.s:0*x.s:x.s||NaN}function sin(x){return new this(x).sin()}function sinh(x){return new this(x).sinh()}function sqrt(x){return new this(x).sqrt()}function sub(x,y){return new this(x).sub(y)}function sum(){var i=0,args=arguments,x=new this(args[i]);for(external=!1;x.s&&++iDecimal.maxE?(x.e=NaN,x.d=null):v.e=10;i/=10)e++;return void(external?e>Decimal.maxE?(x.e=NaN,x.d=null):e1&&void 0!==arguments[1]?arguments[1]:{},_ref$preserveFormatti=_ref.preserveFormatting,preserveFormatting=void 0!==_ref$preserveFormatti&&_ref$preserveFormatti,_ref$escapeMapFn=_ref.escapeMapFn,escapeMapFn=void 0===_ref$escapeMapFn?defaultEscapeMapFn:_ref$escapeMapFn,runningStr=String(str),result="",escapes=escapeMapFn(_extends({},defaultEscapes),preserveFormatting?_extends({},formatEscapes):{}),escapeKeys=Object.keys(escapes),_loop=function _loop(){var specialCharFound=!1;escapeKeys.forEach((function(key,index){specialCharFound||runningStr.length>=key.length&&runningStr.slice(0,key.length)===key&&(result+=escapes[escapeKeys[index]],runningStr=runningStr.slice(key.length,runningStr.length),specialCharFound=!0)})),specialCharFound||(result+=runningStr.slice(0,1),runningStr=runningStr.slice(1,runningStr.length))};runningStr;)_loop();return result}},{}],31:[function(require,module,exports){ /** * @license Fraction.js v4.1.1 23/05/2021 * https://www.xarg.org/2014/03/rational-numbers-in-javascript/ @@ -26,4 +26,4 @@ * Copyright (c) 2021, Robert Eisele (robert@xarg.org) * Dual licensed under the MIT or GPL Version 2 licenses. **/ -!function(root){"use strict";var P={s:1,n:0,d:1};function createError(name){function errorConstructor(){var temp=Error.apply(this,arguments);temp.name=this.name=name,this.stack=temp.stack,this.message=temp.message}function IntermediateInheritor(){}return IntermediateInheritor.prototype=Error.prototype,errorConstructor.prototype=new IntermediateInheritor,errorConstructor}var DivisionByZero=Fraction.DivisionByZero=createError("DivisionByZero"),InvalidParameter=Fraction.InvalidParameter=createError("InvalidParameter");function assign(n,s){return isNaN(n=parseInt(n,10))&&throwInvalidParam(),n*s}function throwInvalidParam(){throw new InvalidParameter}function factorize(num){for(var factors={},n=num,i=2,s=4;s<=n;){for(;n%i==0;)n/=i,factors[i]=(factors[i]||0)+1;s+=1+2*i++}return n!==num?n>1&&(factors[n]=(factors[n]||0)+1):factors[num]=(factors[num]||0)+1,factors}var parse=function(p1,p2){var M,n=0,d=1,s=1,v=0,w=0,x=0,y=1,z=1,A=0,B=1,C=1,D=1,N=1e7;if(null==p1);else if(void 0!==p2)s=(n=p1)*(d=p2);else switch(typeof p1){case"object":"d"in p1&&"n"in p1?(n=p1.n,d=p1.d,"s"in p1&&(n*=p1.s)):0 in p1?(n=p1[0],1 in p1&&(d=p1[1])):throwInvalidParam(),s=n*d;break;case"number":if(p1<0&&(s=p1,p1=-p1),p1%1==0)n=p1;else if(p1>0){for(p1>=1&&(p1/=z=Math.pow(10,Math.floor(1+Math.log(p1)/Math.LN10)));B<=N&&D<=N;){if(p1===(M=(A+C)/(B+D))){B+D<=N?(n=A+C,d=B+D):D>B?(n=C,d=D):(n=A,d=B);break}p1>M?(A+=C,B+=D):(C+=A,D+=B),B>N?(n=C,d=D):(n=A,d=B)}n*=z}else(isNaN(p1)||isNaN(p2))&&(d=n=NaN);break;case"string":if(null===(B=p1.match(/\d+|./g))&&throwInvalidParam(),"-"===B[A]?(s=-1,A++):"+"===B[A]&&A++,B.length===A+1?w=assign(B[A++],s):"."===B[A+1]||"."===B[A]?("."!==B[A]&&(v=assign(B[A++],s)),(++A+1===B.length||"("===B[A+1]&&")"===B[A+3]||"'"===B[A+1]&&"'"===B[A+3])&&(w=assign(B[A],s),y=Math.pow(10,B[A].length),A++),("("===B[A]&&")"===B[A+2]||"'"===B[A]&&"'"===B[A+2])&&(x=assign(B[A+1],s),z=Math.pow(10,B[A+1].length)-1,A+=3)):"/"===B[A+1]||":"===B[A+1]?(w=assign(B[A],s),y=assign(B[A+2],1),A+=3):"/"===B[A+3]&&" "===B[A+1]&&(v=assign(B[A],s),w=assign(B[A+2],s),y=assign(B[A+4],1),A+=5),B.length<=A){s=n=x+(d=y*z)*v+z*w;break}default:throwInvalidParam()}if(0===d)throw new DivisionByZero;P.s=s<0?-1:1,P.n=Math.abs(n),P.d=Math.abs(d)};function gcd(a,b){if(!a)return b;if(!b)return a;for(;;){if(!(a%=b))return b;if(!(b%=a))return a}}function Fraction(a,b){if(!(this instanceof Fraction))return new Fraction(a,b);parse(a,b),a=Fraction.REDUCE?gcd(P.d,P.n):1,this.s=P.s,this.n=P.n/a,this.d=P.d/a}Fraction.REDUCE=1,Fraction.prototype={s:1,n:0,d:1,abs:function(){return new Fraction(this.n,this.d)},neg:function(){return new Fraction(-this.s*this.n,this.d)},add:function(a,b){return parse(a,b),new Fraction(this.s*this.n*P.d+P.s*this.d*P.n,this.d*P.d)},sub:function(a,b){return parse(a,b),new Fraction(this.s*this.n*P.d-P.s*this.d*P.n,this.d*P.d)},mul:function(a,b){return parse(a,b),new Fraction(this.s*P.s*this.n*P.n,this.d*P.d)},div:function(a,b){return parse(a,b),new Fraction(this.s*P.s*this.n*P.d,this.d*P.n)},clone:function(){return new Fraction(this)},mod:function(a,b){return isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):void 0===a?new Fraction(this.s*this.n%this.d,1):(parse(a,b),0===P.n&&0===this.d&&Fraction(0,0),new Fraction(this.s*(P.d*this.n)%(P.n*this.d),P.d*this.d))},gcd:function(a,b){return parse(a,b),new Fraction(gcd(P.n,this.n)*gcd(P.d,this.d),P.d*this.d)},lcm:function(a,b){return parse(a,b),0===P.n&&0===this.n?new Fraction:new Fraction(P.n*this.n,gcd(P.n,this.n)*gcd(P.d,this.d))},ceil:function(places){return places=Math.pow(10,places||0),isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):new Fraction(Math.ceil(places*this.s*this.n/this.d),places)},floor:function(places){return places=Math.pow(10,places||0),isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):new Fraction(Math.floor(places*this.s*this.n/this.d),places)},round:function(places){return places=Math.pow(10,places||0),isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):new Fraction(Math.round(places*this.s*this.n/this.d),places)},inverse:function(){return new Fraction(this.s*this.d,this.n)},pow:function(a,b){if(parse(a,b),1===P.d)return P.s<0?new Fraction(Math.pow(this.s*this.d,P.n),Math.pow(this.n,P.n)):new Fraction(Math.pow(this.s*this.n,P.n),Math.pow(this.d,P.n));if(this.s<0)return null;var N=factorize(this.n),D=factorize(this.d),n=1,d=1;for(var k in N)if("1"!==k){if("0"===k){n=0;break}if(N[k]*=P.n,N[k]%P.d!=0)return null;N[k]/=P.d,n*=Math.pow(k,N[k])}for(var k in D)if("1"!==k){if(D[k]*=P.n,D[k]%P.d!=0)return null;D[k]/=P.d,d*=Math.pow(k,D[k])}return P.s<0?new Fraction(d,n):new Fraction(n,d)},equals:function(a,b){return parse(a,b),this.s*this.n*P.d==P.s*P.n*this.d},compare:function(a,b){parse(a,b);var t=this.s*this.n*P.d-P.s*P.n*this.d;return(00&&(str+=whole,str+=" ",n%=d),str+=n,str+="/",str+=d),str},toLatex:function(excludeWhole){var whole,str="",n=this.n,d=this.d;return this.s<0&&(str+="-"),1===d?str+=n:(excludeWhole&&(whole=Math.floor(n/d))>0&&(str+=whole,n%=d),str+="\\frac{",str+=n,str+="}{",str+=d,str+="}"),str},toContinued:function(){var t,a=this.n,b=this.d,res=[];if(isNaN(a)||isNaN(b))return res;do{res.push(Math.floor(a/b)),t=a%b,a=b,b=t}while(1!==a);return res},toString:function(dec){var g,N=this.n,D=this.d;if(isNaN(N)||isNaN(D))return"NaN";Fraction.REDUCE||(N/=g=gcd(N,D),D/=g),dec=dec||15;var cycLen=function cycleLen(n,d){for(;d%2==0;d/=2);for(;d%5==0;d/=5);if(1===d)return 0;for(var rem=10%d,t=1;1!==rem;t++)if(rem=10*rem%d,t>2e3)return 0;return t}(0,D),cycOff=function cycleStart(n,d,len){for(var rem1=1,rem2=function modpow(b,e,m){for(var r=1;e>0;b=b*b%m,e>>=1)1&e&&(r=r*b%m);return r}(10,len,d),t=0;t<300;t++){if(rem1===rem2)return t;rem1=10*rem1%d,rem2=10*rem2%d}return 0}(0,D,cycLen),str=-1===this.s?"-":"";if(str+=N/D|0,N%=D,(N*=10)&&(str+="."),cycLen){for(var i=cycOff;i--;)str+=N/D|0,N%=D,N*=10;str+="(";for(i=cycLen;i--;)str+=N/D|0,N%=D,N*=10;str+=")"}else for(i=dec;N&&i--;)str+=N/D|0,N%=D,N*=10;return str}},"object"==typeof exports?(Object.defineProperty(Fraction,"__esModule",{value:!0}),Fraction.default=Fraction,Fraction.Fraction=Fraction,module.exports=Fraction):root.Fraction=Fraction}(this)},{}],32:[function(require,module,exports){!function(exports){const _2PI=2*Math.PI;exports((function generateGaussian(mean,std){var u1=Math.random(),u2=Math.random(),z0=Math.sqrt(-2*Math.log(u1))*Math.cos(_2PI*u2);return Math.sqrt(-2*Math.log(u1)),Math.sin(_2PI*u2),z0*std+mean}))}(void 0!==exports?function(e){module.exports=e}:function(e){this.boxmuller=e})},{}],33:[function(require,module,exports){!function(exports){const generateGaussian=require("./box-muller");var erfc=function(x){var z=Math.abs(x),t=1/(1+z/2),r=t*Math.exp(-z*z-1.26551223+t*(1.00002368+t*(.37409196+t*(.09678418+t*(t*(.27886807+t*(t*(1.48851587+t*(.17087277*t-.82215223))-1.13520398))-.18628806)))));return x>=0?r:2-r},Gaussian=function(mean,variance){if(variance<=0)throw new Error("Variance must be > 0 (but was "+variance+")");this.mean=mean,this.variance=variance,this.standardDeviation=Math.sqrt(variance)};Gaussian.prototype.pdf=function(x){var m=this.standardDeviation*Math.sqrt(2*Math.PI);return Math.exp(-Math.pow(x-this.mean,2)/(2*this.variance))/m},Gaussian.prototype.cdf=function(x){return.5*erfc(-(x-this.mean)/(this.standardDeviation*Math.sqrt(2)))},Gaussian.prototype.ppf=function(x){return this.mean-this.standardDeviation*Math.sqrt(2)*function(x){if(x>=2)return-100;if(x<=0)return 100;for(var xx=x<1?x:2-x,t=Math.sqrt(-2*Math.log(xx/2)),r=-.70711*((2.30753+.27061*t)/(1+t*(.99229+.04481*t))-t),j=0;j<2;j++){var err=erfc(r)-xx;r+=err/(1.1283791670955126*Math.exp(-r*r)-r*err)}return x<1?r:-r}(2*x)},Gaussian.prototype.mul=function(d){if("number"==typeof d)return this.scale(d);var precision=1/this.variance,dprecision=1/d.variance;return fromPrecisionMean(precision+dprecision,precision*this.mean+dprecision*d.mean)},Gaussian.prototype.div=function(d){if("number"==typeof d)return this.scale(1/d);var precision=1/this.variance,dprecision=1/d.variance;return fromPrecisionMean(precision-dprecision,precision*this.mean-dprecision*d.mean)},Gaussian.prototype.add=function(d){return gaussian(this.mean+d.mean,this.variance+d.variance)},Gaussian.prototype.sub=function(d){return gaussian(this.mean-d.mean,this.variance+d.variance)},Gaussian.prototype.scale=function(c){return gaussian(this.mean*c,this.variance*c*c)},Gaussian.prototype.random=function(num){let mean=this.mean,std=this.standardDeviation;return Array(num).fill(0).map((()=>generateGaussian(mean,std)))};var gaussian=function(mean,variance){return new Gaussian(mean,variance)},fromPrecisionMean=function(precision,precisionmean){return gaussian(precisionmean/precision,1/precision)};exports(gaussian)}(void 0!==exports?function(e){module.exports=e}:function(e){this.gaussian=e})},{"./box-muller":32}],34:[function(require,module,exports){module.exports=function naturalSort(a,b){"use strict";var oFxNcL,oFyNcL,re=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,sre=/(^[ ]*|[ ]*$)/g,dre=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,hre=/^0x[0-9a-f]+$/i,ore=/^0/,i=function(s){return naturalSort.insensitive&&(""+s).toLowerCase()||""+s},x=i(a).replace(sre,"")||"",y=i(b).replace(sre,"")||"",xN=x.replace(re,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),yN=y.replace(re,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),xD=parseInt(x.match(hre),16)||1!==xN.length&&x.match(dre)&&Date.parse(x),yD=parseInt(y.match(hre),16)||xD&&y.match(dre)&&Date.parse(y)||null;if(yD){if(xDyD)return 1}for(var cLoc=0,numS=Math.max(xN.length,yN.length);cLocoFyNcL)return 1}return 0}},{}],35:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createVersion=exports.createUppercaseE=exports.createUppercasePi=exports.createI=exports.createSQRT2=exports.createSQRT1_2=exports.createLOG10E=exports.createLOG2E=exports.createLN10=exports.createLN2=exports.createPhi=exports.createE=exports.createTau=exports.createPi=exports.createNaN=exports.createInfinity=exports.createNull=exports.createFalse=exports.createTrue=void 0;var _factory=require("./utils/factory.js"),_version=require("./version.js"),_constants=require("./utils/bignumber/constants.js"),_index=require("./plain/number/index.js"),createTrue=(0,_factory.factory)("true",[],(function(){return!0}));exports.createTrue=createTrue;var createFalse=(0,_factory.factory)("false",[],(function(){return!1}));exports.createFalse=createFalse;var createNull=(0,_factory.factory)("null",[],(function(){return null}));exports.createNull=createNull;var createInfinity=recreateFactory("Infinity",["config","?BigNumber"],(function(_ref){var config=_ref.config,BigNumber=_ref.BigNumber;return"BigNumber"===config.number?new BigNumber(1/0):1/0}));exports.createInfinity=createInfinity;var createNaN=recreateFactory("NaN",["config","?BigNumber"],(function(_ref2){var config=_ref2.config,BigNumber=_ref2.BigNumber;return"BigNumber"===config.number?new BigNumber(NaN):NaN}));exports.createNaN=createNaN;var createPi=recreateFactory("pi",["config","?BigNumber"],(function(_ref3){var config=_ref3.config,BigNumber=_ref3.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberPi)(BigNumber):_index.pi}));exports.createPi=createPi;var createTau=recreateFactory("tau",["config","?BigNumber"],(function(_ref4){var config=_ref4.config,BigNumber=_ref4.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberTau)(BigNumber):_index.tau}));exports.createTau=createTau;var createE=recreateFactory("e",["config","?BigNumber"],(function(_ref5){var config=_ref5.config,BigNumber=_ref5.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberE)(BigNumber):_index.e}));exports.createE=createE;var createPhi=recreateFactory("phi",["config","?BigNumber"],(function(_ref6){var config=_ref6.config,BigNumber=_ref6.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberPhi)(BigNumber):_index.phi}));exports.createPhi=createPhi;var createLN2=recreateFactory("LN2",["config","?BigNumber"],(function(_ref7){var config=_ref7.config,BigNumber=_ref7.BigNumber;return"BigNumber"===config.number?new BigNumber(2).ln():Math.LN2}));exports.createLN2=createLN2;var createLN10=recreateFactory("LN10",["config","?BigNumber"],(function(_ref8){var config=_ref8.config,BigNumber=_ref8.BigNumber;return"BigNumber"===config.number?new BigNumber(10).ln():Math.LN10}));exports.createLN10=createLN10;var createLOG2E=recreateFactory("LOG2E",["config","?BigNumber"],(function(_ref9){var config=_ref9.config,BigNumber=_ref9.BigNumber;return"BigNumber"===config.number?new BigNumber(1).div(new BigNumber(2).ln()):Math.LOG2E}));exports.createLOG2E=createLOG2E;var createLOG10E=recreateFactory("LOG10E",["config","?BigNumber"],(function(_ref10){var config=_ref10.config,BigNumber=_ref10.BigNumber;return"BigNumber"===config.number?new BigNumber(1).div(new BigNumber(10).ln()):Math.LOG10E}));exports.createLOG10E=createLOG10E;var createSQRT1_2=recreateFactory("SQRT1_2",["config","?BigNumber"],(function(_ref11){var config=_ref11.config,BigNumber=_ref11.BigNumber;return"BigNumber"===config.number?new BigNumber("0.5").sqrt():Math.SQRT1_2}));exports.createSQRT1_2=createSQRT1_2;var createSQRT2=recreateFactory("SQRT2",["config","?BigNumber"],(function(_ref12){var config=_ref12.config,BigNumber=_ref12.BigNumber;return"BigNumber"===config.number?new BigNumber(2).sqrt():Math.SQRT2}));exports.createSQRT2=createSQRT2;var createI=recreateFactory("i",["Complex"],(function(_ref13){return _ref13.Complex.I}));exports.createI=createI;var createUppercasePi=(0,_factory.factory)("PI",["pi"],(function(_ref14){return _ref14.pi}));exports.createUppercasePi=createUppercasePi;var createUppercaseE=(0,_factory.factory)("E",["e"],(function(_ref15){return _ref15.e}));exports.createUppercaseE=createUppercaseE;var createVersion=(0,_factory.factory)("version",[],(function(){return _version.version}));function recreateFactory(name,dependencies,create){return(0,_factory.factory)(name,dependencies,create,{recreateOnConfigChange:!0})}exports.createVersion=createVersion},{"./plain/number/index.js":884,"./utils/bignumber/constants.js":934,"./utils/factory.js":941,"./version.js":954}],36:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_CONFIG=void 0;exports.DEFAULT_CONFIG={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null}},{}],37:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_typeof=require("@babel/runtime/helpers/typeof");Object.defineProperty(exports,"__esModule",{value:!0}),exports.create=function create(factories,config){var configInternal=(0,_extends2.default)({},_config2.DEFAULT_CONFIG,config);if("function"!=typeof Object.create)throw new Error("ES5 not supported by this JavaScript engine. Please load the es5-shim and es5-sham library for compatibility.");var math=emitter.mixin({isNumber:_is.isNumber,isComplex:_is.isComplex,isBigNumber:_is.isBigNumber,isFraction:_is.isFraction,isUnit:_is.isUnit,isString:_is.isString,isArray:_is.isArray,isMatrix:_is.isMatrix,isCollection:_is.isCollection,isDenseMatrix:_is.isDenseMatrix,isSparseMatrix:_is.isSparseMatrix,isRange:_is.isRange,isIndex:_is.isIndex,isBoolean:_is.isBoolean,isResultSet:_is.isResultSet,isHelp:_is.isHelp,isFunction:_is.isFunction,isDate:_is.isDate,isRegExp:_is.isRegExp,isObject:_is.isObject,isNull:_is.isNull,isUndefined:_is.isUndefined,isAccessorNode:_is.isAccessorNode,isArrayNode:_is.isArrayNode,isAssignmentNode:_is.isAssignmentNode,isBlockNode:_is.isBlockNode,isConditionalNode:_is.isConditionalNode,isConstantNode:_is.isConstantNode,isFunctionAssignmentNode:_is.isFunctionAssignmentNode,isFunctionNode:_is.isFunctionNode,isIndexNode:_is.isIndexNode,isNode:_is.isNode,isObjectNode:_is.isObjectNode,isOperatorNode:_is.isOperatorNode,isParenthesisNode:_is.isParenthesisNode,isRangeNode:_is.isRangeNode,isSymbolNode:_is.isSymbolNode,isChain:_is.isChain});math.config=(0,_config.configFactory)(configInternal,math.emit),math.expression={transform:{},mathWithTransform:{config:math.config}};var legacyFactories=[],legacyInstances=[];var importedFactories={};var internalImport=(0,_import.importFactory)((function lazyTyped(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return math.typed.apply(math.typed,args)}),(function load(factory){if((0,_factory.isFactory)(factory))return factory(math);var firstProperty=factory[Object.keys(factory)[0]];if((0,_factory.isFactory)(firstProperty))return firstProperty(math);if(!(0,_object.isLegacyFactory)(factory))throw console.warn("Factory object with properties `type`, `name`, and `factory` expected",factory),new Error("Factory object with properties `type`, `name`, and `factory` expected");var instance,index=legacyFactories.indexOf(factory);return-1===index?(instance=!0===factory.math?factory.factory(math.type,configInternal,load,math.typed,math):factory.factory(math.type,configInternal,load,math.typed),legacyFactories.push(factory),legacyInstances.push(instance)):instance=legacyInstances[index],instance}),math,importedFactories);return math.import=internalImport,math.on("config",(function(){(0,_object.values)(importedFactories).forEach((function(factory){factory&&factory.meta&&factory.meta.recreateOnConfigChange&&internalImport(factory,{override:!0})}))})),math.create=create.bind(null,factories),math.factory=_factory.factory,math.import((0,_object.values)((0,_object.deepFlatten)(factories))),math.ArgumentsError=_ArgumentsError.ArgumentsError,math.DimensionError=_DimensionError.DimensionError,math.IndexError=_IndexError.IndexError,math};var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));require("./../utils/polyfills.js");var _object=require("../utils/object.js"),emitter=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(require("./../utils/emitter.js")),_import=require("./function/import.js"),_config=require("./function/config.js"),_factory=require("../utils/factory.js"),_is=require("../utils/is.js"),_ArgumentsError=require("../error/ArgumentsError.js"),_DimensionError=require("../error/DimensionError.js"),_IndexError=require("../error/IndexError.js"),_config2=require("./config.js");function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}},{"../error/ArgumentsError.js":381,"../error/DimensionError.js":382,"../error/IndexError.js":383,"../utils/factory.js":941,"../utils/is.js":943,"../utils/object.js":949,"./../utils/emitter.js":940,"./../utils/polyfills.js":950,"./config.js":36,"./function/config.js":38,"./function/import.js":39,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],38:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.configFactory=function configFactory(config,emit){function _config(options){if(options){var prev=(0,_object.mapObject)(config,_object.clone);validateOption(options,"matrix",MATRIX_OPTIONS),validateOption(options,"number",NUMBER_OPTIONS),(0,_object.deepExtend)(config,options);var curr=(0,_object.mapObject)(config,_object.clone),changes=(0,_object.mapObject)(options,_object.clone);return emit("config",curr,prev,changes),curr}return(0,_object.mapObject)(config,_object.clone)}return _config.MATRIX_OPTIONS=MATRIX_OPTIONS,_config.NUMBER_OPTIONS=NUMBER_OPTIONS,Object.keys(_config2.DEFAULT_CONFIG).forEach((function(key){Object.defineProperty(_config,key,{get:function get(){return config[key]},enumerable:!0,configurable:!0})})),_config},exports.NUMBER_OPTIONS=exports.MATRIX_OPTIONS=void 0;var _object=require("../../utils/object.js"),_config2=require("../config.js"),MATRIX_OPTIONS=["Matrix","Array"];exports.MATRIX_OPTIONS=MATRIX_OPTIONS;var NUMBER_OPTIONS=["number","BigNumber","Fraction"];function validateOption(options,name,values){void 0===options[name]||function contains(array,item){return-1!==array.indexOf(item)}(values,options[name])||console.warn('Warning: Unknown value "'+options[name]+'" for configuration option "'+name+'". Available options: '+values.map((function(value){return JSON.stringify(value)})).join(", ")+".")}exports.NUMBER_OPTIONS=NUMBER_OPTIONS},{"../../utils/object.js":949,"../config.js":36}],39:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.importFactory=function importFactory(typed,load,math,importedFactories){function _import(name,value,options){if(options.wrap&&"function"==typeof value&&(value=function _wrap(fn){var wrapper=function wrapper(){for(var args=[],i=0,len=arguments.length;i2&&void 0!==arguments[2]?arguments[2]:factory.fn;if((0,_array.contains)(name,"."))throw new Error("Factory name should not contain a nested path. Name: "+JSON.stringify(name));var namespace=isTransformFunctionFactory(factory)?math.expression.transform:math,existingTransform=name in math.expression.transform,existing=(0,_object.hasOwnProperty)(namespace,name)?namespace[name]:void 0,resolver=function resolver(){var dependencies={};factory.dependencies.map(_factory.stripOptionalNotation).forEach((function(dependency){if((0,_array.contains)(dependency,"."))throw new Error("Factory dependency should not contain a nested path. Name: "+JSON.stringify(dependency));"math"===dependency?dependencies.math=math:"mathWithTransform"===dependency?dependencies.mathWithTransform=math.expression.mathWithTransform:"classes"===dependency?dependencies.classes=math:dependencies[dependency]=math[dependency]}));var instance=factory(dependencies);if(instance&&"function"==typeof instance.transform)throw new Error('Transforms cannot be attached to factory functions. Please create a separate function for it with exports.path="expression.transform"');if(void 0===existing||options.override)return instance;if(isTypedFunction(existing)&&isTypedFunction(instance))return typed(existing,instance);if(options.silent)return existing;throw new Error('Cannot import "'+name+'": already exists')};factory.meta&&!1===factory.meta.lazy?(namespace[name]=resolver(),existing&&existingTransform?_deleteTransform(name):(isTransformFunctionFactory(factory)||factoryAllowedInExpressions(factory))&&(0,_object.lazy)(math.expression.mathWithTransform,name,(function(){return namespace[name]}))):((0,_object.lazy)(namespace,name,resolver),existing&&existingTransform?_deleteTransform(name):(isTransformFunctionFactory(factory)||factoryAllowedInExpressions(factory))&&(0,_object.lazy)(math.expression.mathWithTransform,name,(function(){return namespace[name]}))),importedFactories[name]=factory,math.emit("import",name,resolver)}function isSupportedType(object){return"function"==typeof object||"number"==typeof object||"string"==typeof object||"boolean"==typeof object||null===object||(0,_is.isUnit)(object)||(0,_is.isComplex)(object)||(0,_is.isBigNumber)(object)||(0,_is.isFraction)(object)||(0,_is.isMatrix)(object)||Array.isArray(object)}function isTypedFunction(fn){return"function"==typeof fn&&"object"===(0,_typeof2.default)(fn.signatures)}function allowedInExpressions(name){return!(0,_object.hasOwnProperty)(unsafe,name)}function factoryAllowedInExpressions(factory){return!(-1!==factory.fn.indexOf(".")||(0,_object.hasOwnProperty)(unsafe,factory.fn)||factory.meta&&factory.meta.isClass)}function isTransformFunctionFactory(factory){return void 0!==factory&&void 0!==factory.meta&&!0===factory.meta.isTransformFunction||!1}var unsafe={expression:!0,type:!0,docs:!0,error:!0,json:!0,chain:!0};return function mathImport(functions,options){var num=arguments.length;if(1!==num&&2!==num)throw new _ArgumentsError.ArgumentsError("import",num,1,2);function flattenImports(flatValues,value,name){if(Array.isArray(value))value.forEach((function(item){return flattenImports(flatValues,item)}));else if("object"===(0,_typeof2.default)(value))for(var _name in value)(0,_object.hasOwnProperty)(value,_name)&&flattenImports(flatValues,value[_name],_name);else if((0,_factory.isFactory)(value)||void 0!==name){var flatName=(0,_factory.isFactory)(value)?isTransformFunctionFactory(value)?value.fn+".transform":value.fn:name;if((0,_object.hasOwnProperty)(flatValues,flatName)&&flatValues[flatName]!==value&&!options.silent)throw new Error('Cannot import "'+flatName+'" twice');flatValues[flatName]=value}else if(!options.silent)throw new TypeError("Factory, Object, or Array expected")}options||(options={});var flatValues={};for(var name in flattenImports(flatValues,functions),flatValues)if((0,_object.hasOwnProperty)(flatValues,name)){var value=flatValues[name];if((0,_factory.isFactory)(value))_importFactory(value,options);else if(isSupportedType(value))_import(name,value,options);else if(!options.silent)throw new TypeError("Factory, Object, or Array expected")}}};var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_ArgumentsError=require("../../error/ArgumentsError.js")},{"../../error/ArgumentsError.js":381,"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949,"@babel/runtime/helpers/defineProperty":13,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],40:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTyped=void 0;var _is=require("../../utils/is.js"),_typedFunction=_interopRequireDefault(require("typed-function")),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_map=require("../../utils/map.js"),_createTyped2=function _createTyped(){return _createTyped2=_typedFunction.default.create,_typedFunction.default},dependencies=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],createTyped=(0,_factory.factory)("typed",dependencies,(function createTyped(_ref){var BigNumber=_ref.BigNumber,Complex=_ref.Complex,DenseMatrix=_ref.DenseMatrix,Fraction=_ref.Fraction,typed=_createTyped2();return typed.types=[{name:"number",test:_is.isNumber},{name:"Complex",test:_is.isComplex},{name:"BigNumber",test:_is.isBigNumber},{name:"Fraction",test:_is.isFraction},{name:"Unit",test:_is.isUnit},{name:"string",test:_is.isString},{name:"Chain",test:_is.isChain},{name:"Array",test:_is.isArray},{name:"Matrix",test:_is.isMatrix},{name:"DenseMatrix",test:_is.isDenseMatrix},{name:"SparseMatrix",test:_is.isSparseMatrix},{name:"Range",test:_is.isRange},{name:"Index",test:_is.isIndex},{name:"boolean",test:_is.isBoolean},{name:"ResultSet",test:_is.isResultSet},{name:"Help",test:_is.isHelp},{name:"function",test:_is.isFunction},{name:"Date",test:_is.isDate},{name:"RegExp",test:_is.isRegExp},{name:"null",test:_is.isNull},{name:"undefined",test:_is.isUndefined},{name:"AccessorNode",test:_is.isAccessorNode},{name:"ArrayNode",test:_is.isArrayNode},{name:"AssignmentNode",test:_is.isAssignmentNode},{name:"BlockNode",test:_is.isBlockNode},{name:"ConditionalNode",test:_is.isConditionalNode},{name:"ConstantNode",test:_is.isConstantNode},{name:"FunctionNode",test:_is.isFunctionNode},{name:"FunctionAssignmentNode",test:_is.isFunctionAssignmentNode},{name:"IndexNode",test:_is.isIndexNode},{name:"Node",test:_is.isNode},{name:"ObjectNode",test:_is.isObjectNode},{name:"OperatorNode",test:_is.isOperatorNode},{name:"ParenthesisNode",test:_is.isParenthesisNode},{name:"RangeNode",test:_is.isRangeNode},{name:"SymbolNode",test:_is.isSymbolNode},{name:"Map",test:_map.isMap},{name:"Object",test:_is.isObject}],typed.conversions=[{from:"number",to:"BigNumber",convert:function convert(x){if(BigNumber||throwNoBignumber(x),(0,_number.digits)(x)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+x+"). Use function bignumber(x) to convert to BigNumber.");return new BigNumber(x)}},{from:"number",to:"Complex",convert:function convert(x){return Complex||throwNoComplex(x),new Complex(x,0)}},{from:"number",to:"string",convert:function convert(x){return x+""}},{from:"BigNumber",to:"Complex",convert:function convert(x){return Complex||throwNoComplex(x),new Complex(x.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function convert(x){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function convert(x){return Complex||throwNoComplex(x),new Complex(x.valueOf(),0)}},{from:"number",to:"Fraction",convert:function convert(x){Fraction||throwNoFraction(x);var f=new Fraction(x);if(f.valueOf()!==x)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+x+"). Use function fraction(x) to convert to Fraction.");return f}},{from:"string",to:"number",convert:function convert(x){var n=Number(x);if(isNaN(n))throw new Error('Cannot convert "'+x+'" to a number');return n}},{from:"string",to:"BigNumber",convert:function convert(x){BigNumber||throwNoBignumber(x);try{return new BigNumber(x)}catch(err){throw new Error('Cannot convert "'+x+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function convert(x){Fraction||throwNoFraction(x);try{return new Fraction(x)}catch(err){throw new Error('Cannot convert "'+x+'" to Fraction')}}},{from:"string",to:"Complex",convert:function convert(x){Complex||throwNoComplex(x);try{return new Complex(x)}catch(err){throw new Error('Cannot convert "'+x+'" to Complex')}}},{from:"boolean",to:"number",convert:function convert(x){return+x}},{from:"boolean",to:"BigNumber",convert:function convert(x){return BigNumber||throwNoBignumber(x),new BigNumber(+x)}},{from:"boolean",to:"Fraction",convert:function convert(x){return Fraction||throwNoFraction(x),new Fraction(+x)}},{from:"boolean",to:"string",convert:function convert(x){return String(x)}},{from:"Array",to:"Matrix",convert:function convert(array){return DenseMatrix||function throwNoMatrix(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}(),new DenseMatrix(array)}},{from:"Matrix",to:"Array",convert:function convert(matrix){return matrix.valueOf()}}],typed}));function throwNoBignumber(x){throw new Error("Cannot convert value ".concat(x," into a BigNumber: no class 'BigNumber' provided"))}function throwNoComplex(x){throw new Error("Cannot convert value ".concat(x," into a Complex number: no class 'Complex' provided"))}function throwNoFraction(x){throw new Error("Cannot convert value ".concat(x," into a Fraction, no class 'Fraction' provided."))}exports.createTyped=createTyped},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/map.js":946,"../../utils/number.js":948,"@babel/runtime/helpers/interopRequireDefault":15,"typed-function":965}],41:[function(require,module,exports){"use strict";var _typeof=require("@babel/runtime/helpers/typeof");function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.all=void 0;var all=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(require("../factoriesAny.js"));exports.all=all},{"../factoriesAny.js":654,"@babel/runtime/helpers/typeof":22}],42:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.config=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_config=require("../core/config.js"),_config2=require("../core/function/config.js"),config=function config(options){if(options)throw new Error("The global config is readonly. \nPlease create a mathjs instance if you want to change the default configuration. \nExample:\n\n import { create, all } from 'mathjs';\n const mathjs = create(all);\n mathjs.config({ number: 'BigNumber' });\n");return Object.freeze(_config.DEFAULT_CONFIG)};exports.config=config,(0,_extends2.default)(config,_config.DEFAULT_CONFIG,{MATRIX_OPTIONS:_config2.MATRIX_OPTIONS,NUMBER_OPTIONS:_config2.NUMBER_OPTIONS})},{"../core/config.js":36,"../core/function/config.js":38,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15}],43:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"typedDependencies",{enumerable:!0,get:function get(){return _dependenciesTypedGenerated.typedDependencies}}),Object.defineProperty(exports,"ResultSetDependencies",{enumerable:!0,get:function get(){return _dependenciesResultSetGenerated.ResultSetDependencies}}),Object.defineProperty(exports,"BigNumberDependencies",{enumerable:!0,get:function get(){return _dependenciesBigNumberClassGenerated.BigNumberDependencies}}),Object.defineProperty(exports,"ComplexDependencies",{enumerable:!0,get:function get(){return _dependenciesComplexClassGenerated.ComplexDependencies}}),Object.defineProperty(exports,"FractionDependencies",{enumerable:!0,get:function get(){return _dependenciesFractionClassGenerated.FractionDependencies}}),Object.defineProperty(exports,"RangeDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeClassGenerated.RangeDependencies}}),Object.defineProperty(exports,"MatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixClassGenerated.MatrixDependencies}}),Object.defineProperty(exports,"DenseMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies}}),Object.defineProperty(exports,"cloneDependencies",{enumerable:!0,get:function get(){return _dependenciesCloneGenerated.cloneDependencies}}),Object.defineProperty(exports,"isIntegerDependencies",{enumerable:!0,get:function get(){return _dependenciesIsIntegerGenerated.isIntegerDependencies}}),Object.defineProperty(exports,"isNegativeDependencies",{enumerable:!0,get:function get(){return _dependenciesIsNegativeGenerated.isNegativeDependencies}}),Object.defineProperty(exports,"isNumericDependencies",{enumerable:!0,get:function get(){return _dependenciesIsNumericGenerated.isNumericDependencies}}),Object.defineProperty(exports,"hasNumericValueDependencies",{enumerable:!0,get:function get(){return _dependenciesHasNumericValueGenerated.hasNumericValueDependencies}}),Object.defineProperty(exports,"isPositiveDependencies",{enumerable:!0,get:function get(){return _dependenciesIsPositiveGenerated.isPositiveDependencies}}),Object.defineProperty(exports,"isZeroDependencies",{enumerable:!0,get:function get(){return _dependenciesIsZeroGenerated.isZeroDependencies}}),Object.defineProperty(exports,"isNaNDependencies",{enumerable:!0,get:function get(){return _dependenciesIsNaNGenerated.isNaNDependencies}}),Object.defineProperty(exports,"typeOfDependencies",{enumerable:!0,get:function get(){return _dependenciesTypeOfGenerated.typeOfDependencies}}),Object.defineProperty(exports,"equalScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesEqualScalarGenerated.equalScalarDependencies}}),Object.defineProperty(exports,"SparseMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies}}),Object.defineProperty(exports,"numberDependencies",{enumerable:!0,get:function get(){return _dependenciesNumberGenerated.numberDependencies}}),Object.defineProperty(exports,"stringDependencies",{enumerable:!0,get:function get(){return _dependenciesStringGenerated.stringDependencies}}),Object.defineProperty(exports,"booleanDependencies",{enumerable:!0,get:function get(){return _dependenciesBooleanGenerated.booleanDependencies}}),Object.defineProperty(exports,"bignumberDependencies",{enumerable:!0,get:function get(){return _dependenciesBignumberGenerated.bignumberDependencies}}),Object.defineProperty(exports,"complexDependencies",{enumerable:!0,get:function get(){return _dependenciesComplexGenerated.complexDependencies}}),Object.defineProperty(exports,"fractionDependencies",{enumerable:!0,get:function get(){return _dependenciesFractionGenerated.fractionDependencies}}),Object.defineProperty(exports,"matrixDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixGenerated.matrixDependencies}}),Object.defineProperty(exports,"matrixFromFunctionDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixFromFunctionGenerated.matrixFromFunctionDependencies}}),Object.defineProperty(exports,"matrixFromRowsDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixFromRowsGenerated.matrixFromRowsDependencies}}),Object.defineProperty(exports,"matrixFromColumnsDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixFromColumnsGenerated.matrixFromColumnsDependencies}}),Object.defineProperty(exports,"splitUnitDependencies",{enumerable:!0,get:function get(){return _dependenciesSplitUnitGenerated.splitUnitDependencies}}),Object.defineProperty(exports,"unaryMinusDependencies",{enumerable:!0,get:function get(){return _dependenciesUnaryMinusGenerated.unaryMinusDependencies}}),Object.defineProperty(exports,"unaryPlusDependencies",{enumerable:!0,get:function get(){return _dependenciesUnaryPlusGenerated.unaryPlusDependencies}}),Object.defineProperty(exports,"absDependencies",{enumerable:!0,get:function get(){return _dependenciesAbsGenerated.absDependencies}}),Object.defineProperty(exports,"applyDependencies",{enumerable:!0,get:function get(){return _dependenciesApplyGenerated.applyDependencies}}),Object.defineProperty(exports,"addScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesAddScalarGenerated.addScalarDependencies}}),Object.defineProperty(exports,"cbrtDependencies",{enumerable:!0,get:function get(){return _dependenciesCbrtGenerated.cbrtDependencies}}),Object.defineProperty(exports,"ceilDependencies",{enumerable:!0,get:function get(){return _dependenciesCeilGenerated.ceilDependencies}}),Object.defineProperty(exports,"cubeDependencies",{enumerable:!0,get:function get(){return _dependenciesCubeGenerated.cubeDependencies}}),Object.defineProperty(exports,"expDependencies",{enumerable:!0,get:function get(){return _dependenciesExpGenerated.expDependencies}}),Object.defineProperty(exports,"expm1Dependencies",{enumerable:!0,get:function get(){return _dependenciesExpm1Generated.expm1Dependencies}}),Object.defineProperty(exports,"fixDependencies",{enumerable:!0,get:function get(){return _dependenciesFixGenerated.fixDependencies}}),Object.defineProperty(exports,"floorDependencies",{enumerable:!0,get:function get(){return _dependenciesFloorGenerated.floorDependencies}}),Object.defineProperty(exports,"gcdDependencies",{enumerable:!0,get:function get(){return _dependenciesGcdGenerated.gcdDependencies}}),Object.defineProperty(exports,"lcmDependencies",{enumerable:!0,get:function get(){return _dependenciesLcmGenerated.lcmDependencies}}),Object.defineProperty(exports,"log10Dependencies",{enumerable:!0,get:function get(){return _dependenciesLog10Generated.log10Dependencies}}),Object.defineProperty(exports,"log2Dependencies",{enumerable:!0,get:function get(){return _dependenciesLog2Generated.log2Dependencies}}),Object.defineProperty(exports,"modDependencies",{enumerable:!0,get:function get(){return _dependenciesModGenerated.modDependencies}}),Object.defineProperty(exports,"multiplyScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesMultiplyScalarGenerated.multiplyScalarDependencies}}),Object.defineProperty(exports,"multiplyDependencies",{enumerable:!0,get:function get(){return _dependenciesMultiplyGenerated.multiplyDependencies}}),Object.defineProperty(exports,"nthRootDependencies",{enumerable:!0,get:function get(){return _dependenciesNthRootGenerated.nthRootDependencies}}),Object.defineProperty(exports,"signDependencies",{enumerable:!0,get:function get(){return _dependenciesSignGenerated.signDependencies}}),Object.defineProperty(exports,"sqrtDependencies",{enumerable:!0,get:function get(){return _dependenciesSqrtGenerated.sqrtDependencies}}),Object.defineProperty(exports,"squareDependencies",{enumerable:!0,get:function get(){return _dependenciesSquareGenerated.squareDependencies}}),Object.defineProperty(exports,"subtractDependencies",{enumerable:!0,get:function get(){return _dependenciesSubtractGenerated.subtractDependencies}}),Object.defineProperty(exports,"xgcdDependencies",{enumerable:!0,get:function get(){return _dependenciesXgcdGenerated.xgcdDependencies}}),Object.defineProperty(exports,"dotMultiplyDependencies",{enumerable:!0,get:function get(){return _dependenciesDotMultiplyGenerated.dotMultiplyDependencies}}),Object.defineProperty(exports,"bitAndDependencies",{enumerable:!0,get:function get(){return _dependenciesBitAndGenerated.bitAndDependencies}}),Object.defineProperty(exports,"bitNotDependencies",{enumerable:!0,get:function get(){return _dependenciesBitNotGenerated.bitNotDependencies}}),Object.defineProperty(exports,"bitOrDependencies",{enumerable:!0,get:function get(){return _dependenciesBitOrGenerated.bitOrDependencies}}),Object.defineProperty(exports,"bitXorDependencies",{enumerable:!0,get:function get(){return _dependenciesBitXorGenerated.bitXorDependencies}}),Object.defineProperty(exports,"argDependencies",{enumerable:!0,get:function get(){return _dependenciesArgGenerated.argDependencies}}),Object.defineProperty(exports,"conjDependencies",{enumerable:!0,get:function get(){return _dependenciesConjGenerated.conjDependencies}}),Object.defineProperty(exports,"imDependencies",{enumerable:!0,get:function get(){return _dependenciesImGenerated.imDependencies}}),Object.defineProperty(exports,"reDependencies",{enumerable:!0,get:function get(){return _dependenciesReGenerated.reDependencies}}),Object.defineProperty(exports,"notDependencies",{enumerable:!0,get:function get(){return _dependenciesNotGenerated.notDependencies}}),Object.defineProperty(exports,"orDependencies",{enumerable:!0,get:function get(){return _dependenciesOrGenerated.orDependencies}}),Object.defineProperty(exports,"xorDependencies",{enumerable:!0,get:function get(){return _dependenciesXorGenerated.xorDependencies}}),Object.defineProperty(exports,"concatDependencies",{enumerable:!0,get:function get(){return _dependenciesConcatGenerated.concatDependencies}}),Object.defineProperty(exports,"columnDependencies",{enumerable:!0,get:function get(){return _dependenciesColumnGenerated.columnDependencies}}),Object.defineProperty(exports,"countDependencies",{enumerable:!0,get:function get(){return _dependenciesCountGenerated.countDependencies}}),Object.defineProperty(exports,"crossDependencies",{enumerable:!0,get:function get(){return _dependenciesCrossGenerated.crossDependencies}}),Object.defineProperty(exports,"diagDependencies",{enumerable:!0,get:function get(){return _dependenciesDiagGenerated.diagDependencies}}),Object.defineProperty(exports,"filterDependencies",{enumerable:!0,get:function get(){return _dependenciesFilterGenerated.filterDependencies}}),Object.defineProperty(exports,"flattenDependencies",{enumerable:!0,get:function get(){return _dependenciesFlattenGenerated.flattenDependencies}}),Object.defineProperty(exports,"forEachDependencies",{enumerable:!0,get:function get(){return _dependenciesForEachGenerated.forEachDependencies}}),Object.defineProperty(exports,"getMatrixDataTypeDependencies",{enumerable:!0,get:function get(){return _dependenciesGetMatrixDataTypeGenerated.getMatrixDataTypeDependencies}}),Object.defineProperty(exports,"identityDependencies",{enumerable:!0,get:function get(){return _dependenciesIdentityGenerated.identityDependencies}}),Object.defineProperty(exports,"kronDependencies",{enumerable:!0,get:function get(){return _dependenciesKronGenerated.kronDependencies}}),Object.defineProperty(exports,"mapDependencies",{enumerable:!0,get:function get(){return _dependenciesMapGenerated.mapDependencies}}),Object.defineProperty(exports,"diffDependencies",{enumerable:!0,get:function get(){return _dependenciesDiffGenerated.diffDependencies}}),Object.defineProperty(exports,"onesDependencies",{enumerable:!0,get:function get(){return _dependenciesOnesGenerated.onesDependencies}}),Object.defineProperty(exports,"rangeDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeGenerated.rangeDependencies}}),Object.defineProperty(exports,"reshapeDependencies",{enumerable:!0,get:function get(){return _dependenciesReshapeGenerated.reshapeDependencies}}),Object.defineProperty(exports,"resizeDependencies",{enumerable:!0,get:function get(){return _dependenciesResizeGenerated.resizeDependencies}}),Object.defineProperty(exports,"rotateDependencies",{enumerable:!0,get:function get(){return _dependenciesRotateGenerated.rotateDependencies}}),Object.defineProperty(exports,"rotationMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesRotationMatrixGenerated.rotationMatrixDependencies}}),Object.defineProperty(exports,"rowDependencies",{enumerable:!0,get:function get(){return _dependenciesRowGenerated.rowDependencies}}),Object.defineProperty(exports,"sizeDependencies",{enumerable:!0,get:function get(){return _dependenciesSizeGenerated.sizeDependencies}}),Object.defineProperty(exports,"squeezeDependencies",{enumerable:!0,get:function get(){return _dependenciesSqueezeGenerated.squeezeDependencies}}),Object.defineProperty(exports,"subsetDependencies",{enumerable:!0,get:function get(){return _dependenciesSubsetGenerated.subsetDependencies}}),Object.defineProperty(exports,"transposeDependencies",{enumerable:!0,get:function get(){return _dependenciesTransposeGenerated.transposeDependencies}}),Object.defineProperty(exports,"ctransposeDependencies",{enumerable:!0,get:function get(){return _dependenciesCtransposeGenerated.ctransposeDependencies}}),Object.defineProperty(exports,"zerosDependencies",{enumerable:!0,get:function get(){return _dependenciesZerosGenerated.zerosDependencies}}),Object.defineProperty(exports,"erfDependencies",{enumerable:!0,get:function get(){return _dependenciesErfGenerated.erfDependencies}}),Object.defineProperty(exports,"modeDependencies",{enumerable:!0,get:function get(){return _dependenciesModeGenerated.modeDependencies}}),Object.defineProperty(exports,"prodDependencies",{enumerable:!0,get:function get(){return _dependenciesProdGenerated.prodDependencies}}),Object.defineProperty(exports,"formatDependencies",{enumerable:!0,get:function get(){return _dependenciesFormatGenerated.formatDependencies}}),Object.defineProperty(exports,"binDependencies",{enumerable:!0,get:function get(){return _dependenciesBinGenerated.binDependencies}}),Object.defineProperty(exports,"octDependencies",{enumerable:!0,get:function get(){return _dependenciesOctGenerated.octDependencies}}),Object.defineProperty(exports,"hexDependencies",{enumerable:!0,get:function get(){return _dependenciesHexGenerated.hexDependencies}}),Object.defineProperty(exports,"printDependencies",{enumerable:!0,get:function get(){return _dependenciesPrintGenerated.printDependencies}}),Object.defineProperty(exports,"toDependencies",{enumerable:!0,get:function get(){return _dependenciesToGenerated.toDependencies}}),Object.defineProperty(exports,"isPrimeDependencies",{enumerable:!0,get:function get(){return _dependenciesIsPrimeGenerated.isPrimeDependencies}}),Object.defineProperty(exports,"numericDependencies",{enumerable:!0,get:function get(){return _dependenciesNumericGenerated.numericDependencies}}),Object.defineProperty(exports,"divideScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesDivideScalarGenerated.divideScalarDependencies}}),Object.defineProperty(exports,"powDependencies",{enumerable:!0,get:function get(){return _dependenciesPowGenerated.powDependencies}}),Object.defineProperty(exports,"roundDependencies",{enumerable:!0,get:function get(){return _dependenciesRoundGenerated.roundDependencies}}),Object.defineProperty(exports,"logDependencies",{enumerable:!0,get:function get(){return _dependenciesLogGenerated.logDependencies}}),Object.defineProperty(exports,"log1pDependencies",{enumerable:!0,get:function get(){return _dependenciesLog1pGenerated.log1pDependencies}}),Object.defineProperty(exports,"nthRootsDependencies",{enumerable:!0,get:function get(){return _dependenciesNthRootsGenerated.nthRootsDependencies}}),Object.defineProperty(exports,"dotPowDependencies",{enumerable:!0,get:function get(){return _dependenciesDotPowGenerated.dotPowDependencies}}),Object.defineProperty(exports,"dotDivideDependencies",{enumerable:!0,get:function get(){return _dependenciesDotDivideGenerated.dotDivideDependencies}}),Object.defineProperty(exports,"lsolveDependencies",{enumerable:!0,get:function get(){return _dependenciesLsolveGenerated.lsolveDependencies}}),Object.defineProperty(exports,"usolveDependencies",{enumerable:!0,get:function get(){return _dependenciesUsolveGenerated.usolveDependencies}}),Object.defineProperty(exports,"lsolveAllDependencies",{enumerable:!0,get:function get(){return _dependenciesLsolveAllGenerated.lsolveAllDependencies}}),Object.defineProperty(exports,"usolveAllDependencies",{enumerable:!0,get:function get(){return _dependenciesUsolveAllGenerated.usolveAllDependencies}}),Object.defineProperty(exports,"leftShiftDependencies",{enumerable:!0,get:function get(){return _dependenciesLeftShiftGenerated.leftShiftDependencies}}),Object.defineProperty(exports,"rightArithShiftDependencies",{enumerable:!0,get:function get(){return _dependenciesRightArithShiftGenerated.rightArithShiftDependencies}}),Object.defineProperty(exports,"rightLogShiftDependencies",{enumerable:!0,get:function get(){return _dependenciesRightLogShiftGenerated.rightLogShiftDependencies}}),Object.defineProperty(exports,"andDependencies",{enumerable:!0,get:function get(){return _dependenciesAndGenerated.andDependencies}}),Object.defineProperty(exports,"compareDependencies",{enumerable:!0,get:function get(){return _dependenciesCompareGenerated.compareDependencies}}),Object.defineProperty(exports,"compareNaturalDependencies",{enumerable:!0,get:function get(){return _dependenciesCompareNaturalGenerated.compareNaturalDependencies}}),Object.defineProperty(exports,"compareTextDependencies",{enumerable:!0,get:function get(){return _dependenciesCompareTextGenerated.compareTextDependencies}}),Object.defineProperty(exports,"equalDependencies",{enumerable:!0,get:function get(){return _dependenciesEqualGenerated.equalDependencies}}),Object.defineProperty(exports,"equalTextDependencies",{enumerable:!0,get:function get(){return _dependenciesEqualTextGenerated.equalTextDependencies}}),Object.defineProperty(exports,"smallerDependencies",{enumerable:!0,get:function get(){return _dependenciesSmallerGenerated.smallerDependencies}}),Object.defineProperty(exports,"smallerEqDependencies",{enumerable:!0,get:function get(){return _dependenciesSmallerEqGenerated.smallerEqDependencies}}),Object.defineProperty(exports,"largerDependencies",{enumerable:!0,get:function get(){return _dependenciesLargerGenerated.largerDependencies}}),Object.defineProperty(exports,"largerEqDependencies",{enumerable:!0,get:function get(){return _dependenciesLargerEqGenerated.largerEqDependencies}}),Object.defineProperty(exports,"deepEqualDependencies",{enumerable:!0,get:function get(){return _dependenciesDeepEqualGenerated.deepEqualDependencies}}),Object.defineProperty(exports,"unequalDependencies",{enumerable:!0,get:function get(){return _dependenciesUnequalGenerated.unequalDependencies}}),Object.defineProperty(exports,"partitionSelectDependencies",{enumerable:!0,get:function get(){return _dependenciesPartitionSelectGenerated.partitionSelectDependencies}}),Object.defineProperty(exports,"sortDependencies",{enumerable:!0,get:function get(){return _dependenciesSortGenerated.sortDependencies}}),Object.defineProperty(exports,"maxDependencies",{enumerable:!0,get:function get(){return _dependenciesMaxGenerated.maxDependencies}}),Object.defineProperty(exports,"minDependencies",{enumerable:!0,get:function get(){return _dependenciesMinGenerated.minDependencies}}),Object.defineProperty(exports,"ImmutableDenseMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesImmutableDenseMatrixClassGenerated.ImmutableDenseMatrixDependencies}}),Object.defineProperty(exports,"IndexDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexClassGenerated.IndexDependencies}}),Object.defineProperty(exports,"FibonacciHeapDependencies",{enumerable:!0,get:function get(){return _dependenciesFibonacciHeapClassGenerated.FibonacciHeapDependencies}}),Object.defineProperty(exports,"SpaDependencies",{enumerable:!0,get:function get(){return _dependenciesSpaClassGenerated.SpaDependencies}}),Object.defineProperty(exports,"UnitDependencies",{enumerable:!0,get:function get(){return _dependenciesUnitClassGenerated.UnitDependencies}}),Object.defineProperty(exports,"unitDependencies",{enumerable:!0,get:function get(){return _dependenciesUnitFunctionGenerated.unitDependencies}}),Object.defineProperty(exports,"sparseDependencies",{enumerable:!0,get:function get(){return _dependenciesSparseGenerated.sparseDependencies}}),Object.defineProperty(exports,"createUnitDependencies",{enumerable:!0,get:function get(){return _dependenciesCreateUnitGenerated.createUnitDependencies}}),Object.defineProperty(exports,"acosDependencies",{enumerable:!0,get:function get(){return _dependenciesAcosGenerated.acosDependencies}}),Object.defineProperty(exports,"acoshDependencies",{enumerable:!0,get:function get(){return _dependenciesAcoshGenerated.acoshDependencies}}),Object.defineProperty(exports,"acotDependencies",{enumerable:!0,get:function get(){return _dependenciesAcotGenerated.acotDependencies}}),Object.defineProperty(exports,"acothDependencies",{enumerable:!0,get:function get(){return _dependenciesAcothGenerated.acothDependencies}}),Object.defineProperty(exports,"acscDependencies",{enumerable:!0,get:function get(){return _dependenciesAcscGenerated.acscDependencies}}),Object.defineProperty(exports,"acschDependencies",{enumerable:!0,get:function get(){return _dependenciesAcschGenerated.acschDependencies}}),Object.defineProperty(exports,"asecDependencies",{enumerable:!0,get:function get(){return _dependenciesAsecGenerated.asecDependencies}}),Object.defineProperty(exports,"asechDependencies",{enumerable:!0,get:function get(){return _dependenciesAsechGenerated.asechDependencies}}),Object.defineProperty(exports,"asinDependencies",{enumerable:!0,get:function get(){return _dependenciesAsinGenerated.asinDependencies}}),Object.defineProperty(exports,"asinhDependencies",{enumerable:!0,get:function get(){return _dependenciesAsinhGenerated.asinhDependencies}}),Object.defineProperty(exports,"atanDependencies",{enumerable:!0,get:function get(){return _dependenciesAtanGenerated.atanDependencies}}),Object.defineProperty(exports,"atan2Dependencies",{enumerable:!0,get:function get(){return _dependenciesAtan2Generated.atan2Dependencies}}),Object.defineProperty(exports,"atanhDependencies",{enumerable:!0,get:function get(){return _dependenciesAtanhGenerated.atanhDependencies}}),Object.defineProperty(exports,"cosDependencies",{enumerable:!0,get:function get(){return _dependenciesCosGenerated.cosDependencies}}),Object.defineProperty(exports,"coshDependencies",{enumerable:!0,get:function get(){return _dependenciesCoshGenerated.coshDependencies}}),Object.defineProperty(exports,"cotDependencies",{enumerable:!0,get:function get(){return _dependenciesCotGenerated.cotDependencies}}),Object.defineProperty(exports,"cothDependencies",{enumerable:!0,get:function get(){return _dependenciesCothGenerated.cothDependencies}}),Object.defineProperty(exports,"cscDependencies",{enumerable:!0,get:function get(){return _dependenciesCscGenerated.cscDependencies}}),Object.defineProperty(exports,"cschDependencies",{enumerable:!0,get:function get(){return _dependenciesCschGenerated.cschDependencies}}),Object.defineProperty(exports,"secDependencies",{enumerable:!0,get:function get(){return _dependenciesSecGenerated.secDependencies}}),Object.defineProperty(exports,"sechDependencies",{enumerable:!0,get:function get(){return _dependenciesSechGenerated.sechDependencies}}),Object.defineProperty(exports,"sinDependencies",{enumerable:!0,get:function get(){return _dependenciesSinGenerated.sinDependencies}}),Object.defineProperty(exports,"sinhDependencies",{enumerable:!0,get:function get(){return _dependenciesSinhGenerated.sinhDependencies}}),Object.defineProperty(exports,"tanDependencies",{enumerable:!0,get:function get(){return _dependenciesTanGenerated.tanDependencies}}),Object.defineProperty(exports,"tanhDependencies",{enumerable:!0,get:function get(){return _dependenciesTanhGenerated.tanhDependencies}}),Object.defineProperty(exports,"setCartesianDependencies",{enumerable:!0,get:function get(){return _dependenciesSetCartesianGenerated.setCartesianDependencies}}),Object.defineProperty(exports,"setDifferenceDependencies",{enumerable:!0,get:function get(){return _dependenciesSetDifferenceGenerated.setDifferenceDependencies}}),Object.defineProperty(exports,"setDistinctDependencies",{enumerable:!0,get:function get(){return _dependenciesSetDistinctGenerated.setDistinctDependencies}}),Object.defineProperty(exports,"setIntersectDependencies",{enumerable:!0,get:function get(){return _dependenciesSetIntersectGenerated.setIntersectDependencies}}),Object.defineProperty(exports,"setIsSubsetDependencies",{enumerable:!0,get:function get(){return _dependenciesSetIsSubsetGenerated.setIsSubsetDependencies}}),Object.defineProperty(exports,"setMultiplicityDependencies",{enumerable:!0,get:function get(){return _dependenciesSetMultiplicityGenerated.setMultiplicityDependencies}}),Object.defineProperty(exports,"setPowersetDependencies",{enumerable:!0,get:function get(){return _dependenciesSetPowersetGenerated.setPowersetDependencies}}),Object.defineProperty(exports,"setSizeDependencies",{enumerable:!0,get:function get(){return _dependenciesSetSizeGenerated.setSizeDependencies}}),Object.defineProperty(exports,"setSymDifferenceDependencies",{enumerable:!0,get:function get(){return _dependenciesSetSymDifferenceGenerated.setSymDifferenceDependencies}}),Object.defineProperty(exports,"setUnionDependencies",{enumerable:!0,get:function get(){return _dependenciesSetUnionGenerated.setUnionDependencies}}),Object.defineProperty(exports,"addDependencies",{enumerable:!0,get:function get(){return _dependenciesAddGenerated.addDependencies}}),Object.defineProperty(exports,"hypotDependencies",{enumerable:!0,get:function get(){return _dependenciesHypotGenerated.hypotDependencies}}),Object.defineProperty(exports,"normDependencies",{enumerable:!0,get:function get(){return _dependenciesNormGenerated.normDependencies}}),Object.defineProperty(exports,"dotDependencies",{enumerable:!0,get:function get(){return _dependenciesDotGenerated.dotDependencies}}),Object.defineProperty(exports,"traceDependencies",{enumerable:!0,get:function get(){return _dependenciesTraceGenerated.traceDependencies}}),Object.defineProperty(exports,"indexDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexGenerated.indexDependencies}}),Object.defineProperty(exports,"NodeDependencies",{enumerable:!0,get:function get(){return _dependenciesNodeGenerated.NodeDependencies}}),Object.defineProperty(exports,"AccessorNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesAccessorNodeGenerated.AccessorNodeDependencies}}),Object.defineProperty(exports,"ArrayNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesArrayNodeGenerated.ArrayNodeDependencies}}),Object.defineProperty(exports,"AssignmentNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesAssignmentNodeGenerated.AssignmentNodeDependencies}}),Object.defineProperty(exports,"BlockNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesBlockNodeGenerated.BlockNodeDependencies}}),Object.defineProperty(exports,"ConditionalNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesConditionalNodeGenerated.ConditionalNodeDependencies}}),Object.defineProperty(exports,"ConstantNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesConstantNodeGenerated.ConstantNodeDependencies}}),Object.defineProperty(exports,"FunctionAssignmentNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesFunctionAssignmentNodeGenerated.FunctionAssignmentNodeDependencies}}),Object.defineProperty(exports,"IndexNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexNodeGenerated.IndexNodeDependencies}}),Object.defineProperty(exports,"ObjectNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesObjectNodeGenerated.ObjectNodeDependencies}}),Object.defineProperty(exports,"OperatorNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesOperatorNodeGenerated.OperatorNodeDependencies}}),Object.defineProperty(exports,"ParenthesisNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies}}),Object.defineProperty(exports,"RangeNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeNodeGenerated.RangeNodeDependencies}}),Object.defineProperty(exports,"RelationalNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesRelationalNodeGenerated.RelationalNodeDependencies}}),Object.defineProperty(exports,"SymbolNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesSymbolNodeGenerated.SymbolNodeDependencies}}),Object.defineProperty(exports,"FunctionNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesFunctionNodeGenerated.FunctionNodeDependencies}}),Object.defineProperty(exports,"parseDependencies",{enumerable:!0,get:function get(){return _dependenciesParseGenerated.parseDependencies}}),Object.defineProperty(exports,"compileDependencies",{enumerable:!0,get:function get(){return _dependenciesCompileGenerated.compileDependencies}}),Object.defineProperty(exports,"evaluateDependencies",{enumerable:!0,get:function get(){return _dependenciesEvaluateGenerated.evaluateDependencies}}),Object.defineProperty(exports,"ParserDependencies",{enumerable:!0,get:function get(){return _dependenciesParserClassGenerated.ParserDependencies}}),Object.defineProperty(exports,"parserDependencies",{enumerable:!0,get:function get(){return _dependenciesParserGenerated.parserDependencies}}),Object.defineProperty(exports,"lupDependencies",{enumerable:!0,get:function get(){return _dependenciesLupGenerated.lupDependencies}}),Object.defineProperty(exports,"qrDependencies",{enumerable:!0,get:function get(){return _dependenciesQrGenerated.qrDependencies}}),Object.defineProperty(exports,"sluDependencies",{enumerable:!0,get:function get(){return _dependenciesSluGenerated.sluDependencies}}),Object.defineProperty(exports,"lusolveDependencies",{enumerable:!0,get:function get(){return _dependenciesLusolveGenerated.lusolveDependencies}}),Object.defineProperty(exports,"HelpDependencies",{enumerable:!0,get:function get(){return _dependenciesHelpClassGenerated.HelpDependencies}}),Object.defineProperty(exports,"ChainDependencies",{enumerable:!0,get:function get(){return _dependenciesChainClassGenerated.ChainDependencies}}),Object.defineProperty(exports,"helpDependencies",{enumerable:!0,get:function get(){return _dependenciesHelpGenerated.helpDependencies}}),Object.defineProperty(exports,"chainDependencies",{enumerable:!0,get:function get(){return _dependenciesChainGenerated.chainDependencies}}),Object.defineProperty(exports,"detDependencies",{enumerable:!0,get:function get(){return _dependenciesDetGenerated.detDependencies}}),Object.defineProperty(exports,"invDependencies",{enumerable:!0,get:function get(){return _dependenciesInvGenerated.invDependencies}}),Object.defineProperty(exports,"eigsDependencies",{enumerable:!0,get:function get(){return _dependenciesEigsGenerated.eigsDependencies}}),Object.defineProperty(exports,"expmDependencies",{enumerable:!0,get:function get(){return _dependenciesExpmGenerated.expmDependencies}}),Object.defineProperty(exports,"sqrtmDependencies",{enumerable:!0,get:function get(){return _dependenciesSqrtmGenerated.sqrtmDependencies}}),Object.defineProperty(exports,"divideDependencies",{enumerable:!0,get:function get(){return _dependenciesDivideGenerated.divideDependencies}}),Object.defineProperty(exports,"distanceDependencies",{enumerable:!0,get:function get(){return _dependenciesDistanceGenerated.distanceDependencies}}),Object.defineProperty(exports,"intersectDependencies",{enumerable:!0,get:function get(){return _dependenciesIntersectGenerated.intersectDependencies}}),Object.defineProperty(exports,"sumDependencies",{enumerable:!0,get:function get(){return _dependenciesSumGenerated.sumDependencies}}),Object.defineProperty(exports,"meanDependencies",{enumerable:!0,get:function get(){return _dependenciesMeanGenerated.meanDependencies}}),Object.defineProperty(exports,"medianDependencies",{enumerable:!0,get:function get(){return _dependenciesMedianGenerated.medianDependencies}}),Object.defineProperty(exports,"madDependencies",{enumerable:!0,get:function get(){return _dependenciesMadGenerated.madDependencies}}),Object.defineProperty(exports,"varianceDependencies",{enumerable:!0,get:function get(){return _dependenciesVarianceGenerated.varianceDependencies}}),Object.defineProperty(exports,"quantileSeqDependencies",{enumerable:!0,get:function get(){return _dependenciesQuantileSeqGenerated.quantileSeqDependencies}}),Object.defineProperty(exports,"stdDependencies",{enumerable:!0,get:function get(){return _dependenciesStdGenerated.stdDependencies}}),Object.defineProperty(exports,"combinationsDependencies",{enumerable:!0,get:function get(){return _dependenciesCombinationsGenerated.combinationsDependencies}}),Object.defineProperty(exports,"combinationsWithRepDependencies",{enumerable:!0,get:function get(){return _dependenciesCombinationsWithRepGenerated.combinationsWithRepDependencies}}),Object.defineProperty(exports,"gammaDependencies",{enumerable:!0,get:function get(){return _dependenciesGammaGenerated.gammaDependencies}}),Object.defineProperty(exports,"factorialDependencies",{enumerable:!0,get:function get(){return _dependenciesFactorialGenerated.factorialDependencies}}),Object.defineProperty(exports,"kldivergenceDependencies",{enumerable:!0,get:function get(){return _dependenciesKldivergenceGenerated.kldivergenceDependencies}}),Object.defineProperty(exports,"multinomialDependencies",{enumerable:!0,get:function get(){return _dependenciesMultinomialGenerated.multinomialDependencies}}),Object.defineProperty(exports,"permutationsDependencies",{enumerable:!0,get:function get(){return _dependenciesPermutationsGenerated.permutationsDependencies}}),Object.defineProperty(exports,"pickRandomDependencies",{enumerable:!0,get:function get(){return _dependenciesPickRandomGenerated.pickRandomDependencies}}),Object.defineProperty(exports,"randomDependencies",{enumerable:!0,get:function get(){return _dependenciesRandomGenerated.randomDependencies}}),Object.defineProperty(exports,"randomIntDependencies",{enumerable:!0,get:function get(){return _dependenciesRandomIntGenerated.randomIntDependencies}}),Object.defineProperty(exports,"stirlingS2Dependencies",{enumerable:!0,get:function get(){return _dependenciesStirlingS2Generated.stirlingS2Dependencies}}),Object.defineProperty(exports,"bellNumbersDependencies",{enumerable:!0,get:function get(){return _dependenciesBellNumbersGenerated.bellNumbersDependencies}}),Object.defineProperty(exports,"catalanDependencies",{enumerable:!0,get:function get(){return _dependenciesCatalanGenerated.catalanDependencies}}),Object.defineProperty(exports,"compositionDependencies",{enumerable:!0,get:function get(){return _dependenciesCompositionGenerated.compositionDependencies}}),Object.defineProperty(exports,"simplifyDependencies",{enumerable:!0,get:function get(){return _dependenciesSimplifyGenerated.simplifyDependencies}}),Object.defineProperty(exports,"derivativeDependencies",{enumerable:!0,get:function get(){return _dependenciesDerivativeGenerated.derivativeDependencies}}),Object.defineProperty(exports,"rationalizeDependencies",{enumerable:!0,get:function get(){return _dependenciesRationalizeGenerated.rationalizeDependencies}}),Object.defineProperty(exports,"reviverDependencies",{enumerable:!0,get:function get(){return _dependenciesReviverGenerated.reviverDependencies}}),Object.defineProperty(exports,"replacerDependencies",{enumerable:!0,get:function get(){return _dependenciesReplacerGenerated.replacerDependencies}}),Object.defineProperty(exports,"eDependencies",{enumerable:!0,get:function get(){return _dependenciesEGenerated.eDependencies}}),Object.defineProperty(exports,"EDependencies",{enumerable:!0,get:function get(){return _dependenciesUppercaseEGenerated.EDependencies}}),Object.defineProperty(exports,"falseDependencies",{enumerable:!0,get:function get(){return _dependenciesFalseGenerated.falseDependencies}}),Object.defineProperty(exports,"iDependencies",{enumerable:!0,get:function get(){return _dependenciesIGenerated.iDependencies}}),Object.defineProperty(exports,"InfinityDependencies",{enumerable:!0,get:function get(){return _dependenciesInfinityGenerated.InfinityDependencies}}),Object.defineProperty(exports,"LN10Dependencies",{enumerable:!0,get:function get(){return _dependenciesLN10Generated.LN10Dependencies}}),Object.defineProperty(exports,"LN2Dependencies",{enumerable:!0,get:function get(){return _dependenciesLN2Generated.LN2Dependencies}}),Object.defineProperty(exports,"LOG10EDependencies",{enumerable:!0,get:function get(){return _dependenciesLOG10EGenerated.LOG10EDependencies}}),Object.defineProperty(exports,"LOG2EDependencies",{enumerable:!0,get:function get(){return _dependenciesLOG2EGenerated.LOG2EDependencies}}),Object.defineProperty(exports,"NaNDependencies",{enumerable:!0,get:function get(){return _dependenciesNaNGenerated.NaNDependencies}}),Object.defineProperty(exports,"nullDependencies",{enumerable:!0,get:function get(){return _dependenciesNullGenerated.nullDependencies}}),Object.defineProperty(exports,"phiDependencies",{enumerable:!0,get:function get(){return _dependenciesPhiGenerated.phiDependencies}}),Object.defineProperty(exports,"piDependencies",{enumerable:!0,get:function get(){return _dependenciesPiGenerated.piDependencies}}),Object.defineProperty(exports,"PIDependencies",{enumerable:!0,get:function get(){return _dependenciesUppercasePiGenerated.PIDependencies}}),Object.defineProperty(exports,"SQRT1_2Dependencies",{enumerable:!0,get:function get(){return _dependenciesSQRT1_2Generated.SQRT1_2Dependencies}}),Object.defineProperty(exports,"SQRT2Dependencies",{enumerable:!0,get:function get(){return _dependenciesSQRT2Generated.SQRT2Dependencies}}),Object.defineProperty(exports,"tauDependencies",{enumerable:!0,get:function get(){return _dependenciesTauGenerated.tauDependencies}}),Object.defineProperty(exports,"trueDependencies",{enumerable:!0,get:function get(){return _dependenciesTrueGenerated.trueDependencies}}),Object.defineProperty(exports,"versionDependencies",{enumerable:!0,get:function get(){return _dependenciesVersionGenerated.versionDependencies}}),Object.defineProperty(exports,"atomicMassDependencies",{enumerable:!0,get:function get(){return _dependenciesAtomicMassGenerated.atomicMassDependencies}}),Object.defineProperty(exports,"avogadroDependencies",{enumerable:!0,get:function get(){return _dependenciesAvogadroGenerated.avogadroDependencies}}),Object.defineProperty(exports,"bohrMagnetonDependencies",{enumerable:!0,get:function get(){return _dependenciesBohrMagnetonGenerated.bohrMagnetonDependencies}}),Object.defineProperty(exports,"bohrRadiusDependencies",{enumerable:!0,get:function get(){return _dependenciesBohrRadiusGenerated.bohrRadiusDependencies}}),Object.defineProperty(exports,"boltzmannDependencies",{enumerable:!0,get:function get(){return _dependenciesBoltzmannGenerated.boltzmannDependencies}}),Object.defineProperty(exports,"classicalElectronRadiusDependencies",{enumerable:!0,get:function get(){return _dependenciesClassicalElectronRadiusGenerated.classicalElectronRadiusDependencies}}),Object.defineProperty(exports,"conductanceQuantumDependencies",{enumerable:!0,get:function get(){return _dependenciesConductanceQuantumGenerated.conductanceQuantumDependencies}}),Object.defineProperty(exports,"coulombDependencies",{enumerable:!0,get:function get(){return _dependenciesCoulombGenerated.coulombDependencies}}),Object.defineProperty(exports,"deuteronMassDependencies",{enumerable:!0,get:function get(){return _dependenciesDeuteronMassGenerated.deuteronMassDependencies}}),Object.defineProperty(exports,"efimovFactorDependencies",{enumerable:!0,get:function get(){return _dependenciesEfimovFactorGenerated.efimovFactorDependencies}}),Object.defineProperty(exports,"electricConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesElectricConstantGenerated.electricConstantDependencies}}),Object.defineProperty(exports,"electronMassDependencies",{enumerable:!0,get:function get(){return _dependenciesElectronMassGenerated.electronMassDependencies}}),Object.defineProperty(exports,"elementaryChargeDependencies",{enumerable:!0,get:function get(){return _dependenciesElementaryChargeGenerated.elementaryChargeDependencies}}),Object.defineProperty(exports,"faradayDependencies",{enumerable:!0,get:function get(){return _dependenciesFaradayGenerated.faradayDependencies}}),Object.defineProperty(exports,"fermiCouplingDependencies",{enumerable:!0,get:function get(){return _dependenciesFermiCouplingGenerated.fermiCouplingDependencies}}),Object.defineProperty(exports,"fineStructureDependencies",{enumerable:!0,get:function get(){return _dependenciesFineStructureGenerated.fineStructureDependencies}}),Object.defineProperty(exports,"firstRadiationDependencies",{enumerable:!0,get:function get(){return _dependenciesFirstRadiationGenerated.firstRadiationDependencies}}),Object.defineProperty(exports,"gasConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesGasConstantGenerated.gasConstantDependencies}}),Object.defineProperty(exports,"gravitationConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesGravitationConstantGenerated.gravitationConstantDependencies}}),Object.defineProperty(exports,"gravityDependencies",{enumerable:!0,get:function get(){return _dependenciesGravityGenerated.gravityDependencies}}),Object.defineProperty(exports,"hartreeEnergyDependencies",{enumerable:!0,get:function get(){return _dependenciesHartreeEnergyGenerated.hartreeEnergyDependencies}}),Object.defineProperty(exports,"inverseConductanceQuantumDependencies",{enumerable:!0,get:function get(){return _dependenciesInverseConductanceQuantumGenerated.inverseConductanceQuantumDependencies}}),Object.defineProperty(exports,"klitzingDependencies",{enumerable:!0,get:function get(){return _dependenciesKlitzingGenerated.klitzingDependencies}}),Object.defineProperty(exports,"loschmidtDependencies",{enumerable:!0,get:function get(){return _dependenciesLoschmidtGenerated.loschmidtDependencies}}),Object.defineProperty(exports,"magneticConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesMagneticConstantGenerated.magneticConstantDependencies}}),Object.defineProperty(exports,"magneticFluxQuantumDependencies",{enumerable:!0,get:function get(){return _dependenciesMagneticFluxQuantumGenerated.magneticFluxQuantumDependencies}}),Object.defineProperty(exports,"molarMassDependencies",{enumerable:!0,get:function get(){return _dependenciesMolarMassGenerated.molarMassDependencies}}),Object.defineProperty(exports,"molarMassC12Dependencies",{enumerable:!0,get:function get(){return _dependenciesMolarMassC12Generated.molarMassC12Dependencies}}),Object.defineProperty(exports,"molarPlanckConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesMolarPlanckConstantGenerated.molarPlanckConstantDependencies}}),Object.defineProperty(exports,"molarVolumeDependencies",{enumerable:!0,get:function get(){return _dependenciesMolarVolumeGenerated.molarVolumeDependencies}}),Object.defineProperty(exports,"neutronMassDependencies",{enumerable:!0,get:function get(){return _dependenciesNeutronMassGenerated.neutronMassDependencies}}),Object.defineProperty(exports,"nuclearMagnetonDependencies",{enumerable:!0,get:function get(){return _dependenciesNuclearMagnetonGenerated.nuclearMagnetonDependencies}}),Object.defineProperty(exports,"planckChargeDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckChargeGenerated.planckChargeDependencies}}),Object.defineProperty(exports,"planckConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckConstantGenerated.planckConstantDependencies}}),Object.defineProperty(exports,"planckLengthDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckLengthGenerated.planckLengthDependencies}}),Object.defineProperty(exports,"planckMassDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckMassGenerated.planckMassDependencies}}),Object.defineProperty(exports,"planckTemperatureDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckTemperatureGenerated.planckTemperatureDependencies}}),Object.defineProperty(exports,"planckTimeDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckTimeGenerated.planckTimeDependencies}}),Object.defineProperty(exports,"protonMassDependencies",{enumerable:!0,get:function get(){return _dependenciesProtonMassGenerated.protonMassDependencies}}),Object.defineProperty(exports,"quantumOfCirculationDependencies",{enumerable:!0,get:function get(){return _dependenciesQuantumOfCirculationGenerated.quantumOfCirculationDependencies}}),Object.defineProperty(exports,"reducedPlanckConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesReducedPlanckConstantGenerated.reducedPlanckConstantDependencies}}),Object.defineProperty(exports,"rydbergDependencies",{enumerable:!0,get:function get(){return _dependenciesRydbergGenerated.rydbergDependencies}}),Object.defineProperty(exports,"sackurTetrodeDependencies",{enumerable:!0,get:function get(){return _dependenciesSackurTetrodeGenerated.sackurTetrodeDependencies}}),Object.defineProperty(exports,"secondRadiationDependencies",{enumerable:!0,get:function get(){return _dependenciesSecondRadiationGenerated.secondRadiationDependencies}}),Object.defineProperty(exports,"speedOfLightDependencies",{enumerable:!0,get:function get(){return _dependenciesSpeedOfLightGenerated.speedOfLightDependencies}}),Object.defineProperty(exports,"stefanBoltzmannDependencies",{enumerable:!0,get:function get(){return _dependenciesStefanBoltzmannGenerated.stefanBoltzmannDependencies}}),Object.defineProperty(exports,"thomsonCrossSectionDependencies",{enumerable:!0,get:function get(){return _dependenciesThomsonCrossSectionGenerated.thomsonCrossSectionDependencies}}),Object.defineProperty(exports,"vacuumImpedanceDependencies",{enumerable:!0,get:function get(){return _dependenciesVacuumImpedanceGenerated.vacuumImpedanceDependencies}}),Object.defineProperty(exports,"weakMixingAngleDependencies",{enumerable:!0,get:function get(){return _dependenciesWeakMixingAngleGenerated.weakMixingAngleDependencies}}),Object.defineProperty(exports,"wienDisplacementDependencies",{enumerable:!0,get:function get(){return _dependenciesWienDisplacementGenerated.wienDisplacementDependencies}}),Object.defineProperty(exports,"applyTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesApplyTransformGenerated.applyTransformDependencies}}),Object.defineProperty(exports,"columnTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesColumnTransformGenerated.columnTransformDependencies}}),Object.defineProperty(exports,"filterTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesFilterTransformGenerated.filterTransformDependencies}}),Object.defineProperty(exports,"forEachTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesForEachTransformGenerated.forEachTransformDependencies}}),Object.defineProperty(exports,"indexTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexTransformGenerated.indexTransformDependencies}}),Object.defineProperty(exports,"mapTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMapTransformGenerated.mapTransformDependencies}}),Object.defineProperty(exports,"maxTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMaxTransformGenerated.maxTransformDependencies}}),Object.defineProperty(exports,"meanTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMeanTransformGenerated.meanTransformDependencies}}),Object.defineProperty(exports,"minTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMinTransformGenerated.minTransformDependencies}}),Object.defineProperty(exports,"rangeTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeTransformGenerated.rangeTransformDependencies}}),Object.defineProperty(exports,"rowTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesRowTransformGenerated.rowTransformDependencies}}),Object.defineProperty(exports,"subsetTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesSubsetTransformGenerated.subsetTransformDependencies}}),Object.defineProperty(exports,"concatTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesConcatTransformGenerated.concatTransformDependencies}}),Object.defineProperty(exports,"diffTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesDiffTransformGenerated.diffTransformDependencies}}),Object.defineProperty(exports,"stdTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesStdTransformGenerated.stdTransformDependencies}}),Object.defineProperty(exports,"sumTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesSumTransformGenerated.sumTransformDependencies}}),Object.defineProperty(exports,"varianceTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesVarianceTransformGenerated.varianceTransformDependencies}}),Object.defineProperty(exports,"all",{enumerable:!0,get:function get(){return _allFactoriesAny.all}});var _dependenciesTypedGenerated=require("./dependenciesAny/dependenciesTyped.generated.js"),_dependenciesResultSetGenerated=require("./dependenciesAny/dependenciesResultSet.generated.js"),_dependenciesBigNumberClassGenerated=require("./dependenciesAny/dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesAny/dependenciesComplexClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesAny/dependenciesFractionClass.generated.js"),_dependenciesRangeClassGenerated=require("./dependenciesAny/dependenciesRangeClass.generated.js"),_dependenciesMatrixClassGenerated=require("./dependenciesAny/dependenciesMatrixClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesAny/dependenciesDenseMatrixClass.generated.js"),_dependenciesCloneGenerated=require("./dependenciesAny/dependenciesClone.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesAny/dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesAny/dependenciesIsNegative.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesAny/dependenciesIsNumeric.generated.js"),_dependenciesHasNumericValueGenerated=require("./dependenciesAny/dependenciesHasNumericValue.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesAny/dependenciesIsPositive.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesAny/dependenciesIsZero.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesAny/dependenciesIsNaN.generated.js"),_dependenciesTypeOfGenerated=require("./dependenciesAny/dependenciesTypeOf.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesAny/dependenciesEqualScalar.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesAny/dependenciesSparseMatrixClass.generated.js"),_dependenciesNumberGenerated=require("./dependenciesAny/dependenciesNumber.generated.js"),_dependenciesStringGenerated=require("./dependenciesAny/dependenciesString.generated.js"),_dependenciesBooleanGenerated=require("./dependenciesAny/dependenciesBoolean.generated.js"),_dependenciesBignumberGenerated=require("./dependenciesAny/dependenciesBignumber.generated.js"),_dependenciesComplexGenerated=require("./dependenciesAny/dependenciesComplex.generated.js"),_dependenciesFractionGenerated=require("./dependenciesAny/dependenciesFraction.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesAny/dependenciesMatrix.generated.js"),_dependenciesMatrixFromFunctionGenerated=require("./dependenciesAny/dependenciesMatrixFromFunction.generated.js"),_dependenciesMatrixFromRowsGenerated=require("./dependenciesAny/dependenciesMatrixFromRows.generated.js"),_dependenciesMatrixFromColumnsGenerated=require("./dependenciesAny/dependenciesMatrixFromColumns.generated.js"),_dependenciesSplitUnitGenerated=require("./dependenciesAny/dependenciesSplitUnit.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesAny/dependenciesUnaryMinus.generated.js"),_dependenciesUnaryPlusGenerated=require("./dependenciesAny/dependenciesUnaryPlus.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAny/dependenciesAbs.generated.js"),_dependenciesApplyGenerated=require("./dependenciesAny/dependenciesApply.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAny/dependenciesAddScalar.generated.js"),_dependenciesCbrtGenerated=require("./dependenciesAny/dependenciesCbrt.generated.js"),_dependenciesCeilGenerated=require("./dependenciesAny/dependenciesCeil.generated.js"),_dependenciesCubeGenerated=require("./dependenciesAny/dependenciesCube.generated.js"),_dependenciesExpGenerated=require("./dependenciesAny/dependenciesExp.generated.js"),_dependenciesExpm1Generated=require("./dependenciesAny/dependenciesExpm1.generated.js"),_dependenciesFixGenerated=require("./dependenciesAny/dependenciesFix.generated.js"),_dependenciesFloorGenerated=require("./dependenciesAny/dependenciesFloor.generated.js"),_dependenciesGcdGenerated=require("./dependenciesAny/dependenciesGcd.generated.js"),_dependenciesLcmGenerated=require("./dependenciesAny/dependenciesLcm.generated.js"),_dependenciesLog10Generated=require("./dependenciesAny/dependenciesLog10.generated.js"),_dependenciesLog2Generated=require("./dependenciesAny/dependenciesLog2.generated.js"),_dependenciesModGenerated=require("./dependenciesAny/dependenciesMod.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesAny/dependenciesMultiplyScalar.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesAny/dependenciesMultiply.generated.js"),_dependenciesNthRootGenerated=require("./dependenciesAny/dependenciesNthRoot.generated.js"),_dependenciesSignGenerated=require("./dependenciesAny/dependenciesSign.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesAny/dependenciesSqrt.generated.js"),_dependenciesSquareGenerated=require("./dependenciesAny/dependenciesSquare.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesAny/dependenciesSubtract.generated.js"),_dependenciesXgcdGenerated=require("./dependenciesAny/dependenciesXgcd.generated.js"),_dependenciesDotMultiplyGenerated=require("./dependenciesAny/dependenciesDotMultiply.generated.js"),_dependenciesBitAndGenerated=require("./dependenciesAny/dependenciesBitAnd.generated.js"),_dependenciesBitNotGenerated=require("./dependenciesAny/dependenciesBitNot.generated.js"),_dependenciesBitOrGenerated=require("./dependenciesAny/dependenciesBitOr.generated.js"),_dependenciesBitXorGenerated=require("./dependenciesAny/dependenciesBitXor.generated.js"),_dependenciesArgGenerated=require("./dependenciesAny/dependenciesArg.generated.js"),_dependenciesConjGenerated=require("./dependenciesAny/dependenciesConj.generated.js"),_dependenciesImGenerated=require("./dependenciesAny/dependenciesIm.generated.js"),_dependenciesReGenerated=require("./dependenciesAny/dependenciesRe.generated.js"),_dependenciesNotGenerated=require("./dependenciesAny/dependenciesNot.generated.js"),_dependenciesOrGenerated=require("./dependenciesAny/dependenciesOr.generated.js"),_dependenciesXorGenerated=require("./dependenciesAny/dependenciesXor.generated.js"),_dependenciesConcatGenerated=require("./dependenciesAny/dependenciesConcat.generated.js"),_dependenciesColumnGenerated=require("./dependenciesAny/dependenciesColumn.generated.js"),_dependenciesCountGenerated=require("./dependenciesAny/dependenciesCount.generated.js"),_dependenciesCrossGenerated=require("./dependenciesAny/dependenciesCross.generated.js"),_dependenciesDiagGenerated=require("./dependenciesAny/dependenciesDiag.generated.js"),_dependenciesFilterGenerated=require("./dependenciesAny/dependenciesFilter.generated.js"),_dependenciesFlattenGenerated=require("./dependenciesAny/dependenciesFlatten.generated.js"),_dependenciesForEachGenerated=require("./dependenciesAny/dependenciesForEach.generated.js"),_dependenciesGetMatrixDataTypeGenerated=require("./dependenciesAny/dependenciesGetMatrixDataType.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesAny/dependenciesIdentity.generated.js"),_dependenciesKronGenerated=require("./dependenciesAny/dependenciesKron.generated.js"),_dependenciesMapGenerated=require("./dependenciesAny/dependenciesMap.generated.js"),_dependenciesDiffGenerated=require("./dependenciesAny/dependenciesDiff.generated.js"),_dependenciesOnesGenerated=require("./dependenciesAny/dependenciesOnes.generated.js"),_dependenciesRangeGenerated=require("./dependenciesAny/dependenciesRange.generated.js"),_dependenciesReshapeGenerated=require("./dependenciesAny/dependenciesReshape.generated.js"),_dependenciesResizeGenerated=require("./dependenciesAny/dependenciesResize.generated.js"),_dependenciesRotateGenerated=require("./dependenciesAny/dependenciesRotate.generated.js"),_dependenciesRotationMatrixGenerated=require("./dependenciesAny/dependenciesRotationMatrix.generated.js"),_dependenciesRowGenerated=require("./dependenciesAny/dependenciesRow.generated.js"),_dependenciesSizeGenerated=require("./dependenciesAny/dependenciesSize.generated.js"),_dependenciesSqueezeGenerated=require("./dependenciesAny/dependenciesSqueeze.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesAny/dependenciesSubset.generated.js"),_dependenciesTransposeGenerated=require("./dependenciesAny/dependenciesTranspose.generated.js"),_dependenciesCtransposeGenerated=require("./dependenciesAny/dependenciesCtranspose.generated.js"),_dependenciesZerosGenerated=require("./dependenciesAny/dependenciesZeros.generated.js"),_dependenciesErfGenerated=require("./dependenciesAny/dependenciesErf.generated.js"),_dependenciesModeGenerated=require("./dependenciesAny/dependenciesMode.generated.js"),_dependenciesProdGenerated=require("./dependenciesAny/dependenciesProd.generated.js"),_dependenciesFormatGenerated=require("./dependenciesAny/dependenciesFormat.generated.js"),_dependenciesBinGenerated=require("./dependenciesAny/dependenciesBin.generated.js"),_dependenciesOctGenerated=require("./dependenciesAny/dependenciesOct.generated.js"),_dependenciesHexGenerated=require("./dependenciesAny/dependenciesHex.generated.js"),_dependenciesPrintGenerated=require("./dependenciesAny/dependenciesPrint.generated.js"),_dependenciesToGenerated=require("./dependenciesAny/dependenciesTo.generated.js"),_dependenciesIsPrimeGenerated=require("./dependenciesAny/dependenciesIsPrime.generated.js"),_dependenciesNumericGenerated=require("./dependenciesAny/dependenciesNumeric.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesAny/dependenciesDivideScalar.generated.js"),_dependenciesPowGenerated=require("./dependenciesAny/dependenciesPow.generated.js"),_dependenciesRoundGenerated=require("./dependenciesAny/dependenciesRound.generated.js"),_dependenciesLogGenerated=require("./dependenciesAny/dependenciesLog.generated.js"),_dependenciesLog1pGenerated=require("./dependenciesAny/dependenciesLog1p.generated.js"),_dependenciesNthRootsGenerated=require("./dependenciesAny/dependenciesNthRoots.generated.js"),_dependenciesDotPowGenerated=require("./dependenciesAny/dependenciesDotPow.generated.js"),_dependenciesDotDivideGenerated=require("./dependenciesAny/dependenciesDotDivide.generated.js"),_dependenciesLsolveGenerated=require("./dependenciesAny/dependenciesLsolve.generated.js"),_dependenciesUsolveGenerated=require("./dependenciesAny/dependenciesUsolve.generated.js"),_dependenciesLsolveAllGenerated=require("./dependenciesAny/dependenciesLsolveAll.generated.js"),_dependenciesUsolveAllGenerated=require("./dependenciesAny/dependenciesUsolveAll.generated.js"),_dependenciesLeftShiftGenerated=require("./dependenciesAny/dependenciesLeftShift.generated.js"),_dependenciesRightArithShiftGenerated=require("./dependenciesAny/dependenciesRightArithShift.generated.js"),_dependenciesRightLogShiftGenerated=require("./dependenciesAny/dependenciesRightLogShift.generated.js"),_dependenciesAndGenerated=require("./dependenciesAny/dependenciesAnd.generated.js"),_dependenciesCompareGenerated=require("./dependenciesAny/dependenciesCompare.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesAny/dependenciesCompareNatural.generated.js"),_dependenciesCompareTextGenerated=require("./dependenciesAny/dependenciesCompareText.generated.js"),_dependenciesEqualGenerated=require("./dependenciesAny/dependenciesEqual.generated.js"),_dependenciesEqualTextGenerated=require("./dependenciesAny/dependenciesEqualText.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesAny/dependenciesSmaller.generated.js"),_dependenciesSmallerEqGenerated=require("./dependenciesAny/dependenciesSmallerEq.generated.js"),_dependenciesLargerGenerated=require("./dependenciesAny/dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesAny/dependenciesLargerEq.generated.js"),_dependenciesDeepEqualGenerated=require("./dependenciesAny/dependenciesDeepEqual.generated.js"),_dependenciesUnequalGenerated=require("./dependenciesAny/dependenciesUnequal.generated.js"),_dependenciesPartitionSelectGenerated=require("./dependenciesAny/dependenciesPartitionSelect.generated.js"),_dependenciesSortGenerated=require("./dependenciesAny/dependenciesSort.generated.js"),_dependenciesMaxGenerated=require("./dependenciesAny/dependenciesMax.generated.js"),_dependenciesMinGenerated=require("./dependenciesAny/dependenciesMin.generated.js"),_dependenciesImmutableDenseMatrixClassGenerated=require("./dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesAny/dependenciesIndexClass.generated.js"),_dependenciesFibonacciHeapClassGenerated=require("./dependenciesAny/dependenciesFibonacciHeapClass.generated.js"),_dependenciesSpaClassGenerated=require("./dependenciesAny/dependenciesSpaClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesAny/dependenciesUnitClass.generated.js"),_dependenciesUnitFunctionGenerated=require("./dependenciesAny/dependenciesUnitFunction.generated.js"),_dependenciesSparseGenerated=require("./dependenciesAny/dependenciesSparse.generated.js"),_dependenciesCreateUnitGenerated=require("./dependenciesAny/dependenciesCreateUnit.generated.js"),_dependenciesAcosGenerated=require("./dependenciesAny/dependenciesAcos.generated.js"),_dependenciesAcoshGenerated=require("./dependenciesAny/dependenciesAcosh.generated.js"),_dependenciesAcotGenerated=require("./dependenciesAny/dependenciesAcot.generated.js"),_dependenciesAcothGenerated=require("./dependenciesAny/dependenciesAcoth.generated.js"),_dependenciesAcscGenerated=require("./dependenciesAny/dependenciesAcsc.generated.js"),_dependenciesAcschGenerated=require("./dependenciesAny/dependenciesAcsch.generated.js"),_dependenciesAsecGenerated=require("./dependenciesAny/dependenciesAsec.generated.js"),_dependenciesAsechGenerated=require("./dependenciesAny/dependenciesAsech.generated.js"),_dependenciesAsinGenerated=require("./dependenciesAny/dependenciesAsin.generated.js"),_dependenciesAsinhGenerated=require("./dependenciesAny/dependenciesAsinh.generated.js"),_dependenciesAtanGenerated=require("./dependenciesAny/dependenciesAtan.generated.js"),_dependenciesAtan2Generated=require("./dependenciesAny/dependenciesAtan2.generated.js"),_dependenciesAtanhGenerated=require("./dependenciesAny/dependenciesAtanh.generated.js"),_dependenciesCosGenerated=require("./dependenciesAny/dependenciesCos.generated.js"),_dependenciesCoshGenerated=require("./dependenciesAny/dependenciesCosh.generated.js"),_dependenciesCotGenerated=require("./dependenciesAny/dependenciesCot.generated.js"),_dependenciesCothGenerated=require("./dependenciesAny/dependenciesCoth.generated.js"),_dependenciesCscGenerated=require("./dependenciesAny/dependenciesCsc.generated.js"),_dependenciesCschGenerated=require("./dependenciesAny/dependenciesCsch.generated.js"),_dependenciesSecGenerated=require("./dependenciesAny/dependenciesSec.generated.js"),_dependenciesSechGenerated=require("./dependenciesAny/dependenciesSech.generated.js"),_dependenciesSinGenerated=require("./dependenciesAny/dependenciesSin.generated.js"),_dependenciesSinhGenerated=require("./dependenciesAny/dependenciesSinh.generated.js"),_dependenciesTanGenerated=require("./dependenciesAny/dependenciesTan.generated.js"),_dependenciesTanhGenerated=require("./dependenciesAny/dependenciesTanh.generated.js"),_dependenciesSetCartesianGenerated=require("./dependenciesAny/dependenciesSetCartesian.generated.js"),_dependenciesSetDifferenceGenerated=require("./dependenciesAny/dependenciesSetDifference.generated.js"),_dependenciesSetDistinctGenerated=require("./dependenciesAny/dependenciesSetDistinct.generated.js"),_dependenciesSetIntersectGenerated=require("./dependenciesAny/dependenciesSetIntersect.generated.js"),_dependenciesSetIsSubsetGenerated=require("./dependenciesAny/dependenciesSetIsSubset.generated.js"),_dependenciesSetMultiplicityGenerated=require("./dependenciesAny/dependenciesSetMultiplicity.generated.js"),_dependenciesSetPowersetGenerated=require("./dependenciesAny/dependenciesSetPowerset.generated.js"),_dependenciesSetSizeGenerated=require("./dependenciesAny/dependenciesSetSize.generated.js"),_dependenciesSetSymDifferenceGenerated=require("./dependenciesAny/dependenciesSetSymDifference.generated.js"),_dependenciesSetUnionGenerated=require("./dependenciesAny/dependenciesSetUnion.generated.js"),_dependenciesAddGenerated=require("./dependenciesAny/dependenciesAdd.generated.js"),_dependenciesHypotGenerated=require("./dependenciesAny/dependenciesHypot.generated.js"),_dependenciesNormGenerated=require("./dependenciesAny/dependenciesNorm.generated.js"),_dependenciesDotGenerated=require("./dependenciesAny/dependenciesDot.generated.js"),_dependenciesTraceGenerated=require("./dependenciesAny/dependenciesTrace.generated.js"),_dependenciesIndexGenerated=require("./dependenciesAny/dependenciesIndex.generated.js"),_dependenciesNodeGenerated=require("./dependenciesAny/dependenciesNode.generated.js"),_dependenciesAccessorNodeGenerated=require("./dependenciesAny/dependenciesAccessorNode.generated.js"),_dependenciesArrayNodeGenerated=require("./dependenciesAny/dependenciesArrayNode.generated.js"),_dependenciesAssignmentNodeGenerated=require("./dependenciesAny/dependenciesAssignmentNode.generated.js"),_dependenciesBlockNodeGenerated=require("./dependenciesAny/dependenciesBlockNode.generated.js"),_dependenciesConditionalNodeGenerated=require("./dependenciesAny/dependenciesConditionalNode.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesAny/dependenciesConstantNode.generated.js"),_dependenciesFunctionAssignmentNodeGenerated=require("./dependenciesAny/dependenciesFunctionAssignmentNode.generated.js"),_dependenciesIndexNodeGenerated=require("./dependenciesAny/dependenciesIndexNode.generated.js"),_dependenciesObjectNodeGenerated=require("./dependenciesAny/dependenciesObjectNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesAny/dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesAny/dependenciesParenthesisNode.generated.js"),_dependenciesRangeNodeGenerated=require("./dependenciesAny/dependenciesRangeNode.generated.js"),_dependenciesRelationalNodeGenerated=require("./dependenciesAny/dependenciesRelationalNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesAny/dependenciesSymbolNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesAny/dependenciesFunctionNode.generated.js"),_dependenciesParseGenerated=require("./dependenciesAny/dependenciesParse.generated.js"),_dependenciesCompileGenerated=require("./dependenciesAny/dependenciesCompile.generated.js"),_dependenciesEvaluateGenerated=require("./dependenciesAny/dependenciesEvaluate.generated.js"),_dependenciesParserClassGenerated=require("./dependenciesAny/dependenciesParserClass.generated.js"),_dependenciesParserGenerated=require("./dependenciesAny/dependenciesParser.generated.js"),_dependenciesLupGenerated=require("./dependenciesAny/dependenciesLup.generated.js"),_dependenciesQrGenerated=require("./dependenciesAny/dependenciesQr.generated.js"),_dependenciesSluGenerated=require("./dependenciesAny/dependenciesSlu.generated.js"),_dependenciesLusolveGenerated=require("./dependenciesAny/dependenciesLusolve.generated.js"),_dependenciesHelpClassGenerated=require("./dependenciesAny/dependenciesHelpClass.generated.js"),_dependenciesChainClassGenerated=require("./dependenciesAny/dependenciesChainClass.generated.js"),_dependenciesHelpGenerated=require("./dependenciesAny/dependenciesHelp.generated.js"),_dependenciesChainGenerated=require("./dependenciesAny/dependenciesChain.generated.js"),_dependenciesDetGenerated=require("./dependenciesAny/dependenciesDet.generated.js"),_dependenciesInvGenerated=require("./dependenciesAny/dependenciesInv.generated.js"),_dependenciesEigsGenerated=require("./dependenciesAny/dependenciesEigs.generated.js"),_dependenciesExpmGenerated=require("./dependenciesAny/dependenciesExpm.generated.js"),_dependenciesSqrtmGenerated=require("./dependenciesAny/dependenciesSqrtm.generated.js"),_dependenciesDivideGenerated=require("./dependenciesAny/dependenciesDivide.generated.js"),_dependenciesDistanceGenerated=require("./dependenciesAny/dependenciesDistance.generated.js"),_dependenciesIntersectGenerated=require("./dependenciesAny/dependenciesIntersect.generated.js"),_dependenciesSumGenerated=require("./dependenciesAny/dependenciesSum.generated.js"),_dependenciesMeanGenerated=require("./dependenciesAny/dependenciesMean.generated.js"),_dependenciesMedianGenerated=require("./dependenciesAny/dependenciesMedian.generated.js"),_dependenciesMadGenerated=require("./dependenciesAny/dependenciesMad.generated.js"),_dependenciesVarianceGenerated=require("./dependenciesAny/dependenciesVariance.generated.js"),_dependenciesQuantileSeqGenerated=require("./dependenciesAny/dependenciesQuantileSeq.generated.js"),_dependenciesStdGenerated=require("./dependenciesAny/dependenciesStd.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesAny/dependenciesCombinations.generated.js"),_dependenciesCombinationsWithRepGenerated=require("./dependenciesAny/dependenciesCombinationsWithRep.generated.js"),_dependenciesGammaGenerated=require("./dependenciesAny/dependenciesGamma.generated.js"),_dependenciesFactorialGenerated=require("./dependenciesAny/dependenciesFactorial.generated.js"),_dependenciesKldivergenceGenerated=require("./dependenciesAny/dependenciesKldivergence.generated.js"),_dependenciesMultinomialGenerated=require("./dependenciesAny/dependenciesMultinomial.generated.js"),_dependenciesPermutationsGenerated=require("./dependenciesAny/dependenciesPermutations.generated.js"),_dependenciesPickRandomGenerated=require("./dependenciesAny/dependenciesPickRandom.generated.js"),_dependenciesRandomGenerated=require("./dependenciesAny/dependenciesRandom.generated.js"),_dependenciesRandomIntGenerated=require("./dependenciesAny/dependenciesRandomInt.generated.js"),_dependenciesStirlingS2Generated=require("./dependenciesAny/dependenciesStirlingS2.generated.js"),_dependenciesBellNumbersGenerated=require("./dependenciesAny/dependenciesBellNumbers.generated.js"),_dependenciesCatalanGenerated=require("./dependenciesAny/dependenciesCatalan.generated.js"),_dependenciesCompositionGenerated=require("./dependenciesAny/dependenciesComposition.generated.js"),_dependenciesSimplifyGenerated=require("./dependenciesAny/dependenciesSimplify.generated.js"),_dependenciesDerivativeGenerated=require("./dependenciesAny/dependenciesDerivative.generated.js"),_dependenciesRationalizeGenerated=require("./dependenciesAny/dependenciesRationalize.generated.js"),_dependenciesReviverGenerated=require("./dependenciesAny/dependenciesReviver.generated.js"),_dependenciesReplacerGenerated=require("./dependenciesAny/dependenciesReplacer.generated.js"),_dependenciesEGenerated=require("./dependenciesAny/dependenciesE.generated.js"),_dependenciesUppercaseEGenerated=require("./dependenciesAny/dependenciesUppercaseE.generated.js"),_dependenciesFalseGenerated=require("./dependenciesAny/dependenciesFalse.generated.js"),_dependenciesIGenerated=require("./dependenciesAny/dependenciesI.generated.js"),_dependenciesInfinityGenerated=require("./dependenciesAny/dependenciesInfinity.generated.js"),_dependenciesLN10Generated=require("./dependenciesAny/dependenciesLN10.generated.js"),_dependenciesLN2Generated=require("./dependenciesAny/dependenciesLN2.generated.js"),_dependenciesLOG10EGenerated=require("./dependenciesAny/dependenciesLOG10E.generated.js"),_dependenciesLOG2EGenerated=require("./dependenciesAny/dependenciesLOG2E.generated.js"),_dependenciesNaNGenerated=require("./dependenciesAny/dependenciesNaN.generated.js"),_dependenciesNullGenerated=require("./dependenciesAny/dependenciesNull.generated.js"),_dependenciesPhiGenerated=require("./dependenciesAny/dependenciesPhi.generated.js"),_dependenciesPiGenerated=require("./dependenciesAny/dependenciesPi.generated.js"),_dependenciesUppercasePiGenerated=require("./dependenciesAny/dependenciesUppercasePi.generated.js"),_dependenciesSQRT1_2Generated=require("./dependenciesAny/dependenciesSQRT1_2.generated.js"),_dependenciesSQRT2Generated=require("./dependenciesAny/dependenciesSQRT2.generated.js"),_dependenciesTauGenerated=require("./dependenciesAny/dependenciesTau.generated.js"),_dependenciesTrueGenerated=require("./dependenciesAny/dependenciesTrue.generated.js"),_dependenciesVersionGenerated=require("./dependenciesAny/dependenciesVersion.generated.js"),_dependenciesAtomicMassGenerated=require("./dependenciesAny/dependenciesAtomicMass.generated.js"),_dependenciesAvogadroGenerated=require("./dependenciesAny/dependenciesAvogadro.generated.js"),_dependenciesBohrMagnetonGenerated=require("./dependenciesAny/dependenciesBohrMagneton.generated.js"),_dependenciesBohrRadiusGenerated=require("./dependenciesAny/dependenciesBohrRadius.generated.js"),_dependenciesBoltzmannGenerated=require("./dependenciesAny/dependenciesBoltzmann.generated.js"),_dependenciesClassicalElectronRadiusGenerated=require("./dependenciesAny/dependenciesClassicalElectronRadius.generated.js"),_dependenciesConductanceQuantumGenerated=require("./dependenciesAny/dependenciesConductanceQuantum.generated.js"),_dependenciesCoulombGenerated=require("./dependenciesAny/dependenciesCoulomb.generated.js"),_dependenciesDeuteronMassGenerated=require("./dependenciesAny/dependenciesDeuteronMass.generated.js"),_dependenciesEfimovFactorGenerated=require("./dependenciesAny/dependenciesEfimovFactor.generated.js"),_dependenciesElectricConstantGenerated=require("./dependenciesAny/dependenciesElectricConstant.generated.js"),_dependenciesElectronMassGenerated=require("./dependenciesAny/dependenciesElectronMass.generated.js"),_dependenciesElementaryChargeGenerated=require("./dependenciesAny/dependenciesElementaryCharge.generated.js"),_dependenciesFaradayGenerated=require("./dependenciesAny/dependenciesFaraday.generated.js"),_dependenciesFermiCouplingGenerated=require("./dependenciesAny/dependenciesFermiCoupling.generated.js"),_dependenciesFineStructureGenerated=require("./dependenciesAny/dependenciesFineStructure.generated.js"),_dependenciesFirstRadiationGenerated=require("./dependenciesAny/dependenciesFirstRadiation.generated.js"),_dependenciesGasConstantGenerated=require("./dependenciesAny/dependenciesGasConstant.generated.js"),_dependenciesGravitationConstantGenerated=require("./dependenciesAny/dependenciesGravitationConstant.generated.js"),_dependenciesGravityGenerated=require("./dependenciesAny/dependenciesGravity.generated.js"),_dependenciesHartreeEnergyGenerated=require("./dependenciesAny/dependenciesHartreeEnergy.generated.js"),_dependenciesInverseConductanceQuantumGenerated=require("./dependenciesAny/dependenciesInverseConductanceQuantum.generated.js"),_dependenciesKlitzingGenerated=require("./dependenciesAny/dependenciesKlitzing.generated.js"),_dependenciesLoschmidtGenerated=require("./dependenciesAny/dependenciesLoschmidt.generated.js"),_dependenciesMagneticConstantGenerated=require("./dependenciesAny/dependenciesMagneticConstant.generated.js"),_dependenciesMagneticFluxQuantumGenerated=require("./dependenciesAny/dependenciesMagneticFluxQuantum.generated.js"),_dependenciesMolarMassGenerated=require("./dependenciesAny/dependenciesMolarMass.generated.js"),_dependenciesMolarMassC12Generated=require("./dependenciesAny/dependenciesMolarMassC12.generated.js"),_dependenciesMolarPlanckConstantGenerated=require("./dependenciesAny/dependenciesMolarPlanckConstant.generated.js"),_dependenciesMolarVolumeGenerated=require("./dependenciesAny/dependenciesMolarVolume.generated.js"),_dependenciesNeutronMassGenerated=require("./dependenciesAny/dependenciesNeutronMass.generated.js"),_dependenciesNuclearMagnetonGenerated=require("./dependenciesAny/dependenciesNuclearMagneton.generated.js"),_dependenciesPlanckChargeGenerated=require("./dependenciesAny/dependenciesPlanckCharge.generated.js"),_dependenciesPlanckConstantGenerated=require("./dependenciesAny/dependenciesPlanckConstant.generated.js"),_dependenciesPlanckLengthGenerated=require("./dependenciesAny/dependenciesPlanckLength.generated.js"),_dependenciesPlanckMassGenerated=require("./dependenciesAny/dependenciesPlanckMass.generated.js"),_dependenciesPlanckTemperatureGenerated=require("./dependenciesAny/dependenciesPlanckTemperature.generated.js"),_dependenciesPlanckTimeGenerated=require("./dependenciesAny/dependenciesPlanckTime.generated.js"),_dependenciesProtonMassGenerated=require("./dependenciesAny/dependenciesProtonMass.generated.js"),_dependenciesQuantumOfCirculationGenerated=require("./dependenciesAny/dependenciesQuantumOfCirculation.generated.js"),_dependenciesReducedPlanckConstantGenerated=require("./dependenciesAny/dependenciesReducedPlanckConstant.generated.js"),_dependenciesRydbergGenerated=require("./dependenciesAny/dependenciesRydberg.generated.js"),_dependenciesSackurTetrodeGenerated=require("./dependenciesAny/dependenciesSackurTetrode.generated.js"),_dependenciesSecondRadiationGenerated=require("./dependenciesAny/dependenciesSecondRadiation.generated.js"),_dependenciesSpeedOfLightGenerated=require("./dependenciesAny/dependenciesSpeedOfLight.generated.js"),_dependenciesStefanBoltzmannGenerated=require("./dependenciesAny/dependenciesStefanBoltzmann.generated.js"),_dependenciesThomsonCrossSectionGenerated=require("./dependenciesAny/dependenciesThomsonCrossSection.generated.js"),_dependenciesVacuumImpedanceGenerated=require("./dependenciesAny/dependenciesVacuumImpedance.generated.js"),_dependenciesWeakMixingAngleGenerated=require("./dependenciesAny/dependenciesWeakMixingAngle.generated.js"),_dependenciesWienDisplacementGenerated=require("./dependenciesAny/dependenciesWienDisplacement.generated.js"),_dependenciesApplyTransformGenerated=require("./dependenciesAny/dependenciesApplyTransform.generated.js"),_dependenciesColumnTransformGenerated=require("./dependenciesAny/dependenciesColumnTransform.generated.js"),_dependenciesFilterTransformGenerated=require("./dependenciesAny/dependenciesFilterTransform.generated.js"),_dependenciesForEachTransformGenerated=require("./dependenciesAny/dependenciesForEachTransform.generated.js"),_dependenciesIndexTransformGenerated=require("./dependenciesAny/dependenciesIndexTransform.generated.js"),_dependenciesMapTransformGenerated=require("./dependenciesAny/dependenciesMapTransform.generated.js"),_dependenciesMaxTransformGenerated=require("./dependenciesAny/dependenciesMaxTransform.generated.js"),_dependenciesMeanTransformGenerated=require("./dependenciesAny/dependenciesMeanTransform.generated.js"),_dependenciesMinTransformGenerated=require("./dependenciesAny/dependenciesMinTransform.generated.js"),_dependenciesRangeTransformGenerated=require("./dependenciesAny/dependenciesRangeTransform.generated.js"),_dependenciesRowTransformGenerated=require("./dependenciesAny/dependenciesRowTransform.generated.js"),_dependenciesSubsetTransformGenerated=require("./dependenciesAny/dependenciesSubsetTransform.generated.js"),_dependenciesConcatTransformGenerated=require("./dependenciesAny/dependenciesConcatTransform.generated.js"),_dependenciesDiffTransformGenerated=require("./dependenciesAny/dependenciesDiffTransform.generated.js"),_dependenciesStdTransformGenerated=require("./dependenciesAny/dependenciesStdTransform.generated.js"),_dependenciesSumTransformGenerated=require("./dependenciesAny/dependenciesSumTransform.generated.js"),_dependenciesVarianceTransformGenerated=require("./dependenciesAny/dependenciesVarianceTransform.generated.js"),_allFactoriesAny=require("./allFactoriesAny.js")},{"./allFactoriesAny.js":41,"./dependenciesAny/dependenciesAbs.generated.js":44,"./dependenciesAny/dependenciesAccessorNode.generated.js":45,"./dependenciesAny/dependenciesAcos.generated.js":46,"./dependenciesAny/dependenciesAcosh.generated.js":47,"./dependenciesAny/dependenciesAcot.generated.js":48,"./dependenciesAny/dependenciesAcoth.generated.js":49,"./dependenciesAny/dependenciesAcsc.generated.js":50,"./dependenciesAny/dependenciesAcsch.generated.js":51,"./dependenciesAny/dependenciesAdd.generated.js":52,"./dependenciesAny/dependenciesAddScalar.generated.js":53,"./dependenciesAny/dependenciesAnd.generated.js":54,"./dependenciesAny/dependenciesApply.generated.js":55,"./dependenciesAny/dependenciesApplyTransform.generated.js":56,"./dependenciesAny/dependenciesArg.generated.js":57,"./dependenciesAny/dependenciesArrayNode.generated.js":58,"./dependenciesAny/dependenciesAsec.generated.js":59,"./dependenciesAny/dependenciesAsech.generated.js":60,"./dependenciesAny/dependenciesAsin.generated.js":61,"./dependenciesAny/dependenciesAsinh.generated.js":62,"./dependenciesAny/dependenciesAssignmentNode.generated.js":63,"./dependenciesAny/dependenciesAtan.generated.js":64,"./dependenciesAny/dependenciesAtan2.generated.js":65,"./dependenciesAny/dependenciesAtanh.generated.js":66,"./dependenciesAny/dependenciesAtomicMass.generated.js":67,"./dependenciesAny/dependenciesAvogadro.generated.js":68,"./dependenciesAny/dependenciesBellNumbers.generated.js":69,"./dependenciesAny/dependenciesBigNumberClass.generated.js":70,"./dependenciesAny/dependenciesBignumber.generated.js":71,"./dependenciesAny/dependenciesBin.generated.js":72,"./dependenciesAny/dependenciesBitAnd.generated.js":73,"./dependenciesAny/dependenciesBitNot.generated.js":74,"./dependenciesAny/dependenciesBitOr.generated.js":75,"./dependenciesAny/dependenciesBitXor.generated.js":76,"./dependenciesAny/dependenciesBlockNode.generated.js":77,"./dependenciesAny/dependenciesBohrMagneton.generated.js":78,"./dependenciesAny/dependenciesBohrRadius.generated.js":79,"./dependenciesAny/dependenciesBoltzmann.generated.js":80,"./dependenciesAny/dependenciesBoolean.generated.js":81,"./dependenciesAny/dependenciesCatalan.generated.js":82,"./dependenciesAny/dependenciesCbrt.generated.js":83,"./dependenciesAny/dependenciesCeil.generated.js":84,"./dependenciesAny/dependenciesChain.generated.js":85,"./dependenciesAny/dependenciesChainClass.generated.js":86,"./dependenciesAny/dependenciesClassicalElectronRadius.generated.js":87,"./dependenciesAny/dependenciesClone.generated.js":88,"./dependenciesAny/dependenciesColumn.generated.js":89,"./dependenciesAny/dependenciesColumnTransform.generated.js":90,"./dependenciesAny/dependenciesCombinations.generated.js":91,"./dependenciesAny/dependenciesCombinationsWithRep.generated.js":92,"./dependenciesAny/dependenciesCompare.generated.js":93,"./dependenciesAny/dependenciesCompareNatural.generated.js":94,"./dependenciesAny/dependenciesCompareText.generated.js":95,"./dependenciesAny/dependenciesCompile.generated.js":96,"./dependenciesAny/dependenciesComplex.generated.js":97,"./dependenciesAny/dependenciesComplexClass.generated.js":98,"./dependenciesAny/dependenciesComposition.generated.js":99,"./dependenciesAny/dependenciesConcat.generated.js":100,"./dependenciesAny/dependenciesConcatTransform.generated.js":101,"./dependenciesAny/dependenciesConditionalNode.generated.js":102,"./dependenciesAny/dependenciesConductanceQuantum.generated.js":103,"./dependenciesAny/dependenciesConj.generated.js":104,"./dependenciesAny/dependenciesConstantNode.generated.js":105,"./dependenciesAny/dependenciesCos.generated.js":106,"./dependenciesAny/dependenciesCosh.generated.js":107,"./dependenciesAny/dependenciesCot.generated.js":108,"./dependenciesAny/dependenciesCoth.generated.js":109,"./dependenciesAny/dependenciesCoulomb.generated.js":110,"./dependenciesAny/dependenciesCount.generated.js":111,"./dependenciesAny/dependenciesCreateUnit.generated.js":112,"./dependenciesAny/dependenciesCross.generated.js":113,"./dependenciesAny/dependenciesCsc.generated.js":114,"./dependenciesAny/dependenciesCsch.generated.js":115,"./dependenciesAny/dependenciesCtranspose.generated.js":116,"./dependenciesAny/dependenciesCube.generated.js":117,"./dependenciesAny/dependenciesDeepEqual.generated.js":118,"./dependenciesAny/dependenciesDenseMatrixClass.generated.js":119,"./dependenciesAny/dependenciesDerivative.generated.js":120,"./dependenciesAny/dependenciesDet.generated.js":121,"./dependenciesAny/dependenciesDeuteronMass.generated.js":122,"./dependenciesAny/dependenciesDiag.generated.js":123,"./dependenciesAny/dependenciesDiff.generated.js":124,"./dependenciesAny/dependenciesDiffTransform.generated.js":125,"./dependenciesAny/dependenciesDistance.generated.js":126,"./dependenciesAny/dependenciesDivide.generated.js":127,"./dependenciesAny/dependenciesDivideScalar.generated.js":128,"./dependenciesAny/dependenciesDot.generated.js":129,"./dependenciesAny/dependenciesDotDivide.generated.js":130,"./dependenciesAny/dependenciesDotMultiply.generated.js":131,"./dependenciesAny/dependenciesDotPow.generated.js":132,"./dependenciesAny/dependenciesE.generated.js":133,"./dependenciesAny/dependenciesEfimovFactor.generated.js":134,"./dependenciesAny/dependenciesEigs.generated.js":135,"./dependenciesAny/dependenciesElectricConstant.generated.js":136,"./dependenciesAny/dependenciesElectronMass.generated.js":137,"./dependenciesAny/dependenciesElementaryCharge.generated.js":138,"./dependenciesAny/dependenciesEqual.generated.js":139,"./dependenciesAny/dependenciesEqualScalar.generated.js":140,"./dependenciesAny/dependenciesEqualText.generated.js":141,"./dependenciesAny/dependenciesErf.generated.js":142,"./dependenciesAny/dependenciesEvaluate.generated.js":143,"./dependenciesAny/dependenciesExp.generated.js":144,"./dependenciesAny/dependenciesExpm.generated.js":145,"./dependenciesAny/dependenciesExpm1.generated.js":146,"./dependenciesAny/dependenciesFactorial.generated.js":147,"./dependenciesAny/dependenciesFalse.generated.js":148,"./dependenciesAny/dependenciesFaraday.generated.js":149,"./dependenciesAny/dependenciesFermiCoupling.generated.js":150,"./dependenciesAny/dependenciesFibonacciHeapClass.generated.js":151,"./dependenciesAny/dependenciesFilter.generated.js":152,"./dependenciesAny/dependenciesFilterTransform.generated.js":153,"./dependenciesAny/dependenciesFineStructure.generated.js":154,"./dependenciesAny/dependenciesFirstRadiation.generated.js":155,"./dependenciesAny/dependenciesFix.generated.js":156,"./dependenciesAny/dependenciesFlatten.generated.js":157,"./dependenciesAny/dependenciesFloor.generated.js":158,"./dependenciesAny/dependenciesForEach.generated.js":159,"./dependenciesAny/dependenciesForEachTransform.generated.js":160,"./dependenciesAny/dependenciesFormat.generated.js":161,"./dependenciesAny/dependenciesFraction.generated.js":162,"./dependenciesAny/dependenciesFractionClass.generated.js":163,"./dependenciesAny/dependenciesFunctionAssignmentNode.generated.js":164,"./dependenciesAny/dependenciesFunctionNode.generated.js":165,"./dependenciesAny/dependenciesGamma.generated.js":166,"./dependenciesAny/dependenciesGasConstant.generated.js":167,"./dependenciesAny/dependenciesGcd.generated.js":168,"./dependenciesAny/dependenciesGetMatrixDataType.generated.js":169,"./dependenciesAny/dependenciesGravitationConstant.generated.js":170,"./dependenciesAny/dependenciesGravity.generated.js":171,"./dependenciesAny/dependenciesHartreeEnergy.generated.js":172,"./dependenciesAny/dependenciesHasNumericValue.generated.js":173,"./dependenciesAny/dependenciesHelp.generated.js":174,"./dependenciesAny/dependenciesHelpClass.generated.js":175,"./dependenciesAny/dependenciesHex.generated.js":176,"./dependenciesAny/dependenciesHypot.generated.js":177,"./dependenciesAny/dependenciesI.generated.js":178,"./dependenciesAny/dependenciesIdentity.generated.js":179,"./dependenciesAny/dependenciesIm.generated.js":180,"./dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js":181,"./dependenciesAny/dependenciesIndex.generated.js":182,"./dependenciesAny/dependenciesIndexClass.generated.js":183,"./dependenciesAny/dependenciesIndexNode.generated.js":184,"./dependenciesAny/dependenciesIndexTransform.generated.js":185,"./dependenciesAny/dependenciesInfinity.generated.js":186,"./dependenciesAny/dependenciesIntersect.generated.js":187,"./dependenciesAny/dependenciesInv.generated.js":188,"./dependenciesAny/dependenciesInverseConductanceQuantum.generated.js":189,"./dependenciesAny/dependenciesIsInteger.generated.js":190,"./dependenciesAny/dependenciesIsNaN.generated.js":191,"./dependenciesAny/dependenciesIsNegative.generated.js":192,"./dependenciesAny/dependenciesIsNumeric.generated.js":193,"./dependenciesAny/dependenciesIsPositive.generated.js":194,"./dependenciesAny/dependenciesIsPrime.generated.js":195,"./dependenciesAny/dependenciesIsZero.generated.js":196,"./dependenciesAny/dependenciesKldivergence.generated.js":197,"./dependenciesAny/dependenciesKlitzing.generated.js":198,"./dependenciesAny/dependenciesKron.generated.js":199,"./dependenciesAny/dependenciesLN10.generated.js":200,"./dependenciesAny/dependenciesLN2.generated.js":201,"./dependenciesAny/dependenciesLOG10E.generated.js":202,"./dependenciesAny/dependenciesLOG2E.generated.js":203,"./dependenciesAny/dependenciesLarger.generated.js":204,"./dependenciesAny/dependenciesLargerEq.generated.js":205,"./dependenciesAny/dependenciesLcm.generated.js":206,"./dependenciesAny/dependenciesLeftShift.generated.js":207,"./dependenciesAny/dependenciesLog.generated.js":208,"./dependenciesAny/dependenciesLog10.generated.js":209,"./dependenciesAny/dependenciesLog1p.generated.js":210,"./dependenciesAny/dependenciesLog2.generated.js":211,"./dependenciesAny/dependenciesLoschmidt.generated.js":212,"./dependenciesAny/dependenciesLsolve.generated.js":213,"./dependenciesAny/dependenciesLsolveAll.generated.js":214,"./dependenciesAny/dependenciesLup.generated.js":215,"./dependenciesAny/dependenciesLusolve.generated.js":216,"./dependenciesAny/dependenciesMad.generated.js":217,"./dependenciesAny/dependenciesMagneticConstant.generated.js":218,"./dependenciesAny/dependenciesMagneticFluxQuantum.generated.js":219,"./dependenciesAny/dependenciesMap.generated.js":220,"./dependenciesAny/dependenciesMapTransform.generated.js":221,"./dependenciesAny/dependenciesMatrix.generated.js":222,"./dependenciesAny/dependenciesMatrixClass.generated.js":223,"./dependenciesAny/dependenciesMatrixFromColumns.generated.js":224,"./dependenciesAny/dependenciesMatrixFromFunction.generated.js":225,"./dependenciesAny/dependenciesMatrixFromRows.generated.js":226,"./dependenciesAny/dependenciesMax.generated.js":227,"./dependenciesAny/dependenciesMaxTransform.generated.js":228,"./dependenciesAny/dependenciesMean.generated.js":229,"./dependenciesAny/dependenciesMeanTransform.generated.js":230,"./dependenciesAny/dependenciesMedian.generated.js":231,"./dependenciesAny/dependenciesMin.generated.js":232,"./dependenciesAny/dependenciesMinTransform.generated.js":233,"./dependenciesAny/dependenciesMod.generated.js":234,"./dependenciesAny/dependenciesMode.generated.js":235,"./dependenciesAny/dependenciesMolarMass.generated.js":236,"./dependenciesAny/dependenciesMolarMassC12.generated.js":237,"./dependenciesAny/dependenciesMolarPlanckConstant.generated.js":238,"./dependenciesAny/dependenciesMolarVolume.generated.js":239,"./dependenciesAny/dependenciesMultinomial.generated.js":240,"./dependenciesAny/dependenciesMultiply.generated.js":241,"./dependenciesAny/dependenciesMultiplyScalar.generated.js":242,"./dependenciesAny/dependenciesNaN.generated.js":243,"./dependenciesAny/dependenciesNeutronMass.generated.js":244,"./dependenciesAny/dependenciesNode.generated.js":245,"./dependenciesAny/dependenciesNorm.generated.js":246,"./dependenciesAny/dependenciesNot.generated.js":247,"./dependenciesAny/dependenciesNthRoot.generated.js":248,"./dependenciesAny/dependenciesNthRoots.generated.js":249,"./dependenciesAny/dependenciesNuclearMagneton.generated.js":250,"./dependenciesAny/dependenciesNull.generated.js":251,"./dependenciesAny/dependenciesNumber.generated.js":252,"./dependenciesAny/dependenciesNumeric.generated.js":253,"./dependenciesAny/dependenciesObjectNode.generated.js":254,"./dependenciesAny/dependenciesOct.generated.js":255,"./dependenciesAny/dependenciesOnes.generated.js":256,"./dependenciesAny/dependenciesOperatorNode.generated.js":257,"./dependenciesAny/dependenciesOr.generated.js":258,"./dependenciesAny/dependenciesParenthesisNode.generated.js":259,"./dependenciesAny/dependenciesParse.generated.js":260,"./dependenciesAny/dependenciesParser.generated.js":261,"./dependenciesAny/dependenciesParserClass.generated.js":262,"./dependenciesAny/dependenciesPartitionSelect.generated.js":263,"./dependenciesAny/dependenciesPermutations.generated.js":264,"./dependenciesAny/dependenciesPhi.generated.js":265,"./dependenciesAny/dependenciesPi.generated.js":266,"./dependenciesAny/dependenciesPickRandom.generated.js":267,"./dependenciesAny/dependenciesPlanckCharge.generated.js":268,"./dependenciesAny/dependenciesPlanckConstant.generated.js":269,"./dependenciesAny/dependenciesPlanckLength.generated.js":270,"./dependenciesAny/dependenciesPlanckMass.generated.js":271,"./dependenciesAny/dependenciesPlanckTemperature.generated.js":272,"./dependenciesAny/dependenciesPlanckTime.generated.js":273,"./dependenciesAny/dependenciesPow.generated.js":274,"./dependenciesAny/dependenciesPrint.generated.js":275,"./dependenciesAny/dependenciesProd.generated.js":276,"./dependenciesAny/dependenciesProtonMass.generated.js":277,"./dependenciesAny/dependenciesQr.generated.js":278,"./dependenciesAny/dependenciesQuantileSeq.generated.js":279,"./dependenciesAny/dependenciesQuantumOfCirculation.generated.js":280,"./dependenciesAny/dependenciesRandom.generated.js":281,"./dependenciesAny/dependenciesRandomInt.generated.js":282,"./dependenciesAny/dependenciesRange.generated.js":283,"./dependenciesAny/dependenciesRangeClass.generated.js":284,"./dependenciesAny/dependenciesRangeNode.generated.js":285,"./dependenciesAny/dependenciesRangeTransform.generated.js":286,"./dependenciesAny/dependenciesRationalize.generated.js":287,"./dependenciesAny/dependenciesRe.generated.js":288,"./dependenciesAny/dependenciesReducedPlanckConstant.generated.js":289,"./dependenciesAny/dependenciesRelationalNode.generated.js":290,"./dependenciesAny/dependenciesReplacer.generated.js":291,"./dependenciesAny/dependenciesReshape.generated.js":292,"./dependenciesAny/dependenciesResize.generated.js":293,"./dependenciesAny/dependenciesResultSet.generated.js":294,"./dependenciesAny/dependenciesReviver.generated.js":295,"./dependenciesAny/dependenciesRightArithShift.generated.js":296,"./dependenciesAny/dependenciesRightLogShift.generated.js":297,"./dependenciesAny/dependenciesRotate.generated.js":298,"./dependenciesAny/dependenciesRotationMatrix.generated.js":299,"./dependenciesAny/dependenciesRound.generated.js":300,"./dependenciesAny/dependenciesRow.generated.js":301,"./dependenciesAny/dependenciesRowTransform.generated.js":302,"./dependenciesAny/dependenciesRydberg.generated.js":303,"./dependenciesAny/dependenciesSQRT1_2.generated.js":304,"./dependenciesAny/dependenciesSQRT2.generated.js":305,"./dependenciesAny/dependenciesSackurTetrode.generated.js":306,"./dependenciesAny/dependenciesSec.generated.js":307,"./dependenciesAny/dependenciesSech.generated.js":308,"./dependenciesAny/dependenciesSecondRadiation.generated.js":309,"./dependenciesAny/dependenciesSetCartesian.generated.js":310,"./dependenciesAny/dependenciesSetDifference.generated.js":311,"./dependenciesAny/dependenciesSetDistinct.generated.js":312,"./dependenciesAny/dependenciesSetIntersect.generated.js":313,"./dependenciesAny/dependenciesSetIsSubset.generated.js":314,"./dependenciesAny/dependenciesSetMultiplicity.generated.js":315,"./dependenciesAny/dependenciesSetPowerset.generated.js":316,"./dependenciesAny/dependenciesSetSize.generated.js":317,"./dependenciesAny/dependenciesSetSymDifference.generated.js":318,"./dependenciesAny/dependenciesSetUnion.generated.js":319,"./dependenciesAny/dependenciesSign.generated.js":320,"./dependenciesAny/dependenciesSimplify.generated.js":321,"./dependenciesAny/dependenciesSin.generated.js":322,"./dependenciesAny/dependenciesSinh.generated.js":323,"./dependenciesAny/dependenciesSize.generated.js":324,"./dependenciesAny/dependenciesSlu.generated.js":325,"./dependenciesAny/dependenciesSmaller.generated.js":326,"./dependenciesAny/dependenciesSmallerEq.generated.js":327,"./dependenciesAny/dependenciesSort.generated.js":328,"./dependenciesAny/dependenciesSpaClass.generated.js":329,"./dependenciesAny/dependenciesSparse.generated.js":330,"./dependenciesAny/dependenciesSparseMatrixClass.generated.js":331,"./dependenciesAny/dependenciesSpeedOfLight.generated.js":332,"./dependenciesAny/dependenciesSplitUnit.generated.js":333,"./dependenciesAny/dependenciesSqrt.generated.js":334,"./dependenciesAny/dependenciesSqrtm.generated.js":335,"./dependenciesAny/dependenciesSquare.generated.js":336,"./dependenciesAny/dependenciesSqueeze.generated.js":337,"./dependenciesAny/dependenciesStd.generated.js":338,"./dependenciesAny/dependenciesStdTransform.generated.js":339,"./dependenciesAny/dependenciesStefanBoltzmann.generated.js":340,"./dependenciesAny/dependenciesStirlingS2.generated.js":341,"./dependenciesAny/dependenciesString.generated.js":342,"./dependenciesAny/dependenciesSubset.generated.js":343,"./dependenciesAny/dependenciesSubsetTransform.generated.js":344,"./dependenciesAny/dependenciesSubtract.generated.js":345,"./dependenciesAny/dependenciesSum.generated.js":346,"./dependenciesAny/dependenciesSumTransform.generated.js":347,"./dependenciesAny/dependenciesSymbolNode.generated.js":348,"./dependenciesAny/dependenciesTan.generated.js":349,"./dependenciesAny/dependenciesTanh.generated.js":350,"./dependenciesAny/dependenciesTau.generated.js":351,"./dependenciesAny/dependenciesThomsonCrossSection.generated.js":352,"./dependenciesAny/dependenciesTo.generated.js":353,"./dependenciesAny/dependenciesTrace.generated.js":354,"./dependenciesAny/dependenciesTranspose.generated.js":355,"./dependenciesAny/dependenciesTrue.generated.js":356,"./dependenciesAny/dependenciesTypeOf.generated.js":357,"./dependenciesAny/dependenciesTyped.generated.js":358,"./dependenciesAny/dependenciesUnaryMinus.generated.js":359,"./dependenciesAny/dependenciesUnaryPlus.generated.js":360,"./dependenciesAny/dependenciesUnequal.generated.js":361,"./dependenciesAny/dependenciesUnitClass.generated.js":362,"./dependenciesAny/dependenciesUnitFunction.generated.js":363,"./dependenciesAny/dependenciesUppercaseE.generated.js":364,"./dependenciesAny/dependenciesUppercasePi.generated.js":365,"./dependenciesAny/dependenciesUsolve.generated.js":366,"./dependenciesAny/dependenciesUsolveAll.generated.js":367,"./dependenciesAny/dependenciesVacuumImpedance.generated.js":368,"./dependenciesAny/dependenciesVariance.generated.js":369,"./dependenciesAny/dependenciesVarianceTransform.generated.js":370,"./dependenciesAny/dependenciesVersion.generated.js":371,"./dependenciesAny/dependenciesWeakMixingAngle.generated.js":372,"./dependenciesAny/dependenciesWienDisplacement.generated.js":373,"./dependenciesAny/dependenciesXgcd.generated.js":374,"./dependenciesAny/dependenciesXor.generated.js":375,"./dependenciesAny/dependenciesZeros.generated.js":376}],44:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.absDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),absDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAbs:_factoriesAny.createAbs};exports.absDependencies=absDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],45:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AccessorNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_factoriesAny=require("../../factoriesAny.js"),AccessorNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,createAccessorNode:_factoriesAny.createAccessorNode};exports.AccessorNodeDependencies=AccessorNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesSubset.generated.js":343}],46:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acosDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acosDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcos:_factoriesAny.createAcos};exports.acosDependencies=acosDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],47:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acoshDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acoshDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcosh:_factoriesAny.createAcosh};exports.acoshDependencies=acoshDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],48:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acotDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acotDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcot:_factoriesAny.createAcot};exports.acotDependencies=acotDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],49:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acothDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acothDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcoth:_factoriesAny.createAcoth};exports.acothDependencies=acothDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],50:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acscDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acscDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcsc:_factoriesAny.createAcsc};exports.acscDependencies=acscDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],51:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acschDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acschDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcsch:_factoriesAny.createAcsch};exports.acschDependencies=acschDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],52:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),addDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAdd:_factoriesAny.createAdd};exports.addDependencies=addDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],53:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addScalarDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),addScalarDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAddScalar:_factoriesAny.createAddScalar};exports.addScalarDependencies=addScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],54:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.andDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNotGenerated=require("./dependenciesNot.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),andDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,notDependencies:_dependenciesNotGenerated.notDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createAnd:_factoriesAny.createAnd};exports.andDependencies=andDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesNot.generated.js":247,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],55:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.applyDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),applyDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createApply:_factoriesAny.createApply};exports.applyDependencies=applyDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesTyped.generated.js":358}],56:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.applyTransformDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),applyTransformDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createApplyTransform:_factoriesAny.createApplyTransform};exports.applyTransformDependencies=applyTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesTyped.generated.js":358}],57:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.argDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),argDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createArg:_factoriesAny.createArg};exports.argDependencies=argDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],58:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArrayNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ArrayNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createArrayNode:_factoriesAny.createArrayNode};exports.ArrayNodeDependencies=ArrayNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],59:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asecDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asecDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsec:_factoriesAny.createAsec};exports.asecDependencies=asecDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],60:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asechDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asechDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsech:_factoriesAny.createAsech};exports.asechDependencies=asechDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],61:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asinDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsin:_factoriesAny.createAsin};exports.asinDependencies=asinDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],62:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinhDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asinhDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsinh:_factoriesAny.createAsinh};exports.asinhDependencies=asinhDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],63:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AssignmentNodeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_factoriesAny=require("../../factoriesAny.js"),AssignmentNodeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,createAssignmentNode:_factoriesAny.createAssignmentNode};exports.AssignmentNodeDependencies=AssignmentNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesNode.generated.js":245,"./dependenciesSubset.generated.js":343}],64:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atanDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAtan:_factoriesAny.createAtan};exports.atanDependencies=atanDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],65:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atan2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atan2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAtan2:_factoriesAny.createAtan2};exports.atan2Dependencies=atan2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],66:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanhDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atanhDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAtanh:_factoriesAny.createAtanh};exports.atanhDependencies=atanhDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],67:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atomicMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atomicMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createAtomicMass:_factoriesAny.createAtomicMass};exports.atomicMassDependencies=atomicMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],68:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.avogadroDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),avogadroDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createAvogadro:_factoriesAny.createAvogadro};exports.avogadroDependencies=avogadroDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],69:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bellNumbersDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesStirlingS2Generated=require("./dependenciesStirlingS2.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bellNumbersDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,stirlingS2Dependencies:_dependenciesStirlingS2Generated.stirlingS2Dependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBellNumbers:_factoriesAny.createBellNumbers};exports.bellNumbersDependencies=bellNumbersDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesStirlingS2.generated.js":341,"./dependenciesTyped.generated.js":358}],70:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BigNumberDependencies=void 0;var BigNumberDependencies={createBigNumberClass:require("../../factoriesAny.js").createBigNumberClass};exports.BigNumberDependencies=BigNumberDependencies},{"../../factoriesAny.js":654}],71:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bignumberDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bignumberDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBignumber:_factoriesAny.createBignumber};exports.bignumberDependencies=bignumberDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],72:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.binDependencies=void 0;var _dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),binDependencies={formatDependencies:_dependenciesFormatGenerated.formatDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBin:_factoriesAny.createBin};exports.binDependencies=binDependencies},{"../../factoriesAny.js":654,"./dependenciesFormat.generated.js":161,"./dependenciesTyped.generated.js":358}],73:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitAndDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitAnd:_factoriesAny.createBitAnd};exports.bitAndDependencies=bitAndDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],74:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitNotDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitNotDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitNot:_factoriesAny.createBitNot};exports.bitNotDependencies=bitNotDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],75:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitOrDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitOrDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitOr:_factoriesAny.createBitOr};exports.bitOrDependencies=bitOrDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],76:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitXorDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitXorDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitXor:_factoriesAny.createBitXor};exports.bitXorDependencies=bitXorDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],77:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BlockNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesResultSetGenerated=require("./dependenciesResultSet.generated.js"),_factoriesAny=require("../../factoriesAny.js"),BlockNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,ResultSetDependencies:_dependenciesResultSetGenerated.ResultSetDependencies,createBlockNode:_factoriesAny.createBlockNode};exports.BlockNodeDependencies=BlockNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesResultSet.generated.js":294}],78:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bohrMagnetonDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bohrMagnetonDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createBohrMagneton:_factoriesAny.createBohrMagneton};exports.bohrMagnetonDependencies=bohrMagnetonDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],79:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bohrRadiusDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bohrRadiusDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createBohrRadius:_factoriesAny.createBohrRadius};exports.bohrRadiusDependencies=bohrRadiusDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],80:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.boltzmannDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),boltzmannDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createBoltzmann:_factoriesAny.createBoltzmann};exports.boltzmannDependencies=boltzmannDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],81:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.booleanDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),booleanDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBoolean:_factoriesAny.createBoolean};exports.booleanDependencies=booleanDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],82:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.catalanDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesCombinations.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),catalanDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,combinationsDependencies:_dependenciesCombinationsGenerated.combinationsDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCatalan:_factoriesAny.createCatalan};exports.catalanDependencies=catalanDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesCombinations.generated.js":91,"./dependenciesDivideScalar.generated.js":128,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],83:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cbrtDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cbrtDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createCbrt:_factoriesAny.createCbrt};exports.cbrtDependencies=cbrtDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesFractionClass.generated.js":163,"./dependenciesIsNegative.generated.js":192,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],84:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ceilDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRoundGenerated=require("./dependenciesRound.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ceilDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,roundDependencies:_dependenciesRoundGenerated.roundDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCeil:_factoriesAny.createCeil};exports.ceilDependencies=ceilDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesRound.generated.js":300,"./dependenciesTyped.generated.js":358}],85:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.chainDependencies=void 0;var _dependenciesChainClassGenerated=require("./dependenciesChainClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),chainDependencies={ChainDependencies:_dependenciesChainClassGenerated.ChainDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createChain:_factoriesAny.createChain};exports.chainDependencies=chainDependencies},{"../../factoriesAny.js":654,"./dependenciesChainClass.generated.js":86,"./dependenciesTyped.generated.js":358}],86:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChainDependencies=void 0;var ChainDependencies={createChainClass:require("../../factoriesAny.js").createChainClass};exports.ChainDependencies=ChainDependencies},{"../../factoriesAny.js":654}],87:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classicalElectronRadiusDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),classicalElectronRadiusDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createClassicalElectronRadius:_factoriesAny.createClassicalElectronRadius};exports.classicalElectronRadiusDependencies=classicalElectronRadiusDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],88:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cloneDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cloneDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createClone:_factoriesAny.createClone};exports.cloneDependencies=cloneDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],89:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.columnDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),columnDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createColumn:_factoriesAny.createColumn};exports.columnDependencies=columnDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],90:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.columnTransformDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),columnTransformDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createColumnTransform:_factoriesAny.createColumnTransform};exports.columnTransformDependencies=columnTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],91:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),combinationsDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCombinations:_factoriesAny.createCombinations};exports.combinationsDependencies=combinationsDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],92:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsWithRepDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),combinationsWithRepDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCombinationsWithRep:_factoriesAny.createCombinationsWithRep};exports.combinationsWithRepDependencies=combinationsWithRepDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],93:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compareDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompare:_factoriesAny.createCompare};exports.compareDependencies=compareDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesFractionClass.generated.js":163,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],94:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareNaturalDependencies=void 0;var _dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compareNaturalDependencies={compareDependencies:_dependenciesCompareGenerated.compareDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompareNatural:_factoriesAny.createCompareNatural};exports.compareNaturalDependencies=compareNaturalDependencies},{"../../factoriesAny.js":654,"./dependenciesCompare.generated.js":93,"./dependenciesTyped.generated.js":358}],95:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareTextDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compareTextDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompareText:_factoriesAny.createCompareText};exports.compareTextDependencies=compareTextDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],96:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compileDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compileDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompile:_factoriesAny.createCompile};exports.compileDependencies=compileDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260,"./dependenciesTyped.generated.js":358}],97:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.complexDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),complexDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createComplex:_factoriesAny.createComplex};exports.complexDependencies=complexDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],98:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComplexDependencies=void 0;var ComplexDependencies={createComplexClass:require("../../factoriesAny.js").createComplexClass};exports.ComplexDependencies=ComplexDependencies},{"../../factoriesAny.js":654}],99:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compositionDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesCombinations.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesIsPositive.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compositionDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,combinationsDependencies:_dependenciesCombinationsGenerated.combinationsDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,isPositiveDependencies:_dependenciesIsPositiveGenerated.isPositiveDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createComposition:_factoriesAny.createComposition};exports.compositionDependencies=compositionDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesCombinations.generated.js":91,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesIsPositive.generated.js":194,"./dependenciesLarger.generated.js":204,"./dependenciesTyped.generated.js":358}],100:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.concatDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),concatDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createConcat:_factoriesAny.createConcat};exports.concatDependencies=concatDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],101:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.concatTransformDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),concatTransformDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createConcatTransform:_factoriesAny.createConcatTransform};exports.concatTransformDependencies=concatTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],102:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConditionalNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ConditionalNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createConditionalNode:_factoriesAny.createConditionalNode};exports.ConditionalNodeDependencies=ConditionalNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],103:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conductanceQuantumDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),conductanceQuantumDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createConductanceQuantum:_factoriesAny.createConductanceQuantum};exports.conductanceQuantumDependencies=conductanceQuantumDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],104:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conjDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),conjDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createConj:_factoriesAny.createConj};exports.conjDependencies=conjDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],105:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConstantNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ConstantNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createConstantNode:_factoriesAny.createConstantNode};exports.ConstantNodeDependencies=ConstantNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],106:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cosDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cosDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCos:_factoriesAny.createCos};exports.cosDependencies=cosDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],107:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.coshDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),coshDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCosh:_factoriesAny.createCosh};exports.coshDependencies=coshDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],108:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cotDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cotDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCot:_factoriesAny.createCot};exports.cotDependencies=cotDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],109:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cothDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cothDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCoth:_factoriesAny.createCoth};exports.cothDependencies=cothDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],110:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.coulombDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),coulombDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createCoulomb:_factoriesAny.createCoulomb};exports.coulombDependencies=coulombDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],111:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.countDependencies=void 0;var _dependenciesProdGenerated=require("./dependenciesProd.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),countDependencies={prodDependencies:_dependenciesProdGenerated.prodDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCount:_factoriesAny.createCount};exports.countDependencies=countDependencies},{"../../factoriesAny.js":654,"./dependenciesProd.generated.js":276,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],112:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnitDependencies=void 0;var _dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),createUnitDependencies={UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCreateUnit:_factoriesAny.createCreateUnit};exports.createUnitDependencies=createUnitDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358,"./dependenciesUnitClass.generated.js":362}],113:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.crossDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),crossDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCross:_factoriesAny.createCross};exports.crossDependencies=crossDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],114:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cscDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cscDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCsc:_factoriesAny.createCsc};exports.cscDependencies=cscDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],115:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cschDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cschDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCsch:_factoriesAny.createCsch};exports.cschDependencies=cschDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],116:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ctransposeDependencies=void 0;var _dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesTransposeGenerated=require("./dependenciesTranspose.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ctransposeDependencies={conjDependencies:_dependenciesConjGenerated.conjDependencies,transposeDependencies:_dependenciesTransposeGenerated.transposeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCtranspose:_factoriesAny.createCtranspose};exports.ctransposeDependencies=ctransposeDependencies},{"../../factoriesAny.js":654,"./dependenciesConj.generated.js":104,"./dependenciesTranspose.generated.js":355,"./dependenciesTyped.generated.js":358}],117:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cubeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cubeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCube:_factoriesAny.createCube};exports.cubeDependencies=cubeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],118:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deepEqualDependencies=void 0;var _dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),deepEqualDependencies={equalDependencies:_dependenciesEqualGenerated.equalDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDeepEqual:_factoriesAny.createDeepEqual};exports.deepEqualDependencies=deepEqualDependencies},{"../../factoriesAny.js":654,"./dependenciesEqual.generated.js":139,"./dependenciesTyped.generated.js":358}],119:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DenseMatrixDependencies=void 0;var _dependenciesMatrixClassGenerated=require("./dependenciesMatrixClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),DenseMatrixDependencies={MatrixDependencies:_dependenciesMatrixClassGenerated.MatrixDependencies,createDenseMatrixClass:_factoriesAny.createDenseMatrixClass};exports.DenseMatrixDependencies=DenseMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrixClass.generated.js":223}],120:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.derivativeDependencies=void 0;var _dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesSimplifyGenerated=require("./dependenciesSimplify.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),derivativeDependencies={ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,parseDependencies:_dependenciesParseGenerated.parseDependencies,simplifyDependencies:_dependenciesSimplifyGenerated.simplifyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDerivative:_factoriesAny.createDerivative};exports.derivativeDependencies=derivativeDependencies},{"../../factoriesAny.js":654,"./dependenciesConstantNode.generated.js":105,"./dependenciesEqual.generated.js":139,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIsZero.generated.js":196,"./dependenciesNumeric.generated.js":253,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesParse.generated.js":260,"./dependenciesSimplify.generated.js":321,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],121:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.detDependencies=void 0;var _dependenciesLupGenerated=require("./dependenciesLup.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),detDependencies={lupDependencies:_dependenciesLupGenerated.lupDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createDet:_factoriesAny.createDet};exports.detDependencies=detDependencies},{"../../factoriesAny.js":654,"./dependenciesLup.generated.js":215,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],122:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deuteronMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),deuteronMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createDeuteronMass:_factoriesAny.createDeuteronMass};exports.deuteronMassDependencies=deuteronMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],123:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diagDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),diagDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDiag:_factoriesAny.createDiag};exports.diagDependencies=diagDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],124:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diffDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),diffDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDiff:_factoriesAny.createDiff};exports.diffDependencies=diffDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesNumber.generated.js":252,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],125:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diffTransformDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),diffTransformDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDiffTransform:_factoriesAny.createDiffTransform};exports.diffTransformDependencies=diffTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesMatrix.generated.js":222,"./dependenciesNumber.generated.js":252,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],126:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.distanceDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),distanceDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createDistance:_factoriesAny.createDistance};exports.distanceDependencies=distanceDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDivideScalar.generated.js":128,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],127:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.divideDependencies=void 0;var _dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),divideDependencies={divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDivide:_factoriesAny.createDivide};exports.divideDependencies=divideDependencies},{"../../factoriesAny.js":654,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesInv.generated.js":188,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358}],128:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.divideScalarDependencies=void 0;var _dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),divideScalarDependencies={numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDivideScalar:_factoriesAny.createDivideScalar};exports.divideScalarDependencies=divideScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],129:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,conjDependencies:_dependenciesConjGenerated.conjDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDot:_factoriesAny.createDot};exports.dotDependencies=dotDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesConj.generated.js":104,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],130:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotDivideDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotDivideDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDotDivide:_factoriesAny.createDotDivide};exports.dotDivideDependencies=dotDivideDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],131:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotMultiplyDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotMultiplyDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDotMultiply:_factoriesAny.createDotMultiply};exports.dotMultiplyDependencies=dotMultiplyDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],132:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotPowDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotPowDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDotPow:_factoriesAny.createDotPow};exports.dotPowDependencies=dotPowDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesPow.generated.js":274,"./dependenciesTyped.generated.js":358}],133:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.eDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),eDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createE:_factoriesAny.createE};exports.eDependencies=eDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],134:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.efimovFactorDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),efimovFactorDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createEfimovFactor:_factoriesAny.createEfimovFactor};exports.efimovFactorDependencies=efimovFactorDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],135:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.eigsDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesAtanGenerated=require("./dependenciesAtan.generated.js"),_dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesColumnGenerated=require("./dependenciesColumn.generated.js"),_dependenciesComplexGenerated=require("./dependenciesComplex.generated.js"),_dependenciesCosGenerated=require("./dependenciesCos.generated.js"),_dependenciesDiagGenerated=require("./dependenciesDiag.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesDotGenerated=require("./dependenciesDot.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesImGenerated=require("./dependenciesIm.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMatrixFromColumnsGenerated=require("./dependenciesMatrixFromColumns.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesQrGenerated=require("./dependenciesQr.generated.js"),_dependenciesReGenerated=require("./dependenciesRe.generated.js"),_dependenciesSinGenerated=require("./dependenciesSin.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUsolveGenerated=require("./dependenciesUsolve.generated.js"),_dependenciesUsolveAllGenerated=require("./dependenciesUsolveAll.generated.js"),_factoriesAny=require("../../factoriesAny.js"),eigsDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,atanDependencies:_dependenciesAtanGenerated.atanDependencies,bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,columnDependencies:_dependenciesColumnGenerated.columnDependencies,complexDependencies:_dependenciesComplexGenerated.complexDependencies,cosDependencies:_dependenciesCosGenerated.cosDependencies,diagDependencies:_dependenciesDiagGenerated.diagDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,dotDependencies:_dependenciesDotGenerated.dotDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,imDependencies:_dependenciesImGenerated.imDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,matrixFromColumnsDependencies:_dependenciesMatrixFromColumnsGenerated.matrixFromColumnsDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,qrDependencies:_dependenciesQrGenerated.qrDependencies,reDependencies:_dependenciesReGenerated.reDependencies,sinDependencies:_dependenciesSinGenerated.sinDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,usolveDependencies:_dependenciesUsolveGenerated.usolveDependencies,usolveAllDependencies:_dependenciesUsolveAllGenerated.usolveAllDependencies,createEigs:_factoriesAny.createEigs};exports.eigsDependencies=eigsDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesAddScalar.generated.js":53,"./dependenciesAtan.generated.js":64,"./dependenciesBignumber.generated.js":71,"./dependenciesColumn.generated.js":89,"./dependenciesComplex.generated.js":97,"./dependenciesCos.generated.js":106,"./dependenciesDiag.generated.js":123,"./dependenciesDivideScalar.generated.js":128,"./dependenciesDot.generated.js":129,"./dependenciesEqual.generated.js":139,"./dependenciesFlatten.generated.js":157,"./dependenciesIm.generated.js":180,"./dependenciesInv.generated.js":188,"./dependenciesLarger.generated.js":204,"./dependenciesMatrix.generated.js":222,"./dependenciesMatrixFromColumns.generated.js":224,"./dependenciesMultiply.generated.js":241,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNumber.generated.js":252,"./dependenciesQr.generated.js":278,"./dependenciesRe.generated.js":288,"./dependenciesSin.generated.js":322,"./dependenciesSmaller.generated.js":326,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUsolve.generated.js":366,"./dependenciesUsolveAll.generated.js":367}],136:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.electricConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),electricConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createElectricConstant:_factoriesAny.createElectricConstant};exports.electricConstantDependencies=electricConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],137:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.electronMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),electronMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createElectronMass:_factoriesAny.createElectronMass};exports.electronMassDependencies=electronMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],138:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.elementaryChargeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),elementaryChargeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createElementaryCharge:_factoriesAny.createElementaryCharge};exports.elementaryChargeDependencies=elementaryChargeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],139:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),equalDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEqual:_factoriesAny.createEqual};exports.equalDependencies=equalDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],140:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalScalarDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),equalScalarDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEqualScalar:_factoriesAny.createEqualScalar};exports.equalScalarDependencies=equalScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],141:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalTextDependencies=void 0;var _dependenciesCompareTextGenerated=require("./dependenciesCompareText.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),equalTextDependencies={compareTextDependencies:_dependenciesCompareTextGenerated.compareTextDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEqualText:_factoriesAny.createEqualText};exports.equalTextDependencies=equalTextDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareText.generated.js":95,"./dependenciesIsZero.generated.js":196,"./dependenciesTyped.generated.js":358}],142:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.erfDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),erfDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createErf:_factoriesAny.createErf};exports.erfDependencies=erfDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],143:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.evaluateDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),evaluateDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEvaluate:_factoriesAny.createEvaluate};exports.evaluateDependencies=evaluateDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260,"./dependenciesTyped.generated.js":358}],144:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.expDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),expDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createExp:_factoriesAny.createExp};exports.expDependencies=expDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],145:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.expmDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),expmDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createExpm:_factoriesAny.createExpm};exports.expmDependencies=expmDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesIdentity.generated.js":179,"./dependenciesInv.generated.js":188,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358}],146:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.expm1Dependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),expm1Dependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createExpm1:_factoriesAny.createExpm1};exports.expm1Dependencies=expm1Dependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],147:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.factorialDependencies=void 0;var _dependenciesGammaGenerated=require("./dependenciesGamma.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),factorialDependencies={gammaDependencies:_dependenciesGammaGenerated.gammaDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFactorial:_factoriesAny.createFactorial};exports.factorialDependencies=factorialDependencies},{"../../factoriesAny.js":654,"./dependenciesGamma.generated.js":166,"./dependenciesTyped.generated.js":358}],148:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.falseDependencies=void 0;var falseDependencies={createFalse:require("../../factoriesAny.js").createFalse};exports.falseDependencies=falseDependencies},{"../../factoriesAny.js":654}],149:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.faradayDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),faradayDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createFaraday:_factoriesAny.createFaraday};exports.faradayDependencies=faradayDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],150:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fermiCouplingDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fermiCouplingDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createFermiCoupling:_factoriesAny.createFermiCoupling};exports.fermiCouplingDependencies=fermiCouplingDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],151:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FibonacciHeapDependencies=void 0;var _dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_factoriesAny=require("../../factoriesAny.js"),FibonacciHeapDependencies={largerDependencies:_dependenciesLargerGenerated.largerDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,createFibonacciHeapClass:_factoriesAny.createFibonacciHeapClass};exports.FibonacciHeapDependencies=FibonacciHeapDependencies},{"../../factoriesAny.js":654,"./dependenciesLarger.generated.js":204,"./dependenciesSmaller.generated.js":326}],152:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),filterDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFilter:_factoriesAny.createFilter};exports.filterDependencies=filterDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],153:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterTransformDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),filterTransformDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFilterTransform:_factoriesAny.createFilterTransform};exports.filterTransformDependencies=filterTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],154:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fineStructureDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fineStructureDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createFineStructure:_factoriesAny.createFineStructure};exports.fineStructureDependencies=fineStructureDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],155:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.firstRadiationDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),firstRadiationDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createFirstRadiation:_factoriesAny.createFirstRadiation};exports.firstRadiationDependencies=firstRadiationDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],156:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fixDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesCeilGenerated=require("./dependenciesCeil.generated.js"),_dependenciesFloorGenerated=require("./dependenciesFloor.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fixDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,ceilDependencies:_dependenciesCeilGenerated.ceilDependencies,floorDependencies:_dependenciesFloorGenerated.floorDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFix:_factoriesAny.createFix};exports.fixDependencies=fixDependencies},{"../../factoriesAny.js":654,"./dependenciesCeil.generated.js":84,"./dependenciesComplexClass.generated.js":98,"./dependenciesFloor.generated.js":158,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],157:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.flattenDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),flattenDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFlatten:_factoriesAny.createFlatten};exports.flattenDependencies=flattenDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],158:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.floorDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRoundGenerated=require("./dependenciesRound.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),floorDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,roundDependencies:_dependenciesRoundGenerated.roundDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFloor:_factoriesAny.createFloor};exports.floorDependencies=floorDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesRound.generated.js":300,"./dependenciesTyped.generated.js":358}],159:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forEachDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),forEachDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createForEach:_factoriesAny.createForEach};exports.forEachDependencies=forEachDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],160:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forEachTransformDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),forEachTransformDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createForEachTransform:_factoriesAny.createForEachTransform};exports.forEachTransformDependencies=forEachTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],161:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),formatDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFormat:_factoriesAny.createFormat};exports.formatDependencies=formatDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],162:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fractionDependencies=void 0;var _dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fractionDependencies={FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFraction:_factoriesAny.createFraction};exports.fractionDependencies=fractionDependencies},{"../../factoriesAny.js":654,"./dependenciesFractionClass.generated.js":163,"./dependenciesTyped.generated.js":358}],163:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FractionDependencies=void 0;var FractionDependencies={createFractionClass:require("../../factoriesAny.js").createFractionClass};exports.FractionDependencies=FractionDependencies},{"../../factoriesAny.js":654}],164:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FunctionAssignmentNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),FunctionAssignmentNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFunctionAssignmentNode:_factoriesAny.createFunctionAssignmentNode};exports.FunctionAssignmentNodeDependencies=FunctionAssignmentNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesTyped.generated.js":358}],165:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FunctionNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),FunctionNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,createFunctionNode:_factoriesAny.createFunctionNode};exports.FunctionNodeDependencies=FunctionNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesSymbolNode.generated.js":348}],166:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gammaDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gammaDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createGamma:_factoriesAny.createGamma};exports.gammaDependencies=gammaDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesPow.generated.js":274,"./dependenciesTyped.generated.js":358}],167:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gasConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gasConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createGasConstant:_factoriesAny.createGasConstant};exports.gasConstantDependencies=gasConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],168:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gcdDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gcdDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createGcd:_factoriesAny.createGcd};exports.gcdDependencies=gcdDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],169:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getMatrixDataTypeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),getMatrixDataTypeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createGetMatrixDataType:_factoriesAny.createGetMatrixDataType};exports.getMatrixDataTypeDependencies=getMatrixDataTypeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],170:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gravitationConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gravitationConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createGravitationConstant:_factoriesAny.createGravitationConstant};exports.gravitationConstantDependencies=gravitationConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],171:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gravityDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gravityDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createGravity:_factoriesAny.createGravity};exports.gravityDependencies=gravityDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],172:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hartreeEnergyDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hartreeEnergyDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createHartreeEnergy:_factoriesAny.createHartreeEnergy};exports.hartreeEnergyDependencies=hartreeEnergyDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],173:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hasNumericValueDependencies=void 0;var _dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hasNumericValueDependencies={isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHasNumericValue:_factoriesAny.createHasNumericValue};exports.hasNumericValueDependencies=hasNumericValueDependencies},{"../../factoriesAny.js":654,"./dependenciesIsNumeric.generated.js":193,"./dependenciesTyped.generated.js":358}],174:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.helpDependencies=void 0;var _dependenciesHelpClassGenerated=require("./dependenciesHelpClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),helpDependencies={HelpDependencies:_dependenciesHelpClassGenerated.HelpDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHelp:_factoriesAny.createHelp};exports.helpDependencies=helpDependencies},{"../../factoriesAny.js":654,"./dependenciesHelpClass.generated.js":175,"./dependenciesTyped.generated.js":358}],175:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HelpDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_factoriesAny=require("../../factoriesAny.js"),HelpDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,createHelpClass:_factoriesAny.createHelpClass};exports.HelpDependencies=HelpDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260}],176:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hexDependencies=void 0;var _dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hexDependencies={formatDependencies:_dependenciesFormatGenerated.formatDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHex:_factoriesAny.createHex};exports.hexDependencies=hexDependencies},{"../../factoriesAny.js":654,"./dependenciesFormat.generated.js":161,"./dependenciesTyped.generated.js":358}],177:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hypotDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesIsPositive.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hypotDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,isPositiveDependencies:_dependenciesIsPositiveGenerated.isPositiveDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHypot:_factoriesAny.createHypot};exports.hypotDependencies=hypotDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDivideScalar.generated.js":128,"./dependenciesIsPositive.generated.js":194,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSmaller.generated.js":326,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358}],178:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),iDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,createI:_factoriesAny.createI};exports.iDependencies=iDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98}],179:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.identityDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),identityDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIdentity:_factoriesAny.createIdentity};exports.identityDependencies=identityDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],180:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.imDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),imDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIm:_factoriesAny.createIm};exports.imDependencies=imDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],181:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImmutableDenseMatrixDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ImmutableDenseMatrixDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,createImmutableDenseMatrixClass:_factoriesAny.createImmutableDenseMatrixClass};exports.ImmutableDenseMatrixDependencies=ImmutableDenseMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesSmaller.generated.js":326}],182:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.indexDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),indexDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIndex:_factoriesAny.createIndex};exports.indexDependencies=indexDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesTyped.generated.js":358}],183:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndexDependencies=void 0;var _dependenciesImmutableDenseMatrixClassGenerated=require("./dependenciesImmutableDenseMatrixClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),IndexDependencies={ImmutableDenseMatrixDependencies:_dependenciesImmutableDenseMatrixClassGenerated.ImmutableDenseMatrixDependencies,createIndexClass:_factoriesAny.createIndexClass};exports.IndexDependencies=IndexDependencies},{"../../factoriesAny.js":654,"./dependenciesImmutableDenseMatrixClass.generated.js":181}],184:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndexNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesRangeClassGenerated=require("./dependenciesRangeClass.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_factoriesAny=require("../../factoriesAny.js"),IndexNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,RangeDependencies:_dependenciesRangeClassGenerated.RangeDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,createIndexNode:_factoriesAny.createIndexNode};exports.IndexNodeDependencies=IndexNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesRangeClass.generated.js":284,"./dependenciesSize.generated.js":324}],185:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.indexTransformDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),indexTransformDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,createIndexTransform:_factoriesAny.createIndexTransform};exports.indexTransformDependencies=indexTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183}],186:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InfinityDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),InfinityDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createInfinity:_factoriesAny.createInfinity};exports.InfinityDependencies=InfinityDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],187:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.intersectDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),intersectDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIntersect:_factoriesAny.createIntersect};exports.intersectDependencies=intersectDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesAddScalar.generated.js":53,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSmaller.generated.js":326,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],188:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.invDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDetGenerated=require("./dependenciesDet.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),invDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,detDependencies:_dependenciesDetGenerated.detDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createInv:_factoriesAny.createInv};exports.invDependencies=invDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDet.generated.js":121,"./dependenciesDivideScalar.generated.js":128,"./dependenciesIdentity.generated.js":179,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],189:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.inverseConductanceQuantumDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),inverseConductanceQuantumDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createInverseConductanceQuantum:_factoriesAny.createInverseConductanceQuantum};exports.inverseConductanceQuantumDependencies=inverseConductanceQuantumDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],190:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIntegerDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isIntegerDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsInteger:_factoriesAny.createIsInteger};exports.isIntegerDependencies=isIntegerDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],191:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNaNDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isNaNDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsNaN:_factoriesAny.createIsNaN};exports.isNaNDependencies=isNaNDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],192:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNegativeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isNegativeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsNegative:_factoriesAny.createIsNegative};exports.isNegativeDependencies=isNegativeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],193:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNumericDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isNumericDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsNumeric:_factoriesAny.createIsNumeric};exports.isNumericDependencies=isNumericDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],194:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPositiveDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isPositiveDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsPositive:_factoriesAny.createIsPositive};exports.isPositiveDependencies=isPositiveDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],195:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPrimeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isPrimeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsPrime:_factoriesAny.createIsPrime};exports.isPrimeDependencies=isPrimeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],196:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isZeroDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isZeroDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsZero:_factoriesAny.createIsZero};exports.isZeroDependencies=isZeroDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],197:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kldivergenceDependencies=void 0;var _dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesDotDivideGenerated=require("./dependenciesDotDivide.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesLogGenerated=require("./dependenciesLog.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSumGenerated=require("./dependenciesSum.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),kldivergenceDependencies={divideDependencies:_dependenciesDivideGenerated.divideDependencies,dotDivideDependencies:_dependenciesDotDivideGenerated.dotDivideDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,logDependencies:_dependenciesLogGenerated.logDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,sumDependencies:_dependenciesSumGenerated.sumDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createKldivergence:_factoriesAny.createKldivergence};exports.kldivergenceDependencies=kldivergenceDependencies},{"../../factoriesAny.js":654,"./dependenciesDivide.generated.js":127,"./dependenciesDotDivide.generated.js":130,"./dependenciesIsNumeric.generated.js":193,"./dependenciesLog.generated.js":208,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesSum.generated.js":346,"./dependenciesTyped.generated.js":358}],198:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.klitzingDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),klitzingDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createKlitzing:_factoriesAny.createKlitzing};exports.klitzingDependencies=klitzingDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],199:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kronDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),kronDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createKron:_factoriesAny.createKron};exports.kronDependencies=kronDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],200:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LN10Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LN10Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLN10:_factoriesAny.createLN10};exports.LN10Dependencies=LN10Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],201:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LN2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LN2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLN2:_factoriesAny.createLN2};exports.LN2Dependencies=LN2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],202:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LOG10EDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LOG10EDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLOG10E:_factoriesAny.createLOG10E};exports.LOG10EDependencies=LOG10EDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],203:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LOG2EDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LOG2EDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLOG2E:_factoriesAny.createLOG2E};exports.LOG2EDependencies=LOG2EDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],204:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),largerDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLarger:_factoriesAny.createLarger};exports.largerDependencies=largerDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],205:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerEqDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),largerEqDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLargerEq:_factoriesAny.createLargerEq};exports.largerEqDependencies=largerEqDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],206:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lcmDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lcmDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLcm:_factoriesAny.createLcm};exports.lcmDependencies=lcmDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],207:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.leftShiftDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),leftShiftDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createLeftShift:_factoriesAny.createLeftShift};exports.leftShiftDependencies=leftShiftDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],208:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.logDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),logDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog:_factoriesAny.createLog};exports.logDependencies=logDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesTyped.generated.js":358}],209:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log10Dependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),log10Dependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog10:_factoriesAny.createLog10};exports.log10Dependencies=log10Dependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],210:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log1pDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesLogGenerated=require("./dependenciesLog.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),log1pDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,logDependencies:_dependenciesLogGenerated.logDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog1p:_factoriesAny.createLog1p};exports.log1pDependencies=log1pDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesLog.generated.js":208,"./dependenciesTyped.generated.js":358}],211:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log2Dependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),log2Dependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog2:_factoriesAny.createLog2};exports.log2Dependencies=log2Dependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],212:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.loschmidtDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),loschmidtDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createLoschmidt:_factoriesAny.createLoschmidt};exports.loschmidtDependencies=loschmidtDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],213:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lsolveDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lsolveDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLsolve:_factoriesAny.createLsolve};exports.lsolveDependencies=lsolveDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],214:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lsolveAllDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lsolveAllDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLsolveAll:_factoriesAny.createLsolveAll};exports.lsolveAllDependencies=lsolveAllDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],215:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lupDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSpaClassGenerated=require("./dependenciesSpaClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lupDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SpaDependencies:_dependenciesSpaClassGenerated.SpaDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createLup:_factoriesAny.createLup};exports.lupDependencies=lupDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesLarger.generated.js":204,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSpaClass.generated.js":329,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],216:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lusolveDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesLsolveGenerated=require("./dependenciesLsolve.generated.js"),_dependenciesLupGenerated=require("./dependenciesLup.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesSluGenerated=require("./dependenciesSlu.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUsolveGenerated=require("./dependenciesUsolve.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lusolveDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,lsolveDependencies:_dependenciesLsolveGenerated.lsolveDependencies,lupDependencies:_dependenciesLupGenerated.lupDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,sluDependencies:_dependenciesSluGenerated.sluDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,usolveDependencies:_dependenciesUsolveGenerated.usolveDependencies,createLusolve:_factoriesAny.createLusolve};exports.lusolveDependencies=lusolveDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesLsolve.generated.js":213,"./dependenciesLup.generated.js":215,"./dependenciesMatrix.generated.js":222,"./dependenciesSlu.generated.js":325,"./dependenciesTyped.generated.js":358,"./dependenciesUsolve.generated.js":366}],217:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.madDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesMapGenerated=require("./dependenciesMap.generated.js"),_dependenciesMedianGenerated=require("./dependenciesMedian.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),madDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,mapDependencies:_dependenciesMapGenerated.mapDependencies,medianDependencies:_dependenciesMedianGenerated.medianDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMad:_factoriesAny.createMad};exports.madDependencies=madDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesMap.generated.js":220,"./dependenciesMedian.generated.js":231,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],218:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.magneticConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),magneticConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMagneticConstant:_factoriesAny.createMagneticConstant};exports.magneticConstantDependencies=magneticConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],219:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.magneticFluxQuantumDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),magneticFluxQuantumDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMagneticFluxQuantum:_factoriesAny.createMagneticFluxQuantum};exports.magneticFluxQuantumDependencies=magneticFluxQuantumDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],220:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),mapDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMap:_factoriesAny.createMap};exports.mapDependencies=mapDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],221:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapTransformDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),mapTransformDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMapTransform:_factoriesAny.createMapTransform};exports.mapTransformDependencies=mapTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],222:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixClassGenerated=require("./dependenciesMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,MatrixDependencies:_dependenciesMatrixClassGenerated.MatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrix:_factoriesAny.createMatrix};exports.matrixDependencies=matrixDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrixClass.generated.js":223,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],223:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MatrixDependencies=void 0;var MatrixDependencies={createMatrixClass:require("../../factoriesAny.js").createMatrixClass};exports.MatrixDependencies=MatrixDependencies},{"../../factoriesAny.js":654}],224:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromColumnsDependencies=void 0;var _dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixFromColumnsDependencies={flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrixFromColumns:_factoriesAny.createMatrixFromColumns};exports.matrixFromColumnsDependencies=matrixFromColumnsDependencies},{"../../factoriesAny.js":654,"./dependenciesFlatten.generated.js":157,"./dependenciesMatrix.generated.js":222,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],225:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromFunctionDependencies=void 0;var _dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixFromFunctionDependencies={isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrixFromFunction:_factoriesAny.createMatrixFromFunction};exports.matrixFromFunctionDependencies=matrixFromFunctionDependencies},{"../../factoriesAny.js":654,"./dependenciesIsZero.generated.js":196,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],226:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromRowsDependencies=void 0;var _dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixFromRowsDependencies={flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrixFromRows:_factoriesAny.createMatrixFromRows};exports.matrixFromRowsDependencies=matrixFromRowsDependencies},{"../../factoriesAny.js":654,"./dependenciesFlatten.generated.js":157,"./dependenciesMatrix.generated.js":222,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],227:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.maxDependencies=void 0;var _dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),maxDependencies={largerDependencies:_dependenciesLargerGenerated.largerDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMax:_factoriesAny.createMax};exports.maxDependencies=maxDependencies},{"../../factoriesAny.js":654,"./dependenciesLarger.generated.js":204,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],228:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.maxTransformDependencies=void 0;var _dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),maxTransformDependencies={largerDependencies:_dependenciesLargerGenerated.largerDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMaxTransform:_factoriesAny.createMaxTransform};exports.maxTransformDependencies=maxTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesLarger.generated.js":204,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],229:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meanDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),meanDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMean:_factoriesAny.createMean};exports.meanDependencies=meanDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesDivide.generated.js":127,"./dependenciesTyped.generated.js":358}],230:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meanTransformDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),meanTransformDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMeanTransform:_factoriesAny.createMeanTransform};exports.meanTransformDependencies=meanTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesDivide.generated.js":127,"./dependenciesTyped.generated.js":358}],231:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.medianDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesPartitionSelectGenerated=require("./dependenciesPartitionSelect.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),medianDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,compareDependencies:_dependenciesCompareGenerated.compareDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,partitionSelectDependencies:_dependenciesPartitionSelectGenerated.partitionSelectDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMedian:_factoriesAny.createMedian};exports.medianDependencies=medianDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesCompare.generated.js":93,"./dependenciesDivide.generated.js":127,"./dependenciesPartitionSelect.generated.js":263,"./dependenciesTyped.generated.js":358}],232:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minDependencies=void 0;var _dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),minDependencies={numericDependencies:_dependenciesNumericGenerated.numericDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMin:_factoriesAny.createMin};exports.minDependencies=minDependencies},{"../../factoriesAny.js":654,"./dependenciesNumeric.generated.js":253,"./dependenciesSmaller.generated.js":326,"./dependenciesTyped.generated.js":358}],233:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minTransformDependencies=void 0;var _dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),minTransformDependencies={numericDependencies:_dependenciesNumericGenerated.numericDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMinTransform:_factoriesAny.createMinTransform};exports.minTransformDependencies=minTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesNumeric.generated.js":253,"./dependenciesSmaller.generated.js":326,"./dependenciesTyped.generated.js":358}],234:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),modDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMod:_factoriesAny.createMod};exports.modDependencies=modDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],235:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modeDependencies=void 0;var _dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),modeDependencies={isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMode:_factoriesAny.createMode};exports.modeDependencies=modeDependencies},{"../../factoriesAny.js":654,"./dependenciesIsNaN.generated.js":191,"./dependenciesIsNumeric.generated.js":193,"./dependenciesTyped.generated.js":358}],236:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarMass:_factoriesAny.createMolarMass};exports.molarMassDependencies=molarMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],237:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarMassC12Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarMassC12Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarMassC12:_factoriesAny.createMolarMassC12};exports.molarMassC12Dependencies=molarMassC12Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],238:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarPlanckConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarPlanckConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarPlanckConstant:_factoriesAny.createMolarPlanckConstant};exports.molarPlanckConstantDependencies=molarPlanckConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],239:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarVolumeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarVolumeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarVolume:_factoriesAny.createMolarVolume};exports.molarVolumeDependencies=molarVolumeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],240:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multinomialDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesFactorialGenerated=require("./dependenciesFactorial.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesIsPositive.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),multinomialDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,factorialDependencies:_dependenciesFactorialGenerated.factorialDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isPositiveDependencies:_dependenciesIsPositiveGenerated.isPositiveDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMultinomial:_factoriesAny.createMultinomial};exports.multinomialDependencies=multinomialDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesDivide.generated.js":127,"./dependenciesFactorial.generated.js":147,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsPositive.generated.js":194,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358}],241:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multiplyDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDotGenerated=require("./dependenciesDot.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),multiplyDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,dotDependencies:_dependenciesDotGenerated.dotDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMultiply:_factoriesAny.createMultiply};exports.multiplyDependencies=multiplyDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesDot.generated.js":129,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],242:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multiplyScalarDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),multiplyScalarDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMultiplyScalar:_factoriesAny.createMultiplyScalar};exports.multiplyScalarDependencies=multiplyScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],243:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NaNDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),NaNDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createNaN:_factoriesAny.createNaN};exports.NaNDependencies=NaNDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],244:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.neutronMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),neutronMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createNeutronMass:_factoriesAny.createNeutronMass};exports.neutronMassDependencies=neutronMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],245:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NodeDependencies=void 0;var NodeDependencies={createNode:require("../../factoriesAny.js").createNode};exports.NodeDependencies=NodeDependencies},{"../../factoriesAny.js":654}],246:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.normDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesCtransposeGenerated=require("./dependenciesCtranspose.generated.js"),_dependenciesEigsGenerated=require("./dependenciesEigs.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),normDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,conjDependencies:_dependenciesConjGenerated.conjDependencies,ctransposeDependencies:_dependenciesCtransposeGenerated.ctransposeDependencies,eigsDependencies:_dependenciesEigsGenerated.eigsDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNorm:_factoriesAny.createNorm};exports.normDependencies=normDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesConj.generated.js":104,"./dependenciesCtranspose.generated.js":116,"./dependenciesEigs.generated.js":135,"./dependenciesEqualScalar.generated.js":140,"./dependenciesLarger.generated.js":204,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesPow.generated.js":274,"./dependenciesSmaller.generated.js":326,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358}],247:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.notDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),notDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNot:_factoriesAny.createNot};exports.notDependencies=notDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],248:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nthRootDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),nthRootDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNthRoot:_factoriesAny.createNthRoot};exports.nthRootDependencies=nthRootDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],249:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nthRootsDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),nthRootsDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNthRoots:_factoriesAny.createNthRoots};exports.nthRootsDependencies=nthRootsDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesTyped.generated.js":358}],250:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nuclearMagnetonDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),nuclearMagnetonDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createNuclearMagneton:_factoriesAny.createNuclearMagneton};exports.nuclearMagnetonDependencies=nuclearMagnetonDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],251:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nullDependencies=void 0;var nullDependencies={createNull:require("../../factoriesAny.js").createNull};exports.nullDependencies=nullDependencies},{"../../factoriesAny.js":654}],252:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numberDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),numberDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNumber:_factoriesAny.createNumber};exports.numberDependencies=numberDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],253:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numericDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_factoriesAny=require("../../factoriesAny.js"),numericDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,createNumeric:_factoriesAny.createNumeric};exports.numericDependencies=numericDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesFraction.generated.js":162,"./dependenciesNumber.generated.js":252}],254:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ObjectNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ObjectNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createObjectNode:_factoriesAny.createObjectNode};exports.ObjectNodeDependencies=ObjectNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],255:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.octDependencies=void 0;var _dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),octDependencies={formatDependencies:_dependenciesFormatGenerated.formatDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createOct:_factoriesAny.createOct};exports.octDependencies=octDependencies},{"../../factoriesAny.js":654,"./dependenciesFormat.generated.js":161,"./dependenciesTyped.generated.js":358}],256:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.onesDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),onesDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createOnes:_factoriesAny.createOnes};exports.onesDependencies=onesDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],257:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OperatorNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),OperatorNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createOperatorNode:_factoriesAny.createOperatorNode};exports.OperatorNodeDependencies=OperatorNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],258:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.orDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),orDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createOr:_factoriesAny.createOr};exports.orDependencies=orDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],259:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParenthesisNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ParenthesisNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createParenthesisNode:_factoriesAny.createParenthesisNode};exports.ParenthesisNodeDependencies=ParenthesisNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],260:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseDependencies=void 0;var _dependenciesAccessorNodeGenerated=require("./dependenciesAccessorNode.generated.js"),_dependenciesArrayNodeGenerated=require("./dependenciesArrayNode.generated.js"),_dependenciesAssignmentNodeGenerated=require("./dependenciesAssignmentNode.generated.js"),_dependenciesBlockNodeGenerated=require("./dependenciesBlockNode.generated.js"),_dependenciesConditionalNodeGenerated=require("./dependenciesConditionalNode.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionAssignmentNodeGenerated=require("./dependenciesFunctionAssignmentNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesIndexNodeGenerated=require("./dependenciesIndexNode.generated.js"),_dependenciesObjectNodeGenerated=require("./dependenciesObjectNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesRangeNodeGenerated=require("./dependenciesRangeNode.generated.js"),_dependenciesRelationalNodeGenerated=require("./dependenciesRelationalNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),parseDependencies={AccessorNodeDependencies:_dependenciesAccessorNodeGenerated.AccessorNodeDependencies,ArrayNodeDependencies:_dependenciesArrayNodeGenerated.ArrayNodeDependencies,AssignmentNodeDependencies:_dependenciesAssignmentNodeGenerated.AssignmentNodeDependencies,BlockNodeDependencies:_dependenciesBlockNodeGenerated.BlockNodeDependencies,ConditionalNodeDependencies:_dependenciesConditionalNodeGenerated.ConditionalNodeDependencies,ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionAssignmentNodeDependencies:_dependenciesFunctionAssignmentNodeGenerated.FunctionAssignmentNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,IndexNodeDependencies:_dependenciesIndexNodeGenerated.IndexNodeDependencies,ObjectNodeDependencies:_dependenciesObjectNodeGenerated.ObjectNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,RangeNodeDependencies:_dependenciesRangeNodeGenerated.RangeNodeDependencies,RelationalNodeDependencies:_dependenciesRelationalNodeGenerated.RelationalNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createParse:_factoriesAny.createParse};exports.parseDependencies=parseDependencies},{"../../factoriesAny.js":654,"./dependenciesAccessorNode.generated.js":45,"./dependenciesArrayNode.generated.js":58,"./dependenciesAssignmentNode.generated.js":63,"./dependenciesBlockNode.generated.js":77,"./dependenciesConditionalNode.generated.js":102,"./dependenciesConstantNode.generated.js":105,"./dependenciesFunctionAssignmentNode.generated.js":164,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIndexNode.generated.js":184,"./dependenciesNumeric.generated.js":253,"./dependenciesObjectNode.generated.js":254,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesRangeNode.generated.js":285,"./dependenciesRelationalNode.generated.js":290,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],261:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parserDependencies=void 0;var _dependenciesParserClassGenerated=require("./dependenciesParserClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),parserDependencies={ParserDependencies:_dependenciesParserClassGenerated.ParserDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createParser:_factoriesAny.createParser};exports.parserDependencies=parserDependencies},{"../../factoriesAny.js":654,"./dependenciesParserClass.generated.js":262,"./dependenciesTyped.generated.js":358}],262:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParserDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ParserDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,createParserClass:_factoriesAny.createParserClass};exports.ParserDependencies=ParserDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260}],263:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.partitionSelectDependencies=void 0;var _dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),partitionSelectDependencies={compareDependencies:_dependenciesCompareGenerated.compareDependencies,isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPartitionSelect:_factoriesAny.createPartitionSelect};exports.partitionSelectDependencies=partitionSelectDependencies},{"../../factoriesAny.js":654,"./dependenciesCompare.generated.js":93,"./dependenciesIsNaN.generated.js":191,"./dependenciesIsNumeric.generated.js":193,"./dependenciesTyped.generated.js":358}],264:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.permutationsDependencies=void 0;var _dependenciesFactorialGenerated=require("./dependenciesFactorial.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),permutationsDependencies={factorialDependencies:_dependenciesFactorialGenerated.factorialDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPermutations:_factoriesAny.createPermutations};exports.permutationsDependencies=permutationsDependencies},{"../../factoriesAny.js":654,"./dependenciesFactorial.generated.js":147,"./dependenciesTyped.generated.js":358}],265:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.phiDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),phiDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createPhi:_factoriesAny.createPhi};exports.phiDependencies=phiDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],266:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.piDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),piDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createPi:_factoriesAny.createPi};exports.piDependencies=piDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],267:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.pickRandomDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),pickRandomDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPickRandom:_factoriesAny.createPickRandom};exports.pickRandomDependencies=pickRandomDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],268:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckChargeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckChargeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckCharge:_factoriesAny.createPlanckCharge};exports.planckChargeDependencies=planckChargeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],269:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckConstant:_factoriesAny.createPlanckConstant};exports.planckConstantDependencies=planckConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],270:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckLengthDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckLengthDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckLength:_factoriesAny.createPlanckLength};exports.planckLengthDependencies=planckLengthDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],271:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckMass:_factoriesAny.createPlanckMass};exports.planckMassDependencies=planckMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],272:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckTemperatureDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckTemperatureDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckTemperature:_factoriesAny.createPlanckTemperature};exports.planckTemperatureDependencies=planckTemperatureDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],273:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckTimeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckTimeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckTime:_factoriesAny.createPlanckTime};exports.planckTimeDependencies=planckTimeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],274:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.powDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),powDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPow:_factoriesAny.createPow};exports.powDependencies=powDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesFraction.generated.js":162,"./dependenciesIdentity.generated.js":179,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesNumber.generated.js":252,"./dependenciesTyped.generated.js":358}],275:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.printDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),printDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPrint:_factoriesAny.createPrint};exports.printDependencies=printDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],276:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prodDependencies=void 0;var _dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),prodDependencies={multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createProd:_factoriesAny.createProd};exports.prodDependencies=prodDependencies},{"../../factoriesAny.js":654,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],277:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.protonMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),protonMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createProtonMass:_factoriesAny.createProtonMass};exports.protonMassDependencies=protonMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],278:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.qrDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesComplexGenerated=require("./dependenciesComplex.generated.js"),_dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSignGenerated=require("./dependenciesSign.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),qrDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,complexDependencies:_dependenciesComplexGenerated.complexDependencies,conjDependencies:_dependenciesConjGenerated.conjDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,signDependencies:_dependenciesSignGenerated.signDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createQr:_factoriesAny.createQr};exports.qrDependencies=qrDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesComplex.generated.js":97,"./dependenciesConj.generated.js":104,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqual.generated.js":139,"./dependenciesIdentity.generated.js":179,"./dependenciesIsZero.generated.js":196,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSign.generated.js":320,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359,"./dependenciesZeros.generated.js":376}],279:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.quantileSeqDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesPartitionSelectGenerated=require("./dependenciesPartitionSelect.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),quantileSeqDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,compareDependencies:_dependenciesCompareGenerated.compareDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,partitionSelectDependencies:_dependenciesPartitionSelectGenerated.partitionSelectDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createQuantileSeq:_factoriesAny.createQuantileSeq};exports.quantileSeqDependencies=quantileSeqDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesCompare.generated.js":93,"./dependenciesMultiply.generated.js":241,"./dependenciesPartitionSelect.generated.js":263,"./dependenciesTyped.generated.js":358}],280:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.quantumOfCirculationDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),quantumOfCirculationDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createQuantumOfCirculation:_factoriesAny.createQuantumOfCirculation};exports.quantumOfCirculationDependencies=quantumOfCirculationDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],281:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),randomDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRandom:_factoriesAny.createRandom};exports.randomDependencies=randomDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],282:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomIntDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),randomIntDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRandomInt:_factoriesAny.createRandomInt};exports.randomIntDependencies=randomIntDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],283:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rangeDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesLargerEq.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSmallerEqGenerated=require("./dependenciesSmallerEq.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rangeDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,largerEqDependencies:_dependenciesLargerEqGenerated.largerEqDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,smallerEqDependencies:_dependenciesSmallerEqGenerated.smallerEqDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRange:_factoriesAny.createRange};exports.rangeDependencies=rangeDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesLarger.generated.js":204,"./dependenciesLargerEq.generated.js":205,"./dependenciesMatrix.generated.js":222,"./dependenciesSmaller.generated.js":326,"./dependenciesSmallerEq.generated.js":327,"./dependenciesTyped.generated.js":358}],284:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RangeDependencies=void 0;var RangeDependencies={createRangeClass:require("../../factoriesAny.js").createRangeClass};exports.RangeDependencies=RangeDependencies},{"../../factoriesAny.js":654}],285:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RangeNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),RangeNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createRangeNode:_factoriesAny.createRangeNode};exports.RangeNodeDependencies=RangeNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],286:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rangeTransformDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesLargerEq.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSmallerEqGenerated=require("./dependenciesSmallerEq.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rangeTransformDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,largerEqDependencies:_dependenciesLargerEqGenerated.largerEqDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,smallerEqDependencies:_dependenciesSmallerEqGenerated.smallerEqDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRangeTransform:_factoriesAny.createRangeTransform};exports.rangeTransformDependencies=rangeTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesLarger.generated.js":204,"./dependenciesLargerEq.generated.js":205,"./dependenciesMatrix.generated.js":222,"./dependenciesSmaller.generated.js":326,"./dependenciesSmallerEq.generated.js":327,"./dependenciesTyped.generated.js":358}],287:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rationalizeDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSimplifyGenerated=require("./dependenciesSimplify.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rationalizeDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,parseDependencies:_dependenciesParseGenerated.parseDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,simplifyDependencies:_dependenciesSimplifyGenerated.simplifyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRationalize:_factoriesAny.createRationalize};exports.rationalizeDependencies=rationalizeDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesBignumber.generated.js":71,"./dependenciesConstantNode.generated.js":105,"./dependenciesDivide.generated.js":127,"./dependenciesEqual.generated.js":139,"./dependenciesFraction.generated.js":162,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIsZero.generated.js":196,"./dependenciesMultiply.generated.js":241,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesParse.generated.js":260,"./dependenciesPow.generated.js":274,"./dependenciesSimplify.generated.js":321,"./dependenciesSubtract.generated.js":345,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],288:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),reDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRe:_factoriesAny.createRe};exports.reDependencies=reDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],289:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reducedPlanckConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),reducedPlanckConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createReducedPlanckConstant:_factoriesAny.createReducedPlanckConstant};exports.reducedPlanckConstantDependencies=reducedPlanckConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],290:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelationalNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),RelationalNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createRelationalNode:_factoriesAny.createRelationalNode};exports.RelationalNodeDependencies=RelationalNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],291:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.replacerDependencies=void 0;var replacerDependencies={createReplacer:require("../../factoriesAny.js").createReplacer};exports.replacerDependencies=replacerDependencies},{"../../factoriesAny.js":654}],292:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reshapeDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),reshapeDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createReshape:_factoriesAny.createReshape};exports.reshapeDependencies=reshapeDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],293:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resizeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_factoriesAny=require("../../factoriesAny.js"),resizeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,createResize:_factoriesAny.createResize};exports.resizeDependencies=resizeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222}],294:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResultSetDependencies=void 0;var ResultSetDependencies={createResultSet:require("../../factoriesAny.js").createResultSet};exports.ResultSetDependencies=ResultSetDependencies},{"../../factoriesAny.js":654}],295:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reviverDependencies=void 0;var reviverDependencies={createReviver:require("../../factoriesAny.js").createReviver};exports.reviverDependencies=reviverDependencies},{"../../factoriesAny.js":654}],296:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightArithShiftDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rightArithShiftDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createRightArithShift:_factoriesAny.createRightArithShift};exports.rightArithShiftDependencies=rightArithShiftDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],297:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightLogShiftDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rightLogShiftDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createRightLogShift:_factoriesAny.createRightLogShift};exports.rightLogShiftDependencies=rightLogShiftDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],298:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotateDependencies=void 0;var _dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesRotationMatrixGenerated=require("./dependenciesRotationMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rotateDependencies={multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,rotationMatrixDependencies:_dependenciesRotationMatrixGenerated.rotationMatrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRotate:_factoriesAny.createRotate};exports.rotateDependencies=rotateDependencies},{"../../factoriesAny.js":654,"./dependenciesMultiply.generated.js":241,"./dependenciesRotationMatrix.generated.js":299,"./dependenciesTyped.generated.js":358}],299:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotationMatrixDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCosGenerated=require("./dependenciesCos.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNormGenerated=require("./dependenciesNorm.generated.js"),_dependenciesSinGenerated=require("./dependenciesSin.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rotationMatrixDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,cosDependencies:_dependenciesCosGenerated.cosDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,normDependencies:_dependenciesNormGenerated.normDependencies,sinDependencies:_dependenciesSinGenerated.sinDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createRotationMatrix:_factoriesAny.createRotationMatrix};exports.rotationMatrixDependencies=rotationMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesCos.generated.js":106,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNorm.generated.js":246,"./dependenciesSin.generated.js":322,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],300:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.roundDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),roundDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createRound:_factoriesAny.createRound};exports.roundDependencies=roundDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],301:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rowDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rowDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRow:_factoriesAny.createRow};exports.rowDependencies=rowDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],302:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rowTransformDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rowTransformDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRowTransform:_factoriesAny.createRowTransform};exports.rowTransformDependencies=rowTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],303:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rydbergDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rydbergDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createRydberg:_factoriesAny.createRydberg};exports.rydbergDependencies=rydbergDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],304:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SQRT1_2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SQRT1_2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createSQRT1_2:_factoriesAny.createSQRT1_2};exports.SQRT1_2Dependencies=SQRT1_2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],305:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SQRT2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SQRT2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createSQRT2:_factoriesAny.createSQRT2};exports.SQRT2Dependencies=SQRT2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],306:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sackurTetrodeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sackurTetrodeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createSackurTetrode:_factoriesAny.createSackurTetrode};exports.sackurTetrodeDependencies=sackurTetrodeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],307:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.secDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),secDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSec:_factoriesAny.createSec};exports.secDependencies=secDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],308:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sechDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sechDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSech:_factoriesAny.createSech};exports.sechDependencies=sechDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],309:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.secondRadiationDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),secondRadiationDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createSecondRadiation:_factoriesAny.createSecondRadiation};exports.secondRadiationDependencies=secondRadiationDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],310:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setCartesianDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setCartesianDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetCartesian:_factoriesAny.createSetCartesian};exports.setCartesianDependencies=setCartesianDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],311:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDifferenceDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setDifferenceDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetDifference:_factoriesAny.createSetDifference};exports.setDifferenceDependencies=setDifferenceDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],312:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDistinctDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setDistinctDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetDistinct:_factoriesAny.createSetDistinct};exports.setDistinctDependencies=setDistinctDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],313:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIntersectDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setIntersectDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetIntersect:_factoriesAny.createSetIntersect};exports.setIntersectDependencies=setIntersectDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],314:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIsSubsetDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setIsSubsetDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetIsSubset:_factoriesAny.createSetIsSubset};exports.setIsSubsetDependencies=setIsSubsetDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],315:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setMultiplicityDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setMultiplicityDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetMultiplicity:_factoriesAny.createSetMultiplicity};exports.setMultiplicityDependencies=setMultiplicityDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],316:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPowersetDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setPowersetDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetPowerset:_factoriesAny.createSetPowerset};exports.setPowersetDependencies=setPowersetDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],317:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSizeDependencies=void 0;var _dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setSizeDependencies={compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetSize:_factoriesAny.createSetSize};exports.setSizeDependencies=setSizeDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesTyped.generated.js":358}],318:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSymDifferenceDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesConcatGenerated=require("./dependenciesConcat.generated.js"),_dependenciesSetDifferenceGenerated=require("./dependenciesSetDifference.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setSymDifferenceDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,concatDependencies:_dependenciesConcatGenerated.concatDependencies,setDifferenceDependencies:_dependenciesSetDifferenceGenerated.setDifferenceDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetSymDifference:_factoriesAny.createSetSymDifference};exports.setSymDifferenceDependencies=setSymDifferenceDependencies},{"../../factoriesAny.js":654,"./dependenciesConcat.generated.js":100,"./dependenciesIndexClass.generated.js":183,"./dependenciesSetDifference.generated.js":311,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],319:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setUnionDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesConcatGenerated=require("./dependenciesConcat.generated.js"),_dependenciesSetIntersectGenerated=require("./dependenciesSetIntersect.generated.js"),_dependenciesSetSymDifferenceGenerated=require("./dependenciesSetSymDifference.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setUnionDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,concatDependencies:_dependenciesConcatGenerated.concatDependencies,setIntersectDependencies:_dependenciesSetIntersectGenerated.setIntersectDependencies,setSymDifferenceDependencies:_dependenciesSetSymDifferenceGenerated.setSymDifferenceDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetUnion:_factoriesAny.createSetUnion};exports.setUnionDependencies=setUnionDependencies},{"../../factoriesAny.js":654,"./dependenciesConcat.generated.js":100,"./dependenciesIndexClass.generated.js":183,"./dependenciesSetIntersect.generated.js":313,"./dependenciesSetSymDifference.generated.js":318,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],320:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.signDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesComplexGenerated=require("./dependenciesComplex.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),signDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,complexDependencies:_dependenciesComplexGenerated.complexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSign:_factoriesAny.createSign};exports.signDependencies=signDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplex.generated.js":97,"./dependenciesFractionClass.generated.js":163,"./dependenciesTyped.generated.js":358}],321:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.simplifyDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),simplifyDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,parseDependencies:_dependenciesParseGenerated.parseDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSimplify:_factoriesAny.createSimplify};exports.simplifyDependencies=simplifyDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesBignumber.generated.js":71,"./dependenciesConstantNode.generated.js":105,"./dependenciesDivide.generated.js":127,"./dependenciesEqual.generated.js":139,"./dependenciesFraction.generated.js":162,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIsZero.generated.js":196,"./dependenciesMultiply.generated.js":241,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesParse.generated.js":260,"./dependenciesPow.generated.js":274,"./dependenciesSubtract.generated.js":345,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],322:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sinDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSin:_factoriesAny.createSin};exports.sinDependencies=sinDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],323:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinhDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sinhDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSinh:_factoriesAny.createSinh};exports.sinhDependencies=sinhDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],324:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sizeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sizeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSize:_factoriesAny.createSize};exports.sizeDependencies=sizeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],325:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sluDependencies=void 0;var _dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesLargerEq.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTransposeGenerated=require("./dependenciesTranspose.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sluDependencies={SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,largerEqDependencies:_dependenciesLargerEqGenerated.largerEqDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,transposeDependencies:_dependenciesTransposeGenerated.transposeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSlu:_factoriesAny.createSlu};exports.sluDependencies=sluDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesDivideScalar.generated.js":128,"./dependenciesLarger.generated.js":204,"./dependenciesLargerEq.generated.js":205,"./dependenciesMultiply.generated.js":241,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesSubtract.generated.js":345,"./dependenciesTranspose.generated.js":355,"./dependenciesTyped.generated.js":358}],326:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),smallerDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSmaller:_factoriesAny.createSmaller};exports.smallerDependencies=smallerDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],327:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerEqDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),smallerEqDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSmallerEq:_factoriesAny.createSmallerEq};exports.smallerEqDependencies=smallerEqDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],328:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sortDependencies=void 0;var _dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sortDependencies={compareDependencies:_dependenciesCompareGenerated.compareDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSort:_factoriesAny.createSort};exports.sortDependencies=sortDependencies},{"../../factoriesAny.js":654,"./dependenciesCompare.generated.js":93,"./dependenciesCompareNatural.generated.js":94,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],329:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SpaDependencies=void 0;var _dependenciesFibonacciHeapClassGenerated=require("./dependenciesFibonacciHeapClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SpaDependencies={FibonacciHeapDependencies:_dependenciesFibonacciHeapClassGenerated.FibonacciHeapDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,createSpaClass:_factoriesAny.createSpaClass};exports.SpaDependencies=SpaDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesEqualScalar.generated.js":140,"./dependenciesFibonacciHeapClass.generated.js":151}],330:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sparseDependencies=void 0;var _dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sparseDependencies={SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSparse:_factoriesAny.createSparse};exports.sparseDependencies=sparseDependencies},{"../../factoriesAny.js":654,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],331:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SparseMatrixDependencies=void 0;var _dependenciesMatrixClassGenerated=require("./dependenciesMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SparseMatrixDependencies={MatrixDependencies:_dependenciesMatrixClassGenerated.MatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSparseMatrixClass:_factoriesAny.createSparseMatrixClass};exports.SparseMatrixDependencies=SparseMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrixClass.generated.js":223,"./dependenciesTyped.generated.js":358}],332:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.speedOfLightDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),speedOfLightDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createSpeedOfLight:_factoriesAny.createSpeedOfLight};exports.speedOfLightDependencies=speedOfLightDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],333:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.splitUnitDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),splitUnitDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSplitUnit:_factoriesAny.createSplitUnit};exports.splitUnitDependencies=splitUnitDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],334:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sqrtDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSqrt:_factoriesAny.createSqrt};exports.sqrtDependencies=sqrtDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],335:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtmDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesMaxGenerated=require("./dependenciesMax.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sqrtmDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,maxDependencies:_dependenciesMaxGenerated.maxDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSqrtm:_factoriesAny.createSqrtm};exports.sqrtmDependencies=sqrtmDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesIdentity.generated.js":179,"./dependenciesInv.generated.js":188,"./dependenciesMax.generated.js":227,"./dependenciesMultiply.generated.js":241,"./dependenciesSize.generated.js":324,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],336:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squareDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),squareDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSquare:_factoriesAny.createSquare};exports.squareDependencies=squareDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],337:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squeezeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),squeezeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSqueeze:_factoriesAny.createSqueeze};exports.squeezeDependencies=squeezeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],338:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stdDependencies=void 0;var _dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesVarianceGenerated=require("./dependenciesVariance.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stdDependencies={sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,varianceDependencies:_dependenciesVarianceGenerated.varianceDependencies,createStd:_factoriesAny.createStd};exports.stdDependencies=stdDependencies},{"../../factoriesAny.js":654,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358,"./dependenciesVariance.generated.js":369}],339:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stdTransformDependencies=void 0;var _dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesVarianceGenerated=require("./dependenciesVariance.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stdTransformDependencies={sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,varianceDependencies:_dependenciesVarianceGenerated.varianceDependencies,createStdTransform:_factoriesAny.createStdTransform};exports.stdTransformDependencies=stdTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358,"./dependenciesVariance.generated.js":369}],340:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stefanBoltzmannDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stefanBoltzmannDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createStefanBoltzmann:_factoriesAny.createStefanBoltzmann};exports.stefanBoltzmannDependencies=stefanBoltzmannDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],341:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stirlingS2Dependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesCombinations.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesFactorialGenerated=require("./dependenciesFactorial.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stirlingS2Dependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,combinationsDependencies:_dependenciesCombinationsGenerated.combinationsDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,factorialDependencies:_dependenciesFactorialGenerated.factorialDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createStirlingS2:_factoriesAny.createStirlingS2};exports.stirlingS2Dependencies=stirlingS2Dependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesCombinations.generated.js":91,"./dependenciesDivideScalar.generated.js":128,"./dependenciesFactorial.generated.js":147,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesLarger.generated.js":204,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesPow.generated.js":274,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],342:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stringDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createString:_factoriesAny.createString};exports.stringDependencies=stringDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],343:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subsetDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),subsetDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSubset:_factoriesAny.createSubset};exports.subsetDependencies=subsetDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],344:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subsetTransformDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),subsetTransformDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSubsetTransform:_factoriesAny.createSubsetTransform};exports.subsetTransformDependencies=subsetTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],345:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subtractDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),subtractDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createSubtract:_factoriesAny.createSubtract};exports.subtractDependencies=subtractDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],346:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sumDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sumDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSum:_factoriesAny.createSum};exports.sumDependencies=sumDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],347:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sumTransformDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sumTransformDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSumTransform:_factoriesAny.createSumTransform};exports.sumTransformDependencies=sumTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],348:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SymbolNodeDependencies=void 0;var _dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SymbolNodeDependencies={UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createSymbolNode:_factoriesAny.createSymbolNode};exports.SymbolNodeDependencies=SymbolNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesUnitClass.generated.js":362}],349:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),tanDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTan:_factoriesAny.createTan};exports.tanDependencies=tanDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],350:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanhDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),tanhDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTanh:_factoriesAny.createTanh};exports.tanhDependencies=tanhDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],351:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tauDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),tauDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createTau:_factoriesAny.createTau};exports.tauDependencies=tauDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],352:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.thomsonCrossSectionDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),thomsonCrossSectionDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createThomsonCrossSection:_factoriesAny.createThomsonCrossSection};exports.thomsonCrossSectionDependencies=thomsonCrossSectionDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],353:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),toDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTo:_factoriesAny.createTo};exports.toDependencies=toDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],354:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.traceDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),traceDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTrace:_factoriesAny.createTrace};exports.traceDependencies=traceDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],355:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transposeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),transposeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTranspose:_factoriesAny.createTranspose};exports.transposeDependencies=transposeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],356:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.trueDependencies=void 0;var trueDependencies={createTrue:require("../../factoriesAny.js").createTrue};exports.trueDependencies=trueDependencies},{"../../factoriesAny.js":654}],357:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typeOfDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),typeOfDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTypeOf:_factoriesAny.createTypeOf};exports.typeOfDependencies=typeOfDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],358:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typedDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),typedDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,createTyped:_factoriesAny.createTyped};exports.typedDependencies=typedDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesFractionClass.generated.js":163}],359:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryMinusDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unaryMinusDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnaryMinus:_factoriesAny.createUnaryMinus};exports.unaryMinusDependencies=unaryMinusDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],360:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryPlusDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unaryPlusDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnaryPlus:_factoriesAny.createUnaryPlus};exports.unaryPlusDependencies=unaryPlusDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],361:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unequalDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unequalDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnequal:_factoriesAny.createUnequal};exports.unequalDependencies=unequalDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],362:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UnitDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesFixGenerated=require("./dependenciesFix.generated.js"),_dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesRoundGenerated=require("./dependenciesRound.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_factoriesAny=require("../../factoriesAny.js"),UnitDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,fixDependencies:_dependenciesFixGenerated.fixDependencies,formatDependencies:_dependenciesFormatGenerated.formatDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,roundDependencies:_dependenciesRoundGenerated.roundDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,createUnitClass:_factoriesAny.createUnitClass};exports.UnitDependencies=UnitDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqual.generated.js":139,"./dependenciesFix.generated.js":156,"./dependenciesFormat.generated.js":161,"./dependenciesFractionClass.generated.js":163,"./dependenciesIsNumeric.generated.js":193,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNumber.generated.js":252,"./dependenciesPow.generated.js":274,"./dependenciesRound.generated.js":300,"./dependenciesSubtract.generated.js":345}],363:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unitDependencies=void 0;var _dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unitDependencies={UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnitFunction:_factoriesAny.createUnitFunction};exports.unitDependencies=unitDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358,"./dependenciesUnitClass.generated.js":362}],364:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EDependencies=void 0;var _dependenciesEGenerated=require("./dependenciesE.generated.js"),_factoriesAny=require("../../factoriesAny.js"),EDependencies={eDependencies:_dependenciesEGenerated.eDependencies,createUppercaseE:_factoriesAny.createUppercaseE};exports.EDependencies=EDependencies},{"../../factoriesAny.js":654,"./dependenciesE.generated.js":133}],365:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PIDependencies=void 0;var _dependenciesPiGenerated=require("./dependenciesPi.generated.js"),_factoriesAny=require("../../factoriesAny.js"),PIDependencies={piDependencies:_dependenciesPiGenerated.piDependencies,createUppercasePi:_factoriesAny.createUppercasePi};exports.PIDependencies=PIDependencies},{"../../factoriesAny.js":654,"./dependenciesPi.generated.js":266}],366:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usolveDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),usolveDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUsolve:_factoriesAny.createUsolve};exports.usolveDependencies=usolveDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],367:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usolveAllDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),usolveAllDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUsolveAll:_factoriesAny.createUsolveAll};exports.usolveAllDependencies=usolveAllDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],368:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.vacuumImpedanceDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),vacuumImpedanceDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createVacuumImpedance:_factoriesAny.createVacuumImpedance};exports.vacuumImpedanceDependencies=vacuumImpedanceDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],369:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.varianceDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesApplyGenerated=require("./dependenciesApply.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),varianceDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,applyDependencies:_dependenciesApplyGenerated.applyDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createVariance:_factoriesAny.createVariance};exports.varianceDependencies=varianceDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesApply.generated.js":55,"./dependenciesDivide.generated.js":127,"./dependenciesIsNaN.generated.js":191,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],370:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.varianceTransformDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesApplyGenerated=require("./dependenciesApply.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),varianceTransformDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,applyDependencies:_dependenciesApplyGenerated.applyDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createVarianceTransform:_factoriesAny.createVarianceTransform};exports.varianceTransformDependencies=varianceTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesApply.generated.js":55,"./dependenciesDivide.generated.js":127,"./dependenciesIsNaN.generated.js":191,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],371:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.versionDependencies=void 0;var versionDependencies={createVersion:require("../../factoriesAny.js").createVersion};exports.versionDependencies=versionDependencies},{"../../factoriesAny.js":654}],372:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.weakMixingAngleDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),weakMixingAngleDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createWeakMixingAngle:_factoriesAny.createWeakMixingAngle};exports.weakMixingAngleDependencies=weakMixingAngleDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],373:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.wienDisplacementDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),wienDisplacementDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createWienDisplacement:_factoriesAny.createWienDisplacement};exports.wienDisplacementDependencies=wienDisplacementDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],374:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xgcdDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),xgcdDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createXgcd:_factoriesAny.createXgcd};exports.xgcdDependencies=xgcdDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],375:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xorDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),xorDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createXor:_factoriesAny.createXor};exports.xorDependencies=xorDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],376:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.zerosDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),zerosDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createZeros:_factoriesAny.createZeros};exports.zerosDependencies=zerosDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],377:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"docs",{enumerable:!0,get:function get(){return _embeddedDocs.embeddedDocs}}),exports.compile=exports.parser=exports.derivative=exports.help=exports.Parser=exports.rationalize=exports.simplify=exports.Help=exports.evaluate=exports.parse=exports.FunctionNode=exports.SymbolNode=exports.AssignmentNode=exports.IndexNode=exports.AccessorNode=exports.chain=exports.FunctionAssignmentNode=exports.RangeNode=exports.OperatorNode=exports.ConditionalNode=exports.reviver=exports.Chain=exports.RelationalNode=exports.ParenthesisNode=exports.ObjectNode=exports.ConstantNode=exports.BlockNode=exports.ArrayNode=exports.Node=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_configReadonly=require("./configReadonly.js"),_factoriesAny=require("../factoriesAny.js"),_pureFunctionsAnyGenerated=require("./pureFunctionsAny.generated.js"),_embeddedDocs=require("../expression/embeddedDocs/embeddedDocs.js"),math={},mathWithTransform={},classes={},Node=(0,_factoriesAny.createNode)({mathWithTransform:mathWithTransform});exports.Node=Node;var ArrayNode=(0,_factoriesAny.createArrayNode)({Node:Node});exports.ArrayNode=ArrayNode;var BlockNode=(0,_factoriesAny.createBlockNode)({Node:Node,ResultSet:_pureFunctionsAnyGenerated.ResultSet});exports.BlockNode=BlockNode;var ConstantNode=(0,_factoriesAny.createConstantNode)({Node:Node});exports.ConstantNode=ConstantNode;var ObjectNode=(0,_factoriesAny.createObjectNode)({Node:Node});exports.ObjectNode=ObjectNode;var ParenthesisNode=(0,_factoriesAny.createParenthesisNode)({Node:Node});exports.ParenthesisNode=ParenthesisNode;var RelationalNode=(0,_factoriesAny.createRelationalNode)({Node:Node});exports.RelationalNode=RelationalNode;var Chain=(0,_factoriesAny.createChainClass)({math:math});exports.Chain=Chain;var reviver=(0,_factoriesAny.createReviver)({classes:classes});exports.reviver=reviver;var ConditionalNode=(0,_factoriesAny.createConditionalNode)({Node:Node});exports.ConditionalNode=ConditionalNode;var OperatorNode=(0,_factoriesAny.createOperatorNode)({Node:Node});exports.OperatorNode=OperatorNode;var RangeNode=(0,_factoriesAny.createRangeNode)({Node:Node});exports.RangeNode=RangeNode;var FunctionAssignmentNode=(0,_factoriesAny.createFunctionAssignmentNode)({Node:Node,typed:_pureFunctionsAnyGenerated.typed});exports.FunctionAssignmentNode=FunctionAssignmentNode;var chain=(0,_factoriesAny.createChain)({Chain:Chain,typed:_pureFunctionsAnyGenerated.typed});exports.chain=chain;var AccessorNode=(0,_factoriesAny.createAccessorNode)({Node:Node,subset:_pureFunctionsAnyGenerated.subset});exports.AccessorNode=AccessorNode;var IndexNode=(0,_factoriesAny.createIndexNode)({Node:Node,Range:_pureFunctionsAnyGenerated.Range,size:_pureFunctionsAnyGenerated.size});exports.IndexNode=IndexNode;var AssignmentNode=(0,_factoriesAny.createAssignmentNode)({matrix:_pureFunctionsAnyGenerated.matrix,Node:Node,subset:_pureFunctionsAnyGenerated.subset});exports.AssignmentNode=AssignmentNode;var SymbolNode=(0,_factoriesAny.createSymbolNode)({Unit:_pureFunctionsAnyGenerated.Unit,Node:Node,math:math});exports.SymbolNode=SymbolNode;var FunctionNode=(0,_factoriesAny.createFunctionNode)({Node:Node,SymbolNode:SymbolNode,math:math});exports.FunctionNode=FunctionNode;var parse=(0,_factoriesAny.createParse)({AccessorNode:AccessorNode,ArrayNode:ArrayNode,AssignmentNode:AssignmentNode,BlockNode:BlockNode,ConditionalNode:ConditionalNode,ConstantNode:ConstantNode,FunctionAssignmentNode:FunctionAssignmentNode,FunctionNode:FunctionNode,IndexNode:IndexNode,ObjectNode:ObjectNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,RangeNode:RangeNode,RelationalNode:RelationalNode,SymbolNode:SymbolNode,config:_configReadonly.config,numeric:_pureFunctionsAnyGenerated.numeric,typed:_pureFunctionsAnyGenerated.typed});exports.parse=parse;var evaluate=(0,_factoriesAny.createEvaluate)({parse:parse,typed:_pureFunctionsAnyGenerated.typed});exports.evaluate=evaluate;var Help=(0,_factoriesAny.createHelpClass)({parse:parse});exports.Help=Help;var simplify=(0,_factoriesAny.createSimplify)({bignumber:_pureFunctionsAnyGenerated.bignumber,fraction:_pureFunctionsAnyGenerated.fraction,ConstantNode:ConstantNode,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,SymbolNode:SymbolNode,add:_pureFunctionsAnyGenerated.add,config:_configReadonly.config,divide:_pureFunctionsAnyGenerated.divide,equal:_pureFunctionsAnyGenerated.equal,isZero:_pureFunctionsAnyGenerated.isZero,mathWithTransform:mathWithTransform,multiply:_pureFunctionsAnyGenerated.multiply,parse:parse,pow:_pureFunctionsAnyGenerated.pow,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed});exports.simplify=simplify;var rationalize=(0,_factoriesAny.createRationalize)({bignumber:_pureFunctionsAnyGenerated.bignumber,fraction:_pureFunctionsAnyGenerated.fraction,ConstantNode:ConstantNode,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,SymbolNode:SymbolNode,add:_pureFunctionsAnyGenerated.add,config:_configReadonly.config,divide:_pureFunctionsAnyGenerated.divide,equal:_pureFunctionsAnyGenerated.equal,isZero:_pureFunctionsAnyGenerated.isZero,mathWithTransform:mathWithTransform,multiply:_pureFunctionsAnyGenerated.multiply,parse:parse,pow:_pureFunctionsAnyGenerated.pow,simplify:simplify,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed});exports.rationalize=rationalize;var Parser=(0,_factoriesAny.createParserClass)({parse:parse});exports.Parser=Parser;var help=(0,_factoriesAny.createHelp)({Help:Help,mathWithTransform:mathWithTransform,typed:_pureFunctionsAnyGenerated.typed});exports.help=help;var derivative=(0,_factoriesAny.createDerivative)({ConstantNode:ConstantNode,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,SymbolNode:SymbolNode,config:_configReadonly.config,equal:_pureFunctionsAnyGenerated.equal,isZero:_pureFunctionsAnyGenerated.isZero,numeric:_pureFunctionsAnyGenerated.numeric,parse:parse,simplify:simplify,typed:_pureFunctionsAnyGenerated.typed});exports.derivative=derivative;var parser=(0,_factoriesAny.createParser)({Parser:Parser,typed:_pureFunctionsAnyGenerated.typed});exports.parser=parser;var compile=(0,_factoriesAny.createCompile)({parse:parse,typed:_pureFunctionsAnyGenerated.typed});exports.compile=compile,(0,_extends2.default)(math,{reviver:reviver,false:_pureFunctionsAnyGenerated._false,null:_pureFunctionsAnyGenerated._null,true:_pureFunctionsAnyGenerated._true,replacer:_pureFunctionsAnyGenerated.replacer,i:_pureFunctionsAnyGenerated.i,LN10:_pureFunctionsAnyGenerated.LN10,LOG10E:_pureFunctionsAnyGenerated.LOG10E,NaN:_pureFunctionsAnyGenerated._NaN,pi:_pureFunctionsAnyGenerated.pi,SQRT1_2:_pureFunctionsAnyGenerated.SQRT1_2,tau:_pureFunctionsAnyGenerated.tau,efimovFactor:_pureFunctionsAnyGenerated.efimovFactor,fineStructure:_pureFunctionsAnyGenerated.fineStructure,sackurTetrode:_pureFunctionsAnyGenerated.sackurTetrode,weakMixingAngle:_pureFunctionsAnyGenerated.weakMixingAngle,e:_pureFunctionsAnyGenerated.e,Infinity:_pureFunctionsAnyGenerated._Infinity,LOG2E:_pureFunctionsAnyGenerated.LOG2E,PI:_pureFunctionsAnyGenerated.pi,version:_pureFunctionsAnyGenerated.version,E:_pureFunctionsAnyGenerated.e,phi:_pureFunctionsAnyGenerated.phi,typed:_pureFunctionsAnyGenerated.typed,isInteger:_pureFunctionsAnyGenerated.isInteger,isNumeric:_pureFunctionsAnyGenerated.isNumeric,isPositive:_pureFunctionsAnyGenerated.isPositive,isNaN:_pureFunctionsAnyGenerated.isNaN,equalScalar:_pureFunctionsAnyGenerated.equalScalar,number:_pureFunctionsAnyGenerated.number,boolean:_pureFunctionsAnyGenerated.boolean,complex:_pureFunctionsAnyGenerated.complex,splitUnit:_pureFunctionsAnyGenerated.splitUnit,unaryPlus:_pureFunctionsAnyGenerated.unaryPlus,apply:_pureFunctionsAnyGenerated.apply,cube:_pureFunctionsAnyGenerated.cube,expm1:_pureFunctionsAnyGenerated.expm1,log10:_pureFunctionsAnyGenerated.log10,multiplyScalar:_pureFunctionsAnyGenerated.multiplyScalar,sign:_pureFunctionsAnyGenerated.sign,square:_pureFunctionsAnyGenerated.square,bitNot:_pureFunctionsAnyGenerated.bitNot,arg:_pureFunctionsAnyGenerated.arg,im:_pureFunctionsAnyGenerated.im,not:_pureFunctionsAnyGenerated.not,filter:_pureFunctionsAnyGenerated.filter,forEach:_pureFunctionsAnyGenerated.forEach,map:_pureFunctionsAnyGenerated.map,erf:_pureFunctionsAnyGenerated.erf,format:_pureFunctionsAnyGenerated.format,oct:_pureFunctionsAnyGenerated.oct,print:_pureFunctionsAnyGenerated.print,isPrime:_pureFunctionsAnyGenerated.isPrime,acos:_pureFunctionsAnyGenerated.acos,acot:_pureFunctionsAnyGenerated.acot,acsc:_pureFunctionsAnyGenerated.acsc,asec:_pureFunctionsAnyGenerated.asec,asin:_pureFunctionsAnyGenerated.asin,atan:_pureFunctionsAnyGenerated.atan,atanh:_pureFunctionsAnyGenerated.atanh,cosh:_pureFunctionsAnyGenerated.cosh,coth:_pureFunctionsAnyGenerated.coth,csch:_pureFunctionsAnyGenerated.csch,sech:_pureFunctionsAnyGenerated.sech,sinh:_pureFunctionsAnyGenerated.sinh,tanh:_pureFunctionsAnyGenerated.tanh,chain:chain,combinations:_pureFunctionsAnyGenerated.combinations,pickRandom:_pureFunctionsAnyGenerated.pickRandom,randomInt:_pureFunctionsAnyGenerated.randomInt,LN2:_pureFunctionsAnyGenerated.LN2,clone:_pureFunctionsAnyGenerated.clone,hasNumericValue:_pureFunctionsAnyGenerated.hasNumericValue,typeOf:_pureFunctionsAnyGenerated.typeOf,string:_pureFunctionsAnyGenerated.string,fraction:_pureFunctionsAnyGenerated.fraction,unaryMinus:_pureFunctionsAnyGenerated.unaryMinus,addScalar:_pureFunctionsAnyGenerated.addScalar,exp:_pureFunctionsAnyGenerated.exp,log2:_pureFunctionsAnyGenerated.log2,sqrt:_pureFunctionsAnyGenerated.sqrt,conj:_pureFunctionsAnyGenerated.conj,getMatrixDataType:_pureFunctionsAnyGenerated.getMatrixDataType,mode:_pureFunctionsAnyGenerated.mode,bin:_pureFunctionsAnyGenerated.bin,acosh:_pureFunctionsAnyGenerated.acosh,acsch:_pureFunctionsAnyGenerated.acsch,asinh:_pureFunctionsAnyGenerated.asinh,cos:_pureFunctionsAnyGenerated.cos,csc:_pureFunctionsAnyGenerated.csc,sin:_pureFunctionsAnyGenerated.sin,combinationsWithRep:_pureFunctionsAnyGenerated.combinationsWithRep,random:_pureFunctionsAnyGenerated.random,SQRT2:_pureFunctionsAnyGenerated.SQRT2,isNegative:_pureFunctionsAnyGenerated.isNegative,matrix:_pureFunctionsAnyGenerated.matrix,abs:_pureFunctionsAnyGenerated.abs,gcd:_pureFunctionsAnyGenerated.gcd,mod:_pureFunctionsAnyGenerated.mod,nthRoot:_pureFunctionsAnyGenerated.nthRoot,xgcd:_pureFunctionsAnyGenerated.xgcd,bitAnd:_pureFunctionsAnyGenerated.bitAnd,bitXor:_pureFunctionsAnyGenerated.bitXor,or:_pureFunctionsAnyGenerated.or,concat:_pureFunctionsAnyGenerated.concat,diag:_pureFunctionsAnyGenerated.diag,identity:_pureFunctionsAnyGenerated.identity,ones:_pureFunctionsAnyGenerated.ones,reshape:_pureFunctionsAnyGenerated.reshape,size:_pureFunctionsAnyGenerated.size,subset:_pureFunctionsAnyGenerated.subset,zeros:_pureFunctionsAnyGenerated.zeros,hex:_pureFunctionsAnyGenerated.hex,round:_pureFunctionsAnyGenerated.round,leftShift:_pureFunctionsAnyGenerated.leftShift,rightLogShift:_pureFunctionsAnyGenerated.rightLogShift,compare:_pureFunctionsAnyGenerated.compare,compareText:_pureFunctionsAnyGenerated.compareText,smaller:_pureFunctionsAnyGenerated.smaller,larger:_pureFunctionsAnyGenerated.larger,unequal:_pureFunctionsAnyGenerated.unequal,sparse:_pureFunctionsAnyGenerated.sparse,acoth:_pureFunctionsAnyGenerated.acoth,atan2:_pureFunctionsAnyGenerated.atan2,sec:_pureFunctionsAnyGenerated.sec,add:_pureFunctionsAnyGenerated.add,dot:_pureFunctionsAnyGenerated.dot,composition:_pureFunctionsAnyGenerated.composition,isZero:_pureFunctionsAnyGenerated.isZero,matrixFromFunction:_pureFunctionsAnyGenerated.matrixFromFunction,cbrt:_pureFunctionsAnyGenerated.cbrt,floor:_pureFunctionsAnyGenerated.floor,multiply:_pureFunctionsAnyGenerated.multiply,dotMultiply:_pureFunctionsAnyGenerated.dotMultiply,re:_pureFunctionsAnyGenerated.re,flatten:_pureFunctionsAnyGenerated.flatten,resize:_pureFunctionsAnyGenerated.resize,squeeze:_pureFunctionsAnyGenerated.squeeze,to:_pureFunctionsAnyGenerated.to,pow:_pureFunctionsAnyGenerated.pow,dotPow:_pureFunctionsAnyGenerated.dotPow,rightArithShift:_pureFunctionsAnyGenerated.rightArithShift,compareNatural:_pureFunctionsAnyGenerated.compareNatural,equalText:_pureFunctionsAnyGenerated.equalText,largerEq:_pureFunctionsAnyGenerated.largerEq,partitionSelect:_pureFunctionsAnyGenerated.partitionSelect,asech:_pureFunctionsAnyGenerated.asech,tan:_pureFunctionsAnyGenerated.tan,setDifference:_pureFunctionsAnyGenerated.setDifference,setIntersect:_pureFunctionsAnyGenerated.setIntersect,setMultiplicity:_pureFunctionsAnyGenerated.setMultiplicity,setSize:_pureFunctionsAnyGenerated.setSize,trace:_pureFunctionsAnyGenerated.trace,quantileSeq:_pureFunctionsAnyGenerated.quantileSeq,gamma:_pureFunctionsAnyGenerated.gamma,bignumber:_pureFunctionsAnyGenerated.bignumber,matrixFromColumns:_pureFunctionsAnyGenerated.matrixFromColumns,lcm:_pureFunctionsAnyGenerated.lcm,bitOr:_pureFunctionsAnyGenerated.bitOr,kron:_pureFunctionsAnyGenerated.kron,transpose:_pureFunctionsAnyGenerated.transpose,numeric:_pureFunctionsAnyGenerated.numeric,and:_pureFunctionsAnyGenerated.and,smallerEq:_pureFunctionsAnyGenerated.smallerEq,sort:_pureFunctionsAnyGenerated.sort,min:_pureFunctionsAnyGenerated.min,cot:_pureFunctionsAnyGenerated.cot,setDistinct:_pureFunctionsAnyGenerated.setDistinct,setPowerset:_pureFunctionsAnyGenerated.setPowerset,index:_pureFunctionsAnyGenerated.index,sum:_pureFunctionsAnyGenerated.sum,factorial:_pureFunctionsAnyGenerated.factorial,permutations:_pureFunctionsAnyGenerated.permutations,matrixFromRows:_pureFunctionsAnyGenerated.matrixFromRows,subtract:_pureFunctionsAnyGenerated.subtract,cross:_pureFunctionsAnyGenerated.cross,range:_pureFunctionsAnyGenerated.range,row:_pureFunctionsAnyGenerated.row,prod:_pureFunctionsAnyGenerated.prod,equal:_pureFunctionsAnyGenerated.equal,max:_pureFunctionsAnyGenerated.max,setCartesian:_pureFunctionsAnyGenerated.setCartesian,setSymDifference:_pureFunctionsAnyGenerated.setSymDifference,ceil:_pureFunctionsAnyGenerated.ceil,xor:_pureFunctionsAnyGenerated.xor,count:_pureFunctionsAnyGenerated.count,ctranspose:_pureFunctionsAnyGenerated.ctranspose,deepEqual:_pureFunctionsAnyGenerated.deepEqual,setIsSubset:_pureFunctionsAnyGenerated.setIsSubset,fix:_pureFunctionsAnyGenerated.fix,diff:_pureFunctionsAnyGenerated.diff,divideScalar:_pureFunctionsAnyGenerated.divideScalar,nthRoots:_pureFunctionsAnyGenerated.nthRoots,lsolve:_pureFunctionsAnyGenerated.lsolve,lsolveAll:_pureFunctionsAnyGenerated.lsolveAll,setUnion:_pureFunctionsAnyGenerated.setUnion,lup:_pureFunctionsAnyGenerated.lup,slu:_pureFunctionsAnyGenerated.slu,det:_pureFunctionsAnyGenerated.det,distance:_pureFunctionsAnyGenerated.distance,stirlingS2:_pureFunctionsAnyGenerated.stirlingS2,catalan:_pureFunctionsAnyGenerated.catalan,column:_pureFunctionsAnyGenerated.column,log:_pureFunctionsAnyGenerated.log,dotDivide:_pureFunctionsAnyGenerated.dotDivide,usolveAll:_pureFunctionsAnyGenerated.usolveAll,hypot:_pureFunctionsAnyGenerated.hypot,qr:_pureFunctionsAnyGenerated.qr,inv:_pureFunctionsAnyGenerated.inv,expm:_pureFunctionsAnyGenerated.expm,divide:_pureFunctionsAnyGenerated.divide,mean:_pureFunctionsAnyGenerated.mean,variance:_pureFunctionsAnyGenerated.variance,kldivergence:_pureFunctionsAnyGenerated.kldivergence,bellNumbers:_pureFunctionsAnyGenerated.bellNumbers,log1p:_pureFunctionsAnyGenerated.log1p,createUnit:_pureFunctionsAnyGenerated.createUnit,sqrtm:_pureFunctionsAnyGenerated.sqrtm,median:_pureFunctionsAnyGenerated.median,std:_pureFunctionsAnyGenerated.std,atomicMass:_pureFunctionsAnyGenerated.atomicMass,bohrMagneton:_pureFunctionsAnyGenerated.bohrMagneton,boltzmann:_pureFunctionsAnyGenerated.boltzmann,conductanceQuantum:_pureFunctionsAnyGenerated.conductanceQuantum,deuteronMass:_pureFunctionsAnyGenerated.deuteronMass,electronMass:_pureFunctionsAnyGenerated.electronMass,faraday:_pureFunctionsAnyGenerated.faraday,firstRadiation:_pureFunctionsAnyGenerated.firstRadiation,gravitationConstant:_pureFunctionsAnyGenerated.gravitationConstant,hartreeEnergy:_pureFunctionsAnyGenerated.hartreeEnergy,klitzing:_pureFunctionsAnyGenerated.klitzing,magneticConstant:_pureFunctionsAnyGenerated.magneticConstant,molarMass:_pureFunctionsAnyGenerated.molarMass,molarPlanckConstant:_pureFunctionsAnyGenerated.molarPlanckConstant,neutronMass:_pureFunctionsAnyGenerated.neutronMass,planckCharge:_pureFunctionsAnyGenerated.planckCharge,planckLength:_pureFunctionsAnyGenerated.planckLength,planckTemperature:_pureFunctionsAnyGenerated.planckTemperature,protonMass:_pureFunctionsAnyGenerated.protonMass,reducedPlanckConstant:_pureFunctionsAnyGenerated.reducedPlanckConstant,secondRadiation:_pureFunctionsAnyGenerated.secondRadiation,stefanBoltzmann:_pureFunctionsAnyGenerated.stefanBoltzmann,vacuumImpedance:_pureFunctionsAnyGenerated.vacuumImpedance,usolve:_pureFunctionsAnyGenerated.usolve,lusolve:_pureFunctionsAnyGenerated.lusolve,eigs:_pureFunctionsAnyGenerated.eigs,mad:_pureFunctionsAnyGenerated.mad,avogadro:_pureFunctionsAnyGenerated.avogadro,classicalElectronRadius:_pureFunctionsAnyGenerated.classicalElectronRadius,electricConstant:_pureFunctionsAnyGenerated.electricConstant,fermiCoupling:_pureFunctionsAnyGenerated.fermiCoupling,gravity:_pureFunctionsAnyGenerated.gravity,loschmidt:_pureFunctionsAnyGenerated.loschmidt,molarMassC12:_pureFunctionsAnyGenerated.molarMassC12,nuclearMagneton:_pureFunctionsAnyGenerated.nuclearMagneton,planckMass:_pureFunctionsAnyGenerated.planckMass,quantumOfCirculation:_pureFunctionsAnyGenerated.quantumOfCirculation,speedOfLight:_pureFunctionsAnyGenerated.speedOfLight,wienDisplacement:_pureFunctionsAnyGenerated.wienDisplacement,unit:_pureFunctionsAnyGenerated.unit,parse:parse,evaluate:evaluate,intersect:_pureFunctionsAnyGenerated.intersect,simplify:simplify,rationalize:rationalize,coulomb:_pureFunctionsAnyGenerated.coulomb,gasConstant:_pureFunctionsAnyGenerated.gasConstant,magneticFluxQuantum:_pureFunctionsAnyGenerated.magneticFluxQuantum,planckConstant:_pureFunctionsAnyGenerated.planckConstant,rydberg:_pureFunctionsAnyGenerated.rydberg,norm:_pureFunctionsAnyGenerated.norm,help:help,derivative:derivative,elementaryCharge:_pureFunctionsAnyGenerated.elementaryCharge,molarVolume:_pureFunctionsAnyGenerated.molarVolume,thomsonCrossSection:_pureFunctionsAnyGenerated.thomsonCrossSection,rotationMatrix:_pureFunctionsAnyGenerated.rotationMatrix,parser:parser,bohrRadius:_pureFunctionsAnyGenerated.bohrRadius,planckTime:_pureFunctionsAnyGenerated.planckTime,rotate:_pureFunctionsAnyGenerated.rotate,multinomial:_pureFunctionsAnyGenerated.multinomial,compile:compile,inverseConductanceQuantum:_pureFunctionsAnyGenerated.inverseConductanceQuantum,config:_configReadonly.config}),(0,_extends2.default)(mathWithTransform,math,{apply:(0,_factoriesAny.createApplyTransform)({isInteger:_pureFunctionsAnyGenerated.isInteger,typed:_pureFunctionsAnyGenerated.typed}),filter:(0,_factoriesAny.createFilterTransform)({typed:_pureFunctionsAnyGenerated.typed}),map:(0,_factoriesAny.createMapTransform)({typed:_pureFunctionsAnyGenerated.typed}),forEach:(0,_factoriesAny.createForEachTransform)({typed:_pureFunctionsAnyGenerated.typed}),subset:(0,_factoriesAny.createSubsetTransform)({matrix:_pureFunctionsAnyGenerated.matrix,typed:_pureFunctionsAnyGenerated.typed}),index:(0,_factoriesAny.createIndexTransform)({Index:_pureFunctionsAnyGenerated.Index}),concat:(0,_factoriesAny.createConcatTransform)({isInteger:_pureFunctionsAnyGenerated.isInteger,matrix:_pureFunctionsAnyGenerated.matrix,typed:_pureFunctionsAnyGenerated.typed}),max:(0,_factoriesAny.createMaxTransform)({config:_configReadonly.config,larger:_pureFunctionsAnyGenerated.larger,numeric:_pureFunctionsAnyGenerated.numeric,typed:_pureFunctionsAnyGenerated.typed}),min:(0,_factoriesAny.createMinTransform)({config:_configReadonly.config,numeric:_pureFunctionsAnyGenerated.numeric,smaller:_pureFunctionsAnyGenerated.smaller,typed:_pureFunctionsAnyGenerated.typed}),sum:(0,_factoriesAny.createSumTransform)({add:_pureFunctionsAnyGenerated.add,config:_configReadonly.config,numeric:_pureFunctionsAnyGenerated.numeric,typed:_pureFunctionsAnyGenerated.typed}),column:(0,_factoriesAny.createColumnTransform)({Index:_pureFunctionsAnyGenerated.Index,matrix:_pureFunctionsAnyGenerated.matrix,range:_pureFunctionsAnyGenerated.range,typed:_pureFunctionsAnyGenerated.typed}),range:(0,_factoriesAny.createRangeTransform)({bignumber:_pureFunctionsAnyGenerated.bignumber,matrix:_pureFunctionsAnyGenerated.matrix,config:_configReadonly.config,larger:_pureFunctionsAnyGenerated.larger,largerEq:_pureFunctionsAnyGenerated.largerEq,smaller:_pureFunctionsAnyGenerated.smaller,smallerEq:_pureFunctionsAnyGenerated.smallerEq,typed:_pureFunctionsAnyGenerated.typed}),diff:(0,_factoriesAny.createDiffTransform)({bignumber:_pureFunctionsAnyGenerated.bignumber,matrix:_pureFunctionsAnyGenerated.matrix,number:_pureFunctionsAnyGenerated.number,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed}),row:(0,_factoriesAny.createRowTransform)({Index:_pureFunctionsAnyGenerated.Index,matrix:_pureFunctionsAnyGenerated.matrix,range:_pureFunctionsAnyGenerated.range,typed:_pureFunctionsAnyGenerated.typed}),mean:(0,_factoriesAny.createMeanTransform)({add:_pureFunctionsAnyGenerated.add,divide:_pureFunctionsAnyGenerated.divide,typed:_pureFunctionsAnyGenerated.typed}),variance:(0,_factoriesAny.createVarianceTransform)({add:_pureFunctionsAnyGenerated.add,apply:_pureFunctionsAnyGenerated.apply,divide:_pureFunctionsAnyGenerated.divide,isNaN:_pureFunctionsAnyGenerated.isNaN,multiply:_pureFunctionsAnyGenerated.multiply,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed}),std:(0,_factoriesAny.createStdTransform)({sqrt:_pureFunctionsAnyGenerated.sqrt,typed:_pureFunctionsAnyGenerated.typed,variance:_pureFunctionsAnyGenerated.variance})}),(0,_extends2.default)(classes,{ResultSet:_pureFunctionsAnyGenerated.ResultSet,Complex:_pureFunctionsAnyGenerated.Complex,Range:_pureFunctionsAnyGenerated.Range,Node:Node,ArrayNode:ArrayNode,BlockNode:BlockNode,ConstantNode:ConstantNode,ObjectNode:ObjectNode,ParenthesisNode:ParenthesisNode,RelationalNode:RelationalNode,Chain:Chain,BigNumber:_pureFunctionsAnyGenerated.BigNumber,Matrix:_pureFunctionsAnyGenerated.Matrix,ConditionalNode:ConditionalNode,OperatorNode:OperatorNode,Fraction:_pureFunctionsAnyGenerated.Fraction,RangeNode:RangeNode,DenseMatrix:_pureFunctionsAnyGenerated.DenseMatrix,FunctionAssignmentNode:FunctionAssignmentNode,SparseMatrix:_pureFunctionsAnyGenerated.SparseMatrix,ImmutableDenseMatrix:_pureFunctionsAnyGenerated.ImmutableDenseMatrix,FibonacciHeap:_pureFunctionsAnyGenerated.FibonacciHeap,AccessorNode:AccessorNode,IndexNode:IndexNode,Index:_pureFunctionsAnyGenerated.Index,AssignmentNode:AssignmentNode,Spa:_pureFunctionsAnyGenerated.Spa,Unit:_pureFunctionsAnyGenerated.Unit,SymbolNode:SymbolNode,FunctionNode:FunctionNode,Help:Help,Parser:Parser}),Chain.createProxy(math)},{"../expression/embeddedDocs/embeddedDocs.js":418,"../factoriesAny.js":654,"./configReadonly.js":42,"./pureFunctionsAny.generated.js":379,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15}],378:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={config:!0,IndexError:!0,DimensionError:!0,ArgumentsError:!0,create:!0,factory:!0};Object.defineProperty(exports,"config",{enumerable:!0,get:function get(){return _configReadonly.config}}),Object.defineProperty(exports,"IndexError",{enumerable:!0,get:function get(){return _IndexError.IndexError}}),Object.defineProperty(exports,"DimensionError",{enumerable:!0,get:function get(){return _DimensionError.DimensionError}}),Object.defineProperty(exports,"ArgumentsError",{enumerable:!0,get:function get(){return _ArgumentsError.ArgumentsError}}),Object.defineProperty(exports,"create",{enumerable:!0,get:function get(){return _create.create}}),Object.defineProperty(exports,"factory",{enumerable:!0,get:function get(){return _factory.factory}});var _configReadonly=require("./configReadonly.js"),_pureFunctionsAnyGenerated=require("./pureFunctionsAny.generated.js");Object.keys(_pureFunctionsAnyGenerated).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_pureFunctionsAnyGenerated[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _pureFunctionsAnyGenerated[key]}}))}));var _impureFunctionsAnyGenerated=require("./impureFunctionsAny.generated.js");Object.keys(_impureFunctionsAnyGenerated).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_impureFunctionsAnyGenerated[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _impureFunctionsAnyGenerated[key]}}))}));var _typeChecks=require("./typeChecks.js");Object.keys(_typeChecks).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_typeChecks[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _typeChecks[key]}}))}));var _IndexError=require("../error/IndexError.js"),_DimensionError=require("../error/DimensionError.js"),_ArgumentsError=require("../error/ArgumentsError.js"),_dependenciesAnyGenerated=require("./dependenciesAny.generated.js");Object.keys(_dependenciesAnyGenerated).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_dependenciesAnyGenerated[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _dependenciesAnyGenerated[key]}}))}));var _factoriesAny=require("../factoriesAny.js");Object.keys(_factoriesAny).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_factoriesAny[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _factoriesAny[key]}}))}));var _create=require("../core/create.js"),_factory=require("../utils/factory.js")},{"../core/create.js":37,"../error/ArgumentsError.js":381,"../error/DimensionError.js":382,"../error/IndexError.js":383,"../factoriesAny.js":654,"../utils/factory.js":941,"./configReadonly.js":42,"./dependenciesAny.generated.js":43,"./impureFunctionsAny.generated.js":377,"./pureFunctionsAny.generated.js":379,"./typeChecks.js":380}],379:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrix=exports.SparseMatrix=exports.isNegative=exports.SQRT2=exports.random=exports.combinationsWithRep=exports.sin=exports.csc=exports.cos=exports.asinh=exports.acsch=exports.acosh=exports.bin=exports.mode=exports.getMatrixDataType=exports.conj=exports.sqrt=exports.log2=exports.exp=exports.addScalar=exports.unaryMinus=exports.fraction=exports.string=exports.typeOf=exports.hasNumericValue=exports.clone=exports.LN2=exports.randomInt=exports.pickRandom=exports.combinations=exports.tanh=exports.sinh=exports.sech=exports.csch=exports.coth=exports.cosh=exports.atanh=exports.atan=exports.asin=exports.asec=exports.acsc=exports.acot=exports.acos=exports.isPrime=exports.print=exports.oct=exports.format=exports.erf=exports.map=exports.forEach=exports.filter=exports.not=exports.im=exports.arg=exports.bitNot=exports.square=exports.sign=exports.multiplyScalar=exports.log10=exports.expm1=exports.cube=exports.apply=exports.unaryPlus=exports.splitUnit=exports.complex=exports.boolean=exports.number=exports.equalScalar=exports.isNaN=exports.isPositive=exports.isNumeric=exports.isInteger=exports.typed=exports.phi=exports.DenseMatrix=exports.version=exports.LOG2E=exports._Infinity=exports.e=exports.Fraction=exports.weakMixingAngle=exports.sackurTetrode=exports.fineStructure=exports.efimovFactor=exports.tau=exports.SQRT1_2=exports.pi=exports._NaN=exports.LOG10E=exports.LN10=exports.i=exports.replacer=exports.Matrix=exports.BigNumber=exports._true=exports._null=exports._false=exports.Range=exports.Complex=exports.ResultSet=void 0,exports.nthRoots=exports.divideScalar=exports.diff=exports.fix=exports.setIsSubset=exports.deepEqual=exports.ctranspose=exports.count=exports.xor=exports.ceil=exports.setSymDifference=exports.setCartesian=exports.max=exports.equal=exports.prod=exports.row=exports.range=exports.cross=exports.subtract=exports.matrixFromRows=exports.permutations=exports.factorial=exports.sum=exports.index=exports.setPowerset=exports.setDistinct=exports.cot=exports.min=exports.sort=exports.smallerEq=exports.and=exports.numeric=exports.transpose=exports.kron=exports.bitOr=exports.lcm=exports.matrixFromColumns=exports.bignumber=exports.gamma=exports.quantileSeq=exports.trace=exports.setSize=exports.setMultiplicity=exports.setIntersect=exports.setDifference=exports.tan=exports.asech=exports.Index=exports.partitionSelect=exports.largerEq=exports.equalText=exports.compareNatural=exports.rightArithShift=exports.dotPow=exports.pow=exports.to=exports.squeeze=exports.resize=exports.flatten=exports.re=exports.dotMultiply=exports.multiply=exports.floor=exports.cbrt=exports.matrixFromFunction=exports.isZero=exports.composition=exports.dot=exports.add=exports.sec=exports.atan2=exports.acoth=exports.sparse=exports.FibonacciHeap=exports.ImmutableDenseMatrix=exports.unequal=exports.larger=exports.smaller=exports.compareText=exports.compare=exports.rightLogShift=exports.leftShift=exports.round=exports.hex=exports.zeros=exports.subset=exports.size=exports.reshape=exports.ones=exports.identity=exports.diag=exports.concat=exports.or=exports.bitXor=exports.bitAnd=exports.xgcd=exports.nthRoot=exports.mod=exports.gcd=exports.abs=void 0,exports.inverseConductanceQuantum=exports.multinomial=exports.rotate=exports.planckTime=exports.bohrRadius=exports.rotationMatrix=exports.thomsonCrossSection=exports.molarVolume=exports.elementaryCharge=exports.norm=exports.rydberg=exports.planckConstant=exports.magneticFluxQuantum=exports.gasConstant=exports.coulomb=exports.intersect=exports.unit=exports.wienDisplacement=exports.speedOfLight=exports.quantumOfCirculation=exports.planckMass=exports.nuclearMagneton=exports.molarMassC12=exports.loschmidt=exports.gravity=exports.fermiCoupling=exports.electricConstant=exports.classicalElectronRadius=exports.avogadro=exports.mad=exports.eigs=exports.lusolve=exports.usolve=exports.vacuumImpedance=exports.stefanBoltzmann=exports.secondRadiation=exports.reducedPlanckConstant=exports.protonMass=exports.planckTemperature=exports.planckLength=exports.planckCharge=exports.neutronMass=exports.molarPlanckConstant=exports.molarMass=exports.magneticConstant=exports.klitzing=exports.hartreeEnergy=exports.gravitationConstant=exports.firstRadiation=exports.faraday=exports.electronMass=exports.deuteronMass=exports.conductanceQuantum=exports.boltzmann=exports.bohrMagneton=exports.atomicMass=exports.std=exports.median=exports.sqrtm=exports.createUnit=exports.Unit=exports.log1p=exports.bellNumbers=exports.kldivergence=exports.variance=exports.mean=exports.divide=exports.expm=exports.inv=exports.qr=exports.hypot=exports.usolveAll=exports.dotDivide=exports.log=exports.column=exports.catalan=exports.stirlingS2=exports.distance=exports.det=exports.slu=exports.lup=exports.setUnion=exports.Spa=exports.lsolveAll=exports.lsolve=void 0;var _configReadonly=require("./configReadonly.js"),_factoriesAny=require("../factoriesAny.js"),ResultSet=(0,_factoriesAny.createResultSet)({});exports.ResultSet=ResultSet;var Complex=(0,_factoriesAny.createComplexClass)({});exports.Complex=Complex;var Range=(0,_factoriesAny.createRangeClass)({});exports.Range=Range;var _false=(0,_factoriesAny.createFalse)({});exports._false=_false;var _null=(0,_factoriesAny.createNull)({});exports._null=_null;var _true=(0,_factoriesAny.createTrue)({});exports._true=_true;var BigNumber=(0,_factoriesAny.createBigNumberClass)({config:_configReadonly.config});exports.BigNumber=BigNumber;var Matrix=(0,_factoriesAny.createMatrixClass)({});exports.Matrix=Matrix;var replacer=(0,_factoriesAny.createReplacer)({});exports.replacer=replacer;var i=(0,_factoriesAny.createI)({Complex:Complex});exports.i=i;var LN10=(0,_factoriesAny.createLN10)({BigNumber:BigNumber,config:_configReadonly.config});exports.LN10=LN10;var LOG10E=(0,_factoriesAny.createLOG10E)({BigNumber:BigNumber,config:_configReadonly.config});exports.LOG10E=LOG10E;var _NaN=(0,_factoriesAny.createNaN)({BigNumber:BigNumber,config:_configReadonly.config});exports._NaN=_NaN;var pi=(0,_factoriesAny.createPi)({BigNumber:BigNumber,config:_configReadonly.config});exports.pi=pi;var SQRT1_2=(0,_factoriesAny.createSQRT1_2)({BigNumber:BigNumber,config:_configReadonly.config});exports.SQRT1_2=SQRT1_2;var tau=(0,_factoriesAny.createTau)({BigNumber:BigNumber,config:_configReadonly.config});exports.tau=tau;var efimovFactor=(0,_factoriesAny.createEfimovFactor)({BigNumber:BigNumber,config:_configReadonly.config});exports.efimovFactor=efimovFactor;var fineStructure=(0,_factoriesAny.createFineStructure)({BigNumber:BigNumber,config:_configReadonly.config});exports.fineStructure=fineStructure;var sackurTetrode=(0,_factoriesAny.createSackurTetrode)({BigNumber:BigNumber,config:_configReadonly.config});exports.sackurTetrode=sackurTetrode;var weakMixingAngle=(0,_factoriesAny.createWeakMixingAngle)({BigNumber:BigNumber,config:_configReadonly.config});exports.weakMixingAngle=weakMixingAngle;var Fraction=(0,_factoriesAny.createFractionClass)({});exports.Fraction=Fraction;var e=(0,_factoriesAny.createE)({BigNumber:BigNumber,config:_configReadonly.config});exports.e=e;var _Infinity=(0,_factoriesAny.createInfinity)({BigNumber:BigNumber,config:_configReadonly.config});exports._Infinity=_Infinity;var LOG2E=(0,_factoriesAny.createLOG2E)({BigNumber:BigNumber,config:_configReadonly.config});exports.LOG2E=LOG2E;var version=(0,_factoriesAny.createVersion)({});exports.version=version;var DenseMatrix=(0,_factoriesAny.createDenseMatrixClass)({Matrix:Matrix});exports.DenseMatrix=DenseMatrix;var phi=(0,_factoriesAny.createPhi)({BigNumber:BigNumber,config:_configReadonly.config});exports.phi=phi;var typed=(0,_factoriesAny.createTyped)({BigNumber:BigNumber,Complex:Complex,DenseMatrix:DenseMatrix,Fraction:Fraction});exports.typed=typed;var isInteger=(0,_factoriesAny.createIsInteger)({typed:typed});exports.isInteger=isInteger;var isNumeric=(0,_factoriesAny.createIsNumeric)({typed:typed});exports.isNumeric=isNumeric;var isPositive=(0,_factoriesAny.createIsPositive)({typed:typed});exports.isPositive=isPositive;var isNaN=(0,_factoriesAny.createIsNaN)({typed:typed});exports.isNaN=isNaN;var equalScalar=(0,_factoriesAny.createEqualScalar)({config:_configReadonly.config,typed:typed});exports.equalScalar=equalScalar;var number=(0,_factoriesAny.createNumber)({typed:typed});exports.number=number;var _boolean=(0,_factoriesAny.createBoolean)({typed:typed});exports.boolean=_boolean;var complex=(0,_factoriesAny.createComplex)({Complex:Complex,typed:typed});exports.complex=complex;var splitUnit=(0,_factoriesAny.createSplitUnit)({typed:typed});exports.splitUnit=splitUnit;var unaryPlus=(0,_factoriesAny.createUnaryPlus)({BigNumber:BigNumber,config:_configReadonly.config,typed:typed});exports.unaryPlus=unaryPlus;var apply=(0,_factoriesAny.createApply)({isInteger:isInteger,typed:typed});exports.apply=apply;var cube=(0,_factoriesAny.createCube)({typed:typed});exports.cube=cube;var expm1=(0,_factoriesAny.createExpm1)({Complex:Complex,typed:typed});exports.expm1=expm1;var log10=(0,_factoriesAny.createLog10)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.log10=log10;var multiplyScalar=(0,_factoriesAny.createMultiplyScalar)({typed:typed});exports.multiplyScalar=multiplyScalar;var sign=(0,_factoriesAny.createSign)({BigNumber:BigNumber,Fraction:Fraction,complex:complex,typed:typed});exports.sign=sign;var square=(0,_factoriesAny.createSquare)({typed:typed});exports.square=square;var bitNot=(0,_factoriesAny.createBitNot)({typed:typed});exports.bitNot=bitNot;var arg=(0,_factoriesAny.createArg)({typed:typed});exports.arg=arg;var im=(0,_factoriesAny.createIm)({typed:typed});exports.im=im;var not=(0,_factoriesAny.createNot)({typed:typed});exports.not=not;var filter=(0,_factoriesAny.createFilter)({typed:typed});exports.filter=filter;var forEach=(0,_factoriesAny.createForEach)({typed:typed});exports.forEach=forEach;var map=(0,_factoriesAny.createMap)({typed:typed});exports.map=map;var erf=(0,_factoriesAny.createErf)({typed:typed});exports.erf=erf;var format=(0,_factoriesAny.createFormat)({typed:typed});exports.format=format;var oct=(0,_factoriesAny.createOct)({format:format,typed:typed});exports.oct=oct;var print=(0,_factoriesAny.createPrint)({typed:typed});exports.print=print;var isPrime=(0,_factoriesAny.createIsPrime)({typed:typed});exports.isPrime=isPrime;var acos=(0,_factoriesAny.createAcos)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.acos=acos;var acot=(0,_factoriesAny.createAcot)({BigNumber:BigNumber,typed:typed});exports.acot=acot;var acsc=(0,_factoriesAny.createAcsc)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.acsc=acsc;var asec=(0,_factoriesAny.createAsec)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.asec=asec;var asin=(0,_factoriesAny.createAsin)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.asin=asin;var atan=(0,_factoriesAny.createAtan)({typed:typed});exports.atan=atan;var atanh=(0,_factoriesAny.createAtanh)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.atanh=atanh;var cosh=(0,_factoriesAny.createCosh)({typed:typed});exports.cosh=cosh;var coth=(0,_factoriesAny.createCoth)({BigNumber:BigNumber,typed:typed});exports.coth=coth;var csch=(0,_factoriesAny.createCsch)({BigNumber:BigNumber,typed:typed});exports.csch=csch;var sech=(0,_factoriesAny.createSech)({BigNumber:BigNumber,typed:typed});exports.sech=sech;var sinh=(0,_factoriesAny.createSinh)({typed:typed});exports.sinh=sinh;var tanh=(0,_factoriesAny.createTanh)({typed:typed});exports.tanh=tanh;var combinations=(0,_factoriesAny.createCombinations)({typed:typed});exports.combinations=combinations;var pickRandom=(0,_factoriesAny.createPickRandom)({config:_configReadonly.config,typed:typed});exports.pickRandom=pickRandom;var randomInt=(0,_factoriesAny.createRandomInt)({config:_configReadonly.config,typed:typed});exports.randomInt=randomInt;var LN2=(0,_factoriesAny.createLN2)({BigNumber:BigNumber,config:_configReadonly.config});exports.LN2=LN2;var clone=(0,_factoriesAny.createClone)({typed:typed});exports.clone=clone;var hasNumericValue=(0,_factoriesAny.createHasNumericValue)({isNumeric:isNumeric,typed:typed});exports.hasNumericValue=hasNumericValue;var typeOf=(0,_factoriesAny.createTypeOf)({typed:typed});exports.typeOf=typeOf;var string=(0,_factoriesAny.createString)({typed:typed});exports.string=string;var fraction=(0,_factoriesAny.createFraction)({Fraction:Fraction,typed:typed});exports.fraction=fraction;var unaryMinus=(0,_factoriesAny.createUnaryMinus)({typed:typed});exports.unaryMinus=unaryMinus;var addScalar=(0,_factoriesAny.createAddScalar)({typed:typed});exports.addScalar=addScalar;var exp=(0,_factoriesAny.createExp)({typed:typed});exports.exp=exp;var log2=(0,_factoriesAny.createLog2)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.log2=log2;var sqrt=(0,_factoriesAny.createSqrt)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.sqrt=sqrt;var conj=(0,_factoriesAny.createConj)({typed:typed});exports.conj=conj;var getMatrixDataType=(0,_factoriesAny.createGetMatrixDataType)({typed:typed});exports.getMatrixDataType=getMatrixDataType;var mode=(0,_factoriesAny.createMode)({isNaN:isNaN,isNumeric:isNumeric,typed:typed});exports.mode=mode;var bin=(0,_factoriesAny.createBin)({format:format,typed:typed});exports.bin=bin;var acosh=(0,_factoriesAny.createAcosh)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.acosh=acosh;var acsch=(0,_factoriesAny.createAcsch)({BigNumber:BigNumber,typed:typed});exports.acsch=acsch;var asinh=(0,_factoriesAny.createAsinh)({typed:typed});exports.asinh=asinh;var cos=(0,_factoriesAny.createCos)({typed:typed});exports.cos=cos;var csc=(0,_factoriesAny.createCsc)({BigNumber:BigNumber,typed:typed});exports.csc=csc;var sin=(0,_factoriesAny.createSin)({typed:typed});exports.sin=sin;var combinationsWithRep=(0,_factoriesAny.createCombinationsWithRep)({typed:typed});exports.combinationsWithRep=combinationsWithRep;var random=(0,_factoriesAny.createRandom)({config:_configReadonly.config,typed:typed});exports.random=random;var SQRT2=(0,_factoriesAny.createSQRT2)({BigNumber:BigNumber,config:_configReadonly.config});exports.SQRT2=SQRT2;var isNegative=(0,_factoriesAny.createIsNegative)({typed:typed});exports.isNegative=isNegative;var SparseMatrix=(0,_factoriesAny.createSparseMatrixClass)({Matrix:Matrix,equalScalar:equalScalar,typed:typed});exports.SparseMatrix=SparseMatrix;var matrix=(0,_factoriesAny.createMatrix)({DenseMatrix:DenseMatrix,Matrix:Matrix,SparseMatrix:SparseMatrix,typed:typed});exports.matrix=matrix;var abs=(0,_factoriesAny.createAbs)({typed:typed});exports.abs=abs;var gcd=(0,_factoriesAny.createGcd)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.gcd=gcd;var mod=(0,_factoriesAny.createMod)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.mod=mod;var nthRoot=(0,_factoriesAny.createNthRoot)({BigNumber:BigNumber,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.nthRoot=nthRoot;var xgcd=(0,_factoriesAny.createXgcd)({BigNumber:BigNumber,config:_configReadonly.config,matrix:matrix,typed:typed});exports.xgcd=xgcd;var bitAnd=(0,_factoriesAny.createBitAnd)({equalScalar:equalScalar,matrix:matrix,typed:typed});exports.bitAnd=bitAnd;var bitXor=(0,_factoriesAny.createBitXor)({DenseMatrix:DenseMatrix,matrix:matrix,typed:typed});exports.bitXor=bitXor;var or=(0,_factoriesAny.createOr)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.or=or;var concat=(0,_factoriesAny.createConcat)({isInteger:isInteger,matrix:matrix,typed:typed});exports.concat=concat;var diag=(0,_factoriesAny.createDiag)({DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,matrix:matrix,typed:typed});exports.diag=diag;var identity=(0,_factoriesAny.createIdentity)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.identity=identity;var ones=(0,_factoriesAny.createOnes)({BigNumber:BigNumber,config:_configReadonly.config,matrix:matrix,typed:typed});exports.ones=ones;var reshape=(0,_factoriesAny.createReshape)({isInteger:isInteger,matrix:matrix,typed:typed});exports.reshape=reshape;var size=(0,_factoriesAny.createSize)({matrix:matrix,config:_configReadonly.config,typed:typed});exports.size=size;var subset=(0,_factoriesAny.createSubset)({matrix:matrix,typed:typed});exports.subset=subset;var zeros=(0,_factoriesAny.createZeros)({BigNumber:BigNumber,config:_configReadonly.config,matrix:matrix,typed:typed});exports.zeros=zeros;var hex=(0,_factoriesAny.createHex)({format:format,typed:typed});exports.hex=hex;var round=(0,_factoriesAny.createRound)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.round=round;var leftShift=(0,_factoriesAny.createLeftShift)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.leftShift=leftShift;var rightLogShift=(0,_factoriesAny.createRightLogShift)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.rightLogShift=rightLogShift;var compare=(0,_factoriesAny.createCompare)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,Fraction:Fraction,config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.compare=compare;var compareText=(0,_factoriesAny.createCompareText)({matrix:matrix,typed:typed});exports.compareText=compareText;var smaller=(0,_factoriesAny.createSmaller)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.smaller=smaller;var larger=(0,_factoriesAny.createLarger)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.larger=larger;var unequal=(0,_factoriesAny.createUnequal)({DenseMatrix:DenseMatrix,config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.unequal=unequal;var ImmutableDenseMatrix=(0,_factoriesAny.createImmutableDenseMatrixClass)({DenseMatrix:DenseMatrix,smaller:smaller});exports.ImmutableDenseMatrix=ImmutableDenseMatrix;var FibonacciHeap=(0,_factoriesAny.createFibonacciHeapClass)({larger:larger,smaller:smaller});exports.FibonacciHeap=FibonacciHeap;var sparse=(0,_factoriesAny.createSparse)({SparseMatrix:SparseMatrix,typed:typed});exports.sparse=sparse;var acoth=(0,_factoriesAny.createAcoth)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.acoth=acoth;var atan2=(0,_factoriesAny.createAtan2)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.atan2=atan2;var sec=(0,_factoriesAny.createSec)({BigNumber:BigNumber,typed:typed});exports.sec=sec;var add=(0,_factoriesAny.createAdd)({DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,addScalar:addScalar,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.add=add;var dot=(0,_factoriesAny.createDot)({addScalar:addScalar,conj:conj,multiplyScalar:multiplyScalar,size:size,typed:typed});exports.dot=dot;var composition=(0,_factoriesAny.createComposition)({addScalar:addScalar,combinations:combinations,isInteger:isInteger,isNegative:isNegative,isPositive:isPositive,larger:larger,typed:typed});exports.composition=composition;var isZero=(0,_factoriesAny.createIsZero)({typed:typed});exports.isZero=isZero;var matrixFromFunction=(0,_factoriesAny.createMatrixFromFunction)({isZero:isZero,matrix:matrix,typed:typed});exports.matrixFromFunction=matrixFromFunction;var cbrt=(0,_factoriesAny.createCbrt)({BigNumber:BigNumber,Complex:Complex,Fraction:Fraction,config:_configReadonly.config,isNegative:isNegative,matrix:matrix,typed:typed,unaryMinus:unaryMinus});exports.cbrt=cbrt;var floor=(0,_factoriesAny.createFloor)({config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,round:round,typed:typed});exports.floor=floor;var multiply=(0,_factoriesAny.createMultiply)({addScalar:addScalar,dot:dot,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,typed:typed});exports.multiply=multiply;var dotMultiply=(0,_factoriesAny.createDotMultiply)({equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,typed:typed});exports.dotMultiply=dotMultiply;var re=(0,_factoriesAny.createRe)({typed:typed});exports.re=re;var flatten=(0,_factoriesAny.createFlatten)({matrix:matrix,typed:typed});exports.flatten=flatten;var resize=(0,_factoriesAny.createResize)({config:_configReadonly.config,matrix:matrix});exports.resize=resize;var squeeze=(0,_factoriesAny.createSqueeze)({matrix:matrix,typed:typed});exports.squeeze=squeeze;var to=(0,_factoriesAny.createTo)({matrix:matrix,typed:typed});exports.to=to;var pow=(0,_factoriesAny.createPow)({Complex:Complex,config:_configReadonly.config,fraction:fraction,identity:identity,matrix:matrix,multiply:multiply,number:number,typed:typed});exports.pow=pow;var dotPow=(0,_factoriesAny.createDotPow)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,pow:pow,typed:typed});exports.dotPow=dotPow;var rightArithShift=(0,_factoriesAny.createRightArithShift)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.rightArithShift=rightArithShift;var compareNatural=(0,_factoriesAny.createCompareNatural)({compare:compare,typed:typed});exports.compareNatural=compareNatural;var equalText=(0,_factoriesAny.createEqualText)({compareText:compareText,isZero:isZero,typed:typed});exports.equalText=equalText;var largerEq=(0,_factoriesAny.createLargerEq)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.largerEq=largerEq;var partitionSelect=(0,_factoriesAny.createPartitionSelect)({compare:compare,isNaN:isNaN,isNumeric:isNumeric,typed:typed});exports.partitionSelect=partitionSelect;var Index=(0,_factoriesAny.createIndexClass)({ImmutableDenseMatrix:ImmutableDenseMatrix});exports.Index=Index;var asech=(0,_factoriesAny.createAsech)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.asech=asech;var tan=(0,_factoriesAny.createTan)({typed:typed});exports.tan=tan;var setDifference=(0,_factoriesAny.createSetDifference)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setDifference=setDifference;var setIntersect=(0,_factoriesAny.createSetIntersect)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setIntersect=setIntersect;var setMultiplicity=(0,_factoriesAny.createSetMultiplicity)({Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setMultiplicity=setMultiplicity;var setSize=(0,_factoriesAny.createSetSize)({compareNatural:compareNatural,typed:typed});exports.setSize=setSize;var trace=(0,_factoriesAny.createTrace)({add:add,matrix:matrix,typed:typed});exports.trace=trace;var quantileSeq=(0,_factoriesAny.createQuantileSeq)({add:add,compare:compare,multiply:multiply,partitionSelect:partitionSelect,typed:typed});exports.quantileSeq=quantileSeq;var gamma=(0,_factoriesAny.createGamma)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,multiplyScalar:multiplyScalar,pow:pow,typed:typed});exports.gamma=gamma;var bignumber=(0,_factoriesAny.createBignumber)({BigNumber:BigNumber,typed:typed});exports.bignumber=bignumber;var matrixFromColumns=(0,_factoriesAny.createMatrixFromColumns)({flatten:flatten,matrix:matrix,size:size,typed:typed});exports.matrixFromColumns=matrixFromColumns;var lcm=(0,_factoriesAny.createLcm)({equalScalar:equalScalar,matrix:matrix,typed:typed});exports.lcm=lcm;var bitOr=(0,_factoriesAny.createBitOr)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.bitOr=bitOr;var kron=(0,_factoriesAny.createKron)({matrix:matrix,multiplyScalar:multiplyScalar,typed:typed});exports.kron=kron;var transpose=(0,_factoriesAny.createTranspose)({matrix:matrix,typed:typed});exports.transpose=transpose;var numeric=(0,_factoriesAny.createNumeric)({bignumber:bignumber,fraction:fraction,number:number});exports.numeric=numeric;var and=(0,_factoriesAny.createAnd)({equalScalar:equalScalar,matrix:matrix,not:not,typed:typed,zeros:zeros});exports.and=and;var smallerEq=(0,_factoriesAny.createSmallerEq)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.smallerEq=smallerEq;var sort=(0,_factoriesAny.createSort)({compare:compare,compareNatural:compareNatural,matrix:matrix,typed:typed});exports.sort=sort;var min=(0,_factoriesAny.createMin)({config:_configReadonly.config,numeric:numeric,smaller:smaller,typed:typed});exports.min=min;var cot=(0,_factoriesAny.createCot)({BigNumber:BigNumber,typed:typed});exports.cot=cot;var setDistinct=(0,_factoriesAny.createSetDistinct)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setDistinct=setDistinct;var setPowerset=(0,_factoriesAny.createSetPowerset)({Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setPowerset=setPowerset;var index=(0,_factoriesAny.createIndex)({Index:Index,typed:typed});exports.index=index;var sum=(0,_factoriesAny.createSum)({add:add,config:_configReadonly.config,numeric:numeric,typed:typed});exports.sum=sum;var factorial=(0,_factoriesAny.createFactorial)({gamma:gamma,typed:typed});exports.factorial=factorial;var permutations=(0,_factoriesAny.createPermutations)({factorial:factorial,typed:typed});exports.permutations=permutations;var matrixFromRows=(0,_factoriesAny.createMatrixFromRows)({flatten:flatten,matrix:matrix,size:size,typed:typed});exports.matrixFromRows=matrixFromRows;var subtract=(0,_factoriesAny.createSubtract)({DenseMatrix:DenseMatrix,addScalar:addScalar,equalScalar:equalScalar,matrix:matrix,typed:typed,unaryMinus:unaryMinus});exports.subtract=subtract;var cross=(0,_factoriesAny.createCross)({matrix:matrix,multiply:multiply,subtract:subtract,typed:typed});exports.cross=cross;var range=(0,_factoriesAny.createRange)({bignumber:bignumber,matrix:matrix,config:_configReadonly.config,larger:larger,largerEq:largerEq,smaller:smaller,smallerEq:smallerEq,typed:typed});exports.range=range;var row=(0,_factoriesAny.createRow)({Index:Index,matrix:matrix,range:range,typed:typed});exports.row=row;var prod=(0,_factoriesAny.createProd)({config:_configReadonly.config,multiplyScalar:multiplyScalar,numeric:numeric,typed:typed});exports.prod=prod;var equal=(0,_factoriesAny.createEqual)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.equal=equal;var max=(0,_factoriesAny.createMax)({config:_configReadonly.config,larger:larger,numeric:numeric,typed:typed});exports.max=max;var setCartesian=(0,_factoriesAny.createSetCartesian)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setCartesian=setCartesian;var setSymDifference=(0,_factoriesAny.createSetSymDifference)({Index:Index,concat:concat,setDifference:setDifference,size:size,subset:subset,typed:typed});exports.setSymDifference=setSymDifference;var ceil=(0,_factoriesAny.createCeil)({config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,round:round,typed:typed});exports.ceil=ceil;var xor=(0,_factoriesAny.createXor)({DenseMatrix:DenseMatrix,matrix:matrix,typed:typed});exports.xor=xor;var count=(0,_factoriesAny.createCount)({prod:prod,size:size,typed:typed});exports.count=count;var ctranspose=(0,_factoriesAny.createCtranspose)({conj:conj,transpose:transpose,typed:typed});exports.ctranspose=ctranspose;var deepEqual=(0,_factoriesAny.createDeepEqual)({equal:equal,typed:typed});exports.deepEqual=deepEqual;var setIsSubset=(0,_factoriesAny.createSetIsSubset)({Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setIsSubset=setIsSubset;var fix=(0,_factoriesAny.createFix)({Complex:Complex,ceil:ceil,floor:floor,matrix:matrix,typed:typed});exports.fix=fix;var diff=(0,_factoriesAny.createDiff)({matrix:matrix,number:number,subtract:subtract,typed:typed});exports.diff=diff;var divideScalar=(0,_factoriesAny.createDivideScalar)({numeric:numeric,typed:typed});exports.divideScalar=divideScalar;var nthRoots=(0,_factoriesAny.createNthRoots)({Complex:Complex,config:_configReadonly.config,divideScalar:divideScalar,typed:typed});exports.nthRoots=nthRoots;var lsolve=(0,_factoriesAny.createLsolve)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.lsolve=lsolve;var lsolveAll=(0,_factoriesAny.createLsolveAll)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.lsolveAll=lsolveAll;var Spa=(0,_factoriesAny.createSpaClass)({FibonacciHeap:FibonacciHeap,addScalar:addScalar,equalScalar:equalScalar});exports.Spa=Spa;var setUnion=(0,_factoriesAny.createSetUnion)({Index:Index,concat:concat,setIntersect:setIntersect,setSymDifference:setSymDifference,size:size,subset:subset,typed:typed});exports.setUnion=setUnion;var lup=(0,_factoriesAny.createLup)({DenseMatrix:DenseMatrix,Spa:Spa,SparseMatrix:SparseMatrix,abs:abs,addScalar:addScalar,divideScalar:divideScalar,equalScalar:equalScalar,larger:larger,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed,unaryMinus:unaryMinus});exports.lup=lup;var slu=(0,_factoriesAny.createSlu)({SparseMatrix:SparseMatrix,abs:abs,add:add,divideScalar:divideScalar,larger:larger,largerEq:largerEq,multiply:multiply,subtract:subtract,transpose:transpose,typed:typed});exports.slu=slu;var det=(0,_factoriesAny.createDet)({lup:lup,matrix:matrix,multiply:multiply,subtract:subtract,typed:typed,unaryMinus:unaryMinus});exports.det=det;var distance=(0,_factoriesAny.createDistance)({abs:abs,addScalar:addScalar,divideScalar:divideScalar,multiplyScalar:multiplyScalar,sqrt:sqrt,subtract:subtract,typed:typed,unaryMinus:unaryMinus});exports.distance=distance;var stirlingS2=(0,_factoriesAny.createStirlingS2)({addScalar:addScalar,combinations:combinations,divideScalar:divideScalar,factorial:factorial,isInteger:isInteger,isNegative:isNegative,larger:larger,multiplyScalar:multiplyScalar,pow:pow,subtract:subtract,typed:typed});exports.stirlingS2=stirlingS2;var catalan=(0,_factoriesAny.createCatalan)({addScalar:addScalar,combinations:combinations,divideScalar:divideScalar,isInteger:isInteger,isNegative:isNegative,multiplyScalar:multiplyScalar,typed:typed});exports.catalan=catalan;var column=(0,_factoriesAny.createColumn)({Index:Index,matrix:matrix,range:range,typed:typed});exports.column=column;var log=(0,_factoriesAny.createLog)({Complex:Complex,config:_configReadonly.config,divideScalar:divideScalar,typed:typed});exports.log=log;var dotDivide=(0,_factoriesAny.createDotDivide)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.dotDivide=dotDivide;var usolveAll=(0,_factoriesAny.createUsolveAll)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.usolveAll=usolveAll;var hypot=(0,_factoriesAny.createHypot)({abs:abs,addScalar:addScalar,divideScalar:divideScalar,isPositive:isPositive,multiplyScalar:multiplyScalar,smaller:smaller,sqrt:sqrt,typed:typed});exports.hypot=hypot;var qr=(0,_factoriesAny.createQr)({addScalar:addScalar,complex:complex,conj:conj,divideScalar:divideScalar,equal:equal,identity:identity,isZero:isZero,matrix:matrix,multiplyScalar:multiplyScalar,sign:sign,sqrt:sqrt,subtract:subtract,typed:typed,unaryMinus:unaryMinus,zeros:zeros});exports.qr=qr;var inv=(0,_factoriesAny.createInv)({abs:abs,addScalar:addScalar,det:det,divideScalar:divideScalar,identity:identity,matrix:matrix,multiply:multiply,typed:typed,unaryMinus:unaryMinus});exports.inv=inv;var expm=(0,_factoriesAny.createExpm)({abs:abs,add:add,identity:identity,inv:inv,multiply:multiply,typed:typed});exports.expm=expm;var divide=(0,_factoriesAny.createDivide)({divideScalar:divideScalar,equalScalar:equalScalar,inv:inv,matrix:matrix,multiply:multiply,typed:typed});exports.divide=divide;var mean=(0,_factoriesAny.createMean)({add:add,divide:divide,typed:typed});exports.mean=mean;var variance=(0,_factoriesAny.createVariance)({add:add,apply:apply,divide:divide,isNaN:isNaN,multiply:multiply,subtract:subtract,typed:typed});exports.variance=variance;var kldivergence=(0,_factoriesAny.createKldivergence)({divide:divide,dotDivide:dotDivide,isNumeric:isNumeric,log:log,matrix:matrix,multiply:multiply,sum:sum,typed:typed});exports.kldivergence=kldivergence;var bellNumbers=(0,_factoriesAny.createBellNumbers)({addScalar:addScalar,isInteger:isInteger,isNegative:isNegative,stirlingS2:stirlingS2,typed:typed});exports.bellNumbers=bellNumbers;var log1p=(0,_factoriesAny.createLog1p)({Complex:Complex,config:_configReadonly.config,divideScalar:divideScalar,log:log,typed:typed});exports.log1p=log1p;var Unit=(0,_factoriesAny.createUnitClass)({BigNumber:BigNumber,Complex:Complex,Fraction:Fraction,abs:abs,addScalar:addScalar,config:_configReadonly.config,divideScalar:divideScalar,equal:equal,fix:fix,format:format,isNumeric:isNumeric,multiplyScalar:multiplyScalar,number:number,pow:pow,round:round,subtract:subtract});exports.Unit=Unit;var createUnit=(0,_factoriesAny.createCreateUnit)({Unit:Unit,typed:typed});exports.createUnit=createUnit;var sqrtm=(0,_factoriesAny.createSqrtm)({abs:abs,add:add,identity:identity,inv:inv,max:max,multiply:multiply,size:size,sqrt:sqrt,subtract:subtract,typed:typed});exports.sqrtm=sqrtm;var median=(0,_factoriesAny.createMedian)({add:add,compare:compare,divide:divide,partitionSelect:partitionSelect,typed:typed});exports.median=median;var std=(0,_factoriesAny.createStd)({sqrt:sqrt,typed:typed,variance:variance});exports.std=std;var atomicMass=(0,_factoriesAny.createAtomicMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.atomicMass=atomicMass;var bohrMagneton=(0,_factoriesAny.createBohrMagneton)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.bohrMagneton=bohrMagneton;var boltzmann=(0,_factoriesAny.createBoltzmann)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.boltzmann=boltzmann;var conductanceQuantum=(0,_factoriesAny.createConductanceQuantum)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.conductanceQuantum=conductanceQuantum;var deuteronMass=(0,_factoriesAny.createDeuteronMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.deuteronMass=deuteronMass;var electronMass=(0,_factoriesAny.createElectronMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.electronMass=electronMass;var faraday=(0,_factoriesAny.createFaraday)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.faraday=faraday;var firstRadiation=(0,_factoriesAny.createFirstRadiation)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.firstRadiation=firstRadiation;var gravitationConstant=(0,_factoriesAny.createGravitationConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.gravitationConstant=gravitationConstant;var hartreeEnergy=(0,_factoriesAny.createHartreeEnergy)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.hartreeEnergy=hartreeEnergy;var klitzing=(0,_factoriesAny.createKlitzing)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.klitzing=klitzing;var magneticConstant=(0,_factoriesAny.createMagneticConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.magneticConstant=magneticConstant;var molarMass=(0,_factoriesAny.createMolarMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarMass=molarMass;var molarPlanckConstant=(0,_factoriesAny.createMolarPlanckConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarPlanckConstant=molarPlanckConstant;var neutronMass=(0,_factoriesAny.createNeutronMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.neutronMass=neutronMass;var planckCharge=(0,_factoriesAny.createPlanckCharge)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckCharge=planckCharge;var planckLength=(0,_factoriesAny.createPlanckLength)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckLength=planckLength;var planckTemperature=(0,_factoriesAny.createPlanckTemperature)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckTemperature=planckTemperature;var protonMass=(0,_factoriesAny.createProtonMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.protonMass=protonMass;var reducedPlanckConstant=(0,_factoriesAny.createReducedPlanckConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.reducedPlanckConstant=reducedPlanckConstant;var secondRadiation=(0,_factoriesAny.createSecondRadiation)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.secondRadiation=secondRadiation;var stefanBoltzmann=(0,_factoriesAny.createStefanBoltzmann)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.stefanBoltzmann=stefanBoltzmann;var vacuumImpedance=(0,_factoriesAny.createVacuumImpedance)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.vacuumImpedance=vacuumImpedance;var usolve=(0,_factoriesAny.createUsolve)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.usolve=usolve;var lusolve=(0,_factoriesAny.createLusolve)({DenseMatrix:DenseMatrix,lsolve:lsolve,lup:lup,matrix:matrix,slu:slu,typed:typed,usolve:usolve});exports.lusolve=lusolve;var eigs=(0,_factoriesAny.createEigs)({abs:abs,add:add,addScalar:addScalar,atan:atan,bignumber:bignumber,column:column,complex:complex,config:_configReadonly.config,cos:cos,diag:diag,divideScalar:divideScalar,dot:dot,equal:equal,flatten:flatten,im:im,inv:inv,larger:larger,matrix:matrix,matrixFromColumns:matrixFromColumns,multiply:multiply,multiplyScalar:multiplyScalar,number:number,qr:qr,re:re,sin:sin,smaller:smaller,sqrt:sqrt,subtract:subtract,typed:typed,usolve:usolve,usolveAll:usolveAll});exports.eigs=eigs;var mad=(0,_factoriesAny.createMad)({abs:abs,map:map,median:median,subtract:subtract,typed:typed});exports.mad=mad;var avogadro=(0,_factoriesAny.createAvogadro)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.avogadro=avogadro;var classicalElectronRadius=(0,_factoriesAny.createClassicalElectronRadius)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.classicalElectronRadius=classicalElectronRadius;var electricConstant=(0,_factoriesAny.createElectricConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.electricConstant=electricConstant;var fermiCoupling=(0,_factoriesAny.createFermiCoupling)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.fermiCoupling=fermiCoupling;var gravity=(0,_factoriesAny.createGravity)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.gravity=gravity;var loschmidt=(0,_factoriesAny.createLoschmidt)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.loschmidt=loschmidt;var molarMassC12=(0,_factoriesAny.createMolarMassC12)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarMassC12=molarMassC12;var nuclearMagneton=(0,_factoriesAny.createNuclearMagneton)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.nuclearMagneton=nuclearMagneton;var planckMass=(0,_factoriesAny.createPlanckMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckMass=planckMass;var quantumOfCirculation=(0,_factoriesAny.createQuantumOfCirculation)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.quantumOfCirculation=quantumOfCirculation;var speedOfLight=(0,_factoriesAny.createSpeedOfLight)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.speedOfLight=speedOfLight;var wienDisplacement=(0,_factoriesAny.createWienDisplacement)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.wienDisplacement=wienDisplacement;var unit=(0,_factoriesAny.createUnitFunction)({Unit:Unit,typed:typed});exports.unit=unit;var intersect=(0,_factoriesAny.createIntersect)({abs:abs,add:add,addScalar:addScalar,config:_configReadonly.config,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiply:multiply,multiplyScalar:multiplyScalar,smaller:smaller,subtract:subtract,typed:typed});exports.intersect=intersect;var coulomb=(0,_factoriesAny.createCoulomb)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.coulomb=coulomb;var gasConstant=(0,_factoriesAny.createGasConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.gasConstant=gasConstant;var magneticFluxQuantum=(0,_factoriesAny.createMagneticFluxQuantum)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.magneticFluxQuantum=magneticFluxQuantum;var planckConstant=(0,_factoriesAny.createPlanckConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckConstant=planckConstant;var rydberg=(0,_factoriesAny.createRydberg)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.rydberg=rydberg;var norm=(0,_factoriesAny.createNorm)({abs:abs,add:add,conj:conj,ctranspose:ctranspose,eigs:eigs,equalScalar:equalScalar,larger:larger,matrix:matrix,multiply:multiply,pow:pow,smaller:smaller,sqrt:sqrt,typed:typed});exports.norm=norm;var elementaryCharge=(0,_factoriesAny.createElementaryCharge)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.elementaryCharge=elementaryCharge;var molarVolume=(0,_factoriesAny.createMolarVolume)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarVolume=molarVolume;var thomsonCrossSection=(0,_factoriesAny.createThomsonCrossSection)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.thomsonCrossSection=thomsonCrossSection;var rotationMatrix=(0,_factoriesAny.createRotationMatrix)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,addScalar:addScalar,config:_configReadonly.config,cos:cos,matrix:matrix,multiplyScalar:multiplyScalar,norm:norm,sin:sin,typed:typed,unaryMinus:unaryMinus});exports.rotationMatrix=rotationMatrix;var bohrRadius=(0,_factoriesAny.createBohrRadius)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.bohrRadius=bohrRadius;var planckTime=(0,_factoriesAny.createPlanckTime)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckTime=planckTime;var rotate=(0,_factoriesAny.createRotate)({multiply:multiply,rotationMatrix:rotationMatrix,typed:typed});exports.rotate=rotate;var multinomial=(0,_factoriesAny.createMultinomial)({add:add,divide:divide,factorial:factorial,isInteger:isInteger,isPositive:isPositive,multiply:multiply,typed:typed});exports.multinomial=multinomial;var inverseConductanceQuantum=(0,_factoriesAny.createInverseConductanceQuantum)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.inverseConductanceQuantum=inverseConductanceQuantum},{"../factoriesAny.js":654,"./configReadonly.js":42}],380:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"isAccessorNode",{enumerable:!0,get:function get(){return _is.isAccessorNode}}),Object.defineProperty(exports,"isArray",{enumerable:!0,get:function get(){return _is.isArray}}),Object.defineProperty(exports,"isArrayNode",{enumerable:!0,get:function get(){return _is.isArrayNode}}),Object.defineProperty(exports,"isAssignmentNode",{enumerable:!0,get:function get(){return _is.isAssignmentNode}}),Object.defineProperty(exports,"isBigNumber",{enumerable:!0,get:function get(){return _is.isBigNumber}}),Object.defineProperty(exports,"isBlockNode",{enumerable:!0,get:function get(){return _is.isBlockNode}}),Object.defineProperty(exports,"isBoolean",{enumerable:!0,get:function get(){return _is.isBoolean}}),Object.defineProperty(exports,"isChain",{enumerable:!0,get:function get(){return _is.isChain}}),Object.defineProperty(exports,"isCollection",{enumerable:!0,get:function get(){return _is.isCollection}}),Object.defineProperty(exports,"isComplex",{enumerable:!0,get:function get(){return _is.isComplex}}),Object.defineProperty(exports,"isConditionalNode",{enumerable:!0,get:function get(){return _is.isConditionalNode}}),Object.defineProperty(exports,"isConstantNode",{enumerable:!0,get:function get(){return _is.isConstantNode}}),Object.defineProperty(exports,"isDate",{enumerable:!0,get:function get(){return _is.isDate}}),Object.defineProperty(exports,"isDenseMatrix",{enumerable:!0,get:function get(){return _is.isDenseMatrix}}),Object.defineProperty(exports,"isFraction",{enumerable:!0,get:function get(){return _is.isFraction}}),Object.defineProperty(exports,"isFunction",{enumerable:!0,get:function get(){return _is.isFunction}}),Object.defineProperty(exports,"isFunctionAssignmentNode",{enumerable:!0,get:function get(){return _is.isFunctionAssignmentNode}}),Object.defineProperty(exports,"isFunctionNode",{enumerable:!0,get:function get(){return _is.isFunctionNode}}),Object.defineProperty(exports,"isHelp",{enumerable:!0,get:function get(){return _is.isHelp}}),Object.defineProperty(exports,"isIndex",{enumerable:!0,get:function get(){return _is.isIndex}}),Object.defineProperty(exports,"isIndexNode",{enumerable:!0,get:function get(){return _is.isIndexNode}}),Object.defineProperty(exports,"isMatrix",{enumerable:!0,get:function get(){return _is.isMatrix}}),Object.defineProperty(exports,"isNode",{enumerable:!0,get:function get(){return _is.isNode}}),Object.defineProperty(exports,"isNull",{enumerable:!0,get:function get(){return _is.isNull}}),Object.defineProperty(exports,"isNumber",{enumerable:!0,get:function get(){return _is.isNumber}}),Object.defineProperty(exports,"isString",{enumerable:!0,get:function get(){return _is.isString}}),Object.defineProperty(exports,"isUndefined",{enumerable:!0,get:function get(){return _is.isUndefined}}),Object.defineProperty(exports,"isObject",{enumerable:!0,get:function get(){return _is.isObject}}),Object.defineProperty(exports,"isObjectNode",{enumerable:!0,get:function get(){return _is.isObjectNode}}),Object.defineProperty(exports,"isOperatorNode",{enumerable:!0,get:function get(){return _is.isOperatorNode}}),Object.defineProperty(exports,"isParenthesisNode",{enumerable:!0,get:function get(){return _is.isParenthesisNode}}),Object.defineProperty(exports,"isRange",{enumerable:!0,get:function get(){return _is.isRange}}),Object.defineProperty(exports,"isRangeNode",{enumerable:!0,get:function get(){return _is.isRangeNode}}),Object.defineProperty(exports,"isRegExp",{enumerable:!0,get:function get(){return _is.isRegExp}}),Object.defineProperty(exports,"isResultSet",{enumerable:!0,get:function get(){return _is.isResultSet}}),Object.defineProperty(exports,"isSparseMatrix",{enumerable:!0,get:function get(){return _is.isSparseMatrix}}),Object.defineProperty(exports,"isSymbolNode",{enumerable:!0,get:function get(){return _is.isSymbolNode}}),Object.defineProperty(exports,"isUnit",{enumerable:!0,get:function get(){return _is.isUnit}});var _is=require("../utils/is.js")},{"../utils/is.js":943}],381:[function(require,module,exports){"use strict";function ArgumentsError(fn,count,min,max){if(!(this instanceof ArgumentsError))throw new SyntaxError("Constructor must be called with the new operator");this.fn=fn,this.count=count,this.min=min,this.max=max,this.message="Wrong number of arguments in function "+fn+" ("+count+" provided, "+min+(null!=max?"-"+max:"")+" expected)",this.stack=(new Error).stack}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArgumentsError=ArgumentsError,ArgumentsError.prototype=new Error,ArgumentsError.prototype.constructor=Error,ArgumentsError.prototype.name="ArgumentsError",ArgumentsError.prototype.isArgumentsError=!0},{}],382:[function(require,module,exports){"use strict";function DimensionError(actual,expected,relation){if(!(this instanceof DimensionError))throw new SyntaxError("Constructor must be called with the new operator");this.actual=actual,this.expected=expected,this.relation=relation,this.message="Dimension mismatch ("+(Array.isArray(actual)?"["+actual.join(", ")+"]":actual)+" "+(this.relation||"!=")+" "+(Array.isArray(expected)?"["+expected.join(", ")+"]":expected)+")",this.stack=(new Error).stack}Object.defineProperty(exports,"__esModule",{value:!0}),exports.DimensionError=DimensionError,DimensionError.prototype=new RangeError,DimensionError.prototype.constructor=RangeError,DimensionError.prototype.name="DimensionError",DimensionError.prototype.isDimensionError=!0},{}],383:[function(require,module,exports){"use strict";function IndexError(index,min,max){if(!(this instanceof IndexError))throw new SyntaxError("Constructor must be called with the new operator");this.index=index,arguments.length<3?(this.min=0,this.max=min):(this.min=min,this.max=max),void 0!==this.min&&this.index=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=(new Error).stack}Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndexError=IndexError,IndexError.prototype=new RangeError,IndexError.prototype.constructor=RangeError,IndexError.prototype.name="IndexError",IndexError.prototype.isIndexError=!0},{}],384:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHelpClass=void 0;var _is=require("../utils/is.js"),_object=require("../utils/object.js"),_string=require("../utils/string.js"),dependencies=["parse"],createHelpClass=(0,require("../utils/factory.js").factory)("Help",dependencies,(function(_ref){var parse=_ref.parse;function Help(doc){if(!(this instanceof Help))throw new SyntaxError("Constructor must be called with the new operator");if(!doc)throw new Error('Argument "doc" missing');this.doc=doc}return Help.prototype.type="Help",Help.prototype.isHelp=!0,Help.prototype.toString=function(){var doc=this.doc||{},desc="\n";if(doc.name&&(desc+="Name: "+doc.name+"\n\n"),doc.category&&(desc+="Category: "+doc.category+"\n\n"),doc.description&&(desc+="Description:\n "+doc.description+"\n\n"),doc.syntax&&(desc+="Syntax:\n "+doc.syntax.join("\n ")+"\n\n"),doc.examples){desc+="Examples:\n";for(var scope={},i=0;i1, -1 when x<0, and 0 when x=0.",examples:["sign(3.5)","sign(-4.2)","sign(0)"],seealso:["abs"]}},{}],459:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtDocs=void 0;exports.sqrtDocs={name:"sqrt",category:"Arithmetic",syntax:["sqrt(x)"],description:"Compute the square root value. If x = y * y, then y is the square root of x.",examples:["sqrt(25)","5 * 5","sqrt(-1)"],seealso:["square","sqrtm","multiply","nthRoot","nthRoots","pow"]}},{}],460:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtmDocs=void 0;exports.sqrtmDocs={name:"sqrtm",category:"Arithmetic",syntax:["sqrtm(x)"],description:"Calculate the principal square root of a square matrix. The principal square root matrix `X` of another matrix `A` is such that `X * X = A`.",examples:["sqrtm([[1, 2], [3, 4]])"],seealso:["sqrt","abs","square","multiply"]}},{}],461:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squareDocs=void 0;exports.squareDocs={name:"square",category:"Arithmetic",syntax:["square(x)"],description:"Compute the square of a value. The square of x is x * x.",examples:["square(3)","sqrt(9)","3^2","3 * 3"],seealso:["multiply","pow","sqrt","cube"]}},{}],462:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subtractDocs=void 0;exports.subtractDocs={name:"subtract",category:"Operators",syntax:["x - y","subtract(x, y)"],description:"subtract two values.",examples:["a = 5.3 - 2","a + 2","2/3 - 1/6","2 * 3 - 3","2.1 km - 500m"],seealso:["add"]}},{}],463:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryMinusDocs=void 0;exports.unaryMinusDocs={name:"unaryMinus",category:"Operators",syntax:["-x","unaryMinus(x)"],description:"Inverse the sign of a value. Converts booleans and strings to numbers.",examples:["-4.5","-(-5.6)",'-"22"'],seealso:["add","subtract","unaryPlus"]}},{}],464:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryPlusDocs=void 0;exports.unaryPlusDocs={name:"unaryPlus",category:"Operators",syntax:["+x","unaryPlus(x)"],description:"Converts booleans and strings to numbers.",examples:["+true",'+"2"'],seealso:["add","subtract","unaryMinus"]}},{}],465:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xgcdDocs=void 0;exports.xgcdDocs={name:"xgcd",category:"Arithmetic",syntax:["xgcd(a, b)"],description:"Calculate the extended greatest common divisor for two values. The result is an array [d, x, y] with 3 entries, where d is the greatest common divisor, and d = x * a + y * b.",examples:["xgcd(8, 12)","gcd(8, 12)","xgcd(36163, 21199)"],seealso:["gcd","lcm"]}},{}],466:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndDocs=void 0;exports.bitAndDocs={name:"bitAnd",category:"Bitwise",syntax:["x & y","bitAnd(x, y)"],description:"Bitwise AND operation. Performs the logical AND operation on each pair of the corresponding bits of the two given values by multiplying them. If both bits in the compared position are 1, the bit in the resulting binary representation is 1, otherwise, the result is 0",examples:["5 & 3","bitAnd(53, 131)","[1, 12, 31] & 42"],seealso:["bitNot","bitOr","bitXor","leftShift","rightArithShift","rightLogShift"]}},{}],467:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitNotDocs=void 0;exports.bitNotDocs={name:"bitNot",category:"Bitwise",syntax:["~x","bitNot(x)"],description:"Bitwise NOT operation. Performs a logical negation on each bit of the given value. Bits that are 0 become 1, and those that are 1 become 0.",examples:["~1","~2","bitNot([2, -3, 4])"],seealso:["bitAnd","bitOr","bitXor","leftShift","rightArithShift","rightLogShift"]}},{}],468:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitOrDocs=void 0;exports.bitOrDocs={name:"bitOr",category:"Bitwise",syntax:["x | y","bitOr(x, y)"],description:"Bitwise OR operation. Performs the logical inclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if the first bit is 1 or the second bit is 1 or both bits are 1, otherwise, the result is 0.",examples:["5 | 3","bitOr([1, 2, 3], 4)"],seealso:["bitAnd","bitNot","bitXor","leftShift","rightArithShift","rightLogShift"]}},{}],469:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitXorDocs=void 0;exports.bitXorDocs={name:"bitXor",category:"Bitwise",syntax:["bitXor(x, y)"],description:"Bitwise XOR operation, exclusive OR. Performs the logical exclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if only the first bit is 1 or only the second bit is 1, but will be 0 if both are 0 or both are 1.",examples:["bitOr(1, 2)","bitXor([2, 3, 4], 4)"],seealso:["bitAnd","bitNot","bitOr","leftShift","rightArithShift","rightLogShift"]}},{}],470:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.leftShiftDocs=void 0;exports.leftShiftDocs={name:"leftShift",category:"Bitwise",syntax:["x << y","leftShift(x, y)"],description:"Bitwise left logical shift of a value x by y number of bits.",examples:["4 << 1","8 >> 1"],seealso:["bitAnd","bitNot","bitOr","bitXor","rightArithShift","rightLogShift"]}},{}],471:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightArithShiftDocs=void 0;exports.rightArithShiftDocs={name:"rightArithShift",category:"Bitwise",syntax:["x >> y","rightArithShift(x, y)"],description:"Bitwise right arithmetic shift of a value x by y number of bits.",examples:["8 >> 1","4 << 1","-12 >> 2"],seealso:["bitAnd","bitNot","bitOr","bitXor","leftShift","rightLogShift"]}},{}],472:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightLogShiftDocs=void 0;exports.rightLogShiftDocs={name:"rightLogShift",category:"Bitwise",syntax:["x >>> y","rightLogShift(x, y)"],description:"Bitwise right logical shift of a value x by y number of bits.",examples:["8 >>> 1","4 << 1","-12 >>> 2"],seealso:["bitAnd","bitNot","bitOr","bitXor","leftShift","rightArithShift"]}},{}],473:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bellNumbersDocs=void 0;exports.bellNumbersDocs={name:"bellNumbers",category:"Combinatorics",syntax:["bellNumbers(n)"],description:"The Bell Numbers count the number of partitions of a set. A partition is a pairwise disjoint subset of S whose union is S. `bellNumbers` only takes integer arguments. The following condition must be enforced: n >= 0.",examples:["bellNumbers(3)","bellNumbers(8)"],seealso:["stirlingS2"]}},{}],474:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.catalanDocs=void 0;exports.catalanDocs={name:"catalan",category:"Combinatorics",syntax:["catalan(n)"],description:"The Catalan Numbers enumerate combinatorial structures of many different types. catalan only takes integer arguments. The following condition must be enforced: n >= 0.",examples:["catalan(3)","catalan(8)"],seealso:["bellNumbers"]}},{}],475:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compositionDocs=void 0;exports.compositionDocs={name:"composition",category:"Combinatorics",syntax:["composition(n, k)"],description:"The composition counts of n into k parts. composition only takes integer arguments. The following condition must be enforced: k <= n.",examples:["composition(5, 3)"],seealso:["combinations"]}},{}],476:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stirlingS2Docs=void 0;exports.stirlingS2Docs={name:"stirlingS2",category:"Combinatorics",syntax:["stirlingS2(n, k)"],description:"he Stirling numbers of the second kind, counts the number of ways to partition a set of n labelled objects into k nonempty unlabelled subsets. `stirlingS2` only takes integer arguments. The following condition must be enforced: k <= n. If n = k or k = 1, then s(n,k) = 1.",examples:["stirlingS2(5, 3)"],seealso:["bellNumbers"]}},{}],477:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.argDocs=void 0;exports.argDocs={name:"arg",category:"Complex",syntax:["arg(x)"],description:"Compute the argument of a complex value. If x = a+bi, the argument is computed as atan2(b, a).",examples:["arg(2 + 2i)","atan2(3, 2)","arg(2 + 3i)"],seealso:["re","im","conj","abs"]}},{}],478:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conjDocs=void 0;exports.conjDocs={name:"conj",category:"Complex",syntax:["conj(x)"],description:"Compute the complex conjugate of a complex value. If x = a+bi, the complex conjugate is a-bi.",examples:["conj(2 + 3i)","conj(2 - 3i)","conj(-5.2i)"],seealso:["re","im","abs","arg"]}},{}],479:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.imDocs=void 0;exports.imDocs={name:"im",category:"Complex",syntax:["im(x)"],description:"Get the imaginary part of a complex number.",examples:["im(2 + 3i)","re(2 + 3i)","im(-5.2i)","im(2.4)"],seealso:["re","conj","abs","arg"]}},{}],480:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reDocs=void 0;exports.reDocs={name:"re",category:"Complex",syntax:["re(x)"],description:"Get the real part of a complex number.",examples:["re(2 + 3i)","im(2 + 3i)","re(-5.2i)","re(2.4)"],seealso:["im","conj","abs","arg"]}},{}],481:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.evaluateDocs=void 0;exports.evaluateDocs={name:"evaluate",category:"Expression",syntax:["evaluate(expression)","evaluate([expr1, expr2, expr3, ...])"],description:"Evaluate an expression or an array with expressions.",examples:['evaluate("2 + 3")','evaluate("sqrt(" + 4 + ")")'],seealso:[]}},{}],482:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.helpDocs=void 0;exports.helpDocs={name:"help",category:"Expression",syntax:["help(object)","help(string)"],description:"Display documentation on a function or data type.",examples:["help(sqrt)",'help("complex")'],seealso:[]}},{}],483:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.distanceDocs=void 0;exports.distanceDocs={name:"distance",category:"Geometry",syntax:["distance([x1, y1], [x2, y2])","distance([[x1, y1], [x2, y2]])"],description:"Calculates the Euclidean distance between two points.",examples:["distance([0,0], [4,4])","distance([[0,0], [4,4]])"],seealso:[]}},{}],484:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.intersectDocs=void 0;exports.intersectDocs={name:"intersect",category:"Geometry",syntax:["intersect(expr1, expr2, expr3, expr4)","intersect(expr1, expr2, expr3)"],description:"Computes the intersection point of lines and/or planes.",examples:["intersect([0, 0], [10, 10], [10, 0], [0, 10])","intersect([1, 0, 1], [4, -2, 2], [1, 1, 1, 6])"],seealso:[]}},{}],485:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.andDocs=void 0;exports.andDocs={name:"and",category:"Logical",syntax:["x and y","and(x, y)"],description:"Logical and. Test whether two values are both defined with a nonzero/nonempty value.",examples:["true and false","true and true","2 and 4"],seealso:["not","or","xor"]}},{}],486:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.notDocs=void 0;exports.notDocs={name:"not",category:"Logical",syntax:["not x","not(x)"],description:"Logical not. Flips the boolean value of given argument.",examples:["not true","not false","not 2","not 0"],seealso:["and","or","xor"]}},{}],487:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.orDocs=void 0;exports.orDocs={name:"or",category:"Logical",syntax:["x or y","or(x, y)"],description:"Logical or. Test if at least one value is defined with a nonzero/nonempty value.",examples:["true or false","false or false","0 or 4"],seealso:["not","and","xor"]}},{}],488:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xorDocs=void 0;exports.xorDocs={name:"xor",category:"Logical",syntax:["x xor y","xor(x, y)"],description:"Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.",examples:["true xor false","false xor false","true xor true","0 xor 4"],seealso:["not","and","or"]}},{}],489:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.columnDocs=void 0;exports.columnDocs={name:"column",category:"Matrix",syntax:["column(x, index)"],description:"Return a column from a matrix or array.",examples:["A = [[1, 2], [3, 4]]","column(A, 1)","column(A, 2)"],seealso:["row","matrixFromColumns"]}},{}],490:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.concatDocs=void 0;exports.concatDocs={name:"concat",category:"Matrix",syntax:["concat(A, B, C, ...)","concat(A, B, C, ..., dim)"],description:"Concatenate matrices. By default, the matrices are concatenated by the last dimension. The dimension on which to concatenate can be provided as last argument.",examples:["A = [1, 2; 5, 6]","B = [3, 4; 7, 8]","concat(A, B)","concat(A, B, 1)","concat(A, B, 2)"],seealso:["det","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],491:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.countDocs=void 0;exports.countDocs={name:"count",category:"Matrix",syntax:["count(x)"],description:"Count the number of elements of a matrix, array or string.",examples:["a = [1, 2; 3, 4; 5, 6]","count(a)","size(a)",'count("hello world")'],seealso:["size"]}},{}],492:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.crossDocs=void 0;exports.crossDocs={name:"cross",category:"Matrix",syntax:["cross(A, B)"],description:"Calculate the cross product for two vectors in three dimensional space.",examples:["cross([1, 1, 0], [0, 1, 1])","cross([3, -3, 1], [4, 9, 2])","cross([2, 3, 4], [5, 6, 7])"],seealso:["multiply","dot"]}},{}],493:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ctransposeDocs=void 0;exports.ctransposeDocs={name:"ctranspose",category:"Matrix",syntax:["x'","ctranspose(x)"],description:"Complex Conjugate and Transpose a matrix",examples:["a = [1, 2, 3; 4, 5, 6]","a'","ctranspose(a)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","zeros"]}},{}],494:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.detDocs=void 0;exports.detDocs={name:"det",category:"Matrix",syntax:["det(x)"],description:"Calculate the determinant of a matrix",examples:["det([1, 2; 3, 4])","det([-2, 2, 3; -1, 1, 3; 2, 0, -1])"],seealso:["concat","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],495:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diagDocs=void 0;exports.diagDocs={name:"diag",category:"Matrix",syntax:["diag(x)","diag(x, k)"],description:"Create a diagonal matrix or retrieve the diagonal of a matrix. When x is a vector, a matrix with the vector values on the diagonal will be returned. When x is a matrix, a vector with the diagonal values of the matrix is returned. When k is provided, the k-th diagonal will be filled in or retrieved, if k is positive, the values are placed on the super diagonal. When k is negative, the values are placed on the sub diagonal.",examples:["diag(1:3)","diag(1:3, 1)","a = [1, 2, 3; 4, 5, 6; 7, 8, 9]","diag(a)"],seealso:["concat","det","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],496:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diffDocs=void 0;exports.diffDocs={name:"diff",category:"Matrix",syntax:["diff(arr)","diff(arr, dim)"],description:["Create a new matrix or array with the difference of the passed matrix or array.","Dim parameter is optional and used to indicant the dimension of the array/matrix to apply the difference","If no dimension parameter is passed it is assumed as dimension 0","Dimension is zero-based in javascript and one-based in the parser","Arrays must be 'rectangular' meaning arrays like [1, 2]","If something is passed as a matrix it will be returned as a matrix but other than that all matrices are converted to arrays"],examples:["diff([1, 2, 4, 7, 0])","diff([1, 2, 4, 7, 0], 0)","diff(matrix([1, 2, 4, 7, 0]))","diff([[1, 2], [3, 4]])","diff([[1, 2], [3, 4]], 0)","diff([[1, 2], [3, 4]], 1)","diff([[1, 2], [3, 4]], bignumber(1))","diff(matrix([[1, 2], [3, 4]]), 1)","diff([[1, 2], matrix([3, 4])], 1)"],seealso:["subtract","partitionSelect"]}},{}],497:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotDocs=void 0;exports.dotDocs={name:"dot",category:"Matrix",syntax:["dot(A, B)","A * B"],description:"Calculate the dot product of two vectors. The dot product of A = [a1, a2, a3, ..., an] and B = [b1, b2, b3, ..., bn] is defined as dot(A, B) = a1 * b1 + a2 * b2 + a3 * b3 + ... + an * bn",examples:["dot([2, 4, 1], [2, 2, 3])","[2, 4, 1] * [2, 2, 3]"],seealso:["multiply","cross"]}},{}],498:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.eigsDocs=void 0;exports.eigsDocs={name:"eigs",category:"Matrix",syntax:["eigs(x)"],description:"Calculate the eigenvalues and eigenvectors of a real symmetric matrix",examples:["eigs([[5, 2.3], [2.3, 1]])"],seealso:["inv"]}},{}],499:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterDocs=void 0;exports.filterDocs={name:"filter",category:"Matrix",syntax:["filter(x, test)"],description:"Filter items in a matrix.",examples:["isPositive(x) = x > 0","filter([6, -2, -1, 4, 3], isPositive)","filter([6, -2, 0, 1, 0], x != 0)"],seealso:["sort","map","forEach"]}},{}],500:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.flattenDocs=void 0;exports.flattenDocs={name:"flatten",category:"Matrix",syntax:["flatten(x)"],description:"Flatten a multi dimensional matrix into a single dimensional matrix.",examples:["a = [1, 2, 3; 4, 5, 6]","size(a)","b = flatten(a)","size(b)"],seealso:["concat","resize","size","squeeze"]}},{}],501:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forEachDocs=void 0;exports.forEachDocs={name:"forEach",category:"Matrix",syntax:["forEach(x, callback)"],description:"Iterates over all elements of a matrix/array, and executes the given callback function.",examples:["forEach([1, 2, 3], function(val) { console.log(val) })"],seealso:["map","sort","filter"]}},{}],502:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getMatrixDataTypeDocs=void 0;exports.getMatrixDataTypeDocs={name:"getMatrixDataType",category:"Matrix",syntax:["getMatrixDataType(x)"],description:'Find the data type of all elements in a matrix or array, for example "number" if all items are a number and "Complex" if all values are complex numbers. If a matrix contains more than one data type, it will return "mixed".',examples:["getMatrixDataType([1, 2, 3])","getMatrixDataType([[5 cm], [2 inch]])",'getMatrixDataType([1, "text"])',"getMatrixDataType([1, bignumber(4)])"],seealso:["matrix","sparse","typeOf"]}},{}],503:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.identityDocs=void 0;exports.identityDocs={name:"identity",category:"Matrix",syntax:["identity(n)","identity(m, n)","identity([m, n])"],description:"Returns the identity matrix with size m-by-n. The matrix has ones on the diagonal and zeros elsewhere.",examples:["identity(3)","identity(3, 5)","a = [1, 2, 3; 4, 5, 6]","identity(size(a))"],seealso:["concat","det","diag","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],504:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.invDocs=void 0;exports.invDocs={name:"inv",category:"Matrix",syntax:["inv(x)"],description:"Calculate the inverse of a matrix",examples:["inv([1, 2; 3, 4])","inv(4)","1 / 4"],seealso:["concat","det","diag","identity","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],505:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kronDocs=void 0;exports.kronDocs={name:"kron",category:"Matrix",syntax:["kron(x, y)"],description:"Calculates the kronecker product of 2 matrices or vectors.",examples:["kron([[1, 0], [0, 1]], [[1, 2], [3, 4]])","kron([1,1], [2,3,4])"],seealso:["multiply","dot","cross"]}},{}],506:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapDocs=void 0;exports.mapDocs={name:"map",category:"Matrix",syntax:["map(x, callback)"],description:"Create a new matrix or array with the results of the callback function executed on each entry of the matrix/array.",examples:["map([1, 2, 3], square)"],seealso:["filter","forEach"]}},{}],507:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromColumnsDocs=void 0;exports.matrixFromColumnsDocs={name:"matrixFromColumns",category:"Matrix",syntax:["math.matrixFromColumns(...arr)","math.matrixFromColumns(row1, row2)","math.matrixFromColumns(row1, row2, row3)"],description:"Create a dense matrix from vectors as individual columns.",examples:["matrixFromColumns([1, 2, 3], [[4],[5],[6]])"],seealso:["matrix","matrixFromRows","matrixFromFunction","zeros"]}},{}],508:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromFunctionDocs=void 0;exports.matrixFromFunctionDocs={name:"matrixFromFunction",category:"Matrix",syntax:["math.matrixFromFunction(size, fn)","math.matrixFromFunction(size, fn, format)","math.matrixFromFunction(size, fn, format, datatype)","math.matrixFromFunction(size, format, fn)","math.matrixFromFunction(size, format, datatype, fn)"],description:"Create a matrix by evaluating a generating function at each index.",examples:["f(I) = I[1] - I[2]","matrixFromFunction([3,3], f)","g(I) = I[1] - I[2] == 1 ? 4 : 0",'matrixFromFunction([100, 100], "sparse", g)',"matrixFromFunction([5], random)"],seealso:["matrix","matrixFromRows","matrixFromColumns","zeros"]}},{}],509:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromRowsDocs=void 0;exports.matrixFromRowsDocs={name:"matrixFromRows",category:"Matrix",syntax:["math.matrixFromRows(...arr)","math.matrixFromRows(row1, row2)","math.matrixFromRows(row1, row2, row3)"],description:"Create a dense matrix from vectors as individual rows.",examples:["matrixFromRows([1, 2, 3], [[4],[5],[6]])"],seealso:["matrix","matrixFromColumns","matrixFromFunction","zeros"]}},{}],510:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.onesDocs=void 0;exports.onesDocs={name:"ones",category:"Matrix",syntax:["ones(m)","ones(m, n)","ones(m, n, p, ...)","ones([m])","ones([m, n])","ones([m, n, p, ...])"],description:"Create a matrix containing ones.",examples:["ones(3)","ones(3, 5)","ones([2,3]) * 4.5","a = [1, 2, 3; 4, 5, 6]","ones(size(a))"],seealso:["concat","det","diag","identity","inv","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],511:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.partitionSelectDocs=void 0;exports.partitionSelectDocs={name:"partitionSelect",category:"Matrix",syntax:["partitionSelect(x, k)","partitionSelect(x, k, compare)"],description:"Partition-based selection of an array or 1D matrix. Will find the kth smallest value, and mutates the input array. Uses Quickselect.",examples:["partitionSelect([5, 10, 1], 2)",'partitionSelect(["C", "B", "A", "D"], 1)'],seealso:["sort"]}},{}],512:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rangeDocs=void 0;exports.rangeDocs={name:"range",category:"Type",syntax:["start:end","start:step:end","range(start, end)","range(start, end, step)","range(string)"],description:"Create a range. Lower bound of the range is included, upper bound is excluded.",examples:["1:5","3:-1:-3","range(3, 7)","range(0, 12, 2)",'range("4:10")',"a = [1, 2, 3, 4; 5, 6, 7, 8]","a[1:2, 1:2]"],seealso:["concat","det","diag","identity","inv","ones","size","squeeze","subset","trace","transpose","zeros"]}},{}],513:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reshapeDocs=void 0;exports.reshapeDocs={name:"reshape",category:"Matrix",syntax:["reshape(x, sizes)"],description:"Reshape a multi dimensional array to fit the specified dimensions.",examples:["reshape([1, 2, 3, 4, 5, 6], [2, 3])","reshape([[1, 2], [3, 4]], [1, 4])","reshape([[1, 2], [3, 4]], [4])"],seealso:["size","squeeze","resize"]}},{}],514:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resizeDocs=void 0;exports.resizeDocs={name:"resize",category:"Matrix",syntax:["resize(x, size)","resize(x, size, defaultValue)"],description:"Resize a matrix.",examples:["resize([1,2,3,4,5], [3])","resize([1,2,3], [5])","resize([1,2,3], [5], -1)","resize(2, [2, 3])",'resize("hello", [8], "!")'],seealso:["size","subset","squeeze","reshape"]}},{}],515:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotateDocs=void 0;exports.rotateDocs={name:"rotate",category:"Matrix",syntax:["rotate(w, theta)","rotate(w, theta, v)"],description:"Returns a 2-D rotation matrix (2x2) for a given angle (in radians). Returns a 2-D rotation matrix (3x3) of a given angle (in radians) around given axis.",examples:["rotate([1, 0], math.pi / 2)",'rotate(matrix([1, 0]), unit("35deg"))','rotate([1, 0, 0], unit("90deg"), [0, 0, 1])','rotate(matrix([1, 0, 0]), unit("90deg"), matrix([0, 0, 1]))'],seealso:["matrix","rotationMatrix"]}},{}],516:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotationMatrixDocs=void 0;exports.rotationMatrixDocs={name:"rotationMatrix",category:"Matrix",syntax:["rotationMatrix(theta)","rotationMatrix(theta, v)","rotationMatrix(theta, v, format)"],description:"Returns a 2-D rotation matrix (2x2) for a given angle (in radians). Returns a 2-D rotation matrix (3x3) of a given angle (in radians) around given axis.",examples:["rotationMatrix(pi / 2)",'rotationMatrix(unit("45deg"), [0, 0, 1])','rotationMatrix(1, matrix([0, 0, 1]), "sparse")'],seealso:["cos","sin"]}},{}],517:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rowDocs=void 0;exports.rowDocs={name:"row",category:"Matrix",syntax:["row(x, index)"],description:"Return a row from a matrix or array.",examples:["A = [[1, 2], [3, 4]]","row(A, 1)","row(A, 2)"],seealso:["column","matrixFromRows"]}},{}],518:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sizeDocs=void 0;exports.sizeDocs={name:"size",category:"Matrix",syntax:["size(x)"],description:"Calculate the size of a matrix.",examples:["size(2.3)",'size("hello world")',"a = [1, 2; 3, 4; 5, 6]","size(a)","size(1:6)"],seealso:["concat","count","det","diag","identity","inv","ones","range","squeeze","subset","trace","transpose","zeros"]}},{}],519:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sortDocs=void 0;exports.sortDocs={name:"sort",category:"Matrix",syntax:["sort(x)","sort(x, compare)"],description:'Sort the items in a matrix. Compare can be a string "asc", "desc", "natural", or a custom sort function.',examples:["sort([5, 10, 1])",'sort(["C", "B", "A", "D"])',"sortByLength(a, b) = size(a)[1] - size(b)[1]",'sort(["Langdon", "Tom", "Sara"], sortByLength)','sort(["10", "1", "2"], "natural")'],seealso:["map","filter","forEach"]}},{}],520:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squeezeDocs=void 0;exports.squeezeDocs={name:"squeeze",category:"Matrix",syntax:["squeeze(x)"],description:"Remove inner and outer singleton dimensions from a matrix.",examples:["a = zeros(3,2,1)","size(squeeze(a))","b = zeros(1,1,3)","size(squeeze(b))"],seealso:["concat","det","diag","identity","inv","ones","range","size","subset","trace","transpose","zeros"]}},{}],521:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subsetDocs=void 0;exports.subsetDocs={name:"subset",category:"Matrix",syntax:["value(index)","value(index) = replacement","subset(value, [index])","subset(value, [index], replacement)"],description:"Get or set a subset of a matrix or string. Indexes are one-based. Both the ranges lower-bound and upper-bound are included.",examples:["d = [1, 2; 3, 4]","e = []","e[1, 1:2] = [5, 6]","e[2, :] = [7, 8]","f = d * e","f[2, 1]","f[:, 1]"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","trace","transpose","zeros"]}},{}],522:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.traceDocs=void 0;exports.traceDocs={name:"trace",category:"Matrix",syntax:["trace(A)"],description:"Calculate the trace of a matrix: the sum of the elements on the main diagonal of a square matrix.",examples:["A = [1, 2, 3; -1, 2, 3; 2, 0, 3]","trace(A)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","transpose","zeros"]}},{}],523:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transposeDocs=void 0;exports.transposeDocs={name:"transpose",category:"Matrix",syntax:["x'","transpose(x)"],description:"Transpose a matrix",examples:["a = [1, 2, 3; 4, 5, 6]","a'","transpose(a)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","zeros"]}},{}],524:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.zerosDocs=void 0;exports.zerosDocs={name:"zeros",category:"Matrix",syntax:["zeros(m)","zeros(m, n)","zeros(m, n, p, ...)","zeros([m])","zeros([m, n])","zeros([m, n, p, ...])"],description:"Create a matrix containing zeros.",examples:["zeros(3)","zeros(3, 5)","a = [1, 2, 3; 4, 5, 6]","zeros(size(a))"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose"]}},{}],525:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsDocs=void 0;exports.combinationsDocs={name:"combinations",category:"Probability",syntax:["combinations(n, k)"],description:"Compute the number of combinations of n items taken k at a time",examples:["combinations(7, 5)"],seealso:["combinationsWithRep","permutations","factorial"]}},{}],526:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsWithRepDocs=void 0;exports.combinationsWithRepDocs={name:"combinationsWithRep",category:"Probability",syntax:["combinationsWithRep(n, k)"],description:"Compute the number of combinations of n items taken k at a time with replacements.",examples:["combinationsWithRep(7, 5)"],seealso:["combinations","permutations","factorial"]}},{}],527:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.factorialDocs=void 0;exports.factorialDocs={name:"factorial",category:"Probability",syntax:["n!","factorial(n)"],description:"Compute the factorial of a value",examples:["5!","5 * 4 * 3 * 2 * 1","3!"],seealso:["combinations","combinationsWithRep","permutations","gamma"]}},{}],528:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gammaDocs=void 0;exports.gammaDocs={name:"gamma",category:"Probability",syntax:["gamma(n)"],description:"Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.",examples:["gamma(4)","3!","gamma(1/2)","sqrt(pi)"],seealso:["factorial"]}},{}],529:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kldivergenceDocs=void 0;exports.kldivergenceDocs={name:"kldivergence",category:"Probability",syntax:["kldivergence(x, y)"],description:"Calculate the Kullback-Leibler (KL) divergence between two distributions.",examples:["kldivergence([0.7,0.5,0.4], [0.2,0.9,0.5])"],seealso:[]}},{}],530:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multinomialDocs=void 0;exports.multinomialDocs={name:"multinomial",category:"Probability",syntax:["multinomial(A)"],description:"Multinomial Coefficients compute the number of ways of picking a1, a2, ..., ai unordered outcomes from `n` possibilities. multinomial takes one array of integers as an argument. The following condition must be enforced: every ai > 0.",examples:["multinomial([1, 2, 1])"],seealso:["combinations","factorial"]}},{}],531:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.permutationsDocs=void 0;exports.permutationsDocs={name:"permutations",category:"Probability",syntax:["permutations(n)","permutations(n, k)"],description:"Compute the number of permutations of n items taken k at a time",examples:["permutations(5)","permutations(5, 3)"],seealso:["combinations","combinationsWithRep","factorial"]}},{}],532:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.pickRandomDocs=void 0;exports.pickRandomDocs={name:"pickRandom",category:"Probability",syntax:["pickRandom(array)","pickRandom(array, number)","pickRandom(array, weights)","pickRandom(array, number, weights)","pickRandom(array, weights, number)"],description:"Pick a random entry from a given array.",examples:["pickRandom(0:10)","pickRandom([1, 3, 1, 6])","pickRandom([1, 3, 1, 6], 2)","pickRandom([1, 3, 1, 6], [2, 3, 2, 1])","pickRandom([1, 3, 1, 6], 2, [2, 3, 2, 1])","pickRandom([1, 3, 1, 6], [2, 3, 2, 1], 2)"],seealso:["random","randomInt"]}},{}],533:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomDocs=void 0;exports.randomDocs={name:"random",category:"Probability",syntax:["random()","random(max)","random(min, max)","random(size)","random(size, max)","random(size, min, max)"],description:"Return a random number.",examples:["random()","random(10, 20)","random([2, 3])"],seealso:["pickRandom","randomInt"]}},{}],534:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomIntDocs=void 0;exports.randomIntDocs={name:"randomInt",category:"Probability",syntax:["randomInt(max)","randomInt(min, max)","randomInt(size)","randomInt(size, max)","randomInt(size, min, max)"],description:"Return a random integer number",examples:["randomInt(10, 20)","randomInt([2, 3], 10)"],seealso:["pickRandom","random"]}},{}],535:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareDocs=void 0;exports.compareDocs={name:"compare",category:"Relational",syntax:["compare(x, y)"],description:"Compare two values. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:["compare(2, 3)","compare(3, 2)","compare(2, 2)","compare(5cm, 40mm)","compare(2, [1, 2, 3])"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compareNatural","compareText"]}},{}],536:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareNaturalDocs=void 0;exports.compareNaturalDocs={name:"compareNatural",category:"Relational",syntax:["compareNatural(x, y)"],description:"Compare two values of any type in a deterministic, natural way. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:["compareNatural(2, 3)","compareNatural(3, 2)","compareNatural(2, 2)","compareNatural(5cm, 40mm)",'compareNatural("2", "10")',"compareNatural(2 + 3i, 2 + 4i)","compareNatural([1, 2, 4], [1, 2, 3])","compareNatural([1, 5], [1, 2, 3])","compareNatural([1, 2], [1, 2])","compareNatural({a: 2}, {a: 4})"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compare","compareText"]}},{}],537:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareTextDocs=void 0;exports.compareTextDocs={name:"compareText",category:"Relational",syntax:["compareText(x, y)"],description:"Compare two strings lexically. Comparison is case sensitive. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:['compareText("B", "A")','compareText("A", "B")','compareText("A", "A")','compareText("2", "10")','compare("2", "10")',"compare(2, 10)",'compareNatural("2", "10")','compareText("B", ["A", "B", "C"])'],seealso:["compare","compareNatural"]}},{}],538:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deepEqualDocs=void 0;exports.deepEqualDocs={name:"deepEqual",category:"Relational",syntax:["deepEqual(x, y)"],description:"Check equality of two matrices element wise. Returns true if the size of both matrices is equal and when and each of the elements are equal.",examples:["deepEqual([1,3,4], [1,3,4])","deepEqual([1,3,4], [1,3])"],seealso:["equal","unequal","smaller","larger","smallerEq","largerEq","compare"]}},{}],539:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalDocs=void 0;exports.equalDocs={name:"equal",category:"Relational",syntax:["x == y","equal(x, y)"],description:"Check equality of two values. Returns true if the values are equal, and false if not.",examples:["2+2 == 3","2+2 == 4","a = 3.2","b = 6-2.8","a == b","50cm == 0.5m"],seealso:["unequal","smaller","larger","smallerEq","largerEq","compare","deepEqual","equalText"]}},{}],540:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalTextDocs=void 0;exports.equalTextDocs={name:"equalText",category:"Relational",syntax:["equalText(x, y)"],description:"Check equality of two strings. Comparison is case sensitive. Returns true if the values are equal, and false if not.",examples:['equalText("Hello", "Hello")','equalText("a", "A")','equal("2e3", "2000")','equalText("2e3", "2000")','equalText("B", ["A", "B", "C"])'],seealso:["compare","compareNatural","compareText","equal"]}},{}],541:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerDocs=void 0;exports.largerDocs={name:"larger",category:"Relational",syntax:["x > y","larger(x, y)"],description:"Check if value x is larger than y. Returns true if x is larger than y, and false if not.",examples:["2 > 3","5 > 2*2","a = 3.3","b = 6-2.8","(a > b)","(b < a)","5 cm > 2 inch"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compare"]}},{}],542:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerEqDocs=void 0;exports.largerEqDocs={name:"largerEq",category:"Relational",syntax:["x >= y","largerEq(x, y)"],description:"Check if value x is larger or equal to y. Returns true if x is larger or equal to y, and false if not.",examples:["2 >= 1+1","2 > 1+1","a = 3.2","b = 6-2.8","(a >= b)"],seealso:["equal","unequal","smallerEq","smaller","compare"]}},{}],543:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerDocs=void 0;exports.smallerDocs={name:"smaller",category:"Relational",syntax:["x < y","smaller(x, y)"],description:"Check if value x is smaller than value y. Returns true if x is smaller than y, and false if not.",examples:["2 < 3","5 < 2*2","a = 3.3","b = 6-2.8","(a < b)","5 cm < 2 inch"],seealso:["equal","unequal","larger","smallerEq","largerEq","compare"]}},{}],544:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerEqDocs=void 0;exports.smallerEqDocs={name:"smallerEq",category:"Relational",syntax:["x <= y","smallerEq(x, y)"],description:"Check if value x is smaller or equal to value y. Returns true if x is smaller than y, and false if not.",examples:["2 <= 1+1","2 < 1+1","a = 3.2","b = 6-2.8","(a <= b)"],seealso:["equal","unequal","larger","smaller","largerEq","compare"]}},{}],545:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unequalDocs=void 0;exports.unequalDocs={name:"unequal",category:"Relational",syntax:["x != y","unequal(x, y)"],description:"Check unequality of two values. Returns true if the values are unequal, and false if they are equal.",examples:["2+2 != 3","2+2 != 4","a = 3.2","b = 6-2.8","a != b","50cm != 0.5m","5 cm != 2 inch"],seealso:["equal","smaller","larger","smallerEq","largerEq","compare","deepEqual"]}},{}],546:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setCartesianDocs=void 0;exports.setCartesianDocs={name:"setCartesian",category:"Set",syntax:["setCartesian(set1, set2)"],description:"Create the cartesian product of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setCartesian([1, 2], [3, 4])"],seealso:["setUnion","setIntersect","setDifference","setPowerset"]}},{}],547:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDifferenceDocs=void 0;exports.setDifferenceDocs={name:"setDifference",category:"Set",syntax:["setDifference(set1, set2)"],description:"Create the difference of two (multi)sets: every element of set1, that is not the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setDifference([1, 2, 3, 4], [3, 4, 5, 6])","setDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setIntersect","setSymDifference"]}},{}],548:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDistinctDocs=void 0;exports.setDistinctDocs={name:"setDistinct",category:"Set",syntax:["setDistinct(set)"],description:"Collect the distinct elements of a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setDistinct([1, 1, 1, 2, 2, 3])"],seealso:["setMultiplicity"]}},{}],549:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIntersectDocs=void 0;exports.setIntersectDocs={name:"setIntersect",category:"Set",syntax:["setIntersect(set1, set2)"],description:"Create the intersection of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setIntersect([1, 2, 3, 4], [3, 4, 5, 6])","setIntersect([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setDifference"]}},{}],550:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIsSubsetDocs=void 0;exports.setIsSubsetDocs={name:"setIsSubset",category:"Set",syntax:["setIsSubset(set1, set2)"],description:"Check whether a (multi)set is a subset of another (multi)set: every element of set1 is the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setIsSubset([1, 2], [3, 4, 5, 6])","setIsSubset([3, 4], [3, 4, 5, 6])"],seealso:["setUnion","setIntersect","setDifference"]}},{}],551:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setMultiplicityDocs=void 0;exports.setMultiplicityDocs={name:"setMultiplicity",category:"Set",syntax:["setMultiplicity(element, set)"],description:"Count the multiplicity of an element in a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setMultiplicity(1, [1, 2, 2, 4])","setMultiplicity(2, [1, 2, 2, 4])"],seealso:["setDistinct","setSize"]}},{}],552:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPowersetDocs=void 0;exports.setPowersetDocs={name:"setPowerset",category:"Set",syntax:["setPowerset(set)"],description:"Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setPowerset([1, 2, 3])"],seealso:["setCartesian"]}},{}],553:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSizeDocs=void 0;exports.setSizeDocs={name:"setSize",category:"Set",syntax:["setSize(set)","setSize(set, unique)"],description:'Count the number of elements of a (multi)set. When the second parameter "unique" is true, count only the unique values. A multi-dimension array will be converted to a single-dimension array before the operation.',examples:["setSize([1, 2, 2, 4])","setSize([1, 2, 2, 4], true)"],seealso:["setUnion","setIntersect","setDifference"]}},{}],554:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSymDifferenceDocs=void 0;exports.setSymDifferenceDocs={name:"setSymDifference",category:"Set",syntax:["setSymDifference(set1, set2)"],description:"Create the symmetric difference of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setSymDifference([1, 2, 3, 4], [3, 4, 5, 6])","setSymDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setIntersect","setDifference"]}},{}],555:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setUnionDocs=void 0;exports.setUnionDocs={name:"setUnion",category:"Set",syntax:["setUnion(set1, set2)"],description:"Create the union of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setUnion([1, 2, 3, 4], [3, 4, 5, 6])","setUnion([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setIntersect","setDifference"]}},{}],556:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.erfDocs=void 0;exports.erfDocs={name:"erf",category:"Special",syntax:["erf(x)"],description:"Compute the erf function of a value using a rational Chebyshev approximations for different intervals of x",examples:["erf(0.2)","erf(-0.5)","erf(4)"],seealso:[]}},{}],557:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.madDocs=void 0;exports.madDocs={name:"mad",category:"Statistics",syntax:["mad(a, b, c, ...)","mad(A)"],description:"Compute the median absolute deviation of a matrix or a list with values. The median absolute deviation is defined as the median of the absolute deviations from the median.",examples:["mad(10, 20, 30)","mad([1, 2, 3])"],seealso:["mean","median","std","abs"]}},{}],558:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.maxDocs=void 0;exports.maxDocs={name:"max",category:"Statistics",syntax:["max(a, b, c, ...)","max(A)","max(A, dim)"],description:"Compute the maximum value of a list of values.",examples:["max(2, 3, 4, 1)","max([2, 3, 4, 1])","max([2, 5; 4, 3])","max([2, 5; 4, 3], 1)","max([2, 5; 4, 3], 2)","max(2.7, 7.1, -4.5, 2.0, 4.1)","min(2.7, 7.1, -4.5, 2.0, 4.1)"],seealso:["mean","median","min","prod","std","sum","variance"]}},{}],559:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meanDocs=void 0;exports.meanDocs={name:"mean",category:"Statistics",syntax:["mean(a, b, c, ...)","mean(A)","mean(A, dim)"],description:"Compute the arithmetic mean of a list of values.",examples:["mean(2, 3, 4, 1)","mean([2, 3, 4, 1])","mean([2, 5; 4, 3])","mean([2, 5; 4, 3], 1)","mean([2, 5; 4, 3], 2)","mean([1.0, 2.7, 3.2, 4.0])"],seealso:["max","median","min","prod","std","sum","variance"]}},{}],560:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.medianDocs=void 0;exports.medianDocs={name:"median",category:"Statistics",syntax:["median(a, b, c, ...)","median(A)"],description:"Compute the median of all values. The values are sorted and the middle value is returned. In case of an even number of values, the average of the two middle values is returned.",examples:["median(5, 2, 7)","median([3, -1, 5, 7])"],seealso:["max","mean","min","prod","std","sum","variance","quantileSeq"]}},{}],561:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minDocs=void 0;exports.minDocs={name:"min",category:"Statistics",syntax:["min(a, b, c, ...)","min(A)","min(A, dim)"],description:"Compute the minimum value of a list of values.",examples:["min(2, 3, 4, 1)","min([2, 3, 4, 1])","min([2, 5; 4, 3])","min([2, 5; 4, 3], 1)","min([2, 5; 4, 3], 2)","min(2.7, 7.1, -4.5, 2.0, 4.1)","max(2.7, 7.1, -4.5, 2.0, 4.1)"],seealso:["max","mean","median","prod","std","sum","variance"]}},{}],562:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modeDocs=void 0;exports.modeDocs={name:"mode",category:"Statistics",syntax:["mode(a, b, c, ...)","mode(A)","mode(A, a, b, B, c, ...)"],description:"Computes the mode of all values as an array. In case mode being more than one, multiple values are returned in an array.",examples:["mode(2, 1, 4, 3, 1)","mode([1, 2.7, 3.2, 4, 2.7])","mode(1, 4, 6, 1, 6)"],seealso:["max","mean","min","median","prod","std","sum","variance"]}},{}],563:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prodDocs=void 0;exports.prodDocs={name:"prod",category:"Statistics",syntax:["prod(a, b, c, ...)","prod(A)"],description:"Compute the product of all values.",examples:["prod(2, 3, 4)","prod([2, 3, 4])","prod([2, 5; 4, 3])"],seealso:["max","mean","min","median","min","std","sum","variance"]}},{}],564:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.quantileSeqDocs=void 0;exports.quantileSeqDocs={name:"quantileSeq",category:"Statistics",syntax:["quantileSeq(A, prob[, sorted])","quantileSeq(A, [prob1, prob2, ...][, sorted])","quantileSeq(A, N[, sorted])"],description:"Compute the prob order quantile of a matrix or a list with values. The sequence is sorted and the middle value is returned. Supported types of sequence values are: Number, BigNumber, Unit Supported types of probablity are: Number, BigNumber. \n\nIn case of a (multi dimensional) array or matrix, the prob order quantile of all elements will be calculated.",examples:["quantileSeq([3, -1, 5, 7], 0.5)","quantileSeq([3, -1, 5, 7], [1/3, 2/3])","quantileSeq([3, -1, 5, 7], 2)","quantileSeq([-1, 3, 5, 7], 0.5, true)"],seealso:["mean","median","min","max","prod","std","sum","variance"]}},{}],565:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stdDocs=void 0;exports.stdDocs={name:"std",category:"Statistics",syntax:["std(a, b, c, ...)","std(A)","std(A, normalization)"],description:'Compute the standard deviation of all values, defined as std(A) = sqrt(variance(A)). Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',examples:["std(2, 4, 6)","std([2, 4, 6, 8])",'std([2, 4, 6, 8], "uncorrected")','std([2, 4, 6, 8], "biased")',"std([1, 2, 3; 4, 5, 6])"],seealso:["max","mean","min","median","prod","sum","variance"]}},{}],566:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sumDocs=void 0;exports.sumDocs={name:"sum",category:"Statistics",syntax:["sum(a, b, c, ...)","sum(A)"],description:"Compute the sum of all values.",examples:["sum(2, 3, 4, 1)","sum([2, 3, 4, 1])","sum([2, 5; 4, 3])"],seealso:["max","mean","median","min","prod","std","sum","variance"]}},{}],567:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.varianceDocs=void 0;exports.varianceDocs={name:"variance",category:"Statistics",syntax:["variance(a, b, c, ...)","variance(A)","variance(A, normalization)"],description:'Compute the variance of all values. Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',examples:["variance(2, 4, 6)","variance([2, 4, 6, 8])",'variance([2, 4, 6, 8], "uncorrected")','variance([2, 4, 6, 8], "biased")',"variance([1, 2, 3; 4, 5, 6])"],seealso:["max","mean","min","median","min","prod","std","sum"]}},{}],568:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acosDocs=void 0;exports.acosDocs={name:"acos",category:"Trigonometry",syntax:["acos(x)"],description:"Compute the inverse cosine of a value in radians.",examples:["acos(0.5)","acos(cos(2.3))"],seealso:["cos","atan","asin"]}},{}],569:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acoshDocs=void 0;exports.acoshDocs={name:"acosh",category:"Trigonometry",syntax:["acosh(x)"],description:"Calculate the hyperbolic arccos of a value, defined as `acosh(x) = ln(sqrt(x^2 - 1) + x)`.",examples:["acosh(1.5)"],seealso:["cosh","asinh","atanh"]}},{}],570:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acotDocs=void 0;exports.acotDocs={name:"acot",category:"Trigonometry",syntax:["acot(x)"],description:"Calculate the inverse cotangent of a value.",examples:["acot(0.5)","acot(cot(0.5))","acot(2)"],seealso:["cot","atan"]}},{}],571:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acothDocs=void 0;exports.acothDocs={name:"acoth",category:"Trigonometry",syntax:["acoth(x)"],description:"Calculate the hyperbolic arccotangent of a value, defined as `acoth(x) = (ln((x+1)/x) + ln(x/(x-1))) / 2`.",examples:["acoth(2)","acoth(0.5)"],seealso:["acsch","asech"]}},{}],572:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acscDocs=void 0;exports.acscDocs={name:"acsc",category:"Trigonometry",syntax:["acsc(x)"],description:"Calculate the inverse cotangent of a value.",examples:["acsc(2)","acsc(csc(0.5))","acsc(0.5)"],seealso:["csc","asin","asec"]}},{}],573:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acschDocs=void 0;exports.acschDocs={name:"acsch",category:"Trigonometry",syntax:["acsch(x)"],description:"Calculate the hyperbolic arccosecant of a value, defined as `acsch(x) = ln(1/x + sqrt(1/x^2 + 1))`.",examples:["acsch(0.5)"],seealso:["asech","acoth"]}},{}],574:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asecDocs=void 0;exports.asecDocs={name:"asec",category:"Trigonometry",syntax:["asec(x)"],description:"Calculate the inverse secant of a value.",examples:["asec(0.5)","asec(sec(0.5))","asec(2)"],seealso:["acos","acot","acsc"]}},{}],575:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asechDocs=void 0;exports.asechDocs={name:"asech",category:"Trigonometry",syntax:["asech(x)"],description:"Calculate the inverse secant of a value.",examples:["asech(0.5)"],seealso:["acsch","acoth"]}},{}],576:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinDocs=void 0;exports.asinDocs={name:"asin",category:"Trigonometry",syntax:["asin(x)"],description:"Compute the inverse sine of a value in radians.",examples:["asin(0.5)","asin(sin(0.5))"],seealso:["sin","acos","atan"]}},{}],577:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinhDocs=void 0;exports.asinhDocs={name:"asinh",category:"Trigonometry",syntax:["asinh(x)"],description:"Calculate the hyperbolic arcsine of a value, defined as `asinh(x) = ln(x + sqrt(x^2 + 1))`.",examples:["asinh(0.5)"],seealso:["acosh","atanh"]}},{}],578:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanDocs=void 0;exports.atanDocs={name:"atan",category:"Trigonometry",syntax:["atan(x)"],description:"Compute the inverse tangent of a value in radians.",examples:["atan(0.5)","atan(tan(0.5))"],seealso:["tan","acos","asin"]}},{}],579:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atan2Docs=void 0;exports.atan2Docs={name:"atan2",category:"Trigonometry",syntax:["atan2(y, x)"],description:"Computes the principal value of the arc tangent of y/x in radians.",examples:["atan2(2, 2) / pi","angle = 60 deg in rad","x = cos(angle)","y = sin(angle)","atan2(y, x)"],seealso:["sin","cos","tan"]}},{}],580:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanhDocs=void 0;exports.atanhDocs={name:"atanh",category:"Trigonometry",syntax:["atanh(x)"],description:"Calculate the hyperbolic arctangent of a value, defined as `atanh(x) = ln((1 + x)/(1 - x)) / 2`.",examples:["atanh(0.5)"],seealso:["acosh","asinh"]}},{}],581:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cosDocs=void 0;exports.cosDocs={name:"cos",category:"Trigonometry",syntax:["cos(x)"],description:"Compute the cosine of x in radians.",examples:["cos(2)","cos(pi / 4) ^ 2","cos(180 deg)","cos(60 deg)","sin(0.2)^2 + cos(0.2)^2"],seealso:["acos","sin","tan"]}},{}],582:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.coshDocs=void 0;exports.coshDocs={name:"cosh",category:"Trigonometry",syntax:["cosh(x)"],description:"Compute the hyperbolic cosine of x in radians.",examples:["cosh(0.5)"],seealso:["sinh","tanh","coth"]}},{}],583:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cotDocs=void 0;exports.cotDocs={name:"cot",category:"Trigonometry",syntax:["cot(x)"],description:"Compute the cotangent of x in radians. Defined as 1/tan(x)",examples:["cot(2)","1 / tan(2)"],seealso:["sec","csc","tan"]}},{}],584:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cothDocs=void 0;exports.cothDocs={name:"coth",category:"Trigonometry",syntax:["coth(x)"],description:"Compute the hyperbolic cotangent of x in radians.",examples:["coth(2)","1 / tanh(2)"],seealso:["sech","csch","tanh"]}},{}],585:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cscDocs=void 0;exports.cscDocs={name:"csc",category:"Trigonometry",syntax:["csc(x)"],description:"Compute the cosecant of x in radians. Defined as 1/sin(x)",examples:["csc(2)","1 / sin(2)"],seealso:["sec","cot","sin"]}},{}],586:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cschDocs=void 0;exports.cschDocs={name:"csch",category:"Trigonometry",syntax:["csch(x)"],description:"Compute the hyperbolic cosecant of x in radians. Defined as 1/sinh(x)",examples:["csch(2)","1 / sinh(2)"],seealso:["sech","coth","sinh"]}},{}],587:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.secDocs=void 0;exports.secDocs={name:"sec",category:"Trigonometry",syntax:["sec(x)"],description:"Compute the secant of x in radians. Defined as 1/cos(x)",examples:["sec(2)","1 / cos(2)"],seealso:["cot","csc","cos"]}},{}],588:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sechDocs=void 0;exports.sechDocs={name:"sech",category:"Trigonometry",syntax:["sech(x)"],description:"Compute the hyperbolic secant of x in radians. Defined as 1/cosh(x)",examples:["sech(2)","1 / cosh(2)"],seealso:["coth","csch","cosh"]}},{}],589:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinDocs=void 0;exports.sinDocs={name:"sin",category:"Trigonometry",syntax:["sin(x)"],description:"Compute the sine of x in radians.",examples:["sin(2)","sin(pi / 4) ^ 2","sin(90 deg)","sin(30 deg)","sin(0.2)^2 + cos(0.2)^2"],seealso:["asin","cos","tan"]}},{}],590:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinhDocs=void 0;exports.sinhDocs={name:"sinh",category:"Trigonometry",syntax:["sinh(x)"],description:"Compute the hyperbolic sine of x in radians.",examples:["sinh(0.5)"],seealso:["cosh","tanh"]}},{}],591:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanDocs=void 0;exports.tanDocs={name:"tan",category:"Trigonometry",syntax:["tan(x)"],description:"Compute the tangent of x in radians.",examples:["tan(0.5)","sin(0.5) / cos(0.5)","tan(pi / 4)","tan(45 deg)"],seealso:["atan","sin","cos"]}},{}],592:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanhDocs=void 0;exports.tanhDocs={name:"tanh",category:"Trigonometry",syntax:["tanh(x)"],description:"Compute the hyperbolic tangent of x in radians.",examples:["tanh(0.5)","sinh(0.5) / cosh(0.5)"],seealso:["sinh","cosh"]}},{}],593:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toDocs=void 0;exports.toDocs={name:"to",category:"Units",syntax:["x to unit","to(x, unit)"],description:"Change the unit of a value.",examples:["5 inch to cm","3.2kg to g","16 bytes in bits"],seealso:[]}},{}],594:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.binDocs=void 0;exports.binDocs={name:"bin",category:"Utils",syntax:["bin(value)"],description:"Format a number as binary",examples:["bin(2)"],seealso:["oct","hex"]}},{}],595:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cloneDocs=void 0;exports.cloneDocs={name:"clone",category:"Utils",syntax:["clone(x)"],description:"Clone a variable. Creates a copy of primitive variables,and a deep copy of matrices",examples:["clone(3.5)","clone(2 - 4i)","clone(45 deg)","clone([1, 2; 3, 4])",'clone("hello world")'],seealso:[]}},{}],596:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatDocs=void 0;exports.formatDocs={name:"format",category:"Utils",syntax:["format(value)","format(value, precision)"],description:"Format a value of any type as string.",examples:["format(2.3)","format(3 - 4i)","format([])","format(pi, 3)"],seealso:["print"]}},{}],597:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hasNumericValueDocs=void 0;exports.hasNumericValueDocs={name:"hasNumericValue",category:"Utils",syntax:["hasNumericValue(x)"],description:"Test whether a value is an numeric value. In case of a string, true is returned if the string contains a numeric value.",examples:["hasNumericValue(2)",'hasNumericValue("2")','isNumeric("2")',"hasNumericValue(0)","hasNumericValue(bignumber(500))","hasNumericValue(fraction(0.125))","hasNumericValue(2 + 3i)",'hasNumericValue([2.3, "foo", false])'],seealso:["isInteger","isZero","isNegative","isPositive","isNaN","isNumeric"]}},{}],598:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hexDocs=void 0;exports.hexDocs={name:"hex",category:"Utils",syntax:["hex(value)"],description:"Format a number as hexadecimal",examples:["hex(240)"],seealso:["bin","oct"]}},{}],599:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIntegerDocs=void 0;exports.isIntegerDocs={name:"isInteger",category:"Utils",syntax:["isInteger(x)"],description:"Test whether a value is an integer number.",examples:["isInteger(2)","isInteger(3.5)","isInteger([3, 0.5, -2])"],seealso:["isNegative","isNumeric","isPositive","isZero"]}},{}],600:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNaNDocs=void 0;exports.isNaNDocs={name:"isNaN",category:"Utils",syntax:["isNaN(x)"],description:"Test whether a value is NaN (not a number)",examples:["isNaN(2)","isNaN(0 / 0)","isNaN(NaN)","isNaN(Infinity)"],seealso:["isNegative","isNumeric","isPositive","isZero"]}},{}],601:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNegativeDocs=void 0;exports.isNegativeDocs={name:"isNegative",category:"Utils",syntax:["isNegative(x)"],description:"Test whether a value is negative: smaller than zero.",examples:["isNegative(2)","isNegative(0)","isNegative(-4)","isNegative([3, 0.5, -2])"],seealso:["isInteger","isNumeric","isPositive","isZero"]}},{}],602:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNumericDocs=void 0;exports.isNumericDocs={name:"isNumeric",category:"Utils",syntax:["isNumeric(x)"],description:"Test whether a value is a numeric value. Returns true when the input is a number, BigNumber, Fraction, or boolean.",examples:["isNumeric(2)",'isNumeric("2")','hasNumericValue("2")',"isNumeric(0)","isNumeric(bignumber(500))","isNumeric(fraction(0.125))","isNumeric(2 + 3i)",'isNumeric([2.3, "foo", false])'],seealso:["isInteger","isZero","isNegative","isPositive","isNaN","hasNumericValue"]}},{}],603:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPositiveDocs=void 0;exports.isPositiveDocs={name:"isPositive",category:"Utils",syntax:["isPositive(x)"],description:"Test whether a value is positive: larger than zero.",examples:["isPositive(2)","isPositive(0)","isPositive(-4)","isPositive([3, 0.5, -2])"],seealso:["isInteger","isNumeric","isNegative","isZero"]}},{}],604:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPrimeDocs=void 0;exports.isPrimeDocs={name:"isPrime",category:"Utils",syntax:["isPrime(x)"],description:"Test whether a value is prime: has no divisors other than itself and one.",examples:["isPrime(3)","isPrime(-2)","isPrime([2, 17, 100])"],seealso:["isInteger","isNumeric","isNegative","isZero"]}},{}],605:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isZeroDocs=void 0;exports.isZeroDocs={name:"isZero",category:"Utils",syntax:["isZero(x)"],description:"Test whether a value is zero.",examples:["isZero(2)","isZero(0)","isZero(-4)","isZero([3, 0, -2, 0])"],seealso:["isInteger","isNumeric","isNegative","isPositive"]}},{}],606:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numericDocs=void 0;exports.numericDocs={name:"numeric",category:"Utils",syntax:["numeric(x)"],description:"Convert a numeric input to a specific numeric type: number, BigNumber, or Fraction.",examples:['numeric("4")','numeric("4", "number")','numeric("4", "BigNumber")','numeric("4", "Fraction)','numeric(4, "Fraction")','numeric(fraction(2, 5), "number)'],seealso:["number","fraction","bignumber","string","format"]}},{}],607:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.octDocs=void 0;exports.octDocs={name:"oct",category:"Utils",syntax:["oct(value)"],description:"Format a number as octal",examples:["oct(56)"],seealso:["bin","hex"]}},{}],608:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typeOfDocs=void 0;exports.typeOfDocs={name:"typeOf",category:"Utils",syntax:["typeOf(x)"],description:"Get the type of a variable.",examples:["typeOf(3.5)","typeOf(2 - 4i)","typeOf(45 deg)",'typeOf("hello world")'],seealso:["getMatrixDataType"]}},{}],609:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCompile=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","parse"],createCompile=(0,_factory.factory)("compile",dependencies,(function(_ref){var typed=_ref.typed,parse=_ref.parse;return typed("compile",{string:function string(expr){return parse(expr).compile()},"Array | Matrix":function ArrayMatrix(expr){return(0,_collection.deepMap)(expr,(function(entry){return parse(entry).compile()}))}})}));exports.createCompile=createCompile},{"../../utils/collection.js":937,"../../utils/factory.js":941}],610:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEvaluate=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_map=require("../../utils/map.js"),dependencies=["typed","parse"],createEvaluate=(0,_factory.factory)("evaluate",dependencies,(function(_ref){var typed=_ref.typed,parse=_ref.parse;return typed("evaluate",{string:function string(expr){var scope=(0,_map.createEmptyMap)();return parse(expr).compile().evaluate(scope)},"string, Map | Object":function stringMapObject(expr,scope){return parse(expr).compile().evaluate(scope)},"Array | Matrix":function ArrayMatrix(expr){var scope=(0,_map.createEmptyMap)();return(0,_collection.deepMap)(expr,(function(entry){return parse(entry).compile().evaluate(scope)}))},"Array | Matrix, Map | Object":function ArrayMatrixMapObject(expr,scope){return(0,_collection.deepMap)(expr,(function(entry){return parse(entry).compile().evaluate(scope)}))}})}));exports.createEvaluate=createEvaluate},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/map.js":946}],611:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHelp=void 0;var _factory=require("../../utils/factory.js"),_customs=require("../../utils/customs.js"),_embeddedDocs=require("../embeddedDocs/embeddedDocs.js"),_object=require("../../utils/object.js"),dependencies=["typed","mathWithTransform","Help"],createHelp=(0,_factory.factory)("help",dependencies,(function(_ref){var typed=_ref.typed,mathWithTransform=_ref.mathWithTransform,Help=_ref.Help;return typed("help",{any:function any(search){var prop,searchName=search;if("string"!=typeof search)for(prop in mathWithTransform)if((0,_object.hasOwnProperty)(mathWithTransform,prop)&&search===mathWithTransform[prop]){searchName=prop;break}var doc=(0,_customs.getSafeProperty)(_embeddedDocs.embeddedDocs,searchName);if(!doc){var searchText="function"==typeof searchName?searchName.name:searchName;throw new Error('No documentation found on "'+searchText+'"')}return new Help(doc)}})}));exports.createHelp=createHelp},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/object.js":949,"../embeddedDocs/embeddedDocs.js":418}],612:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createParser=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","Parser"],createParser=(0,_factory.factory)("parser",dependencies,(function(_ref){var typed=_ref.typed,Parser=_ref.Parser;return typed("parser",{"":function _(){return new Parser}})}));exports.createParser=createParser},{"../../utils/factory.js":941}],613:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.keywords=void 0;var keywords=new Set(["end"]);exports.keywords=keywords},{}],614:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAccessorNode=void 0;var _is=require("../../utils/is.js"),_customs=require("../../utils/customs.js"),_factory=require("../../utils/factory.js"),_access=require("./utils/access.js"),dependencies=["subset","Node"],createAccessorNode=(0,_factory.factory)("AccessorNode",dependencies,(function(_ref){var subset=_ref.subset,Node=_ref.Node,access=(0,_access.accessFactory)({subset:subset});function AccessorNode(object,index){if(!(this instanceof AccessorNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(object))throw new TypeError('Node expected for parameter "object"');if(!(0,_is.isIndexNode)(index))throw new TypeError('IndexNode expected for parameter "index"');this.object=object||null,this.index=index,Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function set(){throw new Error("Cannot assign a new name, name is read-only")}})}function needParenthesis(node){return!((0,_is.isAccessorNode)(node)||(0,_is.isArrayNode)(node)||(0,_is.isConstantNode)(node)||(0,_is.isFunctionNode)(node)||(0,_is.isObjectNode)(node)||(0,_is.isParenthesisNode)(node)||(0,_is.isSymbolNode)(node))}return AccessorNode.prototype=new Node,AccessorNode.prototype.type="AccessorNode",AccessorNode.prototype.isAccessorNode=!0,AccessorNode.prototype._compile=function(math,argNames){var evalObject=this.object._compile(math,argNames),evalIndex=this.index._compile(math,argNames);if(this.index.isObjectProperty()){var prop=this.index.getObjectProperty();return function evalAccessorNode(scope,args,context){return(0,_customs.getSafeProperty)(evalObject(scope,args,context),prop)}}return function evalAccessorNode(scope,args,context){var object=evalObject(scope,args,context),index=evalIndex(scope,args,object);return access(object,index)}},AccessorNode.prototype.forEach=function(callback){callback(this.object,"object",this),callback(this.index,"index",this)},AccessorNode.prototype.map=function(callback){return new AccessorNode(this._ifNode(callback(this.object,"object",this)),this._ifNode(callback(this.index,"index",this)))},AccessorNode.prototype.clone=function(){return new AccessorNode(this.object,this.index)},AccessorNode.prototype._toString=function(options){var object=this.object.toString(options);return needParenthesis(this.object)&&(object="("+object+")"),object+this.index.toString(options)},AccessorNode.prototype.toHTML=function(options){var object=this.object.toHTML(options);return needParenthesis(this.object)&&(object='('+object+')'),object+this.index.toHTML(options)},AccessorNode.prototype._toTex=function(options){var object=this.object.toTex(options);return needParenthesis(this.object)&&(object="\\left(' + object + '\\right)"),object+this.index.toTex(options)},AccessorNode.prototype.toJSON=function(){return{mathjs:"AccessorNode",object:this.object,index:this.index}},AccessorNode.fromJSON=function(json){return new AccessorNode(json.object,json.index)},AccessorNode}),{isClass:!0,isNode:!0});exports.createAccessorNode=createAccessorNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/access.js":630}],615:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createArrayNode=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),dependencies=["Node"],createArrayNode=(0,require("../../utils/factory.js").factory)("ArrayNode",dependencies,(function(_ref){var Node=_ref.Node;function ArrayNode(items){if(!(this instanceof ArrayNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.items=items||[],!Array.isArray(this.items)||!this.items.every(_is.isNode))throw new TypeError("Array containing Nodes expected")}return ArrayNode.prototype=new Node,ArrayNode.prototype.type="ArrayNode",ArrayNode.prototype.isArrayNode=!0,ArrayNode.prototype._compile=function(math,argNames){var evalItems=(0,_array.map)(this.items,(function(item){return item._compile(math,argNames)}));if("Array"!==math.config.matrix){var matrix=math.matrix;return function evalArrayNode(scope,args,context){return matrix((0,_array.map)(evalItems,(function(evalItem){return evalItem(scope,args,context)})))}}return function evalArrayNode(scope,args,context){return(0,_array.map)(evalItems,(function(evalItem){return evalItem(scope,args,context)}))}},ArrayNode.prototype.forEach=function(callback){for(var i=0;i['+this.items.map((function(node){return node.toHTML(options)})).join(',')+']'},ArrayNode.prototype._toTex=function(options){var s="\\begin{bmatrix}";return this.items.forEach((function(node){node.items?s+=node.items.map((function(childNode){return childNode.toTex(options)})).join("&"):s+=node.toTex(options),s+="\\\\"})),s+="\\end{bmatrix}"},ArrayNode}),{isClass:!0,isNode:!0});exports.createArrayNode=createArrayNode},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943}],616:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAssignmentNode=void 0;var _is=require("../../utils/is.js"),_customs=require("../../utils/customs.js"),_factory=require("../../utils/factory.js"),_access=require("./utils/access.js"),_assign=require("./utils/assign.js"),_operators=require("../operators.js"),dependencies=["subset","?matrix","Node"],createAssignmentNode=(0,_factory.factory)("AssignmentNode",dependencies,(function(_ref){var subset=_ref.subset,matrix=_ref.matrix,Node=_ref.Node,access=(0,_access.accessFactory)({subset:subset}),assign=(0,_assign.assignFactory)({subset:subset,matrix:matrix});function AssignmentNode(object,index,value){if(!(this instanceof AssignmentNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.object=object,this.index=value?index:null,this.value=value||index,!(0,_is.isSymbolNode)(object)&&!(0,_is.isAccessorNode)(object))throw new TypeError('SymbolNode or AccessorNode expected as "object"');if((0,_is.isSymbolNode)(object)&&"end"===object.name)throw new Error('Cannot assign to symbol "end"');if(this.index&&!(0,_is.isIndexNode)(this.index))throw new TypeError('IndexNode expected as "index"');if(!(0,_is.isNode)(this.value))throw new TypeError('Node expected as "value"');Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function set(){throw new Error("Cannot assign a new name, name is read-only")}})}function needParenthesis(node,parenthesis){parenthesis||(parenthesis="keep");var precedence=(0,_operators.getPrecedence)(node,parenthesis),exprPrecedence=(0,_operators.getPrecedence)(node.value,parenthesis);return"all"===parenthesis||null!==exprPrecedence&&exprPrecedence<=precedence}return AssignmentNode.prototype=new Node,AssignmentNode.prototype.type="AssignmentNode",AssignmentNode.prototype.isAssignmentNode=!0,AssignmentNode.prototype._compile=function(math,argNames){var evalObject=this.object._compile(math,argNames),evalIndex=this.index?this.index._compile(math,argNames):null,evalValue=this.value._compile(math,argNames),name=this.object.name;if(this.index){if(this.index.isObjectProperty()){var prop=this.index.getObjectProperty();return function evalAssignmentNode(scope,args,context){var object=evalObject(scope,args,context),value=evalValue(scope,args,context);return(0,_customs.setSafeProperty)(object,prop,value),value}}if((0,_is.isSymbolNode)(this.object))return function evalAssignmentNode(scope,args,context){var childObject=evalObject(scope,args,context),value=evalValue(scope,args,context),index=evalIndex(scope,args,childObject);return scope.set(name,assign(childObject,index,value)),value};var evalParentObject=this.object.object._compile(math,argNames);if(this.object.index.isObjectProperty()){var parentProp=this.object.index.getObjectProperty();return function evalAssignmentNode(scope,args,context){var parent=evalParentObject(scope,args,context),childObject=(0,_customs.getSafeProperty)(parent,parentProp),index=evalIndex(scope,args,childObject),value=evalValue(scope,args,context);return(0,_customs.setSafeProperty)(parent,parentProp,assign(childObject,index,value)),value}}var evalParentIndex=this.object.index._compile(math,argNames);return function evalAssignmentNode(scope,args,context){var parent=evalParentObject(scope,args,context),parentIndex=evalParentIndex(scope,args,parent),childObject=access(parent,parentIndex),index=evalIndex(scope,args,childObject),value=evalValue(scope,args,context);return assign(parent,parentIndex,assign(childObject,index,value)),value}}if(!(0,_is.isSymbolNode)(this.object))throw new TypeError("SymbolNode expected as object");return function evalAssignmentNode(scope,args,context){var value=evalValue(scope,args,context);return scope.set(name,value),value}},AssignmentNode.prototype.forEach=function(callback){callback(this.object,"object",this),this.index&&callback(this.index,"index",this),callback(this.value,"value",this)},AssignmentNode.prototype.map=function(callback){return new AssignmentNode(this._ifNode(callback(this.object,"object",this)),this.index?this._ifNode(callback(this.index,"index",this)):null,this._ifNode(callback(this.value,"value",this)))},AssignmentNode.prototype.clone=function(){return new AssignmentNode(this.object,this.index,this.value)},AssignmentNode.prototype._toString=function(options){var object=this.object.toString(options),index=this.index?this.index.toString(options):"",value=this.value.toString(options);return needParenthesis(this,options&&options.parenthesis)&&(value="("+value+")"),object+index+" = "+value},AssignmentNode.prototype.toJSON=function(){return{mathjs:"AssignmentNode",object:this.object,index:this.index,value:this.value}},AssignmentNode.fromJSON=function(json){return new AssignmentNode(json.object,json.index,json.value)},AssignmentNode.prototype.toHTML=function(options){var object=this.object.toHTML(options),index=this.index?this.index.toHTML(options):"",value=this.value.toHTML(options);return needParenthesis(this,options&&options.parenthesis)&&(value='('+value+')'),object+index+'='+value},AssignmentNode.prototype._toTex=function(options){var object=this.object.toTex(options),index=this.index?this.index.toTex(options):"",value=this.value.toTex(options);return needParenthesis(this,options&&options.parenthesis)&&(value="\\left(".concat(value,"\\right)")),object+index+":="+value},AssignmentNode}),{isClass:!0,isNode:!0});exports.createAssignmentNode=createAssignmentNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../operators.js":632,"./utils/access.js":630,"./utils/assign.js":631}],617:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBlockNode=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),dependencies=["ResultSet","Node"],createBlockNode=(0,require("../../utils/factory.js").factory)("BlockNode",dependencies,(function(_ref){var ResultSet=_ref.ResultSet,Node=_ref.Node;function BlockNode(blocks){if(!(this instanceof BlockNode))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(blocks))throw new Error("Array expected");this.blocks=blocks.map((function(block){var node=block&&block.node,visible=!block||void 0===block.visible||block.visible;if(!(0,_is.isNode)(node))throw new TypeError('Property "node" must be a Node');if("boolean"!=typeof visible)throw new TypeError('Property "visible" must be a boolean');return{node:node,visible:visible}}))}return BlockNode.prototype=new Node,BlockNode.prototype.type="BlockNode",BlockNode.prototype.isBlockNode=!0,BlockNode.prototype._compile=function(math,argNames){var evalBlocks=(0,_array.map)(this.blocks,(function(block){return{evaluate:block.node._compile(math,argNames),visible:block.visible}}));return function evalBlockNodes(scope,args,context){var results=[];return(0,_array.forEach)(evalBlocks,(function evalBlockNode(block){var result=block.evaluate(scope,args,context);block.visible&&results.push(result)})),new ResultSet(results)}},BlockNode.prototype.forEach=function(callback){for(var i=0;i;')})).join('
')},BlockNode.prototype._toTex=function(options){return this.blocks.map((function(param){return param.node.toTex(options)+(param.visible?"":";")})).join("\\;\\;\n")},BlockNode}),{isClass:!0,isNode:!0});exports.createBlockNode=createBlockNode},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943}],618:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConditionalNode=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_operators=require("../operators.js"),dependencies=["Node"],createConditionalNode=(0,_factory.factory)("ConditionalNode",dependencies,(function(_ref){var Node=_ref.Node;function ConditionalNode(condition,trueExpr,falseExpr){if(!(this instanceof ConditionalNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(condition))throw new TypeError("Parameter condition must be a Node");if(!(0,_is.isNode)(trueExpr))throw new TypeError("Parameter trueExpr must be a Node");if(!(0,_is.isNode)(falseExpr))throw new TypeError("Parameter falseExpr must be a Node");this.condition=condition,this.trueExpr=trueExpr,this.falseExpr=falseExpr}return ConditionalNode.prototype=new Node,ConditionalNode.prototype.type="ConditionalNode",ConditionalNode.prototype.isConditionalNode=!0,ConditionalNode.prototype._compile=function(math,argNames){var evalCondition=this.condition._compile(math,argNames),evalTrueExpr=this.trueExpr._compile(math,argNames),evalFalseExpr=this.falseExpr._compile(math,argNames);return function evalConditionalNode(scope,args,context){return function testCondition(condition){if("number"==typeof condition||"boolean"==typeof condition||"string"==typeof condition)return!!condition;if(condition){if((0,_is.isBigNumber)(condition))return!condition.isZero();if((0,_is.isComplex)(condition))return!(!condition.re&&!condition.im);if((0,_is.isUnit)(condition))return!!condition.value}if(null==condition)return!1;throw new TypeError('Unsupported type of condition "'+(0,_is.typeOf)(condition)+'"')}(evalCondition(scope,args,context))?evalTrueExpr(scope,args,context):evalFalseExpr(scope,args,context)}},ConditionalNode.prototype.forEach=function(callback){callback(this.condition,"condition",this),callback(this.trueExpr,"trueExpr",this),callback(this.falseExpr,"falseExpr",this)},ConditionalNode.prototype.map=function(callback){return new ConditionalNode(this._ifNode(callback(this.condition,"condition",this)),this._ifNode(callback(this.trueExpr,"trueExpr",this)),this._ifNode(callback(this.falseExpr,"falseExpr",this)))},ConditionalNode.prototype.clone=function(){return new ConditionalNode(this.condition,this.trueExpr,this.falseExpr)},ConditionalNode.prototype._toString=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",precedence=(0,_operators.getPrecedence)(this,parenthesis),condition=this.condition.toString(options),conditionPrecedence=(0,_operators.getPrecedence)(this.condition,parenthesis);("all"===parenthesis||"OperatorNode"===this.condition.type||null!==conditionPrecedence&&conditionPrecedence<=precedence)&&(condition="("+condition+")");var trueExpr=this.trueExpr.toString(options),truePrecedence=(0,_operators.getPrecedence)(this.trueExpr,parenthesis);("all"===parenthesis||"OperatorNode"===this.trueExpr.type||null!==truePrecedence&&truePrecedence<=precedence)&&(trueExpr="("+trueExpr+")");var falseExpr=this.falseExpr.toString(options),falsePrecedence=(0,_operators.getPrecedence)(this.falseExpr,parenthesis);return("all"===parenthesis||"OperatorNode"===this.falseExpr.type||null!==falsePrecedence&&falsePrecedence<=precedence)&&(falseExpr="("+falseExpr+")"),condition+" ? "+trueExpr+" : "+falseExpr},ConditionalNode.prototype.toJSON=function(){return{mathjs:"ConditionalNode",condition:this.condition,trueExpr:this.trueExpr,falseExpr:this.falseExpr}},ConditionalNode.fromJSON=function(json){return new ConditionalNode(json.condition,json.trueExpr,json.falseExpr)},ConditionalNode.prototype.toHTML=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",precedence=(0,_operators.getPrecedence)(this,parenthesis),condition=this.condition.toHTML(options),conditionPrecedence=(0,_operators.getPrecedence)(this.condition,parenthesis);("all"===parenthesis||"OperatorNode"===this.condition.type||null!==conditionPrecedence&&conditionPrecedence<=precedence)&&(condition='('+condition+')');var trueExpr=this.trueExpr.toHTML(options),truePrecedence=(0,_operators.getPrecedence)(this.trueExpr,parenthesis);("all"===parenthesis||"OperatorNode"===this.trueExpr.type||null!==truePrecedence&&truePrecedence<=precedence)&&(trueExpr='('+trueExpr+')');var falseExpr=this.falseExpr.toHTML(options),falsePrecedence=(0,_operators.getPrecedence)(this.falseExpr,parenthesis);return("all"===parenthesis||"OperatorNode"===this.falseExpr.type||null!==falsePrecedence&&falsePrecedence<=precedence)&&(falseExpr='('+falseExpr+')'),condition+'?'+trueExpr+':'+falseExpr},ConditionalNode.prototype._toTex=function(options){return"\\begin{cases} {"+this.trueExpr.toTex(options)+"}, &\\quad{\\text{if }\\;"+this.condition.toTex(options)+"}\\\\{"+this.falseExpr.toTex(options)+"}, &\\quad{\\text{otherwise}}\\end{cases}"},ConditionalNode}),{isClass:!0,isNode:!0});exports.createConditionalNode=createConditionalNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../operators.js":632}],619:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConstantNode=void 0;var _string=require("../../utils/string.js"),_is=require("../../utils/is.js"),_latex=require("../../utils/latex.js"),dependencies=["Node"],createConstantNode=(0,require("../../utils/factory.js").factory)("ConstantNode",dependencies,(function(_ref){var Node=_ref.Node;function ConstantNode(value){if(!(this instanceof ConstantNode))throw new SyntaxError("Constructor must be called with the new operator");this.value=value}return ConstantNode.prototype=new Node,ConstantNode.prototype.type="ConstantNode",ConstantNode.prototype.isConstantNode=!0,ConstantNode.prototype._compile=function(math,argNames){var value=this.value;return function evalConstantNode(){return value}},ConstantNode.prototype.forEach=function(callback){},ConstantNode.prototype.map=function(callback){return this.clone()},ConstantNode.prototype.clone=function(){return new ConstantNode(this.value)},ConstantNode.prototype._toString=function(options){return(0,_string.format)(this.value,options)},ConstantNode.prototype.toHTML=function(options){var value=this._toString(options);switch((0,_is.typeOf)(this.value)){case"number":case"BigNumber":case"Fraction":return''+value+"";case"string":return''+value+"";case"boolean":return''+value+"";case"null":return''+value+"";case"undefined":return''+value+"";default:return''+value+""}},ConstantNode.prototype.toJSON=function(){return{mathjs:"ConstantNode",value:this.value}},ConstantNode.fromJSON=function(json){return new ConstantNode(json.value)},ConstantNode.prototype._toTex=function(options){var value=this._toString(options);switch((0,_is.typeOf)(this.value)){case"string":return"\\mathtt{"+(0,_latex.escapeLatex)(value)+"}";case"number":case"BigNumber":if(!isFinite(this.value))return this.value.valueOf()<0?"-\\infty":"\\infty";var index=value.toLowerCase().indexOf("e");return-1!==index?value.substring(0,index)+"\\cdot10^{"+value.substring(index+1)+"}":value;case"Fraction":return this.value.toLatex();default:return value}},ConstantNode}),{isClass:!0,isNode:!0});exports.createConstantNode=createConstantNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/string.js":953}],620:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFunctionAssignmentNode=void 0;var _is=require("../../utils/is.js"),_keywords=require("../keywords.js"),_string=require("../../utils/string.js"),_array=require("../../utils/array.js"),_latex=require("../../utils/latex.js"),_operators=require("../operators.js"),dependencies=["typed","Node"],createFunctionAssignmentNode=(0,require("../../utils/factory.js").factory)("FunctionAssignmentNode",dependencies,(function(_ref){var typed=_ref.typed,Node=_ref.Node;function FunctionAssignmentNode(name,params,expr){if(!(this instanceof FunctionAssignmentNode))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof name)throw new TypeError('String expected for parameter "name"');if(!Array.isArray(params))throw new TypeError('Array containing strings or objects expected for parameter "params"');if(!(0,_is.isNode)(expr))throw new TypeError('Node expected for parameter "expr"');if(_keywords.keywords.has(name))throw new Error('Illegal function name, "'+name+'" is a reserved keyword');this.name=name,this.params=params.map((function(param){return param&¶m.name||param})),this.types=params.map((function(param){return param&¶m.type||"any"})),this.expr=expr}function needParenthesis(node,parenthesis){var precedence=(0,_operators.getPrecedence)(node,parenthesis),exprPrecedence=(0,_operators.getPrecedence)(node.expr,parenthesis);return"all"===parenthesis||null!==exprPrecedence&&exprPrecedence<=precedence}return FunctionAssignmentNode.prototype=new Node,FunctionAssignmentNode.prototype.type="FunctionAssignmentNode",FunctionAssignmentNode.prototype.isFunctionAssignmentNode=!0,FunctionAssignmentNode.prototype._compile=function(math,argNames){var childArgNames=Object.create(argNames);(0,_array.forEach)(this.params,(function(param){childArgNames[param]=!0}));var evalExpr=this.expr._compile(math,childArgNames),name=this.name,params=this.params,signature=(0,_array.join)(this.types,","),syntax=name+"("+(0,_array.join)(this.params,", ")+")";return function evalFunctionAssignmentNode(scope,args,context){var signatures={};signatures[signature]=function(){for(var childArgs=Object.create(args),i=0;i'+(0,_string.escape)(this.params[i])+"");var expr=this.expr.toHTML(options);return needParenthesis(this,parenthesis)&&(expr='('+expr+')'),''+(0,_string.escape)(this.name)+'('+params.join(',')+')='+expr},FunctionAssignmentNode.prototype._toTex=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",expr=this.expr.toTex(options);return needParenthesis(this,parenthesis)&&(expr="\\left(".concat(expr,"\\right)")),"\\mathrm{"+this.name+"}\\left("+this.params.map(_latex.toSymbol).join(",")+"\\right):="+expr},FunctionAssignmentNode}),{isClass:!0,isNode:!0});exports.createFunctionAssignmentNode=createFunctionAssignmentNode},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/string.js":953,"../keywords.js":613,"../operators.js":632}],621:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFunctionNode=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),_customs=require("../../utils/customs.js"),_scope=require("../../utils/scope.js"),_factory=require("../../utils/factory.js"),_latex=require("../../utils/latex.js"),dependencies=["math","Node","SymbolNode"],createFunctionNode=(0,_factory.factory)("FunctionNode",dependencies,(function(_ref){var math=_ref.math,Node=_ref.Node,SymbolNode=_ref.SymbolNode;function FunctionNode(fn,args){if(!(this instanceof FunctionNode))throw new SyntaxError("Constructor must be called with the new operator");if("string"==typeof fn&&(fn=new SymbolNode(fn)),!(0,_is.isNode)(fn))throw new TypeError('Node expected as parameter "fn"');if(!Array.isArray(args)||!args.every(_is.isNode))throw new TypeError('Array containing Nodes expected for parameter "args"');this.fn=fn,this.args=args||[],Object.defineProperty(this,"name",{get:function(){return this.fn.name||""}.bind(this),set:function set(){throw new Error("Cannot assign a new name, name is read-only")}})}FunctionNode.prototype=new Node,FunctionNode.prototype.type="FunctionNode",FunctionNode.prototype.isFunctionNode=!0,FunctionNode.prototype._compile=function(math,argNames){if(!(this instanceof FunctionNode))throw new TypeError("No valid FunctionNode");var evalArgs=this.args.map((function(arg){return arg._compile(math,argNames)}));if(!(0,_is.isSymbolNode)(this.fn)){if((0,_is.isAccessorNode)(this.fn)&&(0,_is.isIndexNode)(this.fn.index)&&this.fn.index.isObjectProperty()){var evalObject=this.fn.object._compile(math,argNames),prop=this.fn.index.getObjectProperty(),_rawArgs=this.args;return function evalFunctionNode(scope,args,context){var object=evalObject(scope,args,context);if((0,_customs.validateSafeMethod)(object,prop),object[prop]&&object[prop].rawArgs)return object[prop](_rawArgs,math,(0,_scope.createSubScope)(scope,args),scope);var values=evalArgs.map((function(evalArg){return evalArg(scope,args,context)}));return object[prop].apply(object,values)}}var evalFn=this.fn._compile(math,argNames),_rawArgs2=this.args;return function evalFunctionNode(scope,args,context){var fn=evalFn(scope,args,context);if(fn&&fn.rawArgs)return fn(_rawArgs2,math,(0,_scope.createSubScope)(scope,args),scope);var values=evalArgs.map((function(evalArg){return evalArg(scope,args,context)}));return fn.apply(fn,values)}}var _name=this.fn.name,fn=_name in math?(0,_customs.getSafeProperty)(math,_name):void 0,isRaw="function"==typeof fn&&!0===fn.rawArgs,resolveFn=function resolveFn(scope){return scope.has(_name)?scope.get(_name):_name in math?(0,_customs.getSafeProperty)(math,_name):FunctionNode.onUndefinedFunction(_name)};if(isRaw){var rawArgs=this.args;return function evalFunctionNode(scope,args,context){return resolveFn(scope)(rawArgs,math,(0,_scope.createSubScope)(scope,args),scope)}}switch(evalArgs.length){case 0:return function evalFunctionNode(scope,args,context){return resolveFn(scope)()};case 1:return function evalFunctionNode(scope,args,context){return resolveFn(scope)((0,evalArgs[0])(scope,args,context))};case 2:return function evalFunctionNode(scope,args,context){var fn=resolveFn(scope),evalArg0=evalArgs[0],evalArg1=evalArgs[1];return fn(evalArg0(scope,args,context),evalArg1(scope,args,context))};default:return function evalFunctionNode(scope,args,context){var fn=resolveFn(scope),values=evalArgs.map((function(evalArg){return evalArg(scope,args,context)}));return fn.apply(void 0,(0,_toConsumableArray2.default)(values))}}},FunctionNode.prototype.forEach=function(callback){callback(this.fn,"fn",this);for(var i=0;i'+(0,_string.escape)(this.fn)+'('+args.join(',')+')'};var nodeToTex=FunctionNode.prototype.toTex;return FunctionNode.prototype.toTex=function(options){var customTex;return options&&"object"===(0,_typeof2.default)(options.handler)&&(0,_object.hasOwnProperty)(options.handler,this.name)&&(customTex=options.handler[this.name](this,options)),void 0!==customTex?customTex:nodeToTex.call(this,options)},FunctionNode.prototype._toTex=function(options){var latexConverter,customToTex,args=this.args.map((function(arg){return arg.toTex(options)}));switch(_latex.latexFunctions[this.name]&&(latexConverter=_latex.latexFunctions[this.name]),!math[this.name]||"function"!=typeof math[this.name].toTex&&"object"!==(0,_typeof2.default)(math[this.name].toTex)&&"string"!=typeof math[this.name].toTex||(latexConverter=math[this.name].toTex),(0,_typeof2.default)(latexConverter)){case"function":customToTex=latexConverter(this,options);break;case"string":customToTex=expandTemplate(latexConverter,this,options);break;case"object":switch((0,_typeof2.default)(latexConverter[args.length])){case"function":customToTex=latexConverter[args.length](this,options);break;case"string":customToTex=expandTemplate(latexConverter[args.length],this,options)}}return void 0!==customToTex?customToTex:expandTemplate(_latex.defaultTemplate,this,options)},FunctionNode.prototype.getIdentifier=function(){return this.type+":"+this.name},FunctionNode}),{isClass:!0,isNode:!0});exports.createFunctionNode=createFunctionNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/object.js":949,"../../utils/scope.js":952,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21,"@babel/runtime/helpers/typeof":22}],622:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIndexNode=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),_customs=require("../../utils/customs.js"),dependencies=["Range","Node","size"],createIndexNode=(0,_factory.factory)("IndexNode",dependencies,(function(_ref){var Range=_ref.Range,Node=_ref.Node,size=_ref.size;function IndexNode(dimensions,dotNotation){if(!(this instanceof IndexNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.dimensions=dimensions,this.dotNotation=dotNotation||!1,!Array.isArray(dimensions)||!dimensions.every(_is.isNode))throw new TypeError('Array containing Nodes expected for parameter "dimensions"');if(this.dotNotation&&!this.isObjectProperty())throw new Error("dotNotation only applicable for object properties")}function createRange(start,end,step){return new Range((0,_is.isBigNumber)(start)?start.toNumber():start,(0,_is.isBigNumber)(end)?end.toNumber():end,(0,_is.isBigNumber)(step)?step.toNumber():step)}return IndexNode.prototype=new Node,IndexNode.prototype.type="IndexNode",IndexNode.prototype.isIndexNode=!0,IndexNode.prototype._compile=function(math,argNames){var evalDimensions=(0,_array.map)(this.dimensions,(function(range,i){if((0,_is.isRangeNode)(range)){if(range.needsEnd()){var childArgNames=Object.create(argNames);childArgNames.end=!0;var evalStart=range.start._compile(math,childArgNames),evalEnd=range.end._compile(math,childArgNames),evalStep=range.step?range.step._compile(math,childArgNames):function(){return 1};return function evalDimension(scope,args,context){var s=size(context).valueOf(),childArgs=Object.create(args);return childArgs.end=s[i],createRange(evalStart(scope,childArgs,context),evalEnd(scope,childArgs,context),evalStep(scope,childArgs,context))}}var _evalStart=range.start._compile(math,argNames),_evalEnd=range.end._compile(math,argNames),_evalStep=range.step?range.step._compile(math,argNames):function(){return 1};return function evalDimension(scope,args,context){return createRange(_evalStart(scope,args,context),_evalEnd(scope,args,context),_evalStep(scope,args,context))}}if((0,_is.isSymbolNode)(range)&&"end"===range.name){var _childArgNames=Object.create(argNames);_childArgNames.end=!0;var evalRange=range._compile(math,_childArgNames);return function evalDimension(scope,args,context){var s=size(context).valueOf(),childArgs=Object.create(args);return childArgs.end=s[i],evalRange(scope,childArgs,context)}}var _evalRange=range._compile(math,argNames);return function evalDimension(scope,args,context){return _evalRange(scope,args,context)}})),index=(0,_customs.getSafeProperty)(math,"index");return function evalIndexNode(scope,args,context){var dimensions=(0,_array.map)(evalDimensions,(function(evalDimension){return evalDimension(scope,args,context)}));return index.apply(void 0,(0,_toConsumableArray2.default)(dimensions))}},IndexNode.prototype.forEach=function(callback){for(var i=0;i.'+(0,_string.escape)(this.getObjectProperty())+"":'['+dimensions.join(',')+']'},IndexNode.prototype._toTex=function(options){var dimensions=this.dimensions.map((function(range){return range.toTex(options)}));return this.dotNotation?"."+this.getObjectProperty():"_{"+dimensions.join(",")+"}"},IndexNode}),{isClass:!0,isNode:!0});exports.createIndexNode=createIndexNode},{"../../utils/array.js":932,"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21}],623:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createNode=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_keywords=require("../keywords.js"),_object=require("../../utils/object.js"),_factory=require("../../utils/factory.js"),_map=require("../../utils/map.js"),dependencies=["mathWithTransform"],createNode=(0,_factory.factory)("Node",dependencies,(function(_ref){var mathWithTransform=_ref.mathWithTransform;function Node(){if(!(this instanceof Node))throw new SyntaxError("Constructor must be called with the new operator")}return Node.prototype.evaluate=function(scope){return this.compile().evaluate(scope)},Node.prototype.type="Node",Node.prototype.isNode=!0,Node.prototype.comment="",Node.prototype.compile=function(){var expr=this._compile(mathWithTransform,{}),args={};return{evaluate:function evaluate(scope){var s=(0,_map.createMap)(scope);return function _validateScope(scope){for(var _i=0,_arr=(0,_toConsumableArray2.default)(_keywords.keywords);_i<_arr.length;_i++){var symbol=_arr[_i];if(scope.has(symbol))throw new Error('Scope contains an illegal symbol, "'+symbol+'" is a reserved keyword')}}(s),expr(s,args,null)}}},Node.prototype._compile=function(math,argNames){throw new Error("Method _compile should be implemented by type "+this.type)},Node.prototype.forEach=function(callback){throw new Error("Cannot run forEach on a Node interface")},Node.prototype.map=function(callback){throw new Error("Cannot run map on a Node interface")},Node.prototype._ifNode=function(node){if(!(0,_is.isNode)(node))throw new TypeError("Callback function must return a Node");return node},Node.prototype.traverse=function(callback){callback(this,null,null),function _traverse(node,callback){node.forEach((function(child,path,parent){callback(child,path,parent),_traverse(child,callback)}))}(this,callback)},Node.prototype.transform=function(callback){return function _transform(child,path,parent){var replacement=callback(child,path,parent);return replacement!==child?replacement:child.map(_transform)}(this,null,null)},Node.prototype.filter=function(callback){var nodes=[];return this.traverse((function(node,path,parent){callback(node,path,parent)&&nodes.push(node)})),nodes},Node.prototype.clone=function(){throw new Error("Cannot clone a Node interface")},Node.prototype.cloneDeep=function(){return this.map((function(node){return node.cloneDeep()}))},Node.prototype.equals=function(other){return!!other&&(0,_object.deepStrictEqual)(this,other)},Node.prototype.toString=function(options){var customString=this._getCustomString(options);return void 0!==customString?customString:this._toString(options)},Node.prototype.toJSON=function(){throw new Error("Cannot serialize object: toJSON not implemented by "+this.type)},Node.prototype.toHTML=function(options){var customString=this._getCustomString(options);return void 0!==customString?customString:this.toHTML(options)},Node.prototype._toString=function(){throw new Error("_toString not implemented for "+this.type)},Node.prototype.toTex=function(options){var customString=this._getCustomString(options);return void 0!==customString?customString:this._toTex(options)},Node.prototype._toTex=function(options){throw new Error("_toTex not implemented for "+this.type)},Node.prototype._getCustomString=function(options){if(options&&"object"===(0,_typeof2.default)(options))switch((0,_typeof2.default)(options.handler)){case"object":case"undefined":return;case"function":return options.handler(this,options);default:throw new TypeError("Object or function expected as callback")}},Node.prototype.getIdentifier=function(){return this.type},Node.prototype.getContent=function(){return this},Node}),{isClass:!0,isNode:!0});exports.createNode=createNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/map.js":946,"../../utils/object.js":949,"../keywords.js":613,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21,"@babel/runtime/helpers/typeof":22}],624:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createObjectNode=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_customs=require("../../utils/customs.js"),_object=require("../../utils/object.js"),dependencies=["Node"],createObjectNode=(0,require("../../utils/factory.js").factory)("ObjectNode",dependencies,(function(_ref){var Node=_ref.Node;function ObjectNode(properties){if(!(this instanceof ObjectNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.properties=properties||{},properties&&("object"!==(0,_typeof2.default)(properties)||!Object.keys(properties).every((function(key){return(0,_is.isNode)(properties[key])}))))throw new TypeError("Object containing Nodes expected")}return ObjectNode.prototype=new Node,ObjectNode.prototype.type="ObjectNode",ObjectNode.prototype.isObjectNode=!0,ObjectNode.prototype._compile=function(math,argNames){var evalEntries={};for(var key in this.properties)if((0,_object.hasOwnProperty)(this.properties,key)){var stringifiedKey=(0,_string.stringify)(key),parsedKey=JSON.parse(stringifiedKey);if(!(0,_customs.isSafeProperty)(this.properties,parsedKey))throw new Error('No access to property "'+parsedKey+'"');evalEntries[parsedKey]=this.properties[key]._compile(math,argNames)}return function evalObjectNode(scope,args,context){var obj={};for(var _key in evalEntries)(0,_object.hasOwnProperty)(evalEntries,_key)&&(obj[_key]=evalEntries[_key](scope,args,context));return obj}},ObjectNode.prototype.forEach=function(callback){for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&callback(this.properties[key],"properties["+(0,_string.stringify)(key)+"]",this)},ObjectNode.prototype.map=function(callback){var properties={};for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&(properties[key]=this._ifNode(callback(this.properties[key],"properties["+(0,_string.stringify)(key)+"]",this)));return new ObjectNode(properties)},ObjectNode.prototype.clone=function(){var properties={};for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&(properties[key]=this.properties[key]);return new ObjectNode(properties)},ObjectNode.prototype._toString=function(options){var entries=[];for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&entries.push((0,_string.stringify)(key)+": "+this.properties[key].toString(options));return"{"+entries.join(", ")+"}"},ObjectNode.prototype.toJSON=function(){return{mathjs:"ObjectNode",properties:this.properties}},ObjectNode.fromJSON=function(json){return new ObjectNode(json.properties)},ObjectNode.prototype.toHTML=function(options){var entries=[];for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&entries.push(''+(0,_string.escape)(key)+':'+this.properties[key].toHTML(options));return'{'+entries.join(',')+'}'},ObjectNode.prototype._toTex=function(options){var entries=[];for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&entries.push("\\mathbf{"+key+":} & "+this.properties[key].toTex(options)+"\\\\");return"\\left\\{\\begin{array}{ll}".concat(entries.join("\n"),"\\end{array}\\right\\}")},ObjectNode}),{isClass:!0,isNode:!0});exports.createObjectNode=createObjectNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],625:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createOperatorNode=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_string=require("../../utils/string.js"),_customs=require("../../utils/customs.js"),_operators=require("../operators.js"),_latex=require("../../utils/latex.js"),dependencies=["Node"],createOperatorNode=(0,require("../../utils/factory.js").factory)("OperatorNode",dependencies,(function(_ref){var Node=_ref.Node;function OperatorNode(op,fn,args,implicit){if(!(this instanceof OperatorNode))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof op)throw new TypeError('string expected for parameter "op"');if("string"!=typeof fn)throw new TypeError('string expected for parameter "fn"');if(!Array.isArray(args)||!args.every(_is.isNode))throw new TypeError('Array containing Nodes expected for parameter "args"');this.implicit=!0===implicit,this.op=op,this.fn=fn,this.args=args||[]}function calculateNecessaryParentheses(root,parenthesis,implicit,args,latex){var result,precedence=(0,_operators.getPrecedence)(root,parenthesis),associativity=(0,_operators.getAssociativity)(root,parenthesis);if("all"===parenthesis||args.length>2&&"OperatorNode:add"!==root.getIdentifier()&&"OperatorNode:multiply"!==root.getIdentifier())return args.map((function(arg){switch(arg.getContent().type){case"ArrayNode":case"ConstantNode":case"SymbolNode":case"ParenthesisNode":return!1;default:return!0}}));switch(args.length){case 0:result=[];break;case 1:var operandPrecedence=(0,_operators.getPrecedence)(args[0],parenthesis);if(latex&&null!==operandPrecedence){var operandIdentifier,rootIdentifier;if("keep"===parenthesis?(operandIdentifier=args[0].getIdentifier(),rootIdentifier=root.getIdentifier()):(operandIdentifier=args[0].getContent().getIdentifier(),rootIdentifier=root.getContent().getIdentifier()),!1===_operators.properties[precedence][rootIdentifier].latexLeftParens){result=[!1];break}if(!1===_operators.properties[operandPrecedence][operandIdentifier].latexParens){result=[!1];break}}if(null===operandPrecedence){result=[!1];break}if(operandPrecedence<=precedence){result=[!0];break}result=[!1];break;case 2:var lhsParens,rhsParens,lhsPrecedence=(0,_operators.getPrecedence)(args[0],parenthesis),assocWithLhs=(0,_operators.isAssociativeWith)(root,args[0],parenthesis);lhsParens=null!==lhsPrecedence&&(lhsPrecedence===precedence&&"right"===associativity&&!assocWithLhs||lhsPrecedence=2&&"OperatorNode:multiply"===root.getIdentifier()&&root.implicit&&"auto"===parenthesis&&"hide"===implicit&&(result=args.map((function(arg,index){var isParenthesisNode="ParenthesisNode"===arg.getIdentifier();return!(!result[index]&&!isParenthesisNode)}))),result}return OperatorNode.prototype=new Node,OperatorNode.prototype.type="OperatorNode",OperatorNode.prototype.isOperatorNode=!0,OperatorNode.prototype._compile=function(math,argNames){if("string"!=typeof this.fn||!(0,_customs.isSafeMethod)(math,this.fn))throw math[this.fn]?new Error('No access to function "'+this.fn+'"'):new Error("Function "+this.fn+' missing in provided namespace "math"');var fn=(0,_customs.getSafeProperty)(math,this.fn),evalArgs=(0,_array.map)(this.args,(function(arg){return arg._compile(math,argNames)}));if(1===evalArgs.length){var evalArg0=evalArgs[0];return function evalOperatorNode(scope,args,context){return fn(evalArg0(scope,args,context))}}if(2===evalArgs.length){var _evalArg=evalArgs[0],evalArg1=evalArgs[1];return function evalOperatorNode(scope,args,context){return fn(_evalArg(scope,args,context),evalArg1(scope,args,context))}}return function evalOperatorNode(scope,args,context){return fn.apply(null,(0,_array.map)(evalArgs,(function(evalArg){return evalArg(scope,args,context)})))}},OperatorNode.prototype.forEach=function(callback){for(var i=0;i2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var stringifiedArgs=args.map((function(arg,index){return arg=arg.toString(options),parens[index]&&(arg="("+arg+")"),arg}));return this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===implicit?stringifiedArgs.join(" "):stringifiedArgs.join(" "+this.op+" ")}return this.fn+"("+this.args.join(", ")+")"},OperatorNode.prototype.toJSON=function(){return{mathjs:"OperatorNode",op:this.op,fn:this.fn,args:this.args,implicit:this.implicit}},OperatorNode.fromJSON=function(json){return new OperatorNode(json.op,json.fn,json.args,json.implicit)},OperatorNode.prototype.toHTML=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",implicit=options&&options.implicit?options.implicit:"hide",args=this.args,parens=calculateNecessaryParentheses(this,parenthesis,implicit,args,!1);if(1===args.length){var assoc=(0,_operators.getAssociativity)(this,parenthesis),operand=args[0].toHTML(options);return parens[0]&&(operand='('+operand+')'),"right"===assoc?''+(0,_string.escape)(this.op)+""+operand:operand+''+(0,_string.escape)(this.op)+""}if(2===args.length){var lhs=args[0].toHTML(options),rhs=args[1].toHTML(options);return parens[0]&&(lhs='('+lhs+')'),parens[1]&&(rhs='('+rhs+')'),this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===implicit?lhs+''+rhs:lhs+''+(0,_string.escape)(this.op)+""+rhs}var stringifiedArgs=args.map((function(arg,index){return arg=arg.toHTML(options),parens[index]&&(arg='('+arg+')'),arg}));return args.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())?this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===implicit?stringifiedArgs.join(''):stringifiedArgs.join(''+(0,_string.escape)(this.op)+""):''+(0,_string.escape)(this.fn)+'('+stringifiedArgs.join(',')+')'},OperatorNode.prototype._toTex=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",implicit=options&&options.implicit?options.implicit:"hide",args=this.args,parens=calculateNecessaryParentheses(this,parenthesis,implicit,args,!0),op=_latex.latexOperators[this.fn];if(op=void 0===op?this.op:op,1===args.length){var assoc=(0,_operators.getAssociativity)(this,parenthesis),operand=args[0].toTex(options);return parens[0]&&(operand="\\left(".concat(operand,"\\right)")),"right"===assoc?op+operand:operand+op}if(2===args.length){var lhs=args[0],lhsTex=lhs.toTex(options);parens[0]&&(lhsTex="\\left(".concat(lhsTex,"\\right)"));var lhsIdentifier,rhsTex=args[1].toTex(options);switch(parens[1]&&(rhsTex="\\left(".concat(rhsTex,"\\right)")),lhsIdentifier="keep"===parenthesis?lhs.getIdentifier():lhs.getContent().getIdentifier(),this.getIdentifier()){case"OperatorNode:divide":return op+"{"+lhsTex+"}{"+rhsTex+"}";case"OperatorNode:pow":switch(lhsTex="{"+lhsTex+"}",rhsTex="{"+rhsTex+"}",lhsIdentifier){case"ConditionalNode":case"OperatorNode:divide":lhsTex="\\left(".concat(lhsTex,"\\right)")}break;case"OperatorNode:multiply":if(this.implicit&&"hide"===implicit)return lhsTex+"~"+rhsTex}return lhsTex+op+rhsTex}if(args.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var texifiedArgs=args.map((function(arg,index){return arg=arg.toTex(options),parens[index]&&(arg="\\left(".concat(arg,"\\right)")),arg}));return"OperatorNode:multiply"===this.getIdentifier()&&this.implicit?texifiedArgs.join("~"):texifiedArgs.join(op)}return"\\mathrm{"+this.fn+"}\\left("+args.map((function(arg){return arg.toTex(options)})).join(",")+"\\right)"},OperatorNode.prototype.getIdentifier=function(){return this.type+":"+this.fn},OperatorNode}),{isClass:!0,isNode:!0});exports.createOperatorNode=createOperatorNode},{"../../utils/array.js":932,"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/string.js":953,"../operators.js":632}],626:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createParenthesisNode=void 0;var _is=require("../../utils/is.js"),dependencies=["Node"],createParenthesisNode=(0,require("../../utils/factory.js").factory)("ParenthesisNode",dependencies,(function(_ref){var Node=_ref.Node;function ParenthesisNode(content){if(!(this instanceof ParenthesisNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(content))throw new TypeError('Node expected for parameter "content"');this.content=content}return ParenthesisNode.prototype=new Node,ParenthesisNode.prototype.type="ParenthesisNode",ParenthesisNode.prototype.isParenthesisNode=!0,ParenthesisNode.prototype._compile=function(math,argNames){return this.content._compile(math,argNames)},ParenthesisNode.prototype.getContent=function(){return this.content.getContent()},ParenthesisNode.prototype.forEach=function(callback){callback(this.content,"content",this)},ParenthesisNode.prototype.map=function(callback){return new ParenthesisNode(callback(this.content,"content",this))},ParenthesisNode.prototype.clone=function(){return new ParenthesisNode(this.content)},ParenthesisNode.prototype._toString=function(options){return!options||options&&!options.parenthesis||options&&"keep"===options.parenthesis?"("+this.content.toString(options)+")":this.content.toString(options)},ParenthesisNode.prototype.toJSON=function(){return{mathjs:"ParenthesisNode",content:this.content}},ParenthesisNode.fromJSON=function(json){return new ParenthesisNode(json.content)},ParenthesisNode.prototype.toHTML=function(options){return!options||options&&!options.parenthesis||options&&"keep"===options.parenthesis?'('+this.content.toHTML(options)+')':this.content.toHTML(options)},ParenthesisNode.prototype._toTex=function(options){return!options||options&&!options.parenthesis||options&&"keep"===options.parenthesis?"\\left(".concat(this.content.toTex(options),"\\right)"):this.content.toTex(options)},ParenthesisNode}),{isClass:!0,isNode:!0});exports.createParenthesisNode=createParenthesisNode},{"../../utils/factory.js":941,"../../utils/is.js":943}],627:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRangeNode=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_operators=require("../operators.js"),dependencies=["Node"],createRangeNode=(0,_factory.factory)("RangeNode",dependencies,(function(_ref){var Node=_ref.Node;function RangeNode(start,end,step){if(!(this instanceof RangeNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(start))throw new TypeError("Node expected");if(!(0,_is.isNode)(end))throw new TypeError("Node expected");if(step&&!(0,_is.isNode)(step))throw new TypeError("Node expected");if(arguments.length>3)throw new Error("Too many arguments");this.start=start,this.end=end,this.step=step||null}function calculateNecessaryParentheses(node,parenthesis){var precedence=(0,_operators.getPrecedence)(node,parenthesis),parens={},startPrecedence=(0,_operators.getPrecedence)(node.start,parenthesis);if(parens.start=null!==startPrecedence&&startPrecedence<=precedence||"all"===parenthesis,node.step){var stepPrecedence=(0,_operators.getPrecedence)(node.step,parenthesis);parens.step=null!==stepPrecedence&&stepPrecedence<=precedence||"all"===parenthesis}var endPrecedence=(0,_operators.getPrecedence)(node.end,parenthesis);return parens.end=null!==endPrecedence&&endPrecedence<=precedence||"all"===parenthesis,parens}return RangeNode.prototype=new Node,RangeNode.prototype.type="RangeNode",RangeNode.prototype.isRangeNode=!0,RangeNode.prototype.needsEnd=function(){return this.filter((function(node){return(0,_is.isSymbolNode)(node)&&"end"===node.name})).length>0},RangeNode.prototype._compile=function(math,argNames){var range=math.range,evalStart=this.start._compile(math,argNames),evalEnd=this.end._compile(math,argNames);if(this.step){var evalStep=this.step._compile(math,argNames);return function evalRangeNode(scope,args,context){return range(evalStart(scope,args,context),evalEnd(scope,args,context),evalStep(scope,args,context))}}return function evalRangeNode(scope,args,context){return range(evalStart(scope,args,context),evalEnd(scope,args,context))}},RangeNode.prototype.forEach=function(callback){callback(this.start,"start",this),callback(this.end,"end",this),this.step&&callback(this.step,"step",this)},RangeNode.prototype.map=function(callback){return new RangeNode(this._ifNode(callback(this.start,"start",this)),this._ifNode(callback(this.end,"end",this)),this.step&&this._ifNode(callback(this.step,"step",this)))},RangeNode.prototype.clone=function(){return new RangeNode(this.start,this.end,this.step&&this.step)},RangeNode.prototype._toString=function(options){var str,parens=calculateNecessaryParentheses(this,options&&options.parenthesis?options.parenthesis:"keep"),start=this.start.toString(options);if(parens.start&&(start="("+start+")"),str=start,this.step){var step=this.step.toString(options);parens.step&&(step="("+step+")"),str+=":"+step}var end=this.end.toString(options);return parens.end&&(end="("+end+")"),str+=":"+end},RangeNode.prototype.toJSON=function(){return{mathjs:"RangeNode",start:this.start,end:this.end,step:this.step}},RangeNode.fromJSON=function(json){return new RangeNode(json.start,json.end,json.step)},RangeNode.prototype.toHTML=function(options){var str,parens=calculateNecessaryParentheses(this,options&&options.parenthesis?options.parenthesis:"keep"),start=this.start.toHTML(options);if(parens.start&&(start='('+start+')'),str=start,this.step){var step=this.step.toHTML(options);parens.step&&(step='('+step+')'),str+=':'+step}var end=this.end.toHTML(options);return parens.end&&(end='('+end+')'),str+=':'+end},RangeNode.prototype._toTex=function(options){var parens=calculateNecessaryParentheses(this,options&&options.parenthesis?options.parenthesis:"keep"),str=this.start.toTex(options);if(parens.start&&(str="\\left(".concat(str,"\\right)")),this.step){var step=this.step.toTex(options);parens.step&&(step="\\left(".concat(step,"\\right)")),str+=":"+step}var end=this.end.toTex(options);return parens.end&&(end="\\left(".concat(end,"\\right)")),str+=":"+end},RangeNode}),{isClass:!0,isNode:!0});exports.createRangeNode=createRangeNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../operators.js":632}],628:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRelationalNode=void 0;var _operators=require("../operators.js"),_string=require("../../utils/string.js"),_customs=require("../../utils/customs.js"),_latex=require("../../utils/latex.js"),dependencies=["Node"],createRelationalNode=(0,require("../../utils/factory.js").factory)("RelationalNode",dependencies,(function(_ref){var Node=_ref.Node;function RelationalNode(conditionals,params){if(!(this instanceof RelationalNode))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(conditionals))throw new TypeError("Parameter conditionals must be an array");if(!Array.isArray(params))throw new TypeError("Parameter params must be an array");if(conditionals.length!==params.length-1)throw new TypeError("Parameter params must contain exactly one more element than parameter conditionals");this.conditionals=conditionals,this.params=params}return RelationalNode.prototype=new Node,RelationalNode.prototype.type="RelationalNode",RelationalNode.prototype.isRelationalNode=!0,RelationalNode.prototype._compile=function(math,argNames){var self=this,compiled=this.params.map((function(p){return p._compile(math,argNames)}));return function evalRelationalNode(scope,args,context){for(var evalLhs,evalRhs=compiled[0](scope,args,context),i=0;i",smallerEq:"<=",largerEq:">="},ret=paramStrings[0],i=0;i('+p.toHTML(options)+')':p.toHTML(options)})),operatorMap={equal:"==",unequal:"!=",smaller:"<",larger:">",smallerEq:"<=",largerEq:">="},ret=paramStrings[0],i=0;i'+(0,_string.escape)(operatorMap[this.conditionals[i]])+""+paramStrings[i+1];return ret},RelationalNode.prototype._toTex=function(options){for(var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",precedence=(0,_operators.getPrecedence)(this,parenthesis),paramStrings=this.params.map((function(p,index){var paramPrecedence=(0,_operators.getPrecedence)(p,parenthesis);return"all"===parenthesis||null!==paramPrecedence&¶mPrecedence<=precedence?"\\left("+p.toTex(options)+"\right)":p.toTex(options)})),ret=paramStrings[0],i=0;i'+name+"":"i"===name?''+name+"":"Infinity"===name?''+name+"":"NaN"===name?''+name+"":"null"===name?''+name+"":"undefined"===name?''+name+"":''+name+""},SymbolNode.prototype.toJSON=function(){return{mathjs:"SymbolNode",name:this.name}},SymbolNode.fromJSON=function(json){return new SymbolNode(json.name)},SymbolNode.prototype._toTex=function(options){var isUnit=!1;void 0===math[this.name]&&isValuelessUnit(this.name)&&(isUnit=!0);var symbol=(0,_latex.toSymbol)(this.name,isUnit);return"\\"===symbol[0]?symbol:" "+symbol},SymbolNode}),{isClass:!0,isNode:!0});exports.createSymbolNode=createSymbolNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/latex.js":944,"../../utils/string.js":953}],630:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.accessFactory=function accessFactory(_ref){var subset=_ref.subset;return function access(object,index){try{if(Array.isArray(object))return subset(object,index);if(object&&"function"==typeof object.subset)return object.subset(index);if("string"==typeof object)return subset(object,index);if("object"===(0,_typeof2.default)(object)){if(!index.isObjectProperty())throw new TypeError("Cannot apply a numeric index as object property");return(0,_customs.getSafeProperty)(object,index.getObjectProperty())}throw new TypeError("Cannot apply index: unsupported type of object")}catch(err){throw(0,_errorTransform.errorTransform)(err)}}};var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_errorTransform=require("../../transform/utils/errorTransform.js"),_customs=require("../../../utils/customs.js")},{"../../../utils/customs.js":939,"../../transform/utils/errorTransform.js":651,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],631:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.assignFactory=function assignFactory(_ref){var subset=_ref.subset,matrix=_ref.matrix;return function assign(object,index,value){try{if(Array.isArray(object))return matrix(object).subset(index,value).valueOf();if(object&&"function"==typeof object.subset)return object.subset(index,value);if("string"==typeof object)return subset(object,index,value);if("object"===(0,_typeof2.default)(object)){if(!index.isObjectProperty())throw TypeError("Cannot apply a numeric index as object property");return(0,_customs.setSafeProperty)(object,index.getObjectProperty(),value),object}throw new TypeError("Cannot apply index: unsupported type of object")}catch(err){throw(0,_errorTransform.errorTransform)(err)}}};var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_errorTransform=require("../../transform/utils/errorTransform.js"),_customs=require("../../../utils/customs.js")},{"../../../utils/customs.js":939,"../../transform/utils/errorTransform.js":651,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],632:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getPrecedence=getPrecedence,exports.getAssociativity=function getAssociativity(_node,parenthesis){var node=_node;"keep"!==parenthesis&&(node=_node.getContent());var identifier=node.getIdentifier(),index=getPrecedence(node,parenthesis);if(null===index)return null;var property=properties[index][identifier];if((0,_object.hasOwnProperty)(property,"associativity")){if("left"===property.associativity)return"left";if("right"===property.associativity)return"right";throw Error("'"+identifier+"' has the invalid associativity '"+property.associativity+"'.")}return null},exports.isAssociativeWith=function isAssociativeWith(nodeA,nodeB,parenthesis){var a="keep"!==parenthesis?nodeA.getContent():nodeA,b="keep"!==parenthesis?nodeA.getContent():nodeB,identifierA=a.getIdentifier(),identifierB=b.getIdentifier(),index=getPrecedence(a,parenthesis);if(null===index)return null;var property=properties[index][identifierA];if((0,_object.hasOwnProperty)(property,"associativeWith")&&property.associativeWith instanceof Array){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},extraNodes=void 0!==options.nodes?options.nodes:{};return(0,_collection.deepMap)(expressions,(function(elem){if("string"!=typeof elem)throw new TypeError("String expected");return parseStart(elem,extraNodes)}))}var TOKENTYPE_NULL=0,TOKENTYPE_DELIMITER=1,TOKENTYPE_NUMBER=2,TOKENTYPE_SYMBOL=3,TOKENTYPE_UNKNOWN=4,DELIMITERS={",":!0,"(":!0,")":!0,"[":!0,"]":!0,"{":!0,"}":!0,'"':!0,"'":!0,";":!0,"+":!0,"-":!0,"*":!0,".*":!0,"/":!0,"./":!0,"%":!0,"^":!0,".^":!0,"~":!0,"!":!0,"&":!0,"|":!0,"^|":!0,"=":!0,":":!0,"?":!0,"==":!0,"!=":!0,"<":!0,">":!0,"<=":!0,">=":!0,"<<":!0,">>":!0,">>>":!0},NAMED_DELIMITERS={mod:!0,to:!0,in:!0,and:!0,xor:!0,or:!0,not:!0},CONSTANTS={true:!0,false:!1,null:null,undefined:void 0},NUMERIC_CONSTANTS=["NaN","Infinity"];function currentString(state,length){return state.expression.substr(state.index,length)}function currentCharacter(state){return currentString(state,1)}function next(state){state.index++}function prevCharacter(state){return state.expression.charAt(state.index-1)}function nextCharacter(state){return state.expression.charAt(state.index+1)}function getToken(state){for(state.tokenType=TOKENTYPE_NULL,state.token="",state.comment="";parse.isWhitespace(currentCharacter(state),state.nestingLevel);)next(state);if("#"===currentCharacter(state))for(;"\n"!==currentCharacter(state)&&""!==currentCharacter(state);)state.comment+=currentCharacter(state),next(state);if(""!==currentCharacter(state)){if("\n"===currentCharacter(state)&&!state.nestingLevel)return state.tokenType=TOKENTYPE_DELIMITER,state.token=currentCharacter(state),void next(state);var c1=currentCharacter(state),c2=currentString(state,2),c3=currentString(state,3);if(3===c3.length&&DELIMITERS[c3])return state.tokenType=TOKENTYPE_DELIMITER,state.token=c3,next(state),next(state),void next(state);if(2===c2.length&&DELIMITERS[c2])return state.tokenType=TOKENTYPE_DELIMITER,state.token=c2,next(state),void next(state);if(DELIMITERS[c1])return state.tokenType=TOKENTYPE_DELIMITER,state.token=c1,void next(state);if(parse.isDigitDot(c1)){state.tokenType=TOKENTYPE_NUMBER;var _c=currentString(state,2);if("0b"===_c||"0o"===_c||"0x"===_c){for(state.token+=currentCharacter(state),next(state),state.token+=currentCharacter(state),next(state);parse.isHexDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);if("."===currentCharacter(state))for(state.token+=".",next(state);parse.isHexDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);else if("i"===currentCharacter(state))for(state.token+="i",next(state);parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);return}if("."===currentCharacter(state))state.token+=currentCharacter(state),next(state),parse.isDigit(currentCharacter(state))||(state.tokenType=TOKENTYPE_DELIMITER);else{for(;parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);parse.isDecimalMark(currentCharacter(state),nextCharacter(state))&&(state.token+=currentCharacter(state),next(state))}for(;parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);if("E"===currentCharacter(state)||"e"===currentCharacter(state))if(parse.isDigit(nextCharacter(state))||"-"===nextCharacter(state)||"+"===nextCharacter(state)){if(state.token+=currentCharacter(state),next(state),"+"!==currentCharacter(state)&&"-"!==currentCharacter(state)||(state.token+=currentCharacter(state),next(state)),!parse.isDigit(currentCharacter(state)))throw createSyntaxError(state,'Digit expected, got "'+currentCharacter(state)+'"');for(;parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);if(parse.isDecimalMark(currentCharacter(state),nextCharacter(state)))throw createSyntaxError(state,'Digit expected, got "'+currentCharacter(state)+'"')}else if("."===nextCharacter(state))throw next(state),createSyntaxError(state,'Digit expected, got "'+currentCharacter(state)+'"')}else{if(!parse.isAlpha(currentCharacter(state),prevCharacter(state),nextCharacter(state))){for(state.tokenType=TOKENTYPE_UNKNOWN;""!==currentCharacter(state);)state.token+=currentCharacter(state),next(state);throw createSyntaxError(state,'Syntax error in part "'+state.token+'"')}for(;parse.isAlpha(currentCharacter(state),prevCharacter(state),nextCharacter(state))||parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);(0,_object.hasOwnProperty)(NAMED_DELIMITERS,state.token)?state.tokenType=TOKENTYPE_DELIMITER:state.tokenType=TOKENTYPE_SYMBOL}}else state.tokenType=TOKENTYPE_DELIMITER}function getTokenSkipNewline(state){do{getToken(state)}while("\n"===state.token)}function openParams(state){state.nestingLevel++}function closeParams(state){state.nestingLevel--}function parseStart(expression,extraNodes){var state=function initialState(){return{extraNodes:{},expression:"",comment:"",index:0,token:"",tokenType:TOKENTYPE_NULL,nestingLevel:0,conditionalLevel:null}}();(0,_extends2.default)(state,{expression:expression,extraNodes:extraNodes}),getToken(state);var node=function parseBlock(state){var node,visible,blocks=[];""!==state.token&&"\n"!==state.token&&";"!==state.token&&((node=parseAssignment(state)).comment=state.comment);for(;"\n"===state.token||";"===state.token;)0===blocks.length&&node&&(visible=";"!==state.token,blocks.push({node:node,visible:visible})),getToken(state),"\n"!==state.token&&";"!==state.token&&""!==state.token&&((node=parseAssignment(state)).comment=state.comment,visible=";"!==state.token,blocks.push({node:node,visible:visible}));return blocks.length>0?new BlockNode(blocks):(node||((node=new ConstantNode(void 0)).comment=state.comment),node)}(state);if(""!==state.token)throw state.tokenType===TOKENTYPE_DELIMITER?createError(state,"Unexpected operator "+state.token):createSyntaxError(state,'Unexpected part "'+state.token+'"');return node}function parseAssignment(state){var name,args,value,valid,node=function parseConditional(state){var node=function parseLogicalOr(state){var node=parseLogicalXor(state);for(;"or"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("or","or",[node,parseLogicalXor(state)]);return node}(state);for(;"?"===state.token;){var prev=state.conditionalLevel;state.conditionalLevel=state.nestingLevel,getTokenSkipNewline(state);var condition=node,trueExpr=parseAssignment(state);if(":"!==state.token)throw createSyntaxError(state,"False part of conditional expression expected");state.conditionalLevel=null,getTokenSkipNewline(state);var falseExpr=parseAssignment(state);node=new ConditionalNode(condition,trueExpr,falseExpr),state.conditionalLevel=prev}return node}(state);if("="===state.token){if((0,_is.isSymbolNode)(node))return name=node.name,getTokenSkipNewline(state),value=parseAssignment(state),new AssignmentNode(new SymbolNode(name),value);if((0,_is.isAccessorNode)(node))return getTokenSkipNewline(state),value=parseAssignment(state),new AssignmentNode(node.object,node.index,value);if((0,_is.isFunctionNode)(node)&&(0,_is.isSymbolNode)(node.fn)&&(valid=!0,args=[],name=node.name,node.args.forEach((function(arg,index){(0,_is.isSymbolNode)(arg)?args[index]=arg.name:valid=!1})),valid))return getTokenSkipNewline(state),value=parseAssignment(state),new FunctionAssignmentNode(name,args,value);throw createSyntaxError(state,"Invalid left hand side of assignment operator =")}return node}function parseLogicalXor(state){for(var node=parseLogicalAnd(state);"xor"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("xor","xor",[node,parseLogicalAnd(state)]);return node}function parseLogicalAnd(state){for(var node=parseBitwiseOr(state);"and"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("and","and",[node,parseBitwiseOr(state)]);return node}function parseBitwiseOr(state){for(var node=parseBitwiseXor(state);"|"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("|","bitOr",[node,parseBitwiseXor(state)]);return node}function parseBitwiseXor(state){for(var node=parseBitwiseAnd(state);"^|"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("^|","bitXor",[node,parseBitwiseAnd(state)]);return node}function parseBitwiseAnd(state){for(var node=parseRelational(state);"&"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("&","bitAnd",[node,parseRelational(state)]);return node}function parseRelational(state){for(var params=[parseShift(state)],conditionals=[],operators={"==":"equal","!=":"unequal","<":"smaller",">":"larger","<=":"smallerEq",">=":"largerEq"};(0,_object.hasOwnProperty)(operators,state.token);){var cond={name:state.token,fn:operators[state.token]};conditionals.push(cond),getTokenSkipNewline(state),params.push(parseShift(state))}return 1===params.length?params[0]:2===params.length?new OperatorNode(conditionals[0].name,conditionals[0].fn,params):new RelationalNode(conditionals.map((function(c){return c.fn})),params)}function parseShift(state){var node,name,fn,params;node=parseConversion(state);for(var operators={"<<":"leftShift",">>":"rightArithShift",">>>":"rightLogShift"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),params=[node,parseConversion(state)],node=new OperatorNode(name,fn,params);return node}function parseConversion(state){var node,name,fn,params;node=parseRange(state);for(var operators={to:"to",in:"to"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),"in"===name&&""===state.token?node=new OperatorNode("*","multiply",[node,new SymbolNode("in")],!0):(params=[node,parseRange(state)],node=new OperatorNode(name,fn,params));return node}function parseRange(state){var node,params=[];if(node=":"===state.token?new ConstantNode(1):parseAddSubtract(state),":"===state.token&&state.conditionalLevel!==state.nestingLevel){for(params.push(node);":"===state.token&¶ms.length<3;)getTokenSkipNewline(state),")"===state.token||"]"===state.token||","===state.token||""===state.token?params.push(new SymbolNode("end")):params.push(parseAddSubtract(state));node=3===params.length?new RangeNode(params[0],params[2],params[1]):new RangeNode(params[0],params[1])}return node}function parseAddSubtract(state){var node,name,fn,params;node=parseMultiplyDivide(state);for(var operators={"+":"add","-":"subtract"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),params=[node,parseMultiplyDivide(state)],node=new OperatorNode(name,fn,params);return node}function parseMultiplyDivide(state){var node,last,name,fn;last=node=parseImplicitMultiplication(state);for(var operators={"*":"multiply",".*":"dotMultiply","/":"divide","./":"dotDivide","%":"mod",mod:"mod"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),last=parseImplicitMultiplication(state),node=new OperatorNode(name,fn,[node,last]);return node}function parseImplicitMultiplication(state){var node,last;for(last=node=parseRule2(state);state.tokenType===TOKENTYPE_SYMBOL||"in"===state.token&&(0,_is.isConstantNode)(node)||!(state.tokenType!==TOKENTYPE_NUMBER||(0,_is.isConstantNode)(last)||(0,_is.isOperatorNode)(last)&&"!"!==last.op)||"("===state.token;)last=parseRule2(state),node=new OperatorNode("*","multiply",[node,last],!0);return node}function parseRule2(state){for(var node=parseUnary(state),last=node,tokenStates=[];"/"===state.token&&(0,_is.isConstantNode)(last);){if(tokenStates.push((0,_extends2.default)({},state)),getTokenSkipNewline(state),state.tokenType!==TOKENTYPE_NUMBER){(0,_extends2.default)(state,tokenStates.pop());break}if(tokenStates.push((0,_extends2.default)({},state)),getTokenSkipNewline(state),state.tokenType!==TOKENTYPE_SYMBOL&&"("!==state.token){tokenStates.pop(),(0,_extends2.default)(state,tokenStates.pop());break}(0,_extends2.default)(state,tokenStates.pop()),tokenStates.pop(),last=parseUnary(state),node=new OperatorNode("/","divide",[node,last])}return node}function parseUnary(state){var name,params,fn,operators={"-":"unaryMinus","+":"unaryPlus","~":"bitNot",not:"not"};return(0,_object.hasOwnProperty)(operators,state.token)?(fn=operators[state.token],name=state.token,getTokenSkipNewline(state),params=[parseUnary(state)],new OperatorNode(name,fn,params)):function parsePow(state){var node,name,fn,params;node=function parseLeftHandOperators(state){var node,name,fn;node=function parseCustomNodes(state){var params=[];if(state.tokenType===TOKENTYPE_SYMBOL&&(0,_object.hasOwnProperty)(state.extraNodes,state.token)){var CustomNode=state.extraNodes[state.token];if(getToken(state),"("===state.token){if(params=[],openParams(state),getToken(state),")"!==state.token)for(params.push(parseAssignment(state));","===state.token;)getToken(state),params.push(parseAssignment(state));if(")"!==state.token)throw createSyntaxError(state,"Parenthesis ) expected");closeParams(state),getToken(state)}return new CustomNode(params)}return function parseSymbol(state){var name;if(state.tokenType===TOKENTYPE_SYMBOL||state.tokenType===TOKENTYPE_DELIMITER&&state.token in NAMED_DELIMITERS)return name=state.token,getToken(state),parseAccessors(state,(0,_object.hasOwnProperty)(CONSTANTS,name)?new ConstantNode(CONSTANTS[name]):-1!==NUMERIC_CONSTANTS.indexOf(name)?new ConstantNode(numeric(name,"number")):new SymbolNode(name));return function parseDoubleQuotesString(state){var str;if('"'===state.token)return str=parseDoubleQuotesStringToken(state),parseAccessors(state,new ConstantNode(str));return function parseSingleQuotesString(state){var str;if("'"===state.token)return str=parseSingleQuotesStringToken(state),parseAccessors(state,new ConstantNode(str));return function parseMatrix(state){var array,params,rows,cols;if("["===state.token){if(openParams(state),getToken(state),"]"!==state.token){var row=parseRow(state);if(";"===state.token){for(rows=1,params=[row];";"===state.token;)getToken(state),params[rows]=parseRow(state),rows++;if("]"!==state.token)throw createSyntaxError(state,"End of matrix ] expected");closeParams(state),getToken(state),cols=params[0].items.length;for(var r=1;r0},parse.isDecimalMark=function isDecimalMark(c,cNext){return"."===c&&"/"!==cNext&&"*"!==cNext&&"^"!==cNext},parse.isDigitDot=function isDigitDot(c){return c>="0"&&c<="9"||"."===c},parse.isDigit=function isDigit(c){return c>="0"&&c<="9"},parse.isHexDigit=function isHexDigit(c){return c>="0"&&c<="9"||c>="a"&&c<="f"||c>="A"&&c<="F"},parse}));exports.createParse=createParse},{"../utils/collection.js":937,"../utils/factory.js":941,"../utils/is.js":943,"../utils/object.js":949,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15}],634:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createApplyTransform=void 0;var _errorTransform=require("./utils/errorTransform.js"),_factory=require("../../utils/factory.js"),_apply=require("../../function/matrix/apply.js"),_is=require("../../utils/is.js"),dependencies=["typed","isInteger"],createApplyTransform=(0,_factory.factory)("apply",dependencies,(function(_ref){var typed=_ref.typed,isInteger=_ref.isInteger,apply=(0,_apply.createApply)({typed:typed,isInteger:isInteger});return typed("apply",{"...any":function any(args){var dim=args[1];(0,_is.isNumber)(dim)?args[1]=dim-1:(0,_is.isBigNumber)(dim)&&(args[1]=dim.minus(1));try{return apply.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createApplyTransform=createApplyTransform},{"../../function/matrix/apply.js":747,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],635:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createColumnTransform=void 0;var _errorTransform=require("./utils/errorTransform.js"),_factory=require("../../utils/factory.js"),_column=require("../../function/matrix/column.js"),_is=require("../../utils/is.js"),dependencies=["typed","Index","matrix","range"],createColumnTransform=(0,_factory.factory)("column",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index,matrix=_ref.matrix,range=_ref.range,column=(0,_column.createColumn)({typed:typed,Index:Index,matrix:matrix,range:range});return typed("column",{"...any":function any(args){var lastIndex=args.length-1,last=args[lastIndex];(0,_is.isNumber)(last)&&(args[lastIndex]=last-1);try{return column.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createColumnTransform=createColumnTransform},{"../../function/matrix/column.js":748,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],636:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConcatTransform=void 0;var _is=require("../../utils/is.js"),_errorTransform=require("./utils/errorTransform.js"),_factory=require("../../utils/factory.js"),_concat=require("../../function/matrix/concat.js"),dependencies=["typed","matrix","isInteger"],createConcatTransform=(0,_factory.factory)("concat",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,isInteger=_ref.isInteger,concat=(0,_concat.createConcat)({typed:typed,matrix:matrix,isInteger:isInteger});return typed("concat",{"...any":function any(args){var lastIndex=args.length-1,last=args[lastIndex];(0,_is.isNumber)(last)?args[lastIndex]=last-1:(0,_is.isBigNumber)(last)&&(args[lastIndex]=last.minus(1));try{return concat.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createConcatTransform=createConcatTransform},{"../../function/matrix/concat.js":749,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],637:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDiffTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_diff=require("../../function/matrix/diff.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","matrix","subtract","number","bignumber"],createDiffTransform=(0,_factory.factory)("diff",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,subtract=_ref.subtract,number=_ref.number,bignumber=_ref.bignumber,diff=(0,_diff.createDiff)({typed:typed,matrix:matrix,subtract:subtract,number:number,bignumber:bignumber});return typed("diff",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return diff.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createDiffTransform=createDiffTransform},{"../../function/matrix/diff.js":755,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],638:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFilterTransform=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_function=require("../../utils/function.js"),_compileInlineExpression=require("./utils/compileInlineExpression.js"),dependencies=["typed"],createFilterTransform=(0,require("../../utils/factory.js").factory)("filter",dependencies,(function(_ref){var typed=_ref.typed;function filterTransform(args,math,scope){var x,callback;return args[0]&&(x=args[0].compile().evaluate(scope)),args[1]&&(callback=(0,_is.isSymbolNode)(args[1])||(0,_is.isFunctionAssignmentNode)(args[1])?args[1].compile().evaluate(scope):(0,_compileInlineExpression.compileInlineExpression)(args[1],math,scope)),filter(x,callback)}filterTransform.rawArgs=!0;var filter=typed("filter",{"Array, function":_filter,"Matrix, function":function MatrixFunction(x,test){return x.create(_filter(x.toArray(),test))},"Array, RegExp":_array.filterRegExp,"Matrix, RegExp":function MatrixRegExp(x,test){return x.create((0,_array.filterRegExp)(x.toArray(),test))}});return filterTransform}),{isTransformFunction:!0});function _filter(x,callback){var args=(0,_function.maxArgumentCount)(callback);return(0,_array.filter)(x,(function(value,index,array){return 1===args?callback(value):2===args?callback(value,[index+1]):callback(value,[index+1],array)}))}exports.createFilterTransform=createFilterTransform},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/function.js":942,"../../utils/is.js":943,"./utils/compileInlineExpression.js":650}],639:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createForEachTransform=void 0;var _is=require("../../utils/is.js"),_function=require("../../utils/function.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_compileInlineExpression=require("./utils/compileInlineExpression.js"),dependencies=["typed"],createForEachTransform=(0,_factory.factory)("forEach",dependencies,(function(_ref){var typed=_ref.typed;function forEachTransform(args,math,scope){var x,callback;return args[0]&&(x=args[0].compile().evaluate(scope)),args[1]&&(callback=(0,_is.isSymbolNode)(args[1])||(0,_is.isFunctionAssignmentNode)(args[1])?args[1].compile().evaluate(scope):(0,_compileInlineExpression.compileInlineExpression)(args[1],math,scope)),_forEach(x,callback)}forEachTransform.rawArgs=!0;var _forEach=typed("forEach",{"Array | Matrix, function":function ArrayMatrixFunction(array,callback){var args=(0,_function.maxArgumentCount)(callback);!function recurse(value,index){Array.isArray(value)?(0,_array.forEach)(value,(function(child,i){recurse(child,index.concat(i+1))})):1===args?callback(value):2===args?callback(value,index):callback(value,index,array)}(array.valueOf(),[])}});return forEachTransform}),{isTransformFunction:!0});exports.createForEachTransform=createForEachTransform},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/function.js":942,"../../utils/is.js":943,"./utils/compileInlineExpression.js":650}],640:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIndexTransform=void 0;var _is=require("../../utils/is.js"),dependencies=["Index"],createIndexTransform=(0,require("../../utils/factory.js").factory)("index",dependencies,(function(_ref){var Index=_ref.Index;return function indexTransform(){for(var args=[],i=0,ii=arguments.length;i0?0:2;else if(arg&&!0===arg.isSet)arg=arg.map((function(v){return v-1}));else if((0,_is.isArray)(arg)||(0,_is.isMatrix)(arg))arg=arg.map((function(v){return v-1}));else if((0,_is.isNumber)(arg))arg--;else if((0,_is.isBigNumber)(arg))arg=arg.toNumber()-1;else if("string"!=typeof arg)throw new TypeError("Dimension must be an Array, Matrix, number, string, or Range");args[i]=arg}var res=new Index;return Index.apply(res,args),res}}),{isTransformFunction:!0});exports.createIndexTransform=createIndexTransform},{"../../utils/factory.js":941,"../../utils/is.js":943}],641:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMapTransform=void 0;var _is=require("../../utils/is.js"),_function=require("../../utils/function.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_compileInlineExpression=require("./utils/compileInlineExpression.js"),dependencies=["typed"],createMapTransform=(0,_factory.factory)("map",dependencies,(function(_ref){var typed=_ref.typed;function mapTransform(args,math,scope){var x,callback;return args[0]&&(x=args[0].compile().evaluate(scope)),args[1]&&(callback=(0,_is.isSymbolNode)(args[1])||(0,_is.isFunctionAssignmentNode)(args[1])?args[1].compile().evaluate(scope):(0,_compileInlineExpression.compileInlineExpression)(args[1],math,scope)),map(x,callback)}mapTransform.rawArgs=!0;var map=typed("map",{"Array, function":function ArrayFunction(x,callback){return _map(x,callback,x)},"Matrix, function":function MatrixFunction(x,callback){return x.create(_map(x.valueOf(),callback,x))}});return mapTransform}),{isTransformFunction:!0});function _map(array,callback,orig){var argsCount=(0,_function.maxArgumentCount)(callback);return function recurse(value,index){return Array.isArray(value)?(0,_array.map)(value,(function(child,i){return recurse(child,index.concat(i+1))})):1===argsCount?callback(value):2===argsCount?callback(value,index):callback(value,index,orig)}(array,[])}exports.createMapTransform=createMapTransform},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/function.js":942,"../../utils/is.js":943,"./utils/compileInlineExpression.js":650}],642:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMaxTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_max=require("../../function/statistics/max.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","config","numeric","larger"],createMaxTransform=(0,_factory.factory)("max",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,larger=_ref.larger,max=(0,_max.createMax)({typed:typed,config:config,numeric:numeric,larger:larger});return typed("max",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return max.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createMaxTransform=createMaxTransform},{"../../function/statistics/max.js":824,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],643:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMeanTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_mean=require("../../function/statistics/mean.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","add","divide"],createMeanTransform=(0,_factory.factory)("mean",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide,mean=(0,_mean.createMean)({typed:typed,add:add,divide:divide});return typed("mean",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return mean.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createMeanTransform=createMeanTransform},{"../../function/statistics/mean.js":825,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],644:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMinTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_min=require("../../function/statistics/min.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","config","numeric","smaller"],createMinTransform=(0,_factory.factory)("min",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,smaller=_ref.smaller,min=(0,_min.createMin)({typed:typed,config:config,numeric:numeric,smaller:smaller});return typed("min",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return min.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createMinTransform=createMinTransform},{"../../function/statistics/min.js":827,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],645:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRangeTransform=void 0;var _factory=require("../../utils/factory.js"),_range=require("../../function/matrix/range.js"),dependencies=["typed","config","?matrix","?bignumber","smaller","smallerEq","larger","largerEq"],createRangeTransform=(0,_factory.factory)("range",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,bignumber=_ref.bignumber,smaller=_ref.smaller,smallerEq=_ref.smallerEq,larger=_ref.larger,largerEq=_ref.largerEq,range=(0,_range.createRange)({typed:typed,config:config,matrix:matrix,bignumber:bignumber,smaller:smaller,smallerEq:smallerEq,larger:larger,largerEq:largerEq});return typed("range",{"...any":function any(args){return"boolean"!=typeof args[args.length-1]&&args.push(!0),range.apply(null,args)}})}),{isTransformFunction:!0});exports.createRangeTransform=createRangeTransform},{"../../function/matrix/range.js":774,"../../utils/factory.js":941}],646:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRowTransform=void 0;var _factory=require("../../utils/factory.js"),_row=require("../../function/matrix/row.js"),_errorTransform=require("./utils/errorTransform.js"),_is=require("../../utils/is.js"),dependencies=["typed","Index","matrix","range"],createRowTransform=(0,_factory.factory)("row",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index,matrix=_ref.matrix,range=_ref.range,row=(0,_row.createRow)({typed:typed,Index:Index,matrix:matrix,range:range});return typed("row",{"...any":function any(args){var lastIndex=args.length-1,last=args[lastIndex];(0,_is.isNumber)(last)&&(args[lastIndex]=last-1);try{return row.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createRowTransform=createRowTransform},{"../../function/matrix/row.js":779,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],647:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStdTransform=void 0;var _factory=require("../../utils/factory.js"),_std=require("../../function/statistics/std.js"),_errorTransform=require("./utils/errorTransform.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","sqrt","variance"],createStdTransform=(0,_factory.factory)("std",dependencies,(function(_ref){var typed=_ref.typed,sqrt=_ref.sqrt,variance=_ref.variance,std=(0,_std.createStd)({typed:typed,sqrt:sqrt,variance:variance});return typed("std",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return std.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createStdTransform=createStdTransform},{"../../function/statistics/std.js":831,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],648:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubsetTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_subset=require("../../function/matrix/subset.js"),dependencies=["typed","matrix"],createSubsetTransform=(0,_factory.factory)("subset",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,subset=(0,_subset.createSubset)({typed:typed,matrix:matrix});return typed("subset",{"...any":function any(args){try{return subset.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createSubsetTransform=createSubsetTransform},{"../../function/matrix/subset.js":784,"../../utils/factory.js":941,"./utils/errorTransform.js":651}],649:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSumTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_sum=require("../../function/statistics/sum.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","config","add","numeric"],createSumTransform=(0,_factory.factory)("sum",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,add=_ref.add,numeric=_ref.numeric,sum=(0,_sum.createSum)({typed:typed,config:config,add:add,numeric:numeric});return typed("sum",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return sum.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createSumTransform=createSumTransform},{"../../function/statistics/sum.js":832,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],650:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compileInlineExpression=function compileInlineExpression(expression,math,scope){var symbol=expression.filter((function(node){return(0,_is.isSymbolNode)(node)&&!(node.name in math)&&!scope.has(node.name)}))[0];if(!symbol)throw new Error('No undefined variable found in inline expression "'+expression+'"');var name=symbol.name,subScope=(0,_scope.createSubScope)(scope),eq=expression.compile();return function inlineExpression(x){return subScope.set(name,x),eq.evaluate(subScope)}};var _is=require("../../../utils/is.js"),_scope=require("../../../utils/scope.js")},{"../../../utils/is.js":943,"../../../utils/scope.js":952}],651:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.errorTransform=function errorTransform(err){if(err&&err.isIndexError)return new _IndexError.IndexError(err.index+1,err.min+1,void 0!==err.max?err.max+1:void 0);return err};var _IndexError=require("../../../error/IndexError.js")},{"../../../error/IndexError.js":383}],652:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lastDimToZeroBase=function lastDimToZeroBase(args){if(2===args.length&&(0,_is.isCollection)(args[0])){var dim=(args=args.slice())[1];(0,_is.isNumber)(dim)?args[1]=dim-1:(0,_is.isBigNumber)(dim)&&(args[1]=dim.minus(1))}return args};var _is=require("../../../utils/is.js")},{"../../../utils/is.js":943}],653:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createVarianceTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_variance=require("../../function/statistics/variance.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","add","subtract","multiply","divide","apply","isNaN"],createVarianceTransform=(0,_factory.factory)("variance",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,apply=_ref.apply,isNaN=_ref.isNaN,variance=(0,_variance.createVariance)({typed:typed,add:add,subtract:subtract,multiply:multiply,divide:divide,apply:apply,isNaN:isNaN});return typed("variance",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return variance.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createVarianceTransform=createVarianceTransform},{"../../function/statistics/variance.js":834,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],654:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"createTyped",{enumerable:!0,get:function get(){return _typed.createTyped}}),Object.defineProperty(exports,"createResultSet",{enumerable:!0,get:function get(){return _ResultSet.createResultSet}}),Object.defineProperty(exports,"createBigNumberClass",{enumerable:!0,get:function get(){return _BigNumber.createBigNumberClass}}),Object.defineProperty(exports,"createComplexClass",{enumerable:!0,get:function get(){return _Complex.createComplexClass}}),Object.defineProperty(exports,"createFractionClass",{enumerable:!0,get:function get(){return _Fraction.createFractionClass}}),Object.defineProperty(exports,"createRangeClass",{enumerable:!0,get:function get(){return _Range.createRangeClass}}),Object.defineProperty(exports,"createMatrixClass",{enumerable:!0,get:function get(){return _Matrix.createMatrixClass}}),Object.defineProperty(exports,"createDenseMatrixClass",{enumerable:!0,get:function get(){return _DenseMatrix.createDenseMatrixClass}}),Object.defineProperty(exports,"createClone",{enumerable:!0,get:function get(){return _clone.createClone}}),Object.defineProperty(exports,"createIsInteger",{enumerable:!0,get:function get(){return _isInteger.createIsInteger}}),Object.defineProperty(exports,"createIsNegative",{enumerable:!0,get:function get(){return _isNegative.createIsNegative}}),Object.defineProperty(exports,"createIsNumeric",{enumerable:!0,get:function get(){return _isNumeric.createIsNumeric}}),Object.defineProperty(exports,"createHasNumericValue",{enumerable:!0,get:function get(){return _hasNumericValue.createHasNumericValue}}),Object.defineProperty(exports,"createIsPositive",{enumerable:!0,get:function get(){return _isPositive.createIsPositive}}),Object.defineProperty(exports,"createIsZero",{enumerable:!0,get:function get(){return _isZero.createIsZero}}),Object.defineProperty(exports,"createIsNaN",{enumerable:!0,get:function get(){return _isNaN.createIsNaN}}),Object.defineProperty(exports,"createTypeOf",{enumerable:!0,get:function get(){return _typeOf.createTypeOf}}),Object.defineProperty(exports,"createEqualScalar",{enumerable:!0,get:function get(){return _equalScalar.createEqualScalar}}),Object.defineProperty(exports,"createSparseMatrixClass",{enumerable:!0,get:function get(){return _SparseMatrix.createSparseMatrixClass}}),Object.defineProperty(exports,"createNumber",{enumerable:!0,get:function get(){return _number.createNumber}}),Object.defineProperty(exports,"createString",{enumerable:!0,get:function get(){return _string.createString}}),Object.defineProperty(exports,"createBoolean",{enumerable:!0,get:function get(){return _boolean.createBoolean}}),Object.defineProperty(exports,"createBignumber",{enumerable:!0,get:function get(){return _bignumber.createBignumber}}),Object.defineProperty(exports,"createComplex",{enumerable:!0,get:function get(){return _complex.createComplex}}),Object.defineProperty(exports,"createFraction",{enumerable:!0,get:function get(){return _fraction.createFraction}}),Object.defineProperty(exports,"createMatrix",{enumerable:!0,get:function get(){return _matrix.createMatrix}}),Object.defineProperty(exports,"createMatrixFromFunction",{enumerable:!0,get:function get(){return _matrixFromFunction.createMatrixFromFunction}}),Object.defineProperty(exports,"createMatrixFromRows",{enumerable:!0,get:function get(){return _matrixFromRows.createMatrixFromRows}}),Object.defineProperty(exports,"createMatrixFromColumns",{enumerable:!0,get:function get(){return _matrixFromColumns.createMatrixFromColumns}}),Object.defineProperty(exports,"createSplitUnit",{enumerable:!0,get:function get(){return _splitUnit.createSplitUnit}}),Object.defineProperty(exports,"createUnaryMinus",{enumerable:!0,get:function get(){return _unaryMinus.createUnaryMinus}}),Object.defineProperty(exports,"createUnaryPlus",{enumerable:!0,get:function get(){return _unaryPlus.createUnaryPlus}}),Object.defineProperty(exports,"createAbs",{enumerable:!0,get:function get(){return _abs.createAbs}}),Object.defineProperty(exports,"createApply",{enumerable:!0,get:function get(){return _apply.createApply}}),Object.defineProperty(exports,"createAddScalar",{enumerable:!0,get:function get(){return _addScalar.createAddScalar}}),Object.defineProperty(exports,"createCbrt",{enumerable:!0,get:function get(){return _cbrt.createCbrt}}),Object.defineProperty(exports,"createCeil",{enumerable:!0,get:function get(){return _ceil.createCeil}}),Object.defineProperty(exports,"createCube",{enumerable:!0,get:function get(){return _cube.createCube}}),Object.defineProperty(exports,"createExp",{enumerable:!0,get:function get(){return _exp.createExp}}),Object.defineProperty(exports,"createExpm1",{enumerable:!0,get:function get(){return _expm.createExpm1}}),Object.defineProperty(exports,"createFix",{enumerable:!0,get:function get(){return _fix.createFix}}),Object.defineProperty(exports,"createFloor",{enumerable:!0,get:function get(){return _floor.createFloor}}),Object.defineProperty(exports,"createGcd",{enumerable:!0,get:function get(){return _gcd.createGcd}}),Object.defineProperty(exports,"createLcm",{enumerable:!0,get:function get(){return _lcm.createLcm}}),Object.defineProperty(exports,"createLog10",{enumerable:!0,get:function get(){return _log.createLog10}}),Object.defineProperty(exports,"createLog2",{enumerable:!0,get:function get(){return _log2.createLog2}}),Object.defineProperty(exports,"createMod",{enumerable:!0,get:function get(){return _mod.createMod}}),Object.defineProperty(exports,"createMultiplyScalar",{enumerable:!0,get:function get(){return _multiplyScalar.createMultiplyScalar}}),Object.defineProperty(exports,"createMultiply",{enumerable:!0,get:function get(){return _multiply.createMultiply}}),Object.defineProperty(exports,"createNthRoot",{enumerable:!0,get:function get(){return _nthRoot.createNthRoot}}),Object.defineProperty(exports,"createSign",{enumerable:!0,get:function get(){return _sign.createSign}}),Object.defineProperty(exports,"createSqrt",{enumerable:!0,get:function get(){return _sqrt.createSqrt}}),Object.defineProperty(exports,"createSquare",{enumerable:!0,get:function get(){return _square.createSquare}}),Object.defineProperty(exports,"createSubtract",{enumerable:!0,get:function get(){return _subtract.createSubtract}}),Object.defineProperty(exports,"createXgcd",{enumerable:!0,get:function get(){return _xgcd.createXgcd}}),Object.defineProperty(exports,"createDotMultiply",{enumerable:!0,get:function get(){return _dotMultiply.createDotMultiply}}),Object.defineProperty(exports,"createBitAnd",{enumerable:!0,get:function get(){return _bitAnd.createBitAnd}}),Object.defineProperty(exports,"createBitNot",{enumerable:!0,get:function get(){return _bitNot.createBitNot}}),Object.defineProperty(exports,"createBitOr",{enumerable:!0,get:function get(){return _bitOr.createBitOr}}),Object.defineProperty(exports,"createBitXor",{enumerable:!0,get:function get(){return _bitXor.createBitXor}}),Object.defineProperty(exports,"createArg",{enumerable:!0,get:function get(){return _arg.createArg}}),Object.defineProperty(exports,"createConj",{enumerable:!0,get:function get(){return _conj.createConj}}),Object.defineProperty(exports,"createIm",{enumerable:!0,get:function get(){return _im.createIm}}),Object.defineProperty(exports,"createRe",{enumerable:!0,get:function get(){return _re.createRe}}),Object.defineProperty(exports,"createNot",{enumerable:!0,get:function get(){return _not.createNot}}),Object.defineProperty(exports,"createOr",{enumerable:!0,get:function get(){return _or.createOr}}),Object.defineProperty(exports,"createXor",{enumerable:!0,get:function get(){return _xor.createXor}}),Object.defineProperty(exports,"createConcat",{enumerable:!0,get:function get(){return _concat.createConcat}}),Object.defineProperty(exports,"createColumn",{enumerable:!0,get:function get(){return _column.createColumn}}),Object.defineProperty(exports,"createCount",{enumerable:!0,get:function get(){return _count.createCount}}),Object.defineProperty(exports,"createCross",{enumerable:!0,get:function get(){return _cross.createCross}}),Object.defineProperty(exports,"createDiag",{enumerable:!0,get:function get(){return _diag.createDiag}}),Object.defineProperty(exports,"createFilter",{enumerable:!0,get:function get(){return _filter.createFilter}}),Object.defineProperty(exports,"createFlatten",{enumerable:!0,get:function get(){return _flatten.createFlatten}}),Object.defineProperty(exports,"createForEach",{enumerable:!0,get:function get(){return _forEach.createForEach}}),Object.defineProperty(exports,"createGetMatrixDataType",{enumerable:!0,get:function get(){return _getMatrixDataType.createGetMatrixDataType}}),Object.defineProperty(exports,"createIdentity",{enumerable:!0,get:function get(){return _identity.createIdentity}}),Object.defineProperty(exports,"createKron",{enumerable:!0,get:function get(){return _kron.createKron}}),Object.defineProperty(exports,"createMap",{enumerable:!0,get:function get(){return _map.createMap}}),Object.defineProperty(exports,"createDiff",{enumerable:!0,get:function get(){return _diff.createDiff}}),Object.defineProperty(exports,"createOnes",{enumerable:!0,get:function get(){return _ones.createOnes}}),Object.defineProperty(exports,"createRange",{enumerable:!0,get:function get(){return _range.createRange}}),Object.defineProperty(exports,"createReshape",{enumerable:!0,get:function get(){return _reshape.createReshape}}),Object.defineProperty(exports,"createResize",{enumerable:!0,get:function get(){return _resize.createResize}}),Object.defineProperty(exports,"createRotate",{enumerable:!0,get:function get(){return _rotate.createRotate}}),Object.defineProperty(exports,"createRotationMatrix",{enumerable:!0,get:function get(){return _rotationMatrix.createRotationMatrix}}),Object.defineProperty(exports,"createRow",{enumerable:!0,get:function get(){return _row.createRow}}),Object.defineProperty(exports,"createSize",{enumerable:!0,get:function get(){return _size.createSize}}),Object.defineProperty(exports,"createSqueeze",{enumerable:!0,get:function get(){return _squeeze.createSqueeze}}),Object.defineProperty(exports,"createSubset",{enumerable:!0,get:function get(){return _subset.createSubset}}),Object.defineProperty(exports,"createTranspose",{enumerable:!0,get:function get(){return _transpose.createTranspose}}),Object.defineProperty(exports,"createCtranspose",{enumerable:!0,get:function get(){return _ctranspose.createCtranspose}}),Object.defineProperty(exports,"createZeros",{enumerable:!0,get:function get(){return _zeros.createZeros}}),Object.defineProperty(exports,"createErf",{enumerable:!0,get:function get(){return _erf.createErf}}),Object.defineProperty(exports,"createMode",{enumerable:!0,get:function get(){return _mode.createMode}}),Object.defineProperty(exports,"createProd",{enumerable:!0,get:function get(){return _prod.createProd}}),Object.defineProperty(exports,"createFormat",{enumerable:!0,get:function get(){return _format.createFormat}}),Object.defineProperty(exports,"createBin",{enumerable:!0,get:function get(){return _bin.createBin}}),Object.defineProperty(exports,"createOct",{enumerable:!0,get:function get(){return _oct.createOct}}),Object.defineProperty(exports,"createHex",{enumerable:!0,get:function get(){return _hex.createHex}}),Object.defineProperty(exports,"createPrint",{enumerable:!0,get:function get(){return _print.createPrint}}),Object.defineProperty(exports,"createTo",{enumerable:!0,get:function get(){return _to.createTo}}),Object.defineProperty(exports,"createIsPrime",{enumerable:!0,get:function get(){return _isPrime.createIsPrime}}),Object.defineProperty(exports,"createNumeric",{enumerable:!0,get:function get(){return _numeric.createNumeric}}),Object.defineProperty(exports,"createDivideScalar",{enumerable:!0,get:function get(){return _divideScalar.createDivideScalar}}),Object.defineProperty(exports,"createPow",{enumerable:!0,get:function get(){return _pow.createPow}}),Object.defineProperty(exports,"createRound",{enumerable:!0,get:function get(){return _round.createRound}}),Object.defineProperty(exports,"createLog",{enumerable:!0,get:function get(){return _log3.createLog}}),Object.defineProperty(exports,"createLog1p",{enumerable:!0,get:function get(){return _log1p.createLog1p}}),Object.defineProperty(exports,"createNthRoots",{enumerable:!0,get:function get(){return _nthRoots.createNthRoots}}),Object.defineProperty(exports,"createDotPow",{enumerable:!0,get:function get(){return _dotPow.createDotPow}}),Object.defineProperty(exports,"createDotDivide",{enumerable:!0,get:function get(){return _dotDivide.createDotDivide}}),Object.defineProperty(exports,"createLsolve",{enumerable:!0,get:function get(){return _lsolve.createLsolve}}),Object.defineProperty(exports,"createUsolve",{enumerable:!0,get:function get(){return _usolve.createUsolve}}),Object.defineProperty(exports,"createLsolveAll",{enumerable:!0,get:function get(){return _lsolveAll.createLsolveAll}}),Object.defineProperty(exports,"createUsolveAll",{enumerable:!0,get:function get(){return _usolveAll.createUsolveAll}}),Object.defineProperty(exports,"createLeftShift",{enumerable:!0,get:function get(){return _leftShift.createLeftShift}}),Object.defineProperty(exports,"createRightArithShift",{enumerable:!0,get:function get(){return _rightArithShift.createRightArithShift}}),Object.defineProperty(exports,"createRightLogShift",{enumerable:!0,get:function get(){return _rightLogShift.createRightLogShift}}),Object.defineProperty(exports,"createAnd",{enumerable:!0,get:function get(){return _and.createAnd}}),Object.defineProperty(exports,"createCompare",{enumerable:!0,get:function get(){return _compare.createCompare}}),Object.defineProperty(exports,"createCompareNatural",{enumerable:!0,get:function get(){return _compareNatural.createCompareNatural}}),Object.defineProperty(exports,"createCompareText",{enumerable:!0,get:function get(){return _compareText.createCompareText}}),Object.defineProperty(exports,"createEqual",{enumerable:!0,get:function get(){return _equal.createEqual}}),Object.defineProperty(exports,"createEqualText",{enumerable:!0,get:function get(){return _equalText.createEqualText}}),Object.defineProperty(exports,"createSmaller",{enumerable:!0,get:function get(){return _smaller.createSmaller}}),Object.defineProperty(exports,"createSmallerEq",{enumerable:!0,get:function get(){return _smallerEq.createSmallerEq}}),Object.defineProperty(exports,"createLarger",{enumerable:!0,get:function get(){return _larger.createLarger}}),Object.defineProperty(exports,"createLargerEq",{enumerable:!0,get:function get(){return _largerEq.createLargerEq}}),Object.defineProperty(exports,"createDeepEqual",{enumerable:!0,get:function get(){return _deepEqual.createDeepEqual}}),Object.defineProperty(exports,"createUnequal",{enumerable:!0,get:function get(){return _unequal.createUnequal}}),Object.defineProperty(exports,"createPartitionSelect",{enumerable:!0,get:function get(){return _partitionSelect.createPartitionSelect}}),Object.defineProperty(exports,"createSort",{enumerable:!0,get:function get(){return _sort.createSort}}),Object.defineProperty(exports,"createMax",{enumerable:!0,get:function get(){return _max.createMax}}),Object.defineProperty(exports,"createMin",{enumerable:!0,get:function get(){return _min.createMin}}),Object.defineProperty(exports,"createImmutableDenseMatrixClass",{enumerable:!0,get:function get(){return _ImmutableDenseMatrix.createImmutableDenseMatrixClass}}),Object.defineProperty(exports,"createIndexClass",{enumerable:!0,get:function get(){return _MatrixIndex.createIndexClass}}),Object.defineProperty(exports,"createFibonacciHeapClass",{enumerable:!0,get:function get(){return _FibonacciHeap.createFibonacciHeapClass}}),Object.defineProperty(exports,"createSpaClass",{enumerable:!0,get:function get(){return _Spa.createSpaClass}}),Object.defineProperty(exports,"createUnitClass",{enumerable:!0,get:function get(){return _Unit.createUnitClass}}),Object.defineProperty(exports,"createUnitFunction",{enumerable:!0,get:function get(){return _unit.createUnitFunction}}),Object.defineProperty(exports,"createSparse",{enumerable:!0,get:function get(){return _sparse.createSparse}}),Object.defineProperty(exports,"createCreateUnit",{enumerable:!0,get:function get(){return _createUnit.createCreateUnit}}),Object.defineProperty(exports,"createAcos",{enumerable:!0,get:function get(){return _acos.createAcos}}),Object.defineProperty(exports,"createAcosh",{enumerable:!0,get:function get(){return _acosh.createAcosh}}),Object.defineProperty(exports,"createAcot",{enumerable:!0,get:function get(){return _acot.createAcot}}),Object.defineProperty(exports,"createAcoth",{enumerable:!0,get:function get(){return _acoth.createAcoth}}),Object.defineProperty(exports,"createAcsc",{enumerable:!0,get:function get(){return _acsc.createAcsc}}),Object.defineProperty(exports,"createAcsch",{enumerable:!0,get:function get(){return _acsch.createAcsch}}),Object.defineProperty(exports,"createAsec",{enumerable:!0,get:function get(){return _asec.createAsec}}),Object.defineProperty(exports,"createAsech",{enumerable:!0,get:function get(){return _asech.createAsech}}),Object.defineProperty(exports,"createAsin",{enumerable:!0,get:function get(){return _asin.createAsin}}),Object.defineProperty(exports,"createAsinh",{enumerable:!0,get:function get(){return _asinh.createAsinh}}),Object.defineProperty(exports,"createAtan",{enumerable:!0,get:function get(){return _atan.createAtan}}),Object.defineProperty(exports,"createAtan2",{enumerable:!0,get:function get(){return _atan2.createAtan2}}),Object.defineProperty(exports,"createAtanh",{enumerable:!0,get:function get(){return _atanh.createAtanh}}),Object.defineProperty(exports,"createCos",{enumerable:!0,get:function get(){return _cos.createCos}}),Object.defineProperty(exports,"createCosh",{enumerable:!0,get:function get(){return _cosh.createCosh}}),Object.defineProperty(exports,"createCot",{enumerable:!0,get:function get(){return _cot.createCot}}),Object.defineProperty(exports,"createCoth",{enumerable:!0,get:function get(){return _coth.createCoth}}),Object.defineProperty(exports,"createCsc",{enumerable:!0,get:function get(){return _csc.createCsc}}),Object.defineProperty(exports,"createCsch",{enumerable:!0,get:function get(){return _csch.createCsch}}),Object.defineProperty(exports,"createSec",{enumerable:!0,get:function get(){return _sec.createSec}}),Object.defineProperty(exports,"createSech",{enumerable:!0,get:function get(){return _sech.createSech}}),Object.defineProperty(exports,"createSin",{enumerable:!0,get:function get(){return _sin.createSin}}),Object.defineProperty(exports,"createSinh",{enumerable:!0,get:function get(){return _sinh.createSinh}}),Object.defineProperty(exports,"createTan",{enumerable:!0,get:function get(){return _tan.createTan}}),Object.defineProperty(exports,"createTanh",{enumerable:!0,get:function get(){return _tanh.createTanh}}),Object.defineProperty(exports,"createSetCartesian",{enumerable:!0,get:function get(){return _setCartesian.createSetCartesian}}),Object.defineProperty(exports,"createSetDifference",{enumerable:!0,get:function get(){return _setDifference.createSetDifference}}),Object.defineProperty(exports,"createSetDistinct",{enumerable:!0,get:function get(){return _setDistinct.createSetDistinct}}),Object.defineProperty(exports,"createSetIntersect",{enumerable:!0,get:function get(){return _setIntersect.createSetIntersect}}),Object.defineProperty(exports,"createSetIsSubset",{enumerable:!0,get:function get(){return _setIsSubset.createSetIsSubset}}),Object.defineProperty(exports,"createSetMultiplicity",{enumerable:!0,get:function get(){return _setMultiplicity.createSetMultiplicity}}),Object.defineProperty(exports,"createSetPowerset",{enumerable:!0,get:function get(){return _setPowerset.createSetPowerset}}),Object.defineProperty(exports,"createSetSize",{enumerable:!0,get:function get(){return _setSize.createSetSize}}),Object.defineProperty(exports,"createSetSymDifference",{enumerable:!0,get:function get(){return _setSymDifference.createSetSymDifference}}),Object.defineProperty(exports,"createSetUnion",{enumerable:!0,get:function get(){return _setUnion.createSetUnion}}),Object.defineProperty(exports,"createAdd",{enumerable:!0,get:function get(){return _add.createAdd}}),Object.defineProperty(exports,"createHypot",{enumerable:!0,get:function get(){return _hypot.createHypot}}),Object.defineProperty(exports,"createNorm",{enumerable:!0,get:function get(){return _norm.createNorm}}),Object.defineProperty(exports,"createDot",{enumerable:!0,get:function get(){return _dot.createDot}}),Object.defineProperty(exports,"createTrace",{enumerable:!0,get:function get(){return _trace.createTrace}}),Object.defineProperty(exports,"createIndex",{enumerable:!0,get:function get(){return _index.createIndex}}),Object.defineProperty(exports,"createNode",{enumerable:!0,get:function get(){return _Node.createNode}}),Object.defineProperty(exports,"createAccessorNode",{enumerable:!0,get:function get(){return _AccessorNode.createAccessorNode}}),Object.defineProperty(exports,"createArrayNode",{enumerable:!0,get:function get(){return _ArrayNode.createArrayNode}}),Object.defineProperty(exports,"createAssignmentNode",{enumerable:!0,get:function get(){return _AssignmentNode.createAssignmentNode}}),Object.defineProperty(exports,"createBlockNode",{enumerable:!0,get:function get(){return _BlockNode.createBlockNode}}),Object.defineProperty(exports,"createConditionalNode",{enumerable:!0,get:function get(){return _ConditionalNode.createConditionalNode}}),Object.defineProperty(exports,"createConstantNode",{enumerable:!0,get:function get(){return _ConstantNode.createConstantNode}}),Object.defineProperty(exports,"createFunctionAssignmentNode",{enumerable:!0,get:function get(){return _FunctionAssignmentNode.createFunctionAssignmentNode}}),Object.defineProperty(exports,"createIndexNode",{enumerable:!0,get:function get(){return _IndexNode.createIndexNode}}),Object.defineProperty(exports,"createObjectNode",{enumerable:!0,get:function get(){return _ObjectNode.createObjectNode}}),Object.defineProperty(exports,"createOperatorNode",{enumerable:!0,get:function get(){return _OperatorNode.createOperatorNode}}),Object.defineProperty(exports,"createParenthesisNode",{enumerable:!0,get:function get(){return _ParenthesisNode.createParenthesisNode}}),Object.defineProperty(exports,"createRangeNode",{enumerable:!0,get:function get(){return _RangeNode.createRangeNode}}),Object.defineProperty(exports,"createRelationalNode",{enumerable:!0,get:function get(){return _RelationalNode.createRelationalNode}}),Object.defineProperty(exports,"createSymbolNode",{enumerable:!0,get:function get(){return _SymbolNode.createSymbolNode}}),Object.defineProperty(exports,"createFunctionNode",{enumerable:!0,get:function get(){return _FunctionNode.createFunctionNode}}),Object.defineProperty(exports,"createParse",{enumerable:!0,get:function get(){return _parse.createParse}}),Object.defineProperty(exports,"createCompile",{enumerable:!0,get:function get(){return _compile.createCompile}}),Object.defineProperty(exports,"createEvaluate",{enumerable:!0,get:function get(){return _evaluate.createEvaluate}}),Object.defineProperty(exports,"createParserClass",{enumerable:!0,get:function get(){return _Parser.createParserClass}}),Object.defineProperty(exports,"createParser",{enumerable:!0,get:function get(){return _parser.createParser}}),Object.defineProperty(exports,"createLup",{enumerable:!0,get:function get(){return _lup.createLup}}),Object.defineProperty(exports,"createQr",{enumerable:!0,get:function get(){return _qr.createQr}}),Object.defineProperty(exports,"createSlu",{enumerable:!0,get:function get(){return _slu.createSlu}}),Object.defineProperty(exports,"createLusolve",{enumerable:!0,get:function get(){return _lusolve.createLusolve}}),Object.defineProperty(exports,"createHelpClass",{enumerable:!0,get:function get(){return _Help.createHelpClass}}),Object.defineProperty(exports,"createChainClass",{enumerable:!0,get:function get(){return _Chain.createChainClass}}),Object.defineProperty(exports,"createHelp",{enumerable:!0,get:function get(){return _help.createHelp}}),Object.defineProperty(exports,"createChain",{enumerable:!0,get:function get(){return _chain.createChain}}),Object.defineProperty(exports,"createDet",{enumerable:!0,get:function get(){return _det.createDet}}),Object.defineProperty(exports,"createInv",{enumerable:!0,get:function get(){return _inv.createInv}}),Object.defineProperty(exports,"createEigs",{enumerable:!0,get:function get(){return _eigs.createEigs}}),Object.defineProperty(exports,"createExpm",{enumerable:!0,get:function get(){return _expm2.createExpm}}),Object.defineProperty(exports,"createSqrtm",{enumerable:!0,get:function get(){return _sqrtm.createSqrtm}}),Object.defineProperty(exports,"createDivide",{enumerable:!0,get:function get(){return _divide.createDivide}}),Object.defineProperty(exports,"createDistance",{enumerable:!0,get:function get(){return _distance.createDistance}}),Object.defineProperty(exports,"createIntersect",{enumerable:!0,get:function get(){return _intersect.createIntersect}}),Object.defineProperty(exports,"createSum",{enumerable:!0,get:function get(){return _sum.createSum}}),Object.defineProperty(exports,"createMean",{enumerable:!0,get:function get(){return _mean.createMean}}),Object.defineProperty(exports,"createMedian",{enumerable:!0,get:function get(){return _median.createMedian}}),Object.defineProperty(exports,"createMad",{enumerable:!0,get:function get(){return _mad.createMad}}),Object.defineProperty(exports,"createVariance",{enumerable:!0,get:function get(){return _variance.createVariance}}),Object.defineProperty(exports,"createQuantileSeq",{enumerable:!0,get:function get(){return _quantileSeq.createQuantileSeq}}),Object.defineProperty(exports,"createStd",{enumerable:!0,get:function get(){return _std.createStd}}),Object.defineProperty(exports,"createCombinations",{enumerable:!0,get:function get(){return _combinations.createCombinations}}),Object.defineProperty(exports,"createCombinationsWithRep",{enumerable:!0,get:function get(){return _combinationsWithRep.createCombinationsWithRep}}),Object.defineProperty(exports,"createGamma",{enumerable:!0,get:function get(){return _gamma.createGamma}}),Object.defineProperty(exports,"createFactorial",{enumerable:!0,get:function get(){return _factorial.createFactorial}}),Object.defineProperty(exports,"createKldivergence",{enumerable:!0,get:function get(){return _kldivergence.createKldivergence}}),Object.defineProperty(exports,"createMultinomial",{enumerable:!0,get:function get(){return _multinomial.createMultinomial}}),Object.defineProperty(exports,"createPermutations",{enumerable:!0,get:function get(){return _permutations.createPermutations}}),Object.defineProperty(exports,"createPickRandom",{enumerable:!0,get:function get(){return _pickRandom.createPickRandom}}),Object.defineProperty(exports,"createRandom",{enumerable:!0,get:function get(){return _random.createRandom}}),Object.defineProperty(exports,"createRandomInt",{enumerable:!0,get:function get(){return _randomInt.createRandomInt}}),Object.defineProperty(exports,"createStirlingS2",{enumerable:!0,get:function get(){return _stirlingS.createStirlingS2}}),Object.defineProperty(exports,"createBellNumbers",{enumerable:!0,get:function get(){return _bellNumbers.createBellNumbers}}),Object.defineProperty(exports,"createCatalan",{enumerable:!0,get:function get(){return _catalan.createCatalan}}),Object.defineProperty(exports,"createComposition",{enumerable:!0,get:function get(){return _composition.createComposition}}),Object.defineProperty(exports,"createSimplify",{enumerable:!0,get:function get(){return _simplify.createSimplify}}),Object.defineProperty(exports,"createDerivative",{enumerable:!0,get:function get(){return _derivative.createDerivative}}),Object.defineProperty(exports,"createRationalize",{enumerable:!0,get:function get(){return _rationalize.createRationalize}}),Object.defineProperty(exports,"createReviver",{enumerable:!0,get:function get(){return _reviver.createReviver}}),Object.defineProperty(exports,"createReplacer",{enumerable:!0,get:function get(){return _replacer.createReplacer}}),Object.defineProperty(exports,"createE",{enumerable:!0,get:function get(){return _constants.createE}}),Object.defineProperty(exports,"createUppercaseE",{enumerable:!0,get:function get(){return _constants.createUppercaseE}}),Object.defineProperty(exports,"createFalse",{enumerable:!0,get:function get(){return _constants.createFalse}}),Object.defineProperty(exports,"createI",{enumerable:!0,get:function get(){return _constants.createI}}),Object.defineProperty(exports,"createInfinity",{enumerable:!0,get:function get(){return _constants.createInfinity}}),Object.defineProperty(exports,"createLN10",{enumerable:!0,get:function get(){return _constants.createLN10}}),Object.defineProperty(exports,"createLN2",{enumerable:!0,get:function get(){return _constants.createLN2}}),Object.defineProperty(exports,"createLOG10E",{enumerable:!0,get:function get(){return _constants.createLOG10E}}),Object.defineProperty(exports,"createLOG2E",{enumerable:!0,get:function get(){return _constants.createLOG2E}}),Object.defineProperty(exports,"createNaN",{enumerable:!0,get:function get(){return _constants.createNaN}}),Object.defineProperty(exports,"createNull",{enumerable:!0,get:function get(){return _constants.createNull}}),Object.defineProperty(exports,"createPhi",{enumerable:!0,get:function get(){return _constants.createPhi}}),Object.defineProperty(exports,"createPi",{enumerable:!0,get:function get(){return _constants.createPi}}),Object.defineProperty(exports,"createUppercasePi",{enumerable:!0,get:function get(){return _constants.createUppercasePi}}),Object.defineProperty(exports,"createSQRT1_2",{enumerable:!0,get:function get(){return _constants.createSQRT1_2}}),Object.defineProperty(exports,"createSQRT2",{enumerable:!0,get:function get(){return _constants.createSQRT2}}),Object.defineProperty(exports,"createTau",{enumerable:!0,get:function get(){return _constants.createTau}}),Object.defineProperty(exports,"createTrue",{enumerable:!0,get:function get(){return _constants.createTrue}}),Object.defineProperty(exports,"createVersion",{enumerable:!0,get:function get(){return _constants.createVersion}}),Object.defineProperty(exports,"createAtomicMass",{enumerable:!0,get:function get(){return _physicalConstants.createAtomicMass}}),Object.defineProperty(exports,"createAvogadro",{enumerable:!0,get:function get(){return _physicalConstants.createAvogadro}}),Object.defineProperty(exports,"createBohrMagneton",{enumerable:!0,get:function get(){return _physicalConstants.createBohrMagneton}}),Object.defineProperty(exports,"createBohrRadius",{enumerable:!0,get:function get(){return _physicalConstants.createBohrRadius}}),Object.defineProperty(exports,"createBoltzmann",{enumerable:!0,get:function get(){return _physicalConstants.createBoltzmann}}),Object.defineProperty(exports,"createClassicalElectronRadius",{enumerable:!0,get:function get(){return _physicalConstants.createClassicalElectronRadius}}),Object.defineProperty(exports,"createConductanceQuantum",{enumerable:!0,get:function get(){return _physicalConstants.createConductanceQuantum}}),Object.defineProperty(exports,"createCoulomb",{enumerable:!0,get:function get(){return _physicalConstants.createCoulomb}}),Object.defineProperty(exports,"createDeuteronMass",{enumerable:!0,get:function get(){return _physicalConstants.createDeuteronMass}}),Object.defineProperty(exports,"createEfimovFactor",{enumerable:!0,get:function get(){return _physicalConstants.createEfimovFactor}}),Object.defineProperty(exports,"createElectricConstant",{enumerable:!0,get:function get(){return _physicalConstants.createElectricConstant}}),Object.defineProperty(exports,"createElectronMass",{enumerable:!0,get:function get(){return _physicalConstants.createElectronMass}}),Object.defineProperty(exports,"createElementaryCharge",{enumerable:!0,get:function get(){return _physicalConstants.createElementaryCharge}}),Object.defineProperty(exports,"createFaraday",{enumerable:!0,get:function get(){return _physicalConstants.createFaraday}}),Object.defineProperty(exports,"createFermiCoupling",{enumerable:!0,get:function get(){return _physicalConstants.createFermiCoupling}}),Object.defineProperty(exports,"createFineStructure",{enumerable:!0,get:function get(){return _physicalConstants.createFineStructure}}),Object.defineProperty(exports,"createFirstRadiation",{enumerable:!0,get:function get(){return _physicalConstants.createFirstRadiation}}),Object.defineProperty(exports,"createGasConstant",{enumerable:!0,get:function get(){return _physicalConstants.createGasConstant}}),Object.defineProperty(exports,"createGravitationConstant",{enumerable:!0,get:function get(){return _physicalConstants.createGravitationConstant}}),Object.defineProperty(exports,"createGravity",{enumerable:!0,get:function get(){return _physicalConstants.createGravity}}),Object.defineProperty(exports,"createHartreeEnergy",{enumerable:!0,get:function get(){return _physicalConstants.createHartreeEnergy}}),Object.defineProperty(exports,"createInverseConductanceQuantum",{enumerable:!0,get:function get(){return _physicalConstants.createInverseConductanceQuantum}}),Object.defineProperty(exports,"createKlitzing",{enumerable:!0,get:function get(){return _physicalConstants.createKlitzing}}),Object.defineProperty(exports,"createLoschmidt",{enumerable:!0,get:function get(){return _physicalConstants.createLoschmidt}}),Object.defineProperty(exports,"createMagneticConstant",{enumerable:!0,get:function get(){return _physicalConstants.createMagneticConstant}}),Object.defineProperty(exports,"createMagneticFluxQuantum",{enumerable:!0,get:function get(){return _physicalConstants.createMagneticFluxQuantum}}),Object.defineProperty(exports,"createMolarMass",{enumerable:!0,get:function get(){return _physicalConstants.createMolarMass}}),Object.defineProperty(exports,"createMolarMassC12",{enumerable:!0,get:function get(){return _physicalConstants.createMolarMassC12}}),Object.defineProperty(exports,"createMolarPlanckConstant",{enumerable:!0,get:function get(){return _physicalConstants.createMolarPlanckConstant}}),Object.defineProperty(exports,"createMolarVolume",{enumerable:!0,get:function get(){return _physicalConstants.createMolarVolume}}),Object.defineProperty(exports,"createNeutronMass",{enumerable:!0,get:function get(){return _physicalConstants.createNeutronMass}}),Object.defineProperty(exports,"createNuclearMagneton",{enumerable:!0,get:function get(){return _physicalConstants.createNuclearMagneton}}),Object.defineProperty(exports,"createPlanckCharge",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckCharge}}),Object.defineProperty(exports,"createPlanckConstant",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckConstant}}),Object.defineProperty(exports,"createPlanckLength",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckLength}}),Object.defineProperty(exports,"createPlanckMass",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckMass}}),Object.defineProperty(exports,"createPlanckTemperature",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckTemperature}}),Object.defineProperty(exports,"createPlanckTime",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckTime}}),Object.defineProperty(exports,"createProtonMass",{enumerable:!0,get:function get(){return _physicalConstants.createProtonMass}}),Object.defineProperty(exports,"createQuantumOfCirculation",{enumerable:!0,get:function get(){return _physicalConstants.createQuantumOfCirculation}}),Object.defineProperty(exports,"createReducedPlanckConstant",{enumerable:!0,get:function get(){return _physicalConstants.createReducedPlanckConstant}}),Object.defineProperty(exports,"createRydberg",{enumerable:!0,get:function get(){return _physicalConstants.createRydberg}}),Object.defineProperty(exports,"createSackurTetrode",{enumerable:!0,get:function get(){return _physicalConstants.createSackurTetrode}}),Object.defineProperty(exports,"createSecondRadiation",{enumerable:!0,get:function get(){return _physicalConstants.createSecondRadiation}}),Object.defineProperty(exports,"createSpeedOfLight",{enumerable:!0,get:function get(){return _physicalConstants.createSpeedOfLight}}),Object.defineProperty(exports,"createStefanBoltzmann",{enumerable:!0,get:function get(){return _physicalConstants.createStefanBoltzmann}}),Object.defineProperty(exports,"createThomsonCrossSection",{enumerable:!0,get:function get(){return _physicalConstants.createThomsonCrossSection}}),Object.defineProperty(exports,"createVacuumImpedance",{enumerable:!0,get:function get(){return _physicalConstants.createVacuumImpedance}}),Object.defineProperty(exports,"createWeakMixingAngle",{enumerable:!0,get:function get(){return _physicalConstants.createWeakMixingAngle}}),Object.defineProperty(exports,"createWienDisplacement",{enumerable:!0,get:function get(){return _physicalConstants.createWienDisplacement}}),Object.defineProperty(exports,"createApplyTransform",{enumerable:!0,get:function get(){return _applyTransform.createApplyTransform}}),Object.defineProperty(exports,"createColumnTransform",{enumerable:!0,get:function get(){return _columnTransform.createColumnTransform}}),Object.defineProperty(exports,"createFilterTransform",{enumerable:!0,get:function get(){return _filterTransform.createFilterTransform}}),Object.defineProperty(exports,"createForEachTransform",{enumerable:!0,get:function get(){return _forEachTransform.createForEachTransform}}),Object.defineProperty(exports,"createIndexTransform",{enumerable:!0,get:function get(){return _indexTransform.createIndexTransform}}),Object.defineProperty(exports,"createMapTransform",{enumerable:!0,get:function get(){return _mapTransform.createMapTransform}}),Object.defineProperty(exports,"createMaxTransform",{enumerable:!0,get:function get(){return _maxTransform.createMaxTransform}}),Object.defineProperty(exports,"createMeanTransform",{enumerable:!0,get:function get(){return _meanTransform.createMeanTransform}}),Object.defineProperty(exports,"createMinTransform",{enumerable:!0,get:function get(){return _minTransform.createMinTransform}}),Object.defineProperty(exports,"createRangeTransform",{enumerable:!0,get:function get(){return _rangeTransform.createRangeTransform}}),Object.defineProperty(exports,"createRowTransform",{enumerable:!0,get:function get(){return _rowTransform.createRowTransform}}),Object.defineProperty(exports,"createSubsetTransform",{enumerable:!0,get:function get(){return _subsetTransform.createSubsetTransform}}),Object.defineProperty(exports,"createConcatTransform",{enumerable:!0,get:function get(){return _concatTransform.createConcatTransform}}),Object.defineProperty(exports,"createDiffTransform",{enumerable:!0,get:function get(){return _diffTransform.createDiffTransform}}),Object.defineProperty(exports,"createStdTransform",{enumerable:!0,get:function get(){return _stdTransform.createStdTransform}}),Object.defineProperty(exports,"createSumTransform",{enumerable:!0,get:function get(){return _sumTransform.createSumTransform}}),Object.defineProperty(exports,"createVarianceTransform",{enumerable:!0,get:function get(){return _varianceTransform.createVarianceTransform}});var _typed=require("./core/function/typed.js"),_ResultSet=require("./type/resultset/ResultSet.js"),_BigNumber=require("./type/bignumber/BigNumber.js"),_Complex=require("./type/complex/Complex.js"),_Fraction=require("./type/fraction/Fraction.js"),_Range=require("./type/matrix/Range.js"),_Matrix=require("./type/matrix/Matrix.js"),_DenseMatrix=require("./type/matrix/DenseMatrix.js"),_clone=require("./function/utils/clone.js"),_isInteger=require("./function/utils/isInteger.js"),_isNegative=require("./function/utils/isNegative.js"),_isNumeric=require("./function/utils/isNumeric.js"),_hasNumericValue=require("./function/utils/hasNumericValue.js"),_isPositive=require("./function/utils/isPositive.js"),_isZero=require("./function/utils/isZero.js"),_isNaN=require("./function/utils/isNaN.js"),_typeOf=require("./function/utils/typeOf.js"),_equalScalar=require("./function/relational/equalScalar.js"),_SparseMatrix=require("./type/matrix/SparseMatrix.js"),_number=require("./type/number.js"),_string=require("./type/string.js"),_boolean=require("./type/boolean.js"),_bignumber=require("./type/bignumber/function/bignumber.js"),_complex=require("./type/complex/function/complex.js"),_fraction=require("./type/fraction/function/fraction.js"),_matrix=require("./type/matrix/function/matrix.js"),_matrixFromFunction=require("./function/matrix/matrixFromFunction.js"),_matrixFromRows=require("./function/matrix/matrixFromRows.js"),_matrixFromColumns=require("./function/matrix/matrixFromColumns.js"),_splitUnit=require("./type/unit/function/splitUnit.js"),_unaryMinus=require("./function/arithmetic/unaryMinus.js"),_unaryPlus=require("./function/arithmetic/unaryPlus.js"),_abs=require("./function/arithmetic/abs.js"),_apply=require("./function/matrix/apply.js"),_addScalar=require("./function/arithmetic/addScalar.js"),_cbrt=require("./function/arithmetic/cbrt.js"),_ceil=require("./function/arithmetic/ceil.js"),_cube=require("./function/arithmetic/cube.js"),_exp=require("./function/arithmetic/exp.js"),_expm=require("./function/arithmetic/expm1.js"),_fix=require("./function/arithmetic/fix.js"),_floor=require("./function/arithmetic/floor.js"),_gcd=require("./function/arithmetic/gcd.js"),_lcm=require("./function/arithmetic/lcm.js"),_log=require("./function/arithmetic/log10.js"),_log2=require("./function/arithmetic/log2.js"),_mod=require("./function/arithmetic/mod.js"),_multiplyScalar=require("./function/arithmetic/multiplyScalar.js"),_multiply=require("./function/arithmetic/multiply.js"),_nthRoot=require("./function/arithmetic/nthRoot.js"),_sign=require("./function/arithmetic/sign.js"),_sqrt=require("./function/arithmetic/sqrt.js"),_square=require("./function/arithmetic/square.js"),_subtract=require("./function/arithmetic/subtract.js"),_xgcd=require("./function/arithmetic/xgcd.js"),_dotMultiply=require("./function/arithmetic/dotMultiply.js"),_bitAnd=require("./function/bitwise/bitAnd.js"),_bitNot=require("./function/bitwise/bitNot.js"),_bitOr=require("./function/bitwise/bitOr.js"),_bitXor=require("./function/bitwise/bitXor.js"),_arg=require("./function/complex/arg.js"),_conj=require("./function/complex/conj.js"),_im=require("./function/complex/im.js"),_re=require("./function/complex/re.js"),_not=require("./function/logical/not.js"),_or=require("./function/logical/or.js"),_xor=require("./function/logical/xor.js"),_concat=require("./function/matrix/concat.js"),_column=require("./function/matrix/column.js"),_count=require("./function/matrix/count.js"),_cross=require("./function/matrix/cross.js"),_diag=require("./function/matrix/diag.js"),_filter=require("./function/matrix/filter.js"),_flatten=require("./function/matrix/flatten.js"),_forEach=require("./function/matrix/forEach.js"),_getMatrixDataType=require("./function/matrix/getMatrixDataType.js"),_identity=require("./function/matrix/identity.js"),_kron=require("./function/matrix/kron.js"),_map=require("./function/matrix/map.js"),_diff=require("./function/matrix/diff.js"),_ones=require("./function/matrix/ones.js"),_range=require("./function/matrix/range.js"),_reshape=require("./function/matrix/reshape.js"),_resize=require("./function/matrix/resize.js"),_rotate=require("./function/matrix/rotate.js"),_rotationMatrix=require("./function/matrix/rotationMatrix.js"),_row=require("./function/matrix/row.js"),_size=require("./function/matrix/size.js"),_squeeze=require("./function/matrix/squeeze.js"),_subset=require("./function/matrix/subset.js"),_transpose=require("./function/matrix/transpose.js"),_ctranspose=require("./function/matrix/ctranspose.js"),_zeros=require("./function/matrix/zeros.js"),_erf=require("./function/special/erf.js"),_mode=require("./function/statistics/mode.js"),_prod=require("./function/statistics/prod.js"),_format=require("./function/string/format.js"),_bin=require("./function/string/bin.js"),_oct=require("./function/string/oct.js"),_hex=require("./function/string/hex.js"),_print=require("./function/string/print.js"),_to=require("./function/unit/to.js"),_isPrime=require("./function/utils/isPrime.js"),_numeric=require("./function/utils/numeric.js"),_divideScalar=require("./function/arithmetic/divideScalar.js"),_pow=require("./function/arithmetic/pow.js"),_round=require("./function/arithmetic/round.js"),_log3=require("./function/arithmetic/log.js"),_log1p=require("./function/arithmetic/log1p.js"),_nthRoots=require("./function/arithmetic/nthRoots.js"),_dotPow=require("./function/arithmetic/dotPow.js"),_dotDivide=require("./function/arithmetic/dotDivide.js"),_lsolve=require("./function/algebra/solver/lsolve.js"),_usolve=require("./function/algebra/solver/usolve.js"),_lsolveAll=require("./function/algebra/solver/lsolveAll.js"),_usolveAll=require("./function/algebra/solver/usolveAll.js"),_leftShift=require("./function/bitwise/leftShift.js"),_rightArithShift=require("./function/bitwise/rightArithShift.js"),_rightLogShift=require("./function/bitwise/rightLogShift.js"),_and=require("./function/logical/and.js"),_compare=require("./function/relational/compare.js"),_compareNatural=require("./function/relational/compareNatural.js"),_compareText=require("./function/relational/compareText.js"),_equal=require("./function/relational/equal.js"),_equalText=require("./function/relational/equalText.js"),_smaller=require("./function/relational/smaller.js"),_smallerEq=require("./function/relational/smallerEq.js"),_larger=require("./function/relational/larger.js"),_largerEq=require("./function/relational/largerEq.js"),_deepEqual=require("./function/relational/deepEqual.js"),_unequal=require("./function/relational/unequal.js"),_partitionSelect=require("./function/matrix/partitionSelect.js"),_sort=require("./function/matrix/sort.js"),_max=require("./function/statistics/max.js"),_min=require("./function/statistics/min.js"),_ImmutableDenseMatrix=require("./type/matrix/ImmutableDenseMatrix.js"),_MatrixIndex=require("./type/matrix/MatrixIndex.js"),_FibonacciHeap=require("./type/matrix/FibonacciHeap.js"),_Spa=require("./type/matrix/Spa.js"),_Unit=require("./type/unit/Unit.js"),_unit=require("./type/unit/function/unit.js"),_sparse=require("./type/matrix/function/sparse.js"),_createUnit=require("./type/unit/function/createUnit.js"),_acos=require("./function/trigonometry/acos.js"),_acosh=require("./function/trigonometry/acosh.js"),_acot=require("./function/trigonometry/acot.js"),_acoth=require("./function/trigonometry/acoth.js"),_acsc=require("./function/trigonometry/acsc.js"),_acsch=require("./function/trigonometry/acsch.js"),_asec=require("./function/trigonometry/asec.js"),_asech=require("./function/trigonometry/asech.js"),_asin=require("./function/trigonometry/asin.js"),_asinh=require("./function/trigonometry/asinh.js"),_atan=require("./function/trigonometry/atan.js"),_atan2=require("./function/trigonometry/atan2.js"),_atanh=require("./function/trigonometry/atanh.js"),_cos=require("./function/trigonometry/cos.js"),_cosh=require("./function/trigonometry/cosh.js"),_cot=require("./function/trigonometry/cot.js"),_coth=require("./function/trigonometry/coth.js"),_csc=require("./function/trigonometry/csc.js"),_csch=require("./function/trigonometry/csch.js"),_sec=require("./function/trigonometry/sec.js"),_sech=require("./function/trigonometry/sech.js"),_sin=require("./function/trigonometry/sin.js"),_sinh=require("./function/trigonometry/sinh.js"),_tan=require("./function/trigonometry/tan.js"),_tanh=require("./function/trigonometry/tanh.js"),_setCartesian=require("./function/set/setCartesian.js"),_setDifference=require("./function/set/setDifference.js"),_setDistinct=require("./function/set/setDistinct.js"),_setIntersect=require("./function/set/setIntersect.js"),_setIsSubset=require("./function/set/setIsSubset.js"),_setMultiplicity=require("./function/set/setMultiplicity.js"),_setPowerset=require("./function/set/setPowerset.js"),_setSize=require("./function/set/setSize.js"),_setSymDifference=require("./function/set/setSymDifference.js"),_setUnion=require("./function/set/setUnion.js"),_add=require("./function/arithmetic/add.js"),_hypot=require("./function/arithmetic/hypot.js"),_norm=require("./function/arithmetic/norm.js"),_dot=require("./function/matrix/dot.js"),_trace=require("./function/matrix/trace.js"),_index=require("./type/matrix/function/index.js"),_Node=require("./expression/node/Node.js"),_AccessorNode=require("./expression/node/AccessorNode.js"),_ArrayNode=require("./expression/node/ArrayNode.js"),_AssignmentNode=require("./expression/node/AssignmentNode.js"),_BlockNode=require("./expression/node/BlockNode.js"),_ConditionalNode=require("./expression/node/ConditionalNode.js"),_ConstantNode=require("./expression/node/ConstantNode.js"),_FunctionAssignmentNode=require("./expression/node/FunctionAssignmentNode.js"),_IndexNode=require("./expression/node/IndexNode.js"),_ObjectNode=require("./expression/node/ObjectNode.js"),_OperatorNode=require("./expression/node/OperatorNode.js"),_ParenthesisNode=require("./expression/node/ParenthesisNode.js"),_RangeNode=require("./expression/node/RangeNode.js"),_RelationalNode=require("./expression/node/RelationalNode.js"),_SymbolNode=require("./expression/node/SymbolNode.js"),_FunctionNode=require("./expression/node/FunctionNode.js"),_parse=require("./expression/parse.js"),_compile=require("./expression/function/compile.js"),_evaluate=require("./expression/function/evaluate.js"),_Parser=require("./expression/Parser.js"),_parser=require("./expression/function/parser.js"),_lup=require("./function/algebra/decomposition/lup.js"),_qr=require("./function/algebra/decomposition/qr.js"),_slu=require("./function/algebra/decomposition/slu.js"),_lusolve=require("./function/algebra/solver/lusolve.js"),_Help=require("./expression/Help.js"),_Chain=require("./type/chain/Chain.js"),_help=require("./expression/function/help.js"),_chain=require("./type/chain/function/chain.js"),_det=require("./function/matrix/det.js"),_inv=require("./function/matrix/inv.js"),_eigs=require("./function/matrix/eigs.js"),_expm2=require("./function/matrix/expm.js"),_sqrtm=require("./function/matrix/sqrtm.js"),_divide=require("./function/arithmetic/divide.js"),_distance=require("./function/geometry/distance.js"),_intersect=require("./function/geometry/intersect.js"),_sum=require("./function/statistics/sum.js"),_mean=require("./function/statistics/mean.js"),_median=require("./function/statistics/median.js"),_mad=require("./function/statistics/mad.js"),_variance=require("./function/statistics/variance.js"),_quantileSeq=require("./function/statistics/quantileSeq.js"),_std=require("./function/statistics/std.js"),_combinations=require("./function/probability/combinations.js"),_combinationsWithRep=require("./function/probability/combinationsWithRep.js"),_gamma=require("./function/probability/gamma.js"),_factorial=require("./function/probability/factorial.js"),_kldivergence=require("./function/probability/kldivergence.js"),_multinomial=require("./function/probability/multinomial.js"),_permutations=require("./function/probability/permutations.js"),_pickRandom=require("./function/probability/pickRandom.js"),_random=require("./function/probability/random.js"),_randomInt=require("./function/probability/randomInt.js"),_stirlingS=require("./function/combinatorics/stirlingS2.js"),_bellNumbers=require("./function/combinatorics/bellNumbers.js"),_catalan=require("./function/combinatorics/catalan.js"),_composition=require("./function/combinatorics/composition.js"),_simplify=require("./function/algebra/simplify.js"),_derivative=require("./function/algebra/derivative.js"),_rationalize=require("./function/algebra/rationalize.js"),_reviver=require("./json/reviver.js"),_replacer=require("./json/replacer.js"),_constants=require("./constants.js"),_physicalConstants=require("./type/unit/physicalConstants.js"),_applyTransform=require("./expression/transform/apply.transform.js"),_columnTransform=require("./expression/transform/column.transform.js"),_filterTransform=require("./expression/transform/filter.transform.js"),_forEachTransform=require("./expression/transform/forEach.transform.js"),_indexTransform=require("./expression/transform/index.transform.js"),_mapTransform=require("./expression/transform/map.transform.js"),_maxTransform=require("./expression/transform/max.transform.js"),_meanTransform=require("./expression/transform/mean.transform.js"),_minTransform=require("./expression/transform/min.transform.js"),_rangeTransform=require("./expression/transform/range.transform.js"),_rowTransform=require("./expression/transform/row.transform.js"),_subsetTransform=require("./expression/transform/subset.transform.js"),_concatTransform=require("./expression/transform/concat.transform.js"),_diffTransform=require("./expression/transform/diff.transform.js"),_stdTransform=require("./expression/transform/std.transform.js"),_sumTransform=require("./expression/transform/sum.transform.js"),_varianceTransform=require("./expression/transform/variance.transform.js")},{"./constants.js":35,"./core/function/typed.js":40,"./expression/Help.js":384,"./expression/Parser.js":385,"./expression/function/compile.js":609,"./expression/function/evaluate.js":610,"./expression/function/help.js":611,"./expression/function/parser.js":612,"./expression/node/AccessorNode.js":614,"./expression/node/ArrayNode.js":615,"./expression/node/AssignmentNode.js":616,"./expression/node/BlockNode.js":617,"./expression/node/ConditionalNode.js":618,"./expression/node/ConstantNode.js":619,"./expression/node/FunctionAssignmentNode.js":620,"./expression/node/FunctionNode.js":621,"./expression/node/IndexNode.js":622,"./expression/node/Node.js":623,"./expression/node/ObjectNode.js":624,"./expression/node/OperatorNode.js":625,"./expression/node/ParenthesisNode.js":626,"./expression/node/RangeNode.js":627,"./expression/node/RelationalNode.js":628,"./expression/node/SymbolNode.js":629,"./expression/parse.js":633,"./expression/transform/apply.transform.js":634,"./expression/transform/column.transform.js":635,"./expression/transform/concat.transform.js":636,"./expression/transform/diff.transform.js":637,"./expression/transform/filter.transform.js":638,"./expression/transform/forEach.transform.js":639,"./expression/transform/index.transform.js":640,"./expression/transform/map.transform.js":641,"./expression/transform/max.transform.js":642,"./expression/transform/mean.transform.js":643,"./expression/transform/min.transform.js":644,"./expression/transform/range.transform.js":645,"./expression/transform/row.transform.js":646,"./expression/transform/std.transform.js":647,"./expression/transform/subset.transform.js":648,"./expression/transform/sum.transform.js":649,"./expression/transform/variance.transform.js":653,"./function/algebra/decomposition/lup.js":655,"./function/algebra/decomposition/qr.js":656,"./function/algebra/decomposition/slu.js":657,"./function/algebra/derivative.js":658,"./function/algebra/rationalize.js":659,"./function/algebra/simplify.js":660,"./function/algebra/solver/lsolve.js":665,"./function/algebra/solver/lsolveAll.js":666,"./function/algebra/solver/lusolve.js":667,"./function/algebra/solver/usolve.js":668,"./function/algebra/solver/usolveAll.js":669,"./function/arithmetic/abs.js":689,"./function/arithmetic/add.js":690,"./function/arithmetic/addScalar.js":691,"./function/arithmetic/cbrt.js":692,"./function/arithmetic/ceil.js":693,"./function/arithmetic/cube.js":694,"./function/arithmetic/divide.js":695,"./function/arithmetic/divideScalar.js":696,"./function/arithmetic/dotDivide.js":697,"./function/arithmetic/dotMultiply.js":698,"./function/arithmetic/dotPow.js":699,"./function/arithmetic/exp.js":700,"./function/arithmetic/expm1.js":701,"./function/arithmetic/fix.js":702,"./function/arithmetic/floor.js":703,"./function/arithmetic/gcd.js":704,"./function/arithmetic/hypot.js":705,"./function/arithmetic/lcm.js":706,"./function/arithmetic/log.js":707,"./function/arithmetic/log10.js":708,"./function/arithmetic/log1p.js":709,"./function/arithmetic/log2.js":710,"./function/arithmetic/mod.js":711,"./function/arithmetic/multiply.js":712,"./function/arithmetic/multiplyScalar.js":713,"./function/arithmetic/norm.js":714,"./function/arithmetic/nthRoot.js":715,"./function/arithmetic/nthRoots.js":716,"./function/arithmetic/pow.js":717,"./function/arithmetic/round.js":718,"./function/arithmetic/sign.js":719,"./function/arithmetic/sqrt.js":720,"./function/arithmetic/square.js":721,"./function/arithmetic/subtract.js":722,"./function/arithmetic/unaryMinus.js":723,"./function/arithmetic/unaryPlus.js":724,"./function/arithmetic/xgcd.js":725,"./function/bitwise/bitAnd.js":726,"./function/bitwise/bitNot.js":727,"./function/bitwise/bitOr.js":728,"./function/bitwise/bitXor.js":729,"./function/bitwise/leftShift.js":730,"./function/bitwise/rightArithShift.js":731,"./function/bitwise/rightLogShift.js":732,"./function/combinatorics/bellNumbers.js":733,"./function/combinatorics/catalan.js":734,"./function/combinatorics/composition.js":735,"./function/combinatorics/stirlingS2.js":736,"./function/complex/arg.js":737,"./function/complex/conj.js":738,"./function/complex/im.js":739,"./function/complex/re.js":740,"./function/geometry/distance.js":741,"./function/geometry/intersect.js":742,"./function/logical/and.js":743,"./function/logical/not.js":744,"./function/logical/or.js":745,"./function/logical/xor.js":746,"./function/matrix/apply.js":747,"./function/matrix/column.js":748,"./function/matrix/concat.js":749,"./function/matrix/count.js":750,"./function/matrix/cross.js":751,"./function/matrix/ctranspose.js":752,"./function/matrix/det.js":753,"./function/matrix/diag.js":754,"./function/matrix/diff.js":755,"./function/matrix/dot.js":756,"./function/matrix/eigs.js":757,"./function/matrix/expm.js":760,"./function/matrix/filter.js":761,"./function/matrix/flatten.js":762,"./function/matrix/forEach.js":763,"./function/matrix/getMatrixDataType.js":764,"./function/matrix/identity.js":765,"./function/matrix/inv.js":766,"./function/matrix/kron.js":767,"./function/matrix/map.js":768,"./function/matrix/matrixFromColumns.js":769,"./function/matrix/matrixFromFunction.js":770,"./function/matrix/matrixFromRows.js":771,"./function/matrix/ones.js":772,"./function/matrix/partitionSelect.js":773,"./function/matrix/range.js":774,"./function/matrix/reshape.js":775,"./function/matrix/resize.js":776,"./function/matrix/rotate.js":777,"./function/matrix/rotationMatrix.js":778,"./function/matrix/row.js":779,"./function/matrix/size.js":780,"./function/matrix/sort.js":781,"./function/matrix/sqrtm.js":782,"./function/matrix/squeeze.js":783,"./function/matrix/subset.js":784,"./function/matrix/trace.js":785,"./function/matrix/transpose.js":786,"./function/matrix/zeros.js":787,"./function/probability/combinations.js":788,"./function/probability/combinationsWithRep.js":789,"./function/probability/factorial.js":790,"./function/probability/gamma.js":791,"./function/probability/kldivergence.js":792,"./function/probability/multinomial.js":793,"./function/probability/permutations.js":794,"./function/probability/pickRandom.js":795,"./function/probability/random.js":796,"./function/probability/randomInt.js":797,"./function/relational/compare.js":800,"./function/relational/compareNatural.js":801,"./function/relational/compareText.js":802,"./function/relational/deepEqual.js":803,"./function/relational/equal.js":804,"./function/relational/equalScalar.js":805,"./function/relational/equalText.js":806,"./function/relational/larger.js":807,"./function/relational/largerEq.js":808,"./function/relational/smaller.js":809,"./function/relational/smallerEq.js":810,"./function/relational/unequal.js":811,"./function/set/setCartesian.js":812,"./function/set/setDifference.js":813,"./function/set/setDistinct.js":814,"./function/set/setIntersect.js":815,"./function/set/setIsSubset.js":816,"./function/set/setMultiplicity.js":817,"./function/set/setPowerset.js":818,"./function/set/setSize.js":819,"./function/set/setSymDifference.js":820,"./function/set/setUnion.js":821,"./function/special/erf.js":822,"./function/statistics/mad.js":823,"./function/statistics/max.js":824,"./function/statistics/mean.js":825,"./function/statistics/median.js":826,"./function/statistics/min.js":827,"./function/statistics/mode.js":828,"./function/statistics/prod.js":829,"./function/statistics/quantileSeq.js":830,"./function/statistics/std.js":831,"./function/statistics/sum.js":832,"./function/statistics/variance.js":834,"./function/string/bin.js":835,"./function/string/format.js":836,"./function/string/hex.js":837,"./function/string/oct.js":838,"./function/string/print.js":839,"./function/trigonometry/acos.js":840,"./function/trigonometry/acosh.js":841,"./function/trigonometry/acot.js":842,"./function/trigonometry/acoth.js":843,"./function/trigonometry/acsc.js":844,"./function/trigonometry/acsch.js":845,"./function/trigonometry/asec.js":846,"./function/trigonometry/asech.js":847,"./function/trigonometry/asin.js":848,"./function/trigonometry/asinh.js":849,"./function/trigonometry/atan.js":850,"./function/trigonometry/atan2.js":851,"./function/trigonometry/atanh.js":852,"./function/trigonometry/cos.js":853,"./function/trigonometry/cosh.js":854,"./function/trigonometry/cot.js":855,"./function/trigonometry/coth.js":856,"./function/trigonometry/csc.js":857,"./function/trigonometry/csch.js":858,"./function/trigonometry/sec.js":859,"./function/trigonometry/sech.js":860,"./function/trigonometry/sin.js":861,"./function/trigonometry/sinh.js":862,"./function/trigonometry/tan.js":863,"./function/trigonometry/tanh.js":864,"./function/unit/to.js":865,"./function/utils/clone.js":866,"./function/utils/hasNumericValue.js":867,"./function/utils/isInteger.js":868,"./function/utils/isNaN.js":869,"./function/utils/isNegative.js":870,"./function/utils/isNumeric.js":871,"./function/utils/isPositive.js":872,"./function/utils/isPrime.js":873,"./function/utils/isZero.js":874,"./function/utils/numeric.js":875,"./function/utils/typeOf.js":876,"./json/replacer.js":878,"./json/reviver.js":879,"./type/bignumber/BigNumber.js":890,"./type/bignumber/function/bignumber.js":891,"./type/boolean.js":892,"./type/chain/Chain.js":893,"./type/chain/function/chain.js":894,"./type/complex/Complex.js":895,"./type/complex/function/complex.js":896,"./type/fraction/Fraction.js":897,"./type/fraction/function/fraction.js":898,"./type/matrix/DenseMatrix.js":899,"./type/matrix/FibonacciHeap.js":900,"./type/matrix/ImmutableDenseMatrix.js":901,"./type/matrix/Matrix.js":902,"./type/matrix/MatrixIndex.js":903,"./type/matrix/Range.js":904,"./type/matrix/Spa.js":905,"./type/matrix/SparseMatrix.js":906,"./type/matrix/function/index.js":907,"./type/matrix/function/matrix.js":908,"./type/matrix/function/sparse.js":909,"./type/number.js":924,"./type/resultset/ResultSet.js":925,"./type/string.js":926,"./type/unit/Unit.js":927,"./type/unit/function/createUnit.js":928,"./type/unit/function/splitUnit.js":929,"./type/unit/function/unit.js":930,"./type/unit/physicalConstants.js":931}],655:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLup=void 0;var _object=require("../../../utils/object.js"),_factory=require("../../../utils/factory.js"),dependencies=["typed","matrix","abs","addScalar","divideScalar","multiplyScalar","subtract","larger","equalScalar","unaryMinus","DenseMatrix","SparseMatrix","Spa"],createLup=(0,_factory.factory)("lup",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,abs=_ref.abs,addScalar=_ref.addScalar,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,subtract=_ref.subtract,larger=_ref.larger,equalScalar=_ref.equalScalar,unaryMinus=_ref.unaryMinus,DenseMatrix=_ref.DenseMatrix,SparseMatrix=_ref.SparseMatrix,Spa=_ref.Spa;return typed("lup",{DenseMatrix:function DenseMatrix(m){return _denseLUP(m)},SparseMatrix:function SparseMatrix(m){return _sparseLUP(m)},Array:function Array(a){var r=_denseLUP(matrix(a));return{L:r.L.valueOf(),U:r.U.valueOf(),p:r.p}}});function _denseLUP(m){var i,j,k,rows=m._size[0],columns=m._size[1],n=Math.min(rows,columns),data=(0,_object.clone)(m._data),ldata=[],lsize=[rows,n],udata=[],usize=[n,columns],p=[];for(i=0;i0)for(i=0;i0&&spa.forEach(0,j-1,(function(k,vkj){SparseMatrix._forEachRow(k,lvalues,lindex,lptr,(function(i,vik){i>k&&spa.accumulate(i,unaryMinus(multiplyScalar(vik,vkj)))}))}));var pi=j,vjj=spa.get(j),pabsv=abs(vjj);spa.forEach(j+1,rows-1,(function(x,v){var absv=abs(v);larger(absv,pabsv)&&(pi=x,pabsv=absv,vjj=v)})),j!==pi&&(SparseMatrix._swapRows(j,pi,lsize[1],lvalues,lindex,lptr),SparseMatrix._swapRows(j,pi,usize[1],uvalues,uindex,uptr),spa.swap(j,pi),function swapIndeces(x,y){var kx=pvOc[x],ky=pvOc[y];pvCo[kx]=y,pvCo[ky]=x,pvOc[x]=ky,pvOc[y]=kx}(j,pi)),spa.forEach(0,rows-1,(function(x,v){x<=j?(uvalues.push(v),uindex.push(x)):(v=divideScalar(v,vjj),equalScalar(v,0)||(lvalues.push(v),lindex.push(x)))}))};for(j=0;j0)for(var zero="Complex"===Rdata[0][0].type?complex(0):0,i=0;i3)throw new Error("Symbolic Ordering and Analysis order must be an integer number in the interval [0, 3]");if(threshold<0||threshold>1)throw new Error("Partial pivoting threshold must be a number from 0 to 1");var s=csSqr(order,a,!1),f=csLu(a,s,threshold);return{L:f.L,U:f.U,p:f.pinv,q:s.q,toString:function toString(){return"L: "+this.L.toString()+"\nU: "+this.U.toString()+"\np: "+this.p.toString()+(this.q?"\nq: "+this.q.toString():"")+"\n"}}}})}));exports.createSlu=createSlu},{"../../../utils/factory.js":941,"../../../utils/number.js":948,"../sparse/csLu.js":679,"../sparse/csSqr.js":686}],658:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDerivative=void 0;var _is=require("../../utils/is.js"),dependencies=["typed","config","parse","simplify","equal","isZero","numeric","ConstantNode","FunctionNode","OperatorNode","ParenthesisNode","SymbolNode"],createDerivative=(0,require("../../utils/factory.js").factory)("derivative",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,parse=_ref.parse,simplify=_ref.simplify,equal=_ref.equal,isZero=_ref.isZero,numeric=_ref.numeric,ConstantNode=_ref.ConstantNode,FunctionNode=_ref.FunctionNode,OperatorNode=_ref.OperatorNode,ParenthesisNode=_ref.ParenthesisNode,SymbolNode=_ref.SymbolNode,derivative=typed("derivative",{"Node, SymbolNode, Object":function NodeSymbolNodeObject(expr,variable,options){var constNodes={};constTag(constNodes,expr,variable.name);var res=_derivative(expr,constNodes);return options.simplify?simplify(res):res},"Node, SymbolNode":function NodeSymbolNode(expr,variable){return this(expr,variable,{simplify:!0})},"string, SymbolNode":function stringSymbolNode(expr,variable){return this(parse(expr),variable)},"string, SymbolNode, Object":function stringSymbolNodeObject(expr,variable,options){return this(parse(expr),variable,options)},"string, string":function stringString(expr,variable){return this(parse(expr),parse(variable))},"string, string, Object":function stringStringObject(expr,variable,options){return this(parse(expr),parse(variable),options)},"Node, string":function NodeString(expr,variable){return this(expr,parse(variable))},"Node, string, Object":function NodeStringObject(expr,variable,options){return this(expr,parse(variable),options)}});derivative._simplify=!0,derivative.toTex=function(deriv){return _derivTex.apply(null,deriv.args)};var _derivTex=typed("_derivTex",{"Node, SymbolNode":function NodeSymbolNode(expr,x){return(0,_is.isConstantNode)(expr)&&"string"===(0,_is.typeOf)(expr.value)?_derivTex(parse(expr.value).toString(),x.toString(),1):_derivTex(expr.toString(),x.toString(),1)},"Node, ConstantNode":function NodeConstantNode(expr,x){if("string"===(0,_is.typeOf)(x.value))return _derivTex(expr,parse(x.value));throw new Error("The second parameter to 'derivative' is a non-string constant")},"Node, SymbolNode, ConstantNode":function NodeSymbolNodeConstantNode(expr,x,order){return _derivTex(expr.toString(),x.name,order.value)},"string, string, number":function stringStringNumber(expr,x,order){return(1===order?"{d\\over d"+x+"}":"{d^{"+order+"}\\over d"+x+"^{"+order+"}}")+"\\left[".concat(expr,"\\right]")}}),constTag=typed("constTag",{"Object, ConstantNode, string":function ObjectConstantNodeString(constNodes,node){return constNodes[node]=!0,!0},"Object, SymbolNode, string":function ObjectSymbolNodeString(constNodes,node,varName){return node.name!==varName&&(constNodes[node]=!0,!0)},"Object, ParenthesisNode, string":function ObjectParenthesisNodeString(constNodes,node,varName){return constTag(constNodes,node.content,varName)},"Object, FunctionAssignmentNode, string":function ObjectFunctionAssignmentNodeString(constNodes,node,varName){return-1===node.params.indexOf(varName)?(constNodes[node]=!0,!0):constTag(constNodes,node.expr,varName)},"Object, FunctionNode | OperatorNode, string":function ObjectFunctionNodeOperatorNodeString(constNodes,node,varName){if(node.args.length>0){for(var isConst=constTag(constNodes,node.args[0],varName),i=1;i0){var nonConstantTerms=node.args.filter((function(arg){return void 0===constNodes[arg]})),nonConstantNode=1===nonConstantTerms.length?nonConstantTerms[0]:new OperatorNode("*","multiply",nonConstantTerms),newArgs=constantTerms.concat(_derivative(nonConstantNode,constNodes));return new OperatorNode("*","multiply",newArgs)}return new OperatorNode("+","add",node.args.map((function(argOuter){return new OperatorNode("*","multiply",node.args.map((function(argInner){return argInner===argOuter?_derivative(argInner,constNodes):argInner.clone()})))})))}if("/"===node.op&&node.isBinary()){var arg0=node.args[0],arg1=node.args[1];return void 0!==constNodes[arg1]?new OperatorNode("/","divide",[_derivative(arg0,constNodes),arg1]):void 0!==constNodes[arg0]?new OperatorNode("*","multiply",[new OperatorNode("-","unaryMinus",[arg0]),new OperatorNode("/","divide",[_derivative(arg1,constNodes),new OperatorNode("^","pow",[arg1.clone(),createConstantNode(2)])])]):new OperatorNode("/","divide",[new OperatorNode("-","subtract",[new OperatorNode("*","multiply",[_derivative(arg0,constNodes),arg1.clone()]),new OperatorNode("*","multiply",[arg0.clone(),_derivative(arg1,constNodes)])]),new OperatorNode("^","pow",[arg1.clone(),createConstantNode(2)])])}if("^"===node.op&&node.isBinary()){var _arg=node.args[0],_arg2=node.args[1];if(void 0!==constNodes[_arg])return(0,_is.isConstantNode)(_arg)&&(isZero(_arg.value)||equal(_arg.value,1))?createConstantNode(0):new OperatorNode("*","multiply",[node,new OperatorNode("*","multiply",[new FunctionNode("log",[_arg.clone()]),_derivative(_arg2.clone(),constNodes)])]);if(void 0!==constNodes[_arg2]){if((0,_is.isConstantNode)(_arg2)){if(isZero(_arg2.value))return createConstantNode(0);if(equal(_arg2.value,1))return _derivative(_arg,constNodes)}var powMinusOne=new OperatorNode("^","pow",[_arg.clone(),new OperatorNode("-","subtract",[_arg2,createConstantNode(1)])]);return new OperatorNode("*","multiply",[_arg2.clone(),new OperatorNode("*","multiply",[_derivative(_arg,constNodes),powMinusOne])])}return new OperatorNode("*","multiply",[new OperatorNode("^","pow",[_arg.clone(),_arg2.clone()]),new OperatorNode("+","add",[new OperatorNode("*","multiply",[_derivative(_arg,constNodes),new OperatorNode("/","divide",[_arg2.clone(),_arg.clone()])]),new OperatorNode("*","multiply",[_derivative(_arg2,constNodes),new FunctionNode("log",[_arg.clone()])])])])}throw new Error('Operator "'+node.op+'" is not supported by derivative, or a wrong number of arguments is passed')}});function createConstantNode(value,valueType){return new ConstantNode(numeric(value,valueType||config.number))}return derivative}));exports.createDerivative=createDerivative},{"../../utils/factory.js":941,"../../utils/is.js":943}],659:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRationalize=void 0;var _number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_simplifyConstant=require("./simplify/simplifyConstant.js"),_simplifyCore=require("./simplify/simplifyCore.js"),dependencies=["config","typed","equal","isZero","add","subtract","multiply","divide","pow","parse","simplify","?bignumber","?fraction","mathWithTransform","ConstantNode","OperatorNode","FunctionNode","SymbolNode","ParenthesisNode"],createRationalize=(0,_factory.factory)("rationalize",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,equal=_ref.equal,isZero=_ref.isZero,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,pow=_ref.pow,parse=_ref.parse,simplify=_ref.simplify,fraction=_ref.fraction,bignumber=_ref.bignumber,mathWithTransform=_ref.mathWithTransform,ConstantNode=_ref.ConstantNode,OperatorNode=_ref.OperatorNode,FunctionNode=_ref.FunctionNode,SymbolNode=_ref.SymbolNode,ParenthesisNode=_ref.ParenthesisNode,simplifyConstant=(0,_simplifyConstant.createSimplifyConstant)({typed:typed,config:config,mathWithTransform:mathWithTransform,fraction:fraction,bignumber:bignumber,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,SymbolNode:SymbolNode}),simplifyCore=(0,_simplifyCore.createSimplifyCore)({equal:equal,isZero:isZero,add:add,subtract:subtract,multiply:multiply,divide:divide,pow:pow,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,ParenthesisNode:ParenthesisNode});return typed("rationalize",{string:function string(expr){return this(parse(expr),{},!1)},"string, boolean":function stringBoolean(expr,detailed){return this(parse(expr),{},detailed)},"string, Object":function stringObject(expr,scope){return this(parse(expr),scope,!1)},"string, Object, boolean":function stringObjectBoolean(expr,scope,detailed){return this(parse(expr),scope,detailed)},Node:function Node(expr){return this(expr,{},!1)},"Node, boolean":function NodeBoolean(expr,detailed){return this(expr,{},detailed)},"Node, Object":function NodeObject(expr,scope){return this(expr,scope,!1)},"Node, Object, boolean":function NodeObjectBoolean(expr,scope,detailed){var setRules=function rulesRationalize(){var oldRules=[simplifyCore,{l:"n+n",r:"2*n"},{l:"n+-n",r:"0"},simplifyConstant,{l:"n*(n1^-1)",r:"n/n1"},{l:"n*n1^-n2",r:"n/n1^n2"},{l:"n1^-1",r:"1/n1"},{l:"n*(n1/n2)",r:"(n*n1)/n2"},{l:"1*n",r:"n"}],rulesFirst=[{l:"(-n1)/(-n2)",r:"n1/n2"},{l:"(-n1)*(-n2)",r:"n1*n2"},{l:"n1--n2",r:"n1+n2"},{l:"n1-n2",r:"n1+(-n2)"},{l:"(n1+n2)*n3",r:"(n1*n3 + n2*n3)"},{l:"n1*(n2+n3)",r:"(n1*n2+n1*n3)"},{l:"c1*n + c2*n",r:"(c1+c2)*n"},{l:"c1*n + n",r:"(c1+1)*n"},{l:"c1*n - c2*n",r:"(c1-c2)*n"},{l:"c1*n - n",r:"(c1-1)*n"},{l:"v/c",r:"(1/c)*v"},{l:"v/-c",r:"-(1/c)*v"},{l:"-v*-c",r:"c*v"},{l:"-v*c",r:"-c*v"},{l:"v*-c",r:"-c*v"},{l:"v*c",r:"c*v"},{l:"-(-n1*n2)",r:"(n1*n2)"},{l:"-(n1*n2)",r:"(-n1*n2)"},{l:"-(-n1+n2)",r:"(n1-n2)"},{l:"-(n1+n2)",r:"(-n1-n2)"},{l:"(n1^n2)^n3",r:"(n1^(n2*n3))"},{l:"-(-n1/n2)",r:"(n1/n2)"},{l:"-(n1/n2)",r:"(-n1/n2)"}],rulesDistrDiv=[{l:"(n1/n2 + n3/n4)",r:"((n1*n4 + n3*n2)/(n2*n4))"},{l:"(n1/n2 + n3)",r:"((n1 + n3*n2)/n2)"},{l:"(n1 + n2/n3)",r:"((n1*n3 + n2)/n3)"}],rulesSucDiv=[{l:"(n1/(n2/n3))",r:"((n1*n3)/n2)"},{l:"(n1/n2/n3)",r:"(n1/(n2*n3))"}],setRules={};return setRules.firstRules=oldRules.concat(rulesFirst,rulesSucDiv),setRules.distrDivRules=rulesDistrDiv,setRules.sucDivRules=rulesSucDiv,setRules.firstRulesAgain=oldRules.concat(rulesFirst),setRules.finalRules=[simplifyCore,{l:"n*-n",r:"-n^2"},{l:"n*n",r:"n^2"},simplifyConstant,{l:"n*-n^n1",r:"-n^(n1+1)"},{l:"n*n^n1",r:"n^(n1+1)"},{l:"n^n1*-n^n2",r:"-n^(n1+n2)"},{l:"n^n1*n^n2",r:"n^(n1+n2)"},{l:"n^n1*-n",r:"-n^(n1+1)"},{l:"n^n1*n",r:"n^(n1+1)"},{l:"n^n1/-n",r:"-n^(n1-1)"},{l:"n^n1/n",r:"n^(n1-1)"},{l:"n/-n^n1",r:"-n^(1-n1)"},{l:"n/n^n1",r:"n^(1-n1)"},{l:"n^n1/-n^n2",r:"n^(n1-n2)"},{l:"n^n1/n^n2",r:"n^(n1-n2)"},{l:"n1+(-n2*n3)",r:"n1-n2*n3"},{l:"v*(-c)",r:"-c*v"},{l:"n1+-n2",r:"n1-n2"},{l:"v*c",r:"c*v"},{l:"(n1^n2)^n3",r:"(n1^(n2*n3))"}],setRules}(),polyRet=function polynomial(expr,scope,extended,rules){var variables=[],node=simplify(expr,rules,scope,{exactFractions:!1}),oper="+-*"+((extended=!!extended)?"/":"");recPoly(node);var retFunc={};return retFunc.expression=node,retFunc.variables=variables,retFunc;function recPoly(node){var tp=node.type;if("FunctionNode"===tp)throw new Error("There is an unsolved function call");if("OperatorNode"===tp)if("^"===node.op){if("ConstantNode"!==node.args[1].type||!(0,_number.isInteger)(parseFloat(node.args[1].value)))throw new Error("There is a non-integer exponent");recPoly(node.args[0])}else{if(-1===oper.indexOf(node.op))throw new Error("Operator "+node.op+" invalid in polynomial expression");for(var i=0;i=1){var sBefore,rules;expr=expandPower(expr);var s,eDistrDiv=!0,redoInic=!1;for(expr=simplify(expr,setRules.firstRules,{},{exactFractions:!1});rules=eDistrDiv?setRules.distrDivRules:setRules.sucDivRules,eDistrDiv=!eDistrDiv,(s=(expr=simplify(expr,rules)).toString())!==sBefore;)redoInic=!0,sBefore=s;redoInic&&(expr=simplify(expr,setRules.firstRulesAgain,{},{exactFractions:!1})),expr=simplify(expr,setRules.finalRules,{},{exactFractions:!1})}var coefficients=[],retRationalize={};return"OperatorNode"===expr.type&&expr.isBinary()&&"/"===expr.op?(1===nVars&&(expr.args[0]=polyToCanonical(expr.args[0],coefficients),expr.args[1]=polyToCanonical(expr.args[1])),detailed&&(retRationalize.numerator=expr.args[0],retRationalize.denominator=expr.args[1])):(1===nVars&&(expr=polyToCanonical(expr,coefficients)),detailed&&(retRationalize.numerator=expr,retRationalize.denominator=null)),detailed?(retRationalize.coefficients=coefficients,retRationalize.variables=polyRet.variables,retRationalize.expression=expr,retRationalize):expr}});function expandPower(node,parent,indParent){var tp=node.type,internal=arguments.length>1;if("OperatorNode"===tp&&node.isBinary()){var val,does=!1;if("^"===node.op&&("ParenthesisNode"!==node.args[0].type&&"OperatorNode"!==node.args[0].type||"ConstantNode"!==node.args[1].type||(does=(val=parseFloat(node.args[1].value))>=2&&(0,_number.isInteger)(val))),does){if(val>2){var nEsqTopo=node.args[0],nDirTopo=new OperatorNode("^","pow",[node.args[0].cloneDeep(),new ConstantNode(val-1)]);node=new OperatorNode("*","multiply",[nEsqTopo,nDirTopo])}else node=new OperatorNode("*","multiply",[node.args[0],node.args[0].cloneDeep()]);internal&&("content"===indParent?parent.content=node:parent.args[indParent]=node)}}if("ParenthesisNode"===tp)expandPower(node.content,node,"content");else if("ConstantNode"!==tp&&"SymbolNode"!==tp)for(var i=0;imaxExpo&&(coefficients[valor]=0),coefficients[valor]+=o.cte*("+"===o.oper?1:-1),void(maxExpo=Math.max(valor,maxExpo))}o.cte=valor,""===o.fire&&(coefficients[0]+=o.cte*("+"===o.oper?1:-1))}}(node,null,o);for(var no,first=!0,i=maxExpo=coefficients.length-1;i>=0;i--)if(0!==coefficients[i]){var n1=new ConstantNode(first?coefficients[i]:Math.abs(coefficients[i])),op=coefficients[i]<0?"-":"+";if(i>0){var n2=new SymbolNode(varname);if(i>1){var n3=new ConstantNode(i);n2=new OperatorNode("^","pow",[n2,n3])}n1=-1===coefficients[i]&&first?new OperatorNode("-","unaryMinus",[n2]):1===Math.abs(coefficients[i])?n2:new OperatorNode("*","multiply",[n1,n2])}no=first?n1:"+"===op?new OperatorNode("+","add",[no,n1]):new OperatorNode("-","subtract",[no,n1]),first=!1}return first?new ConstantNode(0):no}}));exports.createRationalize=createRationalize},{"../../utils/factory.js":941,"../../utils/number.js":948,"./simplify/simplifyConstant.js":662,"./simplify/simplifyCore.js":663}],660:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSimplify=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_util=require("./simplify/util.js"),_simplifyCore=require("./simplify/simplifyCore.js"),_simplifyConstant=require("./simplify/simplifyConstant.js"),_resolve=require("./simplify/resolve.js"),_object=require("../../utils/object.js"),_map=require("../../utils/map.js"),dependencies=["config","typed","parse","add","subtract","multiply","divide","pow","isZero","equal","?fraction","?bignumber","mathWithTransform","ConstantNode","FunctionNode","OperatorNode","ParenthesisNode","SymbolNode"],createSimplify=(0,_factory.factory)("simplify",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,parse=_ref.parse,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,pow=_ref.pow,isZero=_ref.isZero,equal=_ref.equal,fraction=_ref.fraction,bignumber=_ref.bignumber,mathWithTransform=_ref.mathWithTransform,ConstantNode=_ref.ConstantNode,FunctionNode=_ref.FunctionNode,OperatorNode=_ref.OperatorNode,ParenthesisNode=_ref.ParenthesisNode,SymbolNode=_ref.SymbolNode,simplifyConstant=(0,_simplifyConstant.createSimplifyConstant)({typed:typed,config:config,mathWithTransform:mathWithTransform,fraction:fraction,bignumber:bignumber,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,SymbolNode:SymbolNode}),simplifyCore=(0,_simplifyCore.createSimplifyCore)({equal:equal,isZero:isZero,add:add,subtract:subtract,multiply:multiply,divide:divide,pow:pow,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,ParenthesisNode:ParenthesisNode}),resolve=(0,_resolve.createResolve)({parse:parse,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode}),_createUtil=(0,_util.createUtil)({FunctionNode:FunctionNode,OperatorNode:OperatorNode,SymbolNode:SymbolNode}),isCommutative=_createUtil.isCommutative,isAssociative=_createUtil.isAssociative,flatten=_createUtil.flatten,unflattenr=_createUtil.unflattenr,unflattenl=_createUtil.unflattenl,createMakeNodeFunction=_createUtil.createMakeNodeFunction,simplify=typed("simplify",{string:function string(expr){return this(parse(expr),this.rules,(0,_map.createEmptyMap)(),{})},"string, Map | Object":function stringMapObject(expr,scope){return this(parse(expr),this.rules,scope,{})},"string, Map | Object, Object":function stringMapObjectObject(expr,scope,options){return this(parse(expr),this.rules,scope,options)},"string, Array":function stringArray(expr,rules){return this(parse(expr),rules,(0,_map.createEmptyMap)(),{})},"string, Array, Map | Object":function stringArrayMapObject(expr,rules,scope){return this(parse(expr),rules,scope,{})},"string, Array, Map | Object, Object":function stringArrayMapObjectObject(expr,rules,scope,options){return this(parse(expr),rules,scope,options)},"Node, Map | Object":function NodeMapObject(expr,scope){return this(expr,this.rules,scope,{})},"Node, Map | Object, Object":function NodeMapObjectObject(expr,scope,options){return this(expr,this.rules,scope,options)},Node:function Node(expr){return this(expr,this.rules,(0,_map.createEmptyMap)(),{})},"Node, Array":function NodeArray(expr,rules){return this(expr,rules,(0,_map.createEmptyMap)(),{})},"Node, Array, Map | Object":function NodeArrayMapObject(expr,rules,scope){return this(expr,rules,scope,{})},"Node, Array, Object, Object":function NodeArrayObjectObject(expr,rules,scope,options){return this(expr,rules,(0,_map.createMap)(scope),options)},"Node, Array, Map, Object":function NodeArrayMapObject(expr,rules,scope,options){rules=function _buildRules(rules){for(var ruleSet=[],i=0;i");if(2!==lr.length)throw SyntaxError("Could not parse rule: "+rule);rule={l:lr[0],r:lr[1]};case"object":if(newRule={l:removeParens(parse(rule.l)),r:removeParens(parse(rule.r))},rule.context&&(newRule.evaluate=rule.context),rule.evaluate&&(newRule.evaluate=parse(rule.evaluate)),isAssociative(newRule.l)){var makeNode=createMakeNodeFunction(newRule.l),expandsym=_getExpandPlaceholderSymbol();newRule.expanded={},newRule.expanded.l=makeNode([newRule.l.clone(),expandsym]),flatten(newRule.expanded.l),unflattenr(newRule.expanded.l),newRule.expanded.r=makeNode([newRule.r,expandsym])}break;case"function":newRule=rule;break;default:throw TypeError("Unsupported type of rule: "+ruleType)}ruleSet.push(newRule)}return ruleSet}(rules);for(var res=resolve(expr,scope),visited={},str=(res=removeParens(res)).toString({parenthesis:"all"});!visited[str];){visited[str]=!0,_lastsym=0;for(var i=0;i=2&&2===rule.args.length){for(var splits=function getSplits(node,context){var right,rightArgs,res=[],makeNode=createMakeNodeFunction(node);if(isCommutative(node,context))for(var i=0;i2)throw Error("Unexpected non-binary associative function: "+rule.toString());return[]}for(var childMatches=[],i=0;i1?(res=foldOp(fn,consts,makeNode,options),vars.unshift(res),res=foldOp(fn,vars,makeNode,options)):res=foldOp(fn,_args,makeNode,options)}else res=foldOp(fn,_args,makeNode,options);else res=foldOp(fn,_args=node.args.map((function(arg){return foldFraction(arg,options)})),makeNode,options);return res;case"ParenthesisNode":return foldFraction(node.content,options);case"AccessorNode":case"ArrayNode":case"AssignmentNode":case"BlockNode":case"FunctionAssignmentNode":case"IndexNode":case"ObjectNode":case"RangeNode":case"ConditionalNode":default:throw new Error("Unimplemented node type in simplifyConstant: ".concat(node.type))}}return function simplifyConstant(expr,options){var res=foldFraction(expr,options);return(0,_is.isNode)(res)?res:_toNode(res)}}));exports.createSimplifyConstant=createSimplifyConstant},{"../../../utils/factory.js":941,"../../../utils/is.js":943,"../../../utils/noop.js":947,"./util.js":664}],663:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSimplifyCore=void 0;var _is=require("../../../utils/is.js"),dependencies=["equal","isZero","add","subtract","multiply","divide","pow","ConstantNode","OperatorNode","FunctionNode","ParenthesisNode"],createSimplifyCore=(0,require("../../../utils/factory.js").factory)("simplifyCore",dependencies,(function(_ref){var equal=_ref.equal,isZero=_ref.isZero,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,pow=_ref.pow,ConstantNode=_ref.ConstantNode,OperatorNode=_ref.OperatorNode,FunctionNode=_ref.FunctionNode,ParenthesisNode=_ref.ParenthesisNode,node0=new ConstantNode(0),node1=new ConstantNode(1);return function simplifyCore(node){if((0,_is.isOperatorNode)(node)&&node.isUnary()){var a0=simplifyCore(node.args[0]);if("+"===node.op)return a0;if("-"===node.op){if((0,_is.isOperatorNode)(a0)){if(a0.isUnary()&&"-"===a0.op)return a0.args[0];if(a0.isBinary()&&"subtract"===a0.fn)return new OperatorNode("-","subtract",[a0.args[1],a0.args[0]])}return new OperatorNode(node.op,node.fn,[a0])}}else if((0,_is.isOperatorNode)(node)&&node.isBinary()){var _a=simplifyCore(node.args[0]),a1=simplifyCore(node.args[1]);if("+"===node.op){if((0,_is.isConstantNode)(_a)){if(isZero(_a.value))return a1;if((0,_is.isConstantNode)(a1))return new ConstantNode(add(_a.value,a1.value))}return(0,_is.isConstantNode)(a1)&&isZero(a1.value)?_a:(0,_is.isOperatorNode)(a1)&&a1.isUnary()&&"-"===a1.op?new OperatorNode("-","subtract",[_a,a1.args[0]]):new OperatorNode(node.op,node.fn,a1?[_a,a1]:[_a])}if("-"===node.op){if((0,_is.isConstantNode)(_a)&&a1){if((0,_is.isConstantNode)(a1))return new ConstantNode(subtract(_a.value,a1.value));if(isZero(_a.value))return new OperatorNode("-","unaryMinus",[a1])}if("subtract"===node.fn)return(0,_is.isConstantNode)(a1)&&isZero(a1.value)?_a:(0,_is.isOperatorNode)(a1)&&a1.isUnary()&&"-"===a1.op?simplifyCore(new OperatorNode("+","add",[_a,a1.args[0]])):new OperatorNode(node.op,node.fn,[_a,a1])}else{if("*"===node.op){if((0,_is.isConstantNode)(_a)){if(isZero(_a.value))return node0;if(equal(_a.value,1))return a1;if((0,_is.isConstantNode)(a1))return new ConstantNode(multiply(_a.value,a1.value))}if((0,_is.isConstantNode)(a1)){if(isZero(a1.value))return node0;if(equal(a1.value,1))return _a;if((0,_is.isOperatorNode)(_a)&&_a.isBinary()&&_a.op===node.op){var a00=_a.args[0];if((0,_is.isConstantNode)(a00)){var a00a1=new ConstantNode(multiply(a00.value,a1.value));return new OperatorNode(node.op,node.fn,[a00a1,_a.args[1]],node.implicit)}}return new OperatorNode(node.op,node.fn,[a1,_a],node.implicit)}return new OperatorNode(node.op,node.fn,[_a,a1],node.implicit)}if("/"===node.op){if((0,_is.isConstantNode)(_a)){if(isZero(_a.value))return node0;if((0,_is.isConstantNode)(a1)&&(equal(a1.value,1)||equal(a1.value,2)||equal(a1.value,4)))return new ConstantNode(divide(_a.value,a1.value))}return new OperatorNode(node.op,node.fn,[_a,a1])}if("^"===node.op){if((0,_is.isConstantNode)(a1)){if(isZero(a1.value))return node1;if(equal(a1.value,1))return _a;if((0,_is.isConstantNode)(_a))return new ConstantNode(pow(_a.value,a1.value));if((0,_is.isOperatorNode)(_a)&&_a.isBinary()&&"^"===_a.op){var a01=_a.args[1];if((0,_is.isConstantNode)(a01))return new OperatorNode(node.op,node.fn,[_a.args[0],new ConstantNode(multiply(a01.value,a1.value))])}}return new OperatorNode(node.op,node.fn,[_a,a1])}}}else{if((0,_is.isParenthesisNode)(node)){var c=simplifyCore(node.content);return(0,_is.isParenthesisNode)(c)||(0,_is.isSymbolNode)(c)||(0,_is.isConstantNode)(c)?c:new ParenthesisNode(c)}if((0,_is.isFunctionNode)(node)){var args=node.args.map(simplifyCore).map((function(arg){return(0,_is.isParenthesisNode)(arg)?arg.content:arg}));return new FunctionNode(simplifyCore(node.fn),args)}}return node}}));exports.createSimplifyCore=createSimplifyCore},{"../../../utils/factory.js":941,"../../../utils/is.js":943}],664:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUtil=void 0;var _is=require("../../../utils/is.js"),_factory=require("../../../utils/factory.js"),_object=require("../../../utils/object.js"),dependencies=["FunctionNode","OperatorNode","SymbolNode"],createUtil=(0,_factory.factory)("simplifyUtil",dependencies,(function(_ref){var FunctionNode=_ref.FunctionNode,OperatorNode=_ref.OperatorNode,SymbolNode=_ref.SymbolNode,commutative={add:!0,multiply:!0},associative={add:!0,multiply:!0};function isAssociative(node,context){if(!(0,_is.isOperatorNode)(node))return!1;var name=node.fn.toString();return context&&(0,_object.hasOwnProperty)(context,name)&&(0,_object.hasOwnProperty)(context[name],"associative")?context[name].associative:associative[name]||!1}function allChildren(node){var op,children=[];return isAssociative(node)?(op=node.op,function findChildren(node){for(var i=0;i2&&isAssociative(node)){for(var curnode=node.args.pop();node.args.length>0;)curnode=makeNode([node.args.pop(),curnode]);node.args=curnode.args}}},unflattenl:function unflattenl(node){if(node.args&&0!==node.args.length){for(var makeNode=createMakeNodeFunction(node),l=node.args.length,i=0;i2&&isAssociative(node)){for(var curnode=node.args.shift();node.args.length>0;)curnode=makeNode([curnode,node.args.shift()]);node.args=curnode.args}}}}}));exports.createUtil=createUtil},{"../../../utils/factory.js":941,"../../../utils/is.js":943,"../../../utils/object.js":949}],665:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLsolve=void 0;var _factory=require("../../../utils/factory.js"),_solveValidation=require("./utils/solveValidation.js"),dependencies=["typed","matrix","divideScalar","multiplyScalar","subtract","equalScalar","DenseMatrix"],createLsolve=(0,_factory.factory)("lsolve",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,subtract=_ref.subtract,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,solveValidation=(0,_solveValidation.createSolveValidation)({DenseMatrix:DenseMatrix});return typed("lsolve",{"SparseMatrix, Array | Matrix":function SparseMatrixArrayMatrix(m,b){return function _sparseForwardSubstitution(m,b){for(var bdata=(b=solveValidation(m,b,!0))._data,rows=m._size[0],columns=m._size[1],values=m._values,index=m._index,ptr=m._ptr,x=[],j=0;jj&&(jValues.push(values[k]),jIndices.push(i))}if(equalScalar(vjj,0))throw new Error("Linear system cannot be solved since matrix is singular");for(var xj=divideScalar(bj,vjj),_k=0,l=jIndices.length;_ki&&(iValues.push(values[j]),iIndices.push(J))}if(equalScalar(Mii,0))if(equalScalar(b[i],0)){if(0===k){var bNew=(0,_toConsumableArray2.default)(b);bNew[i]=1;for(var _j3=0,_lastIndex2=iIndices.length;_j3<_lastIndex2;_j3++){var _J2=iIndices[_j3];bNew[_J2]=subtract(bNew[_J2],iValues[_j3])}B.push(bNew)}}else{if(0===k)return[];B.splice(k,1),k-=1,L-=1}else{b[i]=divideScalar(b[i],Mii);for(var _j2=0,_lastIndex=iIndices.length;_j2<_lastIndex;_j2++){var _J=iIndices[_j2];b[_J]=subtract(b[_J],multiplyScalar(b[i],iValues[_j2]))}}}return B.map((function(x){return new DenseMatrix({data:x.map((function(e){return[e]})),size:[rows,1]})}))}(m,b)},"DenseMatrix, Array | Matrix":function DenseMatrixArrayMatrix(m,b){return _denseForwardSubstitution(m,b)},"Array, Array | Matrix":function ArrayArrayMatrix(a,b){return _denseForwardSubstitution(matrix(a),b).map((function(r){return r.valueOf()}))}});function _denseForwardSubstitution(m,b_){for(var B=[solveValidation(m,b_,!0)._data.map((function(e){return e[0]}))],M=m._data,rows=m._size[0],columns=m._size[1],i=0;i=0;j--){var bj=bdata[j][0]||0;if(equalScalar(bj,0))x[j]=[0];else{for(var vjj=0,jValues=[],jIndices=[],firstIndex=ptr[j],k=ptr[j+1]-1;k>=firstIndex;k--){var i=index[k];i===j?vjj=values[k]:i=0;j--){var bj=bdata[j][0]||0,xj=void 0;if(equalScalar(bj,0))xj=0;else{var vjj=mdata[j][j];if(equalScalar(vjj,0))throw new Error("Linear system cannot be solved since matrix is singular");xj=divideScalar(bj,vjj);for(var i=j-1;i>=0;i--)bdata[i]=[subtract(bdata[i][0]||0,multiplyScalar(xj,mdata[i][j]))]}x[j]=[xj]}return new DenseMatrix({data:x,size:[rows,1]})}}));exports.createUsolve=createUsolve},{"../../../utils/factory.js":941,"./utils/solveValidation.js":670}],669:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUsolveAll=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_factory=require("../../../utils/factory.js"),_solveValidation=require("./utils/solveValidation.js"),dependencies=["typed","matrix","divideScalar","multiplyScalar","subtract","equalScalar","DenseMatrix"],createUsolveAll=(0,_factory.factory)("usolveAll",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,subtract=_ref.subtract,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,solveValidation=(0,_solveValidation.createSolveValidation)({DenseMatrix:DenseMatrix});return typed("usolveAll",{"SparseMatrix, Array | Matrix":function SparseMatrixArrayMatrix(m,b){return function _sparseBackwardSubstitution(m,b_){for(var B=[solveValidation(m,b_,!0)._data.map((function(e){return e[0]}))],rows=m._size[0],columns=m._size[1],values=m._values,index=m._index,ptr=m._ptr,i=columns-1;i>=0;i--)for(var L=B.length,k=0;k=firstIndex;j--){var J=index[j];J===i?Mii=values[j]:J=0;i--)for(var L=B.length,k=0;k=0;_j--)bNew[_j]=subtract(bNew[_j],M[_j][i]);B.push(bNew)}}else{if(0===k)return[];B.splice(k,1),k-=1,L-=1}else{b[i]=divideScalar(b[i],M[i][i]);for(var j=i-1;j>=0;j--)b[j]=subtract(b[j],multiplyScalar(b[i],M[j][i]))}}return B.map((function(x){return new DenseMatrix({data:x.map((function(e){return[e]})),size:[rows,1]})}))}}));exports.createUsolveAll=createUsolveAll},{"../../../utils/factory.js":941,"./utils/solveValidation.js":670,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21}],670:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSolveValidation=function createSolveValidation(_ref){var DenseMatrix=_ref.DenseMatrix;return function solveValidation(m,b,copy){var mSize=m.size();if(2!==mSize.length)throw new RangeError("Matrix must be two dimensional (size: "+(0,_string.format)(mSize)+")");var rows=mSize[0];if(rows!==mSize[1])throw new RangeError("Matrix must be square (size: "+(0,_string.format)(mSize)+")");var data=[];if((0,_is.isMatrix)(b)){var bSize=b.size(),bdata=b._data;if(1===bSize.length){if(bSize[0]!==rows)throw new RangeError("Dimension mismatch. Matrix columns must match vector length.");for(var i=0;i3)return null;var asize=a._size,m=asize[0],n=asize[1],lemax=0,dense=Math.max(16,10*Math.sqrt(n)),cm=function _createTargetMatrix(order,a,m,n,dense){var at=transpose(a);if(1===order&&n===m)return add(a,at);if(2===order){for(var tindex=at._index,tptr=at._ptr,p2=0,j=0;jdense))for(var p1=tptr[j+1];pdense)W[nv+i]=0,W[elen+i]=-1,nel++,cptr[i]=(0,_csFlip.csFlip)(n),W[nv+n]++;else{var h=W[head+d];-1!==h&&(last[h]=i),W[next+i]=W[head+d],W[head+d]=i}}return nel}(n,cptr,W,degree,elen,w,dense,nv,head,last,next),mindeg=0;nelelenk?(e=k,pj=p,ln=W[0+k]-elenk):(pj=cptr[e=cindex[p++]],ln=W[0+e]),k2=1;k2<=ln;k2++)(nvi=W[nv+(i=cindex[pj++])])<=0||(dk+=nvi,W[nv+i]=-nvi,cindex[pk2++]=i,-1!==W[next+i]&&(last[W[next+i]]=last[i]),-1!==last[i]?W[next+last[i]]=W[next+i]:W[head+W[degree+i]]=W[next+i]);e!==k&&(cptr[e]=(0,_csFlip.csFlip)(k),W[w+e]=0)}for(0!==elenk&&(cnz=pk2),W[degree+k]=dk,cptr[k]=pk1,W[0+k]=pk2-pk1,W[elen+k]=-2,mark=_wclear(mark,lemax,W,w,n),pk=pk1;pk=mark?W[w+e]-=nvi:0!==W[w+e]&&(W[w+e]=W[degree+e]+wnvi)}for(pk=pk1;pk0?(d+=dext,cindex[pn++]=e,h+=e):(cptr[e]=(0,_csFlip.csFlip)(k),W[w+e]=0)}W[elen+i]=pn-p1+1;var p3=pn,p4=p1+W[0+i];for(p=p2+1;p=0))for(i=W[hhead+(h=last[i])],W[hhead+h]=-1;-1!==i&&-1!==W[next+i];i=W[next+i],mark++){for(ln=W[0+i],eln=W[elen+i],p=cptr[i]+1;p<=cptr[i]+ln-1;p++)W[w+cindex[p]]=mark;var jlast=i;for(j=W[next+i];-1!==j;){var ok=W[0+j]===ln&&W[elen+j]===eln;for(p=cptr[j]+1;ok&&p<=cptr[j]+ln-1;p++)W[w+cindex[p]]!==mark&&(ok=0);ok?(cptr[j]=(0,_csFlip.csFlip)(i),W[nv+i]+=W[nv+j],W[nv+j]=0,W[elen+j]=-1,j=W[next+j],W[next+jlast]=j):(jlast=j,j=W[next+j])}}for(p=pk1,pk=pk1;pk=0;j--)W[nv+j]>0||(W[next+j]=W[head+cptr[j]],W[head+cptr[j]]=j);for(e=n;e>=0;e--)W[nv+e]<=0||-1!==cptr[e]&&(W[next+e]=W[head+cptr[e]],W[head+cptr[e]]=e);for(k=0,i=0;i<=n;i++)-1===cptr[i]&&(k=(0,_csTdfs.csTdfs)(i,k,W,head,next,P,w));return P.splice(P.length-1,1),P};function _wclear(mark,lemax,W,w,n){if(mark<2||mark+lemax<0){for(var k=0;k=1&&colcount[j]++,2===r.jleaf&&colcount[r.q]--}-1!==parent[j]&&(w[0+j]=parent[j])}for(j=0;j=0;){j=xi[head];var jnew=pinv?pinv[j]:j;(0,_csMarked.csMarked)(ptr,j)||((0,_csMark.csMark)(ptr,j),xi[n+head]=jnew<0?0:(0,_csUnflip.csUnflip)(ptr[jnew]));var done=1;for(p=xi[n+head],p2=jnew<0?0:(0,_csUnflip.csUnflip)(ptr[jnew+1]);p=0;j--)-1!==parent[j]&&(w[next+j]=w[0+parent[j]],w[0+parent[j]]=j);for(j=0;j=0;k--)for(p0=aptr[k],p1=aptr[k+1],p=p0;p=0;i--)pinv[i]=-1,-1!==(k=leftmost[i])&&(0==w[nque+k]++&&(w[tail+k]=i),w[next+i]=w[head+k],w[head+k]=i);for(s.lnz=0,s.m2=m,k=0;k=0;){var p=w[stack+top],i=w[head+p];-1===i?(top--,post[k++]=p):(w[head+p]=w[next+i],++top,w[stack+top]=i)}return k}},{}],688:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.csUnflip=function csUnflip(i){return i<0?(0,_csFlip.csFlip)(i):i};var _csFlip=require("./csFlip.js")},{"./csFlip.js":676}],689:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAbs=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createAbs=(0,_factory.factory)("abs",dependencies,(function(_ref){return(0,_ref.typed)("abs",{number:_index.absNumber,Complex:function Complex(x){return x.abs()},BigNumber:function BigNumber(x){return x.abs()},Fraction:function Fraction(x){return x.abs()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return x.abs()}})}));exports.createAbs=createAbs},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],690:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAdd=void 0;var _factory=require("../../utils/factory.js"),_object=require("../../utils/object.js"),_algorithm=require("../../type/matrix/utils/algorithm01.js"),_algorithm2=require("../../type/matrix/utils/algorithm04.js"),_algorithm3=require("../../type/matrix/utils/algorithm10.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix"],createAdd=(0,_factory.factory)("add",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,addScalar=_ref.addScalar,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm01=(_ref.SparseMatrix,(0,_algorithm.createAlgorithm01)({typed:typed})),algorithm04=(0,_algorithm2.createAlgorithm04)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm3.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("add",(0,_object.extend)({"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,addScalar)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,addScalar,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm01(y,x,addScalar,!0)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm04(x,y,addScalar)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,addScalar,!1)},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm10(x,y,addScalar,!1)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,addScalar,!0)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm10(y,x,addScalar,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,addScalar,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,addScalar,!0).valueOf()},"any, any":addScalar,"any, any, ...any":function anyAnyAny(x,y,rest){for(var result=this(x,y),i=0;i0?floor(x):ceil(x)},"number, number | BigNumber":function numberNumberBigNumber(x,n){return x>0?floor(x,n):ceil(x,n)},Complex:function Complex(x){return new _Complex(x.re>0?Math.floor(x.re):Math.ceil(x.re),x.im>0?Math.floor(x.im):Math.ceil(x.im))},"Complex, number | BigNumber":function ComplexNumberBigNumber(x,n){return new _Complex(x.re>0?floor(x.re,n):ceil(x.re,n),x.im>0?floor(x.im,n):ceil(x.im,n))},BigNumber:function BigNumber(x){return x.isNegative()?ceil(x):floor(x)},"BigNumber, number | BigNumber":function BigNumberNumberBigNumber(x,n){return x.isNegative()?ceil(x,n):floor(x,n)},Fraction:function Fraction(x){return x.s<0?x.ceil():x.floor()},"Fraction, number | BigNumber":function FractionNumberBigNumber(x,n){return x.s<0?x.ceil(n):x.floor(n)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(x,n){var _this=this;return(0,_collection.deepMap)(x,(function(i){return _this(i,n)}),!0)},"number | Complex | BigNumber, Array":function numberComplexBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createFix=createFix},{"../../type/matrix/utils/algorithm14.js":923,"../../utils/collection.js":937,"../../utils/factory.js":941}],703:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFloor=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")),_decimal=_interopRequireDefault(require("decimal.js")),_factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),_nearlyEqual=require("../../utils/bignumber/nearlyEqual.js"),_algorithm=require("../../type/matrix/utils/algorithm11.js"),_algorithm2=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","config","round","matrix","equalScalar"],createFloor=(0,_factory.factory)("floor",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,round=_ref.round,matrix=_ref.matrix,equalScalar=_ref.equalScalar,algorithm11=(0,_algorithm.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm14=(0,_algorithm2.createAlgorithm14)({typed:typed});return typed("floor",{number:function number(x){return(0,_number.nearlyEqual)(x,round(x),config.epsilon)?round(x):Math.floor(x)},"number, number":function numberNumber(x,n){if((0,_number.nearlyEqual)(x,round(x,n),config.epsilon))return round(x,n);var _$split="".concat(x,"e").split("e"),_$split2=(0,_slicedToArray2.default)(_$split,2),number=_$split2[0],exponent=_$split2[1],result=Math.floor(Number("".concat(number,"e").concat(Number(exponent)+n))),_$split3="".concat(result,"e").split("e"),_$split4=(0,_slicedToArray2.default)(_$split3,2);return number=_$split4[0],exponent=_$split4[1],Number("".concat(number,"e").concat(Number(exponent)-n))},Complex:function Complex(x){return x.floor()},"Complex, number":function ComplexNumber(x,n){return x.floor(n)},BigNumber:function BigNumber(x){return(0,_nearlyEqual.nearlyEqual)(x,round(x),config.epsilon)?round(x):x.floor()},"BigNumber, BigNumber":function BigNumberBigNumber(x,n){return(0,_nearlyEqual.nearlyEqual)(x,round(x,n),config.epsilon)?round(x,n):x.toDecimalPlaces(n.toNumber(),_decimal.default.ROUND_FLOOR)},Fraction:function Fraction(x){return x.floor()},"Fraction, number":function FractionNumber(x,n){return x.floor(n)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},"Array | Matrix, number":function ArrayMatrixNumber(x,n){var _this=this;return(0,_collection.deepMap)(x,(function(i){return _this(i,n)}),!0)},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return algorithm14(x,y,this,!1)},"number | Complex | BigNumber, Array":function numberComplexBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createFloor=createFloor},{"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/slicedToArray":20,"decimal.js":29}],704:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createGcd=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm01.js"),_algorithm2=require("../../type/matrix/utils/algorithm04.js"),_algorithm3=require("../../type/matrix/utils/algorithm10.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","BigNumber","DenseMatrix"],createGcd=(0,_factory.factory)("gcd",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,BigNumber=_ref.BigNumber,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm.createAlgorithm01)({typed:typed}),algorithm04=(0,_algorithm2.createAlgorithm04)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm3.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("gcd",{"number, number":_index.gcdNumber,"BigNumber, BigNumber":function _gcdBigNumber(a,b){if(!a.isInt()||!b.isInt())throw new Error("Parameters in function gcd must be integer numbers");var zero=new BigNumber(0);for(;!b.isZero();){var r=a.mod(b);a=b,b=r}return a.lt(zero)?a.neg():a},"Fraction, Fraction":function FractionFraction(x,y){return x.gcd(y)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm04(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm01(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return algorithm10(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()},"Array | Matrix | number | BigNumber, Array | Matrix | number | BigNumber, ...Array | Matrix | number | BigNumber":function ArrayMatrixNumberBigNumberArrayMatrixNumberBigNumberArrayMatrixNumberBigNumber(a,b,args){for(var res=this(a,b),i=0;i=0||config.predictable?(0,_index.logNumber)(x):new Complex(x,0).log()},Complex:function Complex(x){return x.log()},BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.ln():new Complex(x.toNumber(),0).log()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)},"any, any":function anyAny(x,base){return divideScalar(this(x),this(base))}})}));exports.createLog=createLog},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],708:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLog10=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createLog10=(0,_factory.factory)("log10",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,_Complex=_ref.Complex;return typed("log10",{number:function number(x){return x>=0||config.predictable?(0,_index.log10Number)(x):new _Complex(x,0).log().div(Math.LN10)},Complex:function Complex(x){return new _Complex(x).log().div(Math.LN10)},BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.log():new _Complex(x.toNumber(),0).log().div(Math.LN10)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createLog10=createLog10},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],709:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLog1p=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),dependencies=["typed","config","divideScalar","log","Complex"],createLog1p=(0,_factory.factory)("log1p",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,divideScalar=_ref.divideScalar,log=_ref.log,Complex=_ref.Complex;return typed("log1p",{number:function number(x){return x>=-1||config.predictable?(0,_number.log1p)(x):_log1pComplex(new Complex(x,0))},Complex:_log1pComplex,BigNumber:function BigNumber(x){var y=x.plus(1);return!y.isNegative()||config.predictable?y.ln():_log1pComplex(new Complex(x.toNumber(),0))},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)},"any, any":function anyAny(x,base){return divideScalar(this(x),log(base))}});function _log1pComplex(x){var xRe1p=x.re+1;return new Complex(Math.log(Math.sqrt(xRe1p*xRe1p+x.im*x.im)),Math.atan2(x.im,xRe1p))}}));exports.createLog1p=createLog1p},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],710:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLog2=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createLog2=(0,_factory.factory)("log2",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("log2",{number:function number(x){return x>=0||config.predictable?(0,_index.log2Number)(x):_log2Complex(new Complex(x,0))},Complex:_log2Complex,BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.log(2):_log2Complex(new Complex(x.toNumber(),0))},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}});function _log2Complex(x){var newX=Math.sqrt(x.re*x.re+x.im*x.im);return new Complex(Math.log2?Math.log2(newX):Math.log(newX)/Math.LN2,Math.atan2(x.im,x.re)/Math.LN2)}}));exports.createLog2=createLog2},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],711:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMod=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm03.js"),_algorithm3=require("../../type/matrix/utils/algorithm05.js"),_algorithm4=require("../../type/matrix/utils/algorithm11.js"),_algorithm5=require("../../type/matrix/utils/algorithm12.js"),_algorithm6=require("../../type/matrix/utils/algorithm13.js"),_algorithm7=require("../../type/matrix/utils/algorithm14.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","DenseMatrix"],createMod=(0,_factory.factory)("mod",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm03=(0,_algorithm2.createAlgorithm03)({typed:typed}),algorithm05=(0,_algorithm3.createAlgorithm05)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm4.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm12=(0,_algorithm5.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm6.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm7.createAlgorithm14)({typed:typed});return typed("mod",{"number, number":_index.modNumber,"BigNumber, BigNumber":function BigNumberBigNumber(x,y){if(y.isNeg())throw new Error("Cannot calculate mod for a negative divisor");return y.isZero()?x:x.mod(y)},"Fraction, Fraction":function FractionFraction(x,y){if(y.compare(0)<0)throw new Error("Cannot calculate mod for a negative divisor");return x.compare(0)>=0?x.mod(y):x.mod(y).add(y).mod(y)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm05(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createMod=createMod},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],712:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMultiply=void 0;var _factory=require("../../utils/factory.js"),_is=require("../../utils/is.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_algorithm=require("../../type/matrix/utils/algorithm11.js"),_algorithm2=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","addScalar","multiplyScalar","equalScalar","dot"],createMultiply=(0,_factory.factory)("multiply",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,addScalar=_ref.addScalar,multiplyScalar=_ref.multiplyScalar,equalScalar=_ref.equalScalar,dot=_ref.dot,algorithm11=(0,_algorithm.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm14=(0,_algorithm2.createAlgorithm14)({typed:typed});function _validateMatrixDimensions(size1,size2){switch(size1.length){case 1:switch(size2.length){case 1:if(size1[0]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(size1[0]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Vector length ("+size1[0]+") must match Matrix rows ("+size2[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+size2.length+" dimensions)")}break;case 2:switch(size2.length){case 1:if(size1[1]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Matrix columns ("+size1[1]+") must match Vector length ("+size2[0]+")");break;case 2:if(size1[1]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Matrix A columns ("+size1[1]+") must match Matrix B rows ("+size2[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+size2.length+" dimensions)")}break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+size1.length+" dimensions)")}}function _multiplyVectorMatrix(a,b){if("dense"!==b.storage())throw new Error("Support for SparseMatrix not implemented");return function _multiplyVectorDenseMatrix(a,b){var dt,adata=a._data,asize=a._size,adt=a._datatype,bdata=b._data,bsize=b._size,bdt=b._datatype,alength=asize[0],bcolumns=bsize[1],af=addScalar,mf=multiplyScalar;adt&&bdt&&adt===bdt&&"string"==typeof adt&&(dt=adt,af=typed.find(addScalar,[dt,dt]),mf=typed.find(multiplyScalar,[dt,dt]));for(var c=[],j=0;jkb0)for(var last=0,i=0;i=0||config.predictable?x.pow(y):new Complex(x.toNumber(),0).pow(y.toNumber(),0)},"Fraction, Fraction":function FractionFraction(x,y){var result=x.pow(y);if(null!=result)return result;if(config.predictable)throw new Error("Result of pow is non-rational and cannot be expressed as a fraction");return _pow(x.valueOf(),y.valueOf())},"Array, number":_powArray,"Array, BigNumber":function ArrayBigNumber(x,y){return _powArray(x,y.toNumber())},"Matrix, number":_powMatrix,"Matrix, BigNumber":function MatrixBigNumber(x,y){return _powMatrix(x,y.toNumber())},"Unit, number | BigNumber":function UnitNumberBigNumber(x,y){return x.pow(y)}});function _pow(x,y){if(config.predictable&&!(0,_number.isInteger)(y)&&x<0)try{var yFrac=fraction(y),yNum=number(yFrac);if((y===yNum||Math.abs((y-yNum)/y)<1e-14)&&yFrac.d%2==1)return(yFrac.n%2==0?1:-1)*Math.pow(-x,y)}catch(ex){}return config.predictable&&(x<-1&&y===1/0||x>-1&&x<0&&y===-1/0)?NaN:(0,_number.isInteger)(y)||x>=0||config.predictable?(0,_index.powNumber)(x,y):x*x<1&&y===1/0||x*x>1&&y===-1/0?0:new Complex(x,0).pow(y,0)}function _powArray(x,y){if(!(0,_number.isInteger)(y)||y<0)throw new TypeError("For A^b, b must be a positive integer (value is "+y+")");var s=(0,_array.arraySize)(x);if(2!==s.length)throw new Error("For A^b, A must be 2 dimensional (A has "+s.length+" dimensions)");if(s[0]!==s[1])throw new Error("For A^b, A must be square (size is "+s[0]+"x"+s[1]+")");for(var res=identity(s[0]).valueOf(),px=x;y>=1;)1==(1&y)&&(res=multiply(px,res)),y>>=1,px=multiply(px,px);return res}function _powMatrix(x,y){return matrix(_powArray(x.valueOf(),y))}}));exports.createPow=createPow},{"../../plain/number/index.js":884,"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/number.js":948}],718:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRoundNumber=exports.createRound=void 0;var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),_algorithm=require("../../type/matrix/utils/algorithm11.js"),_algorithm2=require("../../type/matrix/utils/algorithm12.js"),_algorithm3=require("../../type/matrix/utils/algorithm14.js"),_index=require("../../plain/number/index.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i15)throw new Error("Number of decimals in function round must be in the range of 0-15");return(0,_index.roundNumber)(x,n)}},createRoundNumber=(0,_factory.factory)("round",["typed"],(function(_ref2){return(0,_ref2.typed)("round",roundNumberSignatures)}));exports.createRoundNumber=createRoundNumber},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm14.js":923,"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948,"@babel/runtime/helpers/defineProperty":13,"@babel/runtime/helpers/interopRequireDefault":15}],719:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSign=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber","Fraction","complex"],createSign=(0,_factory.factory)("sign",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber,complex=_ref.complex,_Fraction=_ref.Fraction;return typed("sign",{number:_index.signNumber,Complex:function Complex(x){return 0===x.im?complex((0,_index.signNumber)(x.re)):x.sign()},BigNumber:function BigNumber(x){return new _BigNumber(x.cmp(0))},Fraction:function Fraction(x){return new _Fraction(x.s,1)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return this(x.value)}})}));exports.createSign=createSign},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],720:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSqrt=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["config","typed","Complex"],createSqrt=(0,_factory.factory)("sqrt",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,Complex=_ref.Complex;return typed("sqrt",{number:_sqrtNumber,Complex:function Complex(x){return x.sqrt()},BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.sqrt():_sqrtNumber(x.toNumber())},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return x.pow(.5)}});function _sqrtNumber(x){return isNaN(x)?NaN:x>=0||config.predictable?Math.sqrt(x):new Complex(x,0).sqrt()}}));exports.createSqrt=createSqrt},{"../../utils/collection.js":937,"../../utils/factory.js":941}],721:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSquare=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createSquare=(0,_factory.factory)("square",dependencies,(function(_ref){return(0,_ref.typed)("square",{number:_index.squareNumber,Complex:function Complex(x){return x.mul(x)},BigNumber:function BigNumber(x){return x.times(x)},Fraction:function Fraction(x){return x.mul(x)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return x.pow(2)}})}));exports.createSquare=createSquare},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],722:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubtract=void 0;var _factory=require("../../utils/factory.js"),_DimensionError=require("../../error/DimensionError.js"),_algorithm=require("../../type/matrix/utils/algorithm01.js"),_algorithm2=require("../../type/matrix/utils/algorithm03.js"),_algorithm3=require("../../type/matrix/utils/algorithm05.js"),_algorithm4=require("../../type/matrix/utils/algorithm10.js"),_algorithm5=require("../../type/matrix/utils/algorithm13.js"),_algorithm6=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","equalScalar","addScalar","unaryMinus","DenseMatrix"],createSubtract=(0,_factory.factory)("subtract",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,addScalar=_ref.addScalar,unaryMinus=_ref.unaryMinus,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm.createAlgorithm01)({typed:typed}),algorithm03=(0,_algorithm2.createAlgorithm03)({typed:typed}),algorithm05=(0,_algorithm3.createAlgorithm05)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm4.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm5.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm6.createAlgorithm14)({typed:typed});return typed("subtract",{"number, number":function numberNumber(x,y){return x-y},"Complex, Complex":function ComplexComplex(x,y){return x.sub(y)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return x.minus(y)},"Fraction, Fraction":function FractionFraction(x,y){return x.sub(y)},"Unit, Unit":function UnitUnit(x,y){if(null===x.value)throw new Error("Parameter x contains a unit with undefined value");if(null===y.value)throw new Error("Parameter y contains a unit with undefined value");if(!x.equalBase(y))throw new Error("Units do not match");var res=x.clone();return res.value=this(res.value,y.value),res.fixPrefix=!1,res},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return checkEqualDimensions(x,y),algorithm05(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return checkEqualDimensions(x,y),algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return checkEqualDimensions(x,y),algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return checkEqualDimensions(x,y),algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm10(x,unaryMinus(y),addScalar)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm10(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));function checkEqualDimensions(x,y){var xsize=x.size(),ysize=y.size();if(xsize.length!==ysize.length)throw new _DimensionError.DimensionError(xsize.length,ysize.length)}exports.createSubtract=createSubtract},{"../../error/DimensionError.js":382,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],723:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnaryMinus=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createUnaryMinus=(0,_factory.factory)("unaryMinus",dependencies,(function(_ref){return(0,_ref.typed)("unaryMinus",{number:_index.unaryMinusNumber,Complex:function Complex(x){return x.neg()},BigNumber:function BigNumber(x){return x.neg()},Fraction:function Fraction(x){return x.neg()},Unit:function Unit(x){var res=x.clone();return res.value=this(x.value),res},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createUnaryMinus=createUnaryMinus},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],724:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnaryPlus=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","BigNumber"],createUnaryPlus=(0,_factory.factory)("unaryPlus",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,BigNumber=_ref.BigNumber;return typed("unaryPlus",{number:_index.unaryPlusNumber,Complex:function Complex(x){return x},BigNumber:function BigNumber(x){return x},Fraction:function Fraction(x){return x},Unit:function Unit(x){return x.clone()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},"boolean | string":function booleanString(x){return"BigNumber"===config.number?new BigNumber(+x):+x}})}));exports.createUnaryPlus=createUnaryPlus},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],725:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createXgcd=void 0;var _factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","matrix","BigNumber"],createXgcd=(0,_factory.factory)("xgcd",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,BigNumber=_ref.BigNumber;return typed("xgcd",{"number, number":function numberNumber(a,b){var res=(0,_index.xgcdNumber)(a,b);return"Array"===config.matrix?res:matrix(res)},"BigNumber, BigNumber":function _xgcdBigNumber(a,b){var t,q,r,res,zero=new BigNumber(0),one=new BigNumber(1),x=zero,lastx=one,y=one,lasty=zero;if(!a.isInt()||!b.isInt())throw new Error("Parameters in function xgcd must be integer numbers");for(;!b.isZero();)q=a.div(b).floor(),r=a.mod(b),t=x,x=lastx.minus(q.times(x)),lastx=t,t=y,y=lasty.minus(q.times(y)),lasty=t,a=b,b=r;res=a.lt(zero)?[a.neg(),lastx.neg(),lasty.neg()]:[a,a.isZero()?0:lastx,lasty];return"Array"===config.matrix?res:matrix(res)}})}));exports.createXgcd=createXgcd},{"../../plain/number/index.js":884,"../../utils/factory.js":941}],726:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitAnd=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm06.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar"],createBitAnd=(0,_factory.factory)("bitAnd",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm06=(0,_algorithm5.createAlgorithm06)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed("bitAnd",{"number, number":_index.bitAndNumber,"BigNumber, BigNumber":_bitwise.bitAndBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm06(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm02(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm11(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createBitAnd=createBitAnd},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm06.js":915,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],727:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitNot=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createBitNot=(0,_factory.factory)("bitNot",dependencies,(function(_ref){return(0,_ref.typed)("bitNot",{number:_index.bitNotNumber,BigNumber:_bitwise.bitNotBigNumber,"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createBitNot=createBitNot},{"../../plain/number/index.js":884,"../../utils/bignumber/bitwise.js":933,"../../utils/collection.js":937,"../../utils/factory.js":941}],728:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitOr=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm14.js"),_algorithm2=require("../../type/matrix/utils/algorithm13.js"),_algorithm3=require("../../type/matrix/utils/algorithm10.js"),_algorithm4=require("../../type/matrix/utils/algorithm04.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","DenseMatrix"],createBitOr=(0,_factory.factory)("bitOr",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm04=(0,_algorithm4.createAlgorithm04)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm3.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm2.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm.createAlgorithm14)({typed:typed});return typed("bitOr",{"number, number":_index.bitOrNumber,"BigNumber, BigNumber":_bitwise.bitOrBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm04(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm01(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm10(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm10(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createBitOr=createBitOr},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm04.js":913,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],729:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitXor=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","DenseMatrix"],createBitXor=(0,_factory.factory)("bitXor",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("bitXor",{"number, number":_index.bitXorNumber,"BigNumber, BigNumber":_bitwise.bitXor,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createBitXor=createBitXor},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],730:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLeftShift=void 0;var _algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_algorithm6=require("../../type/matrix/utils/algorithm10.js"),_algorithm7=require("../../type/matrix/utils/algorithm08.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),_bitwise=require("../../utils/bignumber/bitwise.js"),dependencies=["typed","matrix","equalScalar","zeros","DenseMatrix"],createLeftShift=(0,_factory.factory)("leftShift",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm08=(0,_algorithm7.createAlgorithm08)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm6.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed("leftShift",{"number, number":_index.leftShiftNumber,"BigNumber, BigNumber":_bitwise.leftShiftBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm08(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return this(matrix(x),y).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createLeftShift=createLeftShift},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm08.js":917,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],731:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRightArithShift=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_algorithm6=require("../../type/matrix/utils/algorithm10.js"),_algorithm7=require("../../type/matrix/utils/algorithm08.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),name="rightArithShift",dependencies=["typed","matrix","equalScalar","zeros","DenseMatrix"],createRightArithShift=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm08=(0,_algorithm7.createAlgorithm08)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm6.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"number, number":_index.rightArithShiftNumber,"BigNumber, BigNumber":_bitwise.rightArithShiftBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm08(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return this(matrix(x),y).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createRightArithShift=createRightArithShift},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm08.js":917,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],732:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRightLogShift=void 0;var _algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_algorithm6=require("../../type/matrix/utils/algorithm10.js"),_algorithm7=require("../../type/matrix/utils/algorithm08.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),name="rightLogShift",dependencies=["typed","matrix","equalScalar","zeros","DenseMatrix"],createRightLogShift=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm08=(0,_algorithm7.createAlgorithm08)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm6.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"number, number":_index.rightLogShiftNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm08(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return this(matrix(x),y).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createRightLogShift=createRightLogShift},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm08.js":917,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],733:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBellNumbers=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","isNegative","isInteger","stirlingS2"],createBellNumbers=(0,_factory.factory)("bellNumbers",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,isNegative=_ref.isNegative,isInteger=_ref.isInteger,stirlingS2=_ref.stirlingS2;return typed("bellNumbers",{"number | BigNumber":function numberBigNumber(n){if(!isInteger(n)||isNegative(n))throw new TypeError("Non-negative integer value expected in function bellNumbers");for(var result=0,i=0;i<=n;i++)result=addScalar(result,stirlingS2(n,i));return result}})}));exports.createBellNumbers=createBellNumbers},{"../../utils/factory.js":941}],734:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCatalan=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","divideScalar","multiplyScalar","combinations","isNegative","isInteger"],createCatalan=(0,_factory.factory)("catalan",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,combinations=_ref.combinations,isNegative=_ref.isNegative,isInteger=_ref.isInteger;return typed("catalan",{"number | BigNumber":function numberBigNumber(n){if(!isInteger(n)||isNegative(n))throw new TypeError("Non-negative integer value expected in function catalan");return divideScalar(combinations(multiplyScalar(n,2),n),addScalar(n,1))}})}));exports.createCatalan=createCatalan},{"../../utils/factory.js":941}],735:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComposition=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","combinations","isNegative","isPositive","isInteger","larger"],createComposition=(0,_factory.factory)("composition",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,combinations=_ref.combinations,isPositive=_ref.isPositive,isInteger=(_ref.isNegative,_ref.isInteger),larger=_ref.larger;return typed("composition",{"number | BigNumber, number | BigNumber":function numberBigNumberNumberBigNumber(n,k){if(!(isInteger(n)&&isPositive(n)&&isInteger(k)&&isPositive(k)))throw new TypeError("Positive integer value expected in function composition");if(larger(k,n))throw new TypeError("k must be less than or equal to n in function composition");return combinations(addScalar(n,-1),addScalar(k,-1))}})}));exports.createComposition=createComposition},{"../../utils/factory.js":941}],736:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStirlingS2=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","subtract","multiplyScalar","divideScalar","pow","factorial","combinations","isNegative","isInteger","larger"],createStirlingS2=(0,_factory.factory)("stirlingS2",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,subtract=_ref.subtract,multiplyScalar=_ref.multiplyScalar,divideScalar=_ref.divideScalar,pow=_ref.pow,factorial=_ref.factorial,combinations=_ref.combinations,isNegative=_ref.isNegative,isInteger=_ref.isInteger,larger=_ref.larger;return typed("stirlingS2",{"number | BigNumber, number | BigNumber":function numberBigNumberNumberBigNumber(n,k){if(!isInteger(n)||isNegative(n)||!isInteger(k)||isNegative(k))throw new TypeError("Non-negative integer value expected in function stirlingS2");if(larger(k,n))throw new TypeError("k must be less than or equal to n in function stirlingS2");for(var kFactorial=factorial(k),result=0,i=0;i<=k;i++){var negativeOne=pow(-1,subtract(k,i)),kChooseI=combinations(k,i),iPower=pow(i,n);result=addScalar(result,multiplyScalar(multiplyScalar(kChooseI,iPower),negativeOne))}return divideScalar(result,kFactorial)}})}));exports.createStirlingS2=createStirlingS2},{"../../utils/factory.js":941}],737:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createArg=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createArg=(0,_factory.factory)("arg",dependencies,(function(_ref){return(0,_ref.typed)("arg",{number:function number(x){return Math.atan2(0,x)},BigNumber:function BigNumber(x){return x.constructor.atan2(0,x)},Complex:function Complex(x){return x.arg()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createArg=createArg},{"../../utils/collection.js":937,"../../utils/factory.js":941}],738:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConj=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createConj=(0,_factory.factory)("conj",dependencies,(function(_ref){return(0,_ref.typed)("conj",{number:function number(x){return x},BigNumber:function BigNumber(x){return x},Complex:function Complex(x){return x.conjugate()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createConj=createConj},{"../../utils/collection.js":937,"../../utils/factory.js":941}],739:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIm=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createIm=(0,_factory.factory)("im",dependencies,(function(_ref){return(0,_ref.typed)("im",{number:function number(x){return 0},BigNumber:function BigNumber(x){return x.mul(0)},Fraction:function Fraction(x){return x.mul(0)},Complex:function Complex(x){return x.im},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIm=createIm},{"../../utils/collection.js":937,"../../utils/factory.js":941}],740:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRe=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createRe=(0,_factory.factory)("re",dependencies,(function(_ref){return(0,_ref.typed)("re",{number:function number(x){return x},BigNumber:function BigNumber(x){return x},Fraction:function Fraction(x){return x},Complex:function Complex(x){return x.re},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createRe=createRe},{"../../utils/collection.js":937,"../../utils/factory.js":941}],741:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDistance=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","subtract","divideScalar","multiplyScalar","unaryMinus","sqrt","abs"],createDistance=(0,_factory.factory)("distance",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,subtract=_ref.subtract,multiplyScalar=_ref.multiplyScalar,divideScalar=_ref.divideScalar,unaryMinus=_ref.unaryMinus,sqrt=_ref.sqrt,abs=_ref.abs;return typed("distance",{"Array, Array, Array":function ArrayArrayArray(x,y,z){if(2===x.length&&2===y.length&&2===z.length){if(!_2d(x))throw new TypeError("Array with 2 numbers or BigNumbers expected for first argument");if(!_2d(y))throw new TypeError("Array with 2 numbers or BigNumbers expected for second argument");if(!_2d(z))throw new TypeError("Array with 2 numbers or BigNumbers expected for third argument");var m=divideScalar(subtract(z[1],z[0]),subtract(y[1],y[0])),xCoeff=multiplyScalar(multiplyScalar(m,m),y[0]),yCoeff=unaryMinus(multiplyScalar(m,y[0])),constant=x[1];return _distancePointLine2D(x[0],x[1],xCoeff,yCoeff,constant)}throw new TypeError("Invalid Arguments: Try again")},"Object, Object, Object":function ObjectObjectObject(x,y,z){if(2===Object.keys(x).length&&2===Object.keys(y).length&&2===Object.keys(z).length){if(!_2d(x))throw new TypeError("Values of pointX and pointY should be numbers or BigNumbers");if(!_2d(y))throw new TypeError("Values of lineOnePtX and lineOnePtY should be numbers or BigNumbers");if(!_2d(z))throw new TypeError("Values of lineTwoPtX and lineTwoPtY should be numbers or BigNumbers");if("pointX"in x&&"pointY"in x&&"lineOnePtX"in y&&"lineOnePtY"in y&&"lineTwoPtX"in z&&"lineTwoPtY"in z){var m=divideScalar(subtract(z.lineTwoPtY,z.lineTwoPtX),subtract(y.lineOnePtY,y.lineOnePtX)),xCoeff=multiplyScalar(multiplyScalar(m,m),y.lineOnePtX),yCoeff=unaryMinus(multiplyScalar(m,y.lineOnePtX)),constant=x.pointX;return _distancePointLine2D(x.pointX,x.pointY,xCoeff,yCoeff,constant)}throw new TypeError("Key names do not match")}throw new TypeError("Invalid Arguments: Try again")},"Array, Array":function ArrayArray(x,y){if(2===x.length&&3===y.length){if(!_2d(x))throw new TypeError("Array with 2 numbers or BigNumbers expected for first argument");if(!_3d(y))throw new TypeError("Array with 3 numbers or BigNumbers expected for second argument");return _distancePointLine2D(x[0],x[1],y[0],y[1],y[2])}if(3===x.length&&6===y.length){if(!_3d(x))throw new TypeError("Array with 3 numbers or BigNumbers expected for first argument");if(!_parametricLine(y))throw new TypeError("Array with 6 numbers or BigNumbers expected for second argument");return _distancePointLine3D(x[0],x[1],x[2],y[0],y[1],y[2],y[3],y[4],y[5])}if(x.length===y.length&&x.length>0){if(!_containsOnlyNumbers(x))throw new TypeError("All values of an array should be numbers or BigNumbers");if(!_containsOnlyNumbers(y))throw new TypeError("All values of an array should be numbers or BigNumbers");return _euclideanDistance(x,y)}throw new TypeError("Invalid Arguments: Try again")},"Object, Object":function ObjectObject(x,y){if(2===Object.keys(x).length&&3===Object.keys(y).length){if(!_2d(x))throw new TypeError("Values of pointX and pointY should be numbers or BigNumbers");if(!_3d(y))throw new TypeError("Values of xCoeffLine, yCoeffLine and constant should be numbers or BigNumbers");if("pointX"in x&&"pointY"in x&&"xCoeffLine"in y&&"yCoeffLine"in y&&"constant"in y)return _distancePointLine2D(x.pointX,x.pointY,y.xCoeffLine,y.yCoeffLine,y.constant);throw new TypeError("Key names do not match")}if(3===Object.keys(x).length&&6===Object.keys(y).length){if(!_3d(x))throw new TypeError("Values of pointX, pointY and pointZ should be numbers or BigNumbers");if(!_parametricLine(y))throw new TypeError("Values of x0, y0, z0, a, b and c should be numbers or BigNumbers");if("pointX"in x&&"pointY"in x&&"x0"in y&&"y0"in y&&"z0"in y&&"a"in y&&"b"in y&&"c"in y)return _distancePointLine3D(x.pointX,x.pointY,x.pointZ,y.x0,y.y0,y.z0,y.a,y.b,y.c);throw new TypeError("Key names do not match")}if(2===Object.keys(x).length&&2===Object.keys(y).length){if(!_2d(x))throw new TypeError("Values of pointOneX and pointOneY should be numbers or BigNumbers");if(!_2d(y))throw new TypeError("Values of pointTwoX and pointTwoY should be numbers or BigNumbers");if("pointOneX"in x&&"pointOneY"in x&&"pointTwoX"in y&&"pointTwoY"in y)return _euclideanDistance([x.pointOneX,x.pointOneY],[y.pointTwoX,y.pointTwoY]);throw new TypeError("Key names do not match")}if(3===Object.keys(x).length&&3===Object.keys(y).length){if(!_3d(x))throw new TypeError("Values of pointOneX, pointOneY and pointOneZ should be numbers or BigNumbers");if(!_3d(y))throw new TypeError("Values of pointTwoX, pointTwoY and pointTwoZ should be numbers or BigNumbers");if("pointOneX"in x&&"pointOneY"in x&&"pointOneZ"in x&&"pointTwoX"in y&&"pointTwoY"in y&&"pointTwoZ"in y)return _euclideanDistance([x.pointOneX,x.pointOneY,x.pointOneZ],[y.pointTwoX,y.pointTwoY,y.pointTwoZ]);throw new TypeError("Key names do not match")}throw new TypeError("Invalid Arguments: Try again")},Array:function Array(arr){if(!function _pairwise(a){if(2===a[0].length&&_isNumber(a[0][0])&&_isNumber(a[0][1])){if(a.some((function(aI){return 2!==aI.length||!_isNumber(aI[0])||!_isNumber(aI[1])})))return!1}else{if(!(3===a[0].length&&_isNumber(a[0][0])&&_isNumber(a[0][1])&&_isNumber(a[0][2])))return!1;if(a.some((function(aI){return 3!==aI.length||!_isNumber(aI[0])||!_isNumber(aI[1])||!_isNumber(aI[2])})))return!1}return!0}(arr))throw new TypeError("Incorrect array format entered for pairwise distance calculation");return function _distancePairwise(a){for(var result=[],pointA=[],pointB=[],i=0;i=size.length)throw new _IndexError.IndexError(dim,size.length);return(0,_is.isMatrix)(mat)?mat.create(_apply(mat.valueOf(),dim,callback)):_apply(mat,dim,callback)}})}));function _apply(mat,dim,callback){var i,ret,tran;if(dim<=0){if(Array.isArray(mat[0])){for(tran=function _switch(mat){var i,j,I=mat.length,J=mat[0].length,ret=[];for(j=0;j0&&dim>prevDim)throw new _IndexError.IndexError(dim,prevDim+1)}else{var m=(0,_object.clone)(arg).valueOf(),size=(0,_array.arraySize)(m);if(matrices[i]=m,prevDim=dim,dim=size.length-1,i>0&&dim!==prevDim)throw new _DimensionError.DimensionError(prevDim+1,dim+1)}}if(0===matrices.length)throw new SyntaxError("At least one matrix expected");for(var res=matrices.shift();matrices.length;)res=_concat(res,matrices.shift(),dim,0);return asMatrix?matrix(res):res},"...string":function string(args){return args.join("")}})}));function _concat(a,b,concatDim,dim){if(dim1?[product]:product}}));exports.createCross=createCross},{"../../utils/array.js":932,"../../utils/factory.js":941}],752:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCtranspose=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","transpose","conj"],createCtranspose=(0,_factory.factory)("ctranspose",dependencies,(function(_ref){var typed=_ref.typed,transpose=_ref.transpose,conj=_ref.conj;return typed("ctranspose",{any:function any(x){return conj(transpose(x))}})}));exports.createCtranspose=createCtranspose},{"../../utils/factory.js":941}],753:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDet=void 0;var _is=require("../../utils/is.js"),_object=require("../../utils/object.js"),_string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix","subtract","multiply","unaryMinus","lup"],createDet=(0,_factory.factory)("det",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,subtract=_ref.subtract,multiply=_ref.multiply,unaryMinus=_ref.unaryMinus,lup=_ref.lup;return typed("det",{any:function any(x){return(0,_object.clone)(x)},"Array | Matrix":function det(x){var size;switch((size=(0,_is.isMatrix)(x)?x.size():Array.isArray(x)?(x=matrix(x)).size():[]).length){case 0:return(0,_object.clone)(x);case 1:if(1===size[0])return(0,_object.clone)(x.valueOf()[0]);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");case 2:var rows=size[0],cols=size[1];if(rows===cols)return function _det(matrix,rows,cols){if(1===rows)return(0,_object.clone)(matrix[0][0]);if(2===rows)return subtract(multiply(matrix[0][0],matrix[1][1]),multiply(matrix[1][0],matrix[0][1]));for(var decomp=lup(matrix),det=decomp.U[0][0],_i=1;_i=rows)break;for(var j=i,cycleLen=0;!visited[decomp.p[j]];)visited[decomp.p[j]]=!0,j=decomp.p[j],cycleLen++;cycleLen%2==0&&evenCycles++}return evenCycles%2==0?det:unaryMinus(det)}(x.clone().valueOf(),rows);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+(0,_string.format)(size)+")")}}})}));exports.createDet=createDet},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949,"../../utils/string.js":953}],754:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDiag=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix","DenseMatrix","SparseMatrix"],createDiag=(0,_factory.factory)("diag",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,SparseMatrix=_ref.SparseMatrix;return typed("diag",{Array:function Array(x){return _diag(x,0,(0,_array.arraySize)(x),null)},"Array, number":function ArrayNumber(x,k){return _diag(x,k,(0,_array.arraySize)(x),null)},"Array, BigNumber":function ArrayBigNumber(x,k){return _diag(x,k.toNumber(),(0,_array.arraySize)(x),null)},"Array, string":function ArrayString(x,format){return _diag(x,0,(0,_array.arraySize)(x),format)},"Array, number, string":function ArrayNumberString(x,k,format){return _diag(x,k,(0,_array.arraySize)(x),format)},"Array, BigNumber, string":function ArrayBigNumberString(x,k,format){return _diag(x,k.toNumber(),(0,_array.arraySize)(x),format)},Matrix:function Matrix(x){return _diag(x,0,x.size(),x.storage())},"Matrix, number":function MatrixNumber(x,k){return _diag(x,k,x.size(),x.storage())},"Matrix, BigNumber":function MatrixBigNumber(x,k){return _diag(x,k.toNumber(),x.size(),x.storage())},"Matrix, string":function MatrixString(x,format){return _diag(x,0,x.size(),format)},"Matrix, number, string":function MatrixNumberString(x,k,format){return _diag(x,k,x.size(),format)},"Matrix, BigNumber, string":function MatrixBigNumberString(x,k,format){return _diag(x,k.toNumber(),x.size(),format)}});function _diag(x,k,size,format){if(!(0,_number.isInteger)(k))throw new TypeError("Second parameter in function diag must be an integer");var kSuper=k>0?k:0,kSub=k<0?-k:0;switch(size.length){case 1:return function _createDiagonalMatrix(x,k,format,l,kSub,kSuper){var ms=[l+kSub,l+kSuper];if(format&&"sparse"!==format&&"dense"!==format)throw new TypeError("Unknown matrix type ".concat(format,'"'));var m="sparse"===format?SparseMatrix.diagonal(ms,x,k):DenseMatrix.diagonal(ms,x,k);return null!==format?m:m.valueOf()}(x,k,format,size[0],kSub,kSuper);case 2:return function _getDiagonal(x,k,format,s,kSub,kSuper){if((0,_is.isMatrix)(x)){var dm=x.diagonal(k);return null!==format?format!==dm.storage()?matrix(dm,format):dm:dm.valueOf()}for(var n=Math.min(s[0]-kSub,s[1]-kSuper),vector=[],i=0;i0){var result=[];return arr.forEach((function(element){result.push(_recursive(element,dim-1))})),result}if(0===dim)return _diff(arr);throw RangeError("Cannot have negative dimension")}function _diff(arr){var result=[],size=arr.length;if(size<2)return arr;for(var i=1;iJ?j++:I===J&&(c=add(c,mul(xvalues[i],yvalues[j])),i++,j++)}return c}});function _validateDim(x,y){var xLen,yLen,xSize=_size(x),ySize=_size(y);if(1===xSize.length)xLen=xSize[0];else{if(2!==xSize.length||1!==xSize[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+xSize.join(", ")+")");xLen=xSize[0]}if(1===ySize.length)yLen=ySize[0];else{if(2!==ySize.length||1!==ySize[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+ySize.join(", ")+")");yLen=ySize[0]}if(xLen!==yLen)throw new RangeError("Vectors must have equal length ("+xLen+" != "+yLen+")");if(0===xLen)throw new RangeError("Cannot calculate the dot product of empty vectors");return xLen}function _size(x){return(0,_is.isMatrix)(x)?x.size():size(x)}}));exports.createDot=createDot},{"../../utils/factory.js":941,"../../utils/is.js":943}],757:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEigs=void 0;var _factory=require("../../utils/factory.js"),_string=require("../../utils/string.js"),_complexEigs=require("./eigs/complexEigs.js"),_realSymetric=require("./eigs/realSymetric.js"),_is=require("../../utils/is.js"),dependencies=["config","typed","matrix","addScalar","equal","subtract","abs","atan","cos","sin","multiplyScalar","divideScalar","inv","bignumber","multiply","add","larger","column","flatten","number","complex","sqrt","diag","qr","usolve","usolveAll","im","re","smaller","matrixFromColumns","dot"],createEigs=(0,_factory.factory)("eigs",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,matrix=_ref.matrix,addScalar=_ref.addScalar,subtract=_ref.subtract,equal=_ref.equal,abs=_ref.abs,atan=_ref.atan,cos=_ref.cos,sin=_ref.sin,multiplyScalar=_ref.multiplyScalar,divideScalar=_ref.divideScalar,inv=_ref.inv,bignumber=_ref.bignumber,multiply=_ref.multiply,add=_ref.add,larger=_ref.larger,column=_ref.column,flatten=_ref.flatten,number=_ref.number,complex=_ref.complex,sqrt=_ref.sqrt,diag=_ref.diag,qr=_ref.qr,usolve=_ref.usolve,usolveAll=_ref.usolveAll,im=_ref.im,re=_ref.re,smaller=_ref.smaller,matrixFromColumns=_ref.matrixFromColumns,dot=_ref.dot,doRealSymetric=(0,_realSymetric.createRealSymmetric)({config:config,addScalar:addScalar,subtract:subtract,column:column,flatten:flatten,equal:equal,abs:abs,atan:atan,cos:cos,sin:sin,multiplyScalar:multiplyScalar,inv:inv,bignumber:bignumber,complex:complex,multiply:multiply,add:add}),doComplexEigs=(0,_complexEigs.createComplexEigs)({config:config,addScalar:addScalar,subtract:subtract,multiply:multiply,multiplyScalar:multiplyScalar,flatten:flatten,divideScalar:divideScalar,sqrt:sqrt,abs:abs,bignumber:bignumber,diag:diag,qr:qr,inv:inv,usolve:usolve,usolveAll:usolveAll,equal:equal,complex:complex,larger:larger,smaller:smaller,matrixFromColumns:matrixFromColumns,dot:dot});return typed("eigs",{Array:function Array(x){return computeValuesAndVectors(matrix(x))},"Array, number|BigNumber":function ArrayNumberBigNumber(x,prec){return computeValuesAndVectors(matrix(x),prec)},Matrix:function Matrix(mat){var _computeValuesAndVect=computeValuesAndVectors(mat),values=_computeValuesAndVect.values,vectors=_computeValuesAndVect.vectors;return{values:matrix(values),vectors:matrix(vectors)}},"Matrix, number|BigNumber":function MatrixNumberBigNumber(mat,prec){var _computeValuesAndVect2=computeValuesAndVectors(mat,prec),values=_computeValuesAndVect2.values,vectors=_computeValuesAndVect2.vectors;return{values:matrix(values),vectors:matrix(vectors)}}});function computeValuesAndVectors(mat,prec){void 0===prec&&(prec=config.epsilon);var size=mat.size();if(2!==size.length||size[0]!==size[1])throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");var arr=mat.toArray(),N=size[0];if(function isReal(arr,N,prec){for(var i=0;i=5)return null;for(i=0;;){var c=usolve(A,b);if(smaller(norm(orthogonalComplement(b,[c])),prec))break;if(++i>=10)return null;b=normalize(c)}return b}function randomOrthogonalVector(N,orthog,type){var big="BigNumber"===type,cplx="Complex"===type,v=Array(N).fill(0).map((function(_){return 2*Math.random()-1}));return big&&(v=v.map((function(n){return bignumber(n)}))),cplx&&(v=v.map((function(n){return complex(n)}))),normalize(v=orthogonalComplement(v,orthog),type)}function orthogonalComplement(v,orthog){var _step3,_iterator3=_createForOfIteratorHelper(orthog);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var w=_step3.value;v=subtract(v,multiply(divideScalar(dot(w,v),dot(w,w)),w))}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}return v}function norm(v){return abs(sqrt(dot(v,v)))}function normalize(v,type){var cplx="Complex"===type,one="BigNumber"===type?bignumber(1):cplx?complex(1):1;return multiply(divideScalar(one,norm(v)),v)}return function complexEigs(arr,N,prec,type,findVectors){void 0===findVectors&&(findVectors=!0);var R=function balance(arr,N,prec,type,findVectors){var Rdiag,big="BigNumber"===type,cplx="Complex"===type,zero=big?bignumber(0):cplx?complex(0):0,one=big?bignumber(1):cplx?complex(1):1,radix=big?bignumber(10):2,radixSq=multiplyScalar(radix,radix);findVectors&&(Rdiag=Array(N).fill(one));for(var last=!1;!last;){last=!0;for(var i=0;i1&&(Qpartial=diag(Array(n-1).fill(one)))),n-=1,arr.pop();for(var _i2=0;_i22&&(Qpartial=diag(Array(n-2).fill(one)))),n-=2,arr.pop(),arr.pop();for(var _i3=0;_i3100){var err=Error("The eigenvalues failed to converge. Only found these eigenvalues: "+lambdas.join(", "));throw err.values=lambdas,err.vectors=[],err}return{values:lambdas,C:findVectors?multiply(Qtotal,function blockDiag(arr,N){for(var M=[],i=0;i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=Math.abs(e0);){var _i=Vab[0][0],j=Vab[0][1];x=x1(x,psi=getTheta(x[_i][_i],x[j][j],x[_i][j]),_i,j),Sij=Sij1(Sij,psi,_i,j),Vab=getAij(x)}for(var Ei=createArray(N,0),_i2=0;_i2=abs(e0);){var _i3=Vab[0][0],j=Vab[0][1];x=x1Big(x,psi=getThetaBig(x[_i3][_i3],x[j][j],x[_i3][j]),_i3,j),Sij=Sij1Big(Sij,psi,_i3,j),Vab=getAijBig(x)}for(var Ei=createArray(N,0),_i4=0;_i42&&void 0!==arguments[2]?arguments[2]:config.epsilon,type=arguments.length>3?arguments[3]:void 0;if("number"===type)return diag(arr,prec);if("BigNumber"===type)return diagBig(arr,prec);throw TypeError("Unsupported data type: "+type)}};var _object=require("../../../utils/object.js")},{"../../../utils/object.js":949}],760:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createExpm=void 0;var _is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","abs","add","identity","inv","multiply"],createExpm=(0,_factory.factory)("expm",dependencies,(function(_ref){var typed=_ref.typed,abs=_ref.abs,add=_ref.add,identity=_ref.identity,inv=_ref.inv,multiply=_ref.multiply;return typed("expm",{Matrix:function Matrix(A){var size=A.size();if(2!==size.length||size[0]!==size[1])throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");for(var n=size[0],params=function findParams(infNorm,eps){for(var maxSearchSize=30,k=0;k1&&(AposToI=multiply(AposToI,Apos),alternate=-alternate),N=add(N,multiply(factor=factor*(q-i+1)/((2*q-i+1)*i),AposToI)),D=add(D,multiply(factor*alternate,AposToI));for(var R=multiply(inv(D),N),_i=0;_iABig&&(ABig=abs(A[r][c]),rBig=r),r++;if(0===ABig)throw Error("Cannot calculate inverse, determinant is zero");(r=rBig)!==c&&(temp=A[c],A[c]=A[r],A[r]=temp,temp=B[c],B[c]=B[r],B[r]=temp);var Ac=A[c],Bc=B[c];for(r=0;r2||(0,_array.arraySize)(b).length>2)throw new RangeError("Vectors with dimensions greater then 2 are not supported expected (Size x = "+JSON.stringify(a.length)+", y = "+JSON.stringify(b.length)+")");var t=[],r=[];return a.map((function(a){return b.map((function(b){return r=[],t.push(r),a.map((function(y){return b.map((function(x){return r.push(multiplyScalar(y,x))}))}))}))}))&&t}}));exports.createKron=createKron},{"../../utils/array.js":932,"../../utils/factory.js":941}],768:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMap=void 0;var _function=require("../../utils/function.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createMap=(0,_factory.factory)("map",dependencies,(function(_ref){return(0,_ref.typed)("map",{"Array, function":_map,"Matrix, function":function MatrixFunction(x,callback){return x.map(callback)}})}));function _map(array,callback){var args=(0,_function.maxArgumentCount)(callback);return function recurse(value,index){return Array.isArray(value)?value.map((function(child,i){return recurse(child,index.concat(i))})):1===args?callback(value):2===args?callback(value,index):callback(value,index,array)}(array,[])}exports.createMap=createMap},{"../../utils/factory.js":941,"../../utils/function.js":942}],769:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMatrixFromColumns=void 0;var _factory=require("../../utils/factory.js");function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?m.resize(size,defaultValue):m}var arr=[];return size.length>0?(0,_array.resize)(arr,size,defaultValue):arr}}));exports.createOnes=createOnes},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],773:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPartitionSelect=void 0;var _is=require("../../utils/is.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),name="partitionSelect",dependencies=["typed","isNumeric","isNaN","compare"],createPartitionSelect=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,isNumeric=_ref.isNumeric,isNaN=_ref.isNaN,compare=_ref.compare,asc=compare,desc=function desc(a,b){return-compare(a,b)};return typed(name,{"Array | Matrix, number":function ArrayMatrixNumber(x,k){return _partitionSelect(x,k,asc)},"Array | Matrix, number, string":function ArrayMatrixNumberString(x,k,compare){if("asc"===compare)return _partitionSelect(x,k,asc);if("desc"===compare)return _partitionSelect(x,k,desc);throw new Error('Compare string must be "asc" or "desc"')},"Array | Matrix, number, function":_partitionSelect});function _partitionSelect(x,k,compare){if(!(0,_number.isInteger)(k)||k<0)throw new Error("k must be a non-negative integer");if((0,_is.isMatrix)(x)){if(x.size().length>1)throw new Error("Only one dimensional matrices supported");return quickSelect(x.valueOf(),k,compare)}if(Array.isArray(x))return quickSelect(x,k,compare)}function quickSelect(arr,k,compare){if(k>=arr.length)throw new Error("k out of bounds");for(var i=0;i=0){var tmp=arr[w];arr[w]=arr[r],arr[r]=tmp,--w}else++r;compare(arr[r],pivot)>0&&--r,k<=r?to=r:from=r+1}return arr[k]}}));exports.createPartitionSelect=createPartitionSelect},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],774:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRange=void 0;var _factory=require("../../utils/factory.js"),_noop=require("../../utils/noop.js"),dependencies=["typed","config","?matrix","?bignumber","smaller","smallerEq","larger","largerEq"],createRange=(0,_factory.factory)("range",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,bignumber=_ref.bignumber,smaller=_ref.smaller,smallerEq=_ref.smallerEq,larger=_ref.larger,largerEq=_ref.largerEq;return typed("range",{string:_strRange,"string, boolean":_strRange,"number, number":function numberNumber(start,end){return _out(_rangeEx(start,end,1))},"number, number, number":function numberNumberNumber(start,end,step){return _out(_rangeEx(start,end,step))},"number, number, boolean":function numberNumberBoolean(start,end,includeEnd){return _out(includeEnd?_rangeInc(start,end,1):_rangeEx(start,end,1))},"number, number, number, boolean":function numberNumberNumberBoolean(start,end,step,includeEnd){return _out(includeEnd?_rangeInc(start,end,step):_rangeEx(start,end,step))},"BigNumber, BigNumber":function BigNumberBigNumber(start,end){return _out(_bigRangeEx(start,end,new(0,start.constructor)(1)))},"BigNumber, BigNumber, BigNumber":function BigNumberBigNumberBigNumber(start,end,step){return _out(_bigRangeEx(start,end,step))},"BigNumber, BigNumber, boolean":function BigNumberBigNumberBoolean(start,end,includeEnd){var BigNumber=start.constructor;return _out(includeEnd?_bigRangeInc(start,end,new BigNumber(1)):_bigRangeEx(start,end,new BigNumber(1)))},"BigNumber, BigNumber, BigNumber, boolean":function BigNumberBigNumberBigNumberBoolean(start,end,step,includeEnd){return _out(includeEnd?_bigRangeInc(start,end,step):_bigRangeEx(start,end,step))}});function _out(arr){return"Matrix"===config.matrix?matrix?matrix(arr):(0,_noop.noMatrix)():arr}function _strRange(str,includeEnd){var r=function _parse(str){var nums=str.split(":").map((function(arg){return Number(arg)}));if(nums.some((function(num){return isNaN(num)})))return null;switch(nums.length){case 2:return{start:nums[0],end:nums[1],step:1};case 3:return{start:nums[0],end:nums[2],step:nums[1]};default:return null}}(str);if(!r)throw new SyntaxError('String "'+str+'" is no valid range');return"BigNumber"===config.number?(void 0===bignumber&&(0,_noop.noBignumber)(),_out((includeEnd?_bigRangeInc:_bigRangeEx)(bignumber(r.start),bignumber(r.end),bignumber(r.step)))):_out((includeEnd?_rangeInc:_rangeEx)(r.start,r.end,r.step))}function _rangeEx(start,end,step){var array=[],x=start;if(step>0)for(;smaller(x,end);)array.push(x),x+=step;else if(step<0)for(;larger(x,end);)array.push(x),x+=step;return array}function _rangeInc(start,end,step){var array=[],x=start;if(step>0)for(;smallerEq(x,end);)array.push(x),x+=step;else if(step<0)for(;largerEq(x,end);)array.push(x),x+=step;return array}function _bigRangeEx(start,end,step){var zero=bignumber(0),array=[],x=start;if(step.gt(zero))for(;smaller(x,end);)array.push(x),x=x.plus(step);else if(step.lt(zero))for(;larger(x,end);)array.push(x),x=x.plus(step);return array}function _bigRangeInc(start,end,step){var zero=bignumber(0),array=[],x=start;if(step.gt(zero))for(;smallerEq(x,end);)array.push(x),x=x.plus(step);else if(step.lt(zero))for(;largerEq(x,end);)array.push(x),x=x.plus(step);return array}}));exports.createRange=createRange},{"../../utils/factory.js":941,"../../utils/noop.js":947}],775:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createReshape=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","isInteger","matrix"],createReshape=(0,_factory.factory)("reshape",dependencies,(function(_ref){var typed=_ref.typed,isInteger=_ref.isInteger;return typed("reshape",{"Matrix, Array":function MatrixArray(x,sizes){return x.reshape(sizes)},"Array, Array":function ArrayArray(x,sizes){return sizes.forEach((function(size){if(!isInteger(size))throw new TypeError("Invalid size for dimension: "+size)})),(0,_array.reshape)(x,sizes)}})}));exports.createReshape=createReshape},{"../../utils/array.js":932,"../../utils/factory.js":941}],776:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createResize=void 0;var _is=require("../../utils/is.js"),_DimensionError=require("../../error/DimensionError.js"),_ArgumentsError=require("../../error/ArgumentsError.js"),_number=require("../../utils/number.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),dependencies=["config","matrix"],createResize=(0,require("../../utils/factory.js").factory)("resize",dependencies,(function(_ref){var config=_ref.config,matrix=_ref.matrix;return function resize(x,size,defaultValue){if(2!==arguments.length&&3!==arguments.length)throw new _ArgumentsError.ArgumentsError("resize",arguments.length,2,3);if((0,_is.isMatrix)(size)&&(size=size.valueOf()),(0,_is.isBigNumber)(size[0])&&(size=size.map((function(value){return(0,_is.isBigNumber)(value)?value.toNumber():value}))),(0,_is.isMatrix)(x))return x.resize(size,defaultValue,!0);if("string"==typeof x)return _resizeString(x,size,defaultValue);var asMatrix=!Array.isArray(x)&&"Array"!==config.matrix;if(0===size.length){for(;Array.isArray(x);)x=x[0];return(0,_object.clone)(x)}Array.isArray(x)||(x=[x]),x=(0,_object.clone)(x);var res=(0,_array.resize)(x,size,defaultValue);return asMatrix?matrix(res):res};function _resizeString(str,size,defaultChar){if(void 0!==defaultChar){if("string"!=typeof defaultChar||1!==defaultChar.length)throw new TypeError("Single character expected as defaultValue")}else defaultChar=" ";if(1!==size.length)throw new _DimensionError.DimensionError(size.length,1);var len=size[0];if("number"!=typeof len||!(0,_number.isInteger)(len))throw new TypeError("Invalid size, must contain positive integers (size: "+(0,_string.format)(size)+")");if(str.length>len)return str.substring(0,len);if(str.length2)throw new RangeError("Vector must be of dimensions 1x".concat(expectedSize));if(2===actualSize.length&&1!==actualSize[1])throw new RangeError("Vector must be of dimensions 1x".concat(expectedSize));if(actualSize[0]!==expectedSize)throw new RangeError("Vector must be of dimensions 1x".concat(expectedSize))}}));exports.createRotate=createRotate},{"../../utils/array.js":932,"../../utils/factory.js":941}],778:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRotationMatrix=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),name="rotationMatrix",dependencies=["typed","config","multiplyScalar","addScalar","unaryMinus","norm","matrix","BigNumber","DenseMatrix","SparseMatrix","cos","sin"],createRotationMatrix=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,multiplyScalar=_ref.multiplyScalar,addScalar=_ref.addScalar,unaryMinus=_ref.unaryMinus,norm=_ref.norm,BigNumber=_ref.BigNumber,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,SparseMatrix=_ref.SparseMatrix,cos=_ref.cos,sin=_ref.sin;return typed(name,{"":function _(){return"Matrix"===config.matrix?matrix([]):[]},string:function string(format){return matrix(format)},"number | BigNumber | Complex | Unit":function numberBigNumberComplexUnit(theta){return _rotationMatrix2x2(theta,"Matrix"===config.matrix?"dense":void 0)},"number | BigNumber | Complex | Unit, string":function numberBigNumberComplexUnitString(theta,format){return _rotationMatrix2x2(theta,format)},"number | BigNumber | Complex | Unit, Array":function numberBigNumberComplexUnitArray(theta,v){var matrixV=matrix(v);return _validateVector(matrixV),_rotationMatrix3x3(theta,matrixV,void 0)},"number | BigNumber | Complex | Unit, Matrix":function numberBigNumberComplexUnitMatrix(theta,v){_validateVector(v);var storageType=v.storage()||("Matrix"===config.matrix?"dense":void 0);return _rotationMatrix3x3(theta,v,storageType)},"number | BigNumber | Complex | Unit, Array, string":function numberBigNumberComplexUnitArrayString(theta,v,format){var matrixV=matrix(v);return _validateVector(matrixV),_rotationMatrix3x3(theta,matrixV,format)},"number | BigNumber | Complex | Unit, Matrix, string":function numberBigNumberComplexUnitMatrixString(theta,v,format){return _validateVector(v),_rotationMatrix3x3(theta,v,format)}});function _rotationMatrix2x2(theta,format){var minusOne=(0,_is.isBigNumber)(theta)?new BigNumber(-1):-1,cosTheta=cos(theta),sinTheta=sin(theta);return _convertToFormat([[cosTheta,multiplyScalar(minusOne,sinTheta)],[sinTheta,cosTheta]],format)}function _validateVector(v){var size=v.size();if(size.length<1||3!==size[0])throw new RangeError("Vector must be of dimensions 1x3")}function _mul(array){return array.reduce((function(p,curr){return multiplyScalar(p,curr)}))}function _convertToFormat(data,format){if(format){if("sparse"===format)return new SparseMatrix(data);if("dense"===format)return new DenseMatrix(data);throw new TypeError('Unknown matrix type "'.concat(format,'"'))}return data}function _rotationMatrix3x3(theta,v,format){var normV=norm(v);if(0===normV)throw new RangeError("Rotation around zero vector");var Big=(0,_is.isBigNumber)(theta)?BigNumber:null,one=Big?new Big(1):1,minusOne=Big?new Big(-1):-1,vx=Big?new Big(v.get([0])/normV):v.get([0])/normV,vy=Big?new Big(v.get([1])/normV):v.get([1])/normV,vz=Big?new Big(v.get([2])/normV):v.get([2])/normV,c=cos(theta),oneMinusC=addScalar(one,unaryMinus(c)),s=sin(theta);return _convertToFormat([[addScalar(c,_mul([vx,vx,oneMinusC])),addScalar(_mul([vx,vy,oneMinusC]),_mul([minusOne,vz,s])),addScalar(_mul([vx,vz,oneMinusC]),_mul([vy,s]))],[addScalar(_mul([vx,vy,oneMinusC]),_mul([vz,s])),addScalar(c,_mul([vy,vy,oneMinusC])),addScalar(_mul([vy,vz,oneMinusC]),_mul([minusOne,vx,s]))],[addScalar(_mul([vx,vz,oneMinusC]),_mul([minusOne,vy,s])),addScalar(_mul([vy,vz,oneMinusC]),_mul([vx,s])),addScalar(c,_mul([vz,vz,oneMinusC]))]],format)}}));exports.createRotationMatrix=createRotationMatrix},{"../../utils/factory.js":941,"../../utils/is.js":943}],779:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRow=void 0;var _factory=require("../../utils/factory.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),dependencies=["typed","Index","matrix","range"],createRow=(0,_factory.factory)("row",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index,matrix=_ref.matrix,range=_ref.range;return typed("row",{"Matrix, number":_row,"Array, number":function ArrayNumber(value,row){return _row(matrix((0,_object.clone)(value)),row).valueOf()}});function _row(value,row){if(2!==value.size().length)throw new Error("Only two dimensional matrix is supported");(0,_array.validateIndex)(row,value.size()[0]);var columnRange=range(0,value.size()[1]),index=new Index(row,columnRange);return value.subset(index)}}));exports.createRow=createRow},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/object.js":949}],780:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSize=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_noop=require("../../utils/noop.js"),dependencies=["typed","config","?matrix"],createSize=(0,_factory.factory)("size",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix;return typed("size",{Matrix:function Matrix(x){return x.create(x.size())},Array:_array.arraySize,string:function string(x){return"Array"===config.matrix?[x.length]:matrix([x.length])},"number | Complex | BigNumber | Unit | boolean | null":function numberComplexBigNumberUnitBooleanNull(x){return"Array"===config.matrix?[]:matrix?matrix([]):(0,_noop.noMatrix)()}})}));exports.createSize=createSize},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/noop.js":947}],781:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSort=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix","compare","compareNatural"],createSort=(0,_factory.factory)("sort",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,compare=_ref.compare,compareNatural=_ref.compareNatural,compareAsc=compare,compareDesc=function compareDesc(a,b){return-compare(a,b)};return typed("sort",{Array:function Array(x){return _arrayIsVector(x),x.sort(compareAsc)},Matrix:function Matrix(x){return _matrixIsVector(x),matrix(x.toArray().sort(compareAsc),x.storage())},"Array, function":function ArrayFunction(x,_comparator){return _arrayIsVector(x),x.sort(_comparator)},"Matrix, function":function MatrixFunction(x,_comparator){return _matrixIsVector(x),matrix(x.toArray().sort(_comparator),x.storage())},"Array, string":function ArrayString(x,order){return _arrayIsVector(x),x.sort(_comparator(order))},"Matrix, string":function MatrixString(x,order){return _matrixIsVector(x),matrix(x.toArray().sort(_comparator(order)),x.storage())}});function _comparator(order){if("asc"===order)return compareAsc;if("desc"===order)return compareDesc;if("natural"===order)return compareNatural;throw new Error('String "asc", "desc", or "natural" expected')}function _arrayIsVector(array){if(1!==(0,_array.arraySize)(array).length)throw new Error("One dimensional array expected")}function _matrixIsVector(matrix){if(1!==matrix.size().length)throw new Error("One dimensional matrix expected")}}));exports.createSort=createSort},{"../../utils/array.js":932,"../../utils/factory.js":941}],782:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSqrtm=void 0;var _is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","abs","add","multiply","sqrt","subtract","inv","size","max","identity"],createSqrtm=(0,_factory.factory)("sqrtm",dependencies,(function(_ref){var typed=_ref.typed,abs=_ref.abs,add=_ref.add,multiply=_ref.multiply,sqrt=_ref.sqrt,subtract=_ref.subtract,inv=_ref.inv,size=_ref.size,max=_ref.max,identity=_ref.identity;function _denmanBeavers(A){var error,iterations=0,Y=A,Z=identity(size(A));do{var Yk=Y;if(Y=multiply(.5,add(Yk,inv(Z))),Z=multiply(.5,add(Z,inv(Yk))),(error=max(abs(subtract(Y,Yk))))>1e-6&&++iterations>1e3)throw new Error("computing square root of matrix: iterative method could not converge")}while(error>1e-6);return Y}return typed("sqrtm",{"Array | Matrix":function ArrayMatrix(A){var size=(0,_is.isMatrix)(A)?A.size():(0,_array.arraySize)(A);switch(size.length){case 1:if(1===size[0])return sqrt(A);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");case 2:if(size[0]===size[1])return _denmanBeavers(A);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");default:throw new RangeError("Matrix must be at most two dimensional (size: "+(0,_string.format)(size)+")")}}})}));exports.createSqrtm=createSqrtm},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/string.js":953}],783:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSqueeze=void 0;var _object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix"],createSqueeze=(0,_factory.factory)("squeeze",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix;return typed("squeeze",{Array:function Array(x){return(0,_array.squeeze)((0,_object.clone)(x))},Matrix:function Matrix(x){var res=(0,_array.squeeze)(x.toArray());return Array.isArray(res)?matrix(res):res},any:function any(x){return(0,_object.clone)(x)}})}));exports.createSqueeze=createSqueeze},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/object.js":949}],784:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubset=void 0;var _is=require("../../utils/is.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_customs=require("../../utils/customs.js"),_DimensionError=require("../../error/DimensionError.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix"],createSubset=(0,_factory.factory)("subset",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix;return typed("subset",{"Array, Index":function ArrayIndex(value,index){var subset=matrix(value).subset(index);return index.isScalar()?subset:subset.valueOf()},"Matrix, Index":function MatrixIndex(value,index){return value.subset(index)},"Object, Index":_getObjectProperty,"string, Index":_getSubstring,"Array, Index, any":function ArrayIndexAny(value,index,replacement){return matrix((0,_object.clone)(value)).subset(index,replacement,void 0).valueOf()},"Array, Index, any, any":function ArrayIndexAnyAny(value,index,replacement,defaultValue){return matrix((0,_object.clone)(value)).subset(index,replacement,defaultValue).valueOf()},"Matrix, Index, any":function MatrixIndexAny(value,index,replacement){return value.clone().subset(index,replacement)},"Matrix, Index, any, any":function MatrixIndexAnyAny(value,index,replacement,defaultValue){return value.clone().subset(index,replacement,defaultValue)},"string, Index, string":_setSubstring,"string, Index, string, string":_setSubstring,"Object, Index, any":_setObjectProperty})}));function _getSubstring(str,index){if(!(0,_is.isIndex)(index))throw new TypeError("Index expected");if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size().length,1);var strLen=str.length;(0,_array.validateIndex)(index.min()[0],strLen),(0,_array.validateIndex)(index.max()[0],strLen);var range=index.dimension(0),substr="";return range.forEach((function(v){substr+=str.charAt(v)})),substr}function _setSubstring(str,index,replacement,defaultValue){if(!index||!0!==index.isIndex)throw new TypeError("Index expected");if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size().length,1);if(void 0!==defaultValue){if("string"!=typeof defaultValue||1!==defaultValue.length)throw new TypeError("Single character expected as defaultValue")}else defaultValue=" ";var range=index.dimension(0);if(range.size()[0]!==replacement.length)throw new _DimensionError.DimensionError(range.size()[0],replacement.length);var strLen=str.length;(0,_array.validateIndex)(index.min()[0]),(0,_array.validateIndex)(index.max()[0]);for(var chars=[],i=0;istrLen)for(var _i=strLen-1,_len=chars.length;_i<_len;_i++)chars[_i]||(chars[_i]=defaultValue);return chars.join("")}function _getObjectProperty(object,index){if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size(),1);var key=index.dimension(0);if("string"!=typeof key)throw new TypeError("String expected as index to retrieve an object property");return(0,_customs.getSafeProperty)(object,key)}function _setObjectProperty(object,index,replacement){if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size(),1);var key=index.dimension(0);if("string"!=typeof key)throw new TypeError("String expected as index to retrieve an object property");var updated=(0,_object.clone)(object);return(0,_customs.setSafeProperty)(updated,key,replacement),updated}exports.createSubset=createSubset},{"../../error/DimensionError.js":382,"../../utils/array.js":932,"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949}],785:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTrace=void 0;var _object=require("../../utils/object.js"),_string=require("../../utils/string.js"),dependencies=["typed","matrix","add"],createTrace=(0,require("../../utils/factory.js").factory)("trace",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,add=_ref.add;return typed("trace",{Array:function _arrayTrace(x){return _denseTrace(matrix(x))},SparseMatrix:function _sparseTrace(m){var values=m._values,index=m._index,ptr=m._ptr,size=m._size,rows=size[0],columns=size[1];if(rows===columns){var sum=0;if(values.length>0)for(var j=0;jj)break}return sum}throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")")},DenseMatrix:_denseTrace,any:_object.clone});function _denseTrace(m){var size=m._size,data=m._data;switch(size.length){case 1:if(1===size[0])return(0,_object.clone)(data[0]);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");case 2:var rows=size[0];if(rows===size[1]){for(var sum=0,i=0;i0?m.resize(size,defaultValue):m}var arr=[];return size.length>0?(0,_array.resize)(arr,size,defaultValue):arr}}));exports.createZeros=createZeros},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],788:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCombinations=void 0;var _factory=require("../../utils/factory.js"),_combinations=require("../../plain/number/combinations.js"),dependencies=["typed"],createCombinations=(0,_factory.factory)("combinations",dependencies,(function(_ref){return(0,_ref.typed)("combinations",{"number, number":_combinations.combinationsNumber,"BigNumber, BigNumber":function BigNumberBigNumber(n,k){var result,i,BigNumber=n.constructor,nMinusk=n.minus(k),one=new BigNumber(1);if(!isPositiveInteger(n)||!isPositiveInteger(k))throw new TypeError("Positive integer value expected in function combinations");if(k.gt(n))throw new TypeError("k must be less than n in function combinations");if(result=one,k.lt(nMinusk))for(i=one;i.lte(nMinusk);i=i.plus(one))result=result.times(k.plus(i)).dividedBy(i);else for(i=one;i.lte(k);i=i.plus(one))result=result.times(nMinusk.plus(i)).dividedBy(i);return result}})}));function isPositiveInteger(n){return n.isInteger()&&n.gte(0)}exports.createCombinations=createCombinations},{"../../plain/number/combinations.js":882,"../../utils/factory.js":941}],789:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCombinationsWithRep=void 0;var _factory=require("../../utils/factory.js"),_number=require("../../utils/number.js"),_product=require("../../utils/product.js"),name="combinationsWithRep",dependencies=["typed"],createCombinationsWithRep=(0,_factory.factory)(name,dependencies,(function(_ref){return(0,_ref.typed)(name,{"number, number":function numberNumber(n,k){if(!(0,_number.isInteger)(n)||n<0)throw new TypeError("Positive integer value expected in function combinationsWithRep");if(!(0,_number.isInteger)(k)||k<0)throw new TypeError("Positive integer value expected in function combinationsWithRep");if(n<1)throw new TypeError("k must be less than or equal to n + k - 1");return k2;)sum+=p-=2,prod=prod.times(sum);return new _BigNumber(prod.toPrecision(_BigNumber.precision))}}));exports.createGamma=createGamma},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],792:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createKldivergence=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","matrix","divide","sum","multiply","dotDivide","log","isNumeric"],createKldivergence=(0,_factory.factory)("kldivergence",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,divide=_ref.divide,sum=_ref.sum,multiply=_ref.multiply,dotDivide=_ref.dotDivide,log=_ref.log,isNumeric=_ref.isNumeric;return typed("kldivergence",{"Array, Array":function ArrayArray(q,p){return _kldiv(matrix(q),matrix(p))},"Matrix, Array":function MatrixArray(q,p){return _kldiv(q,matrix(p))},"Array, Matrix":function ArrayMatrix(q,p){return _kldiv(matrix(q),p)},"Matrix, Matrix":function MatrixMatrix(q,p){return _kldiv(q,p)}});function _kldiv(q,p){var plength=p.size().length,qlength=q.size().length;if(plength>1)throw new Error("first object must be one dimensional");if(qlength>1)throw new Error("second object must be one dimensional");if(plength!==qlength)throw new Error("Length of two vectors must be equal");if(0===sum(q))throw new Error("Sum of elements in first object must be non zero");if(0===sum(p))throw new Error("Sum of elements in second object must be non zero");var qnorm=divide(q,sum(q)),pnorm=divide(p,sum(p)),result=sum(multiply(qnorm,log(dotDivide(qnorm,pnorm))));return isNumeric(result)?result:Number.NaN}}));exports.createKldivergence=createKldivergence},{"../../utils/factory.js":941}],793:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMultinomial=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","add","divide","multiply","factorial","isInteger","isPositive"],createMultinomial=(0,_factory.factory)("multinomial",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide,multiply=_ref.multiply,factorial=_ref.factorial,isInteger=_ref.isInteger,isPositive=_ref.isPositive;return typed("multinomial",{"Array | Matrix":function ArrayMatrix(a){var sum=0,denom=1;return(0,_collection.deepForEach)(a,(function(ai){if(!isInteger(ai)||!isPositive(ai))throw new TypeError("Positive integer value expected in function multinomial");sum=add(sum,ai),denom=multiply(denom,factorial(ai))})),divide(factorial(sum),denom)}})}));exports.createMultinomial=createMultinomial},{"../../utils/collection.js":937,"../../utils/factory.js":941}],794:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPermutations=void 0;var _number=require("../../utils/number.js"),_product=require("../../utils/product.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","factorial"],createPermutations=(0,_factory.factory)("permutations",dependencies,(function(_ref){return(0,_ref.typed)("permutations",{"number | BigNumber":_ref.factorial,"number, number":function numberNumber(n,k){if(!(0,_number.isInteger)(n)||n<0)throw new TypeError("Positive integer value expected in function permutations");if(!(0,_number.isInteger)(k)||k<0)throw new TypeError("Positive integer value expected in function permutations");if(k>n)throw new TypeError("second argument k must be less than or equal to first argument n");return(0,_product.product)(n-k+1,n)},"BigNumber, BigNumber":function BigNumberBigNumber(n,k){var result,i;if(!isPositiveInteger(n)||!isPositiveInteger(k))throw new TypeError("Positive integer value expected in function permutations");if(k.gt(n))throw new TypeError("second argument k must be less than or equal to first argument n");for(result=n.mul(0).add(1),i=n.minus(k).plus(1);i.lte(n);i=i.plus(1))result=result.times(i);return result}})}));function isPositiveInteger(n){return n.isInteger()&&n.gte(0)}exports.createPermutations=createPermutations},{"../../utils/factory.js":941,"../../utils/number.js":948,"../../utils/product.js":951}],795:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPickRandom=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_is=require("../../utils/is.js"),_seededRNG=require("./util/seededRNG.js"),dependencies=["typed","config","?on"],createPickRandom=(0,_factory.factory)("pickRandom",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,on=_ref.on,rng=(0,_seededRNG.createRng)(config.randomSeed);return on&&on("config",(function(curr,prev){curr.randomSeed!==prev.randomSeed&&(rng=(0,_seededRNG.createRng)(curr.randomSeed))})),typed("pickRandom",{"Array | Matrix":function ArrayMatrix(possibles){return _pickRandom(possibles,{})},"Array | Matrix, Object":function ArrayMatrixObject(possibles,options){return _pickRandom(possibles,options)},"Array | Matrix, number":function ArrayMatrixNumber(possibles,number){return _pickRandom(possibles,{number:number})},"Array | Matrix, Array | Matrix":function ArrayMatrixArrayMatrix(possibles,weights){return _pickRandom(possibles,{weights:weights})},"Array | Matrix, Array | Matrix, number":function ArrayMatrixArrayMatrixNumber(possibles,weights,number){return _pickRandom(possibles,{number:number,weights:weights})},"Array | Matrix, number, Array | Matrix":function ArrayMatrixNumberArrayMatrix(possibles,number,weights){return _pickRandom(possibles,{number:number,weights:weights})}});function _pickRandom(possibles,_ref2){var number=_ref2.number,weights=_ref2.weights,_ref2$elementWise=_ref2.elementWise,elementWise=void 0===_ref2$elementWise||_ref2$elementWise,single=void 0===number;single&&(number=1);var createMatrix=(0,_is.isMatrix)(possibles)?possibles.create:(0,_is.isMatrix)(weights)?weights.create:null;possibles=possibles.valueOf(),weights&&(weights=weights.valueOf()),!0===elementWise&&(possibles=(0,_array.flatten)(possibles),weights=(0,_array.flatten)(weights));var totalWeights=0;if(void 0!==weights){if(weights.length!==possibles.length)throw new Error("Weights must have the same length as possibles");for(var i=0,len=weights.length;i1)for(var i=0,length=size.shift();iy?1:-1},"number, number":function numberNumber(x,y){return(0,_number.nearlyEqual)(x,y,config.epsilon)?0:x>y?1:-1},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return(0,_nearlyEqual.nearlyEqual)(x,y,config.epsilon)?new BigNumber(0):new BigNumber(x.cmp(y))},"Fraction, Fraction":function FractionFraction(x,y){return new Fraction(x.compare(y))},"Complex, Complex":function ComplexComplex(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function UnitUnit(x,y){if(!x.equalBase(y))throw new Error("Cannot compare units with different base");return this(x.value,y.value)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm05(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createCompare=createCompare;var createCompareNumber=(0,_factory.factory)(name,["typed","config"],(function(_ref2){var typed=_ref2.typed,config=_ref2.config;return typed(name,{"number, number":function numberNumber(x,y){return(0,_number.nearlyEqual)(x,y,config.epsilon)?0:x>y?1:-1}})}));exports.createCompareNumber=createCompareNumber},{"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/factory.js":941,"../../utils/number.js":948}],801:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCompareNatural=void 0;var _javascriptNaturalSort=_interopRequireDefault(require("javascript-natural-sort")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),name="compareNatural",dependencies=["typed","compare"],createCompareNatural=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,compare=_ref.compare,compareBooleans=compare.signatures["boolean,boolean"];return typed(name,{"any, any":function anyAny(x,y){var c,typeX=(0,_is.typeOf)(x),typeY=(0,_is.typeOf)(y);if(!("number"!==typeX&&"BigNumber"!==typeX&&"Fraction"!==typeX||"number"!==typeY&&"BigNumber"!==typeY&&"Fraction"!==typeY))return"0"!==(c=compare(x,y)).toString()?c>0?1:-1:(0,_javascriptNaturalSort.default)(typeX,typeY);if("Array"===typeX||"Matrix"===typeX||"Array"===typeY||"Matrix"===typeY)return 0!==(c=compareMatricesAndArrays(this,x,y))?c:(0,_javascriptNaturalSort.default)(typeX,typeY);if(typeX!==typeY)return(0,_javascriptNaturalSort.default)(typeX,typeY);if("Complex"===typeX)return function compareComplexNumbers(x,y){if(x.re>y.re)return 1;if(x.rey.im)return 1;if(x.imy.length?1:x.lengthy},"number, number":function numberNumber(x,y){return x>y&&!(0,_number.nearlyEqual)(x,y,config.epsilon)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return x.gt(y)&&!(0,_nearlyEqual.nearlyEqual)(x,y,config.epsilon)},"Fraction, Fraction":function FractionFraction(x,y){return 1===x.compare(y)},"Complex, Complex":function ComplexComplex(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function UnitUnit(x,y){if(!x.equalBase(y))throw new Error("Cannot compare units with different base");return this(x.value,y.value)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createLarger=createLarger;var createLargerNumber=(0,_factory.factory)(name,["typed","config"],(function(_ref2){var typed=_ref2.typed,config=_ref2.config;return typed(name,{"number, number":function numberNumber(x,y){return x>y&&!(0,_number.nearlyEqual)(x,y,config.epsilon)}})}));exports.createLargerNumber=createLargerNumber},{"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/factory.js":941,"../../utils/number.js":948}],808:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLargerEqNumber=exports.createLargerEq=void 0;var _nearlyEqual=require("../../utils/bignumber/nearlyEqual.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm13.js"),name="largerEq",dependencies=["typed","config","matrix","DenseMatrix"],createLargerEq=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm5.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"boolean, boolean":function booleanBoolean(x,y){return x>=y},"number, number":function numberNumber(x,y){return x>=y||(0,_number.nearlyEqual)(x,y,config.epsilon)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return x.gte(y)||(0,_nearlyEqual.nearlyEqual)(x,y,config.epsilon)},"Fraction, Fraction":function FractionFraction(x,y){return-1!==x.compare(y)},"Complex, Complex":function ComplexComplex(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function UnitUnit(x,y){if(!x.equalBase(y))throw new Error("Cannot compare units with different base");return this(x.value,y.value)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createLargerEq=createLargerEq;var createLargerEqNumber=(0,_factory.factory)(name,["typed","config"],(function(_ref2){var typed=_ref2.typed,config=_ref2.config;return typed(name,{"number, number":function numberNumber(x,y){return x>=y||(0,_number.nearlyEqual)(x,y,config.epsilon)}})}));exports.createLargerEqNumber=createLargerEqNumber},{"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/factory.js":941,"../../utils/number.js":948}],809:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSmallerNumber=exports.createSmaller=void 0;var _nearlyEqual=require("../../utils/bignumber/nearlyEqual.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm13.js"),name="smaller",dependencies=["typed","config","matrix","DenseMatrix"],createSmaller=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm5.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"boolean, boolean":function booleanBoolean(x,y){return x0;i--)for(var j=0;jarray[j+1].length&&(temp=array[j],array[j]=array[j+1],array[j+1]=temp);return array}(result)}});function _subset(array,bitarray){for(var result=[],i=0;i=MAX_NUM?(0,_number.sign)(x):y<=THRESH?(0,_number.sign)(x)*function erf1(y){var i,ysq=y*y,xnum=P[0][4]*ysq,xden=ysq;for(i=0;i<3;i+=1)xnum=(xnum+P[0][i])*ysq,xden=(xden+Q[0][i])*ysq;return y*(xnum+P[0][3])/(xden+Q[0][3])}(y):y<=4?(0,_number.sign)(x)*(1-function erfc2(y){var i,xnum=P[1][8]*y,xden=y;for(i=0;i<7;i+=1)xnum=(xnum+P[1][i])*y,xden=(xden+Q[1][i])*y;var result=(xnum+P[1][7])/(xden+Q[1][7]),ysq=parseInt(16*y)/16,del=(y-ysq)*(y+ysq);return Math.exp(-ysq*ysq)*Math.exp(-del)*result}(y)):(0,_number.sign)(x)*(1-function erfc3(y){var i,ysq=1/(y*y),xnum=P[2][5]*ysq,xden=ysq;for(i=0;i<4;i+=1)xnum=(xnum+P[2][i])*ysq,xden=(xden+Q[2][i])*ysq;var result=ysq*(xnum+P[2][4])/(xden+Q[2][4]);result=(SQRPI-result)/y,ysq=parseInt(16*y)/16;var del=(y-ysq)*(y+ysq);return Math.exp(-ysq*ysq)*Math.exp(-del)*result}(y))},"Array | Matrix":function ArrayMatrix(n){return(0,_collection.deepMap)(n,this)}})}));exports.createErf=createErf;var THRESH=.46875,SQRPI=.5641895835477563,P=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],Q=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]],MAX_NUM=Math.pow(2,53)},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],823:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMad=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","abs","map","median","subtract"],createMad=(0,_factory.factory)("mad",dependencies,(function(_ref){var typed=_ref.typed,abs=_ref.abs,map=_ref.map,median=_ref.median,subtract=_ref.subtract;return typed("mad",{"Array | Matrix":_mad,"...":function _(args){return _mad(args)}});function _mad(array){if(0===(array=(0,_array.flatten)(array.valueOf())).length)throw new Error("Cannot calculate median absolute deviation (mad) of an empty array");try{var med=median(array);return median(map(array,(function(value){return abs(subtract(value,med))})))}catch(err){throw err instanceof TypeError&&-1!==err.message.indexOf("median")?new TypeError(err.message.replace("median","mad")):(0,_improveErrorMessage.improveErrorMessage)(err,"mad")}}}));exports.createMad=createMad},{"../../utils/array.js":932,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],824:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMax=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","numeric","larger"],createMax=(0,_factory.factory)("max",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,larger=_ref.larger;return typed("max",{"Array | Matrix":_max,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){return(0,_collection.reduce)(array,dim.valueOf(),_largest)},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function max");return _max(args)}});function _largest(x,y){try{return larger(x,y)?x:y}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"max",y)}}function _max(array){var res;if((0,_collection.deepForEach)(array,(function(value){try{isNaN(value)&&"number"==typeof value?res=NaN:(void 0===res||larger(value,res))&&(res=value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"max",value)}})),void 0===res)throw new Error("Cannot calculate max of an empty array");return"string"==typeof res&&(res=numeric(res,config.number)),res}}));exports.createMax=createMax},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],825:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMean=void 0;var _collection=require("../../utils/collection.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","add","divide"],createMean=(0,_factory.factory)("mean",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide;return typed("mean",{"Array | Matrix":_mean,"Array | Matrix, number | BigNumber":function _nmeanDim(array,dim){try{var sum=(0,_collection.reduce)(array,dim,add),s=Array.isArray(array)?(0,_array.arraySize)(array):array.size();return divide(sum,s[dim])}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"mean")}},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function mean");return _mean(args)}});function _mean(array){var sum,num=0;if((0,_collection.deepForEach)(array,(function(value){try{sum=void 0===sum?value:add(sum,value),num++}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"mean",value)}})),0===num)throw new Error("Cannot calculate the mean of an empty array");return divide(sum,num)}}));exports.createMean=createMean},{"../../utils/array.js":932,"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],826:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMedian=void 0;var _collection=require("../../utils/collection.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","add","divide","compare","partitionSelect"],createMedian=(0,_factory.factory)("median",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide,compare=_ref.compare,partitionSelect=_ref.partitionSelect;function _median(array){try{var num=(array=(0,_array.flatten)(array.valueOf())).length;if(0===num)throw new Error("Cannot calculate median of an empty array");if(num%2==0){for(var mid=num/2-1,right=partitionSelect(array,mid+1),left=array[mid],i=0;i0&&(left=array[i]);return middle2(left,right)}var m=partitionSelect(array,(num-1)/2);return middle(m)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"median")}}var middle=typed({"number | BigNumber | Complex | Unit":function numberBigNumberComplexUnit(value){return value}}),middle2=typed({"number | BigNumber | Complex | Unit, number | BigNumber | Complex | Unit":function numberBigNumberComplexUnitNumberBigNumberComplexUnit(left,right){return divide(add(left,right),2)}});return typed("median",{"Array | Matrix":_median,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){throw new Error("median(A, dim) is not yet supported")},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function median");return _median(args)}})}));exports.createMedian=createMedian},{"../../utils/array.js":932,"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],827:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMin=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","numeric","smaller"],createMin=(0,_factory.factory)("min",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,smaller=_ref.smaller;return typed("min",{"Array | Matrix":_min,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){return(0,_collection.reduce)(array,dim.valueOf(),_smallest)},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function min");return _min(args)}});function _smallest(x,y){try{return smaller(x,y)?x:y}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"min",y)}}function _min(array){var min;if((0,_collection.deepForEach)(array,(function(value){try{isNaN(value)&&"number"==typeof value?min=NaN:(void 0===min||smaller(value,min))&&(min=value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"min",value)}})),void 0===min)throw new Error("Cannot calculate min of an empty array");return"string"==typeof min&&(min=numeric(min,config.number)),min}}));exports.createMin=createMin},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],828:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMode=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","isNaN","isNumeric"],createMode=(0,_factory.factory)("mode",dependencies,(function(_ref){var typed=_ref.typed,isNaN=_ref.isNaN,isNumeric=_ref.isNumeric;return typed("mode",{"Array | Matrix":_mode,"...":function _(args){return _mode(args)}});function _mode(values){if(0===(values=(0,_array.flatten)(values.valueOf())).length)throw new Error("Cannot calculate mode of an empty array");for(var count={},mode=[],max=0,i=0;imax&&(max=count[value],mode=[value])}return mode}}));exports.createMode=createMode},{"../../utils/array.js":932,"../../utils/factory.js":941}],829:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createProd=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","multiplyScalar","numeric"],createProd=(0,_factory.factory)("prod",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,multiplyScalar=_ref.multiplyScalar,numeric=_ref.numeric;return typed("prod",{"Array | Matrix":_prod,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){throw new Error("prod(A, dim) is not yet supported")},"...":function _(args){return _prod(args)}});function _prod(array){var prod;if((0,_collection.deepForEach)(array,(function(value){try{prod=void 0===prod?value:multiplyScalar(prod,value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"prod",value)}})),"string"==typeof prod&&(prod=numeric(prod,config.number)),void 0===prod)throw new Error("Cannot calculate prod of an empty array");return prod}}));exports.createProd=createProd},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],830:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createQuantileSeq=void 0;var _is=require("../../utils/is.js"),_number=require("../../utils/number.js"),_array=require("../../utils/array.js"),dependencies=["typed","add","multiply","partitionSelect","compare"],createQuantileSeq=(0,require("../../utils/factory.js").factory)("quantileSeq",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,multiply=_ref.multiply,partitionSelect=_ref.partitionSelect,compare=_ref.compare;function _quantileSeq(array,prob,sorted){var flat=(0,_array.flatten)(array),len=flat.length;if(0===len)throw new Error("Cannot calculate quantile of an empty sequence");if((0,_is.isNumber)(prob)){var _index=prob*(len-1),_fracPart=_index%1;if(0===_fracPart){var value=sorted?flat[_index]:partitionSelect(flat,_index);return validate(value),value}var _left,_right,_integerPart=Math.floor(_index);if(sorted)_left=flat[_integerPart],_right=flat[_integerPart+1];else{_right=partitionSelect(flat,_integerPart+1),_left=flat[_integerPart];for(var i=0;i<_integerPart;++i)compare(flat[i],_left)>0&&(_left=flat[i])}return validate(_left),validate(_right),add(multiply(_left,1-_fracPart),multiply(_right,_fracPart))}var index=prob.times(len-1);if(index.isInteger()){index=index.toNumber();var _value=sorted?flat[index]:partitionSelect(flat,index);return validate(_value),_value}var left,right,integerPart=index.floor(),fracPart=index.minus(integerPart),integerPartNumber=integerPart.toNumber();if(sorted)left=flat[integerPartNumber],right=flat[integerPartNumber+1];else{right=partitionSelect(flat,integerPartNumber+1),left=flat[integerPartNumber];for(var _i3=0;_i30&&(left=flat[_i3])}validate(left),validate(right);var one=new fracPart.constructor(1);return add(multiply(left,one.minus(fracPart)),multiply(right,fracPart))}var validate=typed({"number | BigNumber | Unit":function numberBigNumberUnit(x){return x}});return function quantileSeq(data,probOrN,sorted){var probArr,dataArr,one;if(arguments.length<2||arguments.length>3)throw new SyntaxError("Function quantileSeq requires two or three parameters");if((0,_is.isCollection)(data)){if("boolean"==typeof(sorted=sorted||!1)){if(dataArr=data.valueOf(),(0,_is.isNumber)(probOrN)){if(probOrN<0)throw new Error("N/prob must be non-negative");if(probOrN<=1)return _quantileSeq(dataArr,probOrN,sorted);if(probOrN>1){if(!(0,_number.isInteger)(probOrN))throw new Error("N must be a positive integer");var nPlusOne=probOrN+1;probArr=new Array(probOrN);for(var i=0;i4294967295)throw new Error("N must be less than or equal to 2^32-1, as that is the maximum length of an Array");var _nPlusOne=new BigNumber(intN+1);probArr=new Array(intN);for(var _i=0;_i1)throw new Error("Probability must be between 0 and 1, inclusive")}else{if(!(0,_is.isBigNumber)(currProb))throw new TypeError("Unexpected type of argument in function quantileSeq");if(one=new currProb.constructor(1),currProb.isNegative()||currProb.gt(one))throw new Error("Probability must be between 0 and 1, inclusive")}probArr[_i2]=_quantileSeq(dataArr,currProb,sorted)}return probArr}throw new TypeError("Unexpected type of argument in function quantileSeq")}throw new TypeError("Unexpected type of argument in function quantileSeq")}throw new TypeError("Unexpected type of argument in function quantileSeq")}}));exports.createQuantileSeq=createQuantileSeq},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],831:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStd=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","sqrt","variance"],createStd=(0,_factory.factory)("std",dependencies,(function(_ref){var typed=_ref.typed,sqrt=_ref.sqrt,variance=_ref.variance;return typed("std",{"Array | Matrix":_std,"Array | Matrix, string":_std,"Array | Matrix, number | BigNumber":_std,"Array | Matrix, number | BigNumber, string":_std,"...":function _(args){return _std(args)}});function _std(array,normalization){if(0===array.length)throw new SyntaxError("Function std requires one or more parameters (0 provided)");try{return sqrt(variance.apply(null,arguments))}catch(err){throw err instanceof TypeError&&-1!==err.message.indexOf(" variance")?new TypeError(err.message.replace(" variance"," std")):err}}}));exports.createStd=createStd},{"../../utils/factory.js":941}],832:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSum=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","add","numeric"],createSum=(0,_factory.factory)("sum",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,add=_ref.add,numeric=_ref.numeric;return typed("sum",{"Array | Matrix":_sum,"Array | Matrix, number | BigNumber":function _nsumDim(array,dim){try{return(0,_collection.reduce)(array,dim,add)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"sum")}},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function sum");return _sum(args)}});function _sum(array){var sum;return(0,_collection.deepForEach)(array,(function(value){try{sum=void 0===sum?value:add(sum,value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"sum",value)}})),void 0===sum&&(sum=numeric(0,config.number)),"string"==typeof sum&&(sum=numeric(sum,config.number)),sum}}));exports.createSum=createSum},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],833:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.improveErrorMessage=function improveErrorMessage(err,fnName,value){var details;if(-1!==String(err).indexOf("Unexpected type"))return details=arguments.length>2?" (type: "+(0,_is.typeOf)(value)+", value: "+JSON.stringify(value)+")":" (type: "+err.data.actual+")",new TypeError("Cannot calculate "+fnName+", unexpected type of argument"+details);if(-1!==String(err).indexOf("complex numbers"))return details=arguments.length>2?" (type: "+(0,_is.typeOf)(value)+", value: "+JSON.stringify(value)+")":"",new TypeError("Cannot calculate "+fnName+", no ordering relation is defined for complex numbers"+details);return err};var _is=require("../../../utils/is.js")},{"../../../utils/is.js":943}],834:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createVariance=void 0;var _collection=require("../../utils/collection.js"),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","add","subtract","multiply","divide","apply","isNaN"],createVariance=(0,_factory.factory)("variance",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,apply=_ref.apply,isNaN=_ref.isNaN;return typed("variance",{"Array | Matrix":function ArrayMatrix(array){return _var(array,"unbiased")},"Array | Matrix, string":_var,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){return _varDim(array,dim,"unbiased")},"Array | Matrix, number | BigNumber, string":_varDim,"...":function _(args){return _var(args,"unbiased")}});function _var(array,normalization){var sum,num=0;if(0===array.length)throw new SyntaxError("Function variance requires one or more parameters (0 provided)");if((0,_collection.deepForEach)(array,(function(value){try{sum=void 0===sum?value:add(sum,value),num++}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"variance",value)}})),0===num)throw new Error("Cannot calculate variance of an empty array");var mean=divide(sum,num);if(sum=void 0,(0,_collection.deepForEach)(array,(function(value){var diff=subtract(value,mean);sum=void 0===sum?multiply(diff,diff):add(sum,multiply(diff,diff))})),isNaN(sum))return sum;switch(normalization){case"uncorrected":return divide(sum,num);case"biased":return divide(sum,num+1);case"unbiased":var zero=(0,_is.isBigNumber)(sum)?sum.mul(0):0;return 1===num?zero:divide(sum,num-1);default:throw new Error('Unknown normalization "'+normalization+'". Choose "unbiased" (default), "uncorrected", or "biased".')}}function _varDim(array,dim,normalization){try{if(0===array.length)throw new SyntaxError("Function variance requires one or more parameters (0 provided)");return apply(array,dim,(function(x){return _var(x,normalization)}))}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"variance")}}}));exports.createVariance=createVariance},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/improveErrorMessage.js":833}],835:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBin=void 0;var _factory=require("../../utils/factory.js"),createBin=(0,_factory.factory)("bin",["typed","format"],(function(_ref){var typed=_ref.typed,format=_ref.format;return typed("bin",{"number | BigNumber":function numberBigNumber(n){return format(n,{notation:"bin"})},"number | BigNumber, number":function numberBigNumberNumber(n,wordSize){return format(n,{notation:"bin",wordSize:wordSize})}})}));exports.createBin=createBin},{"../../utils/factory.js":941}],836:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFormat=void 0;var _string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createFormat=(0,_factory.factory)("format",dependencies,(function(_ref){return(0,_ref.typed)("format",{any:_string.format,"any, Object | function | number":_string.format})}));exports.createFormat=createFormat},{"../../utils/factory.js":941,"../../utils/string.js":953}],837:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHex=void 0;var _factory=require("../../utils/factory.js"),createHex=(0,_factory.factory)("hex",["typed","format"],(function(_ref){var typed=_ref.typed,format=_ref.format;return typed("hex",{"number | BigNumber":function numberBigNumber(n){return format(n,{notation:"hex"})},"number | BigNumber, number":function numberBigNumberNumber(n,wordSize){return format(n,{notation:"hex",wordSize:wordSize})}})}));exports.createHex=createHex},{"../../utils/factory.js":941}],838:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createOct=void 0;var _factory=require("../../utils/factory.js"),createOct=(0,_factory.factory)("oct",["typed","format"],(function(_ref){var typed=_ref.typed,format=_ref.format;return typed("oct",{"number | BigNumber":function numberBigNumber(n){return format(n,{notation:"oct"})},"number | BigNumber, number":function numberBigNumberNumber(n,wordSize){return format(n,{notation:"oct",wordSize:wordSize})}})}));exports.createOct=createOct},{"../../utils/factory.js":941}],839:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPrint=void 0;var _string=require("../../utils/string.js"),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createPrint=(0,_factory.factory)("print",dependencies,(function(_ref){return(0,_ref.typed)("print",{"string, Object | Array":_print,"string, Object | Array, number | Object":_print})}));function _print(template,values,options){return template.replace(/\$([\w.]+)/g,(function(original,key){for(var keys=key.split("."),value=values[keys.shift()];keys.length&&void 0!==value;){var k=keys.shift();value=k?value[k]:value+"."}return void 0!==value?(0,_is.isString)(value)?value:(0,_string.format)(value,options):original}))}exports.createPrint=createPrint},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/string.js":953}],840:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcos=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed","config","Complex"],createAcos=(0,_factory.factory)("acos",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("acos",{number:function number(x){return x>=-1&&x<=1||config.predictable?Math.acos(x):new Complex(x,0).acos()},Complex:function Complex(x){return x.acos()},BigNumber:function BigNumber(x){return x.acos()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcos=createAcos},{"../../utils/collection.js":937,"../../utils/factory.js":941}],841:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcosh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createAcosh=(0,_factory.factory)("acosh",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("acosh",{number:function number(x){return x>=1||config.predictable?(0,_index.acoshNumber)(x):x<=-1?new Complex(Math.log(Math.sqrt(x*x-1)-x),Math.PI):new Complex(x,0).acosh()},Complex:function Complex(x){return x.acosh()},BigNumber:function BigNumber(x){return x.acosh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcosh=createAcosh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],842:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcot=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createAcot=(0,_factory.factory)("acot",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("acot",{number:_index.acotNumber,Complex:function Complex(x){return x.acot()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).atan()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcot=createAcot},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],843:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcoth=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAcoth=(0,_factory.factory)("acoth",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("acoth",{number:function number(x){return x>=1||x<=-1||config.predictable?(0,_index.acothNumber)(x):new Complex(x,0).acoth()},Complex:function Complex(x){return x.acoth()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).atanh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcoth=createAcoth},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],844:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcsc=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAcsc=(0,_factory.factory)("acsc",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("acsc",{number:function number(x){return x<=-1||x>=1||config.predictable?(0,_index.acscNumber)(x):new Complex(x,0).acsc()},Complex:function Complex(x){return x.acsc()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).asin()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcsc=createAcsc},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],845:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcsch=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createAcsch=(0,_factory.factory)("acsch",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("acsch",{number:_index.acschNumber,Complex:function Complex(x){return x.acsch()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).asinh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcsch=createAcsch},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],846:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsec=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAsec=(0,_factory.factory)("asec",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("asec",{number:function number(x){return x<=-1||x>=1||config.predictable?(0,_index.asecNumber)(x):new Complex(x,0).asec()},Complex:function Complex(x){return x.asec()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).acos()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAsec=createAsec},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],847:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsech=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAsech=(0,_factory.factory)("asech",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("asech",{number:function number(x){if(x<=1&&x>=-1||config.predictable){var xInv=1/x;if(xInv>0||config.predictable)return(0,_index.asechNumber)(x);var ret=Math.sqrt(xInv*xInv-1);return new Complex(Math.log(ret-xInv),Math.PI)}return new Complex(x,0).asech()},Complex:function Complex(x){return x.asech()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).acosh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAsech=createAsech},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],848:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsin=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed","config","Complex"],createAsin=(0,_factory.factory)("asin",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("asin",{number:function number(x){return x>=-1&&x<=1||config.predictable?Math.asin(x):new Complex(x,0).asin()},Complex:function Complex(x){return x.asin()},BigNumber:function BigNumber(x){return x.asin()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAsin=createAsin},{"../../utils/collection.js":937,"../../utils/factory.js":941}],849:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsinh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createAsinh=(0,_factory.factory)("asinh",dependencies,(function(_ref){return(0,_ref.typed)("asinh",{number:_index.asinhNumber,Complex:function Complex(x){return x.asinh()},BigNumber:function BigNumber(x){return x.asinh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAsinh=createAsinh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],850:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAtan=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createAtan=(0,_factory.factory)("atan",dependencies,(function(_ref){return(0,_ref.typed)("atan",{number:function number(x){return Math.atan(x)},Complex:function Complex(x){return x.atan()},BigNumber:function BigNumber(x){return x.atan()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAtan=createAtan},{"../../utils/collection.js":937,"../../utils/factory.js":941}],851:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAtan2=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm03.js"),_algorithm3=require("../../type/matrix/utils/algorithm09.js"),_algorithm4=require("../../type/matrix/utils/algorithm11.js"),_algorithm5=require("../../type/matrix/utils/algorithm12.js"),_algorithm6=require("../../type/matrix/utils/algorithm13.js"),_algorithm7=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","equalScalar","BigNumber","DenseMatrix"],createAtan2=(0,_factory.factory)("atan2",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,BigNumber=_ref.BigNumber,DenseMatrix=_ref.DenseMatrix,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm03=(0,_algorithm2.createAlgorithm03)({typed:typed}),algorithm09=(0,_algorithm3.createAlgorithm09)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm4.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm12=(0,_algorithm5.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm6.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm7.createAlgorithm14)({typed:typed});return typed("atan2",{"number, number":Math.atan2,"BigNumber, BigNumber":function BigNumberBigNumber(y,x){return BigNumber.atan2(y,x)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm09(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return algorithm12(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createAtan2=createAtan2},{"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm09.js":918,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],852:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAtanh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createAtanh=(0,_factory.factory)("atanh",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("atanh",{number:function number(x){return x<=1&&x>=-1||config.predictable?(0,_index.atanhNumber)(x):new Complex(x,0).atanh()},Complex:function Complex(x){return x.atanh()},BigNumber:function BigNumber(x){return x.atanh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAtanh=createAtanh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],853:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCos=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createCos=(0,_factory.factory)("cos",dependencies,(function(_ref){return(0,_ref.typed)("cos",{number:Math.cos,Complex:function Complex(x){return x.cos()},BigNumber:function BigNumber(x){return x.cos()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cos is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCos=createCos},{"../../utils/collection.js":937,"../../utils/factory.js":941}],854:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCosh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),dependencies=["typed"],createCosh=(0,_factory.factory)("cosh",dependencies,(function(_ref){return(0,_ref.typed)("cosh",{number:_number.cosh,Complex:function Complex(x){return x.cosh()},BigNumber:function BigNumber(x){return x.cosh()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cosh is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCosh=createCosh},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],855:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCot=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCot=(0,_factory.factory)("cot",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("cot",{number:_index.cotNumber,Complex:function Complex(x){return x.cot()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.tan())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cot is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCot=createCot},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],856:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCoth=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCoth=(0,_factory.factory)("coth",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("coth",{number:_index.cothNumber,Complex:function Complex(x){return x.coth()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.tanh())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function coth is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCoth=createCoth},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],857:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCsc=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCsc=(0,_factory.factory)("csc",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("csc",{number:_index.cscNumber,Complex:function Complex(x){return x.csc()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.sin())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function csc is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCsc=createCsc},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],858:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCsch=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCsch=(0,_factory.factory)("csch",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("csch",{number:_index.cschNumber,Complex:function Complex(x){return x.csch()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.sinh())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function csch is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCsch=createCsch},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],859:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSec=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createSec=(0,_factory.factory)("sec",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("sec",{number:_index.secNumber,Complex:function Complex(x){return x.sec()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.cos())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sec is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createSec=createSec},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],860:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSech=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createSech=(0,_factory.factory)("sech",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("sech",{number:_index.sechNumber,Complex:function Complex(x){return x.sech()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.cosh())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sech is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createSech=createSech},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],861:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSin=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createSin=(0,_factory.factory)("sin",dependencies,(function(_ref){return(0,_ref.typed)("sin",{number:Math.sin,Complex:function Complex(x){return x.sin()},BigNumber:function BigNumber(x){return x.sin()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sin is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createSin=createSin},{"../../utils/collection.js":937,"../../utils/factory.js":941}],862:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSinh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createSinh=(0,_factory.factory)("sinh",dependencies,(function(_ref){return(0,_ref.typed)("sinh",{number:_index.sinhNumber,Complex:function Complex(x){return x.sinh()},BigNumber:function BigNumber(x){return x.sinh()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sinh is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createSinh=createSinh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],863:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTan=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createTan=(0,_factory.factory)("tan",dependencies,(function(_ref){return(0,_ref.typed)("tan",{number:Math.tan,Complex:function Complex(x){return x.tan()},BigNumber:function BigNumber(x){return x.tan()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function tan is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createTan=createTan},{"../../utils/collection.js":937,"../../utils/factory.js":941}],864:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTanh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),dependencies=["typed"],createTanh=(0,_factory.factory)("tanh",dependencies,(function(_ref){return(0,_ref.typed)("tanh",{number:_number.tanh,Complex:function Complex(x){return x.tanh()},BigNumber:function BigNumber(x){return x.tanh()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function tanh is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createTanh=createTanh},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],865:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTo=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm13.js"),_algorithm2=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix"],createTo=(0,_factory.factory)("to",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,algorithm13=(0,_algorithm.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm2.createAlgorithm14)({typed:typed});return typed("to",{"Unit, Unit | string":function UnitUnitString(x,unit){return x.to(unit)},"Matrix, Matrix":function MatrixMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"Matrix, any":function MatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, Matrix":function anyMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createTo=createTo},{"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],866:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createClone=void 0;var _object=require("../../utils/object.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createClone=(0,_factory.factory)("clone",dependencies,(function(_ref){return(0,_ref.typed)("clone",{any:_object.clone})}));exports.createClone=createClone},{"../../utils/factory.js":941,"../../utils/object.js":949}],867:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHasNumericValue=void 0;var _factory=require("../../utils/factory.js"),name="hasNumericValue",dependencies=["typed","isNumeric"],createHasNumericValue=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,isNumeric=_ref.isNumeric;return typed(name,{string:function string(x){return x.trim().length>0&&!isNaN(Number(x))},any:function any(x){return isNumeric(x)}})}));exports.createHasNumericValue=createHasNumericValue},{"../../utils/factory.js":941}],868:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsInteger=void 0;var _collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createIsInteger=(0,_factory.factory)("isInteger",dependencies,(function(_ref){return(0,_ref.typed)("isInteger",{number:_number.isInteger,BigNumber:function BigNumber(x){return x.isInt()},Fraction:function Fraction(x){return 1===x.d&&isFinite(x.n)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsInteger=createIsInteger},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],869:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsNaN=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createIsNaN=(0,_factory.factory)("isNaN",dependencies,(function(_ref){return(0,_ref.typed)("isNaN",{number:_index.isNaNNumber,BigNumber:function BigNumber(x){return x.isNaN()},Fraction:function Fraction(x){return!1},Complex:function Complex(x){return x.isNaN()},Unit:function Unit(x){return Number.isNaN(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,Number.isNaN)}})}));exports.createIsNaN=createIsNaN},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],870:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsNegative=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createIsNegative=(0,_factory.factory)("isNegative",dependencies,(function(_ref){return(0,_ref.typed)("isNegative",{number:_index.isNegativeNumber,BigNumber:function BigNumber(x){return x.isNeg()&&!x.isZero()&&!x.isNaN()},Fraction:function Fraction(x){return x.s<0},Unit:function Unit(x){return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsNegative=createIsNegative},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],871:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsNumeric=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createIsNumeric=(0,_factory.factory)("isNumeric",dependencies,(function(_ref){return(0,_ref.typed)("isNumeric",{"number | BigNumber | Fraction | boolean":function numberBigNumberFractionBoolean(){return!0},"Complex | Unit | string | null | undefined | Node":function ComplexUnitStringNullUndefinedNode(){return!1},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsNumeric=createIsNumeric},{"../../utils/collection.js":937,"../../utils/factory.js":941}],872:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsPositive=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createIsPositive=(0,_factory.factory)("isPositive",dependencies,(function(_ref){return(0,_ref.typed)("isPositive",{number:_index.isPositiveNumber,BigNumber:function BigNumber(x){return!x.isNeg()&&!x.isZero()&&!x.isNaN()},Fraction:function Fraction(x){return x.s>0&&x.n>0},Unit:function Unit(x){return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsPositive=createIsPositive},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],873:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsPrime=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createIsPrime=(0,_factory.factory)("isPrime",dependencies,(function(_ref){return(0,_ref.typed)("isPrime",{number:function number(x){if(0*x!=0)return!1;if(x<=3)return x>1;if(x%2==0||x%3==0)return!1;for(var i=5;i*i<=x;i+=6)if(x%i==0||x%(i+2)==0)return!1;return!0},BigNumber:function BigNumber(n){if(0*n.toNumber()!=0)return!1;if(n.lte(3))return n.gt(1);if(n.mod(2).eq(0)||n.mod(3).eq(0))return!1;if(n.lt(Math.pow(2,32))){for(var x=n.toNumber(),i=5;i*i<=x;i+=6)if(x%i==0||x%(i+2)==0)return!1;return!0}function modPow(base,exponent,modulus){for(var accumulator=1;!exponent.eq(0);)exponent.mod(2).eq(0)?(exponent=exponent.div(2),base=base.mul(base).mod(modulus)):(exponent=exponent.sub(1),accumulator=base.mul(accumulator).mod(modulus));return accumulator}for(var Decimal=n.constructor.clone({precision:2*n.toFixed(0).length}),r=0,d=(n=new Decimal(n)).sub(1);d.mod(2).eq(0);)d=d.div(2),r+=1;var bases=null;if(n.lt("3317044064679887385961981"))bases=[2,3,5,7,11,13,17,19,23,29,31,37,41].filter((function(x){return x0?Math.floor(x):Math.ceil(x)}function floorNumber(x){return Math.floor(x)}function gcdNumber(a,b){if(!(0,_number.isInteger)(a)||!(0,_number.isInteger)(b))throw new Error("Parameters in function gcd must be integer numbers");for(var r;0!==b;)r=a%b,a=b,b=r;return a<0?-a:a}function lcmNumber(a,b){if(!(0,_number.isInteger)(a)||!(0,_number.isInteger)(b))throw new Error("Parameters in function lcm must be integer numbers");if(0===a||0===b)return 0;for(var t,prod=a*b;0!==b;)b=a%(t=b),a=t;return Math.abs(prod/a)}function logNumber(x){return Math.log(x)}function log10Number(x){return(0,_number.log10)(x)}function log2Number(x){return(0,_number.log2)(x)}function log1pNumber(x){return(0,_number.log1p)(x)}function modNumber(x,y){if(y>0)return x-y*Math.floor(x/y);if(0===y)return x;throw new Error("Cannot calculate mod for a negative divisor")}function nthRootNumber(a,root){var inv=root<0;if(inv&&(root=-root),0===root)throw new Error("Root must be non-zero");if(a<0&&Math.abs(root)%2!=1)throw new Error("Root must be odd when a is negative.");if(0===a)return inv?1/0:0;if(!isFinite(a))return inv?0:a;var x=Math.pow(Math.abs(a),1/root);return x=a<0?-x:x,inv?1/x:x}function signNumber(x){return(0,_number.sign)(x)}function sqrtNumber(x){return Math.sqrt(x)}function squareNumber(x){return x*x}function xgcdNumber(a,b){var t,q,r,x=0,lastx=1,y=1,lasty=0;if(!(0,_number.isInteger)(a)||!(0,_number.isInteger)(b))throw new Error("Parameters in function xgcd must be integer numbers");for(;b;)r=a-(q=Math.floor(a/b))*b,t=x,x=lastx-q*x,lastx=t,t=y,y=lasty-q*y,lasty=t,a=b,b=r;return a<0?[-a,-lastx,-lasty]:[a,a?lastx:0,lasty]}function powNumber(x,y){return x*x<1&&y===1/0||x*x>1&&y===-1/0?0:Math.pow(x,y)}function roundNumber(value){var decimals=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseFloat((0,_number.toFixed)(value,decimals))}function normNumber(x){return Math.abs(x)}absNumber.signature=n1,addNumber.signature=n2,subtractNumber.signature=n2,multiplyNumber.signature=n2,divideNumber.signature=n2,unaryMinusNumber.signature=n1,unaryPlusNumber.signature=n1,cbrtNumber.signature=n1,ceilNumber.signature=n1,cubeNumber.signature=n1,expNumber.signature=n1,expm1Number.signature=n1,fixNumber.signature=n1,floorNumber.signature=n1,gcdNumber.signature=n2,lcmNumber.signature=n2,logNumber.signature=n1,log10Number.signature=n1,log2Number.signature=n1,log1pNumber.signature=n1,modNumber.signature=n2,nthRootNumber.signature=n2,signNumber.signature=n1,sqrtNumber.signature=n1,squareNumber.signature=n1,xgcdNumber.signature=n2,powNumber.signature=n2,roundNumber.signature=n2,normNumber.signature=n1},{"../../utils/number.js":948}],881:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndNumber=bitAndNumber,exports.bitNotNumber=bitNotNumber,exports.bitOrNumber=bitOrNumber,exports.bitXorNumber=bitXorNumber,exports.leftShiftNumber=leftShiftNumber,exports.rightArithShiftNumber=rightArithShiftNumber,exports.rightLogShiftNumber=rightLogShiftNumber;var _number=require("../../utils/number.js"),n2="number, number";function bitAndNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function bitAnd");return x&y}function bitNotNumber(x){if(!(0,_number.isInteger)(x))throw new Error("Integer expected in function bitNot");return~x}function bitOrNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function bitOr");return x|y}function bitXorNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function bitXor");return x^y}function leftShiftNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function leftShift");return x<>y}function rightLogShiftNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function rightLogShift");return x>>>y}bitAndNumber.signature=n2,bitNotNumber.signature="number",bitOrNumber.signature=n2,bitXorNumber.signature=n2,leftShiftNumber.signature=n2,rightArithShiftNumber.signature=n2,rightLogShiftNumber.signature=n2},{"../../utils/number.js":948}],882:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsNumber=combinationsNumber;var _number=require("../../utils/number.js"),_product=require("../../utils/product.js");function combinationsNumber(n,k){if(!(0,_number.isInteger)(n)||n<0)throw new TypeError("Positive integer value expected in function combinations");if(!(0,_number.isInteger)(k)||k<0)throw new TypeError("Positive integer value expected in function combinations");if(k>n)throw new TypeError("k must be less than or equal to n");var nMinusk=n-k;return k171?1/0:(0,_product.product)(1,n-1);if(n<.5)return Math.PI/(Math.sin(Math.PI*n)*gammaNumber(1-n));if(n>=171.35)return 1/0;if(n>85){var twoN=n*n,threeN=twoN*n,fourN=threeN*n,fiveN=fourN*n;return Math.sqrt(2*Math.PI/n)*Math.pow(n/Math.E,n)*(1+1/(12*n)+1/(288*twoN)-139/(51840*threeN)-571/(2488320*fourN)+163879/(209018880*fiveN)+5246819/(75246796800*fiveN*n))}--n,x=gammaP[0];for(var i=1;i0}function isZeroNumber(x){return 0===x}function isNaNNumber(x){return Number.isNaN(x)}isIntegerNumber.signature=n1,isNegativeNumber.signature=n1,isPositiveNumber.signature=n1,isZeroNumber.signature=n1,isNaNNumber.signature=n1},{"../../utils/number.js":948}],890:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBigNumberClass=void 0;var _decimal=_interopRequireDefault(require("decimal.js")),dependencies=["?on","config"],createBigNumberClass=(0,require("../../utils/factory.js").factory)("BigNumber",dependencies,(function(_ref){var on=_ref.on,config=_ref.config,BigNumber=_decimal.default.clone({precision:config.precision,modulo:9});return BigNumber.prototype.type="BigNumber",BigNumber.prototype.isBigNumber=!0,BigNumber.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},BigNumber.fromJSON=function(json){return new BigNumber(json.value)},on&&on("config",(function(curr,prev){curr.precision!==prev.precision&&BigNumber.config({precision:curr.precision})})),BigNumber}),{isClass:!0});exports.createBigNumberClass=createBigNumberClass},{"../../utils/factory.js":941,"@babel/runtime/helpers/interopRequireDefault":15,"decimal.js":29}],891:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBignumber=void 0;var _factory=require("../../../utils/factory.js"),_collection=require("../../../utils/collection.js"),dependencies=["typed","BigNumber"],createBignumber=(0,_factory.factory)("bignumber",dependencies,(function(_ref){var typed=_ref.typed,BigNumber=_ref.BigNumber;return typed("bignumber",{"":function _(){return new BigNumber(0)},number:function number(x){return new BigNumber(x+"")},string:function string(x){var wordSizeSuffixMatch=x.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);if(wordSizeSuffixMatch){var size=wordSizeSuffixMatch[2],n=BigNumber(wordSizeSuffixMatch[1]),twoPowSize=new BigNumber(2).pow(Number(size));if(n.gt(twoPowSize.sub(1)))throw new SyntaxError('String "'.concat(x,'" is out of range'));var twoPowSizeSubOne=new BigNumber(2).pow(Number(size)-1);return n.gte(twoPowSizeSubOne)?n.sub(twoPowSize):n}return new BigNumber(x)},BigNumber:function BigNumber(x){return x},Fraction:function Fraction(x){return new BigNumber(x.n).div(x.d).times(x.s)},null:function _null(x){return new BigNumber(0)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createBignumber=createBignumber},{"../../../utils/collection.js":937,"../../../utils/factory.js":941}],892:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBoolean=void 0;var _factory=require("../utils/factory.js"),_collection=require("../utils/collection.js"),dependencies=["typed"],createBoolean=(0,_factory.factory)("boolean",dependencies,(function(_ref){return(0,_ref.typed)("boolean",{"":function _(){return!1},boolean:function boolean(x){return x},number:function number(x){return!!x},null:function _null(x){return!1},BigNumber:function BigNumber(x){return!x.isZero()},string:function string(x){var lcase=x.toLowerCase();if("true"===lcase)return!0;if("false"===lcase)return!1;var num=Number(x);if(""!==x&&!isNaN(num))return!!num;throw new Error('Cannot convert "'+x+'" to a boolean')},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createBoolean=createBoolean},{"../utils/collection.js":937,"../utils/factory.js":941}],893:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createChainClass=void 0;var _is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),dependencies=["?on","math"],createChainClass=(0,require("../../utils/factory.js").factory)("Chain",dependencies,(function(_ref){var on=_ref.on,math=_ref.math;function Chain(value){if(!(this instanceof Chain))throw new SyntaxError("Constructor must be called with the new operator");(0,_is.isChain)(value)?this.value=value.value:this.value=value}function createLazyProxy(name,resolver){(0,_object.lazy)(Chain.prototype,name,(function outerResolver(){var fn=resolver();if("function"==typeof fn)return chainify(fn)}))}function chainify(fn){return function(){for(var args=[this.value],i=0;ib.re?1:a.reb.im?1:a.im=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i");_fit(matrix,index.max().map((function(i){return i+1})),defaultValue);var dims=iSize.length;_setSubmatrix(matrix._data,index,submatrix,dims,0)}return matrix}function _setSubmatrix(data,index,submatrix,dims,dim){var last=dim===dims-1,range=index.dimension(dim);last?range.forEach((function(dataIndex,subIndex){(0,_array.validateIndex)(dataIndex),data[dataIndex]=submatrix[subIndex[0]]})):range.forEach((function(dataIndex,subIndex){(0,_array.validateIndex)(dataIndex),_setSubmatrix(data[dataIndex],index,submatrix[subIndex[0]],dims,dim+1)}))}function _resize(matrix,size,defaultValue){if(0===size.length){for(var v=matrix._data;(0,_is.isArray)(v);)v=v[0];return v}return matrix._size=size.slice(0),matrix._data=(0,_array.resize)(matrix._data,matrix._size,defaultValue),matrix}function _fit(matrix,size,defaultValue){for(var newSize=matrix._size.slice(0),changed=!1;newSize.lengthnewSize[i]&&(newSize[i]=size[i],changed=!0);changed&&_resize(matrix,newSize,defaultValue)}function preprocess(data){for(var i=0,ii=data.length;i0?k:0,kSub=k<0?-k:0,rows=this._size[0],columns=this._size[1],n=Math.min(rows-kSub,columns-kSuper),data=[],i=0;i0?k:0,kSub=k<0?-k:0,rows=size[0],columns=size[1],n=Math.min(rows-kSub,columns-kSuper);if((0,_is.isArray)(value)){if(value.length!==n)throw new Error("Invalid value array length");_value=function _value(i){return value[i]}}else if((0,_is.isMatrix)(value)){var ms=value.size();if(1!==ms.length||ms[0]!==n)throw new Error("Invalid matrix length");_value=function _value(i){return value.get([i])}}else _value=function _value(){return value};defaultValue||(defaultValue=(0,_is.isBigNumber)(_value(0))?_value(0).mul(0):0);var data=[];if(size.length>0){data=(0,_array.resize)(data,size,defaultValue);for(var d=0;d0;){var tempRight=x.right;x.left.right=x.right,x.right.left=x.left,x.left=minimum,x.right=minimum.right,minimum.right=x,x.right.left=x,x.parent=null,x=tempRight,numberOfChildren--}return node.left.right=node.right,node.right.left=node.left,minimum=node===node.right?null:function _findMinimumNode(minimum,size){var y,arraySize=Math.floor(Math.log(size)*oneOverLogPhi)+1,array=new Array(arraySize),numRoots=0,x=minimum;if(x)for(numRoots++,x=x.right;x!==minimum;)numRoots++,x=x.right;for(;numRoots>0;){for(var d=x.degree,next=x.right;y=array[d];){if(larger(x.key,y.key)){var temp=y;y=x,x=temp}_linkNodes(y,x),array[d]=null,d++}array[d]=x,x=next,numRoots--}minimum=null;for(var i=0;i0?this.step>0?this.start:this.start+(size-1)*this.step:void 0},Range.prototype.max=function(){var size=this.size()[0];return size>0?this.step>0?this.start+(size-1)*this.step:this.start:void 0},Range.prototype.forEach=function(callback){var x=this.start,step=this.step,end=this.end,i=0;if(step>0)for(;xend;)callback(x,[i],this),x+=step,i++},Range.prototype.map=function(callback){var array=[];return this.forEach((function(value,index,obj){array[index[0]]=callback(value,index,obj)})),array},Range.prototype.toArray=function(){var array=[];return this.forEach((function(value,index){array[index[0]]=value})),array},Range.prototype.valueOf=function(){return this.toArray()},Range.prototype.format=function(options){var str=(0,_number.format)(this.start,options);return 1!==this.step&&(str+=":"+(0,_number.format)(this.step,options)),str+=":"+(0,_number.format)(this.end,options)},Range.prototype.toString=function(){return this.format()},Range.prototype.toJSON=function(){return{mathjs:"Range",start:this.start,end:this.end,step:this.step}},Range.fromJSON=function(json){return new Range(json.start,json.end,json.step)},Range}),{isClass:!0});exports.createRangeClass=createRangeClass},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],905:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSpaClass=void 0;var dependencies=["addScalar","equalScalar","FibonacciHeap"],createSpaClass=(0,require("../../utils/factory.js").factory)("Spa",dependencies,(function(_ref){var addScalar=_ref.addScalar,equalScalar=_ref.equalScalar,FibonacciHeap=_ref.FibonacciHeap;function Spa(){if(!(this instanceof Spa))throw new SyntaxError("Constructor must be called with the new operator");this._values=[],this._heap=new FibonacciHeap}return Spa.prototype.type="Spa",Spa.prototype.isSpa=!0,Spa.prototype.set=function(i,v){if(this._values[i])this._values[i].value=v;else{var node=this._heap.insert(i,v);this._values[i]=node}},Spa.prototype.get=function(i){var node=this._values[i];return node?node.value:0},Spa.prototype.accumulate=function(i,v){var node=this._values[i];node?node.value=addScalar(node.value,v):(node=this._heap.insert(i,v),this._values[i]=node)},Spa.prototype.forEach=function(from,to,callback){var heap=this._heap,values=this._values,nodes=[],node=heap.extractMinimum();for(node&&nodes.push(node);node&&node.key<=to;)node.key>=from&&(equalScalar(node.value,0)||callback(node.key,node.value,this)),(node=heap.extractMinimum())&&nodes.push(node);for(var i=0;i0){var j=0;do{matrix._ptr.push(matrix._index.length);for(var i=0;i");for(var x0=index.min()[0],y0=index.min()[1],m=sSize[0],n=sSize[1],x=0;xc){for(j=c;jr){if(ins){var n=0;for(j=0;jrows-1&&(matrix._values.splice(k,1),matrix._index.splice(k,1),d++)}matrix._ptr[j]=matrix._values.length}return matrix._size[0]=rows,matrix._size[1]=columns,matrix}function _toArray(values,index,ptr,size,copy){var i,j,rows=size[0],columns=size[1],a=[];for(i=0;irows-1||j>columns-1)&&(_resize(this,Math.max(i+1,rows),Math.max(j+1,columns),defaultValue),rows=this._size[0],columns=this._size[1]),(0,_array.validateIndex)(i,rows),(0,_array.validateIndex)(j,columns);var k=_getValueIndex(i,this._ptr[j],this._ptr[j+1],this._index);return k=minRow&&i<=maxRow&&invoke(matrix._values[k],i-minRow,j-minColumn)}else{for(var _values={},_k=k0;_k "+(this._values?(0,_string.format)(this._values[k],options):"X")}return str},SparseMatrix.prototype.toString=function(){return(0,_string.format)(this.toArray())},SparseMatrix.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},SparseMatrix.prototype.diagonal=function(k){if(k){if((0,_is.isBigNumber)(k)&&(k=k.toNumber()),!(0,_is.isNumber)(k)||!(0,_number.isInteger)(k))throw new TypeError("The parameter k must be an integer number")}else k=0;var kSuper=k>0?k:0,kSub=k<0?-k:0,rows=this._size[0],columns=this._size[1],n=Math.min(rows-kSub,columns-kSuper),values=[],index=[],ptr=[];ptr[0]=0;for(var j=kSuper;j0?k:0,kSub=k<0?-k:0,rows=size[0],columns=size[1],n=Math.min(rows-kSub,columns-kSuper);if((0,_is.isArray)(value)){if(value.length!==n)throw new Error("Invalid value array length");_value=function _value(i){return value[i]}}else if((0,_is.isMatrix)(value)){var ms=value.size();if(1!==ms.length||ms[0]!==n)throw new Error("Invalid matrix length");_value=function _value(i){return value.get([i])}}else _value=function _value(){return value};for(var values=[],index=[],ptr=[],j=0;j=0&&i=k1||index[ky]!==y)){var vx=values?values[kx]:void 0;index.splice(ky,0,y),values&&values.splice(ky,0,vx),index.splice(ky<=kx?kx+1:kx,1),values&&values.splice(ky<=kx?kx+1:kx,1)}else if(ky=k1||index[kx]!==x)){var vy=values?values[ky]:void 0;index.splice(kx,0,x),values&&values.splice(kx,0,vy),index.splice(kx<=ky?ky+1:ky,1),values&&values.splice(kx<=ky?ky+1:ky,1)}}},SparseMatrix}),{isClass:!0});exports.createSparseMatrixClass=createSparseMatrixClass},{"../../error/DimensionError.js":382,"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948,"../../utils/object.js":949,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/regenerator":24}],907:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIndex=void 0;var _factory=require("../../../utils/factory.js"),_is=require("../../../utils/is.js"),dependencies=["typed","Index"],createIndex=(0,_factory.factory)("index",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index;return typed("index",{"...number | string | BigNumber | Range | Array | Matrix":function numberStringBigNumberRangeArrayMatrix(args){var ranges=args.map((function(arg){return(0,_is.isBigNumber)(arg)?arg.toNumber():Array.isArray(arg)||(0,_is.isMatrix)(arg)?arg.map((function(elem){return(0,_is.isBigNumber)(elem)?elem.toNumber():elem})):arg})),res=new Index;return Index.apply(res,ranges),res}})}));exports.createIndex=createIndex},{"../../../utils/factory.js":941,"../../../utils/is.js":943}],908:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMatrix=void 0;var _factory=require("../../../utils/factory.js"),dependencies=["typed","Matrix","DenseMatrix","SparseMatrix"],createMatrix=(0,_factory.factory)("matrix",dependencies,(function(_ref){var typed=_ref.typed,DenseMatrix=(_ref.Matrix,_ref.DenseMatrix),SparseMatrix=_ref.SparseMatrix;return typed("matrix",{"":function _(){return _create([])},string:function string(format){return _create([],format)},"string, string":function stringString(format,datatype){return _create([],format,datatype)},Array:function Array(data){return _create(data)},Matrix:function Matrix(data){return _create(data,data.storage())},"Array | Matrix, string":_create,"Array | Matrix, string, string":_create});function _create(data,format,datatype){if("dense"===format||"default"===format||void 0===format)return new DenseMatrix(data,datatype);if("sparse"===format)return new SparseMatrix(data,datatype);throw new TypeError("Unknown matrix type "+JSON.stringify(format)+".")}}));exports.createMatrix=createMatrix},{"../../../utils/factory.js":941}],909:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSparse=void 0;var _factory=require("../../../utils/factory.js"),dependencies=["typed","SparseMatrix"],createSparse=(0,_factory.factory)("sparse",dependencies,(function(_ref){var typed=_ref.typed,SparseMatrix=_ref.SparseMatrix;return typed("sparse",{"":function _(){return new SparseMatrix([])},string:function string(datatype){return new SparseMatrix([],datatype)},"Array | Matrix":function ArrayMatrix(data){return new SparseMatrix(data)},"Array | Matrix, string":function ArrayMatrixString(data,datatype){return new SparseMatrix(data,datatype)}})}));exports.createSparse=createSparse},{"../../../utils/factory.js":941}],910:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAlgorithm01=void 0;var _factory=require("../../../utils/factory.js"),_DimensionError=require("../../../error/DimensionError.js"),dependencies=["typed"],createAlgorithm01=(0,_factory.factory)("algorithm01",dependencies,(function(_ref){var typed=_ref.typed;return function algorithm1(denseMatrix,sparseMatrix,callback,inverse){var adata=denseMatrix._data,asize=denseMatrix._size,adt=denseMatrix._datatype,bvalues=sparseMatrix._values,bindex=sparseMatrix._index,bptr=sparseMatrix._ptr,bsize=sparseMatrix._size,bdt=sparseMatrix._datatype;if(asize.length!==bsize.length)throw new _DimensionError.DimensionError(asize.length,bsize.length);if(asize[0]!==bsize[0]||asize[1]!==bsize[1])throw new RangeError("Dimension mismatch. Matrix A ("+asize+") must match Matrix B ("+bsize+")");if(!bvalues)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var i,j,rows=asize[0],columns=asize[1],dt="string"==typeof adt&&adt===bdt?adt:void 0,cf=dt?typed.find(callback,[dt,dt]):callback,cdata=[];for(i=0;i0?_iterate(cf,0,csize,csize[0],adata,bdata):[];return a.createDenseMatrix({data:cdata,size:csize,datatype:dt})};function _iterate(f,level,s,n,av,bv){var cv=[];if(level===s.length-1)for(var i=0;i0?_iterate(cf,0,asize,asize[0],adata,b,inverse):[];return a.createDenseMatrix({data:cdata,size:(0,_object.clone)(asize),datatype:dt})};function _iterate(f,level,s,n,av,bv,inverse){var cv=[];if(level===s.length-1)for(var i=0;iMath.pow(2,size)-1)throw new SyntaxError('String "'.concat(x,'" is out of range'));num>=Math.pow(2,size-1)&&(num-=Math.pow(2,size))}return num},BigNumber:function BigNumber(x){return x.toNumber()},Fraction:function Fraction(x){return x.valueOf()},Unit:function Unit(x){throw new Error("Second argument with valueless unit expected")},null:function _null(x){return 0},"Unit, string | Unit":function UnitStringUnit(unit,valuelessUnit){return unit.toNumber(valuelessUnit)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}});return number.fromJSON=function(json){return parseFloat(json.value)},number}));exports.createNumber=createNumber},{"../utils/collection.js":937,"../utils/factory.js":941}],925:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createResultSet=void 0;var dependencies=[],createResultSet=(0,require("../../utils/factory.js").factory)("ResultSet",dependencies,(function(){function ResultSet(entries){if(!(this instanceof ResultSet))throw new SyntaxError("Constructor must be called with the new operator");this.entries=entries||[]}return ResultSet.prototype.type="ResultSet",ResultSet.prototype.isResultSet=!0,ResultSet.prototype.valueOf=function(){return this.entries},ResultSet.prototype.toString=function(){return"["+this.entries.join(", ")+"]"},ResultSet.prototype.toJSON=function(){return{mathjs:"ResultSet",entries:this.entries}},ResultSet.fromJSON=function(json){return new ResultSet(json.entries)},ResultSet}),{isClass:!0});exports.createResultSet=createResultSet},{"../../utils/factory.js":941}],926:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createString=void 0;var _factory=require("../utils/factory.js"),_collection=require("../utils/collection.js"),_number=require("../utils/number.js"),dependencies=["typed"],createString=(0,_factory.factory)("string",dependencies,(function(_ref){return(0,_ref.typed)("string",{"":function _(){return""},number:_number.format,null:function _null(x){return"null"},boolean:function boolean(x){return x+""},string:function string(x){return x},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)},any:function any(x){return String(x)}})}));exports.createString=createString},{"../utils/collection.js":937,"../utils/factory.js":941,"../utils/number.js":948}],927:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnitClass=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_function=require("../../utils/function.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),_constants=require("../../utils/bignumber/constants.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i="0"&&c<="9"}function next(){index++,c=text.charAt(index)}function revert(oldIndex){index=oldIndex,c=text.charAt(index)}function parseNumber(){var number="",oldIndex=index;if("+"===c?next():"-"===c&&(number+=c,next()),!function isDigitDot(c){return c>="0"&&c<="9"||"."===c}(c))return revert(oldIndex),null;if("."===c){if(number+=c,next(),!isDigit(c))return revert(oldIndex),null}else{for(;isDigit(c);)number+=c,next();"."===c&&(number+=c,next())}for(;isDigit(c);)number+=c,next();if("E"===c||"e"===c){var tentativeNumber="",tentativeIndex=index;if(tentativeNumber+=c,next(),"+"!==c&&"-"!==c||(tentativeNumber+=c,next()),!isDigit(c))return revert(tentativeIndex),number;for(number+=tentativeNumber;isDigit(c);)number+=c,next()}return number}function parseUnit(){for(var unitName="";isDigit(c)||Unit.isValidAlpha(c);)unitName+=c,next();var firstC=unitName.charAt(0);return Unit.isValidAlpha(firstC)?unitName:null}function parseCharacter(toFind){return c===toFind?(next(),toFind):null}Unit.prototype.type="Unit",Unit.prototype.isUnit=!0,Unit.parse=function(str,options){if(options=options||{},index=-1,c="","string"!=typeof(text=str))throw new TypeError("Invalid argument in Unit.parse, string expected");var unit=new Unit;unit.units=[];var powerMultiplierCurrent=1,expectingUnit=!1;next(),skipWhitespace();var valueStr=parseNumber(),value=null;if(valueStr){if("BigNumber"===config.number)value=new _BigNumber(valueStr);else if("Fraction"===config.number)try{value=new _Fraction(valueStr)}catch(err){value=parseFloat(valueStr)}else value=parseFloat(valueStr);skipWhitespace(),parseCharacter("*")?(powerMultiplierCurrent=1,expectingUnit=!0):parseCharacter("/")&&(powerMultiplierCurrent=-1,expectingUnit=!0)}for(var powerMultiplierStack=[],powerMultiplierStackProduct=1;;){for(skipWhitespace();"("===c;)powerMultiplierStack.push(powerMultiplierCurrent),powerMultiplierStackProduct*=powerMultiplierCurrent,powerMultiplierCurrent=1,next(),skipWhitespace();var uStr=void 0;if(!c)break;var oldC=c;if(null===(uStr=parseUnit()))throw new SyntaxError('Unexpected "'+oldC+'" in "'+text+'" at index '+index.toString());var res=_findUnit(uStr);if(null===res)throw new SyntaxError('Unit "'+uStr+'" not found.');var power=powerMultiplierCurrent*powerMultiplierStackProduct;if(skipWhitespace(),parseCharacter("^")){skipWhitespace();var p=parseNumber();if(null===p)throw new SyntaxError('In "'+str+'", "^" must be followed by a floating-point number');power*=p}unit.units.push({unit:res.unit,prefix:res.prefix,power:power});for(var i=0;i1||Math.abs(this.units[0].power-1)>1e-15)},Unit.prototype._normalize=function(value){var unitValue,unitOffset,unitPower,unitPrefixValue,convert;if(null==value||0===this.units.length)return value;if(this._isDerived()){var res=value;convert=Unit._getNumberConverter((0,_is.typeOf)(value));for(var i=0;i1e-12)return!1;return!0},Unit.prototype.equalBase=function(other){for(var i=0;i1e-12)return!1;return!0},Unit.prototype.equals=function(other){return this.equalBase(other)&&equal(this.value,other.value)},Unit.prototype.multiply=function(other){for(var res=this.clone(),i=0;i1e-12&&((0,_object.hasOwnProperty)(currentUnitSystem,baseDim)?proposedUnitList.push({unit:currentUnitSystem[baseDim].unit,prefix:currentUnitSystem[baseDim].prefix,power:ret.dimensions[i]||0}):missingBaseDim=!0)}proposedUnitList.length1e-12){if(!(0,_object.hasOwnProperty)(UNIT_SYSTEMS.si,baseDim))throw new Error("Cannot express custom unit "+baseDim+" in SI units");proposedUnitList.push({unit:UNIT_SYSTEMS.si[baseDim].unit,prefix:UNIT_SYSTEMS.si[baseDim].prefix,power:ret.dimensions[i]||0})}}return ret.units=proposedUnitList,ret.fixPrefix=!0,ret.skipAutomaticSimplification=!0,ret},Unit.prototype.formatUnits=function(){for(var strNum="",strDen="",nNum=0,nDen=0,i=0;i0?(nNum++,strNum+=" "+this.units[i].prefix.name+this.units[i].unit.name,Math.abs(this.units[i].power-1)>1e-15&&(strNum+="^"+this.units[i].power)):this.units[i].power<0&&nDen++;if(nDen>0)for(var _i4=0;_i40?(strDen+=" "+this.units[_i4].prefix.name+this.units[_i4].unit.name,Math.abs(this.units[_i4].power+1)>1e-15&&(strDen+="^"+-this.units[_i4].power)):(strDen+=" "+this.units[_i4].prefix.name+this.units[_i4].unit.name,strDen+="^"+this.units[_i4].power));strNum=strNum.substr(1),strDen=strDen.substr(1),nNum>1&&nDen>0&&(strNum="("+strNum+")"),nDen>1&&nNum>0&&(strDen="("+strDen+")");var str=strNum;return nNum>0&&nDen>0&&(str+=" / "),str+=strDen},Unit.prototype.format=function(options){var simp=this.skipAutomaticSimplification||null===this.value?this.clone():this.simplify(),isImaginary=!1;for(var i in void 0!==simp.value&&null!==simp.value&&(0,_is.isComplex)(simp.value)&&(isImaginary=Math.abs(simp.value.re)<1e-14),simp.units)(0,_object.hasOwnProperty)(simp.units,i)&&simp.units[i].unit&&("VA"===simp.units[i].unit.name&&isImaginary?simp.units[i].unit=UNITS.VAR:"VAR"!==simp.units[i].unit.name||isImaginary||(simp.units[i].unit=UNITS.VA));1!==simp.units.length||simp.fixPrefix||Math.abs(simp.units[0].power-Math.round(simp.units[0].power))<1e-14&&(simp.units[0].prefix=simp._bestPrefix());var value=simp._denormalize(simp.value),str=null!==simp.value?format(value,options||{}):"",unitStr=simp.formatUnits();return simp.value&&(0,_is.isComplex)(simp.value)&&(str="("+str+")"),unitStr.length>0&&str.length>0&&(str+=" "),str+=unitStr},Unit.prototype._bestPrefix=function(){if(1!==this.units.length)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");if(Math.abs(this.units[0].power-Math.round(this.units[0].power))>=1e-14)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");var absValue=null!==this.value?abs(this.value):0,absUnitValue=abs(this.units[0].unit.value),bestPrefix=this.units[0].prefix;if(0===absValue)return bestPrefix;var power=this.units[0].power,bestDiff=Math.log(absValue/Math.pow(bestPrefix.value*absUnitValue,power))/Math.LN10-1.2;if(bestDiff>-2.200001&&bestDiff<1.800001)return bestPrefix;bestDiff=Math.abs(bestDiff);var prefixes=this.units[0].unit.prefixes;for(var p in prefixes)if((0,_object.hasOwnProperty)(prefixes,p)){var prefix=prefixes[p];if(prefix.scientific){var diff=Math.abs(Math.log(absValue/Math.pow(prefix.value*absUnitValue,power))/Math.LN10-1.2);(diff0&&!Unit.isValidAlpha(c)&&!isDigit(c))throw new Error('Invalid unit name (only alphanumeric characters are allowed): "'+name+'"')}}(name);var definition,prefixes,baseName,defUnit=null,aliases=[],offset=0;if(obj&&"Unit"===obj.type)defUnit=obj.clone();else if("string"==typeof obj)""!==obj&&(definition=obj);else{if("object"!==(0,_typeof2.default)(obj))throw new TypeError('Cannot create unit "'+name+'" from "'+obj.toString()+'": expecting "string" or "Unit" or "Object"');definition=obj.definition,prefixes=obj.prefixes,offset=obj.offset,baseName=obj.baseName,obj.aliases&&(aliases=obj.aliases.valueOf())}if(aliases)for(var i=0;i1e-12){match=!1;break}if(match){anyMatch=!0,newUnit.base=BASE_UNITS[_i7];break}}if(!anyMatch){baseName=baseName||name+"_STUFF";var _newBaseUnit={dimensions:defUnit.dimensions.slice(0)};_newBaseUnit.key=baseName,BASE_UNITS[baseName]=_newBaseUnit,currentUnitSystem[baseName]={unit:newUnit,prefix:PREFIXES.NONE[""]},newUnit.base=BASE_UNITS[baseName]}}else{if(baseName=baseName||name+"_STUFF",BASE_DIMENSIONS.indexOf(baseName)>=0)throw new Error('Cannot create new base unit "'+name+'": a base unit with that name already exists (and cannot be overridden)');for(var b in BASE_DIMENSIONS.push(baseName),BASE_UNITS)(0,_object.hasOwnProperty)(BASE_UNITS,b)&&(BASE_UNITS[b].dimensions[BASE_DIMENSIONS.length-1]=0);for(var newBaseUnit={dimensions:[]},_i6=0;_i6=length)throw new _IndexError.IndexError(index,length)},exports.resize=function resize(array,size,defaultValue){if(!Array.isArray(array)||!Array.isArray(size))throw new TypeError("Array expected");if(0===size.length)throw new Error("Resizing to scalar is not supported");size.forEach((function(value){if(!(0,_is.isNumber)(value)||!(0,_number.isInteger)(value)||value<0)throw new TypeError("Invalid size, must contain positive integers (size: "+(0,_string.format)(size)+")")}));var _defaultValue=void 0!==defaultValue?defaultValue:0;return _resize(array,size,0,_defaultValue),array},exports.reshape=function reshape(array,sizes){var flatArray=flatten(array),currentLength=flatArray.length;if(!Array.isArray(array)||!Array.isArray(sizes))throw new TypeError("Array expected");if(0===sizes.length)throw new _DimensionError.DimensionError(0,currentLength,"!=");var newLength=product(sizes=processSizesWildcard(sizes,currentLength));if(currentLength!==newLength)throw new _DimensionError.DimensionError(newLength,currentLength,"!=");try{return function _reshape(array,sizes){for(var tmpArray2,tmpArray=array,sizeIndex=sizes.length-1;sizeIndex>0;sizeIndex--){var size=sizes[sizeIndex];tmpArray2=[];for(var length=tmpArray.length/size,i=0;i")}function _resize(array,size,dim,defaultValue){var i,elem,oldLen=array.length,newLen=size[dim],minLen=Math.min(oldLen,newLen);if(array.length=newLen,dim=0)throw new Error("More than one wildcard in sizes");if(wildCardIndex>=0){if(!(currentLength%newLength==0))throw new Error("Could not replace wildcard, since "+currentLength+" is no multiple of "+-newLength);processedSizes[wildCardIndex]=-currentLength/newLength}return processedSizes}function product(array){return array.reduce((function(prev,curr){return prev*curr}),1)}function _squeeze(array,dims,dim){var i,ii;if(dim0;)func(minBits[--shortLen],maxBits[--longLen])===expFuncVal&&(outVal=outVal.plus(twoPower)),twoPower=twoPower.times(two);for(;longLen>0;)func(minSign,maxBits[--longLen])===expFuncVal&&(outVal=outVal.plus(twoPower)),twoPower=twoPower.times(two);return BigNumber.config({precision:prevPrec}),0===expFuncVal&&(outVal.s=-outVal.s),outVal}function decCoefficientToBinaryString(x){for(var a=x.d,r=a[0]+"",i=1;i0)if(++xe>strL)for(xe-=strL;xe--;)str+="0";else xe1&&(null!==arr[_j+1]&&void 0!==arr[_j+1]||(arr[_j+1]=0),arr[_j+1]+=arr[_j]>>1,arr[_j]&=1)}return arr.reverse()}Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndBigNumber=function bitAndBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function bitAnd");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN())return new BigNumber(NaN);if(x.isZero()||y.eq(-1)||x.eq(y))return x;if(y.isZero()||x.eq(-1))return y;if(!x.isFinite()||!y.isFinite()){if(!x.isFinite()&&!y.isFinite())return x.isNegative()===y.isNegative()?x:new BigNumber(0);if(!x.isFinite())return y.isNegative()?x:x.isNegative()?new BigNumber(0):y;if(!y.isFinite())return x.isNegative()?y:y.isNegative()?new BigNumber(0):x}return bitwise(x,y,(function(a,b){return a&b}))},exports.bitNotBigNumber=bitNotBigNumber,exports.bitOrBigNumber=function bitOrBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function bitOr");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN())return new BigNumber(NaN);var negOne=new BigNumber(-1);if(x.isZero()||y.eq(negOne)||x.eq(y))return y;if(y.isZero()||x.eq(negOne))return x;if(!x.isFinite()||!y.isFinite())return!x.isFinite()&&!x.isNegative()&&y.isNegative()||x.isNegative()&&!y.isNegative()&&!y.isFinite()?negOne:x.isNegative()&&y.isNegative()?x.isFinite()?x:y:x.isFinite()?y:x;return bitwise(x,y,(function(a,b){return a|b}))},exports.bitwise=bitwise,exports.bitXor=function bitXor(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function bitXor");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN())return new BigNumber(NaN);if(x.isZero())return y;if(y.isZero())return x;if(x.eq(y))return new BigNumber(0);var negOne=new BigNumber(-1);if(x.eq(negOne))return bitNotBigNumber(y);if(y.eq(negOne))return bitNotBigNumber(x);if(!x.isFinite()||!y.isFinite())return x.isFinite()||y.isFinite()?new BigNumber(x.isNegative()===y.isNegative()?1/0:-1/0):negOne;return bitwise(x,y,(function(a,b){return a^b}))},exports.leftShiftBigNumber=function leftShiftBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function leftShift");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN()||y.isNegative()&&!y.isZero())return new BigNumber(NaN);if(x.isZero()||y.isZero())return x;if(!x.isFinite()&&!y.isFinite())return new BigNumber(NaN);if(y.lt(55))return x.times(Math.pow(2,y.toNumber())+"");return x.times(new BigNumber(2).pow(y))},exports.rightArithShiftBigNumber=function rightArithShiftBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function rightArithShift");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN()||y.isNegative()&&!y.isZero())return new BigNumber(NaN);if(x.isZero()||y.isZero())return x;if(!y.isFinite())return x.isNegative()?new BigNumber(-1):x.isFinite()?new BigNumber(0):new BigNumber(NaN);if(y.lt(55))return x.div(Math.pow(2,y.toNumber())+"").floor();return x.div(new BigNumber(2).pow(y)).floor()}},{}],934:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBigNumberTau=exports.createBigNumberPi=exports.createBigNumberPhi=exports.createBigNumberE=void 0;var _function=require("../function.js"),createBigNumberE=(0,_function.memoize)((function(BigNumber){return new BigNumber(1).exp()}),{hasher:hasher});exports.createBigNumberE=createBigNumberE;var createBigNumberPhi=(0,_function.memoize)((function(BigNumber){return new BigNumber(1).plus(new BigNumber(5).sqrt()).div(2)}),{hasher:hasher});exports.createBigNumberPhi=createBigNumberPhi;var createBigNumberPi=(0,_function.memoize)((function(BigNumber){return BigNumber.acos(-1)}),{hasher:hasher});exports.createBigNumberPi=createBigNumberPi;var createBigNumberTau=(0,_function.memoize)((function(BigNumber){return createBigNumberPi(BigNumber).times(2)}),{hasher:hasher});function hasher(args){return args[0].precision}exports.createBigNumberTau=createBigNumberTau},{"../function.js":942}],935:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.format=function format(value,options){if("function"==typeof options)return options(value);if(!value.isFinite())return value.isNaN()?"NaN":value.gt(0)?"Infinity":"-Infinity";var precision,wordSize,notation="auto";if(void 0!==options&&(options.notation&&(notation=options.notation),"number"==typeof options?precision=options:options.precision&&(precision=options.precision),options.wordSize&&"number"!=typeof(wordSize=options.wordSize)))throw new Error('Option "wordSize" must be a number');switch(notation){case"fixed":return toFixed(value,precision);case"exponential":return toExponential(value,precision);case"engineering":return toEngineering(value,precision);case"bin":return formatBigNumberToBase(value,2,wordSize);case"oct":return formatBigNumberToBase(value,8,wordSize);case"hex":return formatBigNumberToBase(value,16,wordSize);case"auto":var lowerExp=options&&void 0!==options.lowerExp?options.lowerExp:-3,upperExp=options&&void 0!==options.upperExp?options.upperExp:5;if(value.isZero())return"0";var rounded=value.toSignificantDigits(precision),exp=rounded.e;return(exp>=lowerExp&&exp=0?"+":"")+newExp.toString()}function toExponential(value,precision){return void 0!==precision?value.toExponential(precision-1):value.toExponential()}function toFixed(value,precision){return value.toFixed(precision)}},{"../number.js":948}],936:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nearlyEqual=function nearlyEqual(x,y,epsilon){if(null==epsilon)return x.eq(y);if(x.eq(y))return!0;if(x.isNaN()||y.isNaN())return!1;if(x.isFinite()&&y.isFinite()){var diff=x.minus(y).abs();if(diff.isZero())return!0;var max=x.constructor.max(x.abs(),y.abs());return diff.lte(max.times(epsilon))}return!1}},{}],937:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.containsCollections=function containsCollections(array){for(var i=0;i=size.length)throw new _IndexError.IndexError(dim,size.length);return(0,_is.isMatrix)(mat)?mat.create(_reduce(mat.valueOf(),dim,callback)):_reduce(mat,dim,callback)},exports.scatter=function scatter(a,j,w,x,u,mark,cindex,f,inverse,update,value){var k,k0,k1,i,avalues=a._values,aindex=a._index,aptr=a._ptr;if(x)for(k0=aptr[j],k1=aptr[j+1],k=k0;k1&&void 0!==arguments[1]?arguments[1]:{};return sortFactories(factories).forEach((function(factory){return factory(scope)})),scope},exports.isFactory=isFactory,exports.assertDependencies=assertDependencies,exports.isOptionalDependency=isOptionalDependency,exports.stripOptionalNotation=stripOptionalNotation;var _array=require("./array.js"),_object=require("./object.js");function sortFactories(factories){var factoriesByName={};function containsDependency(factory,dependency){if(isFactory(factory)){if((0,_array.contains)(factory.dependencies,dependency.fn||dependency.name))return!0;if(factory.dependencies.some((function(d){return containsDependency(factoriesByName[d],dependency)})))return!0}return!1}factories.forEach((function(factory){factoriesByName[factory.fn]=factory}));var sorted=[];function addFactory(factory){for(var index=0;index1&&void 0!==arguments[1]?arguments[1]:{},hasher=_ref.hasher,limit=_ref.limit;return limit=null==limit?Number.POSITIVE_INFINITY:limit,hasher=null==hasher?JSON.stringify:hasher,function memoize(){"object"!==(0,_typeof2.default)(memoize.cache)&&(memoize.cache={values:new Map,lru:(0,_lruQueue.lruQueue)(limit||Number.POSITIVE_INFINITY)});for(var args=[],i=0;i>",rightLogShift:">>>",equal:"=",unequal:"\\neq",smaller:"<",larger:">",smallerEq:"\\leq",largerEq:"\\geq",bitAnd:"\\&",bitXor:"\\underline{|}",bitOr:"|",and:"\\wedge",xor:"\\veebar",or:"\\vee"};exports.latexOperators=latexOperators;var latexFunctions={abs:{1:"\\left|${args[0]}\\right|"},add:{2:"\\left(${args[0]}".concat(latexOperators.add,"${args[1]}\\right)")},cbrt:{1:"\\sqrt[3]{${args[0]}}"},ceil:{1:"\\left\\lceil${args[0]}\\right\\rceil"},cube:{1:"\\left(${args[0]}\\right)^3"},divide:{2:"\\frac{${args[0]}}{${args[1]}}"},dotDivide:{2:"\\left(${args[0]}".concat(latexOperators.dotDivide,"${args[1]}\\right)")},dotMultiply:{2:"\\left(${args[0]}".concat(latexOperators.dotMultiply,"${args[1]}\\right)")},dotPow:{2:"\\left(${args[0]}".concat(latexOperators.dotPow,"${args[1]}\\right)")},exp:{1:"\\exp\\left(${args[0]}\\right)"},expm1:"\\left(e".concat(latexOperators.pow,"{${args[0]}}-1\\right)"),fix:{1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},floor:{1:"\\left\\lfloor${args[0]}\\right\\rfloor"},gcd:"\\gcd\\left(${args}\\right)",hypot:"\\hypot\\left(${args}\\right)",log:{1:"\\ln\\left(${args[0]}\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}\\right)"},log10:{1:"\\log_{10}\\left(${args[0]}\\right)"},log1p:{1:"\\ln\\left(${args[0]}+1\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}+1\\right)"},log2:"\\log_{2}\\left(${args[0]}\\right)",mod:{2:"\\left(${args[0]}".concat(latexOperators.mod,"${args[1]}\\right)")},multiply:{2:"\\left(${args[0]}".concat(latexOperators.multiply,"${args[1]}\\right)")},norm:{1:"\\left\\|${args[0]}\\right\\|",2:void 0},nthRoot:{2:"\\sqrt[${args[1]}]{${args[0]}}"},nthRoots:{2:"\\{y : $y^{args[1]} = {${args[0]}}\\}"},pow:{2:"\\left(${args[0]}\\right)".concat(latexOperators.pow,"{${args[1]}}")},round:{1:"\\left\\lfloor${args[0]}\\right\\rceil",2:void 0},sign:{1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},sqrt:{1:"\\sqrt{${args[0]}}"},square:{1:"\\left(${args[0]}\\right)^2"},subtract:{2:"\\left(${args[0]}".concat(latexOperators.subtract,"${args[1]}\\right)")},unaryMinus:{1:"".concat(latexOperators.unaryMinus,"\\left(${args[0]}\\right)")},unaryPlus:{1:"".concat(latexOperators.unaryPlus,"\\left(${args[0]}\\right)")},bitAnd:{2:"\\left(${args[0]}".concat(latexOperators.bitAnd,"${args[1]}\\right)")},bitNot:{1:latexOperators.bitNot+"\\left(${args[0]}\\right)"},bitOr:{2:"\\left(${args[0]}".concat(latexOperators.bitOr,"${args[1]}\\right)")},bitXor:{2:"\\left(${args[0]}".concat(latexOperators.bitXor,"${args[1]}\\right)")},leftShift:{2:"\\left(${args[0]}".concat(latexOperators.leftShift,"${args[1]}\\right)")},rightArithShift:{2:"\\left(${args[0]}".concat(latexOperators.rightArithShift,"${args[1]}\\right)")},rightLogShift:{2:"\\left(${args[0]}".concat(latexOperators.rightLogShift,"${args[1]}\\right)")},bellNumbers:{1:"\\mathrm{B}_{${args[0]}}"},catalan:{1:"\\mathrm{C}_{${args[0]}}"},stirlingS2:{2:"\\mathrm{S}\\left(${args}\\right)"},arg:{1:"\\arg\\left(${args[0]}\\right)"},conj:{1:"\\left(${args[0]}\\right)^*"},im:{1:"\\Im\\left\\lbrace${args[0]}\\right\\rbrace"},re:{1:"\\Re\\left\\lbrace${args[0]}\\right\\rbrace"},and:{2:"\\left(${args[0]}".concat(latexOperators.and,"${args[1]}\\right)")},not:{1:latexOperators.not+"\\left(${args[0]}\\right)"},or:{2:"\\left(${args[0]}".concat(latexOperators.or,"${args[1]}\\right)")},xor:{2:"\\left(${args[0]}".concat(latexOperators.xor,"${args[1]}\\right)")},cross:{2:"\\left(${args[0]}\\right)\\times\\left(${args[1]}\\right)"},ctranspose:{1:"\\left(${args[0]}\\right)".concat(latexOperators.ctranspose)},det:{1:"\\det\\left(${args[0]}\\right)"},dot:{2:"\\left(${args[0]}\\cdot${args[1]}\\right)"},expm:{1:"\\exp\\left(${args[0]}\\right)"},inv:{1:"\\left(${args[0]}\\right)^{-1}"},sqrtm:{1:"{${args[0]}}".concat(latexOperators.pow,"{\\frac{1}{2}}")},trace:{1:"\\mathrm{tr}\\left(${args[0]}\\right)"},transpose:{1:"\\left(${args[0]}\\right)".concat(latexOperators.transpose)},combinations:{2:"\\binom{${args[0]}}{${args[1]}}"},combinationsWithRep:{2:"\\left(\\!\\!{\\binom{${args[0]}}{${args[1]}}}\\!\\!\\right)"},factorial:{1:"\\left(${args[0]}\\right)".concat(latexOperators.factorial)},gamma:{1:"\\Gamma\\left(${args[0]}\\right)"},equal:{2:"\\left(${args[0]}".concat(latexOperators.equal,"${args[1]}\\right)")},larger:{2:"\\left(${args[0]}".concat(latexOperators.larger,"${args[1]}\\right)")},largerEq:{2:"\\left(${args[0]}".concat(latexOperators.largerEq,"${args[1]}\\right)")},smaller:{2:"\\left(${args[0]}".concat(latexOperators.smaller,"${args[1]}\\right)")},smallerEq:{2:"\\left(${args[0]}".concat(latexOperators.smallerEq,"${args[1]}\\right)")},unequal:{2:"\\left(${args[0]}".concat(latexOperators.unequal,"${args[1]}\\right)")},erf:{1:"erf\\left(${args[0]}\\right)"},max:"\\max\\left(${args}\\right)",min:"\\min\\left(${args}\\right)",variance:"\\mathrm{Var}\\left(${args}\\right)",acos:{1:"\\cos^{-1}\\left(${args[0]}\\right)"},acosh:{1:"\\cosh^{-1}\\left(${args[0]}\\right)"},acot:{1:"\\cot^{-1}\\left(${args[0]}\\right)"},acoth:{1:"\\coth^{-1}\\left(${args[0]}\\right)"},acsc:{1:"\\csc^{-1}\\left(${args[0]}\\right)"},acsch:{1:"\\mathrm{csch}^{-1}\\left(${args[0]}\\right)"},asec:{1:"\\sec^{-1}\\left(${args[0]}\\right)"},asech:{1:"\\mathrm{sech}^{-1}\\left(${args[0]}\\right)"},asin:{1:"\\sin^{-1}\\left(${args[0]}\\right)"},asinh:{1:"\\sinh^{-1}\\left(${args[0]}\\right)"},atan:{1:"\\tan^{-1}\\left(${args[0]}\\right)"},atan2:{2:"\\mathrm{atan2}\\left(${args}\\right)"},atanh:{1:"\\tanh^{-1}\\left(${args[0]}\\right)"},cos:{1:"\\cos\\left(${args[0]}\\right)"},cosh:{1:"\\cosh\\left(${args[0]}\\right)"},cot:{1:"\\cot\\left(${args[0]}\\right)"},coth:{1:"\\coth\\left(${args[0]}\\right)"},csc:{1:"\\csc\\left(${args[0]}\\right)"},csch:{1:"\\mathrm{csch}\\left(${args[0]}\\right)"},sec:{1:"\\sec\\left(${args[0]}\\right)"},sech:{1:"\\mathrm{sech}\\left(${args[0]}\\right)"},sin:{1:"\\sin\\left(${args[0]}\\right)"},sinh:{1:"\\sinh\\left(${args[0]}\\right)"},tan:{1:"\\tan\\left(${args[0]}\\right)"},tanh:{1:"\\tanh\\left(${args[0]}\\right)"},to:{2:"\\left(${args[0]}".concat(latexOperators.to,"${args[1]}\\right)")},numeric:function numeric(node,options){return node.args[0].toTex()},number:{0:"0",1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)${args[1]}\\right)"},string:{0:'\\mathtt{""}',1:"\\mathrm{string}\\left(${args[0]}\\right)"},bignumber:{0:"0",1:"\\left(${args[0]}\\right)"},complex:{0:"0",1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)+".concat(latexSymbols.i,"\\cdot\\left(${args[1]}\\right)\\right)")},matrix:{0:"\\begin{bmatrix}\\end{bmatrix}",1:"\\left(${args[0]}\\right)",2:"\\left(${args[0]}\\right)"},sparse:{0:"\\begin{bsparse}\\end{bsparse}",1:"\\left(${args[0]}\\right)"},unit:{1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)${args[1]}\\right)"}};exports.latexFunctions=latexFunctions;exports.defaultTemplate="\\mathrm{${name}}\\left(${args}\\right)";var latexUnits={deg:"^\\circ"};function escapeLatex(string){return(0,_escapeLatex.default)(string,{preserveFormatting:!0})}},{"./object.js":949,"@babel/runtime/helpers/interopRequireDefault":15,"escape-latex":30}],945:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lruQueue=function lruQueue(limit){var size=0,base=1,queue=Object.create(null),map=Object.create(null),index=0,del=function del(id){var oldIndex=map[id];if(oldIndex&&(delete queue[oldIndex],delete map[id],--size,base===oldIndex)){if(!size)return index=0,void(base=1);for(;!hasOwnProperty.call(queue,++base););}};return limit=Math.abs(limit),{hit:function hit(id){var oldIndex=map[id],nuIndex=++index;if(queue[nuIndex]=id,map[id]=nuIndex,!oldIndex){if(++size<=limit)return;return id=queue[base],del(id),id}if(delete queue[oldIndex],base===oldIndex)for(;!hasOwnProperty.call(queue,++base););},delete:del,clear:function clear(){size=index=0,base=1,queue=Object.create(null),map=Object.create(null)}}}},{}],946:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEmptyMap=createEmptyMap,exports.createMap=function createMap(mapOrObject){if(!mapOrObject)return createEmptyMap();if(isMap(mapOrObject))return mapOrObject;if((0,_is.isObject)(mapOrObject))return new ObjectWrappingMap(mapOrObject);throw new Error("createMap can create maps from objects or Maps")},exports.toObject=function toObject(map){if(map instanceof ObjectWrappingMap)return map.wrappedObject;var _step,object={},_iterator=_createForOfIteratorHelper(map.keys());try{for(_iterator.s();!(_step=_iterator.n()).done;){var key=_step.value,value=map.get(key);(0,_customs.setSafeProperty)(object,key,value)}}catch(err){_iterator.e(err)}finally{_iterator.f()}return object},exports.isMap=isMap,exports.assign=function assign(map){for(var _len=arguments.length,objects=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)objects[_key-1]=arguments[_key];for(var _i=0,_objects=objects;_i<_objects.length;_i++){var args=_objects[_i];if(args)if(isMap(args)){var _step2,_iterator2=_createForOfIteratorHelper(args.keys());try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var key=_step2.value;map.set(key,args.get(key))}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}else if((0,_is.isObject)(args))for(var _i2=0,_Object$keys=Object.keys(args);_i2<_Object$keys.length;_i2++){var _key2=_Object$keys[_i2];map.set(_key2,args[_key2])}}return map},exports.ObjectWrappingMap=void 0;var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")),_createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass")),_customs=require("./customs.js"),_is=require("./is.js");function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?1:x<0?-1:0};exports.sign=sign;var log2=Math.log2||function log2(x){return Math.log(x)/Math.LN2};exports.log2=log2;var log10=Math.log10||function log10(x){return Math.log(x)/Math.LN10};exports.log10=log10;var log1p=Math.log1p||function(x){return Math.log(x+1)};exports.log1p=log1p;var cbrt=Math.cbrt||function cbrt(x){if(0===x)return x;var result,negate=x<0;return negate&&(x=-x),result=isFinite(x)?(x/((result=Math.exp(Math.log(x)/3))*result)+2*result)/3:x,negate?-result:result};exports.cbrt=cbrt;var expm1=Math.expm1||function expm1(x){return x>=2e-4||x<=-2e-4?Math.exp(x)-1:x+x*x/2+x*x*x/6};function formatNumberToBase(n,base,size){var prefix={2:"0b",8:"0o",16:"0x"}[base],suffix="";if(size){if(size<1)throw new Error("size must be in greater than 0");if(!isInteger(size))throw new Error("size must be an integer");if(n>Math.pow(2,size-1)-1||n<-Math.pow(2,size-1))throw new Error("Value must be in range [-2^".concat(size-1,", 2^").concat(size-1,"-1]"));if(!isInteger(n))throw new Error("Value must be an integer");n<0&&(n+=Math.pow(2,size)),suffix="i".concat(size)}var sign="";return n<0&&(n=-n,sign="-"),"".concat(sign).concat(prefix).concat(n.toString(base)).concat(suffix)}function splitNumber(value){var match=String(value).toLowerCase().match(/^0*?(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!match)throw new SyntaxError("Invalid number "+value);var sign=match[1],digits=match[2],exponent=parseFloat(match[4]||"0"),dot=digits.indexOf(".");exponent+=-1!==dot?dot-1:digits.length-1;var coefficients=digits.replace(".","").replace(/^0*/,(function(zeros){return exponent-=zeros.length,""})).replace(/0*$/,"").split("").map((function(d){return parseInt(d)}));return 0===coefficients.length&&(coefficients.push(0),exponent++),{sign:sign,coefficients:coefficients,exponent:exponent}}function toEngineering(value,precision){if(isNaN(value)||!isFinite(value))return String(value);var rounded=roundDigits(splitNumber(value),precision),e=rounded.exponent,c=rounded.coefficients,newExp=e%3==0?e:e<0?e-3-e%3:e-e%3;if((0,_is.isNumber)(precision))for(;precision>c.length||e-newExp+1>c.length;)c.push(0);else for(var missingZeros=Math.abs(e-newExp)-(c.length-1),i=0;i0;)decimalIdx++,expDiff--;var decimals=c.slice(decimalIdx).join(""),decimalVal=(0,_is.isNumber)(precision)&&decimals.length||decimals.match(/[1-9]/)?"."+decimals:"",str=c.slice(0,decimalIdx).join("")+decimalVal+"e"+(e>=0?"+":"")+newExp.toString();return rounded.sign+str}function toFixed(value,precision){if(isNaN(value)||!isFinite(value))return String(value);var splitValue=splitNumber(value),rounded="number"==typeof precision?roundDigits(splitValue,splitValue.exponent+1+precision):splitValue,c=rounded.coefficients,p=rounded.exponent+1,pp=p+(precision||0);return c.length0?"."+c.join(""):"")+"e"+(e>=0?"+":"")+e}function toPrecision(value,precision,options){if(isNaN(value)||!isFinite(value))return String(value);var lowerExp=options&&void 0!==options.lowerExp?options.lowerExp:-3,upperExp=options&&void 0!==options.upperExp?options.upperExp:5,split=splitNumber(value),rounded=precision?roundDigits(split,precision):split;if(rounded.exponent=upperExp)return toExponential(value,precision);var c=rounded.coefficients,e=rounded.exponent;c.length0?e:0;return dot<(c=zeros(-e).concat(c)).length-1&&c.splice(dot+1,0,"."),rounded.sign+c.join("")}function roundDigits(split,precision){for(var rounded={sign:split.sign,coefficients:split.coefficients,exponent:split.exponent},c=rounded.coefficients;precision<=0;)c.unshift(0),rounded.exponent++,precision++;if(c.length>precision&&c.splice(precision,c.length-precision)[0]>=5){var i=precision-1;for(c[i]++;10===c[i];)c.pop(),0===i&&(c.unshift(0),rounded.exponent++,i++),c[--i]++}return rounded}function zeros(length){for(var arr=[],i=0;i0&&(child[path[path.length-1]]=value);return object}function isPath(str){return-1!==str.indexOf(".")}},{"./is.js":943,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],950:[function(require,module,exports){"use strict";Number.isFinite=Number.isFinite||function(value){return"number"==typeof value&&isFinite(value)},Number.isNaN=Number.isNaN||function(value){return value!=value}},{}],951:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.product=function product(i,n){if(n>1;return product(i,half)*product(half+1,n)}},{}],952:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubScope=function createSubScope(parentScope){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];if("function"==typeof parentScope.createSubScope)return _map.assign.apply(void 0,[parentScope.createSubScope()].concat(args));return _map.assign.apply(void 0,[(0,_map.createEmptyMap)(),parentScope].concat(args))};var _map=require("./map.js")},{"./map.js":946}],953:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.endsWith=function endsWith(text,search){var start=text.length-search.length,end=text.length;return text.substring(start,end)===search},exports.format=format,exports.stringify=function stringify(value){var text=String(value),escaped="",i=0;for(;i/g,">")},exports.compareText=function compareText(x,y){if(!(0,_is.isString)(x))throw new TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+(0,_is.typeOf)(x)+", index: 0)");if(!(0,_is.isString)(y))throw new TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+(0,_is.typeOf)(y)+", index: 1)");return x===y?0:x>y?1:-1};var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("./is.js"),_number=require("./number.js"),_formatter=require("./bignumber/formatter.js");function format(value,options){return"number"==typeof value?(0,_number.format)(value,options):(0,_is.isBigNumber)(value)?(0,_formatter.format)(value,options):function looksLikeFraction(value){return value&&"object"===(0,_typeof2.default)(value)&&"number"==typeof value.s&&"number"==typeof value.n&&"number"==typeof value.d||!1}(value)?options&&"decimal"===options.fraction?value.toString():value.s*value.n+"/"+value.d:Array.isArray(value)?formatArray(value,options):(0,_is.isString)(value)?'"'+value+'"':"function"==typeof value?value.syntax?String(value.syntax):"function":value&&"object"===(0,_typeof2.default)(value)?"function"==typeof value.format?value.format(options):value&&value.toString(options)!=={}.toString()?value.toString(options):"{"+Object.keys(value).map((function(key){return'"'+key+'": '+format(value[key],options)})).join(", ")+"}":String(value)}function formatArray(array,options){if(Array.isArray(array)){for(var str="[",len=array.length,i=0;i=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel}},exports}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch(accidentalStrictMode){Function("r","regeneratorRuntime = r")(runtime)}},{}],956:[function(require,module,exports){var alea=require("./lib/alea"),xor128=require("./lib/xor128"),xorwow=require("./lib/xorwow"),xorshift7=require("./lib/xorshift7"),xor4096=require("./lib/xor4096"),tychei=require("./lib/tychei"),sr=require("./seedrandom");sr.alea=alea,sr.xor128=xor128,sr.xorwow=xorwow,sr.xorshift7=xorshift7,sr.xor4096=xor4096,sr.tychei=tychei,module.exports=sr},{"./lib/alea":957,"./lib/tychei":958,"./lib/xor128":959,"./lib/xor4096":960,"./lib/xorshift7":961,"./lib/xorwow":962,"./seedrandom":963}],957:[function(require,module,exports){!function(global,module,define){function Alea(seed){var me=this,mash=function Mash(){var n=4022871197;return function(data){data=String(data);for(var i=0;i>>0,n=(h*=n)>>>0,n+=4294967296*(h-=n)}return 2.3283064365386963e-10*(n>>>0)}}();me.next=function(){var t=2091639*me.s0+2.3283064365386963e-10*me.c;return me.s0=me.s1,me.s1=me.s2,me.s2=t-(me.c=0|t)},me.c=1,me.s0=mash(" "),me.s1=mash(" "),me.s2=mash(" "),me.s0-=mash(seed),me.s0<0&&(me.s0+=1),me.s1-=mash(seed),me.s1<0&&(me.s1+=1),me.s2-=mash(seed),me.s2<0&&(me.s2+=1),mash=null}function copy(f,t){return t.c=f.c,t.s0=f.s0,t.s1=f.s1,t.s2=f.s2,t}function impl(seed,opts){var xg=new Alea(seed),state=opts&&opts.state,prng=xg.next;return prng.int32=function(){return 4294967296*xg.next()|0},prng.double=function(){return prng()+11102230246251565e-32*(2097152*prng()|0)},prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.alea=impl}(0,"object"==typeof module&&module,!1)},{}],958:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this,strseed="";me.next=function(){var b=me.b,c=me.c,d=me.d,a=me.a;return b=b<<25^b>>>7^c,c=c-d|0,d=d<<24^d>>>8^a,a=a-b|0,me.b=b=b<<20^b>>>12^c,me.c=c=c-d|0,me.d=d<<16^c>>>16^a,me.a=a-b|0},me.a=0,me.b=0,me.c=-1640531527,me.d=1367130551,seed===Math.floor(seed)?(me.a=seed/4294967296|0,me.b=0|seed):strseed+=seed;for(var k=0;k>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.tychei=impl}(0,"object"==typeof module&&module,!1)},{}],959:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this,strseed="";me.x=0,me.y=0,me.z=0,me.w=0,me.next=function(){var t=me.x^me.x<<11;return me.x=me.y,me.y=me.z,me.z=me.w,me.w^=me.w>>>19^t^t>>>8},seed===(0|seed)?me.x=seed:strseed+=seed;for(var k=0;k>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xor128=impl}(0,"object"==typeof module&&module,!1)},{}],960:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this;me.next=function(){var t,v,w=me.w,X=me.X,i=me.i;return me.w=w=w+1640531527|0,v=X[i+34&127],t=X[i=i+1&127],v^=v<<13,t^=t<<17,v^=v>>>15,t^=t>>>12,v=X[i]=v^t,me.i=i,v+(w^w>>>16)|0},function init(me,seed){var t,v,i,j,w,X=[],limit=128;for(seed===(0|seed)?(v=seed,seed=null):(seed+="\0",v=0,limit=Math.max(limit,seed.length)),i=0,j=-32;j>>15,v^=v<<4,v^=v>>>13,j>=0&&(w=w+1640531527|0,i=0==(t=X[127&j]^=v+w)?i+1:0);for(i>=128&&(X[127&(seed&&seed.length||0)]=-1),i=127,j=512;j>0;--j)v=X[i+34&127],t=X[i=i+1&127],v^=v<<13,t^=t<<17,v^=v>>>15,t^=t>>>12,X[i]=v^t;me.w=w,me.X=X,me.i=i}(me,seed)}function copy(f,t){return t.i=f.i,t.w=f.w,t.X=f.X.slice(),t}function impl(seed,opts){null==seed&&(seed=+new Date);var xg=new XorGen(seed),state=opts&&opts.state,prng=function(){return(xg.next()>>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&(state.X&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xor4096=impl}(0,"object"==typeof module&&module,!1)},{}],961:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this;me.next=function(){var t,v,X=me.x,i=me.i;return t=X[i],v=(t^=t>>>7)^t<<24,v^=(t=X[i+1&7])^t>>>10,v^=(t=X[i+3&7])^t>>>3,v^=(t=X[i+4&7])^t<<7,t=X[i+7&7],v^=(t^=t<<13)^t<<9,X[i]=v,me.i=i+1&7,v},function init(me,seed){var j,X=[];if(seed===(0|seed))X[0]=seed;else for(seed=""+seed,j=0;j0;--j)me.next()}(me,seed)}function copy(f,t){return t.x=f.x.slice(),t.i=f.i,t}function impl(seed,opts){null==seed&&(seed=+new Date);var xg=new XorGen(seed),state=opts&&opts.state,prng=function(){return(xg.next()>>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&(state.x&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xorshift7=impl}(0,"object"==typeof module&&module,!1)},{}],962:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this,strseed="";me.next=function(){var t=me.x^me.x>>>2;return me.x=me.y,me.y=me.z,me.z=me.w,me.w=me.v,(me.d=me.d+362437|0)+(me.v=me.v^me.v<<4^t^t<<1)|0},me.x=0,me.y=0,me.z=0,me.w=0,me.v=0,seed===(0|seed)?me.x=seed:strseed+=seed;for(var k=0;k>>4),me.next()}function copy(f,t){return t.x=f.x,t.y=f.y,t.z=f.z,t.w=f.w,t.v=f.v,t.d=f.d,t}function impl(seed,opts){var xg=new XorGen(seed),state=opts&&opts.state,prng=function(){return(xg.next()>>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xorwow=impl}(0,"object"==typeof module&&module,!1)},{}],963:[function(require,module,exports){!function(global,pool,math){var nodecrypto,startdenom=math.pow(256,6),significance=math.pow(2,52),overflow=2*significance;function seedrandom(seed,options,callback){var key=[],shortseed=mixkey(flatten((options=1==options?{entropy:!0}:options||{}).entropy?[seed,tostring(pool)]:null==seed?function autoseed(){try{var out;return nodecrypto&&(out=nodecrypto.randomBytes)?out=out(256):(out=new Uint8Array(256),(global.crypto||global.msCrypto).getRandomValues(out)),tostring(out)}catch(e){var browser=global.navigator,plugins=browser&&browser.plugins;return[+new Date,global,plugins,global.screen,tostring(pool)]}}():seed,3),key),arc4=new ARC4(key),prng=function(){for(var n=arc4.g(6),d=startdenom,x=0;n=overflow;)n/=2,d/=2,x>>>=1;return(n+x)/d};return prng.int32=function(){return 0|arc4.g(4)},prng.quick=function(){return arc4.g(4)/4294967296},prng.double=prng,mixkey(tostring(arc4.S),pool),(options.pass||callback||function(prng,seed,is_math_call,state){return state&&(state.S&©(state,arc4),prng.state=function(){return copy(arc4,{})}),is_math_call?(math.random=prng,seed):prng})(prng,shortseed,"global"in options?options.global:this==math,options.state)}function ARC4(key){var t,keylen=key.length,me=this,i=0,j=me.i=me.j=0,s=me.S=[];for(keylen||(key=[keylen++]);i<256;)s[i]=i++;for(i=0;i<256;i++)s[i]=s[j=255&j+key[i%keylen]+(t=s[i])],s[j]=t;(me.g=function(count){for(var t,r=0,i=me.i,j=me.j,s=me.S;count--;)t=s[i=255&i+1],r=256*r+s[255&(s[i]=s[j=255&j+t])+(s[j]=t)];return me.i=i,me.j=j,r})(256)}function copy(f,t){return t.i=f.i,t.j=f.j,t.S=f.S.slice(),t}function flatten(obj,depth){var prop,result=[],typ=typeof obj;if(depth&&"object"==typ)for(prop in obj)try{result.push(flatten(obj[prop],depth-1))}catch(e){}return result.length?result:"string"==typ?obj:obj+"\0"}function mixkey(seed,key){for(var smear,stringseed=seed+"",j=0;j3?param.slice(3):"any":param).split("|").map(trim).filter(notEmpty).filter(notIgnore),matchingConversions=function filterConversions(conversions,typeNames){var matches={};return conversions.forEach((function(conversion){-1!==typeNames.indexOf(conversion.from)||-1===typeNames.indexOf(conversion.to)||matches[conversion.from]||(matches[conversion.from]=conversion)})),Object.keys(matches).map((function(from){return matches[from]}))}(conversions,typeNames),exactTypes=typeNames.map((function(typeName){var type=findTypeByName(typeName);return{name:typeName,typeIndex:findTypeIndex(type),test:type.test,conversion:null,conversionIndex:-1}})),convertibleTypes=matchingConversions.map((function(conversion){var type=findTypeByName(conversion.from);return{name:conversion.from,typeIndex:findTypeIndex(type),test:type.test,conversion:conversion,conversionIndex:conversions.indexOf(conversion)}}));return{types:exactTypes.concat(convertibleTypes),restParam:restParam}}function hasRestParam(params){var param=last(params);return!!param&¶m.restParam}function hasConversions(param){return param.types.some((function(type){return null!=type.conversion}))}function compileTest(param){if(param&&0!==param.types.length){if(1===param.types.length)return findTypeByName(param.types[0].name).test;if(2===param.types.length){var test0=findTypeByName(param.types[0].name).test,test1=findTypeByName(param.types[1].name).test;return function or(x){return test0(x)||test1(x)}}var tests=param.types.map((function(type){return findTypeByName(type.name).test}));return function or(x){for(var i=0;i=varIndex+1}}return 0===params.length?function testArgs(args){return 0===args.length}:1===params.length?(test0=compileTest(params[0]),function testArgs(args){return test0(args[0])&&1===args.length}):2===params.length?(test0=compileTest(params[0]),test1=compileTest(params[1]),function testArgs(args){return test0(args[0])&&test1(args[1])&&2===args.length}):(tests=params.map(compileTest),function testArgs(args){for(var i=0;i0){var actualType=findTypeName(args[index]);return(err=new TypeError("Unexpected type of argument in function "+_name+" (expected: "+expected.join(" or ")+", actual: "+actualType+", index: "+index+")")).data={category:"wrongType",fn:_name,index:index,actual:actualType,expected:expected},err}}else matchingSignatures=nextMatchingDefs}var lengths=matchingSignatures.map((function(signature){return hasRestParam(signature.params)?1/0:signature.params.length}));if(args.lengthmaxLength?((err=new TypeError("Too many arguments in function "+_name+" (expected: "+maxLength+", actual: "+args.length+")")).data={category:"tooManyArgs",fn:_name,index:args.length,expectedLength:maxLength},err):((err=new TypeError('Arguments of type "'+args.join(", ")+'" do not match any of the defined signatures of function '+_name+".")).data={category:"mismatch",actual:args.map(findTypeName)},err)}function getLowestTypeIndex(param){for(var min=999,i=0;i=len1:restParam2?len1>=len2:len1===len2}(s,parsedSignature)}));if(conflictingSignature)throw new TypeError('Conflicting signatures "'+stringifyParams(conflictingSignature.params)+'" and "'+stringifyParams(parsedSignature.params)+'".');parsedSignatures.push(parsedSignature)}));var signatures=flatMap(parsedSignatures,(function(parsedSignature){return(parsedSignature?splitParams(parsedSignature.params,!1):[]).map((function(params){return{params:params,fn:parsedSignature.fn}}))})).filter(notNull);signatures.sort(compareSignatures);var ok0=signatures[0]&&signatures[0].params.length<=2&&!hasRestParam(signatures[0].params),ok1=signatures[1]&&signatures[1].params.length<=2&&!hasRestParam(signatures[1].params),ok2=signatures[2]&&signatures[2].params.length<=2&&!hasRestParam(signatures[2].params),ok3=signatures[3]&&signatures[3].params.length<=2&&!hasRestParam(signatures[3].params),ok4=signatures[4]&&signatures[4].params.length<=2&&!hasRestParam(signatures[4].params),ok5=signatures[5]&&signatures[5].params.length<=2&&!hasRestParam(signatures[5].params),allOk=ok0&&ok1&&ok2&&ok3&&ok4&&ok5,tests=signatures.map((function(signature){return compileTests(signature.params)})),test00=ok0?compileTest(signatures[0].params[0]):notOk,test10=ok1?compileTest(signatures[1].params[0]):notOk,test20=ok2?compileTest(signatures[2].params[0]):notOk,test30=ok3?compileTest(signatures[3].params[0]):notOk,test40=ok4?compileTest(signatures[4].params[0]):notOk,test50=ok5?compileTest(signatures[5].params[0]):notOk,test01=ok0?compileTest(signatures[0].params[1]):notOk,test11=ok1?compileTest(signatures[1].params[1]):notOk,test21=ok2?compileTest(signatures[2].params[1]):notOk,test31=ok3?compileTest(signatures[3].params[1]):notOk,test41=ok4?compileTest(signatures[4].params[1]):notOk,test51=ok5?compileTest(signatures[5].params[1]):notOk,fns=signatures.map((function(signature){return function compileArgsPreprocessing(params,fn){var fnConvert=fn;if(params.some(hasConversions)){var restParam=hasRestParam(params),compiledConversions=params.map(compileArgConversion);fnConvert=function convertArgs(){for(var args=[],last=restParam?arguments.length-1:arguments.length,i=0;i1&&(factors[n]=(factors[n]||0)+1):factors[num]=(factors[num]||0)+1,factors}var parse=function(p1,p2){var M,n=0,d=1,s=1,v=0,w=0,x=0,y=1,z=1,A=0,B=1,C=1,D=1,N=1e7;if(null==p1);else if(void 0!==p2)s=(n=p1)*(d=p2);else switch(typeof p1){case"object":"d"in p1&&"n"in p1?(n=p1.n,d=p1.d,"s"in p1&&(n*=p1.s)):0 in p1?(n=p1[0],1 in p1&&(d=p1[1])):throwInvalidParam(),s=n*d;break;case"number":if(p1<0&&(s=p1,p1=-p1),p1%1==0)n=p1;else if(p1>0){for(p1>=1&&(p1/=z=Math.pow(10,Math.floor(1+Math.log(p1)/Math.LN10)));B<=N&&D<=N;){if(p1===(M=(A+C)/(B+D))){B+D<=N?(n=A+C,d=B+D):D>B?(n=C,d=D):(n=A,d=B);break}p1>M?(A+=C,B+=D):(C+=A,D+=B),B>N?(n=C,d=D):(n=A,d=B)}n*=z}else(isNaN(p1)||isNaN(p2))&&(d=n=NaN);break;case"string":if(null===(B=p1.match(/\d+|./g))&&throwInvalidParam(),"-"===B[A]?(s=-1,A++):"+"===B[A]&&A++,B.length===A+1?w=assign(B[A++],s):"."===B[A+1]||"."===B[A]?("."!==B[A]&&(v=assign(B[A++],s)),(++A+1===B.length||"("===B[A+1]&&")"===B[A+3]||"'"===B[A+1]&&"'"===B[A+3])&&(w=assign(B[A],s),y=Math.pow(10,B[A].length),A++),("("===B[A]&&")"===B[A+2]||"'"===B[A]&&"'"===B[A+2])&&(x=assign(B[A+1],s),z=Math.pow(10,B[A+1].length)-1,A+=3)):"/"===B[A+1]||":"===B[A+1]?(w=assign(B[A],s),y=assign(B[A+2],1),A+=3):"/"===B[A+3]&&" "===B[A+1]&&(v=assign(B[A],s),w=assign(B[A+2],s),y=assign(B[A+4],1),A+=5),B.length<=A){s=n=x+(d=y*z)*v+z*w;break}default:throwInvalidParam()}if(0===d)throw new DivisionByZero;P.s=s<0?-1:1,P.n=Math.abs(n),P.d=Math.abs(d)};function gcd(a,b){if(!a)return b;if(!b)return a;for(;;){if(!(a%=b))return b;if(!(b%=a))return a}}function Fraction(a,b){if(!(this instanceof Fraction))return new Fraction(a,b);parse(a,b),a=Fraction.REDUCE?gcd(P.d,P.n):1,this.s=P.s,this.n=P.n/a,this.d=P.d/a}Fraction.REDUCE=1,Fraction.prototype={s:1,n:0,d:1,abs:function(){return new Fraction(this.n,this.d)},neg:function(){return new Fraction(-this.s*this.n,this.d)},add:function(a,b){return parse(a,b),new Fraction(this.s*this.n*P.d+P.s*this.d*P.n,this.d*P.d)},sub:function(a,b){return parse(a,b),new Fraction(this.s*this.n*P.d-P.s*this.d*P.n,this.d*P.d)},mul:function(a,b){return parse(a,b),new Fraction(this.s*P.s*this.n*P.n,this.d*P.d)},div:function(a,b){return parse(a,b),new Fraction(this.s*P.s*this.n*P.d,this.d*P.n)},clone:function(){return new Fraction(this)},mod:function(a,b){return isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):void 0===a?new Fraction(this.s*this.n%this.d,1):(parse(a,b),0===P.n&&0===this.d&&Fraction(0,0),new Fraction(this.s*(P.d*this.n)%(P.n*this.d),P.d*this.d))},gcd:function(a,b){return parse(a,b),new Fraction(gcd(P.n,this.n)*gcd(P.d,this.d),P.d*this.d)},lcm:function(a,b){return parse(a,b),0===P.n&&0===this.n?new Fraction:new Fraction(P.n*this.n,gcd(P.n,this.n)*gcd(P.d,this.d))},ceil:function(places){return places=Math.pow(10,places||0),isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):new Fraction(Math.ceil(places*this.s*this.n/this.d),places)},floor:function(places){return places=Math.pow(10,places||0),isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):new Fraction(Math.floor(places*this.s*this.n/this.d),places)},round:function(places){return places=Math.pow(10,places||0),isNaN(this.n)||isNaN(this.d)?new Fraction(NaN):new Fraction(Math.round(places*this.s*this.n/this.d),places)},inverse:function(){return new Fraction(this.s*this.d,this.n)},pow:function(a,b){if(parse(a,b),1===P.d)return P.s<0?new Fraction(Math.pow(this.s*this.d,P.n),Math.pow(this.n,P.n)):new Fraction(Math.pow(this.s*this.n,P.n),Math.pow(this.d,P.n));if(this.s<0)return null;var N=factorize(this.n),D=factorize(this.d),n=1,d=1;for(var k in N)if("1"!==k){if("0"===k){n=0;break}if(N[k]*=P.n,N[k]%P.d!=0)return null;N[k]/=P.d,n*=Math.pow(k,N[k])}for(var k in D)if("1"!==k){if(D[k]*=P.n,D[k]%P.d!=0)return null;D[k]/=P.d,d*=Math.pow(k,D[k])}return P.s<0?new Fraction(d,n):new Fraction(n,d)},equals:function(a,b){return parse(a,b),this.s*this.n*P.d==P.s*P.n*this.d},compare:function(a,b){parse(a,b);var t=this.s*this.n*P.d-P.s*P.n*this.d;return(00&&(str+=whole,str+=" ",n%=d),str+=n,str+="/",str+=d),str},toLatex:function(excludeWhole){var whole,str="",n=this.n,d=this.d;return this.s<0&&(str+="-"),1===d?str+=n:(excludeWhole&&(whole=Math.floor(n/d))>0&&(str+=whole,n%=d),str+="\\frac{",str+=n,str+="}{",str+=d,str+="}"),str},toContinued:function(){var t,a=this.n,b=this.d,res=[];if(isNaN(a)||isNaN(b))return res;do{res.push(Math.floor(a/b)),t=a%b,a=b,b=t}while(1!==a);return res},toString:function(dec){var g,N=this.n,D=this.d;if(isNaN(N)||isNaN(D))return"NaN";Fraction.REDUCE||(N/=g=gcd(N,D),D/=g),dec=dec||15;var cycLen=function cycleLen(n,d){for(;d%2==0;d/=2);for(;d%5==0;d/=5);if(1===d)return 0;for(var rem=10%d,t=1;1!==rem;t++)if(rem=10*rem%d,t>2e3)return 0;return t}(0,D),cycOff=function cycleStart(n,d,len){for(var rem1=1,rem2=function modpow(b,e,m){for(var r=1;e>0;b=b*b%m,e>>=1)1&e&&(r=r*b%m);return r}(10,len,d),t=0;t<300;t++){if(rem1===rem2)return t;rem1=10*rem1%d,rem2=10*rem2%d}return 0}(0,D,cycLen),str=-1===this.s?"-":"";if(str+=N/D|0,N%=D,(N*=10)&&(str+="."),cycLen){for(var i=cycOff;i--;)str+=N/D|0,N%=D,N*=10;str+="(";for(i=cycLen;i--;)str+=N/D|0,N%=D,N*=10;str+=")"}else for(i=dec;N&&i--;)str+=N/D|0,N%=D,N*=10;return str}},"object"==typeof exports?(Object.defineProperty(Fraction,"__esModule",{value:!0}),Fraction.default=Fraction,Fraction.Fraction=Fraction,module.exports=Fraction):root.Fraction=Fraction}(this)},{}],32:[function(require,module,exports){!function(exports){const _2PI=2*Math.PI;exports((function generateGaussian(mean,std){var u1=Math.random(),u2=Math.random(),z0=Math.sqrt(-2*Math.log(u1))*Math.cos(_2PI*u2);return Math.sqrt(-2*Math.log(u1)),Math.sin(_2PI*u2),z0*std+mean}))}(void 0!==exports?function(e){module.exports=e}:function(e){this.boxmuller=e})},{}],33:[function(require,module,exports){!function(exports){const generateGaussian=require("./box-muller");var erfc=function(x){var z=Math.abs(x),t=1/(1+z/2),r=t*Math.exp(-z*z-1.26551223+t*(1.00002368+t*(.37409196+t*(.09678418+t*(t*(.27886807+t*(t*(1.48851587+t*(.17087277*t-.82215223))-1.13520398))-.18628806)))));return x>=0?r:2-r},Gaussian=function(mean,variance){if(variance<=0)throw new Error("Variance must be > 0 (but was "+variance+")");this.mean=mean,this.variance=variance,this.standardDeviation=Math.sqrt(variance)};Gaussian.prototype.pdf=function(x){var m=this.standardDeviation*Math.sqrt(2*Math.PI);return Math.exp(-Math.pow(x-this.mean,2)/(2*this.variance))/m},Gaussian.prototype.cdf=function(x){return.5*erfc(-(x-this.mean)/(this.standardDeviation*Math.sqrt(2)))},Gaussian.prototype.ppf=function(x){return this.mean-this.standardDeviation*Math.sqrt(2)*function(x){if(x>=2)return-100;if(x<=0)return 100;for(var xx=x<1?x:2-x,t=Math.sqrt(-2*Math.log(xx/2)),r=-.70711*((2.30753+.27061*t)/(1+t*(.99229+.04481*t))-t),j=0;j<2;j++){var err=erfc(r)-xx;r+=err/(1.1283791670955126*Math.exp(-r*r)-r*err)}return x<1?r:-r}(2*x)},Gaussian.prototype.mul=function(d){if("number"==typeof d)return this.scale(d);var precision=1/this.variance,dprecision=1/d.variance;return fromPrecisionMean(precision+dprecision,precision*this.mean+dprecision*d.mean)},Gaussian.prototype.div=function(d){if("number"==typeof d)return this.scale(1/d);var precision=1/this.variance,dprecision=1/d.variance;return fromPrecisionMean(precision-dprecision,precision*this.mean-dprecision*d.mean)},Gaussian.prototype.add=function(d){return gaussian(this.mean+d.mean,this.variance+d.variance)},Gaussian.prototype.sub=function(d){return gaussian(this.mean-d.mean,this.variance+d.variance)},Gaussian.prototype.scale=function(c){return gaussian(this.mean*c,this.variance*c*c)},Gaussian.prototype.random=function(num){let mean=this.mean,std=this.standardDeviation;return Array(num).fill(0).map((()=>generateGaussian(mean,std)))};var gaussian=function(mean,variance){return new Gaussian(mean,variance)},fromPrecisionMean=function(precision,precisionmean){return gaussian(precisionmean/precision,1/precision)};exports(gaussian)}(void 0!==exports?function(e){module.exports=e}:function(e){this.gaussian=e})},{"./box-muller":32}],34:[function(require,module,exports){module.exports=function naturalSort(a,b){"use strict";var oFxNcL,oFyNcL,re=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,sre=/(^[ ]*|[ ]*$)/g,dre=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,hre=/^0x[0-9a-f]+$/i,ore=/^0/,i=function(s){return naturalSort.insensitive&&(""+s).toLowerCase()||""+s},x=i(a).replace(sre,"")||"",y=i(b).replace(sre,"")||"",xN=x.replace(re,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),yN=y.replace(re,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),xD=parseInt(x.match(hre),16)||1!==xN.length&&x.match(dre)&&Date.parse(x),yD=parseInt(y.match(hre),16)||xD&&y.match(dre)&&Date.parse(y)||null;if(yD){if(xDyD)return 1}for(var cLoc=0,numS=Math.max(xN.length,yN.length);cLocoFyNcL)return 1}return 0}},{}],35:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createVersion=exports.createUppercaseE=exports.createUppercasePi=exports.createI=exports.createSQRT2=exports.createSQRT1_2=exports.createLOG10E=exports.createLOG2E=exports.createLN10=exports.createLN2=exports.createPhi=exports.createE=exports.createTau=exports.createPi=exports.createNaN=exports.createInfinity=exports.createNull=exports.createFalse=exports.createTrue=void 0;var _factory=require("./utils/factory.js"),_version=require("./version.js"),_constants=require("./utils/bignumber/constants.js"),_index=require("./plain/number/index.js"),createTrue=(0,_factory.factory)("true",[],(function(){return!0}));exports.createTrue=createTrue;var createFalse=(0,_factory.factory)("false",[],(function(){return!1}));exports.createFalse=createFalse;var createNull=(0,_factory.factory)("null",[],(function(){return null}));exports.createNull=createNull;var createInfinity=recreateFactory("Infinity",["config","?BigNumber"],(function(_ref){var config=_ref.config,BigNumber=_ref.BigNumber;return"BigNumber"===config.number?new BigNumber(1/0):1/0}));exports.createInfinity=createInfinity;var createNaN=recreateFactory("NaN",["config","?BigNumber"],(function(_ref2){var config=_ref2.config,BigNumber=_ref2.BigNumber;return"BigNumber"===config.number?new BigNumber(NaN):NaN}));exports.createNaN=createNaN;var createPi=recreateFactory("pi",["config","?BigNumber"],(function(_ref3){var config=_ref3.config,BigNumber=_ref3.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberPi)(BigNumber):_index.pi}));exports.createPi=createPi;var createTau=recreateFactory("tau",["config","?BigNumber"],(function(_ref4){var config=_ref4.config,BigNumber=_ref4.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberTau)(BigNumber):_index.tau}));exports.createTau=createTau;var createE=recreateFactory("e",["config","?BigNumber"],(function(_ref5){var config=_ref5.config,BigNumber=_ref5.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberE)(BigNumber):_index.e}));exports.createE=createE;var createPhi=recreateFactory("phi",["config","?BigNumber"],(function(_ref6){var config=_ref6.config,BigNumber=_ref6.BigNumber;return"BigNumber"===config.number?(0,_constants.createBigNumberPhi)(BigNumber):_index.phi}));exports.createPhi=createPhi;var createLN2=recreateFactory("LN2",["config","?BigNumber"],(function(_ref7){var config=_ref7.config,BigNumber=_ref7.BigNumber;return"BigNumber"===config.number?new BigNumber(2).ln():Math.LN2}));exports.createLN2=createLN2;var createLN10=recreateFactory("LN10",["config","?BigNumber"],(function(_ref8){var config=_ref8.config,BigNumber=_ref8.BigNumber;return"BigNumber"===config.number?new BigNumber(10).ln():Math.LN10}));exports.createLN10=createLN10;var createLOG2E=recreateFactory("LOG2E",["config","?BigNumber"],(function(_ref9){var config=_ref9.config,BigNumber=_ref9.BigNumber;return"BigNumber"===config.number?new BigNumber(1).div(new BigNumber(2).ln()):Math.LOG2E}));exports.createLOG2E=createLOG2E;var createLOG10E=recreateFactory("LOG10E",["config","?BigNumber"],(function(_ref10){var config=_ref10.config,BigNumber=_ref10.BigNumber;return"BigNumber"===config.number?new BigNumber(1).div(new BigNumber(10).ln()):Math.LOG10E}));exports.createLOG10E=createLOG10E;var createSQRT1_2=recreateFactory("SQRT1_2",["config","?BigNumber"],(function(_ref11){var config=_ref11.config,BigNumber=_ref11.BigNumber;return"BigNumber"===config.number?new BigNumber("0.5").sqrt():Math.SQRT1_2}));exports.createSQRT1_2=createSQRT1_2;var createSQRT2=recreateFactory("SQRT2",["config","?BigNumber"],(function(_ref12){var config=_ref12.config,BigNumber=_ref12.BigNumber;return"BigNumber"===config.number?new BigNumber(2).sqrt():Math.SQRT2}));exports.createSQRT2=createSQRT2;var createI=recreateFactory("i",["Complex"],(function(_ref13){return _ref13.Complex.I}));exports.createI=createI;var createUppercasePi=(0,_factory.factory)("PI",["pi"],(function(_ref14){return _ref14.pi}));exports.createUppercasePi=createUppercasePi;var createUppercaseE=(0,_factory.factory)("E",["e"],(function(_ref15){return _ref15.e}));exports.createUppercaseE=createUppercaseE;var createVersion=(0,_factory.factory)("version",[],(function(){return _version.version}));function recreateFactory(name,dependencies,create){return(0,_factory.factory)(name,dependencies,create,{recreateOnConfigChange:!0})}exports.createVersion=createVersion},{"./plain/number/index.js":884,"./utils/bignumber/constants.js":934,"./utils/factory.js":941,"./version.js":954}],36:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_CONFIG=void 0;exports.DEFAULT_CONFIG={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null}},{}],37:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_typeof=require("@babel/runtime/helpers/typeof");Object.defineProperty(exports,"__esModule",{value:!0}),exports.create=function create(factories,config){var configInternal=(0,_extends2.default)({},_config2.DEFAULT_CONFIG,config);if("function"!=typeof Object.create)throw new Error("ES5 not supported by this JavaScript engine. Please load the es5-shim and es5-sham library for compatibility.");var math=emitter.mixin({isNumber:_is.isNumber,isComplex:_is.isComplex,isBigNumber:_is.isBigNumber,isFraction:_is.isFraction,isUnit:_is.isUnit,isString:_is.isString,isArray:_is.isArray,isMatrix:_is.isMatrix,isCollection:_is.isCollection,isDenseMatrix:_is.isDenseMatrix,isSparseMatrix:_is.isSparseMatrix,isRange:_is.isRange,isIndex:_is.isIndex,isBoolean:_is.isBoolean,isResultSet:_is.isResultSet,isHelp:_is.isHelp,isFunction:_is.isFunction,isDate:_is.isDate,isRegExp:_is.isRegExp,isObject:_is.isObject,isNull:_is.isNull,isUndefined:_is.isUndefined,isAccessorNode:_is.isAccessorNode,isArrayNode:_is.isArrayNode,isAssignmentNode:_is.isAssignmentNode,isBlockNode:_is.isBlockNode,isConditionalNode:_is.isConditionalNode,isConstantNode:_is.isConstantNode,isFunctionAssignmentNode:_is.isFunctionAssignmentNode,isFunctionNode:_is.isFunctionNode,isIndexNode:_is.isIndexNode,isNode:_is.isNode,isObjectNode:_is.isObjectNode,isOperatorNode:_is.isOperatorNode,isParenthesisNode:_is.isParenthesisNode,isRangeNode:_is.isRangeNode,isSymbolNode:_is.isSymbolNode,isChain:_is.isChain});math.config=(0,_config.configFactory)(configInternal,math.emit),math.expression={transform:{},mathWithTransform:{config:math.config}};var legacyFactories=[],legacyInstances=[];var importedFactories={};var internalImport=(0,_import.importFactory)((function lazyTyped(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return math.typed.apply(math.typed,args)}),(function load(factory){if((0,_factory.isFactory)(factory))return factory(math);var firstProperty=factory[Object.keys(factory)[0]];if((0,_factory.isFactory)(firstProperty))return firstProperty(math);if(!(0,_object.isLegacyFactory)(factory))throw console.warn("Factory object with properties `type`, `name`, and `factory` expected",factory),new Error("Factory object with properties `type`, `name`, and `factory` expected");var instance,index=legacyFactories.indexOf(factory);return-1===index?(instance=!0===factory.math?factory.factory(math.type,configInternal,load,math.typed,math):factory.factory(math.type,configInternal,load,math.typed),legacyFactories.push(factory),legacyInstances.push(instance)):instance=legacyInstances[index],instance}),math,importedFactories);return math.import=internalImport,math.on("config",(function(){(0,_object.values)(importedFactories).forEach((function(factory){factory&&factory.meta&&factory.meta.recreateOnConfigChange&&internalImport(factory,{override:!0})}))})),math.create=create.bind(null,factories),math.factory=_factory.factory,math.import((0,_object.values)((0,_object.deepFlatten)(factories))),math.ArgumentsError=_ArgumentsError.ArgumentsError,math.DimensionError=_DimensionError.DimensionError,math.IndexError=_IndexError.IndexError,math};var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));require("./../utils/polyfills.js");var _object=require("../utils/object.js"),emitter=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(require("./../utils/emitter.js")),_import=require("./function/import.js"),_config=require("./function/config.js"),_factory=require("../utils/factory.js"),_is=require("../utils/is.js"),_ArgumentsError=require("../error/ArgumentsError.js"),_DimensionError=require("../error/DimensionError.js"),_IndexError=require("../error/IndexError.js"),_config2=require("./config.js");function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}},{"../error/ArgumentsError.js":381,"../error/DimensionError.js":382,"../error/IndexError.js":383,"../utils/factory.js":941,"../utils/is.js":943,"../utils/object.js":949,"./../utils/emitter.js":940,"./../utils/polyfills.js":950,"./config.js":36,"./function/config.js":38,"./function/import.js":39,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],38:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.configFactory=function configFactory(config,emit){function _config(options){if(options){var prev=(0,_object.mapObject)(config,_object.clone);validateOption(options,"matrix",MATRIX_OPTIONS),validateOption(options,"number",NUMBER_OPTIONS),(0,_object.deepExtend)(config,options);var curr=(0,_object.mapObject)(config,_object.clone),changes=(0,_object.mapObject)(options,_object.clone);return emit("config",curr,prev,changes),curr}return(0,_object.mapObject)(config,_object.clone)}return _config.MATRIX_OPTIONS=MATRIX_OPTIONS,_config.NUMBER_OPTIONS=NUMBER_OPTIONS,Object.keys(_config2.DEFAULT_CONFIG).forEach((function(key){Object.defineProperty(_config,key,{get:function get(){return config[key]},enumerable:!0,configurable:!0})})),_config},exports.NUMBER_OPTIONS=exports.MATRIX_OPTIONS=void 0;var _object=require("../../utils/object.js"),_config2=require("../config.js"),MATRIX_OPTIONS=["Matrix","Array"];exports.MATRIX_OPTIONS=MATRIX_OPTIONS;var NUMBER_OPTIONS=["number","BigNumber","Fraction"];function validateOption(options,name,values){void 0===options[name]||function contains(array,item){return-1!==array.indexOf(item)}(values,options[name])||console.warn('Warning: Unknown value "'+options[name]+'" for configuration option "'+name+'". Available options: '+values.map((function(value){return JSON.stringify(value)})).join(", ")+".")}exports.NUMBER_OPTIONS=NUMBER_OPTIONS},{"../../utils/object.js":949,"../config.js":36}],39:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.importFactory=function importFactory(typed,load,math,importedFactories){function _import(name,value,options){if(options.wrap&&"function"==typeof value&&(value=function _wrap(fn){var wrapper=function wrapper(){for(var args=[],i=0,len=arguments.length;i2&&void 0!==arguments[2]?arguments[2]:factory.fn;if((0,_array.contains)(name,"."))throw new Error("Factory name should not contain a nested path. Name: "+JSON.stringify(name));var namespace=isTransformFunctionFactory(factory)?math.expression.transform:math,existingTransform=name in math.expression.transform,existing=(0,_object.hasOwnProperty)(namespace,name)?namespace[name]:void 0,resolver=function resolver(){var dependencies={};factory.dependencies.map(_factory.stripOptionalNotation).forEach((function(dependency){if((0,_array.contains)(dependency,"."))throw new Error("Factory dependency should not contain a nested path. Name: "+JSON.stringify(dependency));"math"===dependency?dependencies.math=math:"mathWithTransform"===dependency?dependencies.mathWithTransform=math.expression.mathWithTransform:"classes"===dependency?dependencies.classes=math:dependencies[dependency]=math[dependency]}));var instance=factory(dependencies);if(instance&&"function"==typeof instance.transform)throw new Error('Transforms cannot be attached to factory functions. Please create a separate function for it with exports.path="expression.transform"');if(void 0===existing||options.override)return instance;if(isTypedFunction(existing)&&isTypedFunction(instance))return typed(existing,instance);if(options.silent)return existing;throw new Error('Cannot import "'+name+'": already exists')};factory.meta&&!1===factory.meta.lazy?(namespace[name]=resolver(),existing&&existingTransform?_deleteTransform(name):(isTransformFunctionFactory(factory)||factoryAllowedInExpressions(factory))&&(0,_object.lazy)(math.expression.mathWithTransform,name,(function(){return namespace[name]}))):((0,_object.lazy)(namespace,name,resolver),existing&&existingTransform?_deleteTransform(name):(isTransformFunctionFactory(factory)||factoryAllowedInExpressions(factory))&&(0,_object.lazy)(math.expression.mathWithTransform,name,(function(){return namespace[name]}))),importedFactories[name]=factory,math.emit("import",name,resolver)}function isSupportedType(object){return"function"==typeof object||"number"==typeof object||"string"==typeof object||"boolean"==typeof object||null===object||(0,_is.isUnit)(object)||(0,_is.isComplex)(object)||(0,_is.isBigNumber)(object)||(0,_is.isFraction)(object)||(0,_is.isMatrix)(object)||Array.isArray(object)}function isTypedFunction(fn){return"function"==typeof fn&&"object"===(0,_typeof2.default)(fn.signatures)}function allowedInExpressions(name){return!(0,_object.hasOwnProperty)(unsafe,name)}function factoryAllowedInExpressions(factory){return!(-1!==factory.fn.indexOf(".")||(0,_object.hasOwnProperty)(unsafe,factory.fn)||factory.meta&&factory.meta.isClass)}function isTransformFunctionFactory(factory){return void 0!==factory&&void 0!==factory.meta&&!0===factory.meta.isTransformFunction||!1}var unsafe={expression:!0,type:!0,docs:!0,error:!0,json:!0,chain:!0};return function mathImport(functions,options){var num=arguments.length;if(1!==num&&2!==num)throw new _ArgumentsError.ArgumentsError("import",num,1,2);function flattenImports(flatValues,value,name){if(Array.isArray(value))value.forEach((function(item){return flattenImports(flatValues,item)}));else if("object"===(0,_typeof2.default)(value))for(var _name in value)(0,_object.hasOwnProperty)(value,_name)&&flattenImports(flatValues,value[_name],_name);else if((0,_factory.isFactory)(value)||void 0!==name){var flatName=(0,_factory.isFactory)(value)?isTransformFunctionFactory(value)?value.fn+".transform":value.fn:name;if((0,_object.hasOwnProperty)(flatValues,flatName)&&flatValues[flatName]!==value&&!options.silent)throw new Error('Cannot import "'+flatName+'" twice');flatValues[flatName]=value}else if(!options.silent)throw new TypeError("Factory, Object, or Array expected")}options||(options={});var flatValues={};for(var name in flattenImports(flatValues,functions),flatValues)if((0,_object.hasOwnProperty)(flatValues,name)){var value=flatValues[name];if((0,_factory.isFactory)(value))_importFactory(value,options);else if(isSupportedType(value))_import(name,value,options);else if(!options.silent)throw new TypeError("Factory, Object, or Array expected")}}};var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_ArgumentsError=require("../../error/ArgumentsError.js")},{"../../error/ArgumentsError.js":381,"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949,"@babel/runtime/helpers/defineProperty":13,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],40:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTyped=void 0;var _is=require("../../utils/is.js"),_typedFunction=_interopRequireDefault(require("typed-function")),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_map=require("../../utils/map.js"),_createTyped2=function _createTyped(){return _createTyped2=_typedFunction.default.create,_typedFunction.default},dependencies=["?BigNumber","?Complex","?DenseMatrix","?Fraction"],createTyped=(0,_factory.factory)("typed",dependencies,(function createTyped(_ref){var BigNumber=_ref.BigNumber,Complex=_ref.Complex,DenseMatrix=_ref.DenseMatrix,Fraction=_ref.Fraction,typed=_createTyped2();return typed.types=[{name:"number",test:_is.isNumber},{name:"Complex",test:_is.isComplex},{name:"BigNumber",test:_is.isBigNumber},{name:"Fraction",test:_is.isFraction},{name:"Unit",test:_is.isUnit},{name:"string",test:_is.isString},{name:"Chain",test:_is.isChain},{name:"Array",test:_is.isArray},{name:"Matrix",test:_is.isMatrix},{name:"DenseMatrix",test:_is.isDenseMatrix},{name:"SparseMatrix",test:_is.isSparseMatrix},{name:"Range",test:_is.isRange},{name:"Index",test:_is.isIndex},{name:"boolean",test:_is.isBoolean},{name:"ResultSet",test:_is.isResultSet},{name:"Help",test:_is.isHelp},{name:"function",test:_is.isFunction},{name:"Date",test:_is.isDate},{name:"RegExp",test:_is.isRegExp},{name:"null",test:_is.isNull},{name:"undefined",test:_is.isUndefined},{name:"AccessorNode",test:_is.isAccessorNode},{name:"ArrayNode",test:_is.isArrayNode},{name:"AssignmentNode",test:_is.isAssignmentNode},{name:"BlockNode",test:_is.isBlockNode},{name:"ConditionalNode",test:_is.isConditionalNode},{name:"ConstantNode",test:_is.isConstantNode},{name:"FunctionNode",test:_is.isFunctionNode},{name:"FunctionAssignmentNode",test:_is.isFunctionAssignmentNode},{name:"IndexNode",test:_is.isIndexNode},{name:"Node",test:_is.isNode},{name:"ObjectNode",test:_is.isObjectNode},{name:"OperatorNode",test:_is.isOperatorNode},{name:"ParenthesisNode",test:_is.isParenthesisNode},{name:"RangeNode",test:_is.isRangeNode},{name:"SymbolNode",test:_is.isSymbolNode},{name:"Map",test:_map.isMap},{name:"Object",test:_is.isObject}],typed.conversions=[{from:"number",to:"BigNumber",convert:function convert(x){if(BigNumber||throwNoBignumber(x),(0,_number.digits)(x)>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+x+"). Use function bignumber(x) to convert to BigNumber.");return new BigNumber(x)}},{from:"number",to:"Complex",convert:function convert(x){return Complex||throwNoComplex(x),new Complex(x,0)}},{from:"number",to:"string",convert:function convert(x){return x+""}},{from:"BigNumber",to:"Complex",convert:function convert(x){return Complex||throwNoComplex(x),new Complex(x.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function convert(x){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function convert(x){return Complex||throwNoComplex(x),new Complex(x.valueOf(),0)}},{from:"number",to:"Fraction",convert:function convert(x){Fraction||throwNoFraction(x);var f=new Fraction(x);if(f.valueOf()!==x)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+x+"). Use function fraction(x) to convert to Fraction.");return f}},{from:"string",to:"number",convert:function convert(x){var n=Number(x);if(isNaN(n))throw new Error('Cannot convert "'+x+'" to a number');return n}},{from:"string",to:"BigNumber",convert:function convert(x){BigNumber||throwNoBignumber(x);try{return new BigNumber(x)}catch(err){throw new Error('Cannot convert "'+x+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function convert(x){Fraction||throwNoFraction(x);try{return new Fraction(x)}catch(err){throw new Error('Cannot convert "'+x+'" to Fraction')}}},{from:"string",to:"Complex",convert:function convert(x){Complex||throwNoComplex(x);try{return new Complex(x)}catch(err){throw new Error('Cannot convert "'+x+'" to Complex')}}},{from:"boolean",to:"number",convert:function convert(x){return+x}},{from:"boolean",to:"BigNumber",convert:function convert(x){return BigNumber||throwNoBignumber(x),new BigNumber(+x)}},{from:"boolean",to:"Fraction",convert:function convert(x){return Fraction||throwNoFraction(x),new Fraction(+x)}},{from:"boolean",to:"string",convert:function convert(x){return String(x)}},{from:"Array",to:"Matrix",convert:function convert(array){return DenseMatrix||function throwNoMatrix(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}(),new DenseMatrix(array)}},{from:"Matrix",to:"Array",convert:function convert(matrix){return matrix.valueOf()}}],typed}));function throwNoBignumber(x){throw new Error("Cannot convert value ".concat(x," into a BigNumber: no class 'BigNumber' provided"))}function throwNoComplex(x){throw new Error("Cannot convert value ".concat(x," into a Complex number: no class 'Complex' provided"))}function throwNoFraction(x){throw new Error("Cannot convert value ".concat(x," into a Fraction, no class 'Fraction' provided."))}exports.createTyped=createTyped},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/map.js":946,"../../utils/number.js":948,"@babel/runtime/helpers/interopRequireDefault":15,"typed-function":965}],41:[function(require,module,exports){"use strict";var _typeof=require("@babel/runtime/helpers/typeof");function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.all=void 0;var all=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(require("../factoriesAny.js"));exports.all=all},{"../factoriesAny.js":654,"@babel/runtime/helpers/typeof":22}],42:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.config=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_config=require("../core/config.js"),_config2=require("../core/function/config.js"),config=function config(options){if(options)throw new Error("The global config is readonly. \nPlease create a mathjs instance if you want to change the default configuration. \nExample:\n\n import { create, all } from 'mathjs';\n const mathjs = create(all);\n mathjs.config({ number: 'BigNumber' });\n");return Object.freeze(_config.DEFAULT_CONFIG)};exports.config=config,(0,_extends2.default)(config,_config.DEFAULT_CONFIG,{MATRIX_OPTIONS:_config2.MATRIX_OPTIONS,NUMBER_OPTIONS:_config2.NUMBER_OPTIONS})},{"../core/config.js":36,"../core/function/config.js":38,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15}],43:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"typedDependencies",{enumerable:!0,get:function get(){return _dependenciesTypedGenerated.typedDependencies}}),Object.defineProperty(exports,"ResultSetDependencies",{enumerable:!0,get:function get(){return _dependenciesResultSetGenerated.ResultSetDependencies}}),Object.defineProperty(exports,"BigNumberDependencies",{enumerable:!0,get:function get(){return _dependenciesBigNumberClassGenerated.BigNumberDependencies}}),Object.defineProperty(exports,"ComplexDependencies",{enumerable:!0,get:function get(){return _dependenciesComplexClassGenerated.ComplexDependencies}}),Object.defineProperty(exports,"FractionDependencies",{enumerable:!0,get:function get(){return _dependenciesFractionClassGenerated.FractionDependencies}}),Object.defineProperty(exports,"RangeDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeClassGenerated.RangeDependencies}}),Object.defineProperty(exports,"MatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixClassGenerated.MatrixDependencies}}),Object.defineProperty(exports,"DenseMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies}}),Object.defineProperty(exports,"cloneDependencies",{enumerable:!0,get:function get(){return _dependenciesCloneGenerated.cloneDependencies}}),Object.defineProperty(exports,"isIntegerDependencies",{enumerable:!0,get:function get(){return _dependenciesIsIntegerGenerated.isIntegerDependencies}}),Object.defineProperty(exports,"isNegativeDependencies",{enumerable:!0,get:function get(){return _dependenciesIsNegativeGenerated.isNegativeDependencies}}),Object.defineProperty(exports,"isNumericDependencies",{enumerable:!0,get:function get(){return _dependenciesIsNumericGenerated.isNumericDependencies}}),Object.defineProperty(exports,"hasNumericValueDependencies",{enumerable:!0,get:function get(){return _dependenciesHasNumericValueGenerated.hasNumericValueDependencies}}),Object.defineProperty(exports,"isPositiveDependencies",{enumerable:!0,get:function get(){return _dependenciesIsPositiveGenerated.isPositiveDependencies}}),Object.defineProperty(exports,"isZeroDependencies",{enumerable:!0,get:function get(){return _dependenciesIsZeroGenerated.isZeroDependencies}}),Object.defineProperty(exports,"isNaNDependencies",{enumerable:!0,get:function get(){return _dependenciesIsNaNGenerated.isNaNDependencies}}),Object.defineProperty(exports,"typeOfDependencies",{enumerable:!0,get:function get(){return _dependenciesTypeOfGenerated.typeOfDependencies}}),Object.defineProperty(exports,"equalScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesEqualScalarGenerated.equalScalarDependencies}}),Object.defineProperty(exports,"SparseMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies}}),Object.defineProperty(exports,"numberDependencies",{enumerable:!0,get:function get(){return _dependenciesNumberGenerated.numberDependencies}}),Object.defineProperty(exports,"stringDependencies",{enumerable:!0,get:function get(){return _dependenciesStringGenerated.stringDependencies}}),Object.defineProperty(exports,"booleanDependencies",{enumerable:!0,get:function get(){return _dependenciesBooleanGenerated.booleanDependencies}}),Object.defineProperty(exports,"bignumberDependencies",{enumerable:!0,get:function get(){return _dependenciesBignumberGenerated.bignumberDependencies}}),Object.defineProperty(exports,"complexDependencies",{enumerable:!0,get:function get(){return _dependenciesComplexGenerated.complexDependencies}}),Object.defineProperty(exports,"fractionDependencies",{enumerable:!0,get:function get(){return _dependenciesFractionGenerated.fractionDependencies}}),Object.defineProperty(exports,"matrixDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixGenerated.matrixDependencies}}),Object.defineProperty(exports,"matrixFromFunctionDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixFromFunctionGenerated.matrixFromFunctionDependencies}}),Object.defineProperty(exports,"matrixFromRowsDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixFromRowsGenerated.matrixFromRowsDependencies}}),Object.defineProperty(exports,"matrixFromColumnsDependencies",{enumerable:!0,get:function get(){return _dependenciesMatrixFromColumnsGenerated.matrixFromColumnsDependencies}}),Object.defineProperty(exports,"splitUnitDependencies",{enumerable:!0,get:function get(){return _dependenciesSplitUnitGenerated.splitUnitDependencies}}),Object.defineProperty(exports,"unaryMinusDependencies",{enumerable:!0,get:function get(){return _dependenciesUnaryMinusGenerated.unaryMinusDependencies}}),Object.defineProperty(exports,"unaryPlusDependencies",{enumerable:!0,get:function get(){return _dependenciesUnaryPlusGenerated.unaryPlusDependencies}}),Object.defineProperty(exports,"absDependencies",{enumerable:!0,get:function get(){return _dependenciesAbsGenerated.absDependencies}}),Object.defineProperty(exports,"applyDependencies",{enumerable:!0,get:function get(){return _dependenciesApplyGenerated.applyDependencies}}),Object.defineProperty(exports,"addScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesAddScalarGenerated.addScalarDependencies}}),Object.defineProperty(exports,"cbrtDependencies",{enumerable:!0,get:function get(){return _dependenciesCbrtGenerated.cbrtDependencies}}),Object.defineProperty(exports,"ceilDependencies",{enumerable:!0,get:function get(){return _dependenciesCeilGenerated.ceilDependencies}}),Object.defineProperty(exports,"cubeDependencies",{enumerable:!0,get:function get(){return _dependenciesCubeGenerated.cubeDependencies}}),Object.defineProperty(exports,"expDependencies",{enumerable:!0,get:function get(){return _dependenciesExpGenerated.expDependencies}}),Object.defineProperty(exports,"expm1Dependencies",{enumerable:!0,get:function get(){return _dependenciesExpm1Generated.expm1Dependencies}}),Object.defineProperty(exports,"fixDependencies",{enumerable:!0,get:function get(){return _dependenciesFixGenerated.fixDependencies}}),Object.defineProperty(exports,"floorDependencies",{enumerable:!0,get:function get(){return _dependenciesFloorGenerated.floorDependencies}}),Object.defineProperty(exports,"gcdDependencies",{enumerable:!0,get:function get(){return _dependenciesGcdGenerated.gcdDependencies}}),Object.defineProperty(exports,"lcmDependencies",{enumerable:!0,get:function get(){return _dependenciesLcmGenerated.lcmDependencies}}),Object.defineProperty(exports,"log10Dependencies",{enumerable:!0,get:function get(){return _dependenciesLog10Generated.log10Dependencies}}),Object.defineProperty(exports,"log2Dependencies",{enumerable:!0,get:function get(){return _dependenciesLog2Generated.log2Dependencies}}),Object.defineProperty(exports,"modDependencies",{enumerable:!0,get:function get(){return _dependenciesModGenerated.modDependencies}}),Object.defineProperty(exports,"multiplyScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesMultiplyScalarGenerated.multiplyScalarDependencies}}),Object.defineProperty(exports,"multiplyDependencies",{enumerable:!0,get:function get(){return _dependenciesMultiplyGenerated.multiplyDependencies}}),Object.defineProperty(exports,"nthRootDependencies",{enumerable:!0,get:function get(){return _dependenciesNthRootGenerated.nthRootDependencies}}),Object.defineProperty(exports,"signDependencies",{enumerable:!0,get:function get(){return _dependenciesSignGenerated.signDependencies}}),Object.defineProperty(exports,"sqrtDependencies",{enumerable:!0,get:function get(){return _dependenciesSqrtGenerated.sqrtDependencies}}),Object.defineProperty(exports,"squareDependencies",{enumerable:!0,get:function get(){return _dependenciesSquareGenerated.squareDependencies}}),Object.defineProperty(exports,"subtractDependencies",{enumerable:!0,get:function get(){return _dependenciesSubtractGenerated.subtractDependencies}}),Object.defineProperty(exports,"xgcdDependencies",{enumerable:!0,get:function get(){return _dependenciesXgcdGenerated.xgcdDependencies}}),Object.defineProperty(exports,"dotMultiplyDependencies",{enumerable:!0,get:function get(){return _dependenciesDotMultiplyGenerated.dotMultiplyDependencies}}),Object.defineProperty(exports,"bitAndDependencies",{enumerable:!0,get:function get(){return _dependenciesBitAndGenerated.bitAndDependencies}}),Object.defineProperty(exports,"bitNotDependencies",{enumerable:!0,get:function get(){return _dependenciesBitNotGenerated.bitNotDependencies}}),Object.defineProperty(exports,"bitOrDependencies",{enumerable:!0,get:function get(){return _dependenciesBitOrGenerated.bitOrDependencies}}),Object.defineProperty(exports,"bitXorDependencies",{enumerable:!0,get:function get(){return _dependenciesBitXorGenerated.bitXorDependencies}}),Object.defineProperty(exports,"argDependencies",{enumerable:!0,get:function get(){return _dependenciesArgGenerated.argDependencies}}),Object.defineProperty(exports,"conjDependencies",{enumerable:!0,get:function get(){return _dependenciesConjGenerated.conjDependencies}}),Object.defineProperty(exports,"imDependencies",{enumerable:!0,get:function get(){return _dependenciesImGenerated.imDependencies}}),Object.defineProperty(exports,"reDependencies",{enumerable:!0,get:function get(){return _dependenciesReGenerated.reDependencies}}),Object.defineProperty(exports,"notDependencies",{enumerable:!0,get:function get(){return _dependenciesNotGenerated.notDependencies}}),Object.defineProperty(exports,"orDependencies",{enumerable:!0,get:function get(){return _dependenciesOrGenerated.orDependencies}}),Object.defineProperty(exports,"xorDependencies",{enumerable:!0,get:function get(){return _dependenciesXorGenerated.xorDependencies}}),Object.defineProperty(exports,"concatDependencies",{enumerable:!0,get:function get(){return _dependenciesConcatGenerated.concatDependencies}}),Object.defineProperty(exports,"columnDependencies",{enumerable:!0,get:function get(){return _dependenciesColumnGenerated.columnDependencies}}),Object.defineProperty(exports,"countDependencies",{enumerable:!0,get:function get(){return _dependenciesCountGenerated.countDependencies}}),Object.defineProperty(exports,"crossDependencies",{enumerable:!0,get:function get(){return _dependenciesCrossGenerated.crossDependencies}}),Object.defineProperty(exports,"diagDependencies",{enumerable:!0,get:function get(){return _dependenciesDiagGenerated.diagDependencies}}),Object.defineProperty(exports,"filterDependencies",{enumerable:!0,get:function get(){return _dependenciesFilterGenerated.filterDependencies}}),Object.defineProperty(exports,"flattenDependencies",{enumerable:!0,get:function get(){return _dependenciesFlattenGenerated.flattenDependencies}}),Object.defineProperty(exports,"forEachDependencies",{enumerable:!0,get:function get(){return _dependenciesForEachGenerated.forEachDependencies}}),Object.defineProperty(exports,"getMatrixDataTypeDependencies",{enumerable:!0,get:function get(){return _dependenciesGetMatrixDataTypeGenerated.getMatrixDataTypeDependencies}}),Object.defineProperty(exports,"identityDependencies",{enumerable:!0,get:function get(){return _dependenciesIdentityGenerated.identityDependencies}}),Object.defineProperty(exports,"kronDependencies",{enumerable:!0,get:function get(){return _dependenciesKronGenerated.kronDependencies}}),Object.defineProperty(exports,"mapDependencies",{enumerable:!0,get:function get(){return _dependenciesMapGenerated.mapDependencies}}),Object.defineProperty(exports,"diffDependencies",{enumerable:!0,get:function get(){return _dependenciesDiffGenerated.diffDependencies}}),Object.defineProperty(exports,"onesDependencies",{enumerable:!0,get:function get(){return _dependenciesOnesGenerated.onesDependencies}}),Object.defineProperty(exports,"rangeDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeGenerated.rangeDependencies}}),Object.defineProperty(exports,"reshapeDependencies",{enumerable:!0,get:function get(){return _dependenciesReshapeGenerated.reshapeDependencies}}),Object.defineProperty(exports,"resizeDependencies",{enumerable:!0,get:function get(){return _dependenciesResizeGenerated.resizeDependencies}}),Object.defineProperty(exports,"rotateDependencies",{enumerable:!0,get:function get(){return _dependenciesRotateGenerated.rotateDependencies}}),Object.defineProperty(exports,"rotationMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesRotationMatrixGenerated.rotationMatrixDependencies}}),Object.defineProperty(exports,"rowDependencies",{enumerable:!0,get:function get(){return _dependenciesRowGenerated.rowDependencies}}),Object.defineProperty(exports,"sizeDependencies",{enumerable:!0,get:function get(){return _dependenciesSizeGenerated.sizeDependencies}}),Object.defineProperty(exports,"squeezeDependencies",{enumerable:!0,get:function get(){return _dependenciesSqueezeGenerated.squeezeDependencies}}),Object.defineProperty(exports,"subsetDependencies",{enumerable:!0,get:function get(){return _dependenciesSubsetGenerated.subsetDependencies}}),Object.defineProperty(exports,"transposeDependencies",{enumerable:!0,get:function get(){return _dependenciesTransposeGenerated.transposeDependencies}}),Object.defineProperty(exports,"ctransposeDependencies",{enumerable:!0,get:function get(){return _dependenciesCtransposeGenerated.ctransposeDependencies}}),Object.defineProperty(exports,"zerosDependencies",{enumerable:!0,get:function get(){return _dependenciesZerosGenerated.zerosDependencies}}),Object.defineProperty(exports,"erfDependencies",{enumerable:!0,get:function get(){return _dependenciesErfGenerated.erfDependencies}}),Object.defineProperty(exports,"modeDependencies",{enumerable:!0,get:function get(){return _dependenciesModeGenerated.modeDependencies}}),Object.defineProperty(exports,"prodDependencies",{enumerable:!0,get:function get(){return _dependenciesProdGenerated.prodDependencies}}),Object.defineProperty(exports,"formatDependencies",{enumerable:!0,get:function get(){return _dependenciesFormatGenerated.formatDependencies}}),Object.defineProperty(exports,"binDependencies",{enumerable:!0,get:function get(){return _dependenciesBinGenerated.binDependencies}}),Object.defineProperty(exports,"octDependencies",{enumerable:!0,get:function get(){return _dependenciesOctGenerated.octDependencies}}),Object.defineProperty(exports,"hexDependencies",{enumerable:!0,get:function get(){return _dependenciesHexGenerated.hexDependencies}}),Object.defineProperty(exports,"printDependencies",{enumerable:!0,get:function get(){return _dependenciesPrintGenerated.printDependencies}}),Object.defineProperty(exports,"toDependencies",{enumerable:!0,get:function get(){return _dependenciesToGenerated.toDependencies}}),Object.defineProperty(exports,"isPrimeDependencies",{enumerable:!0,get:function get(){return _dependenciesIsPrimeGenerated.isPrimeDependencies}}),Object.defineProperty(exports,"numericDependencies",{enumerable:!0,get:function get(){return _dependenciesNumericGenerated.numericDependencies}}),Object.defineProperty(exports,"divideScalarDependencies",{enumerable:!0,get:function get(){return _dependenciesDivideScalarGenerated.divideScalarDependencies}}),Object.defineProperty(exports,"powDependencies",{enumerable:!0,get:function get(){return _dependenciesPowGenerated.powDependencies}}),Object.defineProperty(exports,"roundDependencies",{enumerable:!0,get:function get(){return _dependenciesRoundGenerated.roundDependencies}}),Object.defineProperty(exports,"logDependencies",{enumerable:!0,get:function get(){return _dependenciesLogGenerated.logDependencies}}),Object.defineProperty(exports,"log1pDependencies",{enumerable:!0,get:function get(){return _dependenciesLog1pGenerated.log1pDependencies}}),Object.defineProperty(exports,"nthRootsDependencies",{enumerable:!0,get:function get(){return _dependenciesNthRootsGenerated.nthRootsDependencies}}),Object.defineProperty(exports,"dotPowDependencies",{enumerable:!0,get:function get(){return _dependenciesDotPowGenerated.dotPowDependencies}}),Object.defineProperty(exports,"dotDivideDependencies",{enumerable:!0,get:function get(){return _dependenciesDotDivideGenerated.dotDivideDependencies}}),Object.defineProperty(exports,"lsolveDependencies",{enumerable:!0,get:function get(){return _dependenciesLsolveGenerated.lsolveDependencies}}),Object.defineProperty(exports,"usolveDependencies",{enumerable:!0,get:function get(){return _dependenciesUsolveGenerated.usolveDependencies}}),Object.defineProperty(exports,"lsolveAllDependencies",{enumerable:!0,get:function get(){return _dependenciesLsolveAllGenerated.lsolveAllDependencies}}),Object.defineProperty(exports,"usolveAllDependencies",{enumerable:!0,get:function get(){return _dependenciesUsolveAllGenerated.usolveAllDependencies}}),Object.defineProperty(exports,"leftShiftDependencies",{enumerable:!0,get:function get(){return _dependenciesLeftShiftGenerated.leftShiftDependencies}}),Object.defineProperty(exports,"rightArithShiftDependencies",{enumerable:!0,get:function get(){return _dependenciesRightArithShiftGenerated.rightArithShiftDependencies}}),Object.defineProperty(exports,"rightLogShiftDependencies",{enumerable:!0,get:function get(){return _dependenciesRightLogShiftGenerated.rightLogShiftDependencies}}),Object.defineProperty(exports,"andDependencies",{enumerable:!0,get:function get(){return _dependenciesAndGenerated.andDependencies}}),Object.defineProperty(exports,"compareDependencies",{enumerable:!0,get:function get(){return _dependenciesCompareGenerated.compareDependencies}}),Object.defineProperty(exports,"compareNaturalDependencies",{enumerable:!0,get:function get(){return _dependenciesCompareNaturalGenerated.compareNaturalDependencies}}),Object.defineProperty(exports,"compareTextDependencies",{enumerable:!0,get:function get(){return _dependenciesCompareTextGenerated.compareTextDependencies}}),Object.defineProperty(exports,"equalDependencies",{enumerable:!0,get:function get(){return _dependenciesEqualGenerated.equalDependencies}}),Object.defineProperty(exports,"equalTextDependencies",{enumerable:!0,get:function get(){return _dependenciesEqualTextGenerated.equalTextDependencies}}),Object.defineProperty(exports,"smallerDependencies",{enumerable:!0,get:function get(){return _dependenciesSmallerGenerated.smallerDependencies}}),Object.defineProperty(exports,"smallerEqDependencies",{enumerable:!0,get:function get(){return _dependenciesSmallerEqGenerated.smallerEqDependencies}}),Object.defineProperty(exports,"largerDependencies",{enumerable:!0,get:function get(){return _dependenciesLargerGenerated.largerDependencies}}),Object.defineProperty(exports,"largerEqDependencies",{enumerable:!0,get:function get(){return _dependenciesLargerEqGenerated.largerEqDependencies}}),Object.defineProperty(exports,"deepEqualDependencies",{enumerable:!0,get:function get(){return _dependenciesDeepEqualGenerated.deepEqualDependencies}}),Object.defineProperty(exports,"unequalDependencies",{enumerable:!0,get:function get(){return _dependenciesUnequalGenerated.unequalDependencies}}),Object.defineProperty(exports,"partitionSelectDependencies",{enumerable:!0,get:function get(){return _dependenciesPartitionSelectGenerated.partitionSelectDependencies}}),Object.defineProperty(exports,"sortDependencies",{enumerable:!0,get:function get(){return _dependenciesSortGenerated.sortDependencies}}),Object.defineProperty(exports,"maxDependencies",{enumerable:!0,get:function get(){return _dependenciesMaxGenerated.maxDependencies}}),Object.defineProperty(exports,"minDependencies",{enumerable:!0,get:function get(){return _dependenciesMinGenerated.minDependencies}}),Object.defineProperty(exports,"ImmutableDenseMatrixDependencies",{enumerable:!0,get:function get(){return _dependenciesImmutableDenseMatrixClassGenerated.ImmutableDenseMatrixDependencies}}),Object.defineProperty(exports,"IndexDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexClassGenerated.IndexDependencies}}),Object.defineProperty(exports,"FibonacciHeapDependencies",{enumerable:!0,get:function get(){return _dependenciesFibonacciHeapClassGenerated.FibonacciHeapDependencies}}),Object.defineProperty(exports,"SpaDependencies",{enumerable:!0,get:function get(){return _dependenciesSpaClassGenerated.SpaDependencies}}),Object.defineProperty(exports,"UnitDependencies",{enumerable:!0,get:function get(){return _dependenciesUnitClassGenerated.UnitDependencies}}),Object.defineProperty(exports,"unitDependencies",{enumerable:!0,get:function get(){return _dependenciesUnitFunctionGenerated.unitDependencies}}),Object.defineProperty(exports,"sparseDependencies",{enumerable:!0,get:function get(){return _dependenciesSparseGenerated.sparseDependencies}}),Object.defineProperty(exports,"createUnitDependencies",{enumerable:!0,get:function get(){return _dependenciesCreateUnitGenerated.createUnitDependencies}}),Object.defineProperty(exports,"acosDependencies",{enumerable:!0,get:function get(){return _dependenciesAcosGenerated.acosDependencies}}),Object.defineProperty(exports,"acoshDependencies",{enumerable:!0,get:function get(){return _dependenciesAcoshGenerated.acoshDependencies}}),Object.defineProperty(exports,"acotDependencies",{enumerable:!0,get:function get(){return _dependenciesAcotGenerated.acotDependencies}}),Object.defineProperty(exports,"acothDependencies",{enumerable:!0,get:function get(){return _dependenciesAcothGenerated.acothDependencies}}),Object.defineProperty(exports,"acscDependencies",{enumerable:!0,get:function get(){return _dependenciesAcscGenerated.acscDependencies}}),Object.defineProperty(exports,"acschDependencies",{enumerable:!0,get:function get(){return _dependenciesAcschGenerated.acschDependencies}}),Object.defineProperty(exports,"asecDependencies",{enumerable:!0,get:function get(){return _dependenciesAsecGenerated.asecDependencies}}),Object.defineProperty(exports,"asechDependencies",{enumerable:!0,get:function get(){return _dependenciesAsechGenerated.asechDependencies}}),Object.defineProperty(exports,"asinDependencies",{enumerable:!0,get:function get(){return _dependenciesAsinGenerated.asinDependencies}}),Object.defineProperty(exports,"asinhDependencies",{enumerable:!0,get:function get(){return _dependenciesAsinhGenerated.asinhDependencies}}),Object.defineProperty(exports,"atanDependencies",{enumerable:!0,get:function get(){return _dependenciesAtanGenerated.atanDependencies}}),Object.defineProperty(exports,"atan2Dependencies",{enumerable:!0,get:function get(){return _dependenciesAtan2Generated.atan2Dependencies}}),Object.defineProperty(exports,"atanhDependencies",{enumerable:!0,get:function get(){return _dependenciesAtanhGenerated.atanhDependencies}}),Object.defineProperty(exports,"cosDependencies",{enumerable:!0,get:function get(){return _dependenciesCosGenerated.cosDependencies}}),Object.defineProperty(exports,"coshDependencies",{enumerable:!0,get:function get(){return _dependenciesCoshGenerated.coshDependencies}}),Object.defineProperty(exports,"cotDependencies",{enumerable:!0,get:function get(){return _dependenciesCotGenerated.cotDependencies}}),Object.defineProperty(exports,"cothDependencies",{enumerable:!0,get:function get(){return _dependenciesCothGenerated.cothDependencies}}),Object.defineProperty(exports,"cscDependencies",{enumerable:!0,get:function get(){return _dependenciesCscGenerated.cscDependencies}}),Object.defineProperty(exports,"cschDependencies",{enumerable:!0,get:function get(){return _dependenciesCschGenerated.cschDependencies}}),Object.defineProperty(exports,"secDependencies",{enumerable:!0,get:function get(){return _dependenciesSecGenerated.secDependencies}}),Object.defineProperty(exports,"sechDependencies",{enumerable:!0,get:function get(){return _dependenciesSechGenerated.sechDependencies}}),Object.defineProperty(exports,"sinDependencies",{enumerable:!0,get:function get(){return _dependenciesSinGenerated.sinDependencies}}),Object.defineProperty(exports,"sinhDependencies",{enumerable:!0,get:function get(){return _dependenciesSinhGenerated.sinhDependencies}}),Object.defineProperty(exports,"tanDependencies",{enumerable:!0,get:function get(){return _dependenciesTanGenerated.tanDependencies}}),Object.defineProperty(exports,"tanhDependencies",{enumerable:!0,get:function get(){return _dependenciesTanhGenerated.tanhDependencies}}),Object.defineProperty(exports,"setCartesianDependencies",{enumerable:!0,get:function get(){return _dependenciesSetCartesianGenerated.setCartesianDependencies}}),Object.defineProperty(exports,"setDifferenceDependencies",{enumerable:!0,get:function get(){return _dependenciesSetDifferenceGenerated.setDifferenceDependencies}}),Object.defineProperty(exports,"setDistinctDependencies",{enumerable:!0,get:function get(){return _dependenciesSetDistinctGenerated.setDistinctDependencies}}),Object.defineProperty(exports,"setIntersectDependencies",{enumerable:!0,get:function get(){return _dependenciesSetIntersectGenerated.setIntersectDependencies}}),Object.defineProperty(exports,"setIsSubsetDependencies",{enumerable:!0,get:function get(){return _dependenciesSetIsSubsetGenerated.setIsSubsetDependencies}}),Object.defineProperty(exports,"setMultiplicityDependencies",{enumerable:!0,get:function get(){return _dependenciesSetMultiplicityGenerated.setMultiplicityDependencies}}),Object.defineProperty(exports,"setPowersetDependencies",{enumerable:!0,get:function get(){return _dependenciesSetPowersetGenerated.setPowersetDependencies}}),Object.defineProperty(exports,"setSizeDependencies",{enumerable:!0,get:function get(){return _dependenciesSetSizeGenerated.setSizeDependencies}}),Object.defineProperty(exports,"setSymDifferenceDependencies",{enumerable:!0,get:function get(){return _dependenciesSetSymDifferenceGenerated.setSymDifferenceDependencies}}),Object.defineProperty(exports,"setUnionDependencies",{enumerable:!0,get:function get(){return _dependenciesSetUnionGenerated.setUnionDependencies}}),Object.defineProperty(exports,"addDependencies",{enumerable:!0,get:function get(){return _dependenciesAddGenerated.addDependencies}}),Object.defineProperty(exports,"hypotDependencies",{enumerable:!0,get:function get(){return _dependenciesHypotGenerated.hypotDependencies}}),Object.defineProperty(exports,"normDependencies",{enumerable:!0,get:function get(){return _dependenciesNormGenerated.normDependencies}}),Object.defineProperty(exports,"dotDependencies",{enumerable:!0,get:function get(){return _dependenciesDotGenerated.dotDependencies}}),Object.defineProperty(exports,"traceDependencies",{enumerable:!0,get:function get(){return _dependenciesTraceGenerated.traceDependencies}}),Object.defineProperty(exports,"indexDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexGenerated.indexDependencies}}),Object.defineProperty(exports,"NodeDependencies",{enumerable:!0,get:function get(){return _dependenciesNodeGenerated.NodeDependencies}}),Object.defineProperty(exports,"AccessorNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesAccessorNodeGenerated.AccessorNodeDependencies}}),Object.defineProperty(exports,"ArrayNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesArrayNodeGenerated.ArrayNodeDependencies}}),Object.defineProperty(exports,"AssignmentNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesAssignmentNodeGenerated.AssignmentNodeDependencies}}),Object.defineProperty(exports,"BlockNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesBlockNodeGenerated.BlockNodeDependencies}}),Object.defineProperty(exports,"ConditionalNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesConditionalNodeGenerated.ConditionalNodeDependencies}}),Object.defineProperty(exports,"ConstantNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesConstantNodeGenerated.ConstantNodeDependencies}}),Object.defineProperty(exports,"FunctionAssignmentNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesFunctionAssignmentNodeGenerated.FunctionAssignmentNodeDependencies}}),Object.defineProperty(exports,"IndexNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexNodeGenerated.IndexNodeDependencies}}),Object.defineProperty(exports,"ObjectNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesObjectNodeGenerated.ObjectNodeDependencies}}),Object.defineProperty(exports,"OperatorNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesOperatorNodeGenerated.OperatorNodeDependencies}}),Object.defineProperty(exports,"ParenthesisNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies}}),Object.defineProperty(exports,"RangeNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeNodeGenerated.RangeNodeDependencies}}),Object.defineProperty(exports,"RelationalNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesRelationalNodeGenerated.RelationalNodeDependencies}}),Object.defineProperty(exports,"SymbolNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesSymbolNodeGenerated.SymbolNodeDependencies}}),Object.defineProperty(exports,"FunctionNodeDependencies",{enumerable:!0,get:function get(){return _dependenciesFunctionNodeGenerated.FunctionNodeDependencies}}),Object.defineProperty(exports,"parseDependencies",{enumerable:!0,get:function get(){return _dependenciesParseGenerated.parseDependencies}}),Object.defineProperty(exports,"compileDependencies",{enumerable:!0,get:function get(){return _dependenciesCompileGenerated.compileDependencies}}),Object.defineProperty(exports,"evaluateDependencies",{enumerable:!0,get:function get(){return _dependenciesEvaluateGenerated.evaluateDependencies}}),Object.defineProperty(exports,"ParserDependencies",{enumerable:!0,get:function get(){return _dependenciesParserClassGenerated.ParserDependencies}}),Object.defineProperty(exports,"parserDependencies",{enumerable:!0,get:function get(){return _dependenciesParserGenerated.parserDependencies}}),Object.defineProperty(exports,"lupDependencies",{enumerable:!0,get:function get(){return _dependenciesLupGenerated.lupDependencies}}),Object.defineProperty(exports,"qrDependencies",{enumerable:!0,get:function get(){return _dependenciesQrGenerated.qrDependencies}}),Object.defineProperty(exports,"sluDependencies",{enumerable:!0,get:function get(){return _dependenciesSluGenerated.sluDependencies}}),Object.defineProperty(exports,"lusolveDependencies",{enumerable:!0,get:function get(){return _dependenciesLusolveGenerated.lusolveDependencies}}),Object.defineProperty(exports,"HelpDependencies",{enumerable:!0,get:function get(){return _dependenciesHelpClassGenerated.HelpDependencies}}),Object.defineProperty(exports,"ChainDependencies",{enumerable:!0,get:function get(){return _dependenciesChainClassGenerated.ChainDependencies}}),Object.defineProperty(exports,"helpDependencies",{enumerable:!0,get:function get(){return _dependenciesHelpGenerated.helpDependencies}}),Object.defineProperty(exports,"chainDependencies",{enumerable:!0,get:function get(){return _dependenciesChainGenerated.chainDependencies}}),Object.defineProperty(exports,"detDependencies",{enumerable:!0,get:function get(){return _dependenciesDetGenerated.detDependencies}}),Object.defineProperty(exports,"invDependencies",{enumerable:!0,get:function get(){return _dependenciesInvGenerated.invDependencies}}),Object.defineProperty(exports,"eigsDependencies",{enumerable:!0,get:function get(){return _dependenciesEigsGenerated.eigsDependencies}}),Object.defineProperty(exports,"expmDependencies",{enumerable:!0,get:function get(){return _dependenciesExpmGenerated.expmDependencies}}),Object.defineProperty(exports,"sqrtmDependencies",{enumerable:!0,get:function get(){return _dependenciesSqrtmGenerated.sqrtmDependencies}}),Object.defineProperty(exports,"divideDependencies",{enumerable:!0,get:function get(){return _dependenciesDivideGenerated.divideDependencies}}),Object.defineProperty(exports,"distanceDependencies",{enumerable:!0,get:function get(){return _dependenciesDistanceGenerated.distanceDependencies}}),Object.defineProperty(exports,"intersectDependencies",{enumerable:!0,get:function get(){return _dependenciesIntersectGenerated.intersectDependencies}}),Object.defineProperty(exports,"sumDependencies",{enumerable:!0,get:function get(){return _dependenciesSumGenerated.sumDependencies}}),Object.defineProperty(exports,"meanDependencies",{enumerable:!0,get:function get(){return _dependenciesMeanGenerated.meanDependencies}}),Object.defineProperty(exports,"medianDependencies",{enumerable:!0,get:function get(){return _dependenciesMedianGenerated.medianDependencies}}),Object.defineProperty(exports,"madDependencies",{enumerable:!0,get:function get(){return _dependenciesMadGenerated.madDependencies}}),Object.defineProperty(exports,"varianceDependencies",{enumerable:!0,get:function get(){return _dependenciesVarianceGenerated.varianceDependencies}}),Object.defineProperty(exports,"quantileSeqDependencies",{enumerable:!0,get:function get(){return _dependenciesQuantileSeqGenerated.quantileSeqDependencies}}),Object.defineProperty(exports,"stdDependencies",{enumerable:!0,get:function get(){return _dependenciesStdGenerated.stdDependencies}}),Object.defineProperty(exports,"combinationsDependencies",{enumerable:!0,get:function get(){return _dependenciesCombinationsGenerated.combinationsDependencies}}),Object.defineProperty(exports,"combinationsWithRepDependencies",{enumerable:!0,get:function get(){return _dependenciesCombinationsWithRepGenerated.combinationsWithRepDependencies}}),Object.defineProperty(exports,"gammaDependencies",{enumerable:!0,get:function get(){return _dependenciesGammaGenerated.gammaDependencies}}),Object.defineProperty(exports,"factorialDependencies",{enumerable:!0,get:function get(){return _dependenciesFactorialGenerated.factorialDependencies}}),Object.defineProperty(exports,"kldivergenceDependencies",{enumerable:!0,get:function get(){return _dependenciesKldivergenceGenerated.kldivergenceDependencies}}),Object.defineProperty(exports,"multinomialDependencies",{enumerable:!0,get:function get(){return _dependenciesMultinomialGenerated.multinomialDependencies}}),Object.defineProperty(exports,"permutationsDependencies",{enumerable:!0,get:function get(){return _dependenciesPermutationsGenerated.permutationsDependencies}}),Object.defineProperty(exports,"pickRandomDependencies",{enumerable:!0,get:function get(){return _dependenciesPickRandomGenerated.pickRandomDependencies}}),Object.defineProperty(exports,"randomDependencies",{enumerable:!0,get:function get(){return _dependenciesRandomGenerated.randomDependencies}}),Object.defineProperty(exports,"randomIntDependencies",{enumerable:!0,get:function get(){return _dependenciesRandomIntGenerated.randomIntDependencies}}),Object.defineProperty(exports,"stirlingS2Dependencies",{enumerable:!0,get:function get(){return _dependenciesStirlingS2Generated.stirlingS2Dependencies}}),Object.defineProperty(exports,"bellNumbersDependencies",{enumerable:!0,get:function get(){return _dependenciesBellNumbersGenerated.bellNumbersDependencies}}),Object.defineProperty(exports,"catalanDependencies",{enumerable:!0,get:function get(){return _dependenciesCatalanGenerated.catalanDependencies}}),Object.defineProperty(exports,"compositionDependencies",{enumerable:!0,get:function get(){return _dependenciesCompositionGenerated.compositionDependencies}}),Object.defineProperty(exports,"simplifyDependencies",{enumerable:!0,get:function get(){return _dependenciesSimplifyGenerated.simplifyDependencies}}),Object.defineProperty(exports,"derivativeDependencies",{enumerable:!0,get:function get(){return _dependenciesDerivativeGenerated.derivativeDependencies}}),Object.defineProperty(exports,"rationalizeDependencies",{enumerable:!0,get:function get(){return _dependenciesRationalizeGenerated.rationalizeDependencies}}),Object.defineProperty(exports,"reviverDependencies",{enumerable:!0,get:function get(){return _dependenciesReviverGenerated.reviverDependencies}}),Object.defineProperty(exports,"replacerDependencies",{enumerable:!0,get:function get(){return _dependenciesReplacerGenerated.replacerDependencies}}),Object.defineProperty(exports,"eDependencies",{enumerable:!0,get:function get(){return _dependenciesEGenerated.eDependencies}}),Object.defineProperty(exports,"EDependencies",{enumerable:!0,get:function get(){return _dependenciesUppercaseEGenerated.EDependencies}}),Object.defineProperty(exports,"falseDependencies",{enumerable:!0,get:function get(){return _dependenciesFalseGenerated.falseDependencies}}),Object.defineProperty(exports,"iDependencies",{enumerable:!0,get:function get(){return _dependenciesIGenerated.iDependencies}}),Object.defineProperty(exports,"InfinityDependencies",{enumerable:!0,get:function get(){return _dependenciesInfinityGenerated.InfinityDependencies}}),Object.defineProperty(exports,"LN10Dependencies",{enumerable:!0,get:function get(){return _dependenciesLN10Generated.LN10Dependencies}}),Object.defineProperty(exports,"LN2Dependencies",{enumerable:!0,get:function get(){return _dependenciesLN2Generated.LN2Dependencies}}),Object.defineProperty(exports,"LOG10EDependencies",{enumerable:!0,get:function get(){return _dependenciesLOG10EGenerated.LOG10EDependencies}}),Object.defineProperty(exports,"LOG2EDependencies",{enumerable:!0,get:function get(){return _dependenciesLOG2EGenerated.LOG2EDependencies}}),Object.defineProperty(exports,"NaNDependencies",{enumerable:!0,get:function get(){return _dependenciesNaNGenerated.NaNDependencies}}),Object.defineProperty(exports,"nullDependencies",{enumerable:!0,get:function get(){return _dependenciesNullGenerated.nullDependencies}}),Object.defineProperty(exports,"phiDependencies",{enumerable:!0,get:function get(){return _dependenciesPhiGenerated.phiDependencies}}),Object.defineProperty(exports,"piDependencies",{enumerable:!0,get:function get(){return _dependenciesPiGenerated.piDependencies}}),Object.defineProperty(exports,"PIDependencies",{enumerable:!0,get:function get(){return _dependenciesUppercasePiGenerated.PIDependencies}}),Object.defineProperty(exports,"SQRT1_2Dependencies",{enumerable:!0,get:function get(){return _dependenciesSQRT1_2Generated.SQRT1_2Dependencies}}),Object.defineProperty(exports,"SQRT2Dependencies",{enumerable:!0,get:function get(){return _dependenciesSQRT2Generated.SQRT2Dependencies}}),Object.defineProperty(exports,"tauDependencies",{enumerable:!0,get:function get(){return _dependenciesTauGenerated.tauDependencies}}),Object.defineProperty(exports,"trueDependencies",{enumerable:!0,get:function get(){return _dependenciesTrueGenerated.trueDependencies}}),Object.defineProperty(exports,"versionDependencies",{enumerable:!0,get:function get(){return _dependenciesVersionGenerated.versionDependencies}}),Object.defineProperty(exports,"atomicMassDependencies",{enumerable:!0,get:function get(){return _dependenciesAtomicMassGenerated.atomicMassDependencies}}),Object.defineProperty(exports,"avogadroDependencies",{enumerable:!0,get:function get(){return _dependenciesAvogadroGenerated.avogadroDependencies}}),Object.defineProperty(exports,"bohrMagnetonDependencies",{enumerable:!0,get:function get(){return _dependenciesBohrMagnetonGenerated.bohrMagnetonDependencies}}),Object.defineProperty(exports,"bohrRadiusDependencies",{enumerable:!0,get:function get(){return _dependenciesBohrRadiusGenerated.bohrRadiusDependencies}}),Object.defineProperty(exports,"boltzmannDependencies",{enumerable:!0,get:function get(){return _dependenciesBoltzmannGenerated.boltzmannDependencies}}),Object.defineProperty(exports,"classicalElectronRadiusDependencies",{enumerable:!0,get:function get(){return _dependenciesClassicalElectronRadiusGenerated.classicalElectronRadiusDependencies}}),Object.defineProperty(exports,"conductanceQuantumDependencies",{enumerable:!0,get:function get(){return _dependenciesConductanceQuantumGenerated.conductanceQuantumDependencies}}),Object.defineProperty(exports,"coulombDependencies",{enumerable:!0,get:function get(){return _dependenciesCoulombGenerated.coulombDependencies}}),Object.defineProperty(exports,"deuteronMassDependencies",{enumerable:!0,get:function get(){return _dependenciesDeuteronMassGenerated.deuteronMassDependencies}}),Object.defineProperty(exports,"efimovFactorDependencies",{enumerable:!0,get:function get(){return _dependenciesEfimovFactorGenerated.efimovFactorDependencies}}),Object.defineProperty(exports,"electricConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesElectricConstantGenerated.electricConstantDependencies}}),Object.defineProperty(exports,"electronMassDependencies",{enumerable:!0,get:function get(){return _dependenciesElectronMassGenerated.electronMassDependencies}}),Object.defineProperty(exports,"elementaryChargeDependencies",{enumerable:!0,get:function get(){return _dependenciesElementaryChargeGenerated.elementaryChargeDependencies}}),Object.defineProperty(exports,"faradayDependencies",{enumerable:!0,get:function get(){return _dependenciesFaradayGenerated.faradayDependencies}}),Object.defineProperty(exports,"fermiCouplingDependencies",{enumerable:!0,get:function get(){return _dependenciesFermiCouplingGenerated.fermiCouplingDependencies}}),Object.defineProperty(exports,"fineStructureDependencies",{enumerable:!0,get:function get(){return _dependenciesFineStructureGenerated.fineStructureDependencies}}),Object.defineProperty(exports,"firstRadiationDependencies",{enumerable:!0,get:function get(){return _dependenciesFirstRadiationGenerated.firstRadiationDependencies}}),Object.defineProperty(exports,"gasConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesGasConstantGenerated.gasConstantDependencies}}),Object.defineProperty(exports,"gravitationConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesGravitationConstantGenerated.gravitationConstantDependencies}}),Object.defineProperty(exports,"gravityDependencies",{enumerable:!0,get:function get(){return _dependenciesGravityGenerated.gravityDependencies}}),Object.defineProperty(exports,"hartreeEnergyDependencies",{enumerable:!0,get:function get(){return _dependenciesHartreeEnergyGenerated.hartreeEnergyDependencies}}),Object.defineProperty(exports,"inverseConductanceQuantumDependencies",{enumerable:!0,get:function get(){return _dependenciesInverseConductanceQuantumGenerated.inverseConductanceQuantumDependencies}}),Object.defineProperty(exports,"klitzingDependencies",{enumerable:!0,get:function get(){return _dependenciesKlitzingGenerated.klitzingDependencies}}),Object.defineProperty(exports,"loschmidtDependencies",{enumerable:!0,get:function get(){return _dependenciesLoschmidtGenerated.loschmidtDependencies}}),Object.defineProperty(exports,"magneticConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesMagneticConstantGenerated.magneticConstantDependencies}}),Object.defineProperty(exports,"magneticFluxQuantumDependencies",{enumerable:!0,get:function get(){return _dependenciesMagneticFluxQuantumGenerated.magneticFluxQuantumDependencies}}),Object.defineProperty(exports,"molarMassDependencies",{enumerable:!0,get:function get(){return _dependenciesMolarMassGenerated.molarMassDependencies}}),Object.defineProperty(exports,"molarMassC12Dependencies",{enumerable:!0,get:function get(){return _dependenciesMolarMassC12Generated.molarMassC12Dependencies}}),Object.defineProperty(exports,"molarPlanckConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesMolarPlanckConstantGenerated.molarPlanckConstantDependencies}}),Object.defineProperty(exports,"molarVolumeDependencies",{enumerable:!0,get:function get(){return _dependenciesMolarVolumeGenerated.molarVolumeDependencies}}),Object.defineProperty(exports,"neutronMassDependencies",{enumerable:!0,get:function get(){return _dependenciesNeutronMassGenerated.neutronMassDependencies}}),Object.defineProperty(exports,"nuclearMagnetonDependencies",{enumerable:!0,get:function get(){return _dependenciesNuclearMagnetonGenerated.nuclearMagnetonDependencies}}),Object.defineProperty(exports,"planckChargeDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckChargeGenerated.planckChargeDependencies}}),Object.defineProperty(exports,"planckConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckConstantGenerated.planckConstantDependencies}}),Object.defineProperty(exports,"planckLengthDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckLengthGenerated.planckLengthDependencies}}),Object.defineProperty(exports,"planckMassDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckMassGenerated.planckMassDependencies}}),Object.defineProperty(exports,"planckTemperatureDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckTemperatureGenerated.planckTemperatureDependencies}}),Object.defineProperty(exports,"planckTimeDependencies",{enumerable:!0,get:function get(){return _dependenciesPlanckTimeGenerated.planckTimeDependencies}}),Object.defineProperty(exports,"protonMassDependencies",{enumerable:!0,get:function get(){return _dependenciesProtonMassGenerated.protonMassDependencies}}),Object.defineProperty(exports,"quantumOfCirculationDependencies",{enumerable:!0,get:function get(){return _dependenciesQuantumOfCirculationGenerated.quantumOfCirculationDependencies}}),Object.defineProperty(exports,"reducedPlanckConstantDependencies",{enumerable:!0,get:function get(){return _dependenciesReducedPlanckConstantGenerated.reducedPlanckConstantDependencies}}),Object.defineProperty(exports,"rydbergDependencies",{enumerable:!0,get:function get(){return _dependenciesRydbergGenerated.rydbergDependencies}}),Object.defineProperty(exports,"sackurTetrodeDependencies",{enumerable:!0,get:function get(){return _dependenciesSackurTetrodeGenerated.sackurTetrodeDependencies}}),Object.defineProperty(exports,"secondRadiationDependencies",{enumerable:!0,get:function get(){return _dependenciesSecondRadiationGenerated.secondRadiationDependencies}}),Object.defineProperty(exports,"speedOfLightDependencies",{enumerable:!0,get:function get(){return _dependenciesSpeedOfLightGenerated.speedOfLightDependencies}}),Object.defineProperty(exports,"stefanBoltzmannDependencies",{enumerable:!0,get:function get(){return _dependenciesStefanBoltzmannGenerated.stefanBoltzmannDependencies}}),Object.defineProperty(exports,"thomsonCrossSectionDependencies",{enumerable:!0,get:function get(){return _dependenciesThomsonCrossSectionGenerated.thomsonCrossSectionDependencies}}),Object.defineProperty(exports,"vacuumImpedanceDependencies",{enumerable:!0,get:function get(){return _dependenciesVacuumImpedanceGenerated.vacuumImpedanceDependencies}}),Object.defineProperty(exports,"weakMixingAngleDependencies",{enumerable:!0,get:function get(){return _dependenciesWeakMixingAngleGenerated.weakMixingAngleDependencies}}),Object.defineProperty(exports,"wienDisplacementDependencies",{enumerable:!0,get:function get(){return _dependenciesWienDisplacementGenerated.wienDisplacementDependencies}}),Object.defineProperty(exports,"applyTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesApplyTransformGenerated.applyTransformDependencies}}),Object.defineProperty(exports,"columnTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesColumnTransformGenerated.columnTransformDependencies}}),Object.defineProperty(exports,"filterTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesFilterTransformGenerated.filterTransformDependencies}}),Object.defineProperty(exports,"forEachTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesForEachTransformGenerated.forEachTransformDependencies}}),Object.defineProperty(exports,"indexTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesIndexTransformGenerated.indexTransformDependencies}}),Object.defineProperty(exports,"mapTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMapTransformGenerated.mapTransformDependencies}}),Object.defineProperty(exports,"maxTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMaxTransformGenerated.maxTransformDependencies}}),Object.defineProperty(exports,"meanTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMeanTransformGenerated.meanTransformDependencies}}),Object.defineProperty(exports,"minTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesMinTransformGenerated.minTransformDependencies}}),Object.defineProperty(exports,"rangeTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesRangeTransformGenerated.rangeTransformDependencies}}),Object.defineProperty(exports,"rowTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesRowTransformGenerated.rowTransformDependencies}}),Object.defineProperty(exports,"subsetTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesSubsetTransformGenerated.subsetTransformDependencies}}),Object.defineProperty(exports,"concatTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesConcatTransformGenerated.concatTransformDependencies}}),Object.defineProperty(exports,"diffTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesDiffTransformGenerated.diffTransformDependencies}}),Object.defineProperty(exports,"stdTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesStdTransformGenerated.stdTransformDependencies}}),Object.defineProperty(exports,"sumTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesSumTransformGenerated.sumTransformDependencies}}),Object.defineProperty(exports,"varianceTransformDependencies",{enumerable:!0,get:function get(){return _dependenciesVarianceTransformGenerated.varianceTransformDependencies}}),Object.defineProperty(exports,"all",{enumerable:!0,get:function get(){return _allFactoriesAny.all}});var _dependenciesTypedGenerated=require("./dependenciesAny/dependenciesTyped.generated.js"),_dependenciesResultSetGenerated=require("./dependenciesAny/dependenciesResultSet.generated.js"),_dependenciesBigNumberClassGenerated=require("./dependenciesAny/dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesAny/dependenciesComplexClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesAny/dependenciesFractionClass.generated.js"),_dependenciesRangeClassGenerated=require("./dependenciesAny/dependenciesRangeClass.generated.js"),_dependenciesMatrixClassGenerated=require("./dependenciesAny/dependenciesMatrixClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesAny/dependenciesDenseMatrixClass.generated.js"),_dependenciesCloneGenerated=require("./dependenciesAny/dependenciesClone.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesAny/dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesAny/dependenciesIsNegative.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesAny/dependenciesIsNumeric.generated.js"),_dependenciesHasNumericValueGenerated=require("./dependenciesAny/dependenciesHasNumericValue.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesAny/dependenciesIsPositive.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesAny/dependenciesIsZero.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesAny/dependenciesIsNaN.generated.js"),_dependenciesTypeOfGenerated=require("./dependenciesAny/dependenciesTypeOf.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesAny/dependenciesEqualScalar.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesAny/dependenciesSparseMatrixClass.generated.js"),_dependenciesNumberGenerated=require("./dependenciesAny/dependenciesNumber.generated.js"),_dependenciesStringGenerated=require("./dependenciesAny/dependenciesString.generated.js"),_dependenciesBooleanGenerated=require("./dependenciesAny/dependenciesBoolean.generated.js"),_dependenciesBignumberGenerated=require("./dependenciesAny/dependenciesBignumber.generated.js"),_dependenciesComplexGenerated=require("./dependenciesAny/dependenciesComplex.generated.js"),_dependenciesFractionGenerated=require("./dependenciesAny/dependenciesFraction.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesAny/dependenciesMatrix.generated.js"),_dependenciesMatrixFromFunctionGenerated=require("./dependenciesAny/dependenciesMatrixFromFunction.generated.js"),_dependenciesMatrixFromRowsGenerated=require("./dependenciesAny/dependenciesMatrixFromRows.generated.js"),_dependenciesMatrixFromColumnsGenerated=require("./dependenciesAny/dependenciesMatrixFromColumns.generated.js"),_dependenciesSplitUnitGenerated=require("./dependenciesAny/dependenciesSplitUnit.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesAny/dependenciesUnaryMinus.generated.js"),_dependenciesUnaryPlusGenerated=require("./dependenciesAny/dependenciesUnaryPlus.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAny/dependenciesAbs.generated.js"),_dependenciesApplyGenerated=require("./dependenciesAny/dependenciesApply.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAny/dependenciesAddScalar.generated.js"),_dependenciesCbrtGenerated=require("./dependenciesAny/dependenciesCbrt.generated.js"),_dependenciesCeilGenerated=require("./dependenciesAny/dependenciesCeil.generated.js"),_dependenciesCubeGenerated=require("./dependenciesAny/dependenciesCube.generated.js"),_dependenciesExpGenerated=require("./dependenciesAny/dependenciesExp.generated.js"),_dependenciesExpm1Generated=require("./dependenciesAny/dependenciesExpm1.generated.js"),_dependenciesFixGenerated=require("./dependenciesAny/dependenciesFix.generated.js"),_dependenciesFloorGenerated=require("./dependenciesAny/dependenciesFloor.generated.js"),_dependenciesGcdGenerated=require("./dependenciesAny/dependenciesGcd.generated.js"),_dependenciesLcmGenerated=require("./dependenciesAny/dependenciesLcm.generated.js"),_dependenciesLog10Generated=require("./dependenciesAny/dependenciesLog10.generated.js"),_dependenciesLog2Generated=require("./dependenciesAny/dependenciesLog2.generated.js"),_dependenciesModGenerated=require("./dependenciesAny/dependenciesMod.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesAny/dependenciesMultiplyScalar.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesAny/dependenciesMultiply.generated.js"),_dependenciesNthRootGenerated=require("./dependenciesAny/dependenciesNthRoot.generated.js"),_dependenciesSignGenerated=require("./dependenciesAny/dependenciesSign.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesAny/dependenciesSqrt.generated.js"),_dependenciesSquareGenerated=require("./dependenciesAny/dependenciesSquare.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesAny/dependenciesSubtract.generated.js"),_dependenciesXgcdGenerated=require("./dependenciesAny/dependenciesXgcd.generated.js"),_dependenciesDotMultiplyGenerated=require("./dependenciesAny/dependenciesDotMultiply.generated.js"),_dependenciesBitAndGenerated=require("./dependenciesAny/dependenciesBitAnd.generated.js"),_dependenciesBitNotGenerated=require("./dependenciesAny/dependenciesBitNot.generated.js"),_dependenciesBitOrGenerated=require("./dependenciesAny/dependenciesBitOr.generated.js"),_dependenciesBitXorGenerated=require("./dependenciesAny/dependenciesBitXor.generated.js"),_dependenciesArgGenerated=require("./dependenciesAny/dependenciesArg.generated.js"),_dependenciesConjGenerated=require("./dependenciesAny/dependenciesConj.generated.js"),_dependenciesImGenerated=require("./dependenciesAny/dependenciesIm.generated.js"),_dependenciesReGenerated=require("./dependenciesAny/dependenciesRe.generated.js"),_dependenciesNotGenerated=require("./dependenciesAny/dependenciesNot.generated.js"),_dependenciesOrGenerated=require("./dependenciesAny/dependenciesOr.generated.js"),_dependenciesXorGenerated=require("./dependenciesAny/dependenciesXor.generated.js"),_dependenciesConcatGenerated=require("./dependenciesAny/dependenciesConcat.generated.js"),_dependenciesColumnGenerated=require("./dependenciesAny/dependenciesColumn.generated.js"),_dependenciesCountGenerated=require("./dependenciesAny/dependenciesCount.generated.js"),_dependenciesCrossGenerated=require("./dependenciesAny/dependenciesCross.generated.js"),_dependenciesDiagGenerated=require("./dependenciesAny/dependenciesDiag.generated.js"),_dependenciesFilterGenerated=require("./dependenciesAny/dependenciesFilter.generated.js"),_dependenciesFlattenGenerated=require("./dependenciesAny/dependenciesFlatten.generated.js"),_dependenciesForEachGenerated=require("./dependenciesAny/dependenciesForEach.generated.js"),_dependenciesGetMatrixDataTypeGenerated=require("./dependenciesAny/dependenciesGetMatrixDataType.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesAny/dependenciesIdentity.generated.js"),_dependenciesKronGenerated=require("./dependenciesAny/dependenciesKron.generated.js"),_dependenciesMapGenerated=require("./dependenciesAny/dependenciesMap.generated.js"),_dependenciesDiffGenerated=require("./dependenciesAny/dependenciesDiff.generated.js"),_dependenciesOnesGenerated=require("./dependenciesAny/dependenciesOnes.generated.js"),_dependenciesRangeGenerated=require("./dependenciesAny/dependenciesRange.generated.js"),_dependenciesReshapeGenerated=require("./dependenciesAny/dependenciesReshape.generated.js"),_dependenciesResizeGenerated=require("./dependenciesAny/dependenciesResize.generated.js"),_dependenciesRotateGenerated=require("./dependenciesAny/dependenciesRotate.generated.js"),_dependenciesRotationMatrixGenerated=require("./dependenciesAny/dependenciesRotationMatrix.generated.js"),_dependenciesRowGenerated=require("./dependenciesAny/dependenciesRow.generated.js"),_dependenciesSizeGenerated=require("./dependenciesAny/dependenciesSize.generated.js"),_dependenciesSqueezeGenerated=require("./dependenciesAny/dependenciesSqueeze.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesAny/dependenciesSubset.generated.js"),_dependenciesTransposeGenerated=require("./dependenciesAny/dependenciesTranspose.generated.js"),_dependenciesCtransposeGenerated=require("./dependenciesAny/dependenciesCtranspose.generated.js"),_dependenciesZerosGenerated=require("./dependenciesAny/dependenciesZeros.generated.js"),_dependenciesErfGenerated=require("./dependenciesAny/dependenciesErf.generated.js"),_dependenciesModeGenerated=require("./dependenciesAny/dependenciesMode.generated.js"),_dependenciesProdGenerated=require("./dependenciesAny/dependenciesProd.generated.js"),_dependenciesFormatGenerated=require("./dependenciesAny/dependenciesFormat.generated.js"),_dependenciesBinGenerated=require("./dependenciesAny/dependenciesBin.generated.js"),_dependenciesOctGenerated=require("./dependenciesAny/dependenciesOct.generated.js"),_dependenciesHexGenerated=require("./dependenciesAny/dependenciesHex.generated.js"),_dependenciesPrintGenerated=require("./dependenciesAny/dependenciesPrint.generated.js"),_dependenciesToGenerated=require("./dependenciesAny/dependenciesTo.generated.js"),_dependenciesIsPrimeGenerated=require("./dependenciesAny/dependenciesIsPrime.generated.js"),_dependenciesNumericGenerated=require("./dependenciesAny/dependenciesNumeric.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesAny/dependenciesDivideScalar.generated.js"),_dependenciesPowGenerated=require("./dependenciesAny/dependenciesPow.generated.js"),_dependenciesRoundGenerated=require("./dependenciesAny/dependenciesRound.generated.js"),_dependenciesLogGenerated=require("./dependenciesAny/dependenciesLog.generated.js"),_dependenciesLog1pGenerated=require("./dependenciesAny/dependenciesLog1p.generated.js"),_dependenciesNthRootsGenerated=require("./dependenciesAny/dependenciesNthRoots.generated.js"),_dependenciesDotPowGenerated=require("./dependenciesAny/dependenciesDotPow.generated.js"),_dependenciesDotDivideGenerated=require("./dependenciesAny/dependenciesDotDivide.generated.js"),_dependenciesLsolveGenerated=require("./dependenciesAny/dependenciesLsolve.generated.js"),_dependenciesUsolveGenerated=require("./dependenciesAny/dependenciesUsolve.generated.js"),_dependenciesLsolveAllGenerated=require("./dependenciesAny/dependenciesLsolveAll.generated.js"),_dependenciesUsolveAllGenerated=require("./dependenciesAny/dependenciesUsolveAll.generated.js"),_dependenciesLeftShiftGenerated=require("./dependenciesAny/dependenciesLeftShift.generated.js"),_dependenciesRightArithShiftGenerated=require("./dependenciesAny/dependenciesRightArithShift.generated.js"),_dependenciesRightLogShiftGenerated=require("./dependenciesAny/dependenciesRightLogShift.generated.js"),_dependenciesAndGenerated=require("./dependenciesAny/dependenciesAnd.generated.js"),_dependenciesCompareGenerated=require("./dependenciesAny/dependenciesCompare.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesAny/dependenciesCompareNatural.generated.js"),_dependenciesCompareTextGenerated=require("./dependenciesAny/dependenciesCompareText.generated.js"),_dependenciesEqualGenerated=require("./dependenciesAny/dependenciesEqual.generated.js"),_dependenciesEqualTextGenerated=require("./dependenciesAny/dependenciesEqualText.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesAny/dependenciesSmaller.generated.js"),_dependenciesSmallerEqGenerated=require("./dependenciesAny/dependenciesSmallerEq.generated.js"),_dependenciesLargerGenerated=require("./dependenciesAny/dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesAny/dependenciesLargerEq.generated.js"),_dependenciesDeepEqualGenerated=require("./dependenciesAny/dependenciesDeepEqual.generated.js"),_dependenciesUnequalGenerated=require("./dependenciesAny/dependenciesUnequal.generated.js"),_dependenciesPartitionSelectGenerated=require("./dependenciesAny/dependenciesPartitionSelect.generated.js"),_dependenciesSortGenerated=require("./dependenciesAny/dependenciesSort.generated.js"),_dependenciesMaxGenerated=require("./dependenciesAny/dependenciesMax.generated.js"),_dependenciesMinGenerated=require("./dependenciesAny/dependenciesMin.generated.js"),_dependenciesImmutableDenseMatrixClassGenerated=require("./dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesAny/dependenciesIndexClass.generated.js"),_dependenciesFibonacciHeapClassGenerated=require("./dependenciesAny/dependenciesFibonacciHeapClass.generated.js"),_dependenciesSpaClassGenerated=require("./dependenciesAny/dependenciesSpaClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesAny/dependenciesUnitClass.generated.js"),_dependenciesUnitFunctionGenerated=require("./dependenciesAny/dependenciesUnitFunction.generated.js"),_dependenciesSparseGenerated=require("./dependenciesAny/dependenciesSparse.generated.js"),_dependenciesCreateUnitGenerated=require("./dependenciesAny/dependenciesCreateUnit.generated.js"),_dependenciesAcosGenerated=require("./dependenciesAny/dependenciesAcos.generated.js"),_dependenciesAcoshGenerated=require("./dependenciesAny/dependenciesAcosh.generated.js"),_dependenciesAcotGenerated=require("./dependenciesAny/dependenciesAcot.generated.js"),_dependenciesAcothGenerated=require("./dependenciesAny/dependenciesAcoth.generated.js"),_dependenciesAcscGenerated=require("./dependenciesAny/dependenciesAcsc.generated.js"),_dependenciesAcschGenerated=require("./dependenciesAny/dependenciesAcsch.generated.js"),_dependenciesAsecGenerated=require("./dependenciesAny/dependenciesAsec.generated.js"),_dependenciesAsechGenerated=require("./dependenciesAny/dependenciesAsech.generated.js"),_dependenciesAsinGenerated=require("./dependenciesAny/dependenciesAsin.generated.js"),_dependenciesAsinhGenerated=require("./dependenciesAny/dependenciesAsinh.generated.js"),_dependenciesAtanGenerated=require("./dependenciesAny/dependenciesAtan.generated.js"),_dependenciesAtan2Generated=require("./dependenciesAny/dependenciesAtan2.generated.js"),_dependenciesAtanhGenerated=require("./dependenciesAny/dependenciesAtanh.generated.js"),_dependenciesCosGenerated=require("./dependenciesAny/dependenciesCos.generated.js"),_dependenciesCoshGenerated=require("./dependenciesAny/dependenciesCosh.generated.js"),_dependenciesCotGenerated=require("./dependenciesAny/dependenciesCot.generated.js"),_dependenciesCothGenerated=require("./dependenciesAny/dependenciesCoth.generated.js"),_dependenciesCscGenerated=require("./dependenciesAny/dependenciesCsc.generated.js"),_dependenciesCschGenerated=require("./dependenciesAny/dependenciesCsch.generated.js"),_dependenciesSecGenerated=require("./dependenciesAny/dependenciesSec.generated.js"),_dependenciesSechGenerated=require("./dependenciesAny/dependenciesSech.generated.js"),_dependenciesSinGenerated=require("./dependenciesAny/dependenciesSin.generated.js"),_dependenciesSinhGenerated=require("./dependenciesAny/dependenciesSinh.generated.js"),_dependenciesTanGenerated=require("./dependenciesAny/dependenciesTan.generated.js"),_dependenciesTanhGenerated=require("./dependenciesAny/dependenciesTanh.generated.js"),_dependenciesSetCartesianGenerated=require("./dependenciesAny/dependenciesSetCartesian.generated.js"),_dependenciesSetDifferenceGenerated=require("./dependenciesAny/dependenciesSetDifference.generated.js"),_dependenciesSetDistinctGenerated=require("./dependenciesAny/dependenciesSetDistinct.generated.js"),_dependenciesSetIntersectGenerated=require("./dependenciesAny/dependenciesSetIntersect.generated.js"),_dependenciesSetIsSubsetGenerated=require("./dependenciesAny/dependenciesSetIsSubset.generated.js"),_dependenciesSetMultiplicityGenerated=require("./dependenciesAny/dependenciesSetMultiplicity.generated.js"),_dependenciesSetPowersetGenerated=require("./dependenciesAny/dependenciesSetPowerset.generated.js"),_dependenciesSetSizeGenerated=require("./dependenciesAny/dependenciesSetSize.generated.js"),_dependenciesSetSymDifferenceGenerated=require("./dependenciesAny/dependenciesSetSymDifference.generated.js"),_dependenciesSetUnionGenerated=require("./dependenciesAny/dependenciesSetUnion.generated.js"),_dependenciesAddGenerated=require("./dependenciesAny/dependenciesAdd.generated.js"),_dependenciesHypotGenerated=require("./dependenciesAny/dependenciesHypot.generated.js"),_dependenciesNormGenerated=require("./dependenciesAny/dependenciesNorm.generated.js"),_dependenciesDotGenerated=require("./dependenciesAny/dependenciesDot.generated.js"),_dependenciesTraceGenerated=require("./dependenciesAny/dependenciesTrace.generated.js"),_dependenciesIndexGenerated=require("./dependenciesAny/dependenciesIndex.generated.js"),_dependenciesNodeGenerated=require("./dependenciesAny/dependenciesNode.generated.js"),_dependenciesAccessorNodeGenerated=require("./dependenciesAny/dependenciesAccessorNode.generated.js"),_dependenciesArrayNodeGenerated=require("./dependenciesAny/dependenciesArrayNode.generated.js"),_dependenciesAssignmentNodeGenerated=require("./dependenciesAny/dependenciesAssignmentNode.generated.js"),_dependenciesBlockNodeGenerated=require("./dependenciesAny/dependenciesBlockNode.generated.js"),_dependenciesConditionalNodeGenerated=require("./dependenciesAny/dependenciesConditionalNode.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesAny/dependenciesConstantNode.generated.js"),_dependenciesFunctionAssignmentNodeGenerated=require("./dependenciesAny/dependenciesFunctionAssignmentNode.generated.js"),_dependenciesIndexNodeGenerated=require("./dependenciesAny/dependenciesIndexNode.generated.js"),_dependenciesObjectNodeGenerated=require("./dependenciesAny/dependenciesObjectNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesAny/dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesAny/dependenciesParenthesisNode.generated.js"),_dependenciesRangeNodeGenerated=require("./dependenciesAny/dependenciesRangeNode.generated.js"),_dependenciesRelationalNodeGenerated=require("./dependenciesAny/dependenciesRelationalNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesAny/dependenciesSymbolNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesAny/dependenciesFunctionNode.generated.js"),_dependenciesParseGenerated=require("./dependenciesAny/dependenciesParse.generated.js"),_dependenciesCompileGenerated=require("./dependenciesAny/dependenciesCompile.generated.js"),_dependenciesEvaluateGenerated=require("./dependenciesAny/dependenciesEvaluate.generated.js"),_dependenciesParserClassGenerated=require("./dependenciesAny/dependenciesParserClass.generated.js"),_dependenciesParserGenerated=require("./dependenciesAny/dependenciesParser.generated.js"),_dependenciesLupGenerated=require("./dependenciesAny/dependenciesLup.generated.js"),_dependenciesQrGenerated=require("./dependenciesAny/dependenciesQr.generated.js"),_dependenciesSluGenerated=require("./dependenciesAny/dependenciesSlu.generated.js"),_dependenciesLusolveGenerated=require("./dependenciesAny/dependenciesLusolve.generated.js"),_dependenciesHelpClassGenerated=require("./dependenciesAny/dependenciesHelpClass.generated.js"),_dependenciesChainClassGenerated=require("./dependenciesAny/dependenciesChainClass.generated.js"),_dependenciesHelpGenerated=require("./dependenciesAny/dependenciesHelp.generated.js"),_dependenciesChainGenerated=require("./dependenciesAny/dependenciesChain.generated.js"),_dependenciesDetGenerated=require("./dependenciesAny/dependenciesDet.generated.js"),_dependenciesInvGenerated=require("./dependenciesAny/dependenciesInv.generated.js"),_dependenciesEigsGenerated=require("./dependenciesAny/dependenciesEigs.generated.js"),_dependenciesExpmGenerated=require("./dependenciesAny/dependenciesExpm.generated.js"),_dependenciesSqrtmGenerated=require("./dependenciesAny/dependenciesSqrtm.generated.js"),_dependenciesDivideGenerated=require("./dependenciesAny/dependenciesDivide.generated.js"),_dependenciesDistanceGenerated=require("./dependenciesAny/dependenciesDistance.generated.js"),_dependenciesIntersectGenerated=require("./dependenciesAny/dependenciesIntersect.generated.js"),_dependenciesSumGenerated=require("./dependenciesAny/dependenciesSum.generated.js"),_dependenciesMeanGenerated=require("./dependenciesAny/dependenciesMean.generated.js"),_dependenciesMedianGenerated=require("./dependenciesAny/dependenciesMedian.generated.js"),_dependenciesMadGenerated=require("./dependenciesAny/dependenciesMad.generated.js"),_dependenciesVarianceGenerated=require("./dependenciesAny/dependenciesVariance.generated.js"),_dependenciesQuantileSeqGenerated=require("./dependenciesAny/dependenciesQuantileSeq.generated.js"),_dependenciesStdGenerated=require("./dependenciesAny/dependenciesStd.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesAny/dependenciesCombinations.generated.js"),_dependenciesCombinationsWithRepGenerated=require("./dependenciesAny/dependenciesCombinationsWithRep.generated.js"),_dependenciesGammaGenerated=require("./dependenciesAny/dependenciesGamma.generated.js"),_dependenciesFactorialGenerated=require("./dependenciesAny/dependenciesFactorial.generated.js"),_dependenciesKldivergenceGenerated=require("./dependenciesAny/dependenciesKldivergence.generated.js"),_dependenciesMultinomialGenerated=require("./dependenciesAny/dependenciesMultinomial.generated.js"),_dependenciesPermutationsGenerated=require("./dependenciesAny/dependenciesPermutations.generated.js"),_dependenciesPickRandomGenerated=require("./dependenciesAny/dependenciesPickRandom.generated.js"),_dependenciesRandomGenerated=require("./dependenciesAny/dependenciesRandom.generated.js"),_dependenciesRandomIntGenerated=require("./dependenciesAny/dependenciesRandomInt.generated.js"),_dependenciesStirlingS2Generated=require("./dependenciesAny/dependenciesStirlingS2.generated.js"),_dependenciesBellNumbersGenerated=require("./dependenciesAny/dependenciesBellNumbers.generated.js"),_dependenciesCatalanGenerated=require("./dependenciesAny/dependenciesCatalan.generated.js"),_dependenciesCompositionGenerated=require("./dependenciesAny/dependenciesComposition.generated.js"),_dependenciesSimplifyGenerated=require("./dependenciesAny/dependenciesSimplify.generated.js"),_dependenciesDerivativeGenerated=require("./dependenciesAny/dependenciesDerivative.generated.js"),_dependenciesRationalizeGenerated=require("./dependenciesAny/dependenciesRationalize.generated.js"),_dependenciesReviverGenerated=require("./dependenciesAny/dependenciesReviver.generated.js"),_dependenciesReplacerGenerated=require("./dependenciesAny/dependenciesReplacer.generated.js"),_dependenciesEGenerated=require("./dependenciesAny/dependenciesE.generated.js"),_dependenciesUppercaseEGenerated=require("./dependenciesAny/dependenciesUppercaseE.generated.js"),_dependenciesFalseGenerated=require("./dependenciesAny/dependenciesFalse.generated.js"),_dependenciesIGenerated=require("./dependenciesAny/dependenciesI.generated.js"),_dependenciesInfinityGenerated=require("./dependenciesAny/dependenciesInfinity.generated.js"),_dependenciesLN10Generated=require("./dependenciesAny/dependenciesLN10.generated.js"),_dependenciesLN2Generated=require("./dependenciesAny/dependenciesLN2.generated.js"),_dependenciesLOG10EGenerated=require("./dependenciesAny/dependenciesLOG10E.generated.js"),_dependenciesLOG2EGenerated=require("./dependenciesAny/dependenciesLOG2E.generated.js"),_dependenciesNaNGenerated=require("./dependenciesAny/dependenciesNaN.generated.js"),_dependenciesNullGenerated=require("./dependenciesAny/dependenciesNull.generated.js"),_dependenciesPhiGenerated=require("./dependenciesAny/dependenciesPhi.generated.js"),_dependenciesPiGenerated=require("./dependenciesAny/dependenciesPi.generated.js"),_dependenciesUppercasePiGenerated=require("./dependenciesAny/dependenciesUppercasePi.generated.js"),_dependenciesSQRT1_2Generated=require("./dependenciesAny/dependenciesSQRT1_2.generated.js"),_dependenciesSQRT2Generated=require("./dependenciesAny/dependenciesSQRT2.generated.js"),_dependenciesTauGenerated=require("./dependenciesAny/dependenciesTau.generated.js"),_dependenciesTrueGenerated=require("./dependenciesAny/dependenciesTrue.generated.js"),_dependenciesVersionGenerated=require("./dependenciesAny/dependenciesVersion.generated.js"),_dependenciesAtomicMassGenerated=require("./dependenciesAny/dependenciesAtomicMass.generated.js"),_dependenciesAvogadroGenerated=require("./dependenciesAny/dependenciesAvogadro.generated.js"),_dependenciesBohrMagnetonGenerated=require("./dependenciesAny/dependenciesBohrMagneton.generated.js"),_dependenciesBohrRadiusGenerated=require("./dependenciesAny/dependenciesBohrRadius.generated.js"),_dependenciesBoltzmannGenerated=require("./dependenciesAny/dependenciesBoltzmann.generated.js"),_dependenciesClassicalElectronRadiusGenerated=require("./dependenciesAny/dependenciesClassicalElectronRadius.generated.js"),_dependenciesConductanceQuantumGenerated=require("./dependenciesAny/dependenciesConductanceQuantum.generated.js"),_dependenciesCoulombGenerated=require("./dependenciesAny/dependenciesCoulomb.generated.js"),_dependenciesDeuteronMassGenerated=require("./dependenciesAny/dependenciesDeuteronMass.generated.js"),_dependenciesEfimovFactorGenerated=require("./dependenciesAny/dependenciesEfimovFactor.generated.js"),_dependenciesElectricConstantGenerated=require("./dependenciesAny/dependenciesElectricConstant.generated.js"),_dependenciesElectronMassGenerated=require("./dependenciesAny/dependenciesElectronMass.generated.js"),_dependenciesElementaryChargeGenerated=require("./dependenciesAny/dependenciesElementaryCharge.generated.js"),_dependenciesFaradayGenerated=require("./dependenciesAny/dependenciesFaraday.generated.js"),_dependenciesFermiCouplingGenerated=require("./dependenciesAny/dependenciesFermiCoupling.generated.js"),_dependenciesFineStructureGenerated=require("./dependenciesAny/dependenciesFineStructure.generated.js"),_dependenciesFirstRadiationGenerated=require("./dependenciesAny/dependenciesFirstRadiation.generated.js"),_dependenciesGasConstantGenerated=require("./dependenciesAny/dependenciesGasConstant.generated.js"),_dependenciesGravitationConstantGenerated=require("./dependenciesAny/dependenciesGravitationConstant.generated.js"),_dependenciesGravityGenerated=require("./dependenciesAny/dependenciesGravity.generated.js"),_dependenciesHartreeEnergyGenerated=require("./dependenciesAny/dependenciesHartreeEnergy.generated.js"),_dependenciesInverseConductanceQuantumGenerated=require("./dependenciesAny/dependenciesInverseConductanceQuantum.generated.js"),_dependenciesKlitzingGenerated=require("./dependenciesAny/dependenciesKlitzing.generated.js"),_dependenciesLoschmidtGenerated=require("./dependenciesAny/dependenciesLoschmidt.generated.js"),_dependenciesMagneticConstantGenerated=require("./dependenciesAny/dependenciesMagneticConstant.generated.js"),_dependenciesMagneticFluxQuantumGenerated=require("./dependenciesAny/dependenciesMagneticFluxQuantum.generated.js"),_dependenciesMolarMassGenerated=require("./dependenciesAny/dependenciesMolarMass.generated.js"),_dependenciesMolarMassC12Generated=require("./dependenciesAny/dependenciesMolarMassC12.generated.js"),_dependenciesMolarPlanckConstantGenerated=require("./dependenciesAny/dependenciesMolarPlanckConstant.generated.js"),_dependenciesMolarVolumeGenerated=require("./dependenciesAny/dependenciesMolarVolume.generated.js"),_dependenciesNeutronMassGenerated=require("./dependenciesAny/dependenciesNeutronMass.generated.js"),_dependenciesNuclearMagnetonGenerated=require("./dependenciesAny/dependenciesNuclearMagneton.generated.js"),_dependenciesPlanckChargeGenerated=require("./dependenciesAny/dependenciesPlanckCharge.generated.js"),_dependenciesPlanckConstantGenerated=require("./dependenciesAny/dependenciesPlanckConstant.generated.js"),_dependenciesPlanckLengthGenerated=require("./dependenciesAny/dependenciesPlanckLength.generated.js"),_dependenciesPlanckMassGenerated=require("./dependenciesAny/dependenciesPlanckMass.generated.js"),_dependenciesPlanckTemperatureGenerated=require("./dependenciesAny/dependenciesPlanckTemperature.generated.js"),_dependenciesPlanckTimeGenerated=require("./dependenciesAny/dependenciesPlanckTime.generated.js"),_dependenciesProtonMassGenerated=require("./dependenciesAny/dependenciesProtonMass.generated.js"),_dependenciesQuantumOfCirculationGenerated=require("./dependenciesAny/dependenciesQuantumOfCirculation.generated.js"),_dependenciesReducedPlanckConstantGenerated=require("./dependenciesAny/dependenciesReducedPlanckConstant.generated.js"),_dependenciesRydbergGenerated=require("./dependenciesAny/dependenciesRydberg.generated.js"),_dependenciesSackurTetrodeGenerated=require("./dependenciesAny/dependenciesSackurTetrode.generated.js"),_dependenciesSecondRadiationGenerated=require("./dependenciesAny/dependenciesSecondRadiation.generated.js"),_dependenciesSpeedOfLightGenerated=require("./dependenciesAny/dependenciesSpeedOfLight.generated.js"),_dependenciesStefanBoltzmannGenerated=require("./dependenciesAny/dependenciesStefanBoltzmann.generated.js"),_dependenciesThomsonCrossSectionGenerated=require("./dependenciesAny/dependenciesThomsonCrossSection.generated.js"),_dependenciesVacuumImpedanceGenerated=require("./dependenciesAny/dependenciesVacuumImpedance.generated.js"),_dependenciesWeakMixingAngleGenerated=require("./dependenciesAny/dependenciesWeakMixingAngle.generated.js"),_dependenciesWienDisplacementGenerated=require("./dependenciesAny/dependenciesWienDisplacement.generated.js"),_dependenciesApplyTransformGenerated=require("./dependenciesAny/dependenciesApplyTransform.generated.js"),_dependenciesColumnTransformGenerated=require("./dependenciesAny/dependenciesColumnTransform.generated.js"),_dependenciesFilterTransformGenerated=require("./dependenciesAny/dependenciesFilterTransform.generated.js"),_dependenciesForEachTransformGenerated=require("./dependenciesAny/dependenciesForEachTransform.generated.js"),_dependenciesIndexTransformGenerated=require("./dependenciesAny/dependenciesIndexTransform.generated.js"),_dependenciesMapTransformGenerated=require("./dependenciesAny/dependenciesMapTransform.generated.js"),_dependenciesMaxTransformGenerated=require("./dependenciesAny/dependenciesMaxTransform.generated.js"),_dependenciesMeanTransformGenerated=require("./dependenciesAny/dependenciesMeanTransform.generated.js"),_dependenciesMinTransformGenerated=require("./dependenciesAny/dependenciesMinTransform.generated.js"),_dependenciesRangeTransformGenerated=require("./dependenciesAny/dependenciesRangeTransform.generated.js"),_dependenciesRowTransformGenerated=require("./dependenciesAny/dependenciesRowTransform.generated.js"),_dependenciesSubsetTransformGenerated=require("./dependenciesAny/dependenciesSubsetTransform.generated.js"),_dependenciesConcatTransformGenerated=require("./dependenciesAny/dependenciesConcatTransform.generated.js"),_dependenciesDiffTransformGenerated=require("./dependenciesAny/dependenciesDiffTransform.generated.js"),_dependenciesStdTransformGenerated=require("./dependenciesAny/dependenciesStdTransform.generated.js"),_dependenciesSumTransformGenerated=require("./dependenciesAny/dependenciesSumTransform.generated.js"),_dependenciesVarianceTransformGenerated=require("./dependenciesAny/dependenciesVarianceTransform.generated.js"),_allFactoriesAny=require("./allFactoriesAny.js")},{"./allFactoriesAny.js":41,"./dependenciesAny/dependenciesAbs.generated.js":44,"./dependenciesAny/dependenciesAccessorNode.generated.js":45,"./dependenciesAny/dependenciesAcos.generated.js":46,"./dependenciesAny/dependenciesAcosh.generated.js":47,"./dependenciesAny/dependenciesAcot.generated.js":48,"./dependenciesAny/dependenciesAcoth.generated.js":49,"./dependenciesAny/dependenciesAcsc.generated.js":50,"./dependenciesAny/dependenciesAcsch.generated.js":51,"./dependenciesAny/dependenciesAdd.generated.js":52,"./dependenciesAny/dependenciesAddScalar.generated.js":53,"./dependenciesAny/dependenciesAnd.generated.js":54,"./dependenciesAny/dependenciesApply.generated.js":55,"./dependenciesAny/dependenciesApplyTransform.generated.js":56,"./dependenciesAny/dependenciesArg.generated.js":57,"./dependenciesAny/dependenciesArrayNode.generated.js":58,"./dependenciesAny/dependenciesAsec.generated.js":59,"./dependenciesAny/dependenciesAsech.generated.js":60,"./dependenciesAny/dependenciesAsin.generated.js":61,"./dependenciesAny/dependenciesAsinh.generated.js":62,"./dependenciesAny/dependenciesAssignmentNode.generated.js":63,"./dependenciesAny/dependenciesAtan.generated.js":64,"./dependenciesAny/dependenciesAtan2.generated.js":65,"./dependenciesAny/dependenciesAtanh.generated.js":66,"./dependenciesAny/dependenciesAtomicMass.generated.js":67,"./dependenciesAny/dependenciesAvogadro.generated.js":68,"./dependenciesAny/dependenciesBellNumbers.generated.js":69,"./dependenciesAny/dependenciesBigNumberClass.generated.js":70,"./dependenciesAny/dependenciesBignumber.generated.js":71,"./dependenciesAny/dependenciesBin.generated.js":72,"./dependenciesAny/dependenciesBitAnd.generated.js":73,"./dependenciesAny/dependenciesBitNot.generated.js":74,"./dependenciesAny/dependenciesBitOr.generated.js":75,"./dependenciesAny/dependenciesBitXor.generated.js":76,"./dependenciesAny/dependenciesBlockNode.generated.js":77,"./dependenciesAny/dependenciesBohrMagneton.generated.js":78,"./dependenciesAny/dependenciesBohrRadius.generated.js":79,"./dependenciesAny/dependenciesBoltzmann.generated.js":80,"./dependenciesAny/dependenciesBoolean.generated.js":81,"./dependenciesAny/dependenciesCatalan.generated.js":82,"./dependenciesAny/dependenciesCbrt.generated.js":83,"./dependenciesAny/dependenciesCeil.generated.js":84,"./dependenciesAny/dependenciesChain.generated.js":85,"./dependenciesAny/dependenciesChainClass.generated.js":86,"./dependenciesAny/dependenciesClassicalElectronRadius.generated.js":87,"./dependenciesAny/dependenciesClone.generated.js":88,"./dependenciesAny/dependenciesColumn.generated.js":89,"./dependenciesAny/dependenciesColumnTransform.generated.js":90,"./dependenciesAny/dependenciesCombinations.generated.js":91,"./dependenciesAny/dependenciesCombinationsWithRep.generated.js":92,"./dependenciesAny/dependenciesCompare.generated.js":93,"./dependenciesAny/dependenciesCompareNatural.generated.js":94,"./dependenciesAny/dependenciesCompareText.generated.js":95,"./dependenciesAny/dependenciesCompile.generated.js":96,"./dependenciesAny/dependenciesComplex.generated.js":97,"./dependenciesAny/dependenciesComplexClass.generated.js":98,"./dependenciesAny/dependenciesComposition.generated.js":99,"./dependenciesAny/dependenciesConcat.generated.js":100,"./dependenciesAny/dependenciesConcatTransform.generated.js":101,"./dependenciesAny/dependenciesConditionalNode.generated.js":102,"./dependenciesAny/dependenciesConductanceQuantum.generated.js":103,"./dependenciesAny/dependenciesConj.generated.js":104,"./dependenciesAny/dependenciesConstantNode.generated.js":105,"./dependenciesAny/dependenciesCos.generated.js":106,"./dependenciesAny/dependenciesCosh.generated.js":107,"./dependenciesAny/dependenciesCot.generated.js":108,"./dependenciesAny/dependenciesCoth.generated.js":109,"./dependenciesAny/dependenciesCoulomb.generated.js":110,"./dependenciesAny/dependenciesCount.generated.js":111,"./dependenciesAny/dependenciesCreateUnit.generated.js":112,"./dependenciesAny/dependenciesCross.generated.js":113,"./dependenciesAny/dependenciesCsc.generated.js":114,"./dependenciesAny/dependenciesCsch.generated.js":115,"./dependenciesAny/dependenciesCtranspose.generated.js":116,"./dependenciesAny/dependenciesCube.generated.js":117,"./dependenciesAny/dependenciesDeepEqual.generated.js":118,"./dependenciesAny/dependenciesDenseMatrixClass.generated.js":119,"./dependenciesAny/dependenciesDerivative.generated.js":120,"./dependenciesAny/dependenciesDet.generated.js":121,"./dependenciesAny/dependenciesDeuteronMass.generated.js":122,"./dependenciesAny/dependenciesDiag.generated.js":123,"./dependenciesAny/dependenciesDiff.generated.js":124,"./dependenciesAny/dependenciesDiffTransform.generated.js":125,"./dependenciesAny/dependenciesDistance.generated.js":126,"./dependenciesAny/dependenciesDivide.generated.js":127,"./dependenciesAny/dependenciesDivideScalar.generated.js":128,"./dependenciesAny/dependenciesDot.generated.js":129,"./dependenciesAny/dependenciesDotDivide.generated.js":130,"./dependenciesAny/dependenciesDotMultiply.generated.js":131,"./dependenciesAny/dependenciesDotPow.generated.js":132,"./dependenciesAny/dependenciesE.generated.js":133,"./dependenciesAny/dependenciesEfimovFactor.generated.js":134,"./dependenciesAny/dependenciesEigs.generated.js":135,"./dependenciesAny/dependenciesElectricConstant.generated.js":136,"./dependenciesAny/dependenciesElectronMass.generated.js":137,"./dependenciesAny/dependenciesElementaryCharge.generated.js":138,"./dependenciesAny/dependenciesEqual.generated.js":139,"./dependenciesAny/dependenciesEqualScalar.generated.js":140,"./dependenciesAny/dependenciesEqualText.generated.js":141,"./dependenciesAny/dependenciesErf.generated.js":142,"./dependenciesAny/dependenciesEvaluate.generated.js":143,"./dependenciesAny/dependenciesExp.generated.js":144,"./dependenciesAny/dependenciesExpm.generated.js":145,"./dependenciesAny/dependenciesExpm1.generated.js":146,"./dependenciesAny/dependenciesFactorial.generated.js":147,"./dependenciesAny/dependenciesFalse.generated.js":148,"./dependenciesAny/dependenciesFaraday.generated.js":149,"./dependenciesAny/dependenciesFermiCoupling.generated.js":150,"./dependenciesAny/dependenciesFibonacciHeapClass.generated.js":151,"./dependenciesAny/dependenciesFilter.generated.js":152,"./dependenciesAny/dependenciesFilterTransform.generated.js":153,"./dependenciesAny/dependenciesFineStructure.generated.js":154,"./dependenciesAny/dependenciesFirstRadiation.generated.js":155,"./dependenciesAny/dependenciesFix.generated.js":156,"./dependenciesAny/dependenciesFlatten.generated.js":157,"./dependenciesAny/dependenciesFloor.generated.js":158,"./dependenciesAny/dependenciesForEach.generated.js":159,"./dependenciesAny/dependenciesForEachTransform.generated.js":160,"./dependenciesAny/dependenciesFormat.generated.js":161,"./dependenciesAny/dependenciesFraction.generated.js":162,"./dependenciesAny/dependenciesFractionClass.generated.js":163,"./dependenciesAny/dependenciesFunctionAssignmentNode.generated.js":164,"./dependenciesAny/dependenciesFunctionNode.generated.js":165,"./dependenciesAny/dependenciesGamma.generated.js":166,"./dependenciesAny/dependenciesGasConstant.generated.js":167,"./dependenciesAny/dependenciesGcd.generated.js":168,"./dependenciesAny/dependenciesGetMatrixDataType.generated.js":169,"./dependenciesAny/dependenciesGravitationConstant.generated.js":170,"./dependenciesAny/dependenciesGravity.generated.js":171,"./dependenciesAny/dependenciesHartreeEnergy.generated.js":172,"./dependenciesAny/dependenciesHasNumericValue.generated.js":173,"./dependenciesAny/dependenciesHelp.generated.js":174,"./dependenciesAny/dependenciesHelpClass.generated.js":175,"./dependenciesAny/dependenciesHex.generated.js":176,"./dependenciesAny/dependenciesHypot.generated.js":177,"./dependenciesAny/dependenciesI.generated.js":178,"./dependenciesAny/dependenciesIdentity.generated.js":179,"./dependenciesAny/dependenciesIm.generated.js":180,"./dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js":181,"./dependenciesAny/dependenciesIndex.generated.js":182,"./dependenciesAny/dependenciesIndexClass.generated.js":183,"./dependenciesAny/dependenciesIndexNode.generated.js":184,"./dependenciesAny/dependenciesIndexTransform.generated.js":185,"./dependenciesAny/dependenciesInfinity.generated.js":186,"./dependenciesAny/dependenciesIntersect.generated.js":187,"./dependenciesAny/dependenciesInv.generated.js":188,"./dependenciesAny/dependenciesInverseConductanceQuantum.generated.js":189,"./dependenciesAny/dependenciesIsInteger.generated.js":190,"./dependenciesAny/dependenciesIsNaN.generated.js":191,"./dependenciesAny/dependenciesIsNegative.generated.js":192,"./dependenciesAny/dependenciesIsNumeric.generated.js":193,"./dependenciesAny/dependenciesIsPositive.generated.js":194,"./dependenciesAny/dependenciesIsPrime.generated.js":195,"./dependenciesAny/dependenciesIsZero.generated.js":196,"./dependenciesAny/dependenciesKldivergence.generated.js":197,"./dependenciesAny/dependenciesKlitzing.generated.js":198,"./dependenciesAny/dependenciesKron.generated.js":199,"./dependenciesAny/dependenciesLN10.generated.js":200,"./dependenciesAny/dependenciesLN2.generated.js":201,"./dependenciesAny/dependenciesLOG10E.generated.js":202,"./dependenciesAny/dependenciesLOG2E.generated.js":203,"./dependenciesAny/dependenciesLarger.generated.js":204,"./dependenciesAny/dependenciesLargerEq.generated.js":205,"./dependenciesAny/dependenciesLcm.generated.js":206,"./dependenciesAny/dependenciesLeftShift.generated.js":207,"./dependenciesAny/dependenciesLog.generated.js":208,"./dependenciesAny/dependenciesLog10.generated.js":209,"./dependenciesAny/dependenciesLog1p.generated.js":210,"./dependenciesAny/dependenciesLog2.generated.js":211,"./dependenciesAny/dependenciesLoschmidt.generated.js":212,"./dependenciesAny/dependenciesLsolve.generated.js":213,"./dependenciesAny/dependenciesLsolveAll.generated.js":214,"./dependenciesAny/dependenciesLup.generated.js":215,"./dependenciesAny/dependenciesLusolve.generated.js":216,"./dependenciesAny/dependenciesMad.generated.js":217,"./dependenciesAny/dependenciesMagneticConstant.generated.js":218,"./dependenciesAny/dependenciesMagneticFluxQuantum.generated.js":219,"./dependenciesAny/dependenciesMap.generated.js":220,"./dependenciesAny/dependenciesMapTransform.generated.js":221,"./dependenciesAny/dependenciesMatrix.generated.js":222,"./dependenciesAny/dependenciesMatrixClass.generated.js":223,"./dependenciesAny/dependenciesMatrixFromColumns.generated.js":224,"./dependenciesAny/dependenciesMatrixFromFunction.generated.js":225,"./dependenciesAny/dependenciesMatrixFromRows.generated.js":226,"./dependenciesAny/dependenciesMax.generated.js":227,"./dependenciesAny/dependenciesMaxTransform.generated.js":228,"./dependenciesAny/dependenciesMean.generated.js":229,"./dependenciesAny/dependenciesMeanTransform.generated.js":230,"./dependenciesAny/dependenciesMedian.generated.js":231,"./dependenciesAny/dependenciesMin.generated.js":232,"./dependenciesAny/dependenciesMinTransform.generated.js":233,"./dependenciesAny/dependenciesMod.generated.js":234,"./dependenciesAny/dependenciesMode.generated.js":235,"./dependenciesAny/dependenciesMolarMass.generated.js":236,"./dependenciesAny/dependenciesMolarMassC12.generated.js":237,"./dependenciesAny/dependenciesMolarPlanckConstant.generated.js":238,"./dependenciesAny/dependenciesMolarVolume.generated.js":239,"./dependenciesAny/dependenciesMultinomial.generated.js":240,"./dependenciesAny/dependenciesMultiply.generated.js":241,"./dependenciesAny/dependenciesMultiplyScalar.generated.js":242,"./dependenciesAny/dependenciesNaN.generated.js":243,"./dependenciesAny/dependenciesNeutronMass.generated.js":244,"./dependenciesAny/dependenciesNode.generated.js":245,"./dependenciesAny/dependenciesNorm.generated.js":246,"./dependenciesAny/dependenciesNot.generated.js":247,"./dependenciesAny/dependenciesNthRoot.generated.js":248,"./dependenciesAny/dependenciesNthRoots.generated.js":249,"./dependenciesAny/dependenciesNuclearMagneton.generated.js":250,"./dependenciesAny/dependenciesNull.generated.js":251,"./dependenciesAny/dependenciesNumber.generated.js":252,"./dependenciesAny/dependenciesNumeric.generated.js":253,"./dependenciesAny/dependenciesObjectNode.generated.js":254,"./dependenciesAny/dependenciesOct.generated.js":255,"./dependenciesAny/dependenciesOnes.generated.js":256,"./dependenciesAny/dependenciesOperatorNode.generated.js":257,"./dependenciesAny/dependenciesOr.generated.js":258,"./dependenciesAny/dependenciesParenthesisNode.generated.js":259,"./dependenciesAny/dependenciesParse.generated.js":260,"./dependenciesAny/dependenciesParser.generated.js":261,"./dependenciesAny/dependenciesParserClass.generated.js":262,"./dependenciesAny/dependenciesPartitionSelect.generated.js":263,"./dependenciesAny/dependenciesPermutations.generated.js":264,"./dependenciesAny/dependenciesPhi.generated.js":265,"./dependenciesAny/dependenciesPi.generated.js":266,"./dependenciesAny/dependenciesPickRandom.generated.js":267,"./dependenciesAny/dependenciesPlanckCharge.generated.js":268,"./dependenciesAny/dependenciesPlanckConstant.generated.js":269,"./dependenciesAny/dependenciesPlanckLength.generated.js":270,"./dependenciesAny/dependenciesPlanckMass.generated.js":271,"./dependenciesAny/dependenciesPlanckTemperature.generated.js":272,"./dependenciesAny/dependenciesPlanckTime.generated.js":273,"./dependenciesAny/dependenciesPow.generated.js":274,"./dependenciesAny/dependenciesPrint.generated.js":275,"./dependenciesAny/dependenciesProd.generated.js":276,"./dependenciesAny/dependenciesProtonMass.generated.js":277,"./dependenciesAny/dependenciesQr.generated.js":278,"./dependenciesAny/dependenciesQuantileSeq.generated.js":279,"./dependenciesAny/dependenciesQuantumOfCirculation.generated.js":280,"./dependenciesAny/dependenciesRandom.generated.js":281,"./dependenciesAny/dependenciesRandomInt.generated.js":282,"./dependenciesAny/dependenciesRange.generated.js":283,"./dependenciesAny/dependenciesRangeClass.generated.js":284,"./dependenciesAny/dependenciesRangeNode.generated.js":285,"./dependenciesAny/dependenciesRangeTransform.generated.js":286,"./dependenciesAny/dependenciesRationalize.generated.js":287,"./dependenciesAny/dependenciesRe.generated.js":288,"./dependenciesAny/dependenciesReducedPlanckConstant.generated.js":289,"./dependenciesAny/dependenciesRelationalNode.generated.js":290,"./dependenciesAny/dependenciesReplacer.generated.js":291,"./dependenciesAny/dependenciesReshape.generated.js":292,"./dependenciesAny/dependenciesResize.generated.js":293,"./dependenciesAny/dependenciesResultSet.generated.js":294,"./dependenciesAny/dependenciesReviver.generated.js":295,"./dependenciesAny/dependenciesRightArithShift.generated.js":296,"./dependenciesAny/dependenciesRightLogShift.generated.js":297,"./dependenciesAny/dependenciesRotate.generated.js":298,"./dependenciesAny/dependenciesRotationMatrix.generated.js":299,"./dependenciesAny/dependenciesRound.generated.js":300,"./dependenciesAny/dependenciesRow.generated.js":301,"./dependenciesAny/dependenciesRowTransform.generated.js":302,"./dependenciesAny/dependenciesRydberg.generated.js":303,"./dependenciesAny/dependenciesSQRT1_2.generated.js":304,"./dependenciesAny/dependenciesSQRT2.generated.js":305,"./dependenciesAny/dependenciesSackurTetrode.generated.js":306,"./dependenciesAny/dependenciesSec.generated.js":307,"./dependenciesAny/dependenciesSech.generated.js":308,"./dependenciesAny/dependenciesSecondRadiation.generated.js":309,"./dependenciesAny/dependenciesSetCartesian.generated.js":310,"./dependenciesAny/dependenciesSetDifference.generated.js":311,"./dependenciesAny/dependenciesSetDistinct.generated.js":312,"./dependenciesAny/dependenciesSetIntersect.generated.js":313,"./dependenciesAny/dependenciesSetIsSubset.generated.js":314,"./dependenciesAny/dependenciesSetMultiplicity.generated.js":315,"./dependenciesAny/dependenciesSetPowerset.generated.js":316,"./dependenciesAny/dependenciesSetSize.generated.js":317,"./dependenciesAny/dependenciesSetSymDifference.generated.js":318,"./dependenciesAny/dependenciesSetUnion.generated.js":319,"./dependenciesAny/dependenciesSign.generated.js":320,"./dependenciesAny/dependenciesSimplify.generated.js":321,"./dependenciesAny/dependenciesSin.generated.js":322,"./dependenciesAny/dependenciesSinh.generated.js":323,"./dependenciesAny/dependenciesSize.generated.js":324,"./dependenciesAny/dependenciesSlu.generated.js":325,"./dependenciesAny/dependenciesSmaller.generated.js":326,"./dependenciesAny/dependenciesSmallerEq.generated.js":327,"./dependenciesAny/dependenciesSort.generated.js":328,"./dependenciesAny/dependenciesSpaClass.generated.js":329,"./dependenciesAny/dependenciesSparse.generated.js":330,"./dependenciesAny/dependenciesSparseMatrixClass.generated.js":331,"./dependenciesAny/dependenciesSpeedOfLight.generated.js":332,"./dependenciesAny/dependenciesSplitUnit.generated.js":333,"./dependenciesAny/dependenciesSqrt.generated.js":334,"./dependenciesAny/dependenciesSqrtm.generated.js":335,"./dependenciesAny/dependenciesSquare.generated.js":336,"./dependenciesAny/dependenciesSqueeze.generated.js":337,"./dependenciesAny/dependenciesStd.generated.js":338,"./dependenciesAny/dependenciesStdTransform.generated.js":339,"./dependenciesAny/dependenciesStefanBoltzmann.generated.js":340,"./dependenciesAny/dependenciesStirlingS2.generated.js":341,"./dependenciesAny/dependenciesString.generated.js":342,"./dependenciesAny/dependenciesSubset.generated.js":343,"./dependenciesAny/dependenciesSubsetTransform.generated.js":344,"./dependenciesAny/dependenciesSubtract.generated.js":345,"./dependenciesAny/dependenciesSum.generated.js":346,"./dependenciesAny/dependenciesSumTransform.generated.js":347,"./dependenciesAny/dependenciesSymbolNode.generated.js":348,"./dependenciesAny/dependenciesTan.generated.js":349,"./dependenciesAny/dependenciesTanh.generated.js":350,"./dependenciesAny/dependenciesTau.generated.js":351,"./dependenciesAny/dependenciesThomsonCrossSection.generated.js":352,"./dependenciesAny/dependenciesTo.generated.js":353,"./dependenciesAny/dependenciesTrace.generated.js":354,"./dependenciesAny/dependenciesTranspose.generated.js":355,"./dependenciesAny/dependenciesTrue.generated.js":356,"./dependenciesAny/dependenciesTypeOf.generated.js":357,"./dependenciesAny/dependenciesTyped.generated.js":358,"./dependenciesAny/dependenciesUnaryMinus.generated.js":359,"./dependenciesAny/dependenciesUnaryPlus.generated.js":360,"./dependenciesAny/dependenciesUnequal.generated.js":361,"./dependenciesAny/dependenciesUnitClass.generated.js":362,"./dependenciesAny/dependenciesUnitFunction.generated.js":363,"./dependenciesAny/dependenciesUppercaseE.generated.js":364,"./dependenciesAny/dependenciesUppercasePi.generated.js":365,"./dependenciesAny/dependenciesUsolve.generated.js":366,"./dependenciesAny/dependenciesUsolveAll.generated.js":367,"./dependenciesAny/dependenciesVacuumImpedance.generated.js":368,"./dependenciesAny/dependenciesVariance.generated.js":369,"./dependenciesAny/dependenciesVarianceTransform.generated.js":370,"./dependenciesAny/dependenciesVersion.generated.js":371,"./dependenciesAny/dependenciesWeakMixingAngle.generated.js":372,"./dependenciesAny/dependenciesWienDisplacement.generated.js":373,"./dependenciesAny/dependenciesXgcd.generated.js":374,"./dependenciesAny/dependenciesXor.generated.js":375,"./dependenciesAny/dependenciesZeros.generated.js":376}],44:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.absDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),absDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAbs:_factoriesAny.createAbs};exports.absDependencies=absDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],45:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AccessorNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_factoriesAny=require("../../factoriesAny.js"),AccessorNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,createAccessorNode:_factoriesAny.createAccessorNode};exports.AccessorNodeDependencies=AccessorNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesSubset.generated.js":343}],46:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acosDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acosDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcos:_factoriesAny.createAcos};exports.acosDependencies=acosDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],47:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acoshDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acoshDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcosh:_factoriesAny.createAcosh};exports.acoshDependencies=acoshDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],48:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acotDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acotDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcot:_factoriesAny.createAcot};exports.acotDependencies=acotDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],49:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acothDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acothDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcoth:_factoriesAny.createAcoth};exports.acothDependencies=acothDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],50:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acscDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acscDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcsc:_factoriesAny.createAcsc};exports.acscDependencies=acscDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],51:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acschDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),acschDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAcsch:_factoriesAny.createAcsch};exports.acschDependencies=acschDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],52:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),addDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAdd:_factoriesAny.createAdd};exports.addDependencies=addDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],53:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addScalarDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),addScalarDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAddScalar:_factoriesAny.createAddScalar};exports.addScalarDependencies=addScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],54:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.andDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNotGenerated=require("./dependenciesNot.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),andDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,notDependencies:_dependenciesNotGenerated.notDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createAnd:_factoriesAny.createAnd};exports.andDependencies=andDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesNot.generated.js":247,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],55:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.applyDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),applyDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createApply:_factoriesAny.createApply};exports.applyDependencies=applyDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesTyped.generated.js":358}],56:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.applyTransformDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),applyTransformDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createApplyTransform:_factoriesAny.createApplyTransform};exports.applyTransformDependencies=applyTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesTyped.generated.js":358}],57:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.argDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),argDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createArg:_factoriesAny.createArg};exports.argDependencies=argDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],58:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArrayNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ArrayNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createArrayNode:_factoriesAny.createArrayNode};exports.ArrayNodeDependencies=ArrayNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],59:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asecDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asecDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsec:_factoriesAny.createAsec};exports.asecDependencies=asecDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],60:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asechDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asechDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsech:_factoriesAny.createAsech};exports.asechDependencies=asechDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],61:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asinDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsin:_factoriesAny.createAsin};exports.asinDependencies=asinDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],62:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinhDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),asinhDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAsinh:_factoriesAny.createAsinh};exports.asinhDependencies=asinhDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],63:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AssignmentNodeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_factoriesAny=require("../../factoriesAny.js"),AssignmentNodeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,createAssignmentNode:_factoriesAny.createAssignmentNode};exports.AssignmentNodeDependencies=AssignmentNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesNode.generated.js":245,"./dependenciesSubset.generated.js":343}],64:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atanDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAtan:_factoriesAny.createAtan};exports.atanDependencies=atanDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],65:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atan2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atan2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAtan2:_factoriesAny.createAtan2};exports.atan2Dependencies=atan2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],66:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanhDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atanhDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createAtanh:_factoriesAny.createAtanh};exports.atanhDependencies=atanhDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],67:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atomicMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),atomicMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createAtomicMass:_factoriesAny.createAtomicMass};exports.atomicMassDependencies=atomicMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],68:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.avogadroDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),avogadroDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createAvogadro:_factoriesAny.createAvogadro};exports.avogadroDependencies=avogadroDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],69:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bellNumbersDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesStirlingS2Generated=require("./dependenciesStirlingS2.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bellNumbersDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,stirlingS2Dependencies:_dependenciesStirlingS2Generated.stirlingS2Dependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBellNumbers:_factoriesAny.createBellNumbers};exports.bellNumbersDependencies=bellNumbersDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesStirlingS2.generated.js":341,"./dependenciesTyped.generated.js":358}],70:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BigNumberDependencies=void 0;var BigNumberDependencies={createBigNumberClass:require("../../factoriesAny.js").createBigNumberClass};exports.BigNumberDependencies=BigNumberDependencies},{"../../factoriesAny.js":654}],71:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bignumberDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bignumberDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBignumber:_factoriesAny.createBignumber};exports.bignumberDependencies=bignumberDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],72:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.binDependencies=void 0;var _dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),binDependencies={formatDependencies:_dependenciesFormatGenerated.formatDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBin:_factoriesAny.createBin};exports.binDependencies=binDependencies},{"../../factoriesAny.js":654,"./dependenciesFormat.generated.js":161,"./dependenciesTyped.generated.js":358}],73:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitAndDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitAnd:_factoriesAny.createBitAnd};exports.bitAndDependencies=bitAndDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],74:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitNotDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitNotDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitNot:_factoriesAny.createBitNot};exports.bitNotDependencies=bitNotDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],75:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitOrDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitOrDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitOr:_factoriesAny.createBitOr};exports.bitOrDependencies=bitOrDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],76:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitXorDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bitXorDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBitXor:_factoriesAny.createBitXor};exports.bitXorDependencies=bitXorDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],77:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BlockNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesResultSetGenerated=require("./dependenciesResultSet.generated.js"),_factoriesAny=require("../../factoriesAny.js"),BlockNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,ResultSetDependencies:_dependenciesResultSetGenerated.ResultSetDependencies,createBlockNode:_factoriesAny.createBlockNode};exports.BlockNodeDependencies=BlockNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesResultSet.generated.js":294}],78:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bohrMagnetonDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bohrMagnetonDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createBohrMagneton:_factoriesAny.createBohrMagneton};exports.bohrMagnetonDependencies=bohrMagnetonDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],79:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bohrRadiusDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),bohrRadiusDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createBohrRadius:_factoriesAny.createBohrRadius};exports.bohrRadiusDependencies=bohrRadiusDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],80:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.boltzmannDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),boltzmannDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createBoltzmann:_factoriesAny.createBoltzmann};exports.boltzmannDependencies=boltzmannDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],81:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.booleanDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),booleanDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createBoolean:_factoriesAny.createBoolean};exports.booleanDependencies=booleanDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],82:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.catalanDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesCombinations.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),catalanDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,combinationsDependencies:_dependenciesCombinationsGenerated.combinationsDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCatalan:_factoriesAny.createCatalan};exports.catalanDependencies=catalanDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesCombinations.generated.js":91,"./dependenciesDivideScalar.generated.js":128,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],83:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cbrtDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cbrtDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createCbrt:_factoriesAny.createCbrt};exports.cbrtDependencies=cbrtDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesFractionClass.generated.js":163,"./dependenciesIsNegative.generated.js":192,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],84:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ceilDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRoundGenerated=require("./dependenciesRound.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ceilDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,roundDependencies:_dependenciesRoundGenerated.roundDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCeil:_factoriesAny.createCeil};exports.ceilDependencies=ceilDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesRound.generated.js":300,"./dependenciesTyped.generated.js":358}],85:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.chainDependencies=void 0;var _dependenciesChainClassGenerated=require("./dependenciesChainClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),chainDependencies={ChainDependencies:_dependenciesChainClassGenerated.ChainDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createChain:_factoriesAny.createChain};exports.chainDependencies=chainDependencies},{"../../factoriesAny.js":654,"./dependenciesChainClass.generated.js":86,"./dependenciesTyped.generated.js":358}],86:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChainDependencies=void 0;var ChainDependencies={createChainClass:require("../../factoriesAny.js").createChainClass};exports.ChainDependencies=ChainDependencies},{"../../factoriesAny.js":654}],87:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classicalElectronRadiusDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),classicalElectronRadiusDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createClassicalElectronRadius:_factoriesAny.createClassicalElectronRadius};exports.classicalElectronRadiusDependencies=classicalElectronRadiusDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],88:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cloneDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cloneDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createClone:_factoriesAny.createClone};exports.cloneDependencies=cloneDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],89:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.columnDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),columnDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createColumn:_factoriesAny.createColumn};exports.columnDependencies=columnDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],90:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.columnTransformDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),columnTransformDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createColumnTransform:_factoriesAny.createColumnTransform};exports.columnTransformDependencies=columnTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],91:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),combinationsDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCombinations:_factoriesAny.createCombinations};exports.combinationsDependencies=combinationsDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],92:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsWithRepDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),combinationsWithRepDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCombinationsWithRep:_factoriesAny.createCombinationsWithRep};exports.combinationsWithRepDependencies=combinationsWithRepDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],93:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compareDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompare:_factoriesAny.createCompare};exports.compareDependencies=compareDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesFractionClass.generated.js":163,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],94:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareNaturalDependencies=void 0;var _dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compareNaturalDependencies={compareDependencies:_dependenciesCompareGenerated.compareDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompareNatural:_factoriesAny.createCompareNatural};exports.compareNaturalDependencies=compareNaturalDependencies},{"../../factoriesAny.js":654,"./dependenciesCompare.generated.js":93,"./dependenciesTyped.generated.js":358}],95:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareTextDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compareTextDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompareText:_factoriesAny.createCompareText};exports.compareTextDependencies=compareTextDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],96:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compileDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compileDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCompile:_factoriesAny.createCompile};exports.compileDependencies=compileDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260,"./dependenciesTyped.generated.js":358}],97:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.complexDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),complexDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createComplex:_factoriesAny.createComplex};exports.complexDependencies=complexDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],98:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComplexDependencies=void 0;var ComplexDependencies={createComplexClass:require("../../factoriesAny.js").createComplexClass};exports.ComplexDependencies=ComplexDependencies},{"../../factoriesAny.js":654}],99:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compositionDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesCombinations.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesIsPositive.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),compositionDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,combinationsDependencies:_dependenciesCombinationsGenerated.combinationsDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,isPositiveDependencies:_dependenciesIsPositiveGenerated.isPositiveDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createComposition:_factoriesAny.createComposition};exports.compositionDependencies=compositionDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesCombinations.generated.js":91,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesIsPositive.generated.js":194,"./dependenciesLarger.generated.js":204,"./dependenciesTyped.generated.js":358}],100:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.concatDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),concatDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createConcat:_factoriesAny.createConcat};exports.concatDependencies=concatDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],101:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.concatTransformDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),concatTransformDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createConcatTransform:_factoriesAny.createConcatTransform};exports.concatTransformDependencies=concatTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],102:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConditionalNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ConditionalNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createConditionalNode:_factoriesAny.createConditionalNode};exports.ConditionalNodeDependencies=ConditionalNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],103:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conductanceQuantumDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),conductanceQuantumDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createConductanceQuantum:_factoriesAny.createConductanceQuantum};exports.conductanceQuantumDependencies=conductanceQuantumDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],104:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conjDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),conjDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createConj:_factoriesAny.createConj};exports.conjDependencies=conjDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],105:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConstantNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ConstantNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createConstantNode:_factoriesAny.createConstantNode};exports.ConstantNodeDependencies=ConstantNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],106:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cosDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cosDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCos:_factoriesAny.createCos};exports.cosDependencies=cosDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],107:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.coshDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),coshDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCosh:_factoriesAny.createCosh};exports.coshDependencies=coshDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],108:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cotDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cotDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCot:_factoriesAny.createCot};exports.cotDependencies=cotDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],109:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cothDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cothDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCoth:_factoriesAny.createCoth};exports.cothDependencies=cothDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],110:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.coulombDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),coulombDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createCoulomb:_factoriesAny.createCoulomb};exports.coulombDependencies=coulombDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],111:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.countDependencies=void 0;var _dependenciesProdGenerated=require("./dependenciesProd.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),countDependencies={prodDependencies:_dependenciesProdGenerated.prodDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCount:_factoriesAny.createCount};exports.countDependencies=countDependencies},{"../../factoriesAny.js":654,"./dependenciesProd.generated.js":276,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],112:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnitDependencies=void 0;var _dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),createUnitDependencies={UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCreateUnit:_factoriesAny.createCreateUnit};exports.createUnitDependencies=createUnitDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358,"./dependenciesUnitClass.generated.js":362}],113:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.crossDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),crossDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCross:_factoriesAny.createCross};exports.crossDependencies=crossDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],114:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cscDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cscDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCsc:_factoriesAny.createCsc};exports.cscDependencies=cscDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],115:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cschDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cschDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCsch:_factoriesAny.createCsch};exports.cschDependencies=cschDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],116:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ctransposeDependencies=void 0;var _dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesTransposeGenerated=require("./dependenciesTranspose.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ctransposeDependencies={conjDependencies:_dependenciesConjGenerated.conjDependencies,transposeDependencies:_dependenciesTransposeGenerated.transposeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCtranspose:_factoriesAny.createCtranspose};exports.ctransposeDependencies=ctransposeDependencies},{"../../factoriesAny.js":654,"./dependenciesConj.generated.js":104,"./dependenciesTranspose.generated.js":355,"./dependenciesTyped.generated.js":358}],117:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cubeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),cubeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createCube:_factoriesAny.createCube};exports.cubeDependencies=cubeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],118:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deepEqualDependencies=void 0;var _dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),deepEqualDependencies={equalDependencies:_dependenciesEqualGenerated.equalDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDeepEqual:_factoriesAny.createDeepEqual};exports.deepEqualDependencies=deepEqualDependencies},{"../../factoriesAny.js":654,"./dependenciesEqual.generated.js":139,"./dependenciesTyped.generated.js":358}],119:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DenseMatrixDependencies=void 0;var _dependenciesMatrixClassGenerated=require("./dependenciesMatrixClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),DenseMatrixDependencies={MatrixDependencies:_dependenciesMatrixClassGenerated.MatrixDependencies,createDenseMatrixClass:_factoriesAny.createDenseMatrixClass};exports.DenseMatrixDependencies=DenseMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrixClass.generated.js":223}],120:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.derivativeDependencies=void 0;var _dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesSimplifyGenerated=require("./dependenciesSimplify.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),derivativeDependencies={ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,parseDependencies:_dependenciesParseGenerated.parseDependencies,simplifyDependencies:_dependenciesSimplifyGenerated.simplifyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDerivative:_factoriesAny.createDerivative};exports.derivativeDependencies=derivativeDependencies},{"../../factoriesAny.js":654,"./dependenciesConstantNode.generated.js":105,"./dependenciesEqual.generated.js":139,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIsZero.generated.js":196,"./dependenciesNumeric.generated.js":253,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesParse.generated.js":260,"./dependenciesSimplify.generated.js":321,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],121:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.detDependencies=void 0;var _dependenciesLupGenerated=require("./dependenciesLup.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),detDependencies={lupDependencies:_dependenciesLupGenerated.lupDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createDet:_factoriesAny.createDet};exports.detDependencies=detDependencies},{"../../factoriesAny.js":654,"./dependenciesLup.generated.js":215,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],122:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deuteronMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),deuteronMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createDeuteronMass:_factoriesAny.createDeuteronMass};exports.deuteronMassDependencies=deuteronMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],123:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diagDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),diagDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDiag:_factoriesAny.createDiag};exports.diagDependencies=diagDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],124:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diffDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),diffDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDiff:_factoriesAny.createDiff};exports.diffDependencies=diffDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesNumber.generated.js":252,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],125:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diffTransformDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),diffTransformDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDiffTransform:_factoriesAny.createDiffTransform};exports.diffTransformDependencies=diffTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesMatrix.generated.js":222,"./dependenciesNumber.generated.js":252,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],126:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.distanceDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),distanceDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createDistance:_factoriesAny.createDistance};exports.distanceDependencies=distanceDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDivideScalar.generated.js":128,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],127:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.divideDependencies=void 0;var _dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),divideDependencies={divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDivide:_factoriesAny.createDivide};exports.divideDependencies=divideDependencies},{"../../factoriesAny.js":654,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesInv.generated.js":188,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358}],128:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.divideScalarDependencies=void 0;var _dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),divideScalarDependencies={numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDivideScalar:_factoriesAny.createDivideScalar};exports.divideScalarDependencies=divideScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],129:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,conjDependencies:_dependenciesConjGenerated.conjDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDot:_factoriesAny.createDot};exports.dotDependencies=dotDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesConj.generated.js":104,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],130:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotDivideDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotDivideDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDotDivide:_factoriesAny.createDotDivide};exports.dotDivideDependencies=dotDivideDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],131:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotMultiplyDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotMultiplyDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDotMultiply:_factoriesAny.createDotMultiply};exports.dotMultiplyDependencies=dotMultiplyDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],132:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotPowDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),dotPowDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createDotPow:_factoriesAny.createDotPow};exports.dotPowDependencies=dotPowDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesPow.generated.js":274,"./dependenciesTyped.generated.js":358}],133:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.eDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),eDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createE:_factoriesAny.createE};exports.eDependencies=eDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],134:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.efimovFactorDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),efimovFactorDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createEfimovFactor:_factoriesAny.createEfimovFactor};exports.efimovFactorDependencies=efimovFactorDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],135:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.eigsDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesAtanGenerated=require("./dependenciesAtan.generated.js"),_dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesColumnGenerated=require("./dependenciesColumn.generated.js"),_dependenciesComplexGenerated=require("./dependenciesComplex.generated.js"),_dependenciesCosGenerated=require("./dependenciesCos.generated.js"),_dependenciesDiagGenerated=require("./dependenciesDiag.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesDotGenerated=require("./dependenciesDot.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesImGenerated=require("./dependenciesIm.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMatrixFromColumnsGenerated=require("./dependenciesMatrixFromColumns.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesQrGenerated=require("./dependenciesQr.generated.js"),_dependenciesReGenerated=require("./dependenciesRe.generated.js"),_dependenciesSinGenerated=require("./dependenciesSin.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUsolveGenerated=require("./dependenciesUsolve.generated.js"),_dependenciesUsolveAllGenerated=require("./dependenciesUsolveAll.generated.js"),_factoriesAny=require("../../factoriesAny.js"),eigsDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,atanDependencies:_dependenciesAtanGenerated.atanDependencies,bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,columnDependencies:_dependenciesColumnGenerated.columnDependencies,complexDependencies:_dependenciesComplexGenerated.complexDependencies,cosDependencies:_dependenciesCosGenerated.cosDependencies,diagDependencies:_dependenciesDiagGenerated.diagDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,dotDependencies:_dependenciesDotGenerated.dotDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,imDependencies:_dependenciesImGenerated.imDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,matrixFromColumnsDependencies:_dependenciesMatrixFromColumnsGenerated.matrixFromColumnsDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,qrDependencies:_dependenciesQrGenerated.qrDependencies,reDependencies:_dependenciesReGenerated.reDependencies,sinDependencies:_dependenciesSinGenerated.sinDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,usolveDependencies:_dependenciesUsolveGenerated.usolveDependencies,usolveAllDependencies:_dependenciesUsolveAllGenerated.usolveAllDependencies,createEigs:_factoriesAny.createEigs};exports.eigsDependencies=eigsDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesAddScalar.generated.js":53,"./dependenciesAtan.generated.js":64,"./dependenciesBignumber.generated.js":71,"./dependenciesColumn.generated.js":89,"./dependenciesComplex.generated.js":97,"./dependenciesCos.generated.js":106,"./dependenciesDiag.generated.js":123,"./dependenciesDivideScalar.generated.js":128,"./dependenciesDot.generated.js":129,"./dependenciesEqual.generated.js":139,"./dependenciesFlatten.generated.js":157,"./dependenciesIm.generated.js":180,"./dependenciesInv.generated.js":188,"./dependenciesLarger.generated.js":204,"./dependenciesMatrix.generated.js":222,"./dependenciesMatrixFromColumns.generated.js":224,"./dependenciesMultiply.generated.js":241,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNumber.generated.js":252,"./dependenciesQr.generated.js":278,"./dependenciesRe.generated.js":288,"./dependenciesSin.generated.js":322,"./dependenciesSmaller.generated.js":326,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUsolve.generated.js":366,"./dependenciesUsolveAll.generated.js":367}],136:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.electricConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),electricConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createElectricConstant:_factoriesAny.createElectricConstant};exports.electricConstantDependencies=electricConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],137:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.electronMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),electronMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createElectronMass:_factoriesAny.createElectronMass};exports.electronMassDependencies=electronMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],138:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.elementaryChargeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),elementaryChargeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createElementaryCharge:_factoriesAny.createElementaryCharge};exports.elementaryChargeDependencies=elementaryChargeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],139:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),equalDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEqual:_factoriesAny.createEqual};exports.equalDependencies=equalDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],140:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalScalarDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),equalScalarDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEqualScalar:_factoriesAny.createEqualScalar};exports.equalScalarDependencies=equalScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],141:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalTextDependencies=void 0;var _dependenciesCompareTextGenerated=require("./dependenciesCompareText.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),equalTextDependencies={compareTextDependencies:_dependenciesCompareTextGenerated.compareTextDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEqualText:_factoriesAny.createEqualText};exports.equalTextDependencies=equalTextDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareText.generated.js":95,"./dependenciesIsZero.generated.js":196,"./dependenciesTyped.generated.js":358}],142:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.erfDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),erfDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createErf:_factoriesAny.createErf};exports.erfDependencies=erfDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],143:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.evaluateDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),evaluateDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createEvaluate:_factoriesAny.createEvaluate};exports.evaluateDependencies=evaluateDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260,"./dependenciesTyped.generated.js":358}],144:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.expDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),expDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createExp:_factoriesAny.createExp};exports.expDependencies=expDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],145:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.expmDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),expmDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createExpm:_factoriesAny.createExpm};exports.expmDependencies=expmDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesIdentity.generated.js":179,"./dependenciesInv.generated.js":188,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358}],146:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.expm1Dependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),expm1Dependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createExpm1:_factoriesAny.createExpm1};exports.expm1Dependencies=expm1Dependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],147:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.factorialDependencies=void 0;var _dependenciesGammaGenerated=require("./dependenciesGamma.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),factorialDependencies={gammaDependencies:_dependenciesGammaGenerated.gammaDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFactorial:_factoriesAny.createFactorial};exports.factorialDependencies=factorialDependencies},{"../../factoriesAny.js":654,"./dependenciesGamma.generated.js":166,"./dependenciesTyped.generated.js":358}],148:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.falseDependencies=void 0;var falseDependencies={createFalse:require("../../factoriesAny.js").createFalse};exports.falseDependencies=falseDependencies},{"../../factoriesAny.js":654}],149:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.faradayDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),faradayDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createFaraday:_factoriesAny.createFaraday};exports.faradayDependencies=faradayDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],150:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fermiCouplingDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fermiCouplingDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createFermiCoupling:_factoriesAny.createFermiCoupling};exports.fermiCouplingDependencies=fermiCouplingDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],151:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FibonacciHeapDependencies=void 0;var _dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_factoriesAny=require("../../factoriesAny.js"),FibonacciHeapDependencies={largerDependencies:_dependenciesLargerGenerated.largerDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,createFibonacciHeapClass:_factoriesAny.createFibonacciHeapClass};exports.FibonacciHeapDependencies=FibonacciHeapDependencies},{"../../factoriesAny.js":654,"./dependenciesLarger.generated.js":204,"./dependenciesSmaller.generated.js":326}],152:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),filterDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFilter:_factoriesAny.createFilter};exports.filterDependencies=filterDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],153:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterTransformDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),filterTransformDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFilterTransform:_factoriesAny.createFilterTransform};exports.filterTransformDependencies=filterTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],154:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fineStructureDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fineStructureDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createFineStructure:_factoriesAny.createFineStructure};exports.fineStructureDependencies=fineStructureDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],155:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.firstRadiationDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),firstRadiationDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createFirstRadiation:_factoriesAny.createFirstRadiation};exports.firstRadiationDependencies=firstRadiationDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],156:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fixDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesCeilGenerated=require("./dependenciesCeil.generated.js"),_dependenciesFloorGenerated=require("./dependenciesFloor.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fixDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,ceilDependencies:_dependenciesCeilGenerated.ceilDependencies,floorDependencies:_dependenciesFloorGenerated.floorDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFix:_factoriesAny.createFix};exports.fixDependencies=fixDependencies},{"../../factoriesAny.js":654,"./dependenciesCeil.generated.js":84,"./dependenciesComplexClass.generated.js":98,"./dependenciesFloor.generated.js":158,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],157:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.flattenDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),flattenDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFlatten:_factoriesAny.createFlatten};exports.flattenDependencies=flattenDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],158:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.floorDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRoundGenerated=require("./dependenciesRound.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),floorDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,roundDependencies:_dependenciesRoundGenerated.roundDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFloor:_factoriesAny.createFloor};exports.floorDependencies=floorDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesRound.generated.js":300,"./dependenciesTyped.generated.js":358}],159:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forEachDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),forEachDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createForEach:_factoriesAny.createForEach};exports.forEachDependencies=forEachDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],160:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forEachTransformDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),forEachTransformDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createForEachTransform:_factoriesAny.createForEachTransform};exports.forEachTransformDependencies=forEachTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],161:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),formatDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFormat:_factoriesAny.createFormat};exports.formatDependencies=formatDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],162:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fractionDependencies=void 0;var _dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),fractionDependencies={FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFraction:_factoriesAny.createFraction};exports.fractionDependencies=fractionDependencies},{"../../factoriesAny.js":654,"./dependenciesFractionClass.generated.js":163,"./dependenciesTyped.generated.js":358}],163:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FractionDependencies=void 0;var FractionDependencies={createFractionClass:require("../../factoriesAny.js").createFractionClass};exports.FractionDependencies=FractionDependencies},{"../../factoriesAny.js":654}],164:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FunctionAssignmentNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),FunctionAssignmentNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createFunctionAssignmentNode:_factoriesAny.createFunctionAssignmentNode};exports.FunctionAssignmentNodeDependencies=FunctionAssignmentNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesTyped.generated.js":358}],165:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FunctionNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),FunctionNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,createFunctionNode:_factoriesAny.createFunctionNode};exports.FunctionNodeDependencies=FunctionNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesSymbolNode.generated.js":348}],166:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gammaDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gammaDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createGamma:_factoriesAny.createGamma};exports.gammaDependencies=gammaDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesPow.generated.js":274,"./dependenciesTyped.generated.js":358}],167:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gasConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gasConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createGasConstant:_factoriesAny.createGasConstant};exports.gasConstantDependencies=gasConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],168:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gcdDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gcdDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createGcd:_factoriesAny.createGcd};exports.gcdDependencies=gcdDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],169:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getMatrixDataTypeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),getMatrixDataTypeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createGetMatrixDataType:_factoriesAny.createGetMatrixDataType};exports.getMatrixDataTypeDependencies=getMatrixDataTypeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],170:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gravitationConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gravitationConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createGravitationConstant:_factoriesAny.createGravitationConstant};exports.gravitationConstantDependencies=gravitationConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],171:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gravityDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),gravityDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createGravity:_factoriesAny.createGravity};exports.gravityDependencies=gravityDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],172:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hartreeEnergyDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hartreeEnergyDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createHartreeEnergy:_factoriesAny.createHartreeEnergy};exports.hartreeEnergyDependencies=hartreeEnergyDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],173:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hasNumericValueDependencies=void 0;var _dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hasNumericValueDependencies={isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHasNumericValue:_factoriesAny.createHasNumericValue};exports.hasNumericValueDependencies=hasNumericValueDependencies},{"../../factoriesAny.js":654,"./dependenciesIsNumeric.generated.js":193,"./dependenciesTyped.generated.js":358}],174:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.helpDependencies=void 0;var _dependenciesHelpClassGenerated=require("./dependenciesHelpClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),helpDependencies={HelpDependencies:_dependenciesHelpClassGenerated.HelpDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHelp:_factoriesAny.createHelp};exports.helpDependencies=helpDependencies},{"../../factoriesAny.js":654,"./dependenciesHelpClass.generated.js":175,"./dependenciesTyped.generated.js":358}],175:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HelpDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_factoriesAny=require("../../factoriesAny.js"),HelpDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,createHelpClass:_factoriesAny.createHelpClass};exports.HelpDependencies=HelpDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260}],176:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hexDependencies=void 0;var _dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hexDependencies={formatDependencies:_dependenciesFormatGenerated.formatDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHex:_factoriesAny.createHex};exports.hexDependencies=hexDependencies},{"../../factoriesAny.js":654,"./dependenciesFormat.generated.js":161,"./dependenciesTyped.generated.js":358}],177:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hypotDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesIsPositive.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),hypotDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,isPositiveDependencies:_dependenciesIsPositiveGenerated.isPositiveDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createHypot:_factoriesAny.createHypot};exports.hypotDependencies=hypotDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDivideScalar.generated.js":128,"./dependenciesIsPositive.generated.js":194,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSmaller.generated.js":326,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358}],178:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),iDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,createI:_factoriesAny.createI};exports.iDependencies=iDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98}],179:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.identityDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),identityDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIdentity:_factoriesAny.createIdentity};exports.identityDependencies=identityDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],180:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.imDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),imDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIm:_factoriesAny.createIm};exports.imDependencies=imDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],181:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImmutableDenseMatrixDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ImmutableDenseMatrixDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,createImmutableDenseMatrixClass:_factoriesAny.createImmutableDenseMatrixClass};exports.ImmutableDenseMatrixDependencies=ImmutableDenseMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesSmaller.generated.js":326}],182:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.indexDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),indexDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIndex:_factoriesAny.createIndex};exports.indexDependencies=indexDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesTyped.generated.js":358}],183:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndexDependencies=void 0;var _dependenciesImmutableDenseMatrixClassGenerated=require("./dependenciesImmutableDenseMatrixClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),IndexDependencies={ImmutableDenseMatrixDependencies:_dependenciesImmutableDenseMatrixClassGenerated.ImmutableDenseMatrixDependencies,createIndexClass:_factoriesAny.createIndexClass};exports.IndexDependencies=IndexDependencies},{"../../factoriesAny.js":654,"./dependenciesImmutableDenseMatrixClass.generated.js":181}],184:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndexNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_dependenciesRangeClassGenerated=require("./dependenciesRangeClass.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_factoriesAny=require("../../factoriesAny.js"),IndexNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,RangeDependencies:_dependenciesRangeClassGenerated.RangeDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,createIndexNode:_factoriesAny.createIndexNode};exports.IndexNodeDependencies=IndexNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesRangeClass.generated.js":284,"./dependenciesSize.generated.js":324}],185:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.indexTransformDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),indexTransformDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,createIndexTransform:_factoriesAny.createIndexTransform};exports.indexTransformDependencies=indexTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183}],186:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InfinityDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),InfinityDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createInfinity:_factoriesAny.createInfinity};exports.InfinityDependencies=InfinityDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],187:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.intersectDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),intersectDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIntersect:_factoriesAny.createIntersect};exports.intersectDependencies=intersectDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesAddScalar.generated.js":53,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesFlatten.generated.js":157,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSmaller.generated.js":326,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],188:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.invDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDetGenerated=require("./dependenciesDet.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),invDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,detDependencies:_dependenciesDetGenerated.detDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createInv:_factoriesAny.createInv};exports.invDependencies=invDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDet.generated.js":121,"./dependenciesDivideScalar.generated.js":128,"./dependenciesIdentity.generated.js":179,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],189:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.inverseConductanceQuantumDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),inverseConductanceQuantumDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createInverseConductanceQuantum:_factoriesAny.createInverseConductanceQuantum};exports.inverseConductanceQuantumDependencies=inverseConductanceQuantumDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],190:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIntegerDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isIntegerDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsInteger:_factoriesAny.createIsInteger};exports.isIntegerDependencies=isIntegerDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],191:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNaNDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isNaNDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsNaN:_factoriesAny.createIsNaN};exports.isNaNDependencies=isNaNDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],192:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNegativeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isNegativeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsNegative:_factoriesAny.createIsNegative};exports.isNegativeDependencies=isNegativeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],193:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNumericDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isNumericDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsNumeric:_factoriesAny.createIsNumeric};exports.isNumericDependencies=isNumericDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],194:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPositiveDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isPositiveDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsPositive:_factoriesAny.createIsPositive};exports.isPositiveDependencies=isPositiveDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],195:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPrimeDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isPrimeDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsPrime:_factoriesAny.createIsPrime};exports.isPrimeDependencies=isPrimeDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],196:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isZeroDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),isZeroDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createIsZero:_factoriesAny.createIsZero};exports.isZeroDependencies=isZeroDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],197:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kldivergenceDependencies=void 0;var _dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesDotDivideGenerated=require("./dependenciesDotDivide.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesLogGenerated=require("./dependenciesLog.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSumGenerated=require("./dependenciesSum.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),kldivergenceDependencies={divideDependencies:_dependenciesDivideGenerated.divideDependencies,dotDivideDependencies:_dependenciesDotDivideGenerated.dotDivideDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,logDependencies:_dependenciesLogGenerated.logDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,sumDependencies:_dependenciesSumGenerated.sumDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createKldivergence:_factoriesAny.createKldivergence};exports.kldivergenceDependencies=kldivergenceDependencies},{"../../factoriesAny.js":654,"./dependenciesDivide.generated.js":127,"./dependenciesDotDivide.generated.js":130,"./dependenciesIsNumeric.generated.js":193,"./dependenciesLog.generated.js":208,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesSum.generated.js":346,"./dependenciesTyped.generated.js":358}],198:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.klitzingDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),klitzingDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createKlitzing:_factoriesAny.createKlitzing};exports.klitzingDependencies=klitzingDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],199:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kronDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),kronDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createKron:_factoriesAny.createKron};exports.kronDependencies=kronDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],200:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LN10Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LN10Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLN10:_factoriesAny.createLN10};exports.LN10Dependencies=LN10Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],201:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LN2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LN2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLN2:_factoriesAny.createLN2};exports.LN2Dependencies=LN2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],202:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LOG10EDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LOG10EDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLOG10E:_factoriesAny.createLOG10E};exports.LOG10EDependencies=LOG10EDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],203:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LOG2EDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),LOG2EDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createLOG2E:_factoriesAny.createLOG2E};exports.LOG2EDependencies=LOG2EDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],204:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),largerDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLarger:_factoriesAny.createLarger};exports.largerDependencies=largerDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],205:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerEqDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),largerEqDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLargerEq:_factoriesAny.createLargerEq};exports.largerEqDependencies=largerEqDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],206:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lcmDependencies=void 0;var _dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lcmDependencies={equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLcm:_factoriesAny.createLcm};exports.lcmDependencies=lcmDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],207:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.leftShiftDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),leftShiftDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createLeftShift:_factoriesAny.createLeftShift};exports.leftShiftDependencies=leftShiftDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],208:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.logDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),logDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog:_factoriesAny.createLog};exports.logDependencies=logDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesTyped.generated.js":358}],209:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log10Dependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),log10Dependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog10:_factoriesAny.createLog10};exports.log10Dependencies=log10Dependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],210:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log1pDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesLogGenerated=require("./dependenciesLog.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),log1pDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,logDependencies:_dependenciesLogGenerated.logDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog1p:_factoriesAny.createLog1p};exports.log1pDependencies=log1pDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesLog.generated.js":208,"./dependenciesTyped.generated.js":358}],211:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log2Dependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),log2Dependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLog2:_factoriesAny.createLog2};exports.log2Dependencies=log2Dependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],212:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.loschmidtDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),loschmidtDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createLoschmidt:_factoriesAny.createLoschmidt};exports.loschmidtDependencies=loschmidtDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],213:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lsolveDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lsolveDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLsolve:_factoriesAny.createLsolve};exports.lsolveDependencies=lsolveDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],214:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lsolveAllDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lsolveAllDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createLsolveAll:_factoriesAny.createLsolveAll};exports.lsolveAllDependencies=lsolveAllDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],215:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lupDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSpaClassGenerated=require("./dependenciesSpaClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lupDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SpaDependencies:_dependenciesSpaClassGenerated.SpaDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createLup:_factoriesAny.createLup};exports.lupDependencies=lupDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesLarger.generated.js":204,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSpaClass.generated.js":329,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],216:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lusolveDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesLsolveGenerated=require("./dependenciesLsolve.generated.js"),_dependenciesLupGenerated=require("./dependenciesLup.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesSluGenerated=require("./dependenciesSlu.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUsolveGenerated=require("./dependenciesUsolve.generated.js"),_factoriesAny=require("../../factoriesAny.js"),lusolveDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,lsolveDependencies:_dependenciesLsolveGenerated.lsolveDependencies,lupDependencies:_dependenciesLupGenerated.lupDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,sluDependencies:_dependenciesSluGenerated.sluDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,usolveDependencies:_dependenciesUsolveGenerated.usolveDependencies,createLusolve:_factoriesAny.createLusolve};exports.lusolveDependencies=lusolveDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesLsolve.generated.js":213,"./dependenciesLup.generated.js":215,"./dependenciesMatrix.generated.js":222,"./dependenciesSlu.generated.js":325,"./dependenciesTyped.generated.js":358,"./dependenciesUsolve.generated.js":366}],217:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.madDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesMapGenerated=require("./dependenciesMap.generated.js"),_dependenciesMedianGenerated=require("./dependenciesMedian.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),madDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,mapDependencies:_dependenciesMapGenerated.mapDependencies,medianDependencies:_dependenciesMedianGenerated.medianDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMad:_factoriesAny.createMad};exports.madDependencies=madDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesMap.generated.js":220,"./dependenciesMedian.generated.js":231,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],218:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.magneticConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),magneticConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMagneticConstant:_factoriesAny.createMagneticConstant};exports.magneticConstantDependencies=magneticConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],219:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.magneticFluxQuantumDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),magneticFluxQuantumDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMagneticFluxQuantum:_factoriesAny.createMagneticFluxQuantum};exports.magneticFluxQuantumDependencies=magneticFluxQuantumDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],220:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),mapDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMap:_factoriesAny.createMap};exports.mapDependencies=mapDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],221:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapTransformDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),mapTransformDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMapTransform:_factoriesAny.createMapTransform};exports.mapTransformDependencies=mapTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],222:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixClassGenerated=require("./dependenciesMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,MatrixDependencies:_dependenciesMatrixClassGenerated.MatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrix:_factoriesAny.createMatrix};exports.matrixDependencies=matrixDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrixClass.generated.js":223,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],223:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MatrixDependencies=void 0;var MatrixDependencies={createMatrixClass:require("../../factoriesAny.js").createMatrixClass};exports.MatrixDependencies=MatrixDependencies},{"../../factoriesAny.js":654}],224:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromColumnsDependencies=void 0;var _dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixFromColumnsDependencies={flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrixFromColumns:_factoriesAny.createMatrixFromColumns};exports.matrixFromColumnsDependencies=matrixFromColumnsDependencies},{"../../factoriesAny.js":654,"./dependenciesFlatten.generated.js":157,"./dependenciesMatrix.generated.js":222,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],225:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromFunctionDependencies=void 0;var _dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixFromFunctionDependencies={isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrixFromFunction:_factoriesAny.createMatrixFromFunction};exports.matrixFromFunctionDependencies=matrixFromFunctionDependencies},{"../../factoriesAny.js":654,"./dependenciesIsZero.generated.js":196,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],226:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromRowsDependencies=void 0;var _dependenciesFlattenGenerated=require("./dependenciesFlatten.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),matrixFromRowsDependencies={flattenDependencies:_dependenciesFlattenGenerated.flattenDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMatrixFromRows:_factoriesAny.createMatrixFromRows};exports.matrixFromRowsDependencies=matrixFromRowsDependencies},{"../../factoriesAny.js":654,"./dependenciesFlatten.generated.js":157,"./dependenciesMatrix.generated.js":222,"./dependenciesSize.generated.js":324,"./dependenciesTyped.generated.js":358}],227:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.maxDependencies=void 0;var _dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),maxDependencies={largerDependencies:_dependenciesLargerGenerated.largerDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMax:_factoriesAny.createMax};exports.maxDependencies=maxDependencies},{"../../factoriesAny.js":654,"./dependenciesLarger.generated.js":204,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],228:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.maxTransformDependencies=void 0;var _dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),maxTransformDependencies={largerDependencies:_dependenciesLargerGenerated.largerDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMaxTransform:_factoriesAny.createMaxTransform};exports.maxTransformDependencies=maxTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesLarger.generated.js":204,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],229:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meanDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),meanDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMean:_factoriesAny.createMean};exports.meanDependencies=meanDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesDivide.generated.js":127,"./dependenciesTyped.generated.js":358}],230:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meanTransformDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),meanTransformDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMeanTransform:_factoriesAny.createMeanTransform};exports.meanTransformDependencies=meanTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesDivide.generated.js":127,"./dependenciesTyped.generated.js":358}],231:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.medianDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesPartitionSelectGenerated=require("./dependenciesPartitionSelect.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),medianDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,compareDependencies:_dependenciesCompareGenerated.compareDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,partitionSelectDependencies:_dependenciesPartitionSelectGenerated.partitionSelectDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMedian:_factoriesAny.createMedian};exports.medianDependencies=medianDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesCompare.generated.js":93,"./dependenciesDivide.generated.js":127,"./dependenciesPartitionSelect.generated.js":263,"./dependenciesTyped.generated.js":358}],232:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minDependencies=void 0;var _dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),minDependencies={numericDependencies:_dependenciesNumericGenerated.numericDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMin:_factoriesAny.createMin};exports.minDependencies=minDependencies},{"../../factoriesAny.js":654,"./dependenciesNumeric.generated.js":253,"./dependenciesSmaller.generated.js":326,"./dependenciesTyped.generated.js":358}],233:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minTransformDependencies=void 0;var _dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),minTransformDependencies={numericDependencies:_dependenciesNumericGenerated.numericDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMinTransform:_factoriesAny.createMinTransform};exports.minTransformDependencies=minTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesNumeric.generated.js":253,"./dependenciesSmaller.generated.js":326,"./dependenciesTyped.generated.js":358}],234:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),modDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMod:_factoriesAny.createMod};exports.modDependencies=modDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],235:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modeDependencies=void 0;var _dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),modeDependencies={isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMode:_factoriesAny.createMode};exports.modeDependencies=modeDependencies},{"../../factoriesAny.js":654,"./dependenciesIsNaN.generated.js":191,"./dependenciesIsNumeric.generated.js":193,"./dependenciesTyped.generated.js":358}],236:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarMass:_factoriesAny.createMolarMass};exports.molarMassDependencies=molarMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],237:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarMassC12Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarMassC12Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarMassC12:_factoriesAny.createMolarMassC12};exports.molarMassC12Dependencies=molarMassC12Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],238:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarPlanckConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarPlanckConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarPlanckConstant:_factoriesAny.createMolarPlanckConstant};exports.molarPlanckConstantDependencies=molarPlanckConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],239:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.molarVolumeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),molarVolumeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createMolarVolume:_factoriesAny.createMolarVolume};exports.molarVolumeDependencies=molarVolumeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],240:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multinomialDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesFactorialGenerated=require("./dependenciesFactorial.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsPositiveGenerated=require("./dependenciesIsPositive.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),multinomialDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,factorialDependencies:_dependenciesFactorialGenerated.factorialDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isPositiveDependencies:_dependenciesIsPositiveGenerated.isPositiveDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMultinomial:_factoriesAny.createMultinomial};exports.multinomialDependencies=multinomialDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesDivide.generated.js":127,"./dependenciesFactorial.generated.js":147,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsPositive.generated.js":194,"./dependenciesMultiply.generated.js":241,"./dependenciesTyped.generated.js":358}],241:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multiplyDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDotGenerated=require("./dependenciesDot.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),multiplyDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,dotDependencies:_dependenciesDotGenerated.dotDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMultiply:_factoriesAny.createMultiply};exports.multiplyDependencies=multiplyDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesDot.generated.js":129,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesTyped.generated.js":358}],242:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multiplyScalarDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),multiplyScalarDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createMultiplyScalar:_factoriesAny.createMultiplyScalar};exports.multiplyScalarDependencies=multiplyScalarDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],243:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NaNDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),NaNDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createNaN:_factoriesAny.createNaN};exports.NaNDependencies=NaNDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],244:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.neutronMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),neutronMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createNeutronMass:_factoriesAny.createNeutronMass};exports.neutronMassDependencies=neutronMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],245:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NodeDependencies=void 0;var NodeDependencies={createNode:require("../../factoriesAny.js").createNode};exports.NodeDependencies=NodeDependencies},{"../../factoriesAny.js":654}],246:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.normDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesCtransposeGenerated=require("./dependenciesCtranspose.generated.js"),_dependenciesEigsGenerated=require("./dependenciesEigs.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),normDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,conjDependencies:_dependenciesConjGenerated.conjDependencies,ctransposeDependencies:_dependenciesCtransposeGenerated.ctransposeDependencies,eigsDependencies:_dependenciesEigsGenerated.eigsDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNorm:_factoriesAny.createNorm};exports.normDependencies=normDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesConj.generated.js":104,"./dependenciesCtranspose.generated.js":116,"./dependenciesEigs.generated.js":135,"./dependenciesEqualScalar.generated.js":140,"./dependenciesLarger.generated.js":204,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesPow.generated.js":274,"./dependenciesSmaller.generated.js":326,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358}],247:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.notDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),notDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNot:_factoriesAny.createNot};exports.notDependencies=notDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],248:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nthRootDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),nthRootDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNthRoot:_factoriesAny.createNthRoot};exports.nthRootDependencies=nthRootDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],249:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nthRootsDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),nthRootsDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNthRoots:_factoriesAny.createNthRoots};exports.nthRootsDependencies=nthRootsDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesTyped.generated.js":358}],250:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nuclearMagnetonDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),nuclearMagnetonDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createNuclearMagneton:_factoriesAny.createNuclearMagneton};exports.nuclearMagnetonDependencies=nuclearMagnetonDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],251:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nullDependencies=void 0;var nullDependencies={createNull:require("../../factoriesAny.js").createNull};exports.nullDependencies=nullDependencies},{"../../factoriesAny.js":654}],252:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numberDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),numberDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createNumber:_factoriesAny.createNumber};exports.numberDependencies=numberDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],253:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numericDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_factoriesAny=require("../../factoriesAny.js"),numericDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,createNumeric:_factoriesAny.createNumeric};exports.numericDependencies=numericDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesFraction.generated.js":162,"./dependenciesNumber.generated.js":252}],254:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ObjectNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ObjectNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createObjectNode:_factoriesAny.createObjectNode};exports.ObjectNodeDependencies=ObjectNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],255:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.octDependencies=void 0;var _dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),octDependencies={formatDependencies:_dependenciesFormatGenerated.formatDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createOct:_factoriesAny.createOct};exports.octDependencies=octDependencies},{"../../factoriesAny.js":654,"./dependenciesFormat.generated.js":161,"./dependenciesTyped.generated.js":358}],256:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.onesDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),onesDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createOnes:_factoriesAny.createOnes};exports.onesDependencies=onesDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],257:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OperatorNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),OperatorNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createOperatorNode:_factoriesAny.createOperatorNode};exports.OperatorNodeDependencies=OperatorNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],258:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.orDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),orDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createOr:_factoriesAny.createOr};exports.orDependencies=orDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],259:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParenthesisNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ParenthesisNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createParenthesisNode:_factoriesAny.createParenthesisNode};exports.ParenthesisNodeDependencies=ParenthesisNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],260:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseDependencies=void 0;var _dependenciesAccessorNodeGenerated=require("./dependenciesAccessorNode.generated.js"),_dependenciesArrayNodeGenerated=require("./dependenciesArrayNode.generated.js"),_dependenciesAssignmentNodeGenerated=require("./dependenciesAssignmentNode.generated.js"),_dependenciesBlockNodeGenerated=require("./dependenciesBlockNode.generated.js"),_dependenciesConditionalNodeGenerated=require("./dependenciesConditionalNode.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionAssignmentNodeGenerated=require("./dependenciesFunctionAssignmentNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesIndexNodeGenerated=require("./dependenciesIndexNode.generated.js"),_dependenciesObjectNodeGenerated=require("./dependenciesObjectNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesRangeNodeGenerated=require("./dependenciesRangeNode.generated.js"),_dependenciesRelationalNodeGenerated=require("./dependenciesRelationalNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),parseDependencies={AccessorNodeDependencies:_dependenciesAccessorNodeGenerated.AccessorNodeDependencies,ArrayNodeDependencies:_dependenciesArrayNodeGenerated.ArrayNodeDependencies,AssignmentNodeDependencies:_dependenciesAssignmentNodeGenerated.AssignmentNodeDependencies,BlockNodeDependencies:_dependenciesBlockNodeGenerated.BlockNodeDependencies,ConditionalNodeDependencies:_dependenciesConditionalNodeGenerated.ConditionalNodeDependencies,ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionAssignmentNodeDependencies:_dependenciesFunctionAssignmentNodeGenerated.FunctionAssignmentNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,IndexNodeDependencies:_dependenciesIndexNodeGenerated.IndexNodeDependencies,ObjectNodeDependencies:_dependenciesObjectNodeGenerated.ObjectNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,RangeNodeDependencies:_dependenciesRangeNodeGenerated.RangeNodeDependencies,RelationalNodeDependencies:_dependenciesRelationalNodeGenerated.RelationalNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createParse:_factoriesAny.createParse};exports.parseDependencies=parseDependencies},{"../../factoriesAny.js":654,"./dependenciesAccessorNode.generated.js":45,"./dependenciesArrayNode.generated.js":58,"./dependenciesAssignmentNode.generated.js":63,"./dependenciesBlockNode.generated.js":77,"./dependenciesConditionalNode.generated.js":102,"./dependenciesConstantNode.generated.js":105,"./dependenciesFunctionAssignmentNode.generated.js":164,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIndexNode.generated.js":184,"./dependenciesNumeric.generated.js":253,"./dependenciesObjectNode.generated.js":254,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesRangeNode.generated.js":285,"./dependenciesRelationalNode.generated.js":290,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],261:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parserDependencies=void 0;var _dependenciesParserClassGenerated=require("./dependenciesParserClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),parserDependencies={ParserDependencies:_dependenciesParserClassGenerated.ParserDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createParser:_factoriesAny.createParser};exports.parserDependencies=parserDependencies},{"../../factoriesAny.js":654,"./dependenciesParserClass.generated.js":262,"./dependenciesTyped.generated.js":358}],262:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParserDependencies=void 0;var _dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_factoriesAny=require("../../factoriesAny.js"),ParserDependencies={parseDependencies:_dependenciesParseGenerated.parseDependencies,createParserClass:_factoriesAny.createParserClass};exports.ParserDependencies=ParserDependencies},{"../../factoriesAny.js":654,"./dependenciesParse.generated.js":260}],263:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.partitionSelectDependencies=void 0;var _dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),partitionSelectDependencies={compareDependencies:_dependenciesCompareGenerated.compareDependencies,isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPartitionSelect:_factoriesAny.createPartitionSelect};exports.partitionSelectDependencies=partitionSelectDependencies},{"../../factoriesAny.js":654,"./dependenciesCompare.generated.js":93,"./dependenciesIsNaN.generated.js":191,"./dependenciesIsNumeric.generated.js":193,"./dependenciesTyped.generated.js":358}],264:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.permutationsDependencies=void 0;var _dependenciesFactorialGenerated=require("./dependenciesFactorial.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),permutationsDependencies={factorialDependencies:_dependenciesFactorialGenerated.factorialDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPermutations:_factoriesAny.createPermutations};exports.permutationsDependencies=permutationsDependencies},{"../../factoriesAny.js":654,"./dependenciesFactorial.generated.js":147,"./dependenciesTyped.generated.js":358}],265:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.phiDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),phiDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createPhi:_factoriesAny.createPhi};exports.phiDependencies=phiDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],266:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.piDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),piDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createPi:_factoriesAny.createPi};exports.piDependencies=piDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],267:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.pickRandomDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),pickRandomDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPickRandom:_factoriesAny.createPickRandom};exports.pickRandomDependencies=pickRandomDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],268:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckChargeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckChargeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckCharge:_factoriesAny.createPlanckCharge};exports.planckChargeDependencies=planckChargeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],269:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckConstant:_factoriesAny.createPlanckConstant};exports.planckConstantDependencies=planckConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],270:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckLengthDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckLengthDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckLength:_factoriesAny.createPlanckLength};exports.planckLengthDependencies=planckLengthDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],271:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckMass:_factoriesAny.createPlanckMass};exports.planckMassDependencies=planckMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],272:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckTemperatureDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckTemperatureDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckTemperature:_factoriesAny.createPlanckTemperature};exports.planckTemperatureDependencies=planckTemperatureDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],273:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.planckTimeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),planckTimeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createPlanckTime:_factoriesAny.createPlanckTime};exports.planckTimeDependencies=planckTimeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],274:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.powDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),powDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPow:_factoriesAny.createPow};exports.powDependencies=powDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesFraction.generated.js":162,"./dependenciesIdentity.generated.js":179,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiply.generated.js":241,"./dependenciesNumber.generated.js":252,"./dependenciesTyped.generated.js":358}],275:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.printDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),printDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createPrint:_factoriesAny.createPrint};exports.printDependencies=printDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],276:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prodDependencies=void 0;var _dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),prodDependencies={multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createProd:_factoriesAny.createProd};exports.prodDependencies=prodDependencies},{"../../factoriesAny.js":654,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],277:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.protonMassDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),protonMassDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createProtonMass:_factoriesAny.createProtonMass};exports.protonMassDependencies=protonMassDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],278:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.qrDependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesComplexGenerated=require("./dependenciesComplex.generated.js"),_dependenciesConjGenerated=require("./dependenciesConj.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSignGenerated=require("./dependenciesSign.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),qrDependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,complexDependencies:_dependenciesComplexGenerated.complexDependencies,conjDependencies:_dependenciesConjGenerated.conjDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,signDependencies:_dependenciesSignGenerated.signDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createQr:_factoriesAny.createQr};exports.qrDependencies=qrDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesComplex.generated.js":97,"./dependenciesConj.generated.js":104,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqual.generated.js":139,"./dependenciesIdentity.generated.js":179,"./dependenciesIsZero.generated.js":196,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSign.generated.js":320,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359,"./dependenciesZeros.generated.js":376}],279:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.quantileSeqDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesPartitionSelectGenerated=require("./dependenciesPartitionSelect.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),quantileSeqDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,compareDependencies:_dependenciesCompareGenerated.compareDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,partitionSelectDependencies:_dependenciesPartitionSelectGenerated.partitionSelectDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createQuantileSeq:_factoriesAny.createQuantileSeq};exports.quantileSeqDependencies=quantileSeqDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesCompare.generated.js":93,"./dependenciesMultiply.generated.js":241,"./dependenciesPartitionSelect.generated.js":263,"./dependenciesTyped.generated.js":358}],280:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.quantumOfCirculationDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),quantumOfCirculationDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createQuantumOfCirculation:_factoriesAny.createQuantumOfCirculation};exports.quantumOfCirculationDependencies=quantumOfCirculationDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],281:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),randomDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRandom:_factoriesAny.createRandom};exports.randomDependencies=randomDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],282:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomIntDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),randomIntDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRandomInt:_factoriesAny.createRandomInt};exports.randomIntDependencies=randomIntDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],283:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rangeDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesLargerEq.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSmallerEqGenerated=require("./dependenciesSmallerEq.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rangeDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,largerEqDependencies:_dependenciesLargerEqGenerated.largerEqDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,smallerEqDependencies:_dependenciesSmallerEqGenerated.smallerEqDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRange:_factoriesAny.createRange};exports.rangeDependencies=rangeDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesLarger.generated.js":204,"./dependenciesLargerEq.generated.js":205,"./dependenciesMatrix.generated.js":222,"./dependenciesSmaller.generated.js":326,"./dependenciesSmallerEq.generated.js":327,"./dependenciesTyped.generated.js":358}],284:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RangeDependencies=void 0;var RangeDependencies={createRangeClass:require("../../factoriesAny.js").createRangeClass};exports.RangeDependencies=RangeDependencies},{"../../factoriesAny.js":654}],285:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RangeNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),RangeNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createRangeNode:_factoriesAny.createRangeNode};exports.RangeNodeDependencies=RangeNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],286:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rangeTransformDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesLargerEq.generated.js"),_dependenciesSmallerGenerated=require("./dependenciesSmaller.generated.js"),_dependenciesSmallerEqGenerated=require("./dependenciesSmallerEq.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rangeTransformDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,largerEqDependencies:_dependenciesLargerEqGenerated.largerEqDependencies,smallerDependencies:_dependenciesSmallerGenerated.smallerDependencies,smallerEqDependencies:_dependenciesSmallerEqGenerated.smallerEqDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRangeTransform:_factoriesAny.createRangeTransform};exports.rangeTransformDependencies=rangeTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesBignumber.generated.js":71,"./dependenciesLarger.generated.js":204,"./dependenciesLargerEq.generated.js":205,"./dependenciesMatrix.generated.js":222,"./dependenciesSmaller.generated.js":326,"./dependenciesSmallerEq.generated.js":327,"./dependenciesTyped.generated.js":358}],287:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rationalizeDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSimplifyGenerated=require("./dependenciesSimplify.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rationalizeDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,parseDependencies:_dependenciesParseGenerated.parseDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,simplifyDependencies:_dependenciesSimplifyGenerated.simplifyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRationalize:_factoriesAny.createRationalize};exports.rationalizeDependencies=rationalizeDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesBignumber.generated.js":71,"./dependenciesConstantNode.generated.js":105,"./dependenciesDivide.generated.js":127,"./dependenciesEqual.generated.js":139,"./dependenciesFraction.generated.js":162,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIsZero.generated.js":196,"./dependenciesMultiply.generated.js":241,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesParse.generated.js":260,"./dependenciesPow.generated.js":274,"./dependenciesSimplify.generated.js":321,"./dependenciesSubtract.generated.js":345,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],288:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),reDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRe:_factoriesAny.createRe};exports.reDependencies=reDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],289:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reducedPlanckConstantDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),reducedPlanckConstantDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createReducedPlanckConstant:_factoriesAny.createReducedPlanckConstant};exports.reducedPlanckConstantDependencies=reducedPlanckConstantDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],290:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelationalNodeDependencies=void 0;var _dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),RelationalNodeDependencies={NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createRelationalNode:_factoriesAny.createRelationalNode};exports.RelationalNodeDependencies=RelationalNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245}],291:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.replacerDependencies=void 0;var replacerDependencies={createReplacer:require("../../factoriesAny.js").createReplacer};exports.replacerDependencies=replacerDependencies},{"../../factoriesAny.js":654}],292:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reshapeDependencies=void 0;var _dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),reshapeDependencies={isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createReshape:_factoriesAny.createReshape};exports.reshapeDependencies=reshapeDependencies},{"../../factoriesAny.js":654,"./dependenciesIsInteger.generated.js":190,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],293:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resizeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_factoriesAny=require("../../factoriesAny.js"),resizeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,createResize:_factoriesAny.createResize};exports.resizeDependencies=resizeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222}],294:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResultSetDependencies=void 0;var ResultSetDependencies={createResultSet:require("../../factoriesAny.js").createResultSet};exports.ResultSetDependencies=ResultSetDependencies},{"../../factoriesAny.js":654}],295:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reviverDependencies=void 0;var reviverDependencies={createReviver:require("../../factoriesAny.js").createReviver};exports.reviverDependencies=reviverDependencies},{"../../factoriesAny.js":654}],296:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightArithShiftDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rightArithShiftDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createRightArithShift:_factoriesAny.createRightArithShift};exports.rightArithShiftDependencies=rightArithShiftDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],297:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightLogShiftDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rightLogShiftDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createRightLogShift:_factoriesAny.createRightLogShift};exports.rightLogShiftDependencies=rightLogShiftDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],298:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotateDependencies=void 0;var _dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesRotationMatrixGenerated=require("./dependenciesRotationMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rotateDependencies={multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,rotationMatrixDependencies:_dependenciesRotationMatrixGenerated.rotationMatrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRotate:_factoriesAny.createRotate};exports.rotateDependencies=rotateDependencies},{"../../factoriesAny.js":654,"./dependenciesMultiply.generated.js":241,"./dependenciesRotationMatrix.generated.js":299,"./dependenciesTyped.generated.js":358}],299:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotationMatrixDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCosGenerated=require("./dependenciesCos.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNormGenerated=require("./dependenciesNorm.generated.js"),_dependenciesSinGenerated=require("./dependenciesSin.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rotationMatrixDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,cosDependencies:_dependenciesCosGenerated.cosDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,normDependencies:_dependenciesNormGenerated.normDependencies,sinDependencies:_dependenciesSinGenerated.sinDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createRotationMatrix:_factoriesAny.createRotationMatrix};exports.rotationMatrixDependencies=rotationMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesCos.generated.js":106,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNorm.generated.js":246,"./dependenciesSin.generated.js":322,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],300:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.roundDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesZerosGenerated=require("./dependenciesZeros.generated.js"),_factoriesAny=require("../../factoriesAny.js"),roundDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,zerosDependencies:_dependenciesZerosGenerated.zerosDependencies,createRound:_factoriesAny.createRound};exports.roundDependencies=roundDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesZeros.generated.js":376}],301:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rowDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rowDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRow:_factoriesAny.createRow};exports.rowDependencies=rowDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],302:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rowTransformDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesRangeGenerated=require("./dependenciesRange.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rowTransformDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,rangeDependencies:_dependenciesRangeGenerated.rangeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createRowTransform:_factoriesAny.createRowTransform};exports.rowTransformDependencies=rowTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesIndexClass.generated.js":183,"./dependenciesMatrix.generated.js":222,"./dependenciesRange.generated.js":283,"./dependenciesTyped.generated.js":358}],303:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rydbergDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),rydbergDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createRydberg:_factoriesAny.createRydberg};exports.rydbergDependencies=rydbergDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],304:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SQRT1_2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SQRT1_2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createSQRT1_2:_factoriesAny.createSQRT1_2};exports.SQRT1_2Dependencies=SQRT1_2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],305:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SQRT2Dependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SQRT2Dependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createSQRT2:_factoriesAny.createSQRT2};exports.SQRT2Dependencies=SQRT2Dependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],306:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sackurTetrodeDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sackurTetrodeDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createSackurTetrode:_factoriesAny.createSackurTetrode};exports.sackurTetrodeDependencies=sackurTetrodeDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],307:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.secDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),secDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSec:_factoriesAny.createSec};exports.secDependencies=secDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],308:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sechDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sechDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSech:_factoriesAny.createSech};exports.sechDependencies=sechDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],309:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.secondRadiationDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),secondRadiationDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createSecondRadiation:_factoriesAny.createSecondRadiation};exports.secondRadiationDependencies=secondRadiationDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],310:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setCartesianDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setCartesianDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetCartesian:_factoriesAny.createSetCartesian};exports.setCartesianDependencies=setCartesianDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],311:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDifferenceDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setDifferenceDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetDifference:_factoriesAny.createSetDifference};exports.setDifferenceDependencies=setDifferenceDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],312:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDistinctDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setDistinctDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetDistinct:_factoriesAny.createSetDistinct};exports.setDistinctDependencies=setDistinctDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],313:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIntersectDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setIntersectDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetIntersect:_factoriesAny.createSetIntersect};exports.setIntersectDependencies=setIntersectDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],314:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIsSubsetDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setIsSubsetDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetIsSubset:_factoriesAny.createSetIsSubset};exports.setIsSubsetDependencies=setIsSubsetDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],315:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setMultiplicityDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setMultiplicityDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetMultiplicity:_factoriesAny.createSetMultiplicity};exports.setMultiplicityDependencies=setMultiplicityDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],316:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPowersetDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setPowersetDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetPowerset:_factoriesAny.createSetPowerset};exports.setPowersetDependencies=setPowersetDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesIndexClass.generated.js":183,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],317:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSizeDependencies=void 0;var _dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setSizeDependencies={compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetSize:_factoriesAny.createSetSize};exports.setSizeDependencies=setSizeDependencies},{"../../factoriesAny.js":654,"./dependenciesCompareNatural.generated.js":94,"./dependenciesTyped.generated.js":358}],318:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSymDifferenceDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesConcatGenerated=require("./dependenciesConcat.generated.js"),_dependenciesSetDifferenceGenerated=require("./dependenciesSetDifference.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setSymDifferenceDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,concatDependencies:_dependenciesConcatGenerated.concatDependencies,setDifferenceDependencies:_dependenciesSetDifferenceGenerated.setDifferenceDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetSymDifference:_factoriesAny.createSetSymDifference};exports.setSymDifferenceDependencies=setSymDifferenceDependencies},{"../../factoriesAny.js":654,"./dependenciesConcat.generated.js":100,"./dependenciesIndexClass.generated.js":183,"./dependenciesSetDifference.generated.js":311,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],319:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setUnionDependencies=void 0;var _dependenciesIndexClassGenerated=require("./dependenciesIndexClass.generated.js"),_dependenciesConcatGenerated=require("./dependenciesConcat.generated.js"),_dependenciesSetIntersectGenerated=require("./dependenciesSetIntersect.generated.js"),_dependenciesSetSymDifferenceGenerated=require("./dependenciesSetSymDifference.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSubsetGenerated=require("./dependenciesSubset.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),setUnionDependencies={IndexDependencies:_dependenciesIndexClassGenerated.IndexDependencies,concatDependencies:_dependenciesConcatGenerated.concatDependencies,setIntersectDependencies:_dependenciesSetIntersectGenerated.setIntersectDependencies,setSymDifferenceDependencies:_dependenciesSetSymDifferenceGenerated.setSymDifferenceDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,subsetDependencies:_dependenciesSubsetGenerated.subsetDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSetUnion:_factoriesAny.createSetUnion};exports.setUnionDependencies=setUnionDependencies},{"../../factoriesAny.js":654,"./dependenciesConcat.generated.js":100,"./dependenciesIndexClass.generated.js":183,"./dependenciesSetIntersect.generated.js":313,"./dependenciesSetSymDifference.generated.js":318,"./dependenciesSize.generated.js":324,"./dependenciesSubset.generated.js":343,"./dependenciesTyped.generated.js":358}],320:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.signDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesComplexGenerated=require("./dependenciesComplex.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),signDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,complexDependencies:_dependenciesComplexGenerated.complexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSign:_factoriesAny.createSign};exports.signDependencies=signDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplex.generated.js":97,"./dependenciesFractionClass.generated.js":163,"./dependenciesTyped.generated.js":358}],321:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.simplifyDependencies=void 0;var _dependenciesBignumberGenerated=require("./dependenciesBignumber.generated.js"),_dependenciesFractionGenerated=require("./dependenciesFraction.generated.js"),_dependenciesConstantNodeGenerated=require("./dependenciesConstantNode.generated.js"),_dependenciesFunctionNodeGenerated=require("./dependenciesFunctionNode.generated.js"),_dependenciesOperatorNodeGenerated=require("./dependenciesOperatorNode.generated.js"),_dependenciesParenthesisNodeGenerated=require("./dependenciesParenthesisNode.generated.js"),_dependenciesSymbolNodeGenerated=require("./dependenciesSymbolNode.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesIsZeroGenerated=require("./dependenciesIsZero.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesParseGenerated=require("./dependenciesParse.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),simplifyDependencies={bignumberDependencies:_dependenciesBignumberGenerated.bignumberDependencies,fractionDependencies:_dependenciesFractionGenerated.fractionDependencies,ConstantNodeDependencies:_dependenciesConstantNodeGenerated.ConstantNodeDependencies,FunctionNodeDependencies:_dependenciesFunctionNodeGenerated.FunctionNodeDependencies,OperatorNodeDependencies:_dependenciesOperatorNodeGenerated.OperatorNodeDependencies,ParenthesisNodeDependencies:_dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,SymbolNodeDependencies:_dependenciesSymbolNodeGenerated.SymbolNodeDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,isZeroDependencies:_dependenciesIsZeroGenerated.isZeroDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,parseDependencies:_dependenciesParseGenerated.parseDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSimplify:_factoriesAny.createSimplify};exports.simplifyDependencies=simplifyDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesBignumber.generated.js":71,"./dependenciesConstantNode.generated.js":105,"./dependenciesDivide.generated.js":127,"./dependenciesEqual.generated.js":139,"./dependenciesFraction.generated.js":162,"./dependenciesFunctionNode.generated.js":165,"./dependenciesIsZero.generated.js":196,"./dependenciesMultiply.generated.js":241,"./dependenciesOperatorNode.generated.js":257,"./dependenciesParenthesisNode.generated.js":259,"./dependenciesParse.generated.js":260,"./dependenciesPow.generated.js":274,"./dependenciesSubtract.generated.js":345,"./dependenciesSymbolNode.generated.js":348,"./dependenciesTyped.generated.js":358}],322:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sinDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSin:_factoriesAny.createSin};exports.sinDependencies=sinDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],323:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinhDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sinhDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSinh:_factoriesAny.createSinh};exports.sinhDependencies=sinhDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],324:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sizeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sizeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSize:_factoriesAny.createSize};exports.sizeDependencies=sizeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],325:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sluDependencies=void 0;var _dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesLargerEqGenerated=require("./dependenciesLargerEq.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTransposeGenerated=require("./dependenciesTranspose.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sluDependencies={SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,largerEqDependencies:_dependenciesLargerEqGenerated.largerEqDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,transposeDependencies:_dependenciesTransposeGenerated.transposeDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSlu:_factoriesAny.createSlu};exports.sluDependencies=sluDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesDivideScalar.generated.js":128,"./dependenciesLarger.generated.js":204,"./dependenciesLargerEq.generated.js":205,"./dependenciesMultiply.generated.js":241,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesSubtract.generated.js":345,"./dependenciesTranspose.generated.js":355,"./dependenciesTyped.generated.js":358}],326:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),smallerDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSmaller:_factoriesAny.createSmaller};exports.smallerDependencies=smallerDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],327:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerEqDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),smallerEqDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSmallerEq:_factoriesAny.createSmallerEq};exports.smallerEqDependencies=smallerEqDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],328:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sortDependencies=void 0;var _dependenciesCompareGenerated=require("./dependenciesCompare.generated.js"),_dependenciesCompareNaturalGenerated=require("./dependenciesCompareNatural.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sortDependencies={compareDependencies:_dependenciesCompareGenerated.compareDependencies,compareNaturalDependencies:_dependenciesCompareNaturalGenerated.compareNaturalDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSort:_factoriesAny.createSort};exports.sortDependencies=sortDependencies},{"../../factoriesAny.js":654,"./dependenciesCompare.generated.js":93,"./dependenciesCompareNatural.generated.js":94,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],329:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SpaDependencies=void 0;var _dependenciesFibonacciHeapClassGenerated=require("./dependenciesFibonacciHeapClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SpaDependencies={FibonacciHeapDependencies:_dependenciesFibonacciHeapClassGenerated.FibonacciHeapDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,createSpaClass:_factoriesAny.createSpaClass};exports.SpaDependencies=SpaDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesEqualScalar.generated.js":140,"./dependenciesFibonacciHeapClass.generated.js":151}],330:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sparseDependencies=void 0;var _dependenciesSparseMatrixClassGenerated=require("./dependenciesSparseMatrixClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sparseDependencies={SparseMatrixDependencies:_dependenciesSparseMatrixClassGenerated.SparseMatrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSparse:_factoriesAny.createSparse};exports.sparseDependencies=sparseDependencies},{"../../factoriesAny.js":654,"./dependenciesSparseMatrixClass.generated.js":331,"./dependenciesTyped.generated.js":358}],331:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SparseMatrixDependencies=void 0;var _dependenciesMatrixClassGenerated=require("./dependenciesMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SparseMatrixDependencies={MatrixDependencies:_dependenciesMatrixClassGenerated.MatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSparseMatrixClass:_factoriesAny.createSparseMatrixClass};exports.SparseMatrixDependencies=SparseMatrixDependencies},{"../../factoriesAny.js":654,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrixClass.generated.js":223,"./dependenciesTyped.generated.js":358}],332:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.speedOfLightDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),speedOfLightDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createSpeedOfLight:_factoriesAny.createSpeedOfLight};exports.speedOfLightDependencies=speedOfLightDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],333:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.splitUnitDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),splitUnitDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSplitUnit:_factoriesAny.createSplitUnit};exports.splitUnitDependencies=splitUnitDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],334:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtDependencies=void 0;var _dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sqrtDependencies={ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSqrt:_factoriesAny.createSqrt};exports.sqrtDependencies=sqrtDependencies},{"../../factoriesAny.js":654,"./dependenciesComplexClass.generated.js":98,"./dependenciesTyped.generated.js":358}],335:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtmDependencies=void 0;var _dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesIdentityGenerated=require("./dependenciesIdentity.generated.js"),_dependenciesInvGenerated=require("./dependenciesInv.generated.js"),_dependenciesMaxGenerated=require("./dependenciesMax.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSizeGenerated=require("./dependenciesSize.generated.js"),_dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sqrtmDependencies={absDependencies:_dependenciesAbsGenerated.absDependencies,addDependencies:_dependenciesAddGenerated.addDependencies,identityDependencies:_dependenciesIdentityGenerated.identityDependencies,invDependencies:_dependenciesInvGenerated.invDependencies,maxDependencies:_dependenciesMaxGenerated.maxDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,sizeDependencies:_dependenciesSizeGenerated.sizeDependencies,sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSqrtm:_factoriesAny.createSqrtm};exports.sqrtmDependencies=sqrtmDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAdd.generated.js":52,"./dependenciesIdentity.generated.js":179,"./dependenciesInv.generated.js":188,"./dependenciesMax.generated.js":227,"./dependenciesMultiply.generated.js":241,"./dependenciesSize.generated.js":324,"./dependenciesSqrt.generated.js":334,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],336:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squareDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),squareDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSquare:_factoriesAny.createSquare};exports.squareDependencies=squareDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],337:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squeezeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),squeezeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSqueeze:_factoriesAny.createSqueeze};exports.squeezeDependencies=squeezeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],338:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stdDependencies=void 0;var _dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesVarianceGenerated=require("./dependenciesVariance.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stdDependencies={sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,varianceDependencies:_dependenciesVarianceGenerated.varianceDependencies,createStd:_factoriesAny.createStd};exports.stdDependencies=stdDependencies},{"../../factoriesAny.js":654,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358,"./dependenciesVariance.generated.js":369}],339:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stdTransformDependencies=void 0;var _dependenciesSqrtGenerated=require("./dependenciesSqrt.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesVarianceGenerated=require("./dependenciesVariance.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stdTransformDependencies={sqrtDependencies:_dependenciesSqrtGenerated.sqrtDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,varianceDependencies:_dependenciesVarianceGenerated.varianceDependencies,createStdTransform:_factoriesAny.createStdTransform};exports.stdTransformDependencies=stdTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesSqrt.generated.js":334,"./dependenciesTyped.generated.js":358,"./dependenciesVariance.generated.js":369}],340:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stefanBoltzmannDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stefanBoltzmannDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createStefanBoltzmann:_factoriesAny.createStefanBoltzmann};exports.stefanBoltzmannDependencies=stefanBoltzmannDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],341:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stirlingS2Dependencies=void 0;var _dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesCombinationsGenerated=require("./dependenciesCombinations.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesFactorialGenerated=require("./dependenciesFactorial.generated.js"),_dependenciesIsIntegerGenerated=require("./dependenciesIsInteger.generated.js"),_dependenciesIsNegativeGenerated=require("./dependenciesIsNegative.generated.js"),_dependenciesLargerGenerated=require("./dependenciesLarger.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stirlingS2Dependencies={addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,combinationsDependencies:_dependenciesCombinationsGenerated.combinationsDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,factorialDependencies:_dependenciesFactorialGenerated.factorialDependencies,isIntegerDependencies:_dependenciesIsIntegerGenerated.isIntegerDependencies,isNegativeDependencies:_dependenciesIsNegativeGenerated.isNegativeDependencies,largerDependencies:_dependenciesLargerGenerated.largerDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createStirlingS2:_factoriesAny.createStirlingS2};exports.stirlingS2Dependencies=stirlingS2Dependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesCombinations.generated.js":91,"./dependenciesDivideScalar.generated.js":128,"./dependenciesFactorial.generated.js":147,"./dependenciesIsInteger.generated.js":190,"./dependenciesIsNegative.generated.js":192,"./dependenciesLarger.generated.js":204,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesPow.generated.js":274,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],342:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),stringDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createString:_factoriesAny.createString};exports.stringDependencies=stringDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],343:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subsetDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),subsetDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSubset:_factoriesAny.createSubset};exports.subsetDependencies=subsetDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],344:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subsetTransformDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),subsetTransformDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSubsetTransform:_factoriesAny.createSubsetTransform};exports.subsetTransformDependencies=subsetTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],345:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subtractDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_dependenciesUnaryMinusGenerated=require("./dependenciesUnaryMinus.generated.js"),_factoriesAny=require("../../factoriesAny.js"),subtractDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,unaryMinusDependencies:_dependenciesUnaryMinusGenerated.unaryMinusDependencies,createSubtract:_factoriesAny.createSubtract};exports.subtractDependencies=subtractDependencies},{"../../factoriesAny.js":654,"./dependenciesAddScalar.generated.js":53,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358,"./dependenciesUnaryMinus.generated.js":359}],346:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sumDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sumDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSum:_factoriesAny.createSum};exports.sumDependencies=sumDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],347:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sumTransformDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesNumericGenerated=require("./dependenciesNumeric.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),sumTransformDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,numericDependencies:_dependenciesNumericGenerated.numericDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createSumTransform:_factoriesAny.createSumTransform};exports.sumTransformDependencies=sumTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesNumeric.generated.js":253,"./dependenciesTyped.generated.js":358}],348:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SymbolNodeDependencies=void 0;var _dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_dependenciesNodeGenerated=require("./dependenciesNode.generated.js"),_factoriesAny=require("../../factoriesAny.js"),SymbolNodeDependencies={UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,NodeDependencies:_dependenciesNodeGenerated.NodeDependencies,createSymbolNode:_factoriesAny.createSymbolNode};exports.SymbolNodeDependencies=SymbolNodeDependencies},{"../../factoriesAny.js":654,"./dependenciesNode.generated.js":245,"./dependenciesUnitClass.generated.js":362}],349:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),tanDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTan:_factoriesAny.createTan};exports.tanDependencies=tanDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],350:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanhDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),tanhDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTanh:_factoriesAny.createTanh};exports.tanhDependencies=tanhDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],351:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tauDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),tauDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createTau:_factoriesAny.createTau};exports.tauDependencies=tauDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],352:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.thomsonCrossSectionDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),thomsonCrossSectionDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createThomsonCrossSection:_factoriesAny.createThomsonCrossSection};exports.thomsonCrossSectionDependencies=thomsonCrossSectionDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],353:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),toDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTo:_factoriesAny.createTo};exports.toDependencies=toDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],354:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.traceDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),traceDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTrace:_factoriesAny.createTrace};exports.traceDependencies=traceDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],355:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transposeDependencies=void 0;var _dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),transposeDependencies={matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTranspose:_factoriesAny.createTranspose};exports.transposeDependencies=transposeDependencies},{"../../factoriesAny.js":654,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],356:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.trueDependencies=void 0;var trueDependencies={createTrue:require("../../factoriesAny.js").createTrue};exports.trueDependencies=trueDependencies},{"../../factoriesAny.js":654}],357:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typeOfDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),typeOfDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createTypeOf:_factoriesAny.createTypeOf};exports.typeOfDependencies=typeOfDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],358:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typedDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),typedDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,createTyped:_factoriesAny.createTyped};exports.typedDependencies=typedDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesFractionClass.generated.js":163}],359:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryMinusDependencies=void 0;var _dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unaryMinusDependencies={typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnaryMinus:_factoriesAny.createUnaryMinus};exports.unaryMinusDependencies=unaryMinusDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358}],360:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryPlusDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unaryPlusDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnaryPlus:_factoriesAny.createUnaryPlus};exports.unaryPlusDependencies=unaryPlusDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesTyped.generated.js":358}],361:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unequalDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unequalDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnequal:_factoriesAny.createUnequal};exports.unequalDependencies=unequalDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],362:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UnitDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesComplexClassGenerated=require("./dependenciesComplexClass.generated.js"),_dependenciesFractionClassGenerated=require("./dependenciesFractionClass.generated.js"),_dependenciesAbsGenerated=require("./dependenciesAbs.generated.js"),_dependenciesAddScalarGenerated=require("./dependenciesAddScalar.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualGenerated=require("./dependenciesEqual.generated.js"),_dependenciesFixGenerated=require("./dependenciesFix.generated.js"),_dependenciesFormatGenerated=require("./dependenciesFormat.generated.js"),_dependenciesIsNumericGenerated=require("./dependenciesIsNumeric.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesNumberGenerated=require("./dependenciesNumber.generated.js"),_dependenciesPowGenerated=require("./dependenciesPow.generated.js"),_dependenciesRoundGenerated=require("./dependenciesRound.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_factoriesAny=require("../../factoriesAny.js"),UnitDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,ComplexDependencies:_dependenciesComplexClassGenerated.ComplexDependencies,FractionDependencies:_dependenciesFractionClassGenerated.FractionDependencies,absDependencies:_dependenciesAbsGenerated.absDependencies,addScalarDependencies:_dependenciesAddScalarGenerated.addScalarDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalDependencies:_dependenciesEqualGenerated.equalDependencies,fixDependencies:_dependenciesFixGenerated.fixDependencies,formatDependencies:_dependenciesFormatGenerated.formatDependencies,isNumericDependencies:_dependenciesIsNumericGenerated.isNumericDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,numberDependencies:_dependenciesNumberGenerated.numberDependencies,powDependencies:_dependenciesPowGenerated.powDependencies,roundDependencies:_dependenciesRoundGenerated.roundDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,createUnitClass:_factoriesAny.createUnitClass};exports.UnitDependencies=UnitDependencies},{"../../factoriesAny.js":654,"./dependenciesAbs.generated.js":44,"./dependenciesAddScalar.generated.js":53,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesComplexClass.generated.js":98,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqual.generated.js":139,"./dependenciesFix.generated.js":156,"./dependenciesFormat.generated.js":161,"./dependenciesFractionClass.generated.js":163,"./dependenciesIsNumeric.generated.js":193,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesNumber.generated.js":252,"./dependenciesPow.generated.js":274,"./dependenciesRound.generated.js":300,"./dependenciesSubtract.generated.js":345}],363:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unitDependencies=void 0;var _dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),unitDependencies={UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUnitFunction:_factoriesAny.createUnitFunction};exports.unitDependencies=unitDependencies},{"../../factoriesAny.js":654,"./dependenciesTyped.generated.js":358,"./dependenciesUnitClass.generated.js":362}],364:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EDependencies=void 0;var _dependenciesEGenerated=require("./dependenciesE.generated.js"),_factoriesAny=require("../../factoriesAny.js"),EDependencies={eDependencies:_dependenciesEGenerated.eDependencies,createUppercaseE:_factoriesAny.createUppercaseE};exports.EDependencies=EDependencies},{"../../factoriesAny.js":654,"./dependenciesE.generated.js":133}],365:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PIDependencies=void 0;var _dependenciesPiGenerated=require("./dependenciesPi.generated.js"),_factoriesAny=require("../../factoriesAny.js"),PIDependencies={piDependencies:_dependenciesPiGenerated.piDependencies,createUppercasePi:_factoriesAny.createUppercasePi};exports.PIDependencies=PIDependencies},{"../../factoriesAny.js":654,"./dependenciesPi.generated.js":266}],366:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usolveDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),usolveDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUsolve:_factoriesAny.createUsolve};exports.usolveDependencies=usolveDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],367:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usolveAllDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesDivideScalarGenerated=require("./dependenciesDivideScalar.generated.js"),_dependenciesEqualScalarGenerated=require("./dependenciesEqualScalar.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesMultiplyScalarGenerated=require("./dependenciesMultiplyScalar.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),usolveAllDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,divideScalarDependencies:_dependenciesDivideScalarGenerated.divideScalarDependencies,equalScalarDependencies:_dependenciesEqualScalarGenerated.equalScalarDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,multiplyScalarDependencies:_dependenciesMultiplyScalarGenerated.multiplyScalarDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createUsolveAll:_factoriesAny.createUsolveAll};exports.usolveAllDependencies=usolveAllDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesDivideScalar.generated.js":128,"./dependenciesEqualScalar.generated.js":140,"./dependenciesMatrix.generated.js":222,"./dependenciesMultiplyScalar.generated.js":242,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],368:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.vacuumImpedanceDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),vacuumImpedanceDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createVacuumImpedance:_factoriesAny.createVacuumImpedance};exports.vacuumImpedanceDependencies=vacuumImpedanceDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],369:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.varianceDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesApplyGenerated=require("./dependenciesApply.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),varianceDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,applyDependencies:_dependenciesApplyGenerated.applyDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createVariance:_factoriesAny.createVariance};exports.varianceDependencies=varianceDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesApply.generated.js":55,"./dependenciesDivide.generated.js":127,"./dependenciesIsNaN.generated.js":191,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],370:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.varianceTransformDependencies=void 0;var _dependenciesAddGenerated=require("./dependenciesAdd.generated.js"),_dependenciesApplyGenerated=require("./dependenciesApply.generated.js"),_dependenciesDivideGenerated=require("./dependenciesDivide.generated.js"),_dependenciesIsNaNGenerated=require("./dependenciesIsNaN.generated.js"),_dependenciesMultiplyGenerated=require("./dependenciesMultiply.generated.js"),_dependenciesSubtractGenerated=require("./dependenciesSubtract.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),varianceTransformDependencies={addDependencies:_dependenciesAddGenerated.addDependencies,applyDependencies:_dependenciesApplyGenerated.applyDependencies,divideDependencies:_dependenciesDivideGenerated.divideDependencies,isNaNDependencies:_dependenciesIsNaNGenerated.isNaNDependencies,multiplyDependencies:_dependenciesMultiplyGenerated.multiplyDependencies,subtractDependencies:_dependenciesSubtractGenerated.subtractDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createVarianceTransform:_factoriesAny.createVarianceTransform};exports.varianceTransformDependencies=varianceTransformDependencies},{"../../factoriesAny.js":654,"./dependenciesAdd.generated.js":52,"./dependenciesApply.generated.js":55,"./dependenciesDivide.generated.js":127,"./dependenciesIsNaN.generated.js":191,"./dependenciesMultiply.generated.js":241,"./dependenciesSubtract.generated.js":345,"./dependenciesTyped.generated.js":358}],371:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.versionDependencies=void 0;var versionDependencies={createVersion:require("../../factoriesAny.js").createVersion};exports.versionDependencies=versionDependencies},{"../../factoriesAny.js":654}],372:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.weakMixingAngleDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),weakMixingAngleDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,createWeakMixingAngle:_factoriesAny.createWeakMixingAngle};exports.weakMixingAngleDependencies=weakMixingAngleDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70}],373:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.wienDisplacementDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesUnitClassGenerated=require("./dependenciesUnitClass.generated.js"),_factoriesAny=require("../../factoriesAny.js"),wienDisplacementDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,UnitDependencies:_dependenciesUnitClassGenerated.UnitDependencies,createWienDisplacement:_factoriesAny.createWienDisplacement};exports.wienDisplacementDependencies=wienDisplacementDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesUnitClass.generated.js":362}],374:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xgcdDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),xgcdDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createXgcd:_factoriesAny.createXgcd};exports.xgcdDependencies=xgcdDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],375:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xorDependencies=void 0;var _dependenciesDenseMatrixClassGenerated=require("./dependenciesDenseMatrixClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),xorDependencies={DenseMatrixDependencies:_dependenciesDenseMatrixClassGenerated.DenseMatrixDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createXor:_factoriesAny.createXor};exports.xorDependencies=xorDependencies},{"../../factoriesAny.js":654,"./dependenciesDenseMatrixClass.generated.js":119,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],376:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.zerosDependencies=void 0;var _dependenciesBigNumberClassGenerated=require("./dependenciesBigNumberClass.generated.js"),_dependenciesMatrixGenerated=require("./dependenciesMatrix.generated.js"),_dependenciesTypedGenerated=require("./dependenciesTyped.generated.js"),_factoriesAny=require("../../factoriesAny.js"),zerosDependencies={BigNumberDependencies:_dependenciesBigNumberClassGenerated.BigNumberDependencies,matrixDependencies:_dependenciesMatrixGenerated.matrixDependencies,typedDependencies:_dependenciesTypedGenerated.typedDependencies,createZeros:_factoriesAny.createZeros};exports.zerosDependencies=zerosDependencies},{"../../factoriesAny.js":654,"./dependenciesBigNumberClass.generated.js":70,"./dependenciesMatrix.generated.js":222,"./dependenciesTyped.generated.js":358}],377:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"docs",{enumerable:!0,get:function get(){return _embeddedDocs.embeddedDocs}}),exports.compile=exports.parser=exports.derivative=exports.help=exports.Parser=exports.rationalize=exports.simplify=exports.Help=exports.evaluate=exports.parse=exports.FunctionNode=exports.SymbolNode=exports.AssignmentNode=exports.IndexNode=exports.AccessorNode=exports.chain=exports.FunctionAssignmentNode=exports.RangeNode=exports.OperatorNode=exports.ConditionalNode=exports.reviver=exports.Chain=exports.RelationalNode=exports.ParenthesisNode=exports.ObjectNode=exports.ConstantNode=exports.BlockNode=exports.ArrayNode=exports.Node=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_configReadonly=require("./configReadonly.js"),_factoriesAny=require("../factoriesAny.js"),_pureFunctionsAnyGenerated=require("./pureFunctionsAny.generated.js"),_embeddedDocs=require("../expression/embeddedDocs/embeddedDocs.js"),math={},mathWithTransform={},classes={},Node=(0,_factoriesAny.createNode)({mathWithTransform:mathWithTransform});exports.Node=Node;var ArrayNode=(0,_factoriesAny.createArrayNode)({Node:Node});exports.ArrayNode=ArrayNode;var BlockNode=(0,_factoriesAny.createBlockNode)({Node:Node,ResultSet:_pureFunctionsAnyGenerated.ResultSet});exports.BlockNode=BlockNode;var ConstantNode=(0,_factoriesAny.createConstantNode)({Node:Node});exports.ConstantNode=ConstantNode;var ObjectNode=(0,_factoriesAny.createObjectNode)({Node:Node});exports.ObjectNode=ObjectNode;var ParenthesisNode=(0,_factoriesAny.createParenthesisNode)({Node:Node});exports.ParenthesisNode=ParenthesisNode;var RelationalNode=(0,_factoriesAny.createRelationalNode)({Node:Node});exports.RelationalNode=RelationalNode;var Chain=(0,_factoriesAny.createChainClass)({math:math});exports.Chain=Chain;var reviver=(0,_factoriesAny.createReviver)({classes:classes});exports.reviver=reviver;var ConditionalNode=(0,_factoriesAny.createConditionalNode)({Node:Node});exports.ConditionalNode=ConditionalNode;var OperatorNode=(0,_factoriesAny.createOperatorNode)({Node:Node});exports.OperatorNode=OperatorNode;var RangeNode=(0,_factoriesAny.createRangeNode)({Node:Node});exports.RangeNode=RangeNode;var FunctionAssignmentNode=(0,_factoriesAny.createFunctionAssignmentNode)({Node:Node,typed:_pureFunctionsAnyGenerated.typed});exports.FunctionAssignmentNode=FunctionAssignmentNode;var chain=(0,_factoriesAny.createChain)({Chain:Chain,typed:_pureFunctionsAnyGenerated.typed});exports.chain=chain;var AccessorNode=(0,_factoriesAny.createAccessorNode)({Node:Node,subset:_pureFunctionsAnyGenerated.subset});exports.AccessorNode=AccessorNode;var IndexNode=(0,_factoriesAny.createIndexNode)({Node:Node,Range:_pureFunctionsAnyGenerated.Range,size:_pureFunctionsAnyGenerated.size});exports.IndexNode=IndexNode;var AssignmentNode=(0,_factoriesAny.createAssignmentNode)({matrix:_pureFunctionsAnyGenerated.matrix,Node:Node,subset:_pureFunctionsAnyGenerated.subset});exports.AssignmentNode=AssignmentNode;var SymbolNode=(0,_factoriesAny.createSymbolNode)({Unit:_pureFunctionsAnyGenerated.Unit,Node:Node,math:math});exports.SymbolNode=SymbolNode;var FunctionNode=(0,_factoriesAny.createFunctionNode)({Node:Node,SymbolNode:SymbolNode,math:math});exports.FunctionNode=FunctionNode;var parse=(0,_factoriesAny.createParse)({AccessorNode:AccessorNode,ArrayNode:ArrayNode,AssignmentNode:AssignmentNode,BlockNode:BlockNode,ConditionalNode:ConditionalNode,ConstantNode:ConstantNode,FunctionAssignmentNode:FunctionAssignmentNode,FunctionNode:FunctionNode,IndexNode:IndexNode,ObjectNode:ObjectNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,RangeNode:RangeNode,RelationalNode:RelationalNode,SymbolNode:SymbolNode,config:_configReadonly.config,numeric:_pureFunctionsAnyGenerated.numeric,typed:_pureFunctionsAnyGenerated.typed});exports.parse=parse;var evaluate=(0,_factoriesAny.createEvaluate)({parse:parse,typed:_pureFunctionsAnyGenerated.typed});exports.evaluate=evaluate;var Help=(0,_factoriesAny.createHelpClass)({parse:parse});exports.Help=Help;var simplify=(0,_factoriesAny.createSimplify)({bignumber:_pureFunctionsAnyGenerated.bignumber,fraction:_pureFunctionsAnyGenerated.fraction,ConstantNode:ConstantNode,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,SymbolNode:SymbolNode,add:_pureFunctionsAnyGenerated.add,config:_configReadonly.config,divide:_pureFunctionsAnyGenerated.divide,equal:_pureFunctionsAnyGenerated.equal,isZero:_pureFunctionsAnyGenerated.isZero,mathWithTransform:mathWithTransform,multiply:_pureFunctionsAnyGenerated.multiply,parse:parse,pow:_pureFunctionsAnyGenerated.pow,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed});exports.simplify=simplify;var rationalize=(0,_factoriesAny.createRationalize)({bignumber:_pureFunctionsAnyGenerated.bignumber,fraction:_pureFunctionsAnyGenerated.fraction,ConstantNode:ConstantNode,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,SymbolNode:SymbolNode,add:_pureFunctionsAnyGenerated.add,config:_configReadonly.config,divide:_pureFunctionsAnyGenerated.divide,equal:_pureFunctionsAnyGenerated.equal,isZero:_pureFunctionsAnyGenerated.isZero,mathWithTransform:mathWithTransform,multiply:_pureFunctionsAnyGenerated.multiply,parse:parse,pow:_pureFunctionsAnyGenerated.pow,simplify:simplify,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed});exports.rationalize=rationalize;var Parser=(0,_factoriesAny.createParserClass)({parse:parse});exports.Parser=Parser;var help=(0,_factoriesAny.createHelp)({Help:Help,mathWithTransform:mathWithTransform,typed:_pureFunctionsAnyGenerated.typed});exports.help=help;var derivative=(0,_factoriesAny.createDerivative)({ConstantNode:ConstantNode,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode,SymbolNode:SymbolNode,config:_configReadonly.config,equal:_pureFunctionsAnyGenerated.equal,isZero:_pureFunctionsAnyGenerated.isZero,numeric:_pureFunctionsAnyGenerated.numeric,parse:parse,simplify:simplify,typed:_pureFunctionsAnyGenerated.typed});exports.derivative=derivative;var parser=(0,_factoriesAny.createParser)({Parser:Parser,typed:_pureFunctionsAnyGenerated.typed});exports.parser=parser;var compile=(0,_factoriesAny.createCompile)({parse:parse,typed:_pureFunctionsAnyGenerated.typed});exports.compile=compile,(0,_extends2.default)(math,{reviver:reviver,false:_pureFunctionsAnyGenerated._false,null:_pureFunctionsAnyGenerated._null,true:_pureFunctionsAnyGenerated._true,replacer:_pureFunctionsAnyGenerated.replacer,i:_pureFunctionsAnyGenerated.i,LN10:_pureFunctionsAnyGenerated.LN10,LOG10E:_pureFunctionsAnyGenerated.LOG10E,NaN:_pureFunctionsAnyGenerated._NaN,pi:_pureFunctionsAnyGenerated.pi,SQRT1_2:_pureFunctionsAnyGenerated.SQRT1_2,tau:_pureFunctionsAnyGenerated.tau,efimovFactor:_pureFunctionsAnyGenerated.efimovFactor,fineStructure:_pureFunctionsAnyGenerated.fineStructure,sackurTetrode:_pureFunctionsAnyGenerated.sackurTetrode,weakMixingAngle:_pureFunctionsAnyGenerated.weakMixingAngle,e:_pureFunctionsAnyGenerated.e,Infinity:_pureFunctionsAnyGenerated._Infinity,LOG2E:_pureFunctionsAnyGenerated.LOG2E,PI:_pureFunctionsAnyGenerated.pi,version:_pureFunctionsAnyGenerated.version,E:_pureFunctionsAnyGenerated.e,phi:_pureFunctionsAnyGenerated.phi,typed:_pureFunctionsAnyGenerated.typed,isInteger:_pureFunctionsAnyGenerated.isInteger,isNumeric:_pureFunctionsAnyGenerated.isNumeric,isPositive:_pureFunctionsAnyGenerated.isPositive,isNaN:_pureFunctionsAnyGenerated.isNaN,equalScalar:_pureFunctionsAnyGenerated.equalScalar,number:_pureFunctionsAnyGenerated.number,boolean:_pureFunctionsAnyGenerated.boolean,complex:_pureFunctionsAnyGenerated.complex,splitUnit:_pureFunctionsAnyGenerated.splitUnit,unaryPlus:_pureFunctionsAnyGenerated.unaryPlus,apply:_pureFunctionsAnyGenerated.apply,cube:_pureFunctionsAnyGenerated.cube,expm1:_pureFunctionsAnyGenerated.expm1,log10:_pureFunctionsAnyGenerated.log10,multiplyScalar:_pureFunctionsAnyGenerated.multiplyScalar,sign:_pureFunctionsAnyGenerated.sign,square:_pureFunctionsAnyGenerated.square,bitNot:_pureFunctionsAnyGenerated.bitNot,arg:_pureFunctionsAnyGenerated.arg,im:_pureFunctionsAnyGenerated.im,not:_pureFunctionsAnyGenerated.not,filter:_pureFunctionsAnyGenerated.filter,forEach:_pureFunctionsAnyGenerated.forEach,map:_pureFunctionsAnyGenerated.map,erf:_pureFunctionsAnyGenerated.erf,format:_pureFunctionsAnyGenerated.format,oct:_pureFunctionsAnyGenerated.oct,print:_pureFunctionsAnyGenerated.print,isPrime:_pureFunctionsAnyGenerated.isPrime,acos:_pureFunctionsAnyGenerated.acos,acot:_pureFunctionsAnyGenerated.acot,acsc:_pureFunctionsAnyGenerated.acsc,asec:_pureFunctionsAnyGenerated.asec,asin:_pureFunctionsAnyGenerated.asin,atan:_pureFunctionsAnyGenerated.atan,atanh:_pureFunctionsAnyGenerated.atanh,cosh:_pureFunctionsAnyGenerated.cosh,coth:_pureFunctionsAnyGenerated.coth,csch:_pureFunctionsAnyGenerated.csch,sech:_pureFunctionsAnyGenerated.sech,sinh:_pureFunctionsAnyGenerated.sinh,tanh:_pureFunctionsAnyGenerated.tanh,chain:chain,combinations:_pureFunctionsAnyGenerated.combinations,pickRandom:_pureFunctionsAnyGenerated.pickRandom,randomInt:_pureFunctionsAnyGenerated.randomInt,LN2:_pureFunctionsAnyGenerated.LN2,clone:_pureFunctionsAnyGenerated.clone,hasNumericValue:_pureFunctionsAnyGenerated.hasNumericValue,typeOf:_pureFunctionsAnyGenerated.typeOf,string:_pureFunctionsAnyGenerated.string,fraction:_pureFunctionsAnyGenerated.fraction,unaryMinus:_pureFunctionsAnyGenerated.unaryMinus,addScalar:_pureFunctionsAnyGenerated.addScalar,exp:_pureFunctionsAnyGenerated.exp,log2:_pureFunctionsAnyGenerated.log2,sqrt:_pureFunctionsAnyGenerated.sqrt,conj:_pureFunctionsAnyGenerated.conj,getMatrixDataType:_pureFunctionsAnyGenerated.getMatrixDataType,mode:_pureFunctionsAnyGenerated.mode,bin:_pureFunctionsAnyGenerated.bin,acosh:_pureFunctionsAnyGenerated.acosh,acsch:_pureFunctionsAnyGenerated.acsch,asinh:_pureFunctionsAnyGenerated.asinh,cos:_pureFunctionsAnyGenerated.cos,csc:_pureFunctionsAnyGenerated.csc,sin:_pureFunctionsAnyGenerated.sin,combinationsWithRep:_pureFunctionsAnyGenerated.combinationsWithRep,random:_pureFunctionsAnyGenerated.random,SQRT2:_pureFunctionsAnyGenerated.SQRT2,isNegative:_pureFunctionsAnyGenerated.isNegative,matrix:_pureFunctionsAnyGenerated.matrix,abs:_pureFunctionsAnyGenerated.abs,gcd:_pureFunctionsAnyGenerated.gcd,mod:_pureFunctionsAnyGenerated.mod,nthRoot:_pureFunctionsAnyGenerated.nthRoot,xgcd:_pureFunctionsAnyGenerated.xgcd,bitAnd:_pureFunctionsAnyGenerated.bitAnd,bitXor:_pureFunctionsAnyGenerated.bitXor,or:_pureFunctionsAnyGenerated.or,concat:_pureFunctionsAnyGenerated.concat,diag:_pureFunctionsAnyGenerated.diag,identity:_pureFunctionsAnyGenerated.identity,ones:_pureFunctionsAnyGenerated.ones,reshape:_pureFunctionsAnyGenerated.reshape,size:_pureFunctionsAnyGenerated.size,subset:_pureFunctionsAnyGenerated.subset,zeros:_pureFunctionsAnyGenerated.zeros,hex:_pureFunctionsAnyGenerated.hex,round:_pureFunctionsAnyGenerated.round,leftShift:_pureFunctionsAnyGenerated.leftShift,rightLogShift:_pureFunctionsAnyGenerated.rightLogShift,compare:_pureFunctionsAnyGenerated.compare,compareText:_pureFunctionsAnyGenerated.compareText,smaller:_pureFunctionsAnyGenerated.smaller,larger:_pureFunctionsAnyGenerated.larger,unequal:_pureFunctionsAnyGenerated.unequal,sparse:_pureFunctionsAnyGenerated.sparse,acoth:_pureFunctionsAnyGenerated.acoth,atan2:_pureFunctionsAnyGenerated.atan2,sec:_pureFunctionsAnyGenerated.sec,add:_pureFunctionsAnyGenerated.add,dot:_pureFunctionsAnyGenerated.dot,composition:_pureFunctionsAnyGenerated.composition,isZero:_pureFunctionsAnyGenerated.isZero,matrixFromFunction:_pureFunctionsAnyGenerated.matrixFromFunction,cbrt:_pureFunctionsAnyGenerated.cbrt,floor:_pureFunctionsAnyGenerated.floor,multiply:_pureFunctionsAnyGenerated.multiply,dotMultiply:_pureFunctionsAnyGenerated.dotMultiply,re:_pureFunctionsAnyGenerated.re,flatten:_pureFunctionsAnyGenerated.flatten,resize:_pureFunctionsAnyGenerated.resize,squeeze:_pureFunctionsAnyGenerated.squeeze,to:_pureFunctionsAnyGenerated.to,pow:_pureFunctionsAnyGenerated.pow,dotPow:_pureFunctionsAnyGenerated.dotPow,rightArithShift:_pureFunctionsAnyGenerated.rightArithShift,compareNatural:_pureFunctionsAnyGenerated.compareNatural,equalText:_pureFunctionsAnyGenerated.equalText,largerEq:_pureFunctionsAnyGenerated.largerEq,partitionSelect:_pureFunctionsAnyGenerated.partitionSelect,asech:_pureFunctionsAnyGenerated.asech,tan:_pureFunctionsAnyGenerated.tan,setDifference:_pureFunctionsAnyGenerated.setDifference,setIntersect:_pureFunctionsAnyGenerated.setIntersect,setMultiplicity:_pureFunctionsAnyGenerated.setMultiplicity,setSize:_pureFunctionsAnyGenerated.setSize,trace:_pureFunctionsAnyGenerated.trace,quantileSeq:_pureFunctionsAnyGenerated.quantileSeq,gamma:_pureFunctionsAnyGenerated.gamma,bignumber:_pureFunctionsAnyGenerated.bignumber,matrixFromColumns:_pureFunctionsAnyGenerated.matrixFromColumns,lcm:_pureFunctionsAnyGenerated.lcm,bitOr:_pureFunctionsAnyGenerated.bitOr,kron:_pureFunctionsAnyGenerated.kron,transpose:_pureFunctionsAnyGenerated.transpose,numeric:_pureFunctionsAnyGenerated.numeric,and:_pureFunctionsAnyGenerated.and,smallerEq:_pureFunctionsAnyGenerated.smallerEq,sort:_pureFunctionsAnyGenerated.sort,min:_pureFunctionsAnyGenerated.min,cot:_pureFunctionsAnyGenerated.cot,setDistinct:_pureFunctionsAnyGenerated.setDistinct,setPowerset:_pureFunctionsAnyGenerated.setPowerset,index:_pureFunctionsAnyGenerated.index,sum:_pureFunctionsAnyGenerated.sum,factorial:_pureFunctionsAnyGenerated.factorial,permutations:_pureFunctionsAnyGenerated.permutations,matrixFromRows:_pureFunctionsAnyGenerated.matrixFromRows,subtract:_pureFunctionsAnyGenerated.subtract,cross:_pureFunctionsAnyGenerated.cross,range:_pureFunctionsAnyGenerated.range,row:_pureFunctionsAnyGenerated.row,prod:_pureFunctionsAnyGenerated.prod,equal:_pureFunctionsAnyGenerated.equal,max:_pureFunctionsAnyGenerated.max,setCartesian:_pureFunctionsAnyGenerated.setCartesian,setSymDifference:_pureFunctionsAnyGenerated.setSymDifference,ceil:_pureFunctionsAnyGenerated.ceil,xor:_pureFunctionsAnyGenerated.xor,count:_pureFunctionsAnyGenerated.count,ctranspose:_pureFunctionsAnyGenerated.ctranspose,deepEqual:_pureFunctionsAnyGenerated.deepEqual,setIsSubset:_pureFunctionsAnyGenerated.setIsSubset,fix:_pureFunctionsAnyGenerated.fix,diff:_pureFunctionsAnyGenerated.diff,divideScalar:_pureFunctionsAnyGenerated.divideScalar,nthRoots:_pureFunctionsAnyGenerated.nthRoots,lsolve:_pureFunctionsAnyGenerated.lsolve,lsolveAll:_pureFunctionsAnyGenerated.lsolveAll,setUnion:_pureFunctionsAnyGenerated.setUnion,lup:_pureFunctionsAnyGenerated.lup,slu:_pureFunctionsAnyGenerated.slu,det:_pureFunctionsAnyGenerated.det,distance:_pureFunctionsAnyGenerated.distance,stirlingS2:_pureFunctionsAnyGenerated.stirlingS2,catalan:_pureFunctionsAnyGenerated.catalan,column:_pureFunctionsAnyGenerated.column,log:_pureFunctionsAnyGenerated.log,dotDivide:_pureFunctionsAnyGenerated.dotDivide,usolveAll:_pureFunctionsAnyGenerated.usolveAll,hypot:_pureFunctionsAnyGenerated.hypot,qr:_pureFunctionsAnyGenerated.qr,inv:_pureFunctionsAnyGenerated.inv,expm:_pureFunctionsAnyGenerated.expm,divide:_pureFunctionsAnyGenerated.divide,mean:_pureFunctionsAnyGenerated.mean,variance:_pureFunctionsAnyGenerated.variance,kldivergence:_pureFunctionsAnyGenerated.kldivergence,bellNumbers:_pureFunctionsAnyGenerated.bellNumbers,log1p:_pureFunctionsAnyGenerated.log1p,createUnit:_pureFunctionsAnyGenerated.createUnit,sqrtm:_pureFunctionsAnyGenerated.sqrtm,median:_pureFunctionsAnyGenerated.median,std:_pureFunctionsAnyGenerated.std,atomicMass:_pureFunctionsAnyGenerated.atomicMass,bohrMagneton:_pureFunctionsAnyGenerated.bohrMagneton,boltzmann:_pureFunctionsAnyGenerated.boltzmann,conductanceQuantum:_pureFunctionsAnyGenerated.conductanceQuantum,deuteronMass:_pureFunctionsAnyGenerated.deuteronMass,electronMass:_pureFunctionsAnyGenerated.electronMass,faraday:_pureFunctionsAnyGenerated.faraday,firstRadiation:_pureFunctionsAnyGenerated.firstRadiation,gravitationConstant:_pureFunctionsAnyGenerated.gravitationConstant,hartreeEnergy:_pureFunctionsAnyGenerated.hartreeEnergy,klitzing:_pureFunctionsAnyGenerated.klitzing,magneticConstant:_pureFunctionsAnyGenerated.magneticConstant,molarMass:_pureFunctionsAnyGenerated.molarMass,molarPlanckConstant:_pureFunctionsAnyGenerated.molarPlanckConstant,neutronMass:_pureFunctionsAnyGenerated.neutronMass,planckCharge:_pureFunctionsAnyGenerated.planckCharge,planckLength:_pureFunctionsAnyGenerated.planckLength,planckTemperature:_pureFunctionsAnyGenerated.planckTemperature,protonMass:_pureFunctionsAnyGenerated.protonMass,reducedPlanckConstant:_pureFunctionsAnyGenerated.reducedPlanckConstant,secondRadiation:_pureFunctionsAnyGenerated.secondRadiation,stefanBoltzmann:_pureFunctionsAnyGenerated.stefanBoltzmann,vacuumImpedance:_pureFunctionsAnyGenerated.vacuumImpedance,usolve:_pureFunctionsAnyGenerated.usolve,lusolve:_pureFunctionsAnyGenerated.lusolve,eigs:_pureFunctionsAnyGenerated.eigs,mad:_pureFunctionsAnyGenerated.mad,avogadro:_pureFunctionsAnyGenerated.avogadro,classicalElectronRadius:_pureFunctionsAnyGenerated.classicalElectronRadius,electricConstant:_pureFunctionsAnyGenerated.electricConstant,fermiCoupling:_pureFunctionsAnyGenerated.fermiCoupling,gravity:_pureFunctionsAnyGenerated.gravity,loschmidt:_pureFunctionsAnyGenerated.loschmidt,molarMassC12:_pureFunctionsAnyGenerated.molarMassC12,nuclearMagneton:_pureFunctionsAnyGenerated.nuclearMagneton,planckMass:_pureFunctionsAnyGenerated.planckMass,quantumOfCirculation:_pureFunctionsAnyGenerated.quantumOfCirculation,speedOfLight:_pureFunctionsAnyGenerated.speedOfLight,wienDisplacement:_pureFunctionsAnyGenerated.wienDisplacement,unit:_pureFunctionsAnyGenerated.unit,parse:parse,evaluate:evaluate,intersect:_pureFunctionsAnyGenerated.intersect,simplify:simplify,rationalize:rationalize,coulomb:_pureFunctionsAnyGenerated.coulomb,gasConstant:_pureFunctionsAnyGenerated.gasConstant,magneticFluxQuantum:_pureFunctionsAnyGenerated.magneticFluxQuantum,planckConstant:_pureFunctionsAnyGenerated.planckConstant,rydberg:_pureFunctionsAnyGenerated.rydberg,norm:_pureFunctionsAnyGenerated.norm,help:help,derivative:derivative,elementaryCharge:_pureFunctionsAnyGenerated.elementaryCharge,molarVolume:_pureFunctionsAnyGenerated.molarVolume,thomsonCrossSection:_pureFunctionsAnyGenerated.thomsonCrossSection,rotationMatrix:_pureFunctionsAnyGenerated.rotationMatrix,parser:parser,bohrRadius:_pureFunctionsAnyGenerated.bohrRadius,planckTime:_pureFunctionsAnyGenerated.planckTime,rotate:_pureFunctionsAnyGenerated.rotate,multinomial:_pureFunctionsAnyGenerated.multinomial,compile:compile,inverseConductanceQuantum:_pureFunctionsAnyGenerated.inverseConductanceQuantum,config:_configReadonly.config}),(0,_extends2.default)(mathWithTransform,math,{apply:(0,_factoriesAny.createApplyTransform)({isInteger:_pureFunctionsAnyGenerated.isInteger,typed:_pureFunctionsAnyGenerated.typed}),filter:(0,_factoriesAny.createFilterTransform)({typed:_pureFunctionsAnyGenerated.typed}),map:(0,_factoriesAny.createMapTransform)({typed:_pureFunctionsAnyGenerated.typed}),forEach:(0,_factoriesAny.createForEachTransform)({typed:_pureFunctionsAnyGenerated.typed}),subset:(0,_factoriesAny.createSubsetTransform)({matrix:_pureFunctionsAnyGenerated.matrix,typed:_pureFunctionsAnyGenerated.typed}),index:(0,_factoriesAny.createIndexTransform)({Index:_pureFunctionsAnyGenerated.Index}),concat:(0,_factoriesAny.createConcatTransform)({isInteger:_pureFunctionsAnyGenerated.isInteger,matrix:_pureFunctionsAnyGenerated.matrix,typed:_pureFunctionsAnyGenerated.typed}),max:(0,_factoriesAny.createMaxTransform)({config:_configReadonly.config,larger:_pureFunctionsAnyGenerated.larger,numeric:_pureFunctionsAnyGenerated.numeric,typed:_pureFunctionsAnyGenerated.typed}),min:(0,_factoriesAny.createMinTransform)({config:_configReadonly.config,numeric:_pureFunctionsAnyGenerated.numeric,smaller:_pureFunctionsAnyGenerated.smaller,typed:_pureFunctionsAnyGenerated.typed}),sum:(0,_factoriesAny.createSumTransform)({add:_pureFunctionsAnyGenerated.add,config:_configReadonly.config,numeric:_pureFunctionsAnyGenerated.numeric,typed:_pureFunctionsAnyGenerated.typed}),column:(0,_factoriesAny.createColumnTransform)({Index:_pureFunctionsAnyGenerated.Index,matrix:_pureFunctionsAnyGenerated.matrix,range:_pureFunctionsAnyGenerated.range,typed:_pureFunctionsAnyGenerated.typed}),range:(0,_factoriesAny.createRangeTransform)({bignumber:_pureFunctionsAnyGenerated.bignumber,matrix:_pureFunctionsAnyGenerated.matrix,config:_configReadonly.config,larger:_pureFunctionsAnyGenerated.larger,largerEq:_pureFunctionsAnyGenerated.largerEq,smaller:_pureFunctionsAnyGenerated.smaller,smallerEq:_pureFunctionsAnyGenerated.smallerEq,typed:_pureFunctionsAnyGenerated.typed}),diff:(0,_factoriesAny.createDiffTransform)({bignumber:_pureFunctionsAnyGenerated.bignumber,matrix:_pureFunctionsAnyGenerated.matrix,number:_pureFunctionsAnyGenerated.number,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed}),row:(0,_factoriesAny.createRowTransform)({Index:_pureFunctionsAnyGenerated.Index,matrix:_pureFunctionsAnyGenerated.matrix,range:_pureFunctionsAnyGenerated.range,typed:_pureFunctionsAnyGenerated.typed}),mean:(0,_factoriesAny.createMeanTransform)({add:_pureFunctionsAnyGenerated.add,divide:_pureFunctionsAnyGenerated.divide,typed:_pureFunctionsAnyGenerated.typed}),variance:(0,_factoriesAny.createVarianceTransform)({add:_pureFunctionsAnyGenerated.add,apply:_pureFunctionsAnyGenerated.apply,divide:_pureFunctionsAnyGenerated.divide,isNaN:_pureFunctionsAnyGenerated.isNaN,multiply:_pureFunctionsAnyGenerated.multiply,subtract:_pureFunctionsAnyGenerated.subtract,typed:_pureFunctionsAnyGenerated.typed}),std:(0,_factoriesAny.createStdTransform)({sqrt:_pureFunctionsAnyGenerated.sqrt,typed:_pureFunctionsAnyGenerated.typed,variance:_pureFunctionsAnyGenerated.variance})}),(0,_extends2.default)(classes,{ResultSet:_pureFunctionsAnyGenerated.ResultSet,Complex:_pureFunctionsAnyGenerated.Complex,Range:_pureFunctionsAnyGenerated.Range,Node:Node,ArrayNode:ArrayNode,BlockNode:BlockNode,ConstantNode:ConstantNode,ObjectNode:ObjectNode,ParenthesisNode:ParenthesisNode,RelationalNode:RelationalNode,Chain:Chain,BigNumber:_pureFunctionsAnyGenerated.BigNumber,Matrix:_pureFunctionsAnyGenerated.Matrix,ConditionalNode:ConditionalNode,OperatorNode:OperatorNode,Fraction:_pureFunctionsAnyGenerated.Fraction,RangeNode:RangeNode,DenseMatrix:_pureFunctionsAnyGenerated.DenseMatrix,FunctionAssignmentNode:FunctionAssignmentNode,SparseMatrix:_pureFunctionsAnyGenerated.SparseMatrix,ImmutableDenseMatrix:_pureFunctionsAnyGenerated.ImmutableDenseMatrix,FibonacciHeap:_pureFunctionsAnyGenerated.FibonacciHeap,AccessorNode:AccessorNode,IndexNode:IndexNode,Index:_pureFunctionsAnyGenerated.Index,AssignmentNode:AssignmentNode,Spa:_pureFunctionsAnyGenerated.Spa,Unit:_pureFunctionsAnyGenerated.Unit,SymbolNode:SymbolNode,FunctionNode:FunctionNode,Help:Help,Parser:Parser}),Chain.createProxy(math)},{"../expression/embeddedDocs/embeddedDocs.js":418,"../factoriesAny.js":654,"./configReadonly.js":42,"./pureFunctionsAny.generated.js":379,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15}],378:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={config:!0,IndexError:!0,DimensionError:!0,ArgumentsError:!0,create:!0,factory:!0};Object.defineProperty(exports,"config",{enumerable:!0,get:function get(){return _configReadonly.config}}),Object.defineProperty(exports,"IndexError",{enumerable:!0,get:function get(){return _IndexError.IndexError}}),Object.defineProperty(exports,"DimensionError",{enumerable:!0,get:function get(){return _DimensionError.DimensionError}}),Object.defineProperty(exports,"ArgumentsError",{enumerable:!0,get:function get(){return _ArgumentsError.ArgumentsError}}),Object.defineProperty(exports,"create",{enumerable:!0,get:function get(){return _create.create}}),Object.defineProperty(exports,"factory",{enumerable:!0,get:function get(){return _factory.factory}});var _configReadonly=require("./configReadonly.js"),_pureFunctionsAnyGenerated=require("./pureFunctionsAny.generated.js");Object.keys(_pureFunctionsAnyGenerated).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_pureFunctionsAnyGenerated[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _pureFunctionsAnyGenerated[key]}}))}));var _impureFunctionsAnyGenerated=require("./impureFunctionsAny.generated.js");Object.keys(_impureFunctionsAnyGenerated).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_impureFunctionsAnyGenerated[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _impureFunctionsAnyGenerated[key]}}))}));var _typeChecks=require("./typeChecks.js");Object.keys(_typeChecks).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_typeChecks[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _typeChecks[key]}}))}));var _IndexError=require("../error/IndexError.js"),_DimensionError=require("../error/DimensionError.js"),_ArgumentsError=require("../error/ArgumentsError.js"),_dependenciesAnyGenerated=require("./dependenciesAny.generated.js");Object.keys(_dependenciesAnyGenerated).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_dependenciesAnyGenerated[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _dependenciesAnyGenerated[key]}}))}));var _factoriesAny=require("../factoriesAny.js");Object.keys(_factoriesAny).forEach((function(key){"default"!==key&&"__esModule"!==key&&(Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_factoriesAny[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _factoriesAny[key]}}))}));var _create=require("../core/create.js"),_factory=require("../utils/factory.js")},{"../core/create.js":37,"../error/ArgumentsError.js":381,"../error/DimensionError.js":382,"../error/IndexError.js":383,"../factoriesAny.js":654,"../utils/factory.js":941,"./configReadonly.js":42,"./dependenciesAny.generated.js":43,"./impureFunctionsAny.generated.js":377,"./pureFunctionsAny.generated.js":379,"./typeChecks.js":380}],379:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrix=exports.SparseMatrix=exports.isNegative=exports.SQRT2=exports.random=exports.combinationsWithRep=exports.sin=exports.csc=exports.cos=exports.asinh=exports.acsch=exports.acosh=exports.bin=exports.mode=exports.getMatrixDataType=exports.conj=exports.sqrt=exports.log2=exports.exp=exports.addScalar=exports.unaryMinus=exports.fraction=exports.string=exports.typeOf=exports.hasNumericValue=exports.clone=exports.LN2=exports.randomInt=exports.pickRandom=exports.combinations=exports.tanh=exports.sinh=exports.sech=exports.csch=exports.coth=exports.cosh=exports.atanh=exports.atan=exports.asin=exports.asec=exports.acsc=exports.acot=exports.acos=exports.isPrime=exports.print=exports.oct=exports.format=exports.erf=exports.map=exports.forEach=exports.filter=exports.not=exports.im=exports.arg=exports.bitNot=exports.square=exports.sign=exports.multiplyScalar=exports.log10=exports.expm1=exports.cube=exports.apply=exports.unaryPlus=exports.splitUnit=exports.complex=exports.boolean=exports.number=exports.equalScalar=exports.isNaN=exports.isPositive=exports.isNumeric=exports.isInteger=exports.typed=exports.phi=exports.DenseMatrix=exports.version=exports.LOG2E=exports._Infinity=exports.e=exports.Fraction=exports.weakMixingAngle=exports.sackurTetrode=exports.fineStructure=exports.efimovFactor=exports.tau=exports.SQRT1_2=exports.pi=exports._NaN=exports.LOG10E=exports.LN10=exports.i=exports.replacer=exports.Matrix=exports.BigNumber=exports._true=exports._null=exports._false=exports.Range=exports.Complex=exports.ResultSet=void 0,exports.nthRoots=exports.divideScalar=exports.diff=exports.fix=exports.setIsSubset=exports.deepEqual=exports.ctranspose=exports.count=exports.xor=exports.ceil=exports.setSymDifference=exports.setCartesian=exports.max=exports.equal=exports.prod=exports.row=exports.range=exports.cross=exports.subtract=exports.matrixFromRows=exports.permutations=exports.factorial=exports.sum=exports.index=exports.setPowerset=exports.setDistinct=exports.cot=exports.min=exports.sort=exports.smallerEq=exports.and=exports.numeric=exports.transpose=exports.kron=exports.bitOr=exports.lcm=exports.matrixFromColumns=exports.bignumber=exports.gamma=exports.quantileSeq=exports.trace=exports.setSize=exports.setMultiplicity=exports.setIntersect=exports.setDifference=exports.tan=exports.asech=exports.Index=exports.partitionSelect=exports.largerEq=exports.equalText=exports.compareNatural=exports.rightArithShift=exports.dotPow=exports.pow=exports.to=exports.squeeze=exports.resize=exports.flatten=exports.re=exports.dotMultiply=exports.multiply=exports.floor=exports.cbrt=exports.matrixFromFunction=exports.isZero=exports.composition=exports.dot=exports.add=exports.sec=exports.atan2=exports.acoth=exports.sparse=exports.FibonacciHeap=exports.ImmutableDenseMatrix=exports.unequal=exports.larger=exports.smaller=exports.compareText=exports.compare=exports.rightLogShift=exports.leftShift=exports.round=exports.hex=exports.zeros=exports.subset=exports.size=exports.reshape=exports.ones=exports.identity=exports.diag=exports.concat=exports.or=exports.bitXor=exports.bitAnd=exports.xgcd=exports.nthRoot=exports.mod=exports.gcd=exports.abs=void 0,exports.inverseConductanceQuantum=exports.multinomial=exports.rotate=exports.planckTime=exports.bohrRadius=exports.rotationMatrix=exports.thomsonCrossSection=exports.molarVolume=exports.elementaryCharge=exports.norm=exports.rydberg=exports.planckConstant=exports.magneticFluxQuantum=exports.gasConstant=exports.coulomb=exports.intersect=exports.unit=exports.wienDisplacement=exports.speedOfLight=exports.quantumOfCirculation=exports.planckMass=exports.nuclearMagneton=exports.molarMassC12=exports.loschmidt=exports.gravity=exports.fermiCoupling=exports.electricConstant=exports.classicalElectronRadius=exports.avogadro=exports.mad=exports.eigs=exports.lusolve=exports.usolve=exports.vacuumImpedance=exports.stefanBoltzmann=exports.secondRadiation=exports.reducedPlanckConstant=exports.protonMass=exports.planckTemperature=exports.planckLength=exports.planckCharge=exports.neutronMass=exports.molarPlanckConstant=exports.molarMass=exports.magneticConstant=exports.klitzing=exports.hartreeEnergy=exports.gravitationConstant=exports.firstRadiation=exports.faraday=exports.electronMass=exports.deuteronMass=exports.conductanceQuantum=exports.boltzmann=exports.bohrMagneton=exports.atomicMass=exports.std=exports.median=exports.sqrtm=exports.createUnit=exports.Unit=exports.log1p=exports.bellNumbers=exports.kldivergence=exports.variance=exports.mean=exports.divide=exports.expm=exports.inv=exports.qr=exports.hypot=exports.usolveAll=exports.dotDivide=exports.log=exports.column=exports.catalan=exports.stirlingS2=exports.distance=exports.det=exports.slu=exports.lup=exports.setUnion=exports.Spa=exports.lsolveAll=exports.lsolve=void 0;var _configReadonly=require("./configReadonly.js"),_factoriesAny=require("../factoriesAny.js"),ResultSet=(0,_factoriesAny.createResultSet)({});exports.ResultSet=ResultSet;var Complex=(0,_factoriesAny.createComplexClass)({});exports.Complex=Complex;var Range=(0,_factoriesAny.createRangeClass)({});exports.Range=Range;var _false=(0,_factoriesAny.createFalse)({});exports._false=_false;var _null=(0,_factoriesAny.createNull)({});exports._null=_null;var _true=(0,_factoriesAny.createTrue)({});exports._true=_true;var BigNumber=(0,_factoriesAny.createBigNumberClass)({config:_configReadonly.config});exports.BigNumber=BigNumber;var Matrix=(0,_factoriesAny.createMatrixClass)({});exports.Matrix=Matrix;var replacer=(0,_factoriesAny.createReplacer)({});exports.replacer=replacer;var i=(0,_factoriesAny.createI)({Complex:Complex});exports.i=i;var LN10=(0,_factoriesAny.createLN10)({BigNumber:BigNumber,config:_configReadonly.config});exports.LN10=LN10;var LOG10E=(0,_factoriesAny.createLOG10E)({BigNumber:BigNumber,config:_configReadonly.config});exports.LOG10E=LOG10E;var _NaN=(0,_factoriesAny.createNaN)({BigNumber:BigNumber,config:_configReadonly.config});exports._NaN=_NaN;var pi=(0,_factoriesAny.createPi)({BigNumber:BigNumber,config:_configReadonly.config});exports.pi=pi;var SQRT1_2=(0,_factoriesAny.createSQRT1_2)({BigNumber:BigNumber,config:_configReadonly.config});exports.SQRT1_2=SQRT1_2;var tau=(0,_factoriesAny.createTau)({BigNumber:BigNumber,config:_configReadonly.config});exports.tau=tau;var efimovFactor=(0,_factoriesAny.createEfimovFactor)({BigNumber:BigNumber,config:_configReadonly.config});exports.efimovFactor=efimovFactor;var fineStructure=(0,_factoriesAny.createFineStructure)({BigNumber:BigNumber,config:_configReadonly.config});exports.fineStructure=fineStructure;var sackurTetrode=(0,_factoriesAny.createSackurTetrode)({BigNumber:BigNumber,config:_configReadonly.config});exports.sackurTetrode=sackurTetrode;var weakMixingAngle=(0,_factoriesAny.createWeakMixingAngle)({BigNumber:BigNumber,config:_configReadonly.config});exports.weakMixingAngle=weakMixingAngle;var Fraction=(0,_factoriesAny.createFractionClass)({});exports.Fraction=Fraction;var e=(0,_factoriesAny.createE)({BigNumber:BigNumber,config:_configReadonly.config});exports.e=e;var _Infinity=(0,_factoriesAny.createInfinity)({BigNumber:BigNumber,config:_configReadonly.config});exports._Infinity=_Infinity;var LOG2E=(0,_factoriesAny.createLOG2E)({BigNumber:BigNumber,config:_configReadonly.config});exports.LOG2E=LOG2E;var version=(0,_factoriesAny.createVersion)({});exports.version=version;var DenseMatrix=(0,_factoriesAny.createDenseMatrixClass)({Matrix:Matrix});exports.DenseMatrix=DenseMatrix;var phi=(0,_factoriesAny.createPhi)({BigNumber:BigNumber,config:_configReadonly.config});exports.phi=phi;var typed=(0,_factoriesAny.createTyped)({BigNumber:BigNumber,Complex:Complex,DenseMatrix:DenseMatrix,Fraction:Fraction});exports.typed=typed;var isInteger=(0,_factoriesAny.createIsInteger)({typed:typed});exports.isInteger=isInteger;var isNumeric=(0,_factoriesAny.createIsNumeric)({typed:typed});exports.isNumeric=isNumeric;var isPositive=(0,_factoriesAny.createIsPositive)({typed:typed});exports.isPositive=isPositive;var isNaN=(0,_factoriesAny.createIsNaN)({typed:typed});exports.isNaN=isNaN;var equalScalar=(0,_factoriesAny.createEqualScalar)({config:_configReadonly.config,typed:typed});exports.equalScalar=equalScalar;var number=(0,_factoriesAny.createNumber)({typed:typed});exports.number=number;var _boolean=(0,_factoriesAny.createBoolean)({typed:typed});exports.boolean=_boolean;var complex=(0,_factoriesAny.createComplex)({Complex:Complex,typed:typed});exports.complex=complex;var splitUnit=(0,_factoriesAny.createSplitUnit)({typed:typed});exports.splitUnit=splitUnit;var unaryPlus=(0,_factoriesAny.createUnaryPlus)({BigNumber:BigNumber,config:_configReadonly.config,typed:typed});exports.unaryPlus=unaryPlus;var apply=(0,_factoriesAny.createApply)({isInteger:isInteger,typed:typed});exports.apply=apply;var cube=(0,_factoriesAny.createCube)({typed:typed});exports.cube=cube;var expm1=(0,_factoriesAny.createExpm1)({Complex:Complex,typed:typed});exports.expm1=expm1;var log10=(0,_factoriesAny.createLog10)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.log10=log10;var multiplyScalar=(0,_factoriesAny.createMultiplyScalar)({typed:typed});exports.multiplyScalar=multiplyScalar;var sign=(0,_factoriesAny.createSign)({BigNumber:BigNumber,Fraction:Fraction,complex:complex,typed:typed});exports.sign=sign;var square=(0,_factoriesAny.createSquare)({typed:typed});exports.square=square;var bitNot=(0,_factoriesAny.createBitNot)({typed:typed});exports.bitNot=bitNot;var arg=(0,_factoriesAny.createArg)({typed:typed});exports.arg=arg;var im=(0,_factoriesAny.createIm)({typed:typed});exports.im=im;var not=(0,_factoriesAny.createNot)({typed:typed});exports.not=not;var filter=(0,_factoriesAny.createFilter)({typed:typed});exports.filter=filter;var forEach=(0,_factoriesAny.createForEach)({typed:typed});exports.forEach=forEach;var map=(0,_factoriesAny.createMap)({typed:typed});exports.map=map;var erf=(0,_factoriesAny.createErf)({typed:typed});exports.erf=erf;var format=(0,_factoriesAny.createFormat)({typed:typed});exports.format=format;var oct=(0,_factoriesAny.createOct)({format:format,typed:typed});exports.oct=oct;var print=(0,_factoriesAny.createPrint)({typed:typed});exports.print=print;var isPrime=(0,_factoriesAny.createIsPrime)({typed:typed});exports.isPrime=isPrime;var acos=(0,_factoriesAny.createAcos)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.acos=acos;var acot=(0,_factoriesAny.createAcot)({BigNumber:BigNumber,typed:typed});exports.acot=acot;var acsc=(0,_factoriesAny.createAcsc)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.acsc=acsc;var asec=(0,_factoriesAny.createAsec)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.asec=asec;var asin=(0,_factoriesAny.createAsin)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.asin=asin;var atan=(0,_factoriesAny.createAtan)({typed:typed});exports.atan=atan;var atanh=(0,_factoriesAny.createAtanh)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.atanh=atanh;var cosh=(0,_factoriesAny.createCosh)({typed:typed});exports.cosh=cosh;var coth=(0,_factoriesAny.createCoth)({BigNumber:BigNumber,typed:typed});exports.coth=coth;var csch=(0,_factoriesAny.createCsch)({BigNumber:BigNumber,typed:typed});exports.csch=csch;var sech=(0,_factoriesAny.createSech)({BigNumber:BigNumber,typed:typed});exports.sech=sech;var sinh=(0,_factoriesAny.createSinh)({typed:typed});exports.sinh=sinh;var tanh=(0,_factoriesAny.createTanh)({typed:typed});exports.tanh=tanh;var combinations=(0,_factoriesAny.createCombinations)({typed:typed});exports.combinations=combinations;var pickRandom=(0,_factoriesAny.createPickRandom)({config:_configReadonly.config,typed:typed});exports.pickRandom=pickRandom;var randomInt=(0,_factoriesAny.createRandomInt)({config:_configReadonly.config,typed:typed});exports.randomInt=randomInt;var LN2=(0,_factoriesAny.createLN2)({BigNumber:BigNumber,config:_configReadonly.config});exports.LN2=LN2;var clone=(0,_factoriesAny.createClone)({typed:typed});exports.clone=clone;var hasNumericValue=(0,_factoriesAny.createHasNumericValue)({isNumeric:isNumeric,typed:typed});exports.hasNumericValue=hasNumericValue;var typeOf=(0,_factoriesAny.createTypeOf)({typed:typed});exports.typeOf=typeOf;var string=(0,_factoriesAny.createString)({typed:typed});exports.string=string;var fraction=(0,_factoriesAny.createFraction)({Fraction:Fraction,typed:typed});exports.fraction=fraction;var unaryMinus=(0,_factoriesAny.createUnaryMinus)({typed:typed});exports.unaryMinus=unaryMinus;var addScalar=(0,_factoriesAny.createAddScalar)({typed:typed});exports.addScalar=addScalar;var exp=(0,_factoriesAny.createExp)({typed:typed});exports.exp=exp;var log2=(0,_factoriesAny.createLog2)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.log2=log2;var sqrt=(0,_factoriesAny.createSqrt)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.sqrt=sqrt;var conj=(0,_factoriesAny.createConj)({typed:typed});exports.conj=conj;var getMatrixDataType=(0,_factoriesAny.createGetMatrixDataType)({typed:typed});exports.getMatrixDataType=getMatrixDataType;var mode=(0,_factoriesAny.createMode)({isNaN:isNaN,isNumeric:isNumeric,typed:typed});exports.mode=mode;var bin=(0,_factoriesAny.createBin)({format:format,typed:typed});exports.bin=bin;var acosh=(0,_factoriesAny.createAcosh)({Complex:Complex,config:_configReadonly.config,typed:typed});exports.acosh=acosh;var acsch=(0,_factoriesAny.createAcsch)({BigNumber:BigNumber,typed:typed});exports.acsch=acsch;var asinh=(0,_factoriesAny.createAsinh)({typed:typed});exports.asinh=asinh;var cos=(0,_factoriesAny.createCos)({typed:typed});exports.cos=cos;var csc=(0,_factoriesAny.createCsc)({BigNumber:BigNumber,typed:typed});exports.csc=csc;var sin=(0,_factoriesAny.createSin)({typed:typed});exports.sin=sin;var combinationsWithRep=(0,_factoriesAny.createCombinationsWithRep)({typed:typed});exports.combinationsWithRep=combinationsWithRep;var random=(0,_factoriesAny.createRandom)({config:_configReadonly.config,typed:typed});exports.random=random;var SQRT2=(0,_factoriesAny.createSQRT2)({BigNumber:BigNumber,config:_configReadonly.config});exports.SQRT2=SQRT2;var isNegative=(0,_factoriesAny.createIsNegative)({typed:typed});exports.isNegative=isNegative;var SparseMatrix=(0,_factoriesAny.createSparseMatrixClass)({Matrix:Matrix,equalScalar:equalScalar,typed:typed});exports.SparseMatrix=SparseMatrix;var matrix=(0,_factoriesAny.createMatrix)({DenseMatrix:DenseMatrix,Matrix:Matrix,SparseMatrix:SparseMatrix,typed:typed});exports.matrix=matrix;var abs=(0,_factoriesAny.createAbs)({typed:typed});exports.abs=abs;var gcd=(0,_factoriesAny.createGcd)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.gcd=gcd;var mod=(0,_factoriesAny.createMod)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.mod=mod;var nthRoot=(0,_factoriesAny.createNthRoot)({BigNumber:BigNumber,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.nthRoot=nthRoot;var xgcd=(0,_factoriesAny.createXgcd)({BigNumber:BigNumber,config:_configReadonly.config,matrix:matrix,typed:typed});exports.xgcd=xgcd;var bitAnd=(0,_factoriesAny.createBitAnd)({equalScalar:equalScalar,matrix:matrix,typed:typed});exports.bitAnd=bitAnd;var bitXor=(0,_factoriesAny.createBitXor)({DenseMatrix:DenseMatrix,matrix:matrix,typed:typed});exports.bitXor=bitXor;var or=(0,_factoriesAny.createOr)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.or=or;var concat=(0,_factoriesAny.createConcat)({isInteger:isInteger,matrix:matrix,typed:typed});exports.concat=concat;var diag=(0,_factoriesAny.createDiag)({DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,matrix:matrix,typed:typed});exports.diag=diag;var identity=(0,_factoriesAny.createIdentity)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.identity=identity;var ones=(0,_factoriesAny.createOnes)({BigNumber:BigNumber,config:_configReadonly.config,matrix:matrix,typed:typed});exports.ones=ones;var reshape=(0,_factoriesAny.createReshape)({isInteger:isInteger,matrix:matrix,typed:typed});exports.reshape=reshape;var size=(0,_factoriesAny.createSize)({matrix:matrix,config:_configReadonly.config,typed:typed});exports.size=size;var subset=(0,_factoriesAny.createSubset)({matrix:matrix,typed:typed});exports.subset=subset;var zeros=(0,_factoriesAny.createZeros)({BigNumber:BigNumber,config:_configReadonly.config,matrix:matrix,typed:typed});exports.zeros=zeros;var hex=(0,_factoriesAny.createHex)({format:format,typed:typed});exports.hex=hex;var round=(0,_factoriesAny.createRound)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.round=round;var leftShift=(0,_factoriesAny.createLeftShift)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.leftShift=leftShift;var rightLogShift=(0,_factoriesAny.createRightLogShift)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.rightLogShift=rightLogShift;var compare=(0,_factoriesAny.createCompare)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,Fraction:Fraction,config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.compare=compare;var compareText=(0,_factoriesAny.createCompareText)({matrix:matrix,typed:typed});exports.compareText=compareText;var smaller=(0,_factoriesAny.createSmaller)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.smaller=smaller;var larger=(0,_factoriesAny.createLarger)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.larger=larger;var unequal=(0,_factoriesAny.createUnequal)({DenseMatrix:DenseMatrix,config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.unequal=unequal;var ImmutableDenseMatrix=(0,_factoriesAny.createImmutableDenseMatrixClass)({DenseMatrix:DenseMatrix,smaller:smaller});exports.ImmutableDenseMatrix=ImmutableDenseMatrix;var FibonacciHeap=(0,_factoriesAny.createFibonacciHeapClass)({larger:larger,smaller:smaller});exports.FibonacciHeap=FibonacciHeap;var sparse=(0,_factoriesAny.createSparse)({SparseMatrix:SparseMatrix,typed:typed});exports.sparse=sparse;var acoth=(0,_factoriesAny.createAcoth)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.acoth=acoth;var atan2=(0,_factoriesAny.createAtan2)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.atan2=atan2;var sec=(0,_factoriesAny.createSec)({BigNumber:BigNumber,typed:typed});exports.sec=sec;var add=(0,_factoriesAny.createAdd)({DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,addScalar:addScalar,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.add=add;var dot=(0,_factoriesAny.createDot)({addScalar:addScalar,conj:conj,multiplyScalar:multiplyScalar,size:size,typed:typed});exports.dot=dot;var composition=(0,_factoriesAny.createComposition)({addScalar:addScalar,combinations:combinations,isInteger:isInteger,isNegative:isNegative,isPositive:isPositive,larger:larger,typed:typed});exports.composition=composition;var isZero=(0,_factoriesAny.createIsZero)({typed:typed});exports.isZero=isZero;var matrixFromFunction=(0,_factoriesAny.createMatrixFromFunction)({isZero:isZero,matrix:matrix,typed:typed});exports.matrixFromFunction=matrixFromFunction;var cbrt=(0,_factoriesAny.createCbrt)({BigNumber:BigNumber,Complex:Complex,Fraction:Fraction,config:_configReadonly.config,isNegative:isNegative,matrix:matrix,typed:typed,unaryMinus:unaryMinus});exports.cbrt=cbrt;var floor=(0,_factoriesAny.createFloor)({config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,round:round,typed:typed});exports.floor=floor;var multiply=(0,_factoriesAny.createMultiply)({addScalar:addScalar,dot:dot,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,typed:typed});exports.multiply=multiply;var dotMultiply=(0,_factoriesAny.createDotMultiply)({equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,typed:typed});exports.dotMultiply=dotMultiply;var re=(0,_factoriesAny.createRe)({typed:typed});exports.re=re;var flatten=(0,_factoriesAny.createFlatten)({matrix:matrix,typed:typed});exports.flatten=flatten;var resize=(0,_factoriesAny.createResize)({config:_configReadonly.config,matrix:matrix});exports.resize=resize;var squeeze=(0,_factoriesAny.createSqueeze)({matrix:matrix,typed:typed});exports.squeeze=squeeze;var to=(0,_factoriesAny.createTo)({matrix:matrix,typed:typed});exports.to=to;var pow=(0,_factoriesAny.createPow)({Complex:Complex,config:_configReadonly.config,fraction:fraction,identity:identity,matrix:matrix,multiply:multiply,number:number,typed:typed});exports.pow=pow;var dotPow=(0,_factoriesAny.createDotPow)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,pow:pow,typed:typed});exports.dotPow=dotPow;var rightArithShift=(0,_factoriesAny.createRightArithShift)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed,zeros:zeros});exports.rightArithShift=rightArithShift;var compareNatural=(0,_factoriesAny.createCompareNatural)({compare:compare,typed:typed});exports.compareNatural=compareNatural;var equalText=(0,_factoriesAny.createEqualText)({compareText:compareText,isZero:isZero,typed:typed});exports.equalText=equalText;var largerEq=(0,_factoriesAny.createLargerEq)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.largerEq=largerEq;var partitionSelect=(0,_factoriesAny.createPartitionSelect)({compare:compare,isNaN:isNaN,isNumeric:isNumeric,typed:typed});exports.partitionSelect=partitionSelect;var Index=(0,_factoriesAny.createIndexClass)({ImmutableDenseMatrix:ImmutableDenseMatrix});exports.Index=Index;var asech=(0,_factoriesAny.createAsech)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,typed:typed});exports.asech=asech;var tan=(0,_factoriesAny.createTan)({typed:typed});exports.tan=tan;var setDifference=(0,_factoriesAny.createSetDifference)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setDifference=setDifference;var setIntersect=(0,_factoriesAny.createSetIntersect)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setIntersect=setIntersect;var setMultiplicity=(0,_factoriesAny.createSetMultiplicity)({Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setMultiplicity=setMultiplicity;var setSize=(0,_factoriesAny.createSetSize)({compareNatural:compareNatural,typed:typed});exports.setSize=setSize;var trace=(0,_factoriesAny.createTrace)({add:add,matrix:matrix,typed:typed});exports.trace=trace;var quantileSeq=(0,_factoriesAny.createQuantileSeq)({add:add,compare:compare,multiply:multiply,partitionSelect:partitionSelect,typed:typed});exports.quantileSeq=quantileSeq;var gamma=(0,_factoriesAny.createGamma)({BigNumber:BigNumber,Complex:Complex,config:_configReadonly.config,multiplyScalar:multiplyScalar,pow:pow,typed:typed});exports.gamma=gamma;var bignumber=(0,_factoriesAny.createBignumber)({BigNumber:BigNumber,typed:typed});exports.bignumber=bignumber;var matrixFromColumns=(0,_factoriesAny.createMatrixFromColumns)({flatten:flatten,matrix:matrix,size:size,typed:typed});exports.matrixFromColumns=matrixFromColumns;var lcm=(0,_factoriesAny.createLcm)({equalScalar:equalScalar,matrix:matrix,typed:typed});exports.lcm=lcm;var bitOr=(0,_factoriesAny.createBitOr)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.bitOr=bitOr;var kron=(0,_factoriesAny.createKron)({matrix:matrix,multiplyScalar:multiplyScalar,typed:typed});exports.kron=kron;var transpose=(0,_factoriesAny.createTranspose)({matrix:matrix,typed:typed});exports.transpose=transpose;var numeric=(0,_factoriesAny.createNumeric)({bignumber:bignumber,fraction:fraction,number:number});exports.numeric=numeric;var and=(0,_factoriesAny.createAnd)({equalScalar:equalScalar,matrix:matrix,not:not,typed:typed,zeros:zeros});exports.and=and;var smallerEq=(0,_factoriesAny.createSmallerEq)({DenseMatrix:DenseMatrix,config:_configReadonly.config,matrix:matrix,typed:typed});exports.smallerEq=smallerEq;var sort=(0,_factoriesAny.createSort)({compare:compare,compareNatural:compareNatural,matrix:matrix,typed:typed});exports.sort=sort;var min=(0,_factoriesAny.createMin)({config:_configReadonly.config,numeric:numeric,smaller:smaller,typed:typed});exports.min=min;var cot=(0,_factoriesAny.createCot)({BigNumber:BigNumber,typed:typed});exports.cot=cot;var setDistinct=(0,_factoriesAny.createSetDistinct)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setDistinct=setDistinct;var setPowerset=(0,_factoriesAny.createSetPowerset)({Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setPowerset=setPowerset;var index=(0,_factoriesAny.createIndex)({Index:Index,typed:typed});exports.index=index;var sum=(0,_factoriesAny.createSum)({add:add,config:_configReadonly.config,numeric:numeric,typed:typed});exports.sum=sum;var factorial=(0,_factoriesAny.createFactorial)({gamma:gamma,typed:typed});exports.factorial=factorial;var permutations=(0,_factoriesAny.createPermutations)({factorial:factorial,typed:typed});exports.permutations=permutations;var matrixFromRows=(0,_factoriesAny.createMatrixFromRows)({flatten:flatten,matrix:matrix,size:size,typed:typed});exports.matrixFromRows=matrixFromRows;var subtract=(0,_factoriesAny.createSubtract)({DenseMatrix:DenseMatrix,addScalar:addScalar,equalScalar:equalScalar,matrix:matrix,typed:typed,unaryMinus:unaryMinus});exports.subtract=subtract;var cross=(0,_factoriesAny.createCross)({matrix:matrix,multiply:multiply,subtract:subtract,typed:typed});exports.cross=cross;var range=(0,_factoriesAny.createRange)({bignumber:bignumber,matrix:matrix,config:_configReadonly.config,larger:larger,largerEq:largerEq,smaller:smaller,smallerEq:smallerEq,typed:typed});exports.range=range;var row=(0,_factoriesAny.createRow)({Index:Index,matrix:matrix,range:range,typed:typed});exports.row=row;var prod=(0,_factoriesAny.createProd)({config:_configReadonly.config,multiplyScalar:multiplyScalar,numeric:numeric,typed:typed});exports.prod=prod;var equal=(0,_factoriesAny.createEqual)({DenseMatrix:DenseMatrix,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.equal=equal;var max=(0,_factoriesAny.createMax)({config:_configReadonly.config,larger:larger,numeric:numeric,typed:typed});exports.max=max;var setCartesian=(0,_factoriesAny.createSetCartesian)({DenseMatrix:DenseMatrix,Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setCartesian=setCartesian;var setSymDifference=(0,_factoriesAny.createSetSymDifference)({Index:Index,concat:concat,setDifference:setDifference,size:size,subset:subset,typed:typed});exports.setSymDifference=setSymDifference;var ceil=(0,_factoriesAny.createCeil)({config:_configReadonly.config,equalScalar:equalScalar,matrix:matrix,round:round,typed:typed});exports.ceil=ceil;var xor=(0,_factoriesAny.createXor)({DenseMatrix:DenseMatrix,matrix:matrix,typed:typed});exports.xor=xor;var count=(0,_factoriesAny.createCount)({prod:prod,size:size,typed:typed});exports.count=count;var ctranspose=(0,_factoriesAny.createCtranspose)({conj:conj,transpose:transpose,typed:typed});exports.ctranspose=ctranspose;var deepEqual=(0,_factoriesAny.createDeepEqual)({equal:equal,typed:typed});exports.deepEqual=deepEqual;var setIsSubset=(0,_factoriesAny.createSetIsSubset)({Index:Index,compareNatural:compareNatural,size:size,subset:subset,typed:typed});exports.setIsSubset=setIsSubset;var fix=(0,_factoriesAny.createFix)({Complex:Complex,ceil:ceil,floor:floor,matrix:matrix,typed:typed});exports.fix=fix;var diff=(0,_factoriesAny.createDiff)({matrix:matrix,number:number,subtract:subtract,typed:typed});exports.diff=diff;var divideScalar=(0,_factoriesAny.createDivideScalar)({numeric:numeric,typed:typed});exports.divideScalar=divideScalar;var nthRoots=(0,_factoriesAny.createNthRoots)({Complex:Complex,config:_configReadonly.config,divideScalar:divideScalar,typed:typed});exports.nthRoots=nthRoots;var lsolve=(0,_factoriesAny.createLsolve)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.lsolve=lsolve;var lsolveAll=(0,_factoriesAny.createLsolveAll)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.lsolveAll=lsolveAll;var Spa=(0,_factoriesAny.createSpaClass)({FibonacciHeap:FibonacciHeap,addScalar:addScalar,equalScalar:equalScalar});exports.Spa=Spa;var setUnion=(0,_factoriesAny.createSetUnion)({Index:Index,concat:concat,setIntersect:setIntersect,setSymDifference:setSymDifference,size:size,subset:subset,typed:typed});exports.setUnion=setUnion;var lup=(0,_factoriesAny.createLup)({DenseMatrix:DenseMatrix,Spa:Spa,SparseMatrix:SparseMatrix,abs:abs,addScalar:addScalar,divideScalar:divideScalar,equalScalar:equalScalar,larger:larger,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed,unaryMinus:unaryMinus});exports.lup=lup;var slu=(0,_factoriesAny.createSlu)({SparseMatrix:SparseMatrix,abs:abs,add:add,divideScalar:divideScalar,larger:larger,largerEq:largerEq,multiply:multiply,subtract:subtract,transpose:transpose,typed:typed});exports.slu=slu;var det=(0,_factoriesAny.createDet)({lup:lup,matrix:matrix,multiply:multiply,subtract:subtract,typed:typed,unaryMinus:unaryMinus});exports.det=det;var distance=(0,_factoriesAny.createDistance)({abs:abs,addScalar:addScalar,divideScalar:divideScalar,multiplyScalar:multiplyScalar,sqrt:sqrt,subtract:subtract,typed:typed,unaryMinus:unaryMinus});exports.distance=distance;var stirlingS2=(0,_factoriesAny.createStirlingS2)({addScalar:addScalar,combinations:combinations,divideScalar:divideScalar,factorial:factorial,isInteger:isInteger,isNegative:isNegative,larger:larger,multiplyScalar:multiplyScalar,pow:pow,subtract:subtract,typed:typed});exports.stirlingS2=stirlingS2;var catalan=(0,_factoriesAny.createCatalan)({addScalar:addScalar,combinations:combinations,divideScalar:divideScalar,isInteger:isInteger,isNegative:isNegative,multiplyScalar:multiplyScalar,typed:typed});exports.catalan=catalan;var column=(0,_factoriesAny.createColumn)({Index:Index,matrix:matrix,range:range,typed:typed});exports.column=column;var log=(0,_factoriesAny.createLog)({Complex:Complex,config:_configReadonly.config,divideScalar:divideScalar,typed:typed});exports.log=log;var dotDivide=(0,_factoriesAny.createDotDivide)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,typed:typed});exports.dotDivide=dotDivide;var usolveAll=(0,_factoriesAny.createUsolveAll)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.usolveAll=usolveAll;var hypot=(0,_factoriesAny.createHypot)({abs:abs,addScalar:addScalar,divideScalar:divideScalar,isPositive:isPositive,multiplyScalar:multiplyScalar,smaller:smaller,sqrt:sqrt,typed:typed});exports.hypot=hypot;var qr=(0,_factoriesAny.createQr)({addScalar:addScalar,complex:complex,conj:conj,divideScalar:divideScalar,equal:equal,identity:identity,isZero:isZero,matrix:matrix,multiplyScalar:multiplyScalar,sign:sign,sqrt:sqrt,subtract:subtract,typed:typed,unaryMinus:unaryMinus,zeros:zeros});exports.qr=qr;var inv=(0,_factoriesAny.createInv)({abs:abs,addScalar:addScalar,det:det,divideScalar:divideScalar,identity:identity,matrix:matrix,multiply:multiply,typed:typed,unaryMinus:unaryMinus});exports.inv=inv;var expm=(0,_factoriesAny.createExpm)({abs:abs,add:add,identity:identity,inv:inv,multiply:multiply,typed:typed});exports.expm=expm;var divide=(0,_factoriesAny.createDivide)({divideScalar:divideScalar,equalScalar:equalScalar,inv:inv,matrix:matrix,multiply:multiply,typed:typed});exports.divide=divide;var mean=(0,_factoriesAny.createMean)({add:add,divide:divide,typed:typed});exports.mean=mean;var variance=(0,_factoriesAny.createVariance)({add:add,apply:apply,divide:divide,isNaN:isNaN,multiply:multiply,subtract:subtract,typed:typed});exports.variance=variance;var kldivergence=(0,_factoriesAny.createKldivergence)({divide:divide,dotDivide:dotDivide,isNumeric:isNumeric,log:log,matrix:matrix,multiply:multiply,sum:sum,typed:typed});exports.kldivergence=kldivergence;var bellNumbers=(0,_factoriesAny.createBellNumbers)({addScalar:addScalar,isInteger:isInteger,isNegative:isNegative,stirlingS2:stirlingS2,typed:typed});exports.bellNumbers=bellNumbers;var log1p=(0,_factoriesAny.createLog1p)({Complex:Complex,config:_configReadonly.config,divideScalar:divideScalar,log:log,typed:typed});exports.log1p=log1p;var Unit=(0,_factoriesAny.createUnitClass)({BigNumber:BigNumber,Complex:Complex,Fraction:Fraction,abs:abs,addScalar:addScalar,config:_configReadonly.config,divideScalar:divideScalar,equal:equal,fix:fix,format:format,isNumeric:isNumeric,multiplyScalar:multiplyScalar,number:number,pow:pow,round:round,subtract:subtract});exports.Unit=Unit;var createUnit=(0,_factoriesAny.createCreateUnit)({Unit:Unit,typed:typed});exports.createUnit=createUnit;var sqrtm=(0,_factoriesAny.createSqrtm)({abs:abs,add:add,identity:identity,inv:inv,max:max,multiply:multiply,size:size,sqrt:sqrt,subtract:subtract,typed:typed});exports.sqrtm=sqrtm;var median=(0,_factoriesAny.createMedian)({add:add,compare:compare,divide:divide,partitionSelect:partitionSelect,typed:typed});exports.median=median;var std=(0,_factoriesAny.createStd)({sqrt:sqrt,typed:typed,variance:variance});exports.std=std;var atomicMass=(0,_factoriesAny.createAtomicMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.atomicMass=atomicMass;var bohrMagneton=(0,_factoriesAny.createBohrMagneton)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.bohrMagneton=bohrMagneton;var boltzmann=(0,_factoriesAny.createBoltzmann)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.boltzmann=boltzmann;var conductanceQuantum=(0,_factoriesAny.createConductanceQuantum)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.conductanceQuantum=conductanceQuantum;var deuteronMass=(0,_factoriesAny.createDeuteronMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.deuteronMass=deuteronMass;var electronMass=(0,_factoriesAny.createElectronMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.electronMass=electronMass;var faraday=(0,_factoriesAny.createFaraday)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.faraday=faraday;var firstRadiation=(0,_factoriesAny.createFirstRadiation)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.firstRadiation=firstRadiation;var gravitationConstant=(0,_factoriesAny.createGravitationConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.gravitationConstant=gravitationConstant;var hartreeEnergy=(0,_factoriesAny.createHartreeEnergy)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.hartreeEnergy=hartreeEnergy;var klitzing=(0,_factoriesAny.createKlitzing)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.klitzing=klitzing;var magneticConstant=(0,_factoriesAny.createMagneticConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.magneticConstant=magneticConstant;var molarMass=(0,_factoriesAny.createMolarMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarMass=molarMass;var molarPlanckConstant=(0,_factoriesAny.createMolarPlanckConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarPlanckConstant=molarPlanckConstant;var neutronMass=(0,_factoriesAny.createNeutronMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.neutronMass=neutronMass;var planckCharge=(0,_factoriesAny.createPlanckCharge)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckCharge=planckCharge;var planckLength=(0,_factoriesAny.createPlanckLength)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckLength=planckLength;var planckTemperature=(0,_factoriesAny.createPlanckTemperature)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckTemperature=planckTemperature;var protonMass=(0,_factoriesAny.createProtonMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.protonMass=protonMass;var reducedPlanckConstant=(0,_factoriesAny.createReducedPlanckConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.reducedPlanckConstant=reducedPlanckConstant;var secondRadiation=(0,_factoriesAny.createSecondRadiation)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.secondRadiation=secondRadiation;var stefanBoltzmann=(0,_factoriesAny.createStefanBoltzmann)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.stefanBoltzmann=stefanBoltzmann;var vacuumImpedance=(0,_factoriesAny.createVacuumImpedance)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.vacuumImpedance=vacuumImpedance;var usolve=(0,_factoriesAny.createUsolve)({DenseMatrix:DenseMatrix,divideScalar:divideScalar,equalScalar:equalScalar,matrix:matrix,multiplyScalar:multiplyScalar,subtract:subtract,typed:typed});exports.usolve=usolve;var lusolve=(0,_factoriesAny.createLusolve)({DenseMatrix:DenseMatrix,lsolve:lsolve,lup:lup,matrix:matrix,slu:slu,typed:typed,usolve:usolve});exports.lusolve=lusolve;var eigs=(0,_factoriesAny.createEigs)({abs:abs,add:add,addScalar:addScalar,atan:atan,bignumber:bignumber,column:column,complex:complex,config:_configReadonly.config,cos:cos,diag:diag,divideScalar:divideScalar,dot:dot,equal:equal,flatten:flatten,im:im,inv:inv,larger:larger,matrix:matrix,matrixFromColumns:matrixFromColumns,multiply:multiply,multiplyScalar:multiplyScalar,number:number,qr:qr,re:re,sin:sin,smaller:smaller,sqrt:sqrt,subtract:subtract,typed:typed,usolve:usolve,usolveAll:usolveAll});exports.eigs=eigs;var mad=(0,_factoriesAny.createMad)({abs:abs,map:map,median:median,subtract:subtract,typed:typed});exports.mad=mad;var avogadro=(0,_factoriesAny.createAvogadro)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.avogadro=avogadro;var classicalElectronRadius=(0,_factoriesAny.createClassicalElectronRadius)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.classicalElectronRadius=classicalElectronRadius;var electricConstant=(0,_factoriesAny.createElectricConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.electricConstant=electricConstant;var fermiCoupling=(0,_factoriesAny.createFermiCoupling)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.fermiCoupling=fermiCoupling;var gravity=(0,_factoriesAny.createGravity)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.gravity=gravity;var loschmidt=(0,_factoriesAny.createLoschmidt)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.loschmidt=loschmidt;var molarMassC12=(0,_factoriesAny.createMolarMassC12)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarMassC12=molarMassC12;var nuclearMagneton=(0,_factoriesAny.createNuclearMagneton)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.nuclearMagneton=nuclearMagneton;var planckMass=(0,_factoriesAny.createPlanckMass)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckMass=planckMass;var quantumOfCirculation=(0,_factoriesAny.createQuantumOfCirculation)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.quantumOfCirculation=quantumOfCirculation;var speedOfLight=(0,_factoriesAny.createSpeedOfLight)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.speedOfLight=speedOfLight;var wienDisplacement=(0,_factoriesAny.createWienDisplacement)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.wienDisplacement=wienDisplacement;var unit=(0,_factoriesAny.createUnitFunction)({Unit:Unit,typed:typed});exports.unit=unit;var intersect=(0,_factoriesAny.createIntersect)({abs:abs,add:add,addScalar:addScalar,config:_configReadonly.config,divideScalar:divideScalar,equalScalar:equalScalar,flatten:flatten,matrix:matrix,multiply:multiply,multiplyScalar:multiplyScalar,smaller:smaller,subtract:subtract,typed:typed});exports.intersect=intersect;var coulomb=(0,_factoriesAny.createCoulomb)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.coulomb=coulomb;var gasConstant=(0,_factoriesAny.createGasConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.gasConstant=gasConstant;var magneticFluxQuantum=(0,_factoriesAny.createMagneticFluxQuantum)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.magneticFluxQuantum=magneticFluxQuantum;var planckConstant=(0,_factoriesAny.createPlanckConstant)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckConstant=planckConstant;var rydberg=(0,_factoriesAny.createRydberg)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.rydberg=rydberg;var norm=(0,_factoriesAny.createNorm)({abs:abs,add:add,conj:conj,ctranspose:ctranspose,eigs:eigs,equalScalar:equalScalar,larger:larger,matrix:matrix,multiply:multiply,pow:pow,smaller:smaller,sqrt:sqrt,typed:typed});exports.norm=norm;var elementaryCharge=(0,_factoriesAny.createElementaryCharge)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.elementaryCharge=elementaryCharge;var molarVolume=(0,_factoriesAny.createMolarVolume)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.molarVolume=molarVolume;var thomsonCrossSection=(0,_factoriesAny.createThomsonCrossSection)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.thomsonCrossSection=thomsonCrossSection;var rotationMatrix=(0,_factoriesAny.createRotationMatrix)({BigNumber:BigNumber,DenseMatrix:DenseMatrix,SparseMatrix:SparseMatrix,addScalar:addScalar,config:_configReadonly.config,cos:cos,matrix:matrix,multiplyScalar:multiplyScalar,norm:norm,sin:sin,typed:typed,unaryMinus:unaryMinus});exports.rotationMatrix=rotationMatrix;var bohrRadius=(0,_factoriesAny.createBohrRadius)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.bohrRadius=bohrRadius;var planckTime=(0,_factoriesAny.createPlanckTime)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.planckTime=planckTime;var rotate=(0,_factoriesAny.createRotate)({multiply:multiply,rotationMatrix:rotationMatrix,typed:typed});exports.rotate=rotate;var multinomial=(0,_factoriesAny.createMultinomial)({add:add,divide:divide,factorial:factorial,isInteger:isInteger,isPositive:isPositive,multiply:multiply,typed:typed});exports.multinomial=multinomial;var inverseConductanceQuantum=(0,_factoriesAny.createInverseConductanceQuantum)({BigNumber:BigNumber,Unit:Unit,config:_configReadonly.config});exports.inverseConductanceQuantum=inverseConductanceQuantum},{"../factoriesAny.js":654,"./configReadonly.js":42}],380:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"isAccessorNode",{enumerable:!0,get:function get(){return _is.isAccessorNode}}),Object.defineProperty(exports,"isArray",{enumerable:!0,get:function get(){return _is.isArray}}),Object.defineProperty(exports,"isArrayNode",{enumerable:!0,get:function get(){return _is.isArrayNode}}),Object.defineProperty(exports,"isAssignmentNode",{enumerable:!0,get:function get(){return _is.isAssignmentNode}}),Object.defineProperty(exports,"isBigNumber",{enumerable:!0,get:function get(){return _is.isBigNumber}}),Object.defineProperty(exports,"isBlockNode",{enumerable:!0,get:function get(){return _is.isBlockNode}}),Object.defineProperty(exports,"isBoolean",{enumerable:!0,get:function get(){return _is.isBoolean}}),Object.defineProperty(exports,"isChain",{enumerable:!0,get:function get(){return _is.isChain}}),Object.defineProperty(exports,"isCollection",{enumerable:!0,get:function get(){return _is.isCollection}}),Object.defineProperty(exports,"isComplex",{enumerable:!0,get:function get(){return _is.isComplex}}),Object.defineProperty(exports,"isConditionalNode",{enumerable:!0,get:function get(){return _is.isConditionalNode}}),Object.defineProperty(exports,"isConstantNode",{enumerable:!0,get:function get(){return _is.isConstantNode}}),Object.defineProperty(exports,"isDate",{enumerable:!0,get:function get(){return _is.isDate}}),Object.defineProperty(exports,"isDenseMatrix",{enumerable:!0,get:function get(){return _is.isDenseMatrix}}),Object.defineProperty(exports,"isFraction",{enumerable:!0,get:function get(){return _is.isFraction}}),Object.defineProperty(exports,"isFunction",{enumerable:!0,get:function get(){return _is.isFunction}}),Object.defineProperty(exports,"isFunctionAssignmentNode",{enumerable:!0,get:function get(){return _is.isFunctionAssignmentNode}}),Object.defineProperty(exports,"isFunctionNode",{enumerable:!0,get:function get(){return _is.isFunctionNode}}),Object.defineProperty(exports,"isHelp",{enumerable:!0,get:function get(){return _is.isHelp}}),Object.defineProperty(exports,"isIndex",{enumerable:!0,get:function get(){return _is.isIndex}}),Object.defineProperty(exports,"isIndexNode",{enumerable:!0,get:function get(){return _is.isIndexNode}}),Object.defineProperty(exports,"isMatrix",{enumerable:!0,get:function get(){return _is.isMatrix}}),Object.defineProperty(exports,"isNode",{enumerable:!0,get:function get(){return _is.isNode}}),Object.defineProperty(exports,"isNull",{enumerable:!0,get:function get(){return _is.isNull}}),Object.defineProperty(exports,"isNumber",{enumerable:!0,get:function get(){return _is.isNumber}}),Object.defineProperty(exports,"isString",{enumerable:!0,get:function get(){return _is.isString}}),Object.defineProperty(exports,"isUndefined",{enumerable:!0,get:function get(){return _is.isUndefined}}),Object.defineProperty(exports,"isObject",{enumerable:!0,get:function get(){return _is.isObject}}),Object.defineProperty(exports,"isObjectNode",{enumerable:!0,get:function get(){return _is.isObjectNode}}),Object.defineProperty(exports,"isOperatorNode",{enumerable:!0,get:function get(){return _is.isOperatorNode}}),Object.defineProperty(exports,"isParenthesisNode",{enumerable:!0,get:function get(){return _is.isParenthesisNode}}),Object.defineProperty(exports,"isRange",{enumerable:!0,get:function get(){return _is.isRange}}),Object.defineProperty(exports,"isRangeNode",{enumerable:!0,get:function get(){return _is.isRangeNode}}),Object.defineProperty(exports,"isRegExp",{enumerable:!0,get:function get(){return _is.isRegExp}}),Object.defineProperty(exports,"isResultSet",{enumerable:!0,get:function get(){return _is.isResultSet}}),Object.defineProperty(exports,"isSparseMatrix",{enumerable:!0,get:function get(){return _is.isSparseMatrix}}),Object.defineProperty(exports,"isSymbolNode",{enumerable:!0,get:function get(){return _is.isSymbolNode}}),Object.defineProperty(exports,"isUnit",{enumerable:!0,get:function get(){return _is.isUnit}});var _is=require("../utils/is.js")},{"../utils/is.js":943}],381:[function(require,module,exports){"use strict";function ArgumentsError(fn,count,min,max){if(!(this instanceof ArgumentsError))throw new SyntaxError("Constructor must be called with the new operator");this.fn=fn,this.count=count,this.min=min,this.max=max,this.message="Wrong number of arguments in function "+fn+" ("+count+" provided, "+min+(null!=max?"-"+max:"")+" expected)",this.stack=(new Error).stack}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArgumentsError=ArgumentsError,ArgumentsError.prototype=new Error,ArgumentsError.prototype.constructor=Error,ArgumentsError.prototype.name="ArgumentsError",ArgumentsError.prototype.isArgumentsError=!0},{}],382:[function(require,module,exports){"use strict";function DimensionError(actual,expected,relation){if(!(this instanceof DimensionError))throw new SyntaxError("Constructor must be called with the new operator");this.actual=actual,this.expected=expected,this.relation=relation,this.message="Dimension mismatch ("+(Array.isArray(actual)?"["+actual.join(", ")+"]":actual)+" "+(this.relation||"!=")+" "+(Array.isArray(expected)?"["+expected.join(", ")+"]":expected)+")",this.stack=(new Error).stack}Object.defineProperty(exports,"__esModule",{value:!0}),exports.DimensionError=DimensionError,DimensionError.prototype=new RangeError,DimensionError.prototype.constructor=RangeError,DimensionError.prototype.name="DimensionError",DimensionError.prototype.isDimensionError=!0},{}],383:[function(require,module,exports){"use strict";function IndexError(index,min,max){if(!(this instanceof IndexError))throw new SyntaxError("Constructor must be called with the new operator");this.index=index,arguments.length<3?(this.min=0,this.max=min):(this.min=min,this.max=max),void 0!==this.min&&this.index=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=(new Error).stack}Object.defineProperty(exports,"__esModule",{value:!0}),exports.IndexError=IndexError,IndexError.prototype=new RangeError,IndexError.prototype.constructor=RangeError,IndexError.prototype.name="IndexError",IndexError.prototype.isIndexError=!0},{}],384:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHelpClass=void 0;var _is=require("../utils/is.js"),_object=require("../utils/object.js"),_string=require("../utils/string.js"),dependencies=["parse"],createHelpClass=(0,require("../utils/factory.js").factory)("Help",dependencies,(function(_ref){var parse=_ref.parse;function Help(doc){if(!(this instanceof Help))throw new SyntaxError("Constructor must be called with the new operator");if(!doc)throw new Error('Argument "doc" missing');this.doc=doc}return Help.prototype.type="Help",Help.prototype.isHelp=!0,Help.prototype.toString=function(){var doc=this.doc||{},desc="\n";if(doc.name&&(desc+="Name: "+doc.name+"\n\n"),doc.category&&(desc+="Category: "+doc.category+"\n\n"),doc.description&&(desc+="Description:\n "+doc.description+"\n\n"),doc.syntax&&(desc+="Syntax:\n "+doc.syntax.join("\n ")+"\n\n"),doc.examples){desc+="Examples:\n";for(var scope={},i=0;i1, -1 when x<0, and 0 when x=0.",examples:["sign(3.5)","sign(-4.2)","sign(0)"],seealso:["abs"]}},{}],459:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtDocs=void 0;exports.sqrtDocs={name:"sqrt",category:"Arithmetic",syntax:["sqrt(x)"],description:"Compute the square root value. If x = y * y, then y is the square root of x.",examples:["sqrt(25)","5 * 5","sqrt(-1)"],seealso:["square","sqrtm","multiply","nthRoot","nthRoots","pow"]}},{}],460:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sqrtmDocs=void 0;exports.sqrtmDocs={name:"sqrtm",category:"Arithmetic",syntax:["sqrtm(x)"],description:"Calculate the principal square root of a square matrix. The principal square root matrix `X` of another matrix `A` is such that `X * X = A`.",examples:["sqrtm([[1, 2], [3, 4]])"],seealso:["sqrt","abs","square","multiply"]}},{}],461:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squareDocs=void 0;exports.squareDocs={name:"square",category:"Arithmetic",syntax:["square(x)"],description:"Compute the square of a value. The square of x is x * x.",examples:["square(3)","sqrt(9)","3^2","3 * 3"],seealso:["multiply","pow","sqrt","cube"]}},{}],462:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subtractDocs=void 0;exports.subtractDocs={name:"subtract",category:"Operators",syntax:["x - y","subtract(x, y)"],description:"subtract two values.",examples:["a = 5.3 - 2","a + 2","2/3 - 1/6","2 * 3 - 3","2.1 km - 500m"],seealso:["add"]}},{}],463:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryMinusDocs=void 0;exports.unaryMinusDocs={name:"unaryMinus",category:"Operators",syntax:["-x","unaryMinus(x)"],description:"Inverse the sign of a value. Converts booleans and strings to numbers.",examples:["-4.5","-(-5.6)",'-"22"'],seealso:["add","subtract","unaryPlus"]}},{}],464:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unaryPlusDocs=void 0;exports.unaryPlusDocs={name:"unaryPlus",category:"Operators",syntax:["+x","unaryPlus(x)"],description:"Converts booleans and strings to numbers.",examples:["+true",'+"2"'],seealso:["add","subtract","unaryMinus"]}},{}],465:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xgcdDocs=void 0;exports.xgcdDocs={name:"xgcd",category:"Arithmetic",syntax:["xgcd(a, b)"],description:"Calculate the extended greatest common divisor for two values. The result is an array [d, x, y] with 3 entries, where d is the greatest common divisor, and d = x * a + y * b.",examples:["xgcd(8, 12)","gcd(8, 12)","xgcd(36163, 21199)"],seealso:["gcd","lcm"]}},{}],466:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndDocs=void 0;exports.bitAndDocs={name:"bitAnd",category:"Bitwise",syntax:["x & y","bitAnd(x, y)"],description:"Bitwise AND operation. Performs the logical AND operation on each pair of the corresponding bits of the two given values by multiplying them. If both bits in the compared position are 1, the bit in the resulting binary representation is 1, otherwise, the result is 0",examples:["5 & 3","bitAnd(53, 131)","[1, 12, 31] & 42"],seealso:["bitNot","bitOr","bitXor","leftShift","rightArithShift","rightLogShift"]}},{}],467:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitNotDocs=void 0;exports.bitNotDocs={name:"bitNot",category:"Bitwise",syntax:["~x","bitNot(x)"],description:"Bitwise NOT operation. Performs a logical negation on each bit of the given value. Bits that are 0 become 1, and those that are 1 become 0.",examples:["~1","~2","bitNot([2, -3, 4])"],seealso:["bitAnd","bitOr","bitXor","leftShift","rightArithShift","rightLogShift"]}},{}],468:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitOrDocs=void 0;exports.bitOrDocs={name:"bitOr",category:"Bitwise",syntax:["x | y","bitOr(x, y)"],description:"Bitwise OR operation. Performs the logical inclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if the first bit is 1 or the second bit is 1 or both bits are 1, otherwise, the result is 0.",examples:["5 | 3","bitOr([1, 2, 3], 4)"],seealso:["bitAnd","bitNot","bitXor","leftShift","rightArithShift","rightLogShift"]}},{}],469:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitXorDocs=void 0;exports.bitXorDocs={name:"bitXor",category:"Bitwise",syntax:["bitXor(x, y)"],description:"Bitwise XOR operation, exclusive OR. Performs the logical exclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if only the first bit is 1 or only the second bit is 1, but will be 0 if both are 0 or both are 1.",examples:["bitOr(1, 2)","bitXor([2, 3, 4], 4)"],seealso:["bitAnd","bitNot","bitOr","leftShift","rightArithShift","rightLogShift"]}},{}],470:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.leftShiftDocs=void 0;exports.leftShiftDocs={name:"leftShift",category:"Bitwise",syntax:["x << y","leftShift(x, y)"],description:"Bitwise left logical shift of a value x by y number of bits.",examples:["4 << 1","8 >> 1"],seealso:["bitAnd","bitNot","bitOr","bitXor","rightArithShift","rightLogShift"]}},{}],471:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightArithShiftDocs=void 0;exports.rightArithShiftDocs={name:"rightArithShift",category:"Bitwise",syntax:["x >> y","rightArithShift(x, y)"],description:"Bitwise right arithmetic shift of a value x by y number of bits.",examples:["8 >> 1","4 << 1","-12 >> 2"],seealso:["bitAnd","bitNot","bitOr","bitXor","leftShift","rightLogShift"]}},{}],472:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rightLogShiftDocs=void 0;exports.rightLogShiftDocs={name:"rightLogShift",category:"Bitwise",syntax:["x >>> y","rightLogShift(x, y)"],description:"Bitwise right logical shift of a value x by y number of bits.",examples:["8 >>> 1","4 << 1","-12 >>> 2"],seealso:["bitAnd","bitNot","bitOr","bitXor","leftShift","rightArithShift"]}},{}],473:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bellNumbersDocs=void 0;exports.bellNumbersDocs={name:"bellNumbers",category:"Combinatorics",syntax:["bellNumbers(n)"],description:"The Bell Numbers count the number of partitions of a set. A partition is a pairwise disjoint subset of S whose union is S. `bellNumbers` only takes integer arguments. The following condition must be enforced: n >= 0.",examples:["bellNumbers(3)","bellNumbers(8)"],seealso:["stirlingS2"]}},{}],474:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.catalanDocs=void 0;exports.catalanDocs={name:"catalan",category:"Combinatorics",syntax:["catalan(n)"],description:"The Catalan Numbers enumerate combinatorial structures of many different types. catalan only takes integer arguments. The following condition must be enforced: n >= 0.",examples:["catalan(3)","catalan(8)"],seealso:["bellNumbers"]}},{}],475:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compositionDocs=void 0;exports.compositionDocs={name:"composition",category:"Combinatorics",syntax:["composition(n, k)"],description:"The composition counts of n into k parts. composition only takes integer arguments. The following condition must be enforced: k <= n.",examples:["composition(5, 3)"],seealso:["combinations"]}},{}],476:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stirlingS2Docs=void 0;exports.stirlingS2Docs={name:"stirlingS2",category:"Combinatorics",syntax:["stirlingS2(n, k)"],description:"he Stirling numbers of the second kind, counts the number of ways to partition a set of n labelled objects into k nonempty unlabelled subsets. `stirlingS2` only takes integer arguments. The following condition must be enforced: k <= n. If n = k or k = 1, then s(n,k) = 1.",examples:["stirlingS2(5, 3)"],seealso:["bellNumbers"]}},{}],477:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.argDocs=void 0;exports.argDocs={name:"arg",category:"Complex",syntax:["arg(x)"],description:"Compute the argument of a complex value. If x = a+bi, the argument is computed as atan2(b, a).",examples:["arg(2 + 2i)","atan2(3, 2)","arg(2 + 3i)"],seealso:["re","im","conj","abs"]}},{}],478:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.conjDocs=void 0;exports.conjDocs={name:"conj",category:"Complex",syntax:["conj(x)"],description:"Compute the complex conjugate of a complex value. If x = a+bi, the complex conjugate is a-bi.",examples:["conj(2 + 3i)","conj(2 - 3i)","conj(-5.2i)"],seealso:["re","im","abs","arg"]}},{}],479:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.imDocs=void 0;exports.imDocs={name:"im",category:"Complex",syntax:["im(x)"],description:"Get the imaginary part of a complex number.",examples:["im(2 + 3i)","re(2 + 3i)","im(-5.2i)","im(2.4)"],seealso:["re","conj","abs","arg"]}},{}],480:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reDocs=void 0;exports.reDocs={name:"re",category:"Complex",syntax:["re(x)"],description:"Get the real part of a complex number.",examples:["re(2 + 3i)","im(2 + 3i)","re(-5.2i)","re(2.4)"],seealso:["im","conj","abs","arg"]}},{}],481:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.evaluateDocs=void 0;exports.evaluateDocs={name:"evaluate",category:"Expression",syntax:["evaluate(expression)","evaluate([expr1, expr2, expr3, ...])"],description:"Evaluate an expression or an array with expressions.",examples:['evaluate("2 + 3")','evaluate("sqrt(" + 4 + ")")'],seealso:[]}},{}],482:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.helpDocs=void 0;exports.helpDocs={name:"help",category:"Expression",syntax:["help(object)","help(string)"],description:"Display documentation on a function or data type.",examples:["help(sqrt)",'help("complex")'],seealso:[]}},{}],483:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.distanceDocs=void 0;exports.distanceDocs={name:"distance",category:"Geometry",syntax:["distance([x1, y1], [x2, y2])","distance([[x1, y1], [x2, y2]])"],description:"Calculates the Euclidean distance between two points.",examples:["distance([0,0], [4,4])","distance([[0,0], [4,4]])"],seealso:[]}},{}],484:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.intersectDocs=void 0;exports.intersectDocs={name:"intersect",category:"Geometry",syntax:["intersect(expr1, expr2, expr3, expr4)","intersect(expr1, expr2, expr3)"],description:"Computes the intersection point of lines and/or planes.",examples:["intersect([0, 0], [10, 10], [10, 0], [0, 10])","intersect([1, 0, 1], [4, -2, 2], [1, 1, 1, 6])"],seealso:[]}},{}],485:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.andDocs=void 0;exports.andDocs={name:"and",category:"Logical",syntax:["x and y","and(x, y)"],description:"Logical and. Test whether two values are both defined with a nonzero/nonempty value.",examples:["true and false","true and true","2 and 4"],seealso:["not","or","xor"]}},{}],486:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.notDocs=void 0;exports.notDocs={name:"not",category:"Logical",syntax:["not x","not(x)"],description:"Logical not. Flips the boolean value of given argument.",examples:["not true","not false","not 2","not 0"],seealso:["and","or","xor"]}},{}],487:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.orDocs=void 0;exports.orDocs={name:"or",category:"Logical",syntax:["x or y","or(x, y)"],description:"Logical or. Test if at least one value is defined with a nonzero/nonempty value.",examples:["true or false","false or false","0 or 4"],seealso:["not","and","xor"]}},{}],488:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.xorDocs=void 0;exports.xorDocs={name:"xor",category:"Logical",syntax:["x xor y","xor(x, y)"],description:"Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.",examples:["true xor false","false xor false","true xor true","0 xor 4"],seealso:["not","and","or"]}},{}],489:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.columnDocs=void 0;exports.columnDocs={name:"column",category:"Matrix",syntax:["column(x, index)"],description:"Return a column from a matrix or array.",examples:["A = [[1, 2], [3, 4]]","column(A, 1)","column(A, 2)"],seealso:["row","matrixFromColumns"]}},{}],490:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.concatDocs=void 0;exports.concatDocs={name:"concat",category:"Matrix",syntax:["concat(A, B, C, ...)","concat(A, B, C, ..., dim)"],description:"Concatenate matrices. By default, the matrices are concatenated by the last dimension. The dimension on which to concatenate can be provided as last argument.",examples:["A = [1, 2; 5, 6]","B = [3, 4; 7, 8]","concat(A, B)","concat(A, B, 1)","concat(A, B, 2)"],seealso:["det","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],491:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.countDocs=void 0;exports.countDocs={name:"count",category:"Matrix",syntax:["count(x)"],description:"Count the number of elements of a matrix, array or string.",examples:["a = [1, 2; 3, 4; 5, 6]","count(a)","size(a)",'count("hello world")'],seealso:["size"]}},{}],492:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.crossDocs=void 0;exports.crossDocs={name:"cross",category:"Matrix",syntax:["cross(A, B)"],description:"Calculate the cross product for two vectors in three dimensional space.",examples:["cross([1, 1, 0], [0, 1, 1])","cross([3, -3, 1], [4, 9, 2])","cross([2, 3, 4], [5, 6, 7])"],seealso:["multiply","dot"]}},{}],493:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ctransposeDocs=void 0;exports.ctransposeDocs={name:"ctranspose",category:"Matrix",syntax:["x'","ctranspose(x)"],description:"Complex Conjugate and Transpose a matrix",examples:["a = [1, 2, 3; 4, 5, 6]","a'","ctranspose(a)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","zeros"]}},{}],494:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.detDocs=void 0;exports.detDocs={name:"det",category:"Matrix",syntax:["det(x)"],description:"Calculate the determinant of a matrix",examples:["det([1, 2; 3, 4])","det([-2, 2, 3; -1, 1, 3; 2, 0, -1])"],seealso:["concat","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],495:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diagDocs=void 0;exports.diagDocs={name:"diag",category:"Matrix",syntax:["diag(x)","diag(x, k)"],description:"Create a diagonal matrix or retrieve the diagonal of a matrix. When x is a vector, a matrix with the vector values on the diagonal will be returned. When x is a matrix, a vector with the diagonal values of the matrix is returned. When k is provided, the k-th diagonal will be filled in or retrieved, if k is positive, the values are placed on the super diagonal. When k is negative, the values are placed on the sub diagonal.",examples:["diag(1:3)","diag(1:3, 1)","a = [1, 2, 3; 4, 5, 6; 7, 8, 9]","diag(a)"],seealso:["concat","det","identity","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],496:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.diffDocs=void 0;exports.diffDocs={name:"diff",category:"Matrix",syntax:["diff(arr)","diff(arr, dim)"],description:["Create a new matrix or array with the difference of the passed matrix or array.","Dim parameter is optional and used to indicant the dimension of the array/matrix to apply the difference","If no dimension parameter is passed it is assumed as dimension 0","Dimension is zero-based in javascript and one-based in the parser","Arrays must be 'rectangular' meaning arrays like [1, 2]","If something is passed as a matrix it will be returned as a matrix but other than that all matrices are converted to arrays"],examples:["diff([1, 2, 4, 7, 0])","diff([1, 2, 4, 7, 0], 0)","diff(matrix([1, 2, 4, 7, 0]))","diff([[1, 2], [3, 4]])","diff([[1, 2], [3, 4]], 0)","diff([[1, 2], [3, 4]], 1)","diff([[1, 2], [3, 4]], bignumber(1))","diff(matrix([[1, 2], [3, 4]]), 1)","diff([[1, 2], matrix([3, 4])], 1)"],seealso:["subtract","partitionSelect"]}},{}],497:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dotDocs=void 0;exports.dotDocs={name:"dot",category:"Matrix",syntax:["dot(A, B)","A * B"],description:"Calculate the dot product of two vectors. The dot product of A = [a1, a2, a3, ..., an] and B = [b1, b2, b3, ..., bn] is defined as dot(A, B) = a1 * b1 + a2 * b2 + a3 * b3 + ... + an * bn",examples:["dot([2, 4, 1], [2, 2, 3])","[2, 4, 1] * [2, 2, 3]"],seealso:["multiply","cross"]}},{}],498:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.eigsDocs=void 0;exports.eigsDocs={name:"eigs",category:"Matrix",syntax:["eigs(x)"],description:"Calculate the eigenvalues and eigenvectors of a real symmetric matrix",examples:["eigs([[5, 2.3], [2.3, 1]])"],seealso:["inv"]}},{}],499:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterDocs=void 0;exports.filterDocs={name:"filter",category:"Matrix",syntax:["filter(x, test)"],description:"Filter items in a matrix.",examples:["isPositive(x) = x > 0","filter([6, -2, -1, 4, 3], isPositive)","filter([6, -2, 0, 1, 0], x != 0)"],seealso:["sort","map","forEach"]}},{}],500:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.flattenDocs=void 0;exports.flattenDocs={name:"flatten",category:"Matrix",syntax:["flatten(x)"],description:"Flatten a multi dimensional matrix into a single dimensional matrix.",examples:["a = [1, 2, 3; 4, 5, 6]","size(a)","b = flatten(a)","size(b)"],seealso:["concat","resize","size","squeeze"]}},{}],501:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forEachDocs=void 0;exports.forEachDocs={name:"forEach",category:"Matrix",syntax:["forEach(x, callback)"],description:"Iterates over all elements of a matrix/array, and executes the given callback function.",examples:["forEach([1, 2, 3], function(val) { console.log(val) })"],seealso:["map","sort","filter"]}},{}],502:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getMatrixDataTypeDocs=void 0;exports.getMatrixDataTypeDocs={name:"getMatrixDataType",category:"Matrix",syntax:["getMatrixDataType(x)"],description:'Find the data type of all elements in a matrix or array, for example "number" if all items are a number and "Complex" if all values are complex numbers. If a matrix contains more than one data type, it will return "mixed".',examples:["getMatrixDataType([1, 2, 3])","getMatrixDataType([[5 cm], [2 inch]])",'getMatrixDataType([1, "text"])',"getMatrixDataType([1, bignumber(4)])"],seealso:["matrix","sparse","typeOf"]}},{}],503:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.identityDocs=void 0;exports.identityDocs={name:"identity",category:"Matrix",syntax:["identity(n)","identity(m, n)","identity([m, n])"],description:"Returns the identity matrix with size m-by-n. The matrix has ones on the diagonal and zeros elsewhere.",examples:["identity(3)","identity(3, 5)","a = [1, 2, 3; 4, 5, 6]","identity(size(a))"],seealso:["concat","det","diag","inv","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],504:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.invDocs=void 0;exports.invDocs={name:"inv",category:"Matrix",syntax:["inv(x)"],description:"Calculate the inverse of a matrix",examples:["inv([1, 2; 3, 4])","inv(4)","1 / 4"],seealso:["concat","det","diag","identity","ones","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],505:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kronDocs=void 0;exports.kronDocs={name:"kron",category:"Matrix",syntax:["kron(x, y)"],description:"Calculates the kronecker product of 2 matrices or vectors.",examples:["kron([[1, 0], [0, 1]], [[1, 2], [3, 4]])","kron([1,1], [2,3,4])"],seealso:["multiply","dot","cross"]}},{}],506:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapDocs=void 0;exports.mapDocs={name:"map",category:"Matrix",syntax:["map(x, callback)"],description:"Create a new matrix or array with the results of the callback function executed on each entry of the matrix/array.",examples:["map([1, 2, 3], square)"],seealso:["filter","forEach"]}},{}],507:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromColumnsDocs=void 0;exports.matrixFromColumnsDocs={name:"matrixFromColumns",category:"Matrix",syntax:["math.matrixFromColumns(...arr)","math.matrixFromColumns(row1, row2)","math.matrixFromColumns(row1, row2, row3)"],description:"Create a dense matrix from vectors as individual columns.",examples:["matrixFromColumns([1, 2, 3], [[4],[5],[6]])"],seealso:["matrix","matrixFromRows","matrixFromFunction","zeros"]}},{}],508:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromFunctionDocs=void 0;exports.matrixFromFunctionDocs={name:"matrixFromFunction",category:"Matrix",syntax:["math.matrixFromFunction(size, fn)","math.matrixFromFunction(size, fn, format)","math.matrixFromFunction(size, fn, format, datatype)","math.matrixFromFunction(size, format, fn)","math.matrixFromFunction(size, format, datatype, fn)"],description:"Create a matrix by evaluating a generating function at each index.",examples:["f(I) = I[1] - I[2]","matrixFromFunction([3,3], f)","g(I) = I[1] - I[2] == 1 ? 4 : 0",'matrixFromFunction([100, 100], "sparse", g)',"matrixFromFunction([5], random)"],seealso:["matrix","matrixFromRows","matrixFromColumns","zeros"]}},{}],509:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matrixFromRowsDocs=void 0;exports.matrixFromRowsDocs={name:"matrixFromRows",category:"Matrix",syntax:["math.matrixFromRows(...arr)","math.matrixFromRows(row1, row2)","math.matrixFromRows(row1, row2, row3)"],description:"Create a dense matrix from vectors as individual rows.",examples:["matrixFromRows([1, 2, 3], [[4],[5],[6]])"],seealso:["matrix","matrixFromColumns","matrixFromFunction","zeros"]}},{}],510:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.onesDocs=void 0;exports.onesDocs={name:"ones",category:"Matrix",syntax:["ones(m)","ones(m, n)","ones(m, n, p, ...)","ones([m])","ones([m, n])","ones([m, n, p, ...])"],description:"Create a matrix containing ones.",examples:["ones(3)","ones(3, 5)","ones([2,3]) * 4.5","a = [1, 2, 3; 4, 5, 6]","ones(size(a))"],seealso:["concat","det","diag","identity","inv","range","size","squeeze","subset","trace","transpose","zeros"]}},{}],511:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.partitionSelectDocs=void 0;exports.partitionSelectDocs={name:"partitionSelect",category:"Matrix",syntax:["partitionSelect(x, k)","partitionSelect(x, k, compare)"],description:"Partition-based selection of an array or 1D matrix. Will find the kth smallest value, and mutates the input array. Uses Quickselect.",examples:["partitionSelect([5, 10, 1], 2)",'partitionSelect(["C", "B", "A", "D"], 1)'],seealso:["sort"]}},{}],512:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rangeDocs=void 0;exports.rangeDocs={name:"range",category:"Type",syntax:["start:end","start:step:end","range(start, end)","range(start, end, step)","range(string)"],description:"Create a range. Lower bound of the range is included, upper bound is excluded.",examples:["1:5","3:-1:-3","range(3, 7)","range(0, 12, 2)",'range("4:10")',"a = [1, 2, 3, 4; 5, 6, 7, 8]","a[1:2, 1:2]"],seealso:["concat","det","diag","identity","inv","ones","size","squeeze","subset","trace","transpose","zeros"]}},{}],513:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.reshapeDocs=void 0;exports.reshapeDocs={name:"reshape",category:"Matrix",syntax:["reshape(x, sizes)"],description:"Reshape a multi dimensional array to fit the specified dimensions.",examples:["reshape([1, 2, 3, 4, 5, 6], [2, 3])","reshape([[1, 2], [3, 4]], [1, 4])","reshape([[1, 2], [3, 4]], [4])"],seealso:["size","squeeze","resize"]}},{}],514:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resizeDocs=void 0;exports.resizeDocs={name:"resize",category:"Matrix",syntax:["resize(x, size)","resize(x, size, defaultValue)"],description:"Resize a matrix.",examples:["resize([1,2,3,4,5], [3])","resize([1,2,3], [5])","resize([1,2,3], [5], -1)","resize(2, [2, 3])",'resize("hello", [8], "!")'],seealso:["size","subset","squeeze","reshape"]}},{}],515:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotateDocs=void 0;exports.rotateDocs={name:"rotate",category:"Matrix",syntax:["rotate(w, theta)","rotate(w, theta, v)"],description:"Returns a 2-D rotation matrix (2x2) for a given angle (in radians). Returns a 2-D rotation matrix (3x3) of a given angle (in radians) around given axis.",examples:["rotate([1, 0], math.pi / 2)",'rotate(matrix([1, 0]), unit("35deg"))','rotate([1, 0, 0], unit("90deg"), [0, 0, 1])','rotate(matrix([1, 0, 0]), unit("90deg"), matrix([0, 0, 1]))'],seealso:["matrix","rotationMatrix"]}},{}],516:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rotationMatrixDocs=void 0;exports.rotationMatrixDocs={name:"rotationMatrix",category:"Matrix",syntax:["rotationMatrix(theta)","rotationMatrix(theta, v)","rotationMatrix(theta, v, format)"],description:"Returns a 2-D rotation matrix (2x2) for a given angle (in radians). Returns a 2-D rotation matrix (3x3) of a given angle (in radians) around given axis.",examples:["rotationMatrix(pi / 2)",'rotationMatrix(unit("45deg"), [0, 0, 1])','rotationMatrix(1, matrix([0, 0, 1]), "sparse")'],seealso:["cos","sin"]}},{}],517:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.rowDocs=void 0;exports.rowDocs={name:"row",category:"Matrix",syntax:["row(x, index)"],description:"Return a row from a matrix or array.",examples:["A = [[1, 2], [3, 4]]","row(A, 1)","row(A, 2)"],seealso:["column","matrixFromRows"]}},{}],518:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sizeDocs=void 0;exports.sizeDocs={name:"size",category:"Matrix",syntax:["size(x)"],description:"Calculate the size of a matrix.",examples:["size(2.3)",'size("hello world")',"a = [1, 2; 3, 4; 5, 6]","size(a)","size(1:6)"],seealso:["concat","count","det","diag","identity","inv","ones","range","squeeze","subset","trace","transpose","zeros"]}},{}],519:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sortDocs=void 0;exports.sortDocs={name:"sort",category:"Matrix",syntax:["sort(x)","sort(x, compare)"],description:'Sort the items in a matrix. Compare can be a string "asc", "desc", "natural", or a custom sort function.',examples:["sort([5, 10, 1])",'sort(["C", "B", "A", "D"])',"sortByLength(a, b) = size(a)[1] - size(b)[1]",'sort(["Langdon", "Tom", "Sara"], sortByLength)','sort(["10", "1", "2"], "natural")'],seealso:["map","filter","forEach"]}},{}],520:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.squeezeDocs=void 0;exports.squeezeDocs={name:"squeeze",category:"Matrix",syntax:["squeeze(x)"],description:"Remove inner and outer singleton dimensions from a matrix.",examples:["a = zeros(3,2,1)","size(squeeze(a))","b = zeros(1,1,3)","size(squeeze(b))"],seealso:["concat","det","diag","identity","inv","ones","range","size","subset","trace","transpose","zeros"]}},{}],521:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subsetDocs=void 0;exports.subsetDocs={name:"subset",category:"Matrix",syntax:["value(index)","value(index) = replacement","subset(value, [index])","subset(value, [index], replacement)"],description:"Get or set a subset of a matrix or string. Indexes are one-based. Both the ranges lower-bound and upper-bound are included.",examples:["d = [1, 2; 3, 4]","e = []","e[1, 1:2] = [5, 6]","e[2, :] = [7, 8]","f = d * e","f[2, 1]","f[:, 1]"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","trace","transpose","zeros"]}},{}],522:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.traceDocs=void 0;exports.traceDocs={name:"trace",category:"Matrix",syntax:["trace(A)"],description:"Calculate the trace of a matrix: the sum of the elements on the main diagonal of a square matrix.",examples:["A = [1, 2, 3; -1, 2, 3; 2, 0, 3]","trace(A)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","transpose","zeros"]}},{}],523:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.transposeDocs=void 0;exports.transposeDocs={name:"transpose",category:"Matrix",syntax:["x'","transpose(x)"],description:"Transpose a matrix",examples:["a = [1, 2, 3; 4, 5, 6]","a'","transpose(a)"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","zeros"]}},{}],524:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.zerosDocs=void 0;exports.zerosDocs={name:"zeros",category:"Matrix",syntax:["zeros(m)","zeros(m, n)","zeros(m, n, p, ...)","zeros([m])","zeros([m, n])","zeros([m, n, p, ...])"],description:"Create a matrix containing zeros.",examples:["zeros(3)","zeros(3, 5)","a = [1, 2, 3; 4, 5, 6]","zeros(size(a))"],seealso:["concat","det","diag","identity","inv","ones","range","size","squeeze","subset","trace","transpose"]}},{}],525:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsDocs=void 0;exports.combinationsDocs={name:"combinations",category:"Probability",syntax:["combinations(n, k)"],description:"Compute the number of combinations of n items taken k at a time",examples:["combinations(7, 5)"],seealso:["combinationsWithRep","permutations","factorial"]}},{}],526:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsWithRepDocs=void 0;exports.combinationsWithRepDocs={name:"combinationsWithRep",category:"Probability",syntax:["combinationsWithRep(n, k)"],description:"Compute the number of combinations of n items taken k at a time with replacements.",examples:["combinationsWithRep(7, 5)"],seealso:["combinations","permutations","factorial"]}},{}],527:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.factorialDocs=void 0;exports.factorialDocs={name:"factorial",category:"Probability",syntax:["n!","factorial(n)"],description:"Compute the factorial of a value",examples:["5!","5 * 4 * 3 * 2 * 1","3!"],seealso:["combinations","combinationsWithRep","permutations","gamma"]}},{}],528:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.gammaDocs=void 0;exports.gammaDocs={name:"gamma",category:"Probability",syntax:["gamma(n)"],description:"Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.",examples:["gamma(4)","3!","gamma(1/2)","sqrt(pi)"],seealso:["factorial"]}},{}],529:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.kldivergenceDocs=void 0;exports.kldivergenceDocs={name:"kldivergence",category:"Probability",syntax:["kldivergence(x, y)"],description:"Calculate the Kullback-Leibler (KL) divergence between two distributions.",examples:["kldivergence([0.7,0.5,0.4], [0.2,0.9,0.5])"],seealso:[]}},{}],530:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.multinomialDocs=void 0;exports.multinomialDocs={name:"multinomial",category:"Probability",syntax:["multinomial(A)"],description:"Multinomial Coefficients compute the number of ways of picking a1, a2, ..., ai unordered outcomes from `n` possibilities. multinomial takes one array of integers as an argument. The following condition must be enforced: every ai > 0.",examples:["multinomial([1, 2, 1])"],seealso:["combinations","factorial"]}},{}],531:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.permutationsDocs=void 0;exports.permutationsDocs={name:"permutations",category:"Probability",syntax:["permutations(n)","permutations(n, k)"],description:"Compute the number of permutations of n items taken k at a time",examples:["permutations(5)","permutations(5, 3)"],seealso:["combinations","combinationsWithRep","factorial"]}},{}],532:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.pickRandomDocs=void 0;exports.pickRandomDocs={name:"pickRandom",category:"Probability",syntax:["pickRandom(array)","pickRandom(array, number)","pickRandom(array, weights)","pickRandom(array, number, weights)","pickRandom(array, weights, number)"],description:"Pick a random entry from a given array.",examples:["pickRandom(0:10)","pickRandom([1, 3, 1, 6])","pickRandom([1, 3, 1, 6], 2)","pickRandom([1, 3, 1, 6], [2, 3, 2, 1])","pickRandom([1, 3, 1, 6], 2, [2, 3, 2, 1])","pickRandom([1, 3, 1, 6], [2, 3, 2, 1], 2)"],seealso:["random","randomInt"]}},{}],533:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomDocs=void 0;exports.randomDocs={name:"random",category:"Probability",syntax:["random()","random(max)","random(min, max)","random(size)","random(size, max)","random(size, min, max)"],description:"Return a random number.",examples:["random()","random(10, 20)","random([2, 3])"],seealso:["pickRandom","randomInt"]}},{}],534:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.randomIntDocs=void 0;exports.randomIntDocs={name:"randomInt",category:"Probability",syntax:["randomInt(max)","randomInt(min, max)","randomInt(size)","randomInt(size, max)","randomInt(size, min, max)"],description:"Return a random integer number",examples:["randomInt(10, 20)","randomInt([2, 3], 10)"],seealso:["pickRandom","random"]}},{}],535:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareDocs=void 0;exports.compareDocs={name:"compare",category:"Relational",syntax:["compare(x, y)"],description:"Compare two values. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:["compare(2, 3)","compare(3, 2)","compare(2, 2)","compare(5cm, 40mm)","compare(2, [1, 2, 3])"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compareNatural","compareText"]}},{}],536:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareNaturalDocs=void 0;exports.compareNaturalDocs={name:"compareNatural",category:"Relational",syntax:["compareNatural(x, y)"],description:"Compare two values of any type in a deterministic, natural way. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:["compareNatural(2, 3)","compareNatural(3, 2)","compareNatural(2, 2)","compareNatural(5cm, 40mm)",'compareNatural("2", "10")',"compareNatural(2 + 3i, 2 + 4i)","compareNatural([1, 2, 4], [1, 2, 3])","compareNatural([1, 5], [1, 2, 3])","compareNatural([1, 2], [1, 2])","compareNatural({a: 2}, {a: 4})"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compare","compareText"]}},{}],537:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareTextDocs=void 0;exports.compareTextDocs={name:"compareText",category:"Relational",syntax:["compareText(x, y)"],description:"Compare two strings lexically. Comparison is case sensitive. Returns 1 when x > y, -1 when x < y, and 0 when x == y.",examples:['compareText("B", "A")','compareText("A", "B")','compareText("A", "A")','compareText("2", "10")','compare("2", "10")',"compare(2, 10)",'compareNatural("2", "10")','compareText("B", ["A", "B", "C"])'],seealso:["compare","compareNatural"]}},{}],538:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deepEqualDocs=void 0;exports.deepEqualDocs={name:"deepEqual",category:"Relational",syntax:["deepEqual(x, y)"],description:"Check equality of two matrices element wise. Returns true if the size of both matrices is equal and when and each of the elements are equal.",examples:["deepEqual([1,3,4], [1,3,4])","deepEqual([1,3,4], [1,3])"],seealso:["equal","unequal","smaller","larger","smallerEq","largerEq","compare"]}},{}],539:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalDocs=void 0;exports.equalDocs={name:"equal",category:"Relational",syntax:["x == y","equal(x, y)"],description:"Check equality of two values. Returns true if the values are equal, and false if not.",examples:["2+2 == 3","2+2 == 4","a = 3.2","b = 6-2.8","a == b","50cm == 0.5m"],seealso:["unequal","smaller","larger","smallerEq","largerEq","compare","deepEqual","equalText"]}},{}],540:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.equalTextDocs=void 0;exports.equalTextDocs={name:"equalText",category:"Relational",syntax:["equalText(x, y)"],description:"Check equality of two strings. Comparison is case sensitive. Returns true if the values are equal, and false if not.",examples:['equalText("Hello", "Hello")','equalText("a", "A")','equal("2e3", "2000")','equalText("2e3", "2000")','equalText("B", ["A", "B", "C"])'],seealso:["compare","compareNatural","compareText","equal"]}},{}],541:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerDocs=void 0;exports.largerDocs={name:"larger",category:"Relational",syntax:["x > y","larger(x, y)"],description:"Check if value x is larger than y. Returns true if x is larger than y, and false if not.",examples:["2 > 3","5 > 2*2","a = 3.3","b = 6-2.8","(a > b)","(b < a)","5 cm > 2 inch"],seealso:["equal","unequal","smaller","smallerEq","largerEq","compare"]}},{}],542:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.largerEqDocs=void 0;exports.largerEqDocs={name:"largerEq",category:"Relational",syntax:["x >= y","largerEq(x, y)"],description:"Check if value x is larger or equal to y. Returns true if x is larger or equal to y, and false if not.",examples:["2 >= 1+1","2 > 1+1","a = 3.2","b = 6-2.8","(a >= b)"],seealso:["equal","unequal","smallerEq","smaller","compare"]}},{}],543:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerDocs=void 0;exports.smallerDocs={name:"smaller",category:"Relational",syntax:["x < y","smaller(x, y)"],description:"Check if value x is smaller than value y. Returns true if x is smaller than y, and false if not.",examples:["2 < 3","5 < 2*2","a = 3.3","b = 6-2.8","(a < b)","5 cm < 2 inch"],seealso:["equal","unequal","larger","smallerEq","largerEq","compare"]}},{}],544:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.smallerEqDocs=void 0;exports.smallerEqDocs={name:"smallerEq",category:"Relational",syntax:["x <= y","smallerEq(x, y)"],description:"Check if value x is smaller or equal to value y. Returns true if x is smaller than y, and false if not.",examples:["2 <= 1+1","2 < 1+1","a = 3.2","b = 6-2.8","(a <= b)"],seealso:["equal","unequal","larger","smaller","largerEq","compare"]}},{}],545:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unequalDocs=void 0;exports.unequalDocs={name:"unequal",category:"Relational",syntax:["x != y","unequal(x, y)"],description:"Check unequality of two values. Returns true if the values are unequal, and false if they are equal.",examples:["2+2 != 3","2+2 != 4","a = 3.2","b = 6-2.8","a != b","50cm != 0.5m","5 cm != 2 inch"],seealso:["equal","smaller","larger","smallerEq","largerEq","compare","deepEqual"]}},{}],546:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setCartesianDocs=void 0;exports.setCartesianDocs={name:"setCartesian",category:"Set",syntax:["setCartesian(set1, set2)"],description:"Create the cartesian product of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setCartesian([1, 2], [3, 4])"],seealso:["setUnion","setIntersect","setDifference","setPowerset"]}},{}],547:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDifferenceDocs=void 0;exports.setDifferenceDocs={name:"setDifference",category:"Set",syntax:["setDifference(set1, set2)"],description:"Create the difference of two (multi)sets: every element of set1, that is not the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setDifference([1, 2, 3, 4], [3, 4, 5, 6])","setDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setIntersect","setSymDifference"]}},{}],548:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setDistinctDocs=void 0;exports.setDistinctDocs={name:"setDistinct",category:"Set",syntax:["setDistinct(set)"],description:"Collect the distinct elements of a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setDistinct([1, 1, 1, 2, 2, 3])"],seealso:["setMultiplicity"]}},{}],549:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIntersectDocs=void 0;exports.setIntersectDocs={name:"setIntersect",category:"Set",syntax:["setIntersect(set1, set2)"],description:"Create the intersection of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setIntersect([1, 2, 3, 4], [3, 4, 5, 6])","setIntersect([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setDifference"]}},{}],550:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setIsSubsetDocs=void 0;exports.setIsSubsetDocs={name:"setIsSubset",category:"Set",syntax:["setIsSubset(set1, set2)"],description:"Check whether a (multi)set is a subset of another (multi)set: every element of set1 is the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setIsSubset([1, 2], [3, 4, 5, 6])","setIsSubset([3, 4], [3, 4, 5, 6])"],seealso:["setUnion","setIntersect","setDifference"]}},{}],551:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setMultiplicityDocs=void 0;exports.setMultiplicityDocs={name:"setMultiplicity",category:"Set",syntax:["setMultiplicity(element, set)"],description:"Count the multiplicity of an element in a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setMultiplicity(1, [1, 2, 2, 4])","setMultiplicity(2, [1, 2, 2, 4])"],seealso:["setDistinct","setSize"]}},{}],552:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPowersetDocs=void 0;exports.setPowersetDocs={name:"setPowerset",category:"Set",syntax:["setPowerset(set)"],description:"Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.",examples:["setPowerset([1, 2, 3])"],seealso:["setCartesian"]}},{}],553:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSizeDocs=void 0;exports.setSizeDocs={name:"setSize",category:"Set",syntax:["setSize(set)","setSize(set, unique)"],description:'Count the number of elements of a (multi)set. When the second parameter "unique" is true, count only the unique values. A multi-dimension array will be converted to a single-dimension array before the operation.',examples:["setSize([1, 2, 2, 4])","setSize([1, 2, 2, 4], true)"],seealso:["setUnion","setIntersect","setDifference"]}},{}],554:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setSymDifferenceDocs=void 0;exports.setSymDifferenceDocs={name:"setSymDifference",category:"Set",syntax:["setSymDifference(set1, set2)"],description:"Create the symmetric difference of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setSymDifference([1, 2, 3, 4], [3, 4, 5, 6])","setSymDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setUnion","setIntersect","setDifference"]}},{}],555:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setUnionDocs=void 0;exports.setUnionDocs={name:"setUnion",category:"Set",syntax:["setUnion(set1, set2)"],description:"Create the union of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.",examples:["setUnion([1, 2, 3, 4], [3, 4, 5, 6])","setUnion([[1, 2], [3, 4]], [[3, 4], [5, 6]])"],seealso:["setIntersect","setDifference"]}},{}],556:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.erfDocs=void 0;exports.erfDocs={name:"erf",category:"Special",syntax:["erf(x)"],description:"Compute the erf function of a value using a rational Chebyshev approximations for different intervals of x",examples:["erf(0.2)","erf(-0.5)","erf(4)"],seealso:[]}},{}],557:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.madDocs=void 0;exports.madDocs={name:"mad",category:"Statistics",syntax:["mad(a, b, c, ...)","mad(A)"],description:"Compute the median absolute deviation of a matrix or a list with values. The median absolute deviation is defined as the median of the absolute deviations from the median.",examples:["mad(10, 20, 30)","mad([1, 2, 3])"],seealso:["mean","median","std","abs"]}},{}],558:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.maxDocs=void 0;exports.maxDocs={name:"max",category:"Statistics",syntax:["max(a, b, c, ...)","max(A)","max(A, dim)"],description:"Compute the maximum value of a list of values.",examples:["max(2, 3, 4, 1)","max([2, 3, 4, 1])","max([2, 5; 4, 3])","max([2, 5; 4, 3], 1)","max([2, 5; 4, 3], 2)","max(2.7, 7.1, -4.5, 2.0, 4.1)","min(2.7, 7.1, -4.5, 2.0, 4.1)"],seealso:["mean","median","min","prod","std","sum","variance"]}},{}],559:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.meanDocs=void 0;exports.meanDocs={name:"mean",category:"Statistics",syntax:["mean(a, b, c, ...)","mean(A)","mean(A, dim)"],description:"Compute the arithmetic mean of a list of values.",examples:["mean(2, 3, 4, 1)","mean([2, 3, 4, 1])","mean([2, 5; 4, 3])","mean([2, 5; 4, 3], 1)","mean([2, 5; 4, 3], 2)","mean([1.0, 2.7, 3.2, 4.0])"],seealso:["max","median","min","prod","std","sum","variance"]}},{}],560:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.medianDocs=void 0;exports.medianDocs={name:"median",category:"Statistics",syntax:["median(a, b, c, ...)","median(A)"],description:"Compute the median of all values. The values are sorted and the middle value is returned. In case of an even number of values, the average of the two middle values is returned.",examples:["median(5, 2, 7)","median([3, -1, 5, 7])"],seealso:["max","mean","min","prod","std","sum","variance","quantileSeq"]}},{}],561:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.minDocs=void 0;exports.minDocs={name:"min",category:"Statistics",syntax:["min(a, b, c, ...)","min(A)","min(A, dim)"],description:"Compute the minimum value of a list of values.",examples:["min(2, 3, 4, 1)","min([2, 3, 4, 1])","min([2, 5; 4, 3])","min([2, 5; 4, 3], 1)","min([2, 5; 4, 3], 2)","min(2.7, 7.1, -4.5, 2.0, 4.1)","max(2.7, 7.1, -4.5, 2.0, 4.1)"],seealso:["max","mean","median","prod","std","sum","variance"]}},{}],562:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modeDocs=void 0;exports.modeDocs={name:"mode",category:"Statistics",syntax:["mode(a, b, c, ...)","mode(A)","mode(A, a, b, B, c, ...)"],description:"Computes the mode of all values as an array. In case mode being more than one, multiple values are returned in an array.",examples:["mode(2, 1, 4, 3, 1)","mode([1, 2.7, 3.2, 4, 2.7])","mode(1, 4, 6, 1, 6)"],seealso:["max","mean","min","median","prod","std","sum","variance"]}},{}],563:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prodDocs=void 0;exports.prodDocs={name:"prod",category:"Statistics",syntax:["prod(a, b, c, ...)","prod(A)"],description:"Compute the product of all values.",examples:["prod(2, 3, 4)","prod([2, 3, 4])","prod([2, 5; 4, 3])"],seealso:["max","mean","min","median","min","std","sum","variance"]}},{}],564:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.quantileSeqDocs=void 0;exports.quantileSeqDocs={name:"quantileSeq",category:"Statistics",syntax:["quantileSeq(A, prob[, sorted])","quantileSeq(A, [prob1, prob2, ...][, sorted])","quantileSeq(A, N[, sorted])"],description:"Compute the prob order quantile of a matrix or a list with values. The sequence is sorted and the middle value is returned. Supported types of sequence values are: Number, BigNumber, Unit Supported types of probablity are: Number, BigNumber. \n\nIn case of a (multi dimensional) array or matrix, the prob order quantile of all elements will be calculated.",examples:["quantileSeq([3, -1, 5, 7], 0.5)","quantileSeq([3, -1, 5, 7], [1/3, 2/3])","quantileSeq([3, -1, 5, 7], 2)","quantileSeq([-1, 3, 5, 7], 0.5, true)"],seealso:["mean","median","min","max","prod","std","sum","variance"]}},{}],565:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stdDocs=void 0;exports.stdDocs={name:"std",category:"Statistics",syntax:["std(a, b, c, ...)","std(A)","std(A, normalization)"],description:'Compute the standard deviation of all values, defined as std(A) = sqrt(variance(A)). Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',examples:["std(2, 4, 6)","std([2, 4, 6, 8])",'std([2, 4, 6, 8], "uncorrected")','std([2, 4, 6, 8], "biased")',"std([1, 2, 3; 4, 5, 6])"],seealso:["max","mean","min","median","prod","sum","variance"]}},{}],566:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sumDocs=void 0;exports.sumDocs={name:"sum",category:"Statistics",syntax:["sum(a, b, c, ...)","sum(A)"],description:"Compute the sum of all values.",examples:["sum(2, 3, 4, 1)","sum([2, 3, 4, 1])","sum([2, 5; 4, 3])"],seealso:["max","mean","median","min","prod","std","sum","variance"]}},{}],567:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.varianceDocs=void 0;exports.varianceDocs={name:"variance",category:"Statistics",syntax:["variance(a, b, c, ...)","variance(A)","variance(A, normalization)"],description:'Compute the variance of all values. Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',examples:["variance(2, 4, 6)","variance([2, 4, 6, 8])",'variance([2, 4, 6, 8], "uncorrected")','variance([2, 4, 6, 8], "biased")',"variance([1, 2, 3; 4, 5, 6])"],seealso:["max","mean","min","median","min","prod","std","sum"]}},{}],568:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acosDocs=void 0;exports.acosDocs={name:"acos",category:"Trigonometry",syntax:["acos(x)"],description:"Compute the inverse cosine of a value in radians.",examples:["acos(0.5)","acos(cos(2.3))"],seealso:["cos","atan","asin"]}},{}],569:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acoshDocs=void 0;exports.acoshDocs={name:"acosh",category:"Trigonometry",syntax:["acosh(x)"],description:"Calculate the hyperbolic arccos of a value, defined as `acosh(x) = ln(sqrt(x^2 - 1) + x)`.",examples:["acosh(1.5)"],seealso:["cosh","asinh","atanh"]}},{}],570:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acotDocs=void 0;exports.acotDocs={name:"acot",category:"Trigonometry",syntax:["acot(x)"],description:"Calculate the inverse cotangent of a value.",examples:["acot(0.5)","acot(cot(0.5))","acot(2)"],seealso:["cot","atan"]}},{}],571:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acothDocs=void 0;exports.acothDocs={name:"acoth",category:"Trigonometry",syntax:["acoth(x)"],description:"Calculate the hyperbolic arccotangent of a value, defined as `acoth(x) = (ln((x+1)/x) + ln(x/(x-1))) / 2`.",examples:["acoth(2)","acoth(0.5)"],seealso:["acsch","asech"]}},{}],572:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acscDocs=void 0;exports.acscDocs={name:"acsc",category:"Trigonometry",syntax:["acsc(x)"],description:"Calculate the inverse cotangent of a value.",examples:["acsc(2)","acsc(csc(0.5))","acsc(0.5)"],seealso:["csc","asin","asec"]}},{}],573:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.acschDocs=void 0;exports.acschDocs={name:"acsch",category:"Trigonometry",syntax:["acsch(x)"],description:"Calculate the hyperbolic arccosecant of a value, defined as `acsch(x) = ln(1/x + sqrt(1/x^2 + 1))`.",examples:["acsch(0.5)"],seealso:["asech","acoth"]}},{}],574:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asecDocs=void 0;exports.asecDocs={name:"asec",category:"Trigonometry",syntax:["asec(x)"],description:"Calculate the inverse secant of a value.",examples:["asec(0.5)","asec(sec(0.5))","asec(2)"],seealso:["acos","acot","acsc"]}},{}],575:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asechDocs=void 0;exports.asechDocs={name:"asech",category:"Trigonometry",syntax:["asech(x)"],description:"Calculate the inverse secant of a value.",examples:["asech(0.5)"],seealso:["acsch","acoth"]}},{}],576:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinDocs=void 0;exports.asinDocs={name:"asin",category:"Trigonometry",syntax:["asin(x)"],description:"Compute the inverse sine of a value in radians.",examples:["asin(0.5)","asin(sin(0.5))"],seealso:["sin","acos","atan"]}},{}],577:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.asinhDocs=void 0;exports.asinhDocs={name:"asinh",category:"Trigonometry",syntax:["asinh(x)"],description:"Calculate the hyperbolic arcsine of a value, defined as `asinh(x) = ln(x + sqrt(x^2 + 1))`.",examples:["asinh(0.5)"],seealso:["acosh","atanh"]}},{}],578:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanDocs=void 0;exports.atanDocs={name:"atan",category:"Trigonometry",syntax:["atan(x)"],description:"Compute the inverse tangent of a value in radians.",examples:["atan(0.5)","atan(tan(0.5))"],seealso:["tan","acos","asin"]}},{}],579:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atan2Docs=void 0;exports.atan2Docs={name:"atan2",category:"Trigonometry",syntax:["atan2(y, x)"],description:"Computes the principal value of the arc tangent of y/x in radians.",examples:["atan2(2, 2) / pi","angle = 60 deg in rad","x = cos(angle)","y = sin(angle)","atan2(y, x)"],seealso:["sin","cos","tan"]}},{}],580:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.atanhDocs=void 0;exports.atanhDocs={name:"atanh",category:"Trigonometry",syntax:["atanh(x)"],description:"Calculate the hyperbolic arctangent of a value, defined as `atanh(x) = ln((1 + x)/(1 - x)) / 2`.",examples:["atanh(0.5)"],seealso:["acosh","asinh"]}},{}],581:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cosDocs=void 0;exports.cosDocs={name:"cos",category:"Trigonometry",syntax:["cos(x)"],description:"Compute the cosine of x in radians.",examples:["cos(2)","cos(pi / 4) ^ 2","cos(180 deg)","cos(60 deg)","sin(0.2)^2 + cos(0.2)^2"],seealso:["acos","sin","tan"]}},{}],582:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.coshDocs=void 0;exports.coshDocs={name:"cosh",category:"Trigonometry",syntax:["cosh(x)"],description:"Compute the hyperbolic cosine of x in radians.",examples:["cosh(0.5)"],seealso:["sinh","tanh","coth"]}},{}],583:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cotDocs=void 0;exports.cotDocs={name:"cot",category:"Trigonometry",syntax:["cot(x)"],description:"Compute the cotangent of x in radians. Defined as 1/tan(x)",examples:["cot(2)","1 / tan(2)"],seealso:["sec","csc","tan"]}},{}],584:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cothDocs=void 0;exports.cothDocs={name:"coth",category:"Trigonometry",syntax:["coth(x)"],description:"Compute the hyperbolic cotangent of x in radians.",examples:["coth(2)","1 / tanh(2)"],seealso:["sech","csch","tanh"]}},{}],585:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cscDocs=void 0;exports.cscDocs={name:"csc",category:"Trigonometry",syntax:["csc(x)"],description:"Compute the cosecant of x in radians. Defined as 1/sin(x)",examples:["csc(2)","1 / sin(2)"],seealso:["sec","cot","sin"]}},{}],586:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cschDocs=void 0;exports.cschDocs={name:"csch",category:"Trigonometry",syntax:["csch(x)"],description:"Compute the hyperbolic cosecant of x in radians. Defined as 1/sinh(x)",examples:["csch(2)","1 / sinh(2)"],seealso:["sech","coth","sinh"]}},{}],587:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.secDocs=void 0;exports.secDocs={name:"sec",category:"Trigonometry",syntax:["sec(x)"],description:"Compute the secant of x in radians. Defined as 1/cos(x)",examples:["sec(2)","1 / cos(2)"],seealso:["cot","csc","cos"]}},{}],588:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sechDocs=void 0;exports.sechDocs={name:"sech",category:"Trigonometry",syntax:["sech(x)"],description:"Compute the hyperbolic secant of x in radians. Defined as 1/cosh(x)",examples:["sech(2)","1 / cosh(2)"],seealso:["coth","csch","cosh"]}},{}],589:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinDocs=void 0;exports.sinDocs={name:"sin",category:"Trigonometry",syntax:["sin(x)"],description:"Compute the sine of x in radians.",examples:["sin(2)","sin(pi / 4) ^ 2","sin(90 deg)","sin(30 deg)","sin(0.2)^2 + cos(0.2)^2"],seealso:["asin","cos","tan"]}},{}],590:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.sinhDocs=void 0;exports.sinhDocs={name:"sinh",category:"Trigonometry",syntax:["sinh(x)"],description:"Compute the hyperbolic sine of x in radians.",examples:["sinh(0.5)"],seealso:["cosh","tanh"]}},{}],591:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanDocs=void 0;exports.tanDocs={name:"tan",category:"Trigonometry",syntax:["tan(x)"],description:"Compute the tangent of x in radians.",examples:["tan(0.5)","sin(0.5) / cos(0.5)","tan(pi / 4)","tan(45 deg)"],seealso:["atan","sin","cos"]}},{}],592:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tanhDocs=void 0;exports.tanhDocs={name:"tanh",category:"Trigonometry",syntax:["tanh(x)"],description:"Compute the hyperbolic tangent of x in radians.",examples:["tanh(0.5)","sinh(0.5) / cosh(0.5)"],seealso:["sinh","cosh"]}},{}],593:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toDocs=void 0;exports.toDocs={name:"to",category:"Units",syntax:["x to unit","to(x, unit)"],description:"Change the unit of a value.",examples:["5 inch to cm","3.2kg to g","16 bytes in bits"],seealso:[]}},{}],594:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.binDocs=void 0;exports.binDocs={name:"bin",category:"Utils",syntax:["bin(value)"],description:"Format a number as binary",examples:["bin(2)"],seealso:["oct","hex"]}},{}],595:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cloneDocs=void 0;exports.cloneDocs={name:"clone",category:"Utils",syntax:["clone(x)"],description:"Clone a variable. Creates a copy of primitive variables,and a deep copy of matrices",examples:["clone(3.5)","clone(2 - 4i)","clone(45 deg)","clone([1, 2; 3, 4])",'clone("hello world")'],seealso:[]}},{}],596:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatDocs=void 0;exports.formatDocs={name:"format",category:"Utils",syntax:["format(value)","format(value, precision)"],description:"Format a value of any type as string.",examples:["format(2.3)","format(3 - 4i)","format([])","format(pi, 3)"],seealso:["print"]}},{}],597:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hasNumericValueDocs=void 0;exports.hasNumericValueDocs={name:"hasNumericValue",category:"Utils",syntax:["hasNumericValue(x)"],description:"Test whether a value is an numeric value. In case of a string, true is returned if the string contains a numeric value.",examples:["hasNumericValue(2)",'hasNumericValue("2")','isNumeric("2")',"hasNumericValue(0)","hasNumericValue(bignumber(500))","hasNumericValue(fraction(0.125))","hasNumericValue(2 + 3i)",'hasNumericValue([2.3, "foo", false])'],seealso:["isInteger","isZero","isNegative","isPositive","isNaN","isNumeric"]}},{}],598:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hexDocs=void 0;exports.hexDocs={name:"hex",category:"Utils",syntax:["hex(value)"],description:"Format a number as hexadecimal",examples:["hex(240)"],seealso:["bin","oct"]}},{}],599:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIntegerDocs=void 0;exports.isIntegerDocs={name:"isInteger",category:"Utils",syntax:["isInteger(x)"],description:"Test whether a value is an integer number.",examples:["isInteger(2)","isInteger(3.5)","isInteger([3, 0.5, -2])"],seealso:["isNegative","isNumeric","isPositive","isZero"]}},{}],600:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNaNDocs=void 0;exports.isNaNDocs={name:"isNaN",category:"Utils",syntax:["isNaN(x)"],description:"Test whether a value is NaN (not a number)",examples:["isNaN(2)","isNaN(0 / 0)","isNaN(NaN)","isNaN(Infinity)"],seealso:["isNegative","isNumeric","isPositive","isZero"]}},{}],601:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNegativeDocs=void 0;exports.isNegativeDocs={name:"isNegative",category:"Utils",syntax:["isNegative(x)"],description:"Test whether a value is negative: smaller than zero.",examples:["isNegative(2)","isNegative(0)","isNegative(-4)","isNegative([3, 0.5, -2])"],seealso:["isInteger","isNumeric","isPositive","isZero"]}},{}],602:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNumericDocs=void 0;exports.isNumericDocs={name:"isNumeric",category:"Utils",syntax:["isNumeric(x)"],description:"Test whether a value is a numeric value. Returns true when the input is a number, BigNumber, Fraction, or boolean.",examples:["isNumeric(2)",'isNumeric("2")','hasNumericValue("2")',"isNumeric(0)","isNumeric(bignumber(500))","isNumeric(fraction(0.125))","isNumeric(2 + 3i)",'isNumeric([2.3, "foo", false])'],seealso:["isInteger","isZero","isNegative","isPositive","isNaN","hasNumericValue"]}},{}],603:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPositiveDocs=void 0;exports.isPositiveDocs={name:"isPositive",category:"Utils",syntax:["isPositive(x)"],description:"Test whether a value is positive: larger than zero.",examples:["isPositive(2)","isPositive(0)","isPositive(-4)","isPositive([3, 0.5, -2])"],seealso:["isInteger","isNumeric","isNegative","isZero"]}},{}],604:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPrimeDocs=void 0;exports.isPrimeDocs={name:"isPrime",category:"Utils",syntax:["isPrime(x)"],description:"Test whether a value is prime: has no divisors other than itself and one.",examples:["isPrime(3)","isPrime(-2)","isPrime([2, 17, 100])"],seealso:["isInteger","isNumeric","isNegative","isZero"]}},{}],605:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isZeroDocs=void 0;exports.isZeroDocs={name:"isZero",category:"Utils",syntax:["isZero(x)"],description:"Test whether a value is zero.",examples:["isZero(2)","isZero(0)","isZero(-4)","isZero([3, 0, -2, 0])"],seealso:["isInteger","isNumeric","isNegative","isPositive"]}},{}],606:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.numericDocs=void 0;exports.numericDocs={name:"numeric",category:"Utils",syntax:["numeric(x)"],description:"Convert a numeric input to a specific numeric type: number, BigNumber, or Fraction.",examples:['numeric("4")','numeric("4", "number")','numeric("4", "BigNumber")','numeric("4", "Fraction)','numeric(4, "Fraction")','numeric(fraction(2, 5), "number)'],seealso:["number","fraction","bignumber","string","format"]}},{}],607:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.octDocs=void 0;exports.octDocs={name:"oct",category:"Utils",syntax:["oct(value)"],description:"Format a number as octal",examples:["oct(56)"],seealso:["bin","hex"]}},{}],608:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typeOfDocs=void 0;exports.typeOfDocs={name:"typeOf",category:"Utils",syntax:["typeOf(x)"],description:"Get the type of a variable.",examples:["typeOf(3.5)","typeOf(2 - 4i)","typeOf(45 deg)",'typeOf("hello world")'],seealso:["getMatrixDataType"]}},{}],609:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCompile=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","parse"],createCompile=(0,_factory.factory)("compile",dependencies,(function(_ref){var typed=_ref.typed,parse=_ref.parse;return typed("compile",{string:function string(expr){return parse(expr).compile()},"Array | Matrix":function ArrayMatrix(expr){return(0,_collection.deepMap)(expr,(function(entry){return parse(entry).compile()}))}})}));exports.createCompile=createCompile},{"../../utils/collection.js":937,"../../utils/factory.js":941}],610:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEvaluate=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_map=require("../../utils/map.js"),dependencies=["typed","parse"],createEvaluate=(0,_factory.factory)("evaluate",dependencies,(function(_ref){var typed=_ref.typed,parse=_ref.parse;return typed("evaluate",{string:function string(expr){var scope=(0,_map.createEmptyMap)();return parse(expr).compile().evaluate(scope)},"string, Map | Object":function stringMapObject(expr,scope){return parse(expr).compile().evaluate(scope)},"Array | Matrix":function ArrayMatrix(expr){var scope=(0,_map.createEmptyMap)();return(0,_collection.deepMap)(expr,(function(entry){return parse(entry).compile().evaluate(scope)}))},"Array | Matrix, Map | Object":function ArrayMatrixMapObject(expr,scope){return(0,_collection.deepMap)(expr,(function(entry){return parse(entry).compile().evaluate(scope)}))}})}));exports.createEvaluate=createEvaluate},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/map.js":946}],611:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHelp=void 0;var _factory=require("../../utils/factory.js"),_customs=require("../../utils/customs.js"),_embeddedDocs=require("../embeddedDocs/embeddedDocs.js"),_object=require("../../utils/object.js"),dependencies=["typed","mathWithTransform","Help"],createHelp=(0,_factory.factory)("help",dependencies,(function(_ref){var typed=_ref.typed,mathWithTransform=_ref.mathWithTransform,Help=_ref.Help;return typed("help",{any:function any(search){var prop,searchName=search;if("string"!=typeof search)for(prop in mathWithTransform)if((0,_object.hasOwnProperty)(mathWithTransform,prop)&&search===mathWithTransform[prop]){searchName=prop;break}var doc=(0,_customs.getSafeProperty)(_embeddedDocs.embeddedDocs,searchName);if(!doc){var searchText="function"==typeof searchName?searchName.name:searchName;throw new Error('No documentation found on "'+searchText+'"')}return new Help(doc)}})}));exports.createHelp=createHelp},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/object.js":949,"../embeddedDocs/embeddedDocs.js":418}],612:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createParser=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","Parser"],createParser=(0,_factory.factory)("parser",dependencies,(function(_ref){var typed=_ref.typed,Parser=_ref.Parser;return typed("parser",{"":function _(){return new Parser}})}));exports.createParser=createParser},{"../../utils/factory.js":941}],613:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.keywords=void 0;var keywords=new Set(["end"]);exports.keywords=keywords},{}],614:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAccessorNode=void 0;var _is=require("../../utils/is.js"),_customs=require("../../utils/customs.js"),_factory=require("../../utils/factory.js"),_access=require("./utils/access.js"),dependencies=["subset","Node"],createAccessorNode=(0,_factory.factory)("AccessorNode",dependencies,(function(_ref){var subset=_ref.subset,Node=_ref.Node,access=(0,_access.accessFactory)({subset:subset});function AccessorNode(object,index){if(!(this instanceof AccessorNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(object))throw new TypeError('Node expected for parameter "object"');if(!(0,_is.isIndexNode)(index))throw new TypeError('IndexNode expected for parameter "index"');this.object=object||null,this.index=index,Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function set(){throw new Error("Cannot assign a new name, name is read-only")}})}function needParenthesis(node){return!((0,_is.isAccessorNode)(node)||(0,_is.isArrayNode)(node)||(0,_is.isConstantNode)(node)||(0,_is.isFunctionNode)(node)||(0,_is.isObjectNode)(node)||(0,_is.isParenthesisNode)(node)||(0,_is.isSymbolNode)(node))}return AccessorNode.prototype=new Node,AccessorNode.prototype.type="AccessorNode",AccessorNode.prototype.isAccessorNode=!0,AccessorNode.prototype._compile=function(math,argNames){var evalObject=this.object._compile(math,argNames),evalIndex=this.index._compile(math,argNames);if(this.index.isObjectProperty()){var prop=this.index.getObjectProperty();return function evalAccessorNode(scope,args,context){return(0,_customs.getSafeProperty)(evalObject(scope,args,context),prop)}}return function evalAccessorNode(scope,args,context){var object=evalObject(scope,args,context),index=evalIndex(scope,args,object);return access(object,index)}},AccessorNode.prototype.forEach=function(callback){callback(this.object,"object",this),callback(this.index,"index",this)},AccessorNode.prototype.map=function(callback){return new AccessorNode(this._ifNode(callback(this.object,"object",this)),this._ifNode(callback(this.index,"index",this)))},AccessorNode.prototype.clone=function(){return new AccessorNode(this.object,this.index)},AccessorNode.prototype._toString=function(options){var object=this.object.toString(options);return needParenthesis(this.object)&&(object="("+object+")"),object+this.index.toString(options)},AccessorNode.prototype.toHTML=function(options){var object=this.object.toHTML(options);return needParenthesis(this.object)&&(object='('+object+')'),object+this.index.toHTML(options)},AccessorNode.prototype._toTex=function(options){var object=this.object.toTex(options);return needParenthesis(this.object)&&(object="\\left(' + object + '\\right)"),object+this.index.toTex(options)},AccessorNode.prototype.toJSON=function(){return{mathjs:"AccessorNode",object:this.object,index:this.index}},AccessorNode.fromJSON=function(json){return new AccessorNode(json.object,json.index)},AccessorNode}),{isClass:!0,isNode:!0});exports.createAccessorNode=createAccessorNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/access.js":630}],615:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createArrayNode=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),dependencies=["Node"],createArrayNode=(0,require("../../utils/factory.js").factory)("ArrayNode",dependencies,(function(_ref){var Node=_ref.Node;function ArrayNode(items){if(!(this instanceof ArrayNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.items=items||[],!Array.isArray(this.items)||!this.items.every(_is.isNode))throw new TypeError("Array containing Nodes expected")}return ArrayNode.prototype=new Node,ArrayNode.prototype.type="ArrayNode",ArrayNode.prototype.isArrayNode=!0,ArrayNode.prototype._compile=function(math,argNames){var evalItems=(0,_array.map)(this.items,(function(item){return item._compile(math,argNames)}));if("Array"!==math.config.matrix){var matrix=math.matrix;return function evalArrayNode(scope,args,context){return matrix((0,_array.map)(evalItems,(function(evalItem){return evalItem(scope,args,context)})))}}return function evalArrayNode(scope,args,context){return(0,_array.map)(evalItems,(function(evalItem){return evalItem(scope,args,context)}))}},ArrayNode.prototype.forEach=function(callback){for(var i=0;i['+this.items.map((function(node){return node.toHTML(options)})).join(',')+']'},ArrayNode.prototype._toTex=function(options){return function itemsToTex(items,nested){var mixedItems=items.some(_is.isArrayNode)&&!items.every(_is.isArrayNode),itemsFormRow=nested||mixedItems,itemSep=itemsFormRow?"&":"\\\\",itemsTex=items.map((function(node){return node.items?itemsToTex(node.items,!nested):node.toTex(options)})).join(itemSep);return mixedItems||!itemsFormRow||itemsFormRow&&!nested?"\\begin{bmatrix}"+itemsTex+"\\end{bmatrix}":itemsTex}(this.items,!1)},ArrayNode}),{isClass:!0,isNode:!0});exports.createArrayNode=createArrayNode},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943}],616:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAssignmentNode=void 0;var _is=require("../../utils/is.js"),_customs=require("../../utils/customs.js"),_factory=require("../../utils/factory.js"),_access=require("./utils/access.js"),_assign=require("./utils/assign.js"),_operators=require("../operators.js"),dependencies=["subset","?matrix","Node"],createAssignmentNode=(0,_factory.factory)("AssignmentNode",dependencies,(function(_ref){var subset=_ref.subset,matrix=_ref.matrix,Node=_ref.Node,access=(0,_access.accessFactory)({subset:subset}),assign=(0,_assign.assignFactory)({subset:subset,matrix:matrix});function AssignmentNode(object,index,value){if(!(this instanceof AssignmentNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.object=object,this.index=value?index:null,this.value=value||index,!(0,_is.isSymbolNode)(object)&&!(0,_is.isAccessorNode)(object))throw new TypeError('SymbolNode or AccessorNode expected as "object"');if((0,_is.isSymbolNode)(object)&&"end"===object.name)throw new Error('Cannot assign to symbol "end"');if(this.index&&!(0,_is.isIndexNode)(this.index))throw new TypeError('IndexNode expected as "index"');if(!(0,_is.isNode)(this.value))throw new TypeError('Node expected as "value"');Object.defineProperty(this,"name",{get:function(){return this.index?this.index.isObjectProperty()?this.index.getObjectProperty():"":this.object.name||""}.bind(this),set:function set(){throw new Error("Cannot assign a new name, name is read-only")}})}function needParenthesis(node,parenthesis){parenthesis||(parenthesis="keep");var precedence=(0,_operators.getPrecedence)(node,parenthesis),exprPrecedence=(0,_operators.getPrecedence)(node.value,parenthesis);return"all"===parenthesis||null!==exprPrecedence&&exprPrecedence<=precedence}return AssignmentNode.prototype=new Node,AssignmentNode.prototype.type="AssignmentNode",AssignmentNode.prototype.isAssignmentNode=!0,AssignmentNode.prototype._compile=function(math,argNames){var evalObject=this.object._compile(math,argNames),evalIndex=this.index?this.index._compile(math,argNames):null,evalValue=this.value._compile(math,argNames),name=this.object.name;if(this.index){if(this.index.isObjectProperty()){var prop=this.index.getObjectProperty();return function evalAssignmentNode(scope,args,context){var object=evalObject(scope,args,context),value=evalValue(scope,args,context);return(0,_customs.setSafeProperty)(object,prop,value),value}}if((0,_is.isSymbolNode)(this.object))return function evalAssignmentNode(scope,args,context){var childObject=evalObject(scope,args,context),value=evalValue(scope,args,context),index=evalIndex(scope,args,childObject);return scope.set(name,assign(childObject,index,value)),value};var evalParentObject=this.object.object._compile(math,argNames);if(this.object.index.isObjectProperty()){var parentProp=this.object.index.getObjectProperty();return function evalAssignmentNode(scope,args,context){var parent=evalParentObject(scope,args,context),childObject=(0,_customs.getSafeProperty)(parent,parentProp),index=evalIndex(scope,args,childObject),value=evalValue(scope,args,context);return(0,_customs.setSafeProperty)(parent,parentProp,assign(childObject,index,value)),value}}var evalParentIndex=this.object.index._compile(math,argNames);return function evalAssignmentNode(scope,args,context){var parent=evalParentObject(scope,args,context),parentIndex=evalParentIndex(scope,args,parent),childObject=access(parent,parentIndex),index=evalIndex(scope,args,childObject),value=evalValue(scope,args,context);return assign(parent,parentIndex,assign(childObject,index,value)),value}}if(!(0,_is.isSymbolNode)(this.object))throw new TypeError("SymbolNode expected as object");return function evalAssignmentNode(scope,args,context){var value=evalValue(scope,args,context);return scope.set(name,value),value}},AssignmentNode.prototype.forEach=function(callback){callback(this.object,"object",this),this.index&&callback(this.index,"index",this),callback(this.value,"value",this)},AssignmentNode.prototype.map=function(callback){return new AssignmentNode(this._ifNode(callback(this.object,"object",this)),this.index?this._ifNode(callback(this.index,"index",this)):null,this._ifNode(callback(this.value,"value",this)))},AssignmentNode.prototype.clone=function(){return new AssignmentNode(this.object,this.index,this.value)},AssignmentNode.prototype._toString=function(options){var object=this.object.toString(options),index=this.index?this.index.toString(options):"",value=this.value.toString(options);return needParenthesis(this,options&&options.parenthesis)&&(value="("+value+")"),object+index+" = "+value},AssignmentNode.prototype.toJSON=function(){return{mathjs:"AssignmentNode",object:this.object,index:this.index,value:this.value}},AssignmentNode.fromJSON=function(json){return new AssignmentNode(json.object,json.index,json.value)},AssignmentNode.prototype.toHTML=function(options){var object=this.object.toHTML(options),index=this.index?this.index.toHTML(options):"",value=this.value.toHTML(options);return needParenthesis(this,options&&options.parenthesis)&&(value='('+value+')'),object+index+'='+value},AssignmentNode.prototype._toTex=function(options){var object=this.object.toTex(options),index=this.index?this.index.toTex(options):"",value=this.value.toTex(options);return needParenthesis(this,options&&options.parenthesis)&&(value="\\left(".concat(value,"\\right)")),object+index+":="+value},AssignmentNode}),{isClass:!0,isNode:!0});exports.createAssignmentNode=createAssignmentNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../operators.js":632,"./utils/access.js":630,"./utils/assign.js":631}],617:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBlockNode=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),dependencies=["ResultSet","Node"],createBlockNode=(0,require("../../utils/factory.js").factory)("BlockNode",dependencies,(function(_ref){var ResultSet=_ref.ResultSet,Node=_ref.Node;function BlockNode(blocks){if(!(this instanceof BlockNode))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(blocks))throw new Error("Array expected");this.blocks=blocks.map((function(block){var node=block&&block.node,visible=!block||void 0===block.visible||block.visible;if(!(0,_is.isNode)(node))throw new TypeError('Property "node" must be a Node');if("boolean"!=typeof visible)throw new TypeError('Property "visible" must be a boolean');return{node:node,visible:visible}}))}return BlockNode.prototype=new Node,BlockNode.prototype.type="BlockNode",BlockNode.prototype.isBlockNode=!0,BlockNode.prototype._compile=function(math,argNames){var evalBlocks=(0,_array.map)(this.blocks,(function(block){return{evaluate:block.node._compile(math,argNames),visible:block.visible}}));return function evalBlockNodes(scope,args,context){var results=[];return(0,_array.forEach)(evalBlocks,(function evalBlockNode(block){var result=block.evaluate(scope,args,context);block.visible&&results.push(result)})),new ResultSet(results)}},BlockNode.prototype.forEach=function(callback){for(var i=0;i;')})).join('
')},BlockNode.prototype._toTex=function(options){return this.blocks.map((function(param){return param.node.toTex(options)+(param.visible?"":";")})).join("\\;\\;\n")},BlockNode}),{isClass:!0,isNode:!0});exports.createBlockNode=createBlockNode},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943}],618:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConditionalNode=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_operators=require("../operators.js"),dependencies=["Node"],createConditionalNode=(0,_factory.factory)("ConditionalNode",dependencies,(function(_ref){var Node=_ref.Node;function ConditionalNode(condition,trueExpr,falseExpr){if(!(this instanceof ConditionalNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(condition))throw new TypeError("Parameter condition must be a Node");if(!(0,_is.isNode)(trueExpr))throw new TypeError("Parameter trueExpr must be a Node");if(!(0,_is.isNode)(falseExpr))throw new TypeError("Parameter falseExpr must be a Node");this.condition=condition,this.trueExpr=trueExpr,this.falseExpr=falseExpr}return ConditionalNode.prototype=new Node,ConditionalNode.prototype.type="ConditionalNode",ConditionalNode.prototype.isConditionalNode=!0,ConditionalNode.prototype._compile=function(math,argNames){var evalCondition=this.condition._compile(math,argNames),evalTrueExpr=this.trueExpr._compile(math,argNames),evalFalseExpr=this.falseExpr._compile(math,argNames);return function evalConditionalNode(scope,args,context){return function testCondition(condition){if("number"==typeof condition||"boolean"==typeof condition||"string"==typeof condition)return!!condition;if(condition){if((0,_is.isBigNumber)(condition))return!condition.isZero();if((0,_is.isComplex)(condition))return!(!condition.re&&!condition.im);if((0,_is.isUnit)(condition))return!!condition.value}if(null==condition)return!1;throw new TypeError('Unsupported type of condition "'+(0,_is.typeOf)(condition)+'"')}(evalCondition(scope,args,context))?evalTrueExpr(scope,args,context):evalFalseExpr(scope,args,context)}},ConditionalNode.prototype.forEach=function(callback){callback(this.condition,"condition",this),callback(this.trueExpr,"trueExpr",this),callback(this.falseExpr,"falseExpr",this)},ConditionalNode.prototype.map=function(callback){return new ConditionalNode(this._ifNode(callback(this.condition,"condition",this)),this._ifNode(callback(this.trueExpr,"trueExpr",this)),this._ifNode(callback(this.falseExpr,"falseExpr",this)))},ConditionalNode.prototype.clone=function(){return new ConditionalNode(this.condition,this.trueExpr,this.falseExpr)},ConditionalNode.prototype._toString=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",precedence=(0,_operators.getPrecedence)(this,parenthesis),condition=this.condition.toString(options),conditionPrecedence=(0,_operators.getPrecedence)(this.condition,parenthesis);("all"===parenthesis||"OperatorNode"===this.condition.type||null!==conditionPrecedence&&conditionPrecedence<=precedence)&&(condition="("+condition+")");var trueExpr=this.trueExpr.toString(options),truePrecedence=(0,_operators.getPrecedence)(this.trueExpr,parenthesis);("all"===parenthesis||"OperatorNode"===this.trueExpr.type||null!==truePrecedence&&truePrecedence<=precedence)&&(trueExpr="("+trueExpr+")");var falseExpr=this.falseExpr.toString(options),falsePrecedence=(0,_operators.getPrecedence)(this.falseExpr,parenthesis);return("all"===parenthesis||"OperatorNode"===this.falseExpr.type||null!==falsePrecedence&&falsePrecedence<=precedence)&&(falseExpr="("+falseExpr+")"),condition+" ? "+trueExpr+" : "+falseExpr},ConditionalNode.prototype.toJSON=function(){return{mathjs:"ConditionalNode",condition:this.condition,trueExpr:this.trueExpr,falseExpr:this.falseExpr}},ConditionalNode.fromJSON=function(json){return new ConditionalNode(json.condition,json.trueExpr,json.falseExpr)},ConditionalNode.prototype.toHTML=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",precedence=(0,_operators.getPrecedence)(this,parenthesis),condition=this.condition.toHTML(options),conditionPrecedence=(0,_operators.getPrecedence)(this.condition,parenthesis);("all"===parenthesis||"OperatorNode"===this.condition.type||null!==conditionPrecedence&&conditionPrecedence<=precedence)&&(condition='('+condition+')');var trueExpr=this.trueExpr.toHTML(options),truePrecedence=(0,_operators.getPrecedence)(this.trueExpr,parenthesis);("all"===parenthesis||"OperatorNode"===this.trueExpr.type||null!==truePrecedence&&truePrecedence<=precedence)&&(trueExpr='('+trueExpr+')');var falseExpr=this.falseExpr.toHTML(options),falsePrecedence=(0,_operators.getPrecedence)(this.falseExpr,parenthesis);return("all"===parenthesis||"OperatorNode"===this.falseExpr.type||null!==falsePrecedence&&falsePrecedence<=precedence)&&(falseExpr='('+falseExpr+')'),condition+'?'+trueExpr+':'+falseExpr},ConditionalNode.prototype._toTex=function(options){return"\\begin{cases} {"+this.trueExpr.toTex(options)+"}, &\\quad{\\text{if }\\;"+this.condition.toTex(options)+"}\\\\{"+this.falseExpr.toTex(options)+"}, &\\quad{\\text{otherwise}}\\end{cases}"},ConditionalNode}),{isClass:!0,isNode:!0});exports.createConditionalNode=createConditionalNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../operators.js":632}],619:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConstantNode=void 0;var _string=require("../../utils/string.js"),_is=require("../../utils/is.js"),_latex=require("../../utils/latex.js"),dependencies=["Node"],createConstantNode=(0,require("../../utils/factory.js").factory)("ConstantNode",dependencies,(function(_ref){var Node=_ref.Node;function ConstantNode(value){if(!(this instanceof ConstantNode))throw new SyntaxError("Constructor must be called with the new operator");this.value=value}return ConstantNode.prototype=new Node,ConstantNode.prototype.type="ConstantNode",ConstantNode.prototype.isConstantNode=!0,ConstantNode.prototype._compile=function(math,argNames){var value=this.value;return function evalConstantNode(){return value}},ConstantNode.prototype.forEach=function(callback){},ConstantNode.prototype.map=function(callback){return this.clone()},ConstantNode.prototype.clone=function(){return new ConstantNode(this.value)},ConstantNode.prototype._toString=function(options){return(0,_string.format)(this.value,options)},ConstantNode.prototype.toHTML=function(options){var value=this._toString(options);switch((0,_is.typeOf)(this.value)){case"number":case"BigNumber":case"Fraction":return''+value+"";case"string":return''+value+"";case"boolean":return''+value+"";case"null":return''+value+"";case"undefined":return''+value+"";default:return''+value+""}},ConstantNode.prototype.toJSON=function(){return{mathjs:"ConstantNode",value:this.value}},ConstantNode.fromJSON=function(json){return new ConstantNode(json.value)},ConstantNode.prototype._toTex=function(options){var value=this._toString(options);switch((0,_is.typeOf)(this.value)){case"string":return"\\mathtt{"+(0,_latex.escapeLatex)(value)+"}";case"number":case"BigNumber":if(!isFinite(this.value))return this.value.valueOf()<0?"-\\infty":"\\infty";var index=value.toLowerCase().indexOf("e");return-1!==index?value.substring(0,index)+"\\cdot10^{"+value.substring(index+1)+"}":value;case"Fraction":return this.value.toLatex();default:return value}},ConstantNode}),{isClass:!0,isNode:!0});exports.createConstantNode=createConstantNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/string.js":953}],620:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFunctionAssignmentNode=void 0;var _is=require("../../utils/is.js"),_keywords=require("../keywords.js"),_string=require("../../utils/string.js"),_array=require("../../utils/array.js"),_latex=require("../../utils/latex.js"),_operators=require("../operators.js"),dependencies=["typed","Node"],createFunctionAssignmentNode=(0,require("../../utils/factory.js").factory)("FunctionAssignmentNode",dependencies,(function(_ref){var typed=_ref.typed,Node=_ref.Node;function FunctionAssignmentNode(name,params,expr){if(!(this instanceof FunctionAssignmentNode))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof name)throw new TypeError('String expected for parameter "name"');if(!Array.isArray(params))throw new TypeError('Array containing strings or objects expected for parameter "params"');if(!(0,_is.isNode)(expr))throw new TypeError('Node expected for parameter "expr"');if(_keywords.keywords.has(name))throw new Error('Illegal function name, "'+name+'" is a reserved keyword');this.name=name,this.params=params.map((function(param){return param&¶m.name||param})),this.types=params.map((function(param){return param&¶m.type||"any"})),this.expr=expr}function needParenthesis(node,parenthesis){var precedence=(0,_operators.getPrecedence)(node,parenthesis),exprPrecedence=(0,_operators.getPrecedence)(node.expr,parenthesis);return"all"===parenthesis||null!==exprPrecedence&&exprPrecedence<=precedence}return FunctionAssignmentNode.prototype=new Node,FunctionAssignmentNode.prototype.type="FunctionAssignmentNode",FunctionAssignmentNode.prototype.isFunctionAssignmentNode=!0,FunctionAssignmentNode.prototype._compile=function(math,argNames){var childArgNames=Object.create(argNames);(0,_array.forEach)(this.params,(function(param){childArgNames[param]=!0}));var evalExpr=this.expr._compile(math,childArgNames),name=this.name,params=this.params,signature=(0,_array.join)(this.types,","),syntax=name+"("+(0,_array.join)(this.params,", ")+")";return function evalFunctionAssignmentNode(scope,args,context){var signatures={};signatures[signature]=function(){for(var childArgs=Object.create(args),i=0;i'+(0,_string.escape)(this.params[i])+"");var expr=this.expr.toHTML(options);return needParenthesis(this,parenthesis)&&(expr='('+expr+')'),''+(0,_string.escape)(this.name)+'('+params.join(',')+')='+expr},FunctionAssignmentNode.prototype._toTex=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",expr=this.expr.toTex(options);return needParenthesis(this,parenthesis)&&(expr="\\left(".concat(expr,"\\right)")),"\\mathrm{"+this.name+"}\\left("+this.params.map(_latex.toSymbol).join(",")+"\\right):="+expr},FunctionAssignmentNode}),{isClass:!0,isNode:!0});exports.createFunctionAssignmentNode=createFunctionAssignmentNode},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/string.js":953,"../keywords.js":613,"../operators.js":632}],621:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFunctionNode=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),_customs=require("../../utils/customs.js"),_scope=require("../../utils/scope.js"),_factory=require("../../utils/factory.js"),_latex=require("../../utils/latex.js"),dependencies=["math","Node","SymbolNode"],createFunctionNode=(0,_factory.factory)("FunctionNode",dependencies,(function(_ref){var math=_ref.math,Node=_ref.Node,SymbolNode=_ref.SymbolNode;function FunctionNode(fn,args){if(!(this instanceof FunctionNode))throw new SyntaxError("Constructor must be called with the new operator");if("string"==typeof fn&&(fn=new SymbolNode(fn)),!(0,_is.isNode)(fn))throw new TypeError('Node expected as parameter "fn"');if(!Array.isArray(args)||!args.every(_is.isNode))throw new TypeError('Array containing Nodes expected for parameter "args"');this.fn=fn,this.args=args||[],Object.defineProperty(this,"name",{get:function(){return this.fn.name||""}.bind(this),set:function set(){throw new Error("Cannot assign a new name, name is read-only")}})}FunctionNode.prototype=new Node,FunctionNode.prototype.type="FunctionNode",FunctionNode.prototype.isFunctionNode=!0,FunctionNode.prototype._compile=function(math,argNames){if(!(this instanceof FunctionNode))throw new TypeError("No valid FunctionNode");var evalArgs=this.args.map((function(arg){return arg._compile(math,argNames)}));if(!(0,_is.isSymbolNode)(this.fn)){if((0,_is.isAccessorNode)(this.fn)&&(0,_is.isIndexNode)(this.fn.index)&&this.fn.index.isObjectProperty()){var evalObject=this.fn.object._compile(math,argNames),prop=this.fn.index.getObjectProperty(),_rawArgs=this.args;return function evalFunctionNode(scope,args,context){var object=evalObject(scope,args,context);if((0,_customs.validateSafeMethod)(object,prop),object[prop]&&object[prop].rawArgs)return object[prop](_rawArgs,math,(0,_scope.createSubScope)(scope,args),scope);var values=evalArgs.map((function(evalArg){return evalArg(scope,args,context)}));return object[prop].apply(object,values)}}var evalFn=this.fn._compile(math,argNames),_rawArgs2=this.args;return function evalFunctionNode(scope,args,context){var fn=evalFn(scope,args,context);if(fn&&fn.rawArgs)return fn(_rawArgs2,math,(0,_scope.createSubScope)(scope,args),scope);var values=evalArgs.map((function(evalArg){return evalArg(scope,args,context)}));return fn.apply(fn,values)}}var _name=this.fn.name,fn=_name in math?(0,_customs.getSafeProperty)(math,_name):void 0,isRaw="function"==typeof fn&&!0===fn.rawArgs,resolveFn=function resolveFn(scope){return scope.has(_name)?scope.get(_name):_name in math?(0,_customs.getSafeProperty)(math,_name):FunctionNode.onUndefinedFunction(_name)};if(isRaw){var rawArgs=this.args;return function evalFunctionNode(scope,args,context){return resolveFn(scope)(rawArgs,math,(0,_scope.createSubScope)(scope,args),scope)}}switch(evalArgs.length){case 0:return function evalFunctionNode(scope,args,context){return resolveFn(scope)()};case 1:return function evalFunctionNode(scope,args,context){return resolveFn(scope)((0,evalArgs[0])(scope,args,context))};case 2:return function evalFunctionNode(scope,args,context){var fn=resolveFn(scope),evalArg0=evalArgs[0],evalArg1=evalArgs[1];return fn(evalArg0(scope,args,context),evalArg1(scope,args,context))};default:return function evalFunctionNode(scope,args,context){var fn=resolveFn(scope),values=evalArgs.map((function(evalArg){return evalArg(scope,args,context)}));return fn.apply(void 0,(0,_toConsumableArray2.default)(values))}}},FunctionNode.prototype.forEach=function(callback){callback(this.fn,"fn",this);for(var i=0;i'+(0,_string.escape)(this.fn)+'('+args.join(',')+')'};var nodeToTex=FunctionNode.prototype.toTex;return FunctionNode.prototype.toTex=function(options){var customTex;return options&&"object"===(0,_typeof2.default)(options.handler)&&(0,_object.hasOwnProperty)(options.handler,this.name)&&(customTex=options.handler[this.name](this,options)),void 0!==customTex?customTex:nodeToTex.call(this,options)},FunctionNode.prototype._toTex=function(options){var latexConverter,customToTex,args=this.args.map((function(arg){return arg.toTex(options)}));switch(_latex.latexFunctions[this.name]&&(latexConverter=_latex.latexFunctions[this.name]),!math[this.name]||"function"!=typeof math[this.name].toTex&&"object"!==(0,_typeof2.default)(math[this.name].toTex)&&"string"!=typeof math[this.name].toTex||(latexConverter=math[this.name].toTex),(0,_typeof2.default)(latexConverter)){case"function":customToTex=latexConverter(this,options);break;case"string":customToTex=expandTemplate(latexConverter,this,options);break;case"object":switch((0,_typeof2.default)(latexConverter[args.length])){case"function":customToTex=latexConverter[args.length](this,options);break;case"string":customToTex=expandTemplate(latexConverter[args.length],this,options)}}return void 0!==customToTex?customToTex:expandTemplate(_latex.defaultTemplate,this,options)},FunctionNode.prototype.getIdentifier=function(){return this.type+":"+this.name},FunctionNode}),{isClass:!0,isNode:!0});exports.createFunctionNode=createFunctionNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/object.js":949,"../../utils/scope.js":952,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21,"@babel/runtime/helpers/typeof":22}],622:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIndexNode=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),_customs=require("../../utils/customs.js"),dependencies=["Range","Node","size"],createIndexNode=(0,_factory.factory)("IndexNode",dependencies,(function(_ref){var Range=_ref.Range,Node=_ref.Node,size=_ref.size;function IndexNode(dimensions,dotNotation){if(!(this instanceof IndexNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.dimensions=dimensions,this.dotNotation=dotNotation||!1,!Array.isArray(dimensions)||!dimensions.every(_is.isNode))throw new TypeError('Array containing Nodes expected for parameter "dimensions"');if(this.dotNotation&&!this.isObjectProperty())throw new Error("dotNotation only applicable for object properties")}function createRange(start,end,step){return new Range((0,_is.isBigNumber)(start)?start.toNumber():start,(0,_is.isBigNumber)(end)?end.toNumber():end,(0,_is.isBigNumber)(step)?step.toNumber():step)}return IndexNode.prototype=new Node,IndexNode.prototype.type="IndexNode",IndexNode.prototype.isIndexNode=!0,IndexNode.prototype._compile=function(math,argNames){var evalDimensions=(0,_array.map)(this.dimensions,(function(range,i){if((0,_is.isRangeNode)(range)){if(range.needsEnd()){var childArgNames=Object.create(argNames);childArgNames.end=!0;var evalStart=range.start._compile(math,childArgNames),evalEnd=range.end._compile(math,childArgNames),evalStep=range.step?range.step._compile(math,childArgNames):function(){return 1};return function evalDimension(scope,args,context){var s=size(context).valueOf(),childArgs=Object.create(args);return childArgs.end=s[i],createRange(evalStart(scope,childArgs,context),evalEnd(scope,childArgs,context),evalStep(scope,childArgs,context))}}var _evalStart=range.start._compile(math,argNames),_evalEnd=range.end._compile(math,argNames),_evalStep=range.step?range.step._compile(math,argNames):function(){return 1};return function evalDimension(scope,args,context){return createRange(_evalStart(scope,args,context),_evalEnd(scope,args,context),_evalStep(scope,args,context))}}if((0,_is.isSymbolNode)(range)&&"end"===range.name){var _childArgNames=Object.create(argNames);_childArgNames.end=!0;var evalRange=range._compile(math,_childArgNames);return function evalDimension(scope,args,context){var s=size(context).valueOf(),childArgs=Object.create(args);return childArgs.end=s[i],evalRange(scope,childArgs,context)}}var _evalRange=range._compile(math,argNames);return function evalDimension(scope,args,context){return _evalRange(scope,args,context)}})),index=(0,_customs.getSafeProperty)(math,"index");return function evalIndexNode(scope,args,context){var dimensions=(0,_array.map)(evalDimensions,(function(evalDimension){return evalDimension(scope,args,context)}));return index.apply(void 0,(0,_toConsumableArray2.default)(dimensions))}},IndexNode.prototype.forEach=function(callback){for(var i=0;i.'+(0,_string.escape)(this.getObjectProperty())+"":'['+dimensions.join(',')+']'},IndexNode.prototype._toTex=function(options){var dimensions=this.dimensions.map((function(range){return range.toTex(options)}));return this.dotNotation?"."+this.getObjectProperty():"_{"+dimensions.join(",")+"}"},IndexNode}),{isClass:!0,isNode:!0});exports.createIndexNode=createIndexNode},{"../../utils/array.js":932,"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21}],623:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createNode=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_keywords=require("../keywords.js"),_object=require("../../utils/object.js"),_factory=require("../../utils/factory.js"),_map=require("../../utils/map.js"),dependencies=["mathWithTransform"],createNode=(0,_factory.factory)("Node",dependencies,(function(_ref){var mathWithTransform=_ref.mathWithTransform;function Node(){if(!(this instanceof Node))throw new SyntaxError("Constructor must be called with the new operator")}return Node.prototype.evaluate=function(scope){return this.compile().evaluate(scope)},Node.prototype.type="Node",Node.prototype.isNode=!0,Node.prototype.comment="",Node.prototype.compile=function(){var expr=this._compile(mathWithTransform,{}),args={};return{evaluate:function evaluate(scope){var s=(0,_map.createMap)(scope);return function _validateScope(scope){for(var _i=0,_arr=(0,_toConsumableArray2.default)(_keywords.keywords);_i<_arr.length;_i++){var symbol=_arr[_i];if(scope.has(symbol))throw new Error('Scope contains an illegal symbol, "'+symbol+'" is a reserved keyword')}}(s),expr(s,args,null)}}},Node.prototype._compile=function(math,argNames){throw new Error("Method _compile should be implemented by type "+this.type)},Node.prototype.forEach=function(callback){throw new Error("Cannot run forEach on a Node interface")},Node.prototype.map=function(callback){throw new Error("Cannot run map on a Node interface")},Node.prototype._ifNode=function(node){if(!(0,_is.isNode)(node))throw new TypeError("Callback function must return a Node");return node},Node.prototype.traverse=function(callback){callback(this,null,null),function _traverse(node,callback){node.forEach((function(child,path,parent){callback(child,path,parent),_traverse(child,callback)}))}(this,callback)},Node.prototype.transform=function(callback){return function _transform(child,path,parent){var replacement=callback(child,path,parent);return replacement!==child?replacement:child.map(_transform)}(this,null,null)},Node.prototype.filter=function(callback){var nodes=[];return this.traverse((function(node,path,parent){callback(node,path,parent)&&nodes.push(node)})),nodes},Node.prototype.clone=function(){throw new Error("Cannot clone a Node interface")},Node.prototype.cloneDeep=function(){return this.map((function(node){return node.cloneDeep()}))},Node.prototype.equals=function(other){return!!other&&(0,_object.deepStrictEqual)(this,other)},Node.prototype.toString=function(options){var customString=this._getCustomString(options);return void 0!==customString?customString:this._toString(options)},Node.prototype.toJSON=function(){throw new Error("Cannot serialize object: toJSON not implemented by "+this.type)},Node.prototype.toHTML=function(options){var customString=this._getCustomString(options);return void 0!==customString?customString:this.toHTML(options)},Node.prototype._toString=function(){throw new Error("_toString not implemented for "+this.type)},Node.prototype.toTex=function(options){var customString=this._getCustomString(options);return void 0!==customString?customString:this._toTex(options)},Node.prototype._toTex=function(options){throw new Error("_toTex not implemented for "+this.type)},Node.prototype._getCustomString=function(options){if(options&&"object"===(0,_typeof2.default)(options))switch((0,_typeof2.default)(options.handler)){case"object":case"undefined":return;case"function":return options.handler(this,options);default:throw new TypeError("Object or function expected as callback")}},Node.prototype.getIdentifier=function(){return this.type},Node.prototype.getContent=function(){return this},Node}),{isClass:!0,isNode:!0});exports.createNode=createNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/map.js":946,"../../utils/object.js":949,"../keywords.js":613,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21,"@babel/runtime/helpers/typeof":22}],624:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createObjectNode=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_customs=require("../../utils/customs.js"),_object=require("../../utils/object.js"),dependencies=["Node"],createObjectNode=(0,require("../../utils/factory.js").factory)("ObjectNode",dependencies,(function(_ref){var Node=_ref.Node;function ObjectNode(properties){if(!(this instanceof ObjectNode))throw new SyntaxError("Constructor must be called with the new operator");if(this.properties=properties||{},properties&&("object"!==(0,_typeof2.default)(properties)||!Object.keys(properties).every((function(key){return(0,_is.isNode)(properties[key])}))))throw new TypeError("Object containing Nodes expected")}return ObjectNode.prototype=new Node,ObjectNode.prototype.type="ObjectNode",ObjectNode.prototype.isObjectNode=!0,ObjectNode.prototype._compile=function(math,argNames){var evalEntries={};for(var key in this.properties)if((0,_object.hasOwnProperty)(this.properties,key)){var stringifiedKey=(0,_string.stringify)(key),parsedKey=JSON.parse(stringifiedKey);if(!(0,_customs.isSafeProperty)(this.properties,parsedKey))throw new Error('No access to property "'+parsedKey+'"');evalEntries[parsedKey]=this.properties[key]._compile(math,argNames)}return function evalObjectNode(scope,args,context){var obj={};for(var _key in evalEntries)(0,_object.hasOwnProperty)(evalEntries,_key)&&(obj[_key]=evalEntries[_key](scope,args,context));return obj}},ObjectNode.prototype.forEach=function(callback){for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&callback(this.properties[key],"properties["+(0,_string.stringify)(key)+"]",this)},ObjectNode.prototype.map=function(callback){var properties={};for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&(properties[key]=this._ifNode(callback(this.properties[key],"properties["+(0,_string.stringify)(key)+"]",this)));return new ObjectNode(properties)},ObjectNode.prototype.clone=function(){var properties={};for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&(properties[key]=this.properties[key]);return new ObjectNode(properties)},ObjectNode.prototype._toString=function(options){var entries=[];for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&entries.push((0,_string.stringify)(key)+": "+this.properties[key].toString(options));return"{"+entries.join(", ")+"}"},ObjectNode.prototype.toJSON=function(){return{mathjs:"ObjectNode",properties:this.properties}},ObjectNode.fromJSON=function(json){return new ObjectNode(json.properties)},ObjectNode.prototype.toHTML=function(options){var entries=[];for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&entries.push(''+(0,_string.escape)(key)+':'+this.properties[key].toHTML(options));return'{'+entries.join(',')+'}'},ObjectNode.prototype._toTex=function(options){var entries=[];for(var key in this.properties)(0,_object.hasOwnProperty)(this.properties,key)&&entries.push("\\mathbf{"+key+":} & "+this.properties[key].toTex(options)+"\\\\");return"\\left\\{\\begin{array}{ll}".concat(entries.join("\n"),"\\end{array}\\right\\}")},ObjectNode}),{isClass:!0,isNode:!0});exports.createObjectNode=createObjectNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],625:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createOperatorNode=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_string=require("../../utils/string.js"),_customs=require("../../utils/customs.js"),_operators=require("../operators.js"),_latex=require("../../utils/latex.js"),dependencies=["Node"],createOperatorNode=(0,require("../../utils/factory.js").factory)("OperatorNode",dependencies,(function(_ref){var Node=_ref.Node;function OperatorNode(op,fn,args,implicit){if(!(this instanceof OperatorNode))throw new SyntaxError("Constructor must be called with the new operator");if("string"!=typeof op)throw new TypeError('string expected for parameter "op"');if("string"!=typeof fn)throw new TypeError('string expected for parameter "fn"');if(!Array.isArray(args)||!args.every(_is.isNode))throw new TypeError('Array containing Nodes expected for parameter "args"');this.implicit=!0===implicit,this.op=op,this.fn=fn,this.args=args||[]}function calculateNecessaryParentheses(root,parenthesis,implicit,args,latex){var result,precedence=(0,_operators.getPrecedence)(root,parenthesis),associativity=(0,_operators.getAssociativity)(root,parenthesis);if("all"===parenthesis||args.length>2&&"OperatorNode:add"!==root.getIdentifier()&&"OperatorNode:multiply"!==root.getIdentifier())return args.map((function(arg){switch(arg.getContent().type){case"ArrayNode":case"ConstantNode":case"SymbolNode":case"ParenthesisNode":return!1;default:return!0}}));switch(args.length){case 0:result=[];break;case 1:var operandPrecedence=(0,_operators.getPrecedence)(args[0],parenthesis);if(latex&&null!==operandPrecedence){var operandIdentifier,rootIdentifier;if("keep"===parenthesis?(operandIdentifier=args[0].getIdentifier(),rootIdentifier=root.getIdentifier()):(operandIdentifier=args[0].getContent().getIdentifier(),rootIdentifier=root.getContent().getIdentifier()),!1===_operators.properties[precedence][rootIdentifier].latexLeftParens){result=[!1];break}if(!1===_operators.properties[operandPrecedence][operandIdentifier].latexParens){result=[!1];break}}if(null===operandPrecedence){result=[!1];break}if(operandPrecedence<=precedence){result=[!0];break}result=[!1];break;case 2:var lhsParens,rhsParens,lhsPrecedence=(0,_operators.getPrecedence)(args[0],parenthesis),assocWithLhs=(0,_operators.isAssociativeWith)(root,args[0],parenthesis);lhsParens=null!==lhsPrecedence&&(lhsPrecedence===precedence&&"right"===associativity&&!assocWithLhs||lhsPrecedence=2&&"OperatorNode:multiply"===root.getIdentifier()&&root.implicit&&"auto"===parenthesis&&"hide"===implicit&&(result=args.map((function(arg,index){var isParenthesisNode="ParenthesisNode"===arg.getIdentifier();return!(!result[index]&&!isParenthesisNode)}))),result}return OperatorNode.prototype=new Node,OperatorNode.prototype.type="OperatorNode",OperatorNode.prototype.isOperatorNode=!0,OperatorNode.prototype._compile=function(math,argNames){if("string"!=typeof this.fn||!(0,_customs.isSafeMethod)(math,this.fn))throw math[this.fn]?new Error('No access to function "'+this.fn+'"'):new Error("Function "+this.fn+' missing in provided namespace "math"');var fn=(0,_customs.getSafeProperty)(math,this.fn),evalArgs=(0,_array.map)(this.args,(function(arg){return arg._compile(math,argNames)}));if(1===evalArgs.length){var evalArg0=evalArgs[0];return function evalOperatorNode(scope,args,context){return fn(evalArg0(scope,args,context))}}if(2===evalArgs.length){var _evalArg=evalArgs[0],evalArg1=evalArgs[1];return function evalOperatorNode(scope,args,context){return fn(_evalArg(scope,args,context),evalArg1(scope,args,context))}}return function evalOperatorNode(scope,args,context){return fn.apply(null,(0,_array.map)(evalArgs,(function(evalArg){return evalArg(scope,args,context)})))}},OperatorNode.prototype.forEach=function(callback){for(var i=0;i2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var stringifiedArgs=args.map((function(arg,index){return arg=arg.toString(options),parens[index]&&(arg="("+arg+")"),arg}));return this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===implicit?stringifiedArgs.join(" "):stringifiedArgs.join(" "+this.op+" ")}return this.fn+"("+this.args.join(", ")+")"},OperatorNode.prototype.toJSON=function(){return{mathjs:"OperatorNode",op:this.op,fn:this.fn,args:this.args,implicit:this.implicit}},OperatorNode.fromJSON=function(json){return new OperatorNode(json.op,json.fn,json.args,json.implicit)},OperatorNode.prototype.toHTML=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",implicit=options&&options.implicit?options.implicit:"hide",args=this.args,parens=calculateNecessaryParentheses(this,parenthesis,implicit,args,!1);if(1===args.length){var assoc=(0,_operators.getAssociativity)(this,parenthesis),operand=args[0].toHTML(options);return parens[0]&&(operand='('+operand+')'),"right"===assoc?''+(0,_string.escape)(this.op)+""+operand:operand+''+(0,_string.escape)(this.op)+""}if(2===args.length){var lhs=args[0].toHTML(options),rhs=args[1].toHTML(options);return parens[0]&&(lhs='('+lhs+')'),parens[1]&&(rhs='('+rhs+')'),this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===implicit?lhs+''+rhs:lhs+''+(0,_string.escape)(this.op)+""+rhs}var stringifiedArgs=args.map((function(arg,index){return arg=arg.toHTML(options),parens[index]&&(arg='('+arg+')'),arg}));return args.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())?this.implicit&&"OperatorNode:multiply"===this.getIdentifier()&&"hide"===implicit?stringifiedArgs.join(''):stringifiedArgs.join(''+(0,_string.escape)(this.op)+""):''+(0,_string.escape)(this.fn)+'('+stringifiedArgs.join(',')+')'},OperatorNode.prototype._toTex=function(options){var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",implicit=options&&options.implicit?options.implicit:"hide",args=this.args,parens=calculateNecessaryParentheses(this,parenthesis,implicit,args,!0),op=_latex.latexOperators[this.fn];if(op=void 0===op?this.op:op,1===args.length){var assoc=(0,_operators.getAssociativity)(this,parenthesis),operand=args[0].toTex(options);return parens[0]&&(operand="\\left(".concat(operand,"\\right)")),"right"===assoc?op+operand:operand+op}if(2===args.length){var lhs=args[0],lhsTex=lhs.toTex(options);parens[0]&&(lhsTex="\\left(".concat(lhsTex,"\\right)"));var lhsIdentifier,rhsTex=args[1].toTex(options);switch(parens[1]&&(rhsTex="\\left(".concat(rhsTex,"\\right)")),lhsIdentifier="keep"===parenthesis?lhs.getIdentifier():lhs.getContent().getIdentifier(),this.getIdentifier()){case"OperatorNode:divide":return op+"{"+lhsTex+"}{"+rhsTex+"}";case"OperatorNode:pow":switch(lhsTex="{"+lhsTex+"}",rhsTex="{"+rhsTex+"}",lhsIdentifier){case"ConditionalNode":case"OperatorNode:divide":lhsTex="\\left(".concat(lhsTex,"\\right)")}break;case"OperatorNode:multiply":if(this.implicit&&"hide"===implicit)return lhsTex+"~"+rhsTex}return lhsTex+op+rhsTex}if(args.length>2&&("OperatorNode:add"===this.getIdentifier()||"OperatorNode:multiply"===this.getIdentifier())){var texifiedArgs=args.map((function(arg,index){return arg=arg.toTex(options),parens[index]&&(arg="\\left(".concat(arg,"\\right)")),arg}));return"OperatorNode:multiply"===this.getIdentifier()&&this.implicit?texifiedArgs.join("~"):texifiedArgs.join(op)}return"\\mathrm{"+this.fn+"}\\left("+args.map((function(arg){return arg.toTex(options)})).join(",")+"\\right)"},OperatorNode.prototype.getIdentifier=function(){return this.type+":"+this.fn},OperatorNode}),{isClass:!0,isNode:!0});exports.createOperatorNode=createOperatorNode},{"../../utils/array.js":932,"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/latex.js":944,"../../utils/string.js":953,"../operators.js":632}],626:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createParenthesisNode=void 0;var _is=require("../../utils/is.js"),dependencies=["Node"],createParenthesisNode=(0,require("../../utils/factory.js").factory)("ParenthesisNode",dependencies,(function(_ref){var Node=_ref.Node;function ParenthesisNode(content){if(!(this instanceof ParenthesisNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(content))throw new TypeError('Node expected for parameter "content"');this.content=content}return ParenthesisNode.prototype=new Node,ParenthesisNode.prototype.type="ParenthesisNode",ParenthesisNode.prototype.isParenthesisNode=!0,ParenthesisNode.prototype._compile=function(math,argNames){return this.content._compile(math,argNames)},ParenthesisNode.prototype.getContent=function(){return this.content.getContent()},ParenthesisNode.prototype.forEach=function(callback){callback(this.content,"content",this)},ParenthesisNode.prototype.map=function(callback){return new ParenthesisNode(callback(this.content,"content",this))},ParenthesisNode.prototype.clone=function(){return new ParenthesisNode(this.content)},ParenthesisNode.prototype._toString=function(options){return!options||options&&!options.parenthesis||options&&"keep"===options.parenthesis?"("+this.content.toString(options)+")":this.content.toString(options)},ParenthesisNode.prototype.toJSON=function(){return{mathjs:"ParenthesisNode",content:this.content}},ParenthesisNode.fromJSON=function(json){return new ParenthesisNode(json.content)},ParenthesisNode.prototype.toHTML=function(options){return!options||options&&!options.parenthesis||options&&"keep"===options.parenthesis?'('+this.content.toHTML(options)+')':this.content.toHTML(options)},ParenthesisNode.prototype._toTex=function(options){return!options||options&&!options.parenthesis||options&&"keep"===options.parenthesis?"\\left(".concat(this.content.toTex(options),"\\right)"):this.content.toTex(options)},ParenthesisNode}),{isClass:!0,isNode:!0});exports.createParenthesisNode=createParenthesisNode},{"../../utils/factory.js":941,"../../utils/is.js":943}],627:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRangeNode=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_operators=require("../operators.js"),dependencies=["Node"],createRangeNode=(0,_factory.factory)("RangeNode",dependencies,(function(_ref){var Node=_ref.Node;function RangeNode(start,end,step){if(!(this instanceof RangeNode))throw new SyntaxError("Constructor must be called with the new operator");if(!(0,_is.isNode)(start))throw new TypeError("Node expected");if(!(0,_is.isNode)(end))throw new TypeError("Node expected");if(step&&!(0,_is.isNode)(step))throw new TypeError("Node expected");if(arguments.length>3)throw new Error("Too many arguments");this.start=start,this.end=end,this.step=step||null}function calculateNecessaryParentheses(node,parenthesis){var precedence=(0,_operators.getPrecedence)(node,parenthesis),parens={},startPrecedence=(0,_operators.getPrecedence)(node.start,parenthesis);if(parens.start=null!==startPrecedence&&startPrecedence<=precedence||"all"===parenthesis,node.step){var stepPrecedence=(0,_operators.getPrecedence)(node.step,parenthesis);parens.step=null!==stepPrecedence&&stepPrecedence<=precedence||"all"===parenthesis}var endPrecedence=(0,_operators.getPrecedence)(node.end,parenthesis);return parens.end=null!==endPrecedence&&endPrecedence<=precedence||"all"===parenthesis,parens}return RangeNode.prototype=new Node,RangeNode.prototype.type="RangeNode",RangeNode.prototype.isRangeNode=!0,RangeNode.prototype.needsEnd=function(){return this.filter((function(node){return(0,_is.isSymbolNode)(node)&&"end"===node.name})).length>0},RangeNode.prototype._compile=function(math,argNames){var range=math.range,evalStart=this.start._compile(math,argNames),evalEnd=this.end._compile(math,argNames);if(this.step){var evalStep=this.step._compile(math,argNames);return function evalRangeNode(scope,args,context){return range(evalStart(scope,args,context),evalEnd(scope,args,context),evalStep(scope,args,context))}}return function evalRangeNode(scope,args,context){return range(evalStart(scope,args,context),evalEnd(scope,args,context))}},RangeNode.prototype.forEach=function(callback){callback(this.start,"start",this),callback(this.end,"end",this),this.step&&callback(this.step,"step",this)},RangeNode.prototype.map=function(callback){return new RangeNode(this._ifNode(callback(this.start,"start",this)),this._ifNode(callback(this.end,"end",this)),this.step&&this._ifNode(callback(this.step,"step",this)))},RangeNode.prototype.clone=function(){return new RangeNode(this.start,this.end,this.step&&this.step)},RangeNode.prototype._toString=function(options){var str,parens=calculateNecessaryParentheses(this,options&&options.parenthesis?options.parenthesis:"keep"),start=this.start.toString(options);if(parens.start&&(start="("+start+")"),str=start,this.step){var step=this.step.toString(options);parens.step&&(step="("+step+")"),str+=":"+step}var end=this.end.toString(options);return parens.end&&(end="("+end+")"),str+=":"+end},RangeNode.prototype.toJSON=function(){return{mathjs:"RangeNode",start:this.start,end:this.end,step:this.step}},RangeNode.fromJSON=function(json){return new RangeNode(json.start,json.end,json.step)},RangeNode.prototype.toHTML=function(options){var str,parens=calculateNecessaryParentheses(this,options&&options.parenthesis?options.parenthesis:"keep"),start=this.start.toHTML(options);if(parens.start&&(start='('+start+')'),str=start,this.step){var step=this.step.toHTML(options);parens.step&&(step='('+step+')'),str+=':'+step}var end=this.end.toHTML(options);return parens.end&&(end='('+end+')'),str+=':'+end},RangeNode.prototype._toTex=function(options){var parens=calculateNecessaryParentheses(this,options&&options.parenthesis?options.parenthesis:"keep"),str=this.start.toTex(options);if(parens.start&&(str="\\left(".concat(str,"\\right)")),this.step){var step=this.step.toTex(options);parens.step&&(step="\\left(".concat(step,"\\right)")),str+=":"+step}var end=this.end.toTex(options);return parens.end&&(end="\\left(".concat(end,"\\right)")),str+=":"+end},RangeNode}),{isClass:!0,isNode:!0});exports.createRangeNode=createRangeNode},{"../../utils/factory.js":941,"../../utils/is.js":943,"../operators.js":632}],628:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRelationalNode=void 0;var _operators=require("../operators.js"),_string=require("../../utils/string.js"),_customs=require("../../utils/customs.js"),_latex=require("../../utils/latex.js"),dependencies=["Node"],createRelationalNode=(0,require("../../utils/factory.js").factory)("RelationalNode",dependencies,(function(_ref){var Node=_ref.Node;function RelationalNode(conditionals,params){if(!(this instanceof RelationalNode))throw new SyntaxError("Constructor must be called with the new operator");if(!Array.isArray(conditionals))throw new TypeError("Parameter conditionals must be an array");if(!Array.isArray(params))throw new TypeError("Parameter params must be an array");if(conditionals.length!==params.length-1)throw new TypeError("Parameter params must contain exactly one more element than parameter conditionals");this.conditionals=conditionals,this.params=params}return RelationalNode.prototype=new Node,RelationalNode.prototype.type="RelationalNode",RelationalNode.prototype.isRelationalNode=!0,RelationalNode.prototype._compile=function(math,argNames){var self=this,compiled=this.params.map((function(p){return p._compile(math,argNames)}));return function evalRelationalNode(scope,args,context){for(var evalLhs,evalRhs=compiled[0](scope,args,context),i=0;i",smallerEq:"<=",largerEq:">="},ret=paramStrings[0],i=0;i('+p.toHTML(options)+')':p.toHTML(options)})),operatorMap={equal:"==",unequal:"!=",smaller:"<",larger:">",smallerEq:"<=",largerEq:">="},ret=paramStrings[0],i=0;i'+(0,_string.escape)(operatorMap[this.conditionals[i]])+""+paramStrings[i+1];return ret},RelationalNode.prototype._toTex=function(options){for(var parenthesis=options&&options.parenthesis?options.parenthesis:"keep",precedence=(0,_operators.getPrecedence)(this,parenthesis),paramStrings=this.params.map((function(p,index){var paramPrecedence=(0,_operators.getPrecedence)(p,parenthesis);return"all"===parenthesis||null!==paramPrecedence&¶mPrecedence<=precedence?"\\left("+p.toTex(options)+"\right)":p.toTex(options)})),ret=paramStrings[0],i=0;i'+name+"":"i"===name?''+name+"":"Infinity"===name?''+name+"":"NaN"===name?''+name+"":"null"===name?''+name+"":"undefined"===name?''+name+"":''+name+""},SymbolNode.prototype.toJSON=function(){return{mathjs:"SymbolNode",name:this.name}},SymbolNode.fromJSON=function(json){return new SymbolNode(json.name)},SymbolNode.prototype._toTex=function(options){var isUnit=!1;void 0===math[this.name]&&isValuelessUnit(this.name)&&(isUnit=!0);var symbol=(0,_latex.toSymbol)(this.name,isUnit);return"\\"===symbol[0]?symbol:" "+symbol},SymbolNode}),{isClass:!0,isNode:!0});exports.createSymbolNode=createSymbolNode},{"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/latex.js":944,"../../utils/string.js":953}],630:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.accessFactory=function accessFactory(_ref){var subset=_ref.subset;return function access(object,index){try{if(Array.isArray(object))return subset(object,index);if(object&&"function"==typeof object.subset)return object.subset(index);if("string"==typeof object)return subset(object,index);if("object"===(0,_typeof2.default)(object)){if(!index.isObjectProperty())throw new TypeError("Cannot apply a numeric index as object property");return(0,_customs.getSafeProperty)(object,index.getObjectProperty())}throw new TypeError("Cannot apply index: unsupported type of object")}catch(err){throw(0,_errorTransform.errorTransform)(err)}}};var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_errorTransform=require("../../transform/utils/errorTransform.js"),_customs=require("../../../utils/customs.js")},{"../../../utils/customs.js":939,"../../transform/utils/errorTransform.js":651,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],631:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.assignFactory=function assignFactory(_ref){var subset=_ref.subset,matrix=_ref.matrix;return function assign(object,index,value){try{if(Array.isArray(object))return matrix(object).subset(index,value).valueOf();if(object&&"function"==typeof object.subset)return object.subset(index,value);if("string"==typeof object)return subset(object,index,value);if("object"===(0,_typeof2.default)(object)){if(!index.isObjectProperty())throw TypeError("Cannot apply a numeric index as object property");return(0,_customs.setSafeProperty)(object,index.getObjectProperty(),value),object}throw new TypeError("Cannot apply index: unsupported type of object")}catch(err){throw(0,_errorTransform.errorTransform)(err)}}};var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_errorTransform=require("../../transform/utils/errorTransform.js"),_customs=require("../../../utils/customs.js")},{"../../../utils/customs.js":939,"../../transform/utils/errorTransform.js":651,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],632:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getPrecedence=getPrecedence,exports.getAssociativity=function getAssociativity(_node,parenthesis){var node=_node;"keep"!==parenthesis&&(node=_node.getContent());var identifier=node.getIdentifier(),index=getPrecedence(node,parenthesis);if(null===index)return null;var property=properties[index][identifier];if((0,_object.hasOwnProperty)(property,"associativity")){if("left"===property.associativity)return"left";if("right"===property.associativity)return"right";throw Error("'"+identifier+"' has the invalid associativity '"+property.associativity+"'.")}return null},exports.isAssociativeWith=function isAssociativeWith(nodeA,nodeB,parenthesis){var a="keep"!==parenthesis?nodeA.getContent():nodeA,b="keep"!==parenthesis?nodeA.getContent():nodeB,identifierA=a.getIdentifier(),identifierB=b.getIdentifier(),index=getPrecedence(a,parenthesis);if(null===index)return null;var property=properties[index][identifierA];if((0,_object.hasOwnProperty)(property,"associativeWith")&&property.associativeWith instanceof Array){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},extraNodes=void 0!==options.nodes?options.nodes:{};return(0,_collection.deepMap)(expressions,(function(elem){if("string"!=typeof elem)throw new TypeError("String expected");return parseStart(elem,extraNodes)}))}var TOKENTYPE_NULL=0,TOKENTYPE_DELIMITER=1,TOKENTYPE_NUMBER=2,TOKENTYPE_SYMBOL=3,TOKENTYPE_UNKNOWN=4,DELIMITERS={",":!0,"(":!0,")":!0,"[":!0,"]":!0,"{":!0,"}":!0,'"':!0,"'":!0,";":!0,"+":!0,"-":!0,"*":!0,".*":!0,"/":!0,"./":!0,"%":!0,"^":!0,".^":!0,"~":!0,"!":!0,"&":!0,"|":!0,"^|":!0,"=":!0,":":!0,"?":!0,"==":!0,"!=":!0,"<":!0,">":!0,"<=":!0,">=":!0,"<<":!0,">>":!0,">>>":!0},NAMED_DELIMITERS={mod:!0,to:!0,in:!0,and:!0,xor:!0,or:!0,not:!0},CONSTANTS={true:!0,false:!1,null:null,undefined:void 0},NUMERIC_CONSTANTS=["NaN","Infinity"];function currentString(state,length){return state.expression.substr(state.index,length)}function currentCharacter(state){return currentString(state,1)}function next(state){state.index++}function prevCharacter(state){return state.expression.charAt(state.index-1)}function nextCharacter(state){return state.expression.charAt(state.index+1)}function getToken(state){for(state.tokenType=TOKENTYPE_NULL,state.token="",state.comment="";parse.isWhitespace(currentCharacter(state),state.nestingLevel);)next(state);if("#"===currentCharacter(state))for(;"\n"!==currentCharacter(state)&&""!==currentCharacter(state);)state.comment+=currentCharacter(state),next(state);if(""!==currentCharacter(state)){if("\n"===currentCharacter(state)&&!state.nestingLevel)return state.tokenType=TOKENTYPE_DELIMITER,state.token=currentCharacter(state),void next(state);var c1=currentCharacter(state),c2=currentString(state,2),c3=currentString(state,3);if(3===c3.length&&DELIMITERS[c3])return state.tokenType=TOKENTYPE_DELIMITER,state.token=c3,next(state),next(state),void next(state);if(2===c2.length&&DELIMITERS[c2])return state.tokenType=TOKENTYPE_DELIMITER,state.token=c2,next(state),void next(state);if(DELIMITERS[c1])return state.tokenType=TOKENTYPE_DELIMITER,state.token=c1,void next(state);if(parse.isDigitDot(c1)){state.tokenType=TOKENTYPE_NUMBER;var _c=currentString(state,2);if("0b"===_c||"0o"===_c||"0x"===_c){for(state.token+=currentCharacter(state),next(state),state.token+=currentCharacter(state),next(state);parse.isHexDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);if("."===currentCharacter(state))for(state.token+=".",next(state);parse.isHexDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);else if("i"===currentCharacter(state))for(state.token+="i",next(state);parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);return}if("."===currentCharacter(state)){if(state.token+=currentCharacter(state),next(state),!parse.isDigit(currentCharacter(state)))return void(state.tokenType=TOKENTYPE_DELIMITER)}else{for(;parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);parse.isDecimalMark(currentCharacter(state),nextCharacter(state))&&(state.token+=currentCharacter(state),next(state))}for(;parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);if("E"===currentCharacter(state)||"e"===currentCharacter(state))if(parse.isDigit(nextCharacter(state))||"-"===nextCharacter(state)||"+"===nextCharacter(state)){if(state.token+=currentCharacter(state),next(state),"+"!==currentCharacter(state)&&"-"!==currentCharacter(state)||(state.token+=currentCharacter(state),next(state)),!parse.isDigit(currentCharacter(state)))throw createSyntaxError(state,'Digit expected, got "'+currentCharacter(state)+'"');for(;parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);if(parse.isDecimalMark(currentCharacter(state),nextCharacter(state)))throw createSyntaxError(state,'Digit expected, got "'+currentCharacter(state)+'"')}else if("."===nextCharacter(state))throw next(state),createSyntaxError(state,'Digit expected, got "'+currentCharacter(state)+'"')}else{if(!parse.isAlpha(currentCharacter(state),prevCharacter(state),nextCharacter(state))){for(state.tokenType=TOKENTYPE_UNKNOWN;""!==currentCharacter(state);)state.token+=currentCharacter(state),next(state);throw createSyntaxError(state,'Syntax error in part "'+state.token+'"')}for(;parse.isAlpha(currentCharacter(state),prevCharacter(state),nextCharacter(state))||parse.isDigit(currentCharacter(state));)state.token+=currentCharacter(state),next(state);(0,_object.hasOwnProperty)(NAMED_DELIMITERS,state.token)?state.tokenType=TOKENTYPE_DELIMITER:state.tokenType=TOKENTYPE_SYMBOL}}else state.tokenType=TOKENTYPE_DELIMITER}function getTokenSkipNewline(state){do{getToken(state)}while("\n"===state.token)}function openParams(state){state.nestingLevel++}function closeParams(state){state.nestingLevel--}function parseStart(expression,extraNodes){var state=function initialState(){return{extraNodes:{},expression:"",comment:"",index:0,token:"",tokenType:TOKENTYPE_NULL,nestingLevel:0,conditionalLevel:null}}();(0,_extends2.default)(state,{expression:expression,extraNodes:extraNodes}),getToken(state);var node=function parseBlock(state){var node,visible,blocks=[];""!==state.token&&"\n"!==state.token&&";"!==state.token&&((node=parseAssignment(state)).comment=state.comment);for(;"\n"===state.token||";"===state.token;)0===blocks.length&&node&&(visible=";"!==state.token,blocks.push({node:node,visible:visible})),getToken(state),"\n"!==state.token&&";"!==state.token&&""!==state.token&&((node=parseAssignment(state)).comment=state.comment,visible=";"!==state.token,blocks.push({node:node,visible:visible}));return blocks.length>0?new BlockNode(blocks):(node||((node=new ConstantNode(void 0)).comment=state.comment),node)}(state);if(""!==state.token)throw state.tokenType===TOKENTYPE_DELIMITER?createError(state,"Unexpected operator "+state.token):createSyntaxError(state,'Unexpected part "'+state.token+'"');return node}function parseAssignment(state){var name,args,value,valid,node=function parseConditional(state){var node=function parseLogicalOr(state){var node=parseLogicalXor(state);for(;"or"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("or","or",[node,parseLogicalXor(state)]);return node}(state);for(;"?"===state.token;){var prev=state.conditionalLevel;state.conditionalLevel=state.nestingLevel,getTokenSkipNewline(state);var condition=node,trueExpr=parseAssignment(state);if(":"!==state.token)throw createSyntaxError(state,"False part of conditional expression expected");state.conditionalLevel=null,getTokenSkipNewline(state);var falseExpr=parseAssignment(state);node=new ConditionalNode(condition,trueExpr,falseExpr),state.conditionalLevel=prev}return node}(state);if("="===state.token){if((0,_is.isSymbolNode)(node))return name=node.name,getTokenSkipNewline(state),value=parseAssignment(state),new AssignmentNode(new SymbolNode(name),value);if((0,_is.isAccessorNode)(node))return getTokenSkipNewline(state),value=parseAssignment(state),new AssignmentNode(node.object,node.index,value);if((0,_is.isFunctionNode)(node)&&(0,_is.isSymbolNode)(node.fn)&&(valid=!0,args=[],name=node.name,node.args.forEach((function(arg,index){(0,_is.isSymbolNode)(arg)?args[index]=arg.name:valid=!1})),valid))return getTokenSkipNewline(state),value=parseAssignment(state),new FunctionAssignmentNode(name,args,value);throw createSyntaxError(state,"Invalid left hand side of assignment operator =")}return node}function parseLogicalXor(state){for(var node=parseLogicalAnd(state);"xor"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("xor","xor",[node,parseLogicalAnd(state)]);return node}function parseLogicalAnd(state){for(var node=parseBitwiseOr(state);"and"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("and","and",[node,parseBitwiseOr(state)]);return node}function parseBitwiseOr(state){for(var node=parseBitwiseXor(state);"|"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("|","bitOr",[node,parseBitwiseXor(state)]);return node}function parseBitwiseXor(state){for(var node=parseBitwiseAnd(state);"^|"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("^|","bitXor",[node,parseBitwiseAnd(state)]);return node}function parseBitwiseAnd(state){for(var node=parseRelational(state);"&"===state.token;)getTokenSkipNewline(state),node=new OperatorNode("&","bitAnd",[node,parseRelational(state)]);return node}function parseRelational(state){for(var params=[parseShift(state)],conditionals=[],operators={"==":"equal","!=":"unequal","<":"smaller",">":"larger","<=":"smallerEq",">=":"largerEq"};(0,_object.hasOwnProperty)(operators,state.token);){var cond={name:state.token,fn:operators[state.token]};conditionals.push(cond),getTokenSkipNewline(state),params.push(parseShift(state))}return 1===params.length?params[0]:2===params.length?new OperatorNode(conditionals[0].name,conditionals[0].fn,params):new RelationalNode(conditionals.map((function(c){return c.fn})),params)}function parseShift(state){var node,name,fn,params;node=parseConversion(state);for(var operators={"<<":"leftShift",">>":"rightArithShift",">>>":"rightLogShift"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),params=[node,parseConversion(state)],node=new OperatorNode(name,fn,params);return node}function parseConversion(state){var node,name,fn,params;node=parseRange(state);for(var operators={to:"to",in:"to"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),"in"===name&&""===state.token?node=new OperatorNode("*","multiply",[node,new SymbolNode("in")],!0):(params=[node,parseRange(state)],node=new OperatorNode(name,fn,params));return node}function parseRange(state){var node,params=[];if(node=":"===state.token?new ConstantNode(1):parseAddSubtract(state),":"===state.token&&state.conditionalLevel!==state.nestingLevel){for(params.push(node);":"===state.token&¶ms.length<3;)getTokenSkipNewline(state),")"===state.token||"]"===state.token||","===state.token||""===state.token?params.push(new SymbolNode("end")):params.push(parseAddSubtract(state));node=3===params.length?new RangeNode(params[0],params[2],params[1]):new RangeNode(params[0],params[1])}return node}function parseAddSubtract(state){var node,name,fn,params;node=parseMultiplyDivide(state);for(var operators={"+":"add","-":"subtract"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),params=[node,parseMultiplyDivide(state)],node=new OperatorNode(name,fn,params);return node}function parseMultiplyDivide(state){var node,last,name,fn;last=node=parseImplicitMultiplication(state);for(var operators={"*":"multiply",".*":"dotMultiply","/":"divide","./":"dotDivide","%":"mod",mod:"mod"};(0,_object.hasOwnProperty)(operators,state.token);)fn=operators[name=state.token],getTokenSkipNewline(state),last=parseImplicitMultiplication(state),node=new OperatorNode(name,fn,[node,last]);return node}function parseImplicitMultiplication(state){var node,last;for(last=node=parseRule2(state);state.tokenType===TOKENTYPE_SYMBOL||"in"===state.token&&(0,_is.isConstantNode)(node)||!(state.tokenType!==TOKENTYPE_NUMBER||(0,_is.isConstantNode)(last)||(0,_is.isOperatorNode)(last)&&"!"!==last.op)||"("===state.token;)last=parseRule2(state),node=new OperatorNode("*","multiply",[node,last],!0);return node}function parseRule2(state){for(var node=parseUnary(state),last=node,tokenStates=[];"/"===state.token&&(0,_is.isConstantNode)(last);){if(tokenStates.push((0,_extends2.default)({},state)),getTokenSkipNewline(state),state.tokenType!==TOKENTYPE_NUMBER){(0,_extends2.default)(state,tokenStates.pop());break}if(tokenStates.push((0,_extends2.default)({},state)),getTokenSkipNewline(state),state.tokenType!==TOKENTYPE_SYMBOL&&"("!==state.token){tokenStates.pop(),(0,_extends2.default)(state,tokenStates.pop());break}(0,_extends2.default)(state,tokenStates.pop()),tokenStates.pop(),last=parseUnary(state),node=new OperatorNode("/","divide",[node,last])}return node}function parseUnary(state){var name,params,fn,operators={"-":"unaryMinus","+":"unaryPlus","~":"bitNot",not:"not"};return(0,_object.hasOwnProperty)(operators,state.token)?(fn=operators[state.token],name=state.token,getTokenSkipNewline(state),params=[parseUnary(state)],new OperatorNode(name,fn,params)):function parsePow(state){var node,name,fn,params;node=function parseLeftHandOperators(state){var node,name,fn;node=function parseCustomNodes(state){var params=[];if(state.tokenType===TOKENTYPE_SYMBOL&&(0,_object.hasOwnProperty)(state.extraNodes,state.token)){var CustomNode=state.extraNodes[state.token];if(getToken(state),"("===state.token){if(params=[],openParams(state),getToken(state),")"!==state.token)for(params.push(parseAssignment(state));","===state.token;)getToken(state),params.push(parseAssignment(state));if(")"!==state.token)throw createSyntaxError(state,"Parenthesis ) expected");closeParams(state),getToken(state)}return new CustomNode(params)}return function parseSymbol(state){var name;if(state.tokenType===TOKENTYPE_SYMBOL||state.tokenType===TOKENTYPE_DELIMITER&&state.token in NAMED_DELIMITERS)return name=state.token,getToken(state),parseAccessors(state,(0,_object.hasOwnProperty)(CONSTANTS,name)?new ConstantNode(CONSTANTS[name]):-1!==NUMERIC_CONSTANTS.indexOf(name)?new ConstantNode(numeric(name,"number")):new SymbolNode(name));return function parseDoubleQuotesString(state){var str;if('"'===state.token)return str=parseDoubleQuotesStringToken(state),parseAccessors(state,new ConstantNode(str));return function parseSingleQuotesString(state){var str;if("'"===state.token)return str=parseSingleQuotesStringToken(state),parseAccessors(state,new ConstantNode(str));return function parseMatrix(state){var array,params,rows,cols;if("["===state.token){if(openParams(state),getToken(state),"]"!==state.token){var row=parseRow(state);if(";"===state.token){for(rows=1,params=[row];";"===state.token;)getToken(state),params[rows]=parseRow(state),rows++;if("]"!==state.token)throw createSyntaxError(state,"End of matrix ] expected");closeParams(state),getToken(state),cols=params[0].items.length;for(var r=1;r0},parse.isDecimalMark=function isDecimalMark(c,cNext){return"."===c&&"/"!==cNext&&"*"!==cNext&&"^"!==cNext},parse.isDigitDot=function isDigitDot(c){return c>="0"&&c<="9"||"."===c},parse.isDigit=function isDigit(c){return c>="0"&&c<="9"},parse.isHexDigit=function isHexDigit(c){return c>="0"&&c<="9"||c>="a"&&c<="f"||c>="A"&&c<="F"},parse}));exports.createParse=createParse},{"../utils/collection.js":937,"../utils/factory.js":941,"../utils/is.js":943,"../utils/object.js":949,"@babel/runtime/helpers/extends":14,"@babel/runtime/helpers/interopRequireDefault":15}],634:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createApplyTransform=void 0;var _errorTransform=require("./utils/errorTransform.js"),_factory=require("../../utils/factory.js"),_apply=require("../../function/matrix/apply.js"),_is=require("../../utils/is.js"),dependencies=["typed","isInteger"],createApplyTransform=(0,_factory.factory)("apply",dependencies,(function(_ref){var typed=_ref.typed,isInteger=_ref.isInteger,apply=(0,_apply.createApply)({typed:typed,isInteger:isInteger});return typed("apply",{"...any":function any(args){var dim=args[1];(0,_is.isNumber)(dim)?args[1]=dim-1:(0,_is.isBigNumber)(dim)&&(args[1]=dim.minus(1));try{return apply.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createApplyTransform=createApplyTransform},{"../../function/matrix/apply.js":747,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],635:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createColumnTransform=void 0;var _errorTransform=require("./utils/errorTransform.js"),_factory=require("../../utils/factory.js"),_column=require("../../function/matrix/column.js"),_is=require("../../utils/is.js"),dependencies=["typed","Index","matrix","range"],createColumnTransform=(0,_factory.factory)("column",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index,matrix=_ref.matrix,range=_ref.range,column=(0,_column.createColumn)({typed:typed,Index:Index,matrix:matrix,range:range});return typed("column",{"...any":function any(args){var lastIndex=args.length-1,last=args[lastIndex];(0,_is.isNumber)(last)&&(args[lastIndex]=last-1);try{return column.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createColumnTransform=createColumnTransform},{"../../function/matrix/column.js":748,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],636:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConcatTransform=void 0;var _is=require("../../utils/is.js"),_errorTransform=require("./utils/errorTransform.js"),_factory=require("../../utils/factory.js"),_concat=require("../../function/matrix/concat.js"),dependencies=["typed","matrix","isInteger"],createConcatTransform=(0,_factory.factory)("concat",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,isInteger=_ref.isInteger,concat=(0,_concat.createConcat)({typed:typed,matrix:matrix,isInteger:isInteger});return typed("concat",{"...any":function any(args){var lastIndex=args.length-1,last=args[lastIndex];(0,_is.isNumber)(last)?args[lastIndex]=last-1:(0,_is.isBigNumber)(last)&&(args[lastIndex]=last.minus(1));try{return concat.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createConcatTransform=createConcatTransform},{"../../function/matrix/concat.js":749,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],637:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDiffTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_diff=require("../../function/matrix/diff.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","matrix","subtract","number","bignumber"],createDiffTransform=(0,_factory.factory)("diff",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,subtract=_ref.subtract,number=_ref.number,bignumber=_ref.bignumber,diff=(0,_diff.createDiff)({typed:typed,matrix:matrix,subtract:subtract,number:number,bignumber:bignumber});return typed("diff",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return diff.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createDiffTransform=createDiffTransform},{"../../function/matrix/diff.js":755,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],638:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFilterTransform=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_function=require("../../utils/function.js"),_compileInlineExpression=require("./utils/compileInlineExpression.js"),dependencies=["typed"],createFilterTransform=(0,require("../../utils/factory.js").factory)("filter",dependencies,(function(_ref){var typed=_ref.typed;function filterTransform(args,math,scope){var x,callback;return args[0]&&(x=args[0].compile().evaluate(scope)),args[1]&&(callback=(0,_is.isSymbolNode)(args[1])||(0,_is.isFunctionAssignmentNode)(args[1])?args[1].compile().evaluate(scope):(0,_compileInlineExpression.compileInlineExpression)(args[1],math,scope)),filter(x,callback)}filterTransform.rawArgs=!0;var filter=typed("filter",{"Array, function":_filter,"Matrix, function":function MatrixFunction(x,test){return x.create(_filter(x.toArray(),test))},"Array, RegExp":_array.filterRegExp,"Matrix, RegExp":function MatrixRegExp(x,test){return x.create((0,_array.filterRegExp)(x.toArray(),test))}});return filterTransform}),{isTransformFunction:!0});function _filter(x,callback){var args=(0,_function.maxArgumentCount)(callback);return(0,_array.filter)(x,(function(value,index,array){return 1===args?callback(value):2===args?callback(value,[index+1]):callback(value,[index+1],array)}))}exports.createFilterTransform=createFilterTransform},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/function.js":942,"../../utils/is.js":943,"./utils/compileInlineExpression.js":650}],639:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createForEachTransform=void 0;var _is=require("../../utils/is.js"),_function=require("../../utils/function.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_compileInlineExpression=require("./utils/compileInlineExpression.js"),dependencies=["typed"],createForEachTransform=(0,_factory.factory)("forEach",dependencies,(function(_ref){var typed=_ref.typed;function forEachTransform(args,math,scope){var x,callback;return args[0]&&(x=args[0].compile().evaluate(scope)),args[1]&&(callback=(0,_is.isSymbolNode)(args[1])||(0,_is.isFunctionAssignmentNode)(args[1])?args[1].compile().evaluate(scope):(0,_compileInlineExpression.compileInlineExpression)(args[1],math,scope)),_forEach(x,callback)}forEachTransform.rawArgs=!0;var _forEach=typed("forEach",{"Array | Matrix, function":function ArrayMatrixFunction(array,callback){var args=(0,_function.maxArgumentCount)(callback);!function recurse(value,index){Array.isArray(value)?(0,_array.forEach)(value,(function(child,i){recurse(child,index.concat(i+1))})):1===args?callback(value):2===args?callback(value,index):callback(value,index,array)}(array.valueOf(),[])}});return forEachTransform}),{isTransformFunction:!0});exports.createForEachTransform=createForEachTransform},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/function.js":942,"../../utils/is.js":943,"./utils/compileInlineExpression.js":650}],640:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIndexTransform=void 0;var _is=require("../../utils/is.js"),dependencies=["Index"],createIndexTransform=(0,require("../../utils/factory.js").factory)("index",dependencies,(function(_ref){var Index=_ref.Index;return function indexTransform(){for(var args=[],i=0,ii=arguments.length;i0?0:2;else if(arg&&!0===arg.isSet)arg=arg.map((function(v){return v-1}));else if((0,_is.isArray)(arg)||(0,_is.isMatrix)(arg))arg=arg.map((function(v){return v-1}));else if((0,_is.isNumber)(arg))arg--;else if((0,_is.isBigNumber)(arg))arg=arg.toNumber()-1;else if("string"!=typeof arg)throw new TypeError("Dimension must be an Array, Matrix, number, string, or Range");args[i]=arg}var res=new Index;return Index.apply(res,args),res}}),{isTransformFunction:!0});exports.createIndexTransform=createIndexTransform},{"../../utils/factory.js":941,"../../utils/is.js":943}],641:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMapTransform=void 0;var _is=require("../../utils/is.js"),_function=require("../../utils/function.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_compileInlineExpression=require("./utils/compileInlineExpression.js"),dependencies=["typed"],createMapTransform=(0,_factory.factory)("map",dependencies,(function(_ref){var typed=_ref.typed;function mapTransform(args,math,scope){var x,callback;return args[0]&&(x=args[0].compile().evaluate(scope)),args[1]&&(callback=(0,_is.isSymbolNode)(args[1])||(0,_is.isFunctionAssignmentNode)(args[1])?args[1].compile().evaluate(scope):(0,_compileInlineExpression.compileInlineExpression)(args[1],math,scope)),map(x,callback)}mapTransform.rawArgs=!0;var map=typed("map",{"Array, function":function ArrayFunction(x,callback){return _map(x,callback,x)},"Matrix, function":function MatrixFunction(x,callback){return x.create(_map(x.valueOf(),callback,x))}});return mapTransform}),{isTransformFunction:!0});function _map(array,callback,orig){var argsCount=(0,_function.maxArgumentCount)(callback);return function recurse(value,index){return Array.isArray(value)?(0,_array.map)(value,(function(child,i){return recurse(child,index.concat(i+1))})):1===argsCount?callback(value):2===argsCount?callback(value,index):callback(value,index,orig)}(array,[])}exports.createMapTransform=createMapTransform},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/function.js":942,"../../utils/is.js":943,"./utils/compileInlineExpression.js":650}],642:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMaxTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_max=require("../../function/statistics/max.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","config","numeric","larger"],createMaxTransform=(0,_factory.factory)("max",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,larger=_ref.larger,max=(0,_max.createMax)({typed:typed,config:config,numeric:numeric,larger:larger});return typed("max",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return max.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createMaxTransform=createMaxTransform},{"../../function/statistics/max.js":824,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],643:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMeanTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_mean=require("../../function/statistics/mean.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","add","divide"],createMeanTransform=(0,_factory.factory)("mean",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide,mean=(0,_mean.createMean)({typed:typed,add:add,divide:divide});return typed("mean",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return mean.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createMeanTransform=createMeanTransform},{"../../function/statistics/mean.js":825,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],644:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMinTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_min=require("../../function/statistics/min.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","config","numeric","smaller"],createMinTransform=(0,_factory.factory)("min",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,smaller=_ref.smaller,min=(0,_min.createMin)({typed:typed,config:config,numeric:numeric,smaller:smaller});return typed("min",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return min.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createMinTransform=createMinTransform},{"../../function/statistics/min.js":827,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],645:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRangeTransform=void 0;var _factory=require("../../utils/factory.js"),_range=require("../../function/matrix/range.js"),dependencies=["typed","config","?matrix","?bignumber","smaller","smallerEq","larger","largerEq"],createRangeTransform=(0,_factory.factory)("range",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,bignumber=_ref.bignumber,smaller=_ref.smaller,smallerEq=_ref.smallerEq,larger=_ref.larger,largerEq=_ref.largerEq,range=(0,_range.createRange)({typed:typed,config:config,matrix:matrix,bignumber:bignumber,smaller:smaller,smallerEq:smallerEq,larger:larger,largerEq:largerEq});return typed("range",{"...any":function any(args){return"boolean"!=typeof args[args.length-1]&&args.push(!0),range.apply(null,args)}})}),{isTransformFunction:!0});exports.createRangeTransform=createRangeTransform},{"../../function/matrix/range.js":774,"../../utils/factory.js":941}],646:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRowTransform=void 0;var _factory=require("../../utils/factory.js"),_row=require("../../function/matrix/row.js"),_errorTransform=require("./utils/errorTransform.js"),_is=require("../../utils/is.js"),dependencies=["typed","Index","matrix","range"],createRowTransform=(0,_factory.factory)("row",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index,matrix=_ref.matrix,range=_ref.range,row=(0,_row.createRow)({typed:typed,Index:Index,matrix:matrix,range:range});return typed("row",{"...any":function any(args){var lastIndex=args.length-1,last=args[lastIndex];(0,_is.isNumber)(last)&&(args[lastIndex]=last-1);try{return row.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createRowTransform=createRowTransform},{"../../function/matrix/row.js":779,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/errorTransform.js":651}],647:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStdTransform=void 0;var _factory=require("../../utils/factory.js"),_std=require("../../function/statistics/std.js"),_errorTransform=require("./utils/errorTransform.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","sqrt","variance"],createStdTransform=(0,_factory.factory)("std",dependencies,(function(_ref){var typed=_ref.typed,sqrt=_ref.sqrt,variance=_ref.variance,std=(0,_std.createStd)({typed:typed,sqrt:sqrt,variance:variance});return typed("std",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return std.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createStdTransform=createStdTransform},{"../../function/statistics/std.js":831,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],648:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubsetTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_subset=require("../../function/matrix/subset.js"),dependencies=["typed","matrix"],createSubsetTransform=(0,_factory.factory)("subset",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,subset=(0,_subset.createSubset)({typed:typed,matrix:matrix});return typed("subset",{"...any":function any(args){try{return subset.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createSubsetTransform=createSubsetTransform},{"../../function/matrix/subset.js":784,"../../utils/factory.js":941,"./utils/errorTransform.js":651}],649:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSumTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_sum=require("../../function/statistics/sum.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","config","add","numeric"],createSumTransform=(0,_factory.factory)("sum",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,add=_ref.add,numeric=_ref.numeric,sum=(0,_sum.createSum)({typed:typed,config:config,add:add,numeric:numeric});return typed("sum",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return sum.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createSumTransform=createSumTransform},{"../../function/statistics/sum.js":832,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],650:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compileInlineExpression=function compileInlineExpression(expression,math,scope){var symbol=expression.filter((function(node){return(0,_is.isSymbolNode)(node)&&!(node.name in math)&&!scope.has(node.name)}))[0];if(!symbol)throw new Error('No undefined variable found in inline expression "'+expression+'"');var name=symbol.name,subScope=(0,_scope.createSubScope)(scope),eq=expression.compile();return function inlineExpression(x){return subScope.set(name,x),eq.evaluate(subScope)}};var _is=require("../../../utils/is.js"),_scope=require("../../../utils/scope.js")},{"../../../utils/is.js":943,"../../../utils/scope.js":952}],651:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.errorTransform=function errorTransform(err){if(err&&err.isIndexError)return new _IndexError.IndexError(err.index+1,err.min+1,void 0!==err.max?err.max+1:void 0);return err};var _IndexError=require("../../../error/IndexError.js")},{"../../../error/IndexError.js":383}],652:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lastDimToZeroBase=function lastDimToZeroBase(args){if(2===args.length&&(0,_is.isCollection)(args[0])){var dim=(args=args.slice())[1];(0,_is.isNumber)(dim)?args[1]=dim-1:(0,_is.isBigNumber)(dim)&&(args[1]=dim.minus(1))}return args};var _is=require("../../../utils/is.js")},{"../../../utils/is.js":943}],653:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createVarianceTransform=void 0;var _factory=require("../../utils/factory.js"),_errorTransform=require("./utils/errorTransform.js"),_variance=require("../../function/statistics/variance.js"),_lastDimToZeroBase=require("./utils/lastDimToZeroBase.js"),dependencies=["typed","add","subtract","multiply","divide","apply","isNaN"],createVarianceTransform=(0,_factory.factory)("variance",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,apply=_ref.apply,isNaN=_ref.isNaN,variance=(0,_variance.createVariance)({typed:typed,add:add,subtract:subtract,multiply:multiply,divide:divide,apply:apply,isNaN:isNaN});return typed("variance",{"...any":function any(args){args=(0,_lastDimToZeroBase.lastDimToZeroBase)(args);try{return variance.apply(null,args)}catch(err){throw(0,_errorTransform.errorTransform)(err)}}})}),{isTransformFunction:!0});exports.createVarianceTransform=createVarianceTransform},{"../../function/statistics/variance.js":834,"../../utils/factory.js":941,"./utils/errorTransform.js":651,"./utils/lastDimToZeroBase.js":652}],654:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"createTyped",{enumerable:!0,get:function get(){return _typed.createTyped}}),Object.defineProperty(exports,"createResultSet",{enumerable:!0,get:function get(){return _ResultSet.createResultSet}}),Object.defineProperty(exports,"createBigNumberClass",{enumerable:!0,get:function get(){return _BigNumber.createBigNumberClass}}),Object.defineProperty(exports,"createComplexClass",{enumerable:!0,get:function get(){return _Complex.createComplexClass}}),Object.defineProperty(exports,"createFractionClass",{enumerable:!0,get:function get(){return _Fraction.createFractionClass}}),Object.defineProperty(exports,"createRangeClass",{enumerable:!0,get:function get(){return _Range.createRangeClass}}),Object.defineProperty(exports,"createMatrixClass",{enumerable:!0,get:function get(){return _Matrix.createMatrixClass}}),Object.defineProperty(exports,"createDenseMatrixClass",{enumerable:!0,get:function get(){return _DenseMatrix.createDenseMatrixClass}}),Object.defineProperty(exports,"createClone",{enumerable:!0,get:function get(){return _clone.createClone}}),Object.defineProperty(exports,"createIsInteger",{enumerable:!0,get:function get(){return _isInteger.createIsInteger}}),Object.defineProperty(exports,"createIsNegative",{enumerable:!0,get:function get(){return _isNegative.createIsNegative}}),Object.defineProperty(exports,"createIsNumeric",{enumerable:!0,get:function get(){return _isNumeric.createIsNumeric}}),Object.defineProperty(exports,"createHasNumericValue",{enumerable:!0,get:function get(){return _hasNumericValue.createHasNumericValue}}),Object.defineProperty(exports,"createIsPositive",{enumerable:!0,get:function get(){return _isPositive.createIsPositive}}),Object.defineProperty(exports,"createIsZero",{enumerable:!0,get:function get(){return _isZero.createIsZero}}),Object.defineProperty(exports,"createIsNaN",{enumerable:!0,get:function get(){return _isNaN.createIsNaN}}),Object.defineProperty(exports,"createTypeOf",{enumerable:!0,get:function get(){return _typeOf.createTypeOf}}),Object.defineProperty(exports,"createEqualScalar",{enumerable:!0,get:function get(){return _equalScalar.createEqualScalar}}),Object.defineProperty(exports,"createSparseMatrixClass",{enumerable:!0,get:function get(){return _SparseMatrix.createSparseMatrixClass}}),Object.defineProperty(exports,"createNumber",{enumerable:!0,get:function get(){return _number.createNumber}}),Object.defineProperty(exports,"createString",{enumerable:!0,get:function get(){return _string.createString}}),Object.defineProperty(exports,"createBoolean",{enumerable:!0,get:function get(){return _boolean.createBoolean}}),Object.defineProperty(exports,"createBignumber",{enumerable:!0,get:function get(){return _bignumber.createBignumber}}),Object.defineProperty(exports,"createComplex",{enumerable:!0,get:function get(){return _complex.createComplex}}),Object.defineProperty(exports,"createFraction",{enumerable:!0,get:function get(){return _fraction.createFraction}}),Object.defineProperty(exports,"createMatrix",{enumerable:!0,get:function get(){return _matrix.createMatrix}}),Object.defineProperty(exports,"createMatrixFromFunction",{enumerable:!0,get:function get(){return _matrixFromFunction.createMatrixFromFunction}}),Object.defineProperty(exports,"createMatrixFromRows",{enumerable:!0,get:function get(){return _matrixFromRows.createMatrixFromRows}}),Object.defineProperty(exports,"createMatrixFromColumns",{enumerable:!0,get:function get(){return _matrixFromColumns.createMatrixFromColumns}}),Object.defineProperty(exports,"createSplitUnit",{enumerable:!0,get:function get(){return _splitUnit.createSplitUnit}}),Object.defineProperty(exports,"createUnaryMinus",{enumerable:!0,get:function get(){return _unaryMinus.createUnaryMinus}}),Object.defineProperty(exports,"createUnaryPlus",{enumerable:!0,get:function get(){return _unaryPlus.createUnaryPlus}}),Object.defineProperty(exports,"createAbs",{enumerable:!0,get:function get(){return _abs.createAbs}}),Object.defineProperty(exports,"createApply",{enumerable:!0,get:function get(){return _apply.createApply}}),Object.defineProperty(exports,"createAddScalar",{enumerable:!0,get:function get(){return _addScalar.createAddScalar}}),Object.defineProperty(exports,"createCbrt",{enumerable:!0,get:function get(){return _cbrt.createCbrt}}),Object.defineProperty(exports,"createCeil",{enumerable:!0,get:function get(){return _ceil.createCeil}}),Object.defineProperty(exports,"createCube",{enumerable:!0,get:function get(){return _cube.createCube}}),Object.defineProperty(exports,"createExp",{enumerable:!0,get:function get(){return _exp.createExp}}),Object.defineProperty(exports,"createExpm1",{enumerable:!0,get:function get(){return _expm.createExpm1}}),Object.defineProperty(exports,"createFix",{enumerable:!0,get:function get(){return _fix.createFix}}),Object.defineProperty(exports,"createFloor",{enumerable:!0,get:function get(){return _floor.createFloor}}),Object.defineProperty(exports,"createGcd",{enumerable:!0,get:function get(){return _gcd.createGcd}}),Object.defineProperty(exports,"createLcm",{enumerable:!0,get:function get(){return _lcm.createLcm}}),Object.defineProperty(exports,"createLog10",{enumerable:!0,get:function get(){return _log.createLog10}}),Object.defineProperty(exports,"createLog2",{enumerable:!0,get:function get(){return _log2.createLog2}}),Object.defineProperty(exports,"createMod",{enumerable:!0,get:function get(){return _mod.createMod}}),Object.defineProperty(exports,"createMultiplyScalar",{enumerable:!0,get:function get(){return _multiplyScalar.createMultiplyScalar}}),Object.defineProperty(exports,"createMultiply",{enumerable:!0,get:function get(){return _multiply.createMultiply}}),Object.defineProperty(exports,"createNthRoot",{enumerable:!0,get:function get(){return _nthRoot.createNthRoot}}),Object.defineProperty(exports,"createSign",{enumerable:!0,get:function get(){return _sign.createSign}}),Object.defineProperty(exports,"createSqrt",{enumerable:!0,get:function get(){return _sqrt.createSqrt}}),Object.defineProperty(exports,"createSquare",{enumerable:!0,get:function get(){return _square.createSquare}}),Object.defineProperty(exports,"createSubtract",{enumerable:!0,get:function get(){return _subtract.createSubtract}}),Object.defineProperty(exports,"createXgcd",{enumerable:!0,get:function get(){return _xgcd.createXgcd}}),Object.defineProperty(exports,"createDotMultiply",{enumerable:!0,get:function get(){return _dotMultiply.createDotMultiply}}),Object.defineProperty(exports,"createBitAnd",{enumerable:!0,get:function get(){return _bitAnd.createBitAnd}}),Object.defineProperty(exports,"createBitNot",{enumerable:!0,get:function get(){return _bitNot.createBitNot}}),Object.defineProperty(exports,"createBitOr",{enumerable:!0,get:function get(){return _bitOr.createBitOr}}),Object.defineProperty(exports,"createBitXor",{enumerable:!0,get:function get(){return _bitXor.createBitXor}}),Object.defineProperty(exports,"createArg",{enumerable:!0,get:function get(){return _arg.createArg}}),Object.defineProperty(exports,"createConj",{enumerable:!0,get:function get(){return _conj.createConj}}),Object.defineProperty(exports,"createIm",{enumerable:!0,get:function get(){return _im.createIm}}),Object.defineProperty(exports,"createRe",{enumerable:!0,get:function get(){return _re.createRe}}),Object.defineProperty(exports,"createNot",{enumerable:!0,get:function get(){return _not.createNot}}),Object.defineProperty(exports,"createOr",{enumerable:!0,get:function get(){return _or.createOr}}),Object.defineProperty(exports,"createXor",{enumerable:!0,get:function get(){return _xor.createXor}}),Object.defineProperty(exports,"createConcat",{enumerable:!0,get:function get(){return _concat.createConcat}}),Object.defineProperty(exports,"createColumn",{enumerable:!0,get:function get(){return _column.createColumn}}),Object.defineProperty(exports,"createCount",{enumerable:!0,get:function get(){return _count.createCount}}),Object.defineProperty(exports,"createCross",{enumerable:!0,get:function get(){return _cross.createCross}}),Object.defineProperty(exports,"createDiag",{enumerable:!0,get:function get(){return _diag.createDiag}}),Object.defineProperty(exports,"createFilter",{enumerable:!0,get:function get(){return _filter.createFilter}}),Object.defineProperty(exports,"createFlatten",{enumerable:!0,get:function get(){return _flatten.createFlatten}}),Object.defineProperty(exports,"createForEach",{enumerable:!0,get:function get(){return _forEach.createForEach}}),Object.defineProperty(exports,"createGetMatrixDataType",{enumerable:!0,get:function get(){return _getMatrixDataType.createGetMatrixDataType}}),Object.defineProperty(exports,"createIdentity",{enumerable:!0,get:function get(){return _identity.createIdentity}}),Object.defineProperty(exports,"createKron",{enumerable:!0,get:function get(){return _kron.createKron}}),Object.defineProperty(exports,"createMap",{enumerable:!0,get:function get(){return _map.createMap}}),Object.defineProperty(exports,"createDiff",{enumerable:!0,get:function get(){return _diff.createDiff}}),Object.defineProperty(exports,"createOnes",{enumerable:!0,get:function get(){return _ones.createOnes}}),Object.defineProperty(exports,"createRange",{enumerable:!0,get:function get(){return _range.createRange}}),Object.defineProperty(exports,"createReshape",{enumerable:!0,get:function get(){return _reshape.createReshape}}),Object.defineProperty(exports,"createResize",{enumerable:!0,get:function get(){return _resize.createResize}}),Object.defineProperty(exports,"createRotate",{enumerable:!0,get:function get(){return _rotate.createRotate}}),Object.defineProperty(exports,"createRotationMatrix",{enumerable:!0,get:function get(){return _rotationMatrix.createRotationMatrix}}),Object.defineProperty(exports,"createRow",{enumerable:!0,get:function get(){return _row.createRow}}),Object.defineProperty(exports,"createSize",{enumerable:!0,get:function get(){return _size.createSize}}),Object.defineProperty(exports,"createSqueeze",{enumerable:!0,get:function get(){return _squeeze.createSqueeze}}),Object.defineProperty(exports,"createSubset",{enumerable:!0,get:function get(){return _subset.createSubset}}),Object.defineProperty(exports,"createTranspose",{enumerable:!0,get:function get(){return _transpose.createTranspose}}),Object.defineProperty(exports,"createCtranspose",{enumerable:!0,get:function get(){return _ctranspose.createCtranspose}}),Object.defineProperty(exports,"createZeros",{enumerable:!0,get:function get(){return _zeros.createZeros}}),Object.defineProperty(exports,"createErf",{enumerable:!0,get:function get(){return _erf.createErf}}),Object.defineProperty(exports,"createMode",{enumerable:!0,get:function get(){return _mode.createMode}}),Object.defineProperty(exports,"createProd",{enumerable:!0,get:function get(){return _prod.createProd}}),Object.defineProperty(exports,"createFormat",{enumerable:!0,get:function get(){return _format.createFormat}}),Object.defineProperty(exports,"createBin",{enumerable:!0,get:function get(){return _bin.createBin}}),Object.defineProperty(exports,"createOct",{enumerable:!0,get:function get(){return _oct.createOct}}),Object.defineProperty(exports,"createHex",{enumerable:!0,get:function get(){return _hex.createHex}}),Object.defineProperty(exports,"createPrint",{enumerable:!0,get:function get(){return _print.createPrint}}),Object.defineProperty(exports,"createTo",{enumerable:!0,get:function get(){return _to.createTo}}),Object.defineProperty(exports,"createIsPrime",{enumerable:!0,get:function get(){return _isPrime.createIsPrime}}),Object.defineProperty(exports,"createNumeric",{enumerable:!0,get:function get(){return _numeric.createNumeric}}),Object.defineProperty(exports,"createDivideScalar",{enumerable:!0,get:function get(){return _divideScalar.createDivideScalar}}),Object.defineProperty(exports,"createPow",{enumerable:!0,get:function get(){return _pow.createPow}}),Object.defineProperty(exports,"createRound",{enumerable:!0,get:function get(){return _round.createRound}}),Object.defineProperty(exports,"createLog",{enumerable:!0,get:function get(){return _log3.createLog}}),Object.defineProperty(exports,"createLog1p",{enumerable:!0,get:function get(){return _log1p.createLog1p}}),Object.defineProperty(exports,"createNthRoots",{enumerable:!0,get:function get(){return _nthRoots.createNthRoots}}),Object.defineProperty(exports,"createDotPow",{enumerable:!0,get:function get(){return _dotPow.createDotPow}}),Object.defineProperty(exports,"createDotDivide",{enumerable:!0,get:function get(){return _dotDivide.createDotDivide}}),Object.defineProperty(exports,"createLsolve",{enumerable:!0,get:function get(){return _lsolve.createLsolve}}),Object.defineProperty(exports,"createUsolve",{enumerable:!0,get:function get(){return _usolve.createUsolve}}),Object.defineProperty(exports,"createLsolveAll",{enumerable:!0,get:function get(){return _lsolveAll.createLsolveAll}}),Object.defineProperty(exports,"createUsolveAll",{enumerable:!0,get:function get(){return _usolveAll.createUsolveAll}}),Object.defineProperty(exports,"createLeftShift",{enumerable:!0,get:function get(){return _leftShift.createLeftShift}}),Object.defineProperty(exports,"createRightArithShift",{enumerable:!0,get:function get(){return _rightArithShift.createRightArithShift}}),Object.defineProperty(exports,"createRightLogShift",{enumerable:!0,get:function get(){return _rightLogShift.createRightLogShift}}),Object.defineProperty(exports,"createAnd",{enumerable:!0,get:function get(){return _and.createAnd}}),Object.defineProperty(exports,"createCompare",{enumerable:!0,get:function get(){return _compare.createCompare}}),Object.defineProperty(exports,"createCompareNatural",{enumerable:!0,get:function get(){return _compareNatural.createCompareNatural}}),Object.defineProperty(exports,"createCompareText",{enumerable:!0,get:function get(){return _compareText.createCompareText}}),Object.defineProperty(exports,"createEqual",{enumerable:!0,get:function get(){return _equal.createEqual}}),Object.defineProperty(exports,"createEqualText",{enumerable:!0,get:function get(){return _equalText.createEqualText}}),Object.defineProperty(exports,"createSmaller",{enumerable:!0,get:function get(){return _smaller.createSmaller}}),Object.defineProperty(exports,"createSmallerEq",{enumerable:!0,get:function get(){return _smallerEq.createSmallerEq}}),Object.defineProperty(exports,"createLarger",{enumerable:!0,get:function get(){return _larger.createLarger}}),Object.defineProperty(exports,"createLargerEq",{enumerable:!0,get:function get(){return _largerEq.createLargerEq}}),Object.defineProperty(exports,"createDeepEqual",{enumerable:!0,get:function get(){return _deepEqual.createDeepEqual}}),Object.defineProperty(exports,"createUnequal",{enumerable:!0,get:function get(){return _unequal.createUnequal}}),Object.defineProperty(exports,"createPartitionSelect",{enumerable:!0,get:function get(){return _partitionSelect.createPartitionSelect}}),Object.defineProperty(exports,"createSort",{enumerable:!0,get:function get(){return _sort.createSort}}),Object.defineProperty(exports,"createMax",{enumerable:!0,get:function get(){return _max.createMax}}),Object.defineProperty(exports,"createMin",{enumerable:!0,get:function get(){return _min.createMin}}),Object.defineProperty(exports,"createImmutableDenseMatrixClass",{enumerable:!0,get:function get(){return _ImmutableDenseMatrix.createImmutableDenseMatrixClass}}),Object.defineProperty(exports,"createIndexClass",{enumerable:!0,get:function get(){return _MatrixIndex.createIndexClass}}),Object.defineProperty(exports,"createFibonacciHeapClass",{enumerable:!0,get:function get(){return _FibonacciHeap.createFibonacciHeapClass}}),Object.defineProperty(exports,"createSpaClass",{enumerable:!0,get:function get(){return _Spa.createSpaClass}}),Object.defineProperty(exports,"createUnitClass",{enumerable:!0,get:function get(){return _Unit.createUnitClass}}),Object.defineProperty(exports,"createUnitFunction",{enumerable:!0,get:function get(){return _unit.createUnitFunction}}),Object.defineProperty(exports,"createSparse",{enumerable:!0,get:function get(){return _sparse.createSparse}}),Object.defineProperty(exports,"createCreateUnit",{enumerable:!0,get:function get(){return _createUnit.createCreateUnit}}),Object.defineProperty(exports,"createAcos",{enumerable:!0,get:function get(){return _acos.createAcos}}),Object.defineProperty(exports,"createAcosh",{enumerable:!0,get:function get(){return _acosh.createAcosh}}),Object.defineProperty(exports,"createAcot",{enumerable:!0,get:function get(){return _acot.createAcot}}),Object.defineProperty(exports,"createAcoth",{enumerable:!0,get:function get(){return _acoth.createAcoth}}),Object.defineProperty(exports,"createAcsc",{enumerable:!0,get:function get(){return _acsc.createAcsc}}),Object.defineProperty(exports,"createAcsch",{enumerable:!0,get:function get(){return _acsch.createAcsch}}),Object.defineProperty(exports,"createAsec",{enumerable:!0,get:function get(){return _asec.createAsec}}),Object.defineProperty(exports,"createAsech",{enumerable:!0,get:function get(){return _asech.createAsech}}),Object.defineProperty(exports,"createAsin",{enumerable:!0,get:function get(){return _asin.createAsin}}),Object.defineProperty(exports,"createAsinh",{enumerable:!0,get:function get(){return _asinh.createAsinh}}),Object.defineProperty(exports,"createAtan",{enumerable:!0,get:function get(){return _atan.createAtan}}),Object.defineProperty(exports,"createAtan2",{enumerable:!0,get:function get(){return _atan2.createAtan2}}),Object.defineProperty(exports,"createAtanh",{enumerable:!0,get:function get(){return _atanh.createAtanh}}),Object.defineProperty(exports,"createCos",{enumerable:!0,get:function get(){return _cos.createCos}}),Object.defineProperty(exports,"createCosh",{enumerable:!0,get:function get(){return _cosh.createCosh}}),Object.defineProperty(exports,"createCot",{enumerable:!0,get:function get(){return _cot.createCot}}),Object.defineProperty(exports,"createCoth",{enumerable:!0,get:function get(){return _coth.createCoth}}),Object.defineProperty(exports,"createCsc",{enumerable:!0,get:function get(){return _csc.createCsc}}),Object.defineProperty(exports,"createCsch",{enumerable:!0,get:function get(){return _csch.createCsch}}),Object.defineProperty(exports,"createSec",{enumerable:!0,get:function get(){return _sec.createSec}}),Object.defineProperty(exports,"createSech",{enumerable:!0,get:function get(){return _sech.createSech}}),Object.defineProperty(exports,"createSin",{enumerable:!0,get:function get(){return _sin.createSin}}),Object.defineProperty(exports,"createSinh",{enumerable:!0,get:function get(){return _sinh.createSinh}}),Object.defineProperty(exports,"createTan",{enumerable:!0,get:function get(){return _tan.createTan}}),Object.defineProperty(exports,"createTanh",{enumerable:!0,get:function get(){return _tanh.createTanh}}),Object.defineProperty(exports,"createSetCartesian",{enumerable:!0,get:function get(){return _setCartesian.createSetCartesian}}),Object.defineProperty(exports,"createSetDifference",{enumerable:!0,get:function get(){return _setDifference.createSetDifference}}),Object.defineProperty(exports,"createSetDistinct",{enumerable:!0,get:function get(){return _setDistinct.createSetDistinct}}),Object.defineProperty(exports,"createSetIntersect",{enumerable:!0,get:function get(){return _setIntersect.createSetIntersect}}),Object.defineProperty(exports,"createSetIsSubset",{enumerable:!0,get:function get(){return _setIsSubset.createSetIsSubset}}),Object.defineProperty(exports,"createSetMultiplicity",{enumerable:!0,get:function get(){return _setMultiplicity.createSetMultiplicity}}),Object.defineProperty(exports,"createSetPowerset",{enumerable:!0,get:function get(){return _setPowerset.createSetPowerset}}),Object.defineProperty(exports,"createSetSize",{enumerable:!0,get:function get(){return _setSize.createSetSize}}),Object.defineProperty(exports,"createSetSymDifference",{enumerable:!0,get:function get(){return _setSymDifference.createSetSymDifference}}),Object.defineProperty(exports,"createSetUnion",{enumerable:!0,get:function get(){return _setUnion.createSetUnion}}),Object.defineProperty(exports,"createAdd",{enumerable:!0,get:function get(){return _add.createAdd}}),Object.defineProperty(exports,"createHypot",{enumerable:!0,get:function get(){return _hypot.createHypot}}),Object.defineProperty(exports,"createNorm",{enumerable:!0,get:function get(){return _norm.createNorm}}),Object.defineProperty(exports,"createDot",{enumerable:!0,get:function get(){return _dot.createDot}}),Object.defineProperty(exports,"createTrace",{enumerable:!0,get:function get(){return _trace.createTrace}}),Object.defineProperty(exports,"createIndex",{enumerable:!0,get:function get(){return _index.createIndex}}),Object.defineProperty(exports,"createNode",{enumerable:!0,get:function get(){return _Node.createNode}}),Object.defineProperty(exports,"createAccessorNode",{enumerable:!0,get:function get(){return _AccessorNode.createAccessorNode}}),Object.defineProperty(exports,"createArrayNode",{enumerable:!0,get:function get(){return _ArrayNode.createArrayNode}}),Object.defineProperty(exports,"createAssignmentNode",{enumerable:!0,get:function get(){return _AssignmentNode.createAssignmentNode}}),Object.defineProperty(exports,"createBlockNode",{enumerable:!0,get:function get(){return _BlockNode.createBlockNode}}),Object.defineProperty(exports,"createConditionalNode",{enumerable:!0,get:function get(){return _ConditionalNode.createConditionalNode}}),Object.defineProperty(exports,"createConstantNode",{enumerable:!0,get:function get(){return _ConstantNode.createConstantNode}}),Object.defineProperty(exports,"createFunctionAssignmentNode",{enumerable:!0,get:function get(){return _FunctionAssignmentNode.createFunctionAssignmentNode}}),Object.defineProperty(exports,"createIndexNode",{enumerable:!0,get:function get(){return _IndexNode.createIndexNode}}),Object.defineProperty(exports,"createObjectNode",{enumerable:!0,get:function get(){return _ObjectNode.createObjectNode}}),Object.defineProperty(exports,"createOperatorNode",{enumerable:!0,get:function get(){return _OperatorNode.createOperatorNode}}),Object.defineProperty(exports,"createParenthesisNode",{enumerable:!0,get:function get(){return _ParenthesisNode.createParenthesisNode}}),Object.defineProperty(exports,"createRangeNode",{enumerable:!0,get:function get(){return _RangeNode.createRangeNode}}),Object.defineProperty(exports,"createRelationalNode",{enumerable:!0,get:function get(){return _RelationalNode.createRelationalNode}}),Object.defineProperty(exports,"createSymbolNode",{enumerable:!0,get:function get(){return _SymbolNode.createSymbolNode}}),Object.defineProperty(exports,"createFunctionNode",{enumerable:!0,get:function get(){return _FunctionNode.createFunctionNode}}),Object.defineProperty(exports,"createParse",{enumerable:!0,get:function get(){return _parse.createParse}}),Object.defineProperty(exports,"createCompile",{enumerable:!0,get:function get(){return _compile.createCompile}}),Object.defineProperty(exports,"createEvaluate",{enumerable:!0,get:function get(){return _evaluate.createEvaluate}}),Object.defineProperty(exports,"createParserClass",{enumerable:!0,get:function get(){return _Parser.createParserClass}}),Object.defineProperty(exports,"createParser",{enumerable:!0,get:function get(){return _parser.createParser}}),Object.defineProperty(exports,"createLup",{enumerable:!0,get:function get(){return _lup.createLup}}),Object.defineProperty(exports,"createQr",{enumerable:!0,get:function get(){return _qr.createQr}}),Object.defineProperty(exports,"createSlu",{enumerable:!0,get:function get(){return _slu.createSlu}}),Object.defineProperty(exports,"createLusolve",{enumerable:!0,get:function get(){return _lusolve.createLusolve}}),Object.defineProperty(exports,"createHelpClass",{enumerable:!0,get:function get(){return _Help.createHelpClass}}),Object.defineProperty(exports,"createChainClass",{enumerable:!0,get:function get(){return _Chain.createChainClass}}),Object.defineProperty(exports,"createHelp",{enumerable:!0,get:function get(){return _help.createHelp}}),Object.defineProperty(exports,"createChain",{enumerable:!0,get:function get(){return _chain.createChain}}),Object.defineProperty(exports,"createDet",{enumerable:!0,get:function get(){return _det.createDet}}),Object.defineProperty(exports,"createInv",{enumerable:!0,get:function get(){return _inv.createInv}}),Object.defineProperty(exports,"createEigs",{enumerable:!0,get:function get(){return _eigs.createEigs}}),Object.defineProperty(exports,"createExpm",{enumerable:!0,get:function get(){return _expm2.createExpm}}),Object.defineProperty(exports,"createSqrtm",{enumerable:!0,get:function get(){return _sqrtm.createSqrtm}}),Object.defineProperty(exports,"createDivide",{enumerable:!0,get:function get(){return _divide.createDivide}}),Object.defineProperty(exports,"createDistance",{enumerable:!0,get:function get(){return _distance.createDistance}}),Object.defineProperty(exports,"createIntersect",{enumerable:!0,get:function get(){return _intersect.createIntersect}}),Object.defineProperty(exports,"createSum",{enumerable:!0,get:function get(){return _sum.createSum}}),Object.defineProperty(exports,"createMean",{enumerable:!0,get:function get(){return _mean.createMean}}),Object.defineProperty(exports,"createMedian",{enumerable:!0,get:function get(){return _median.createMedian}}),Object.defineProperty(exports,"createMad",{enumerable:!0,get:function get(){return _mad.createMad}}),Object.defineProperty(exports,"createVariance",{enumerable:!0,get:function get(){return _variance.createVariance}}),Object.defineProperty(exports,"createQuantileSeq",{enumerable:!0,get:function get(){return _quantileSeq.createQuantileSeq}}),Object.defineProperty(exports,"createStd",{enumerable:!0,get:function get(){return _std.createStd}}),Object.defineProperty(exports,"createCombinations",{enumerable:!0,get:function get(){return _combinations.createCombinations}}),Object.defineProperty(exports,"createCombinationsWithRep",{enumerable:!0,get:function get(){return _combinationsWithRep.createCombinationsWithRep}}),Object.defineProperty(exports,"createGamma",{enumerable:!0,get:function get(){return _gamma.createGamma}}),Object.defineProperty(exports,"createFactorial",{enumerable:!0,get:function get(){return _factorial.createFactorial}}),Object.defineProperty(exports,"createKldivergence",{enumerable:!0,get:function get(){return _kldivergence.createKldivergence}}),Object.defineProperty(exports,"createMultinomial",{enumerable:!0,get:function get(){return _multinomial.createMultinomial}}),Object.defineProperty(exports,"createPermutations",{enumerable:!0,get:function get(){return _permutations.createPermutations}}),Object.defineProperty(exports,"createPickRandom",{enumerable:!0,get:function get(){return _pickRandom.createPickRandom}}),Object.defineProperty(exports,"createRandom",{enumerable:!0,get:function get(){return _random.createRandom}}),Object.defineProperty(exports,"createRandomInt",{enumerable:!0,get:function get(){return _randomInt.createRandomInt}}),Object.defineProperty(exports,"createStirlingS2",{enumerable:!0,get:function get(){return _stirlingS.createStirlingS2}}),Object.defineProperty(exports,"createBellNumbers",{enumerable:!0,get:function get(){return _bellNumbers.createBellNumbers}}),Object.defineProperty(exports,"createCatalan",{enumerable:!0,get:function get(){return _catalan.createCatalan}}),Object.defineProperty(exports,"createComposition",{enumerable:!0,get:function get(){return _composition.createComposition}}),Object.defineProperty(exports,"createSimplify",{enumerable:!0,get:function get(){return _simplify.createSimplify}}),Object.defineProperty(exports,"createDerivative",{enumerable:!0,get:function get(){return _derivative.createDerivative}}),Object.defineProperty(exports,"createRationalize",{enumerable:!0,get:function get(){return _rationalize.createRationalize}}),Object.defineProperty(exports,"createReviver",{enumerable:!0,get:function get(){return _reviver.createReviver}}),Object.defineProperty(exports,"createReplacer",{enumerable:!0,get:function get(){return _replacer.createReplacer}}),Object.defineProperty(exports,"createE",{enumerable:!0,get:function get(){return _constants.createE}}),Object.defineProperty(exports,"createUppercaseE",{enumerable:!0,get:function get(){return _constants.createUppercaseE}}),Object.defineProperty(exports,"createFalse",{enumerable:!0,get:function get(){return _constants.createFalse}}),Object.defineProperty(exports,"createI",{enumerable:!0,get:function get(){return _constants.createI}}),Object.defineProperty(exports,"createInfinity",{enumerable:!0,get:function get(){return _constants.createInfinity}}),Object.defineProperty(exports,"createLN10",{enumerable:!0,get:function get(){return _constants.createLN10}}),Object.defineProperty(exports,"createLN2",{enumerable:!0,get:function get(){return _constants.createLN2}}),Object.defineProperty(exports,"createLOG10E",{enumerable:!0,get:function get(){return _constants.createLOG10E}}),Object.defineProperty(exports,"createLOG2E",{enumerable:!0,get:function get(){return _constants.createLOG2E}}),Object.defineProperty(exports,"createNaN",{enumerable:!0,get:function get(){return _constants.createNaN}}),Object.defineProperty(exports,"createNull",{enumerable:!0,get:function get(){return _constants.createNull}}),Object.defineProperty(exports,"createPhi",{enumerable:!0,get:function get(){return _constants.createPhi}}),Object.defineProperty(exports,"createPi",{enumerable:!0,get:function get(){return _constants.createPi}}),Object.defineProperty(exports,"createUppercasePi",{enumerable:!0,get:function get(){return _constants.createUppercasePi}}),Object.defineProperty(exports,"createSQRT1_2",{enumerable:!0,get:function get(){return _constants.createSQRT1_2}}),Object.defineProperty(exports,"createSQRT2",{enumerable:!0,get:function get(){return _constants.createSQRT2}}),Object.defineProperty(exports,"createTau",{enumerable:!0,get:function get(){return _constants.createTau}}),Object.defineProperty(exports,"createTrue",{enumerable:!0,get:function get(){return _constants.createTrue}}),Object.defineProperty(exports,"createVersion",{enumerable:!0,get:function get(){return _constants.createVersion}}),Object.defineProperty(exports,"createAtomicMass",{enumerable:!0,get:function get(){return _physicalConstants.createAtomicMass}}),Object.defineProperty(exports,"createAvogadro",{enumerable:!0,get:function get(){return _physicalConstants.createAvogadro}}),Object.defineProperty(exports,"createBohrMagneton",{enumerable:!0,get:function get(){return _physicalConstants.createBohrMagneton}}),Object.defineProperty(exports,"createBohrRadius",{enumerable:!0,get:function get(){return _physicalConstants.createBohrRadius}}),Object.defineProperty(exports,"createBoltzmann",{enumerable:!0,get:function get(){return _physicalConstants.createBoltzmann}}),Object.defineProperty(exports,"createClassicalElectronRadius",{enumerable:!0,get:function get(){return _physicalConstants.createClassicalElectronRadius}}),Object.defineProperty(exports,"createConductanceQuantum",{enumerable:!0,get:function get(){return _physicalConstants.createConductanceQuantum}}),Object.defineProperty(exports,"createCoulomb",{enumerable:!0,get:function get(){return _physicalConstants.createCoulomb}}),Object.defineProperty(exports,"createDeuteronMass",{enumerable:!0,get:function get(){return _physicalConstants.createDeuteronMass}}),Object.defineProperty(exports,"createEfimovFactor",{enumerable:!0,get:function get(){return _physicalConstants.createEfimovFactor}}),Object.defineProperty(exports,"createElectricConstant",{enumerable:!0,get:function get(){return _physicalConstants.createElectricConstant}}),Object.defineProperty(exports,"createElectronMass",{enumerable:!0,get:function get(){return _physicalConstants.createElectronMass}}),Object.defineProperty(exports,"createElementaryCharge",{enumerable:!0,get:function get(){return _physicalConstants.createElementaryCharge}}),Object.defineProperty(exports,"createFaraday",{enumerable:!0,get:function get(){return _physicalConstants.createFaraday}}),Object.defineProperty(exports,"createFermiCoupling",{enumerable:!0,get:function get(){return _physicalConstants.createFermiCoupling}}),Object.defineProperty(exports,"createFineStructure",{enumerable:!0,get:function get(){return _physicalConstants.createFineStructure}}),Object.defineProperty(exports,"createFirstRadiation",{enumerable:!0,get:function get(){return _physicalConstants.createFirstRadiation}}),Object.defineProperty(exports,"createGasConstant",{enumerable:!0,get:function get(){return _physicalConstants.createGasConstant}}),Object.defineProperty(exports,"createGravitationConstant",{enumerable:!0,get:function get(){return _physicalConstants.createGravitationConstant}}),Object.defineProperty(exports,"createGravity",{enumerable:!0,get:function get(){return _physicalConstants.createGravity}}),Object.defineProperty(exports,"createHartreeEnergy",{enumerable:!0,get:function get(){return _physicalConstants.createHartreeEnergy}}),Object.defineProperty(exports,"createInverseConductanceQuantum",{enumerable:!0,get:function get(){return _physicalConstants.createInverseConductanceQuantum}}),Object.defineProperty(exports,"createKlitzing",{enumerable:!0,get:function get(){return _physicalConstants.createKlitzing}}),Object.defineProperty(exports,"createLoschmidt",{enumerable:!0,get:function get(){return _physicalConstants.createLoschmidt}}),Object.defineProperty(exports,"createMagneticConstant",{enumerable:!0,get:function get(){return _physicalConstants.createMagneticConstant}}),Object.defineProperty(exports,"createMagneticFluxQuantum",{enumerable:!0,get:function get(){return _physicalConstants.createMagneticFluxQuantum}}),Object.defineProperty(exports,"createMolarMass",{enumerable:!0,get:function get(){return _physicalConstants.createMolarMass}}),Object.defineProperty(exports,"createMolarMassC12",{enumerable:!0,get:function get(){return _physicalConstants.createMolarMassC12}}),Object.defineProperty(exports,"createMolarPlanckConstant",{enumerable:!0,get:function get(){return _physicalConstants.createMolarPlanckConstant}}),Object.defineProperty(exports,"createMolarVolume",{enumerable:!0,get:function get(){return _physicalConstants.createMolarVolume}}),Object.defineProperty(exports,"createNeutronMass",{enumerable:!0,get:function get(){return _physicalConstants.createNeutronMass}}),Object.defineProperty(exports,"createNuclearMagneton",{enumerable:!0,get:function get(){return _physicalConstants.createNuclearMagneton}}),Object.defineProperty(exports,"createPlanckCharge",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckCharge}}),Object.defineProperty(exports,"createPlanckConstant",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckConstant}}),Object.defineProperty(exports,"createPlanckLength",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckLength}}),Object.defineProperty(exports,"createPlanckMass",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckMass}}),Object.defineProperty(exports,"createPlanckTemperature",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckTemperature}}),Object.defineProperty(exports,"createPlanckTime",{enumerable:!0,get:function get(){return _physicalConstants.createPlanckTime}}),Object.defineProperty(exports,"createProtonMass",{enumerable:!0,get:function get(){return _physicalConstants.createProtonMass}}),Object.defineProperty(exports,"createQuantumOfCirculation",{enumerable:!0,get:function get(){return _physicalConstants.createQuantumOfCirculation}}),Object.defineProperty(exports,"createReducedPlanckConstant",{enumerable:!0,get:function get(){return _physicalConstants.createReducedPlanckConstant}}),Object.defineProperty(exports,"createRydberg",{enumerable:!0,get:function get(){return _physicalConstants.createRydberg}}),Object.defineProperty(exports,"createSackurTetrode",{enumerable:!0,get:function get(){return _physicalConstants.createSackurTetrode}}),Object.defineProperty(exports,"createSecondRadiation",{enumerable:!0,get:function get(){return _physicalConstants.createSecondRadiation}}),Object.defineProperty(exports,"createSpeedOfLight",{enumerable:!0,get:function get(){return _physicalConstants.createSpeedOfLight}}),Object.defineProperty(exports,"createStefanBoltzmann",{enumerable:!0,get:function get(){return _physicalConstants.createStefanBoltzmann}}),Object.defineProperty(exports,"createThomsonCrossSection",{enumerable:!0,get:function get(){return _physicalConstants.createThomsonCrossSection}}),Object.defineProperty(exports,"createVacuumImpedance",{enumerable:!0,get:function get(){return _physicalConstants.createVacuumImpedance}}),Object.defineProperty(exports,"createWeakMixingAngle",{enumerable:!0,get:function get(){return _physicalConstants.createWeakMixingAngle}}),Object.defineProperty(exports,"createWienDisplacement",{enumerable:!0,get:function get(){return _physicalConstants.createWienDisplacement}}),Object.defineProperty(exports,"createApplyTransform",{enumerable:!0,get:function get(){return _applyTransform.createApplyTransform}}),Object.defineProperty(exports,"createColumnTransform",{enumerable:!0,get:function get(){return _columnTransform.createColumnTransform}}),Object.defineProperty(exports,"createFilterTransform",{enumerable:!0,get:function get(){return _filterTransform.createFilterTransform}}),Object.defineProperty(exports,"createForEachTransform",{enumerable:!0,get:function get(){return _forEachTransform.createForEachTransform}}),Object.defineProperty(exports,"createIndexTransform",{enumerable:!0,get:function get(){return _indexTransform.createIndexTransform}}),Object.defineProperty(exports,"createMapTransform",{enumerable:!0,get:function get(){return _mapTransform.createMapTransform}}),Object.defineProperty(exports,"createMaxTransform",{enumerable:!0,get:function get(){return _maxTransform.createMaxTransform}}),Object.defineProperty(exports,"createMeanTransform",{enumerable:!0,get:function get(){return _meanTransform.createMeanTransform}}),Object.defineProperty(exports,"createMinTransform",{enumerable:!0,get:function get(){return _minTransform.createMinTransform}}),Object.defineProperty(exports,"createRangeTransform",{enumerable:!0,get:function get(){return _rangeTransform.createRangeTransform}}),Object.defineProperty(exports,"createRowTransform",{enumerable:!0,get:function get(){return _rowTransform.createRowTransform}}),Object.defineProperty(exports,"createSubsetTransform",{enumerable:!0,get:function get(){return _subsetTransform.createSubsetTransform}}),Object.defineProperty(exports,"createConcatTransform",{enumerable:!0,get:function get(){return _concatTransform.createConcatTransform}}),Object.defineProperty(exports,"createDiffTransform",{enumerable:!0,get:function get(){return _diffTransform.createDiffTransform}}),Object.defineProperty(exports,"createStdTransform",{enumerable:!0,get:function get(){return _stdTransform.createStdTransform}}),Object.defineProperty(exports,"createSumTransform",{enumerable:!0,get:function get(){return _sumTransform.createSumTransform}}),Object.defineProperty(exports,"createVarianceTransform",{enumerable:!0,get:function get(){return _varianceTransform.createVarianceTransform}});var _typed=require("./core/function/typed.js"),_ResultSet=require("./type/resultset/ResultSet.js"),_BigNumber=require("./type/bignumber/BigNumber.js"),_Complex=require("./type/complex/Complex.js"),_Fraction=require("./type/fraction/Fraction.js"),_Range=require("./type/matrix/Range.js"),_Matrix=require("./type/matrix/Matrix.js"),_DenseMatrix=require("./type/matrix/DenseMatrix.js"),_clone=require("./function/utils/clone.js"),_isInteger=require("./function/utils/isInteger.js"),_isNegative=require("./function/utils/isNegative.js"),_isNumeric=require("./function/utils/isNumeric.js"),_hasNumericValue=require("./function/utils/hasNumericValue.js"),_isPositive=require("./function/utils/isPositive.js"),_isZero=require("./function/utils/isZero.js"),_isNaN=require("./function/utils/isNaN.js"),_typeOf=require("./function/utils/typeOf.js"),_equalScalar=require("./function/relational/equalScalar.js"),_SparseMatrix=require("./type/matrix/SparseMatrix.js"),_number=require("./type/number.js"),_string=require("./type/string.js"),_boolean=require("./type/boolean.js"),_bignumber=require("./type/bignumber/function/bignumber.js"),_complex=require("./type/complex/function/complex.js"),_fraction=require("./type/fraction/function/fraction.js"),_matrix=require("./type/matrix/function/matrix.js"),_matrixFromFunction=require("./function/matrix/matrixFromFunction.js"),_matrixFromRows=require("./function/matrix/matrixFromRows.js"),_matrixFromColumns=require("./function/matrix/matrixFromColumns.js"),_splitUnit=require("./type/unit/function/splitUnit.js"),_unaryMinus=require("./function/arithmetic/unaryMinus.js"),_unaryPlus=require("./function/arithmetic/unaryPlus.js"),_abs=require("./function/arithmetic/abs.js"),_apply=require("./function/matrix/apply.js"),_addScalar=require("./function/arithmetic/addScalar.js"),_cbrt=require("./function/arithmetic/cbrt.js"),_ceil=require("./function/arithmetic/ceil.js"),_cube=require("./function/arithmetic/cube.js"),_exp=require("./function/arithmetic/exp.js"),_expm=require("./function/arithmetic/expm1.js"),_fix=require("./function/arithmetic/fix.js"),_floor=require("./function/arithmetic/floor.js"),_gcd=require("./function/arithmetic/gcd.js"),_lcm=require("./function/arithmetic/lcm.js"),_log=require("./function/arithmetic/log10.js"),_log2=require("./function/arithmetic/log2.js"),_mod=require("./function/arithmetic/mod.js"),_multiplyScalar=require("./function/arithmetic/multiplyScalar.js"),_multiply=require("./function/arithmetic/multiply.js"),_nthRoot=require("./function/arithmetic/nthRoot.js"),_sign=require("./function/arithmetic/sign.js"),_sqrt=require("./function/arithmetic/sqrt.js"),_square=require("./function/arithmetic/square.js"),_subtract=require("./function/arithmetic/subtract.js"),_xgcd=require("./function/arithmetic/xgcd.js"),_dotMultiply=require("./function/arithmetic/dotMultiply.js"),_bitAnd=require("./function/bitwise/bitAnd.js"),_bitNot=require("./function/bitwise/bitNot.js"),_bitOr=require("./function/bitwise/bitOr.js"),_bitXor=require("./function/bitwise/bitXor.js"),_arg=require("./function/complex/arg.js"),_conj=require("./function/complex/conj.js"),_im=require("./function/complex/im.js"),_re=require("./function/complex/re.js"),_not=require("./function/logical/not.js"),_or=require("./function/logical/or.js"),_xor=require("./function/logical/xor.js"),_concat=require("./function/matrix/concat.js"),_column=require("./function/matrix/column.js"),_count=require("./function/matrix/count.js"),_cross=require("./function/matrix/cross.js"),_diag=require("./function/matrix/diag.js"),_filter=require("./function/matrix/filter.js"),_flatten=require("./function/matrix/flatten.js"),_forEach=require("./function/matrix/forEach.js"),_getMatrixDataType=require("./function/matrix/getMatrixDataType.js"),_identity=require("./function/matrix/identity.js"),_kron=require("./function/matrix/kron.js"),_map=require("./function/matrix/map.js"),_diff=require("./function/matrix/diff.js"),_ones=require("./function/matrix/ones.js"),_range=require("./function/matrix/range.js"),_reshape=require("./function/matrix/reshape.js"),_resize=require("./function/matrix/resize.js"),_rotate=require("./function/matrix/rotate.js"),_rotationMatrix=require("./function/matrix/rotationMatrix.js"),_row=require("./function/matrix/row.js"),_size=require("./function/matrix/size.js"),_squeeze=require("./function/matrix/squeeze.js"),_subset=require("./function/matrix/subset.js"),_transpose=require("./function/matrix/transpose.js"),_ctranspose=require("./function/matrix/ctranspose.js"),_zeros=require("./function/matrix/zeros.js"),_erf=require("./function/special/erf.js"),_mode=require("./function/statistics/mode.js"),_prod=require("./function/statistics/prod.js"),_format=require("./function/string/format.js"),_bin=require("./function/string/bin.js"),_oct=require("./function/string/oct.js"),_hex=require("./function/string/hex.js"),_print=require("./function/string/print.js"),_to=require("./function/unit/to.js"),_isPrime=require("./function/utils/isPrime.js"),_numeric=require("./function/utils/numeric.js"),_divideScalar=require("./function/arithmetic/divideScalar.js"),_pow=require("./function/arithmetic/pow.js"),_round=require("./function/arithmetic/round.js"),_log3=require("./function/arithmetic/log.js"),_log1p=require("./function/arithmetic/log1p.js"),_nthRoots=require("./function/arithmetic/nthRoots.js"),_dotPow=require("./function/arithmetic/dotPow.js"),_dotDivide=require("./function/arithmetic/dotDivide.js"),_lsolve=require("./function/algebra/solver/lsolve.js"),_usolve=require("./function/algebra/solver/usolve.js"),_lsolveAll=require("./function/algebra/solver/lsolveAll.js"),_usolveAll=require("./function/algebra/solver/usolveAll.js"),_leftShift=require("./function/bitwise/leftShift.js"),_rightArithShift=require("./function/bitwise/rightArithShift.js"),_rightLogShift=require("./function/bitwise/rightLogShift.js"),_and=require("./function/logical/and.js"),_compare=require("./function/relational/compare.js"),_compareNatural=require("./function/relational/compareNatural.js"),_compareText=require("./function/relational/compareText.js"),_equal=require("./function/relational/equal.js"),_equalText=require("./function/relational/equalText.js"),_smaller=require("./function/relational/smaller.js"),_smallerEq=require("./function/relational/smallerEq.js"),_larger=require("./function/relational/larger.js"),_largerEq=require("./function/relational/largerEq.js"),_deepEqual=require("./function/relational/deepEqual.js"),_unequal=require("./function/relational/unequal.js"),_partitionSelect=require("./function/matrix/partitionSelect.js"),_sort=require("./function/matrix/sort.js"),_max=require("./function/statistics/max.js"),_min=require("./function/statistics/min.js"),_ImmutableDenseMatrix=require("./type/matrix/ImmutableDenseMatrix.js"),_MatrixIndex=require("./type/matrix/MatrixIndex.js"),_FibonacciHeap=require("./type/matrix/FibonacciHeap.js"),_Spa=require("./type/matrix/Spa.js"),_Unit=require("./type/unit/Unit.js"),_unit=require("./type/unit/function/unit.js"),_sparse=require("./type/matrix/function/sparse.js"),_createUnit=require("./type/unit/function/createUnit.js"),_acos=require("./function/trigonometry/acos.js"),_acosh=require("./function/trigonometry/acosh.js"),_acot=require("./function/trigonometry/acot.js"),_acoth=require("./function/trigonometry/acoth.js"),_acsc=require("./function/trigonometry/acsc.js"),_acsch=require("./function/trigonometry/acsch.js"),_asec=require("./function/trigonometry/asec.js"),_asech=require("./function/trigonometry/asech.js"),_asin=require("./function/trigonometry/asin.js"),_asinh=require("./function/trigonometry/asinh.js"),_atan=require("./function/trigonometry/atan.js"),_atan2=require("./function/trigonometry/atan2.js"),_atanh=require("./function/trigonometry/atanh.js"),_cos=require("./function/trigonometry/cos.js"),_cosh=require("./function/trigonometry/cosh.js"),_cot=require("./function/trigonometry/cot.js"),_coth=require("./function/trigonometry/coth.js"),_csc=require("./function/trigonometry/csc.js"),_csch=require("./function/trigonometry/csch.js"),_sec=require("./function/trigonometry/sec.js"),_sech=require("./function/trigonometry/sech.js"),_sin=require("./function/trigonometry/sin.js"),_sinh=require("./function/trigonometry/sinh.js"),_tan=require("./function/trigonometry/tan.js"),_tanh=require("./function/trigonometry/tanh.js"),_setCartesian=require("./function/set/setCartesian.js"),_setDifference=require("./function/set/setDifference.js"),_setDistinct=require("./function/set/setDistinct.js"),_setIntersect=require("./function/set/setIntersect.js"),_setIsSubset=require("./function/set/setIsSubset.js"),_setMultiplicity=require("./function/set/setMultiplicity.js"),_setPowerset=require("./function/set/setPowerset.js"),_setSize=require("./function/set/setSize.js"),_setSymDifference=require("./function/set/setSymDifference.js"),_setUnion=require("./function/set/setUnion.js"),_add=require("./function/arithmetic/add.js"),_hypot=require("./function/arithmetic/hypot.js"),_norm=require("./function/arithmetic/norm.js"),_dot=require("./function/matrix/dot.js"),_trace=require("./function/matrix/trace.js"),_index=require("./type/matrix/function/index.js"),_Node=require("./expression/node/Node.js"),_AccessorNode=require("./expression/node/AccessorNode.js"),_ArrayNode=require("./expression/node/ArrayNode.js"),_AssignmentNode=require("./expression/node/AssignmentNode.js"),_BlockNode=require("./expression/node/BlockNode.js"),_ConditionalNode=require("./expression/node/ConditionalNode.js"),_ConstantNode=require("./expression/node/ConstantNode.js"),_FunctionAssignmentNode=require("./expression/node/FunctionAssignmentNode.js"),_IndexNode=require("./expression/node/IndexNode.js"),_ObjectNode=require("./expression/node/ObjectNode.js"),_OperatorNode=require("./expression/node/OperatorNode.js"),_ParenthesisNode=require("./expression/node/ParenthesisNode.js"),_RangeNode=require("./expression/node/RangeNode.js"),_RelationalNode=require("./expression/node/RelationalNode.js"),_SymbolNode=require("./expression/node/SymbolNode.js"),_FunctionNode=require("./expression/node/FunctionNode.js"),_parse=require("./expression/parse.js"),_compile=require("./expression/function/compile.js"),_evaluate=require("./expression/function/evaluate.js"),_Parser=require("./expression/Parser.js"),_parser=require("./expression/function/parser.js"),_lup=require("./function/algebra/decomposition/lup.js"),_qr=require("./function/algebra/decomposition/qr.js"),_slu=require("./function/algebra/decomposition/slu.js"),_lusolve=require("./function/algebra/solver/lusolve.js"),_Help=require("./expression/Help.js"),_Chain=require("./type/chain/Chain.js"),_help=require("./expression/function/help.js"),_chain=require("./type/chain/function/chain.js"),_det=require("./function/matrix/det.js"),_inv=require("./function/matrix/inv.js"),_eigs=require("./function/matrix/eigs.js"),_expm2=require("./function/matrix/expm.js"),_sqrtm=require("./function/matrix/sqrtm.js"),_divide=require("./function/arithmetic/divide.js"),_distance=require("./function/geometry/distance.js"),_intersect=require("./function/geometry/intersect.js"),_sum=require("./function/statistics/sum.js"),_mean=require("./function/statistics/mean.js"),_median=require("./function/statistics/median.js"),_mad=require("./function/statistics/mad.js"),_variance=require("./function/statistics/variance.js"),_quantileSeq=require("./function/statistics/quantileSeq.js"),_std=require("./function/statistics/std.js"),_combinations=require("./function/probability/combinations.js"),_combinationsWithRep=require("./function/probability/combinationsWithRep.js"),_gamma=require("./function/probability/gamma.js"),_factorial=require("./function/probability/factorial.js"),_kldivergence=require("./function/probability/kldivergence.js"),_multinomial=require("./function/probability/multinomial.js"),_permutations=require("./function/probability/permutations.js"),_pickRandom=require("./function/probability/pickRandom.js"),_random=require("./function/probability/random.js"),_randomInt=require("./function/probability/randomInt.js"),_stirlingS=require("./function/combinatorics/stirlingS2.js"),_bellNumbers=require("./function/combinatorics/bellNumbers.js"),_catalan=require("./function/combinatorics/catalan.js"),_composition=require("./function/combinatorics/composition.js"),_simplify=require("./function/algebra/simplify.js"),_derivative=require("./function/algebra/derivative.js"),_rationalize=require("./function/algebra/rationalize.js"),_reviver=require("./json/reviver.js"),_replacer=require("./json/replacer.js"),_constants=require("./constants.js"),_physicalConstants=require("./type/unit/physicalConstants.js"),_applyTransform=require("./expression/transform/apply.transform.js"),_columnTransform=require("./expression/transform/column.transform.js"),_filterTransform=require("./expression/transform/filter.transform.js"),_forEachTransform=require("./expression/transform/forEach.transform.js"),_indexTransform=require("./expression/transform/index.transform.js"),_mapTransform=require("./expression/transform/map.transform.js"),_maxTransform=require("./expression/transform/max.transform.js"),_meanTransform=require("./expression/transform/mean.transform.js"),_minTransform=require("./expression/transform/min.transform.js"),_rangeTransform=require("./expression/transform/range.transform.js"),_rowTransform=require("./expression/transform/row.transform.js"),_subsetTransform=require("./expression/transform/subset.transform.js"),_concatTransform=require("./expression/transform/concat.transform.js"),_diffTransform=require("./expression/transform/diff.transform.js"),_stdTransform=require("./expression/transform/std.transform.js"),_sumTransform=require("./expression/transform/sum.transform.js"),_varianceTransform=require("./expression/transform/variance.transform.js")},{"./constants.js":35,"./core/function/typed.js":40,"./expression/Help.js":384,"./expression/Parser.js":385,"./expression/function/compile.js":609,"./expression/function/evaluate.js":610,"./expression/function/help.js":611,"./expression/function/parser.js":612,"./expression/node/AccessorNode.js":614,"./expression/node/ArrayNode.js":615,"./expression/node/AssignmentNode.js":616,"./expression/node/BlockNode.js":617,"./expression/node/ConditionalNode.js":618,"./expression/node/ConstantNode.js":619,"./expression/node/FunctionAssignmentNode.js":620,"./expression/node/FunctionNode.js":621,"./expression/node/IndexNode.js":622,"./expression/node/Node.js":623,"./expression/node/ObjectNode.js":624,"./expression/node/OperatorNode.js":625,"./expression/node/ParenthesisNode.js":626,"./expression/node/RangeNode.js":627,"./expression/node/RelationalNode.js":628,"./expression/node/SymbolNode.js":629,"./expression/parse.js":633,"./expression/transform/apply.transform.js":634,"./expression/transform/column.transform.js":635,"./expression/transform/concat.transform.js":636,"./expression/transform/diff.transform.js":637,"./expression/transform/filter.transform.js":638,"./expression/transform/forEach.transform.js":639,"./expression/transform/index.transform.js":640,"./expression/transform/map.transform.js":641,"./expression/transform/max.transform.js":642,"./expression/transform/mean.transform.js":643,"./expression/transform/min.transform.js":644,"./expression/transform/range.transform.js":645,"./expression/transform/row.transform.js":646,"./expression/transform/std.transform.js":647,"./expression/transform/subset.transform.js":648,"./expression/transform/sum.transform.js":649,"./expression/transform/variance.transform.js":653,"./function/algebra/decomposition/lup.js":655,"./function/algebra/decomposition/qr.js":656,"./function/algebra/decomposition/slu.js":657,"./function/algebra/derivative.js":658,"./function/algebra/rationalize.js":659,"./function/algebra/simplify.js":660,"./function/algebra/solver/lsolve.js":665,"./function/algebra/solver/lsolveAll.js":666,"./function/algebra/solver/lusolve.js":667,"./function/algebra/solver/usolve.js":668,"./function/algebra/solver/usolveAll.js":669,"./function/arithmetic/abs.js":689,"./function/arithmetic/add.js":690,"./function/arithmetic/addScalar.js":691,"./function/arithmetic/cbrt.js":692,"./function/arithmetic/ceil.js":693,"./function/arithmetic/cube.js":694,"./function/arithmetic/divide.js":695,"./function/arithmetic/divideScalar.js":696,"./function/arithmetic/dotDivide.js":697,"./function/arithmetic/dotMultiply.js":698,"./function/arithmetic/dotPow.js":699,"./function/arithmetic/exp.js":700,"./function/arithmetic/expm1.js":701,"./function/arithmetic/fix.js":702,"./function/arithmetic/floor.js":703,"./function/arithmetic/gcd.js":704,"./function/arithmetic/hypot.js":705,"./function/arithmetic/lcm.js":706,"./function/arithmetic/log.js":707,"./function/arithmetic/log10.js":708,"./function/arithmetic/log1p.js":709,"./function/arithmetic/log2.js":710,"./function/arithmetic/mod.js":711,"./function/arithmetic/multiply.js":712,"./function/arithmetic/multiplyScalar.js":713,"./function/arithmetic/norm.js":714,"./function/arithmetic/nthRoot.js":715,"./function/arithmetic/nthRoots.js":716,"./function/arithmetic/pow.js":717,"./function/arithmetic/round.js":718,"./function/arithmetic/sign.js":719,"./function/arithmetic/sqrt.js":720,"./function/arithmetic/square.js":721,"./function/arithmetic/subtract.js":722,"./function/arithmetic/unaryMinus.js":723,"./function/arithmetic/unaryPlus.js":724,"./function/arithmetic/xgcd.js":725,"./function/bitwise/bitAnd.js":726,"./function/bitwise/bitNot.js":727,"./function/bitwise/bitOr.js":728,"./function/bitwise/bitXor.js":729,"./function/bitwise/leftShift.js":730,"./function/bitwise/rightArithShift.js":731,"./function/bitwise/rightLogShift.js":732,"./function/combinatorics/bellNumbers.js":733,"./function/combinatorics/catalan.js":734,"./function/combinatorics/composition.js":735,"./function/combinatorics/stirlingS2.js":736,"./function/complex/arg.js":737,"./function/complex/conj.js":738,"./function/complex/im.js":739,"./function/complex/re.js":740,"./function/geometry/distance.js":741,"./function/geometry/intersect.js":742,"./function/logical/and.js":743,"./function/logical/not.js":744,"./function/logical/or.js":745,"./function/logical/xor.js":746,"./function/matrix/apply.js":747,"./function/matrix/column.js":748,"./function/matrix/concat.js":749,"./function/matrix/count.js":750,"./function/matrix/cross.js":751,"./function/matrix/ctranspose.js":752,"./function/matrix/det.js":753,"./function/matrix/diag.js":754,"./function/matrix/diff.js":755,"./function/matrix/dot.js":756,"./function/matrix/eigs.js":757,"./function/matrix/expm.js":760,"./function/matrix/filter.js":761,"./function/matrix/flatten.js":762,"./function/matrix/forEach.js":763,"./function/matrix/getMatrixDataType.js":764,"./function/matrix/identity.js":765,"./function/matrix/inv.js":766,"./function/matrix/kron.js":767,"./function/matrix/map.js":768,"./function/matrix/matrixFromColumns.js":769,"./function/matrix/matrixFromFunction.js":770,"./function/matrix/matrixFromRows.js":771,"./function/matrix/ones.js":772,"./function/matrix/partitionSelect.js":773,"./function/matrix/range.js":774,"./function/matrix/reshape.js":775,"./function/matrix/resize.js":776,"./function/matrix/rotate.js":777,"./function/matrix/rotationMatrix.js":778,"./function/matrix/row.js":779,"./function/matrix/size.js":780,"./function/matrix/sort.js":781,"./function/matrix/sqrtm.js":782,"./function/matrix/squeeze.js":783,"./function/matrix/subset.js":784,"./function/matrix/trace.js":785,"./function/matrix/transpose.js":786,"./function/matrix/zeros.js":787,"./function/probability/combinations.js":788,"./function/probability/combinationsWithRep.js":789,"./function/probability/factorial.js":790,"./function/probability/gamma.js":791,"./function/probability/kldivergence.js":792,"./function/probability/multinomial.js":793,"./function/probability/permutations.js":794,"./function/probability/pickRandom.js":795,"./function/probability/random.js":796,"./function/probability/randomInt.js":797,"./function/relational/compare.js":800,"./function/relational/compareNatural.js":801,"./function/relational/compareText.js":802,"./function/relational/deepEqual.js":803,"./function/relational/equal.js":804,"./function/relational/equalScalar.js":805,"./function/relational/equalText.js":806,"./function/relational/larger.js":807,"./function/relational/largerEq.js":808,"./function/relational/smaller.js":809,"./function/relational/smallerEq.js":810,"./function/relational/unequal.js":811,"./function/set/setCartesian.js":812,"./function/set/setDifference.js":813,"./function/set/setDistinct.js":814,"./function/set/setIntersect.js":815,"./function/set/setIsSubset.js":816,"./function/set/setMultiplicity.js":817,"./function/set/setPowerset.js":818,"./function/set/setSize.js":819,"./function/set/setSymDifference.js":820,"./function/set/setUnion.js":821,"./function/special/erf.js":822,"./function/statistics/mad.js":823,"./function/statistics/max.js":824,"./function/statistics/mean.js":825,"./function/statistics/median.js":826,"./function/statistics/min.js":827,"./function/statistics/mode.js":828,"./function/statistics/prod.js":829,"./function/statistics/quantileSeq.js":830,"./function/statistics/std.js":831,"./function/statistics/sum.js":832,"./function/statistics/variance.js":834,"./function/string/bin.js":835,"./function/string/format.js":836,"./function/string/hex.js":837,"./function/string/oct.js":838,"./function/string/print.js":839,"./function/trigonometry/acos.js":840,"./function/trigonometry/acosh.js":841,"./function/trigonometry/acot.js":842,"./function/trigonometry/acoth.js":843,"./function/trigonometry/acsc.js":844,"./function/trigonometry/acsch.js":845,"./function/trigonometry/asec.js":846,"./function/trigonometry/asech.js":847,"./function/trigonometry/asin.js":848,"./function/trigonometry/asinh.js":849,"./function/trigonometry/atan.js":850,"./function/trigonometry/atan2.js":851,"./function/trigonometry/atanh.js":852,"./function/trigonometry/cos.js":853,"./function/trigonometry/cosh.js":854,"./function/trigonometry/cot.js":855,"./function/trigonometry/coth.js":856,"./function/trigonometry/csc.js":857,"./function/trigonometry/csch.js":858,"./function/trigonometry/sec.js":859,"./function/trigonometry/sech.js":860,"./function/trigonometry/sin.js":861,"./function/trigonometry/sinh.js":862,"./function/trigonometry/tan.js":863,"./function/trigonometry/tanh.js":864,"./function/unit/to.js":865,"./function/utils/clone.js":866,"./function/utils/hasNumericValue.js":867,"./function/utils/isInteger.js":868,"./function/utils/isNaN.js":869,"./function/utils/isNegative.js":870,"./function/utils/isNumeric.js":871,"./function/utils/isPositive.js":872,"./function/utils/isPrime.js":873,"./function/utils/isZero.js":874,"./function/utils/numeric.js":875,"./function/utils/typeOf.js":876,"./json/replacer.js":878,"./json/reviver.js":879,"./type/bignumber/BigNumber.js":890,"./type/bignumber/function/bignumber.js":891,"./type/boolean.js":892,"./type/chain/Chain.js":893,"./type/chain/function/chain.js":894,"./type/complex/Complex.js":895,"./type/complex/function/complex.js":896,"./type/fraction/Fraction.js":897,"./type/fraction/function/fraction.js":898,"./type/matrix/DenseMatrix.js":899,"./type/matrix/FibonacciHeap.js":900,"./type/matrix/ImmutableDenseMatrix.js":901,"./type/matrix/Matrix.js":902,"./type/matrix/MatrixIndex.js":903,"./type/matrix/Range.js":904,"./type/matrix/Spa.js":905,"./type/matrix/SparseMatrix.js":906,"./type/matrix/function/index.js":907,"./type/matrix/function/matrix.js":908,"./type/matrix/function/sparse.js":909,"./type/number.js":924,"./type/resultset/ResultSet.js":925,"./type/string.js":926,"./type/unit/Unit.js":927,"./type/unit/function/createUnit.js":928,"./type/unit/function/splitUnit.js":929,"./type/unit/function/unit.js":930,"./type/unit/physicalConstants.js":931}],655:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLup=void 0;var _object=require("../../../utils/object.js"),_factory=require("../../../utils/factory.js"),dependencies=["typed","matrix","abs","addScalar","divideScalar","multiplyScalar","subtract","larger","equalScalar","unaryMinus","DenseMatrix","SparseMatrix","Spa"],createLup=(0,_factory.factory)("lup",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,abs=_ref.abs,addScalar=_ref.addScalar,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,subtract=_ref.subtract,larger=_ref.larger,equalScalar=_ref.equalScalar,unaryMinus=_ref.unaryMinus,DenseMatrix=_ref.DenseMatrix,SparseMatrix=_ref.SparseMatrix,Spa=_ref.Spa;return typed("lup",{DenseMatrix:function DenseMatrix(m){return _denseLUP(m)},SparseMatrix:function SparseMatrix(m){return _sparseLUP(m)},Array:function Array(a){var r=_denseLUP(matrix(a));return{L:r.L.valueOf(),U:r.U.valueOf(),p:r.p}}});function _denseLUP(m){var i,j,k,rows=m._size[0],columns=m._size[1],n=Math.min(rows,columns),data=(0,_object.clone)(m._data),ldata=[],lsize=[rows,n],udata=[],usize=[n,columns],p=[];for(i=0;i0)for(i=0;i0&&spa.forEach(0,j-1,(function(k,vkj){SparseMatrix._forEachRow(k,lvalues,lindex,lptr,(function(i,vik){i>k&&spa.accumulate(i,unaryMinus(multiplyScalar(vik,vkj)))}))}));var pi=j,vjj=spa.get(j),pabsv=abs(vjj);spa.forEach(j+1,rows-1,(function(x,v){var absv=abs(v);larger(absv,pabsv)&&(pi=x,pabsv=absv,vjj=v)})),j!==pi&&(SparseMatrix._swapRows(j,pi,lsize[1],lvalues,lindex,lptr),SparseMatrix._swapRows(j,pi,usize[1],uvalues,uindex,uptr),spa.swap(j,pi),function swapIndeces(x,y){var kx=pvOc[x],ky=pvOc[y];pvCo[kx]=y,pvCo[ky]=x,pvOc[x]=ky,pvOc[y]=kx}(j,pi)),spa.forEach(0,rows-1,(function(x,v){x<=j?(uvalues.push(v),uindex.push(x)):(v=divideScalar(v,vjj),equalScalar(v,0)||(lvalues.push(v),lindex.push(x)))}))};for(j=0;j0)for(var zero="Complex"===Rdata[0][0].type?complex(0):0,i=0;i3)throw new Error("Symbolic Ordering and Analysis order must be an integer number in the interval [0, 3]");if(threshold<0||threshold>1)throw new Error("Partial pivoting threshold must be a number from 0 to 1");var s=csSqr(order,a,!1),f=csLu(a,s,threshold);return{L:f.L,U:f.U,p:f.pinv,q:s.q,toString:function toString(){return"L: "+this.L.toString()+"\nU: "+this.U.toString()+"\np: "+this.p.toString()+(this.q?"\nq: "+this.q.toString():"")+"\n"}}}})}));exports.createSlu=createSlu},{"../../../utils/factory.js":941,"../../../utils/number.js":948,"../sparse/csLu.js":679,"../sparse/csSqr.js":686}],658:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDerivative=void 0;var _is=require("../../utils/is.js"),dependencies=["typed","config","parse","simplify","equal","isZero","numeric","ConstantNode","FunctionNode","OperatorNode","ParenthesisNode","SymbolNode"],createDerivative=(0,require("../../utils/factory.js").factory)("derivative",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,parse=_ref.parse,simplify=_ref.simplify,equal=_ref.equal,isZero=_ref.isZero,numeric=_ref.numeric,ConstantNode=_ref.ConstantNode,FunctionNode=_ref.FunctionNode,OperatorNode=_ref.OperatorNode,ParenthesisNode=_ref.ParenthesisNode,SymbolNode=_ref.SymbolNode,derivative=typed("derivative",{"Node, SymbolNode, Object":function NodeSymbolNodeObject(expr,variable,options){var constNodes={};constTag(constNodes,expr,variable.name);var res=_derivative(expr,constNodes);return options.simplify?simplify(res):res},"Node, SymbolNode":function NodeSymbolNode(expr,variable){return this(expr,variable,{simplify:!0})},"string, SymbolNode":function stringSymbolNode(expr,variable){return this(parse(expr),variable)},"string, SymbolNode, Object":function stringSymbolNodeObject(expr,variable,options){return this(parse(expr),variable,options)},"string, string":function stringString(expr,variable){return this(parse(expr),parse(variable))},"string, string, Object":function stringStringObject(expr,variable,options){return this(parse(expr),parse(variable),options)},"Node, string":function NodeString(expr,variable){return this(expr,parse(variable))},"Node, string, Object":function NodeStringObject(expr,variable,options){return this(expr,parse(variable),options)}});derivative._simplify=!0,derivative.toTex=function(deriv){return _derivTex.apply(null,deriv.args)};var _derivTex=typed("_derivTex",{"Node, SymbolNode":function NodeSymbolNode(expr,x){return(0,_is.isConstantNode)(expr)&&"string"===(0,_is.typeOf)(expr.value)?_derivTex(parse(expr.value).toString(),x.toString(),1):_derivTex(expr.toString(),x.toString(),1)},"Node, ConstantNode":function NodeConstantNode(expr,x){if("string"===(0,_is.typeOf)(x.value))return _derivTex(expr,parse(x.value));throw new Error("The second parameter to 'derivative' is a non-string constant")},"Node, SymbolNode, ConstantNode":function NodeSymbolNodeConstantNode(expr,x,order){return _derivTex(expr.toString(),x.name,order.value)},"string, string, number":function stringStringNumber(expr,x,order){return(1===order?"{d\\over d"+x+"}":"{d^{"+order+"}\\over d"+x+"^{"+order+"}}")+"\\left[".concat(expr,"\\right]")}}),constTag=typed("constTag",{"Object, ConstantNode, string":function ObjectConstantNodeString(constNodes,node){return constNodes[node]=!0,!0},"Object, SymbolNode, string":function ObjectSymbolNodeString(constNodes,node,varName){return node.name!==varName&&(constNodes[node]=!0,!0)},"Object, ParenthesisNode, string":function ObjectParenthesisNodeString(constNodes,node,varName){return constTag(constNodes,node.content,varName)},"Object, FunctionAssignmentNode, string":function ObjectFunctionAssignmentNodeString(constNodes,node,varName){return-1===node.params.indexOf(varName)?(constNodes[node]=!0,!0):constTag(constNodes,node.expr,varName)},"Object, FunctionNode | OperatorNode, string":function ObjectFunctionNodeOperatorNodeString(constNodes,node,varName){if(node.args.length>0){for(var isConst=constTag(constNodes,node.args[0],varName),i=1;i0){var nonConstantTerms=node.args.filter((function(arg){return void 0===constNodes[arg]})),nonConstantNode=1===nonConstantTerms.length?nonConstantTerms[0]:new OperatorNode("*","multiply",nonConstantTerms),newArgs=constantTerms.concat(_derivative(nonConstantNode,constNodes));return new OperatorNode("*","multiply",newArgs)}return new OperatorNode("+","add",node.args.map((function(argOuter){return new OperatorNode("*","multiply",node.args.map((function(argInner){return argInner===argOuter?_derivative(argInner,constNodes):argInner.clone()})))})))}if("/"===node.op&&node.isBinary()){var arg0=node.args[0],arg1=node.args[1];return void 0!==constNodes[arg1]?new OperatorNode("/","divide",[_derivative(arg0,constNodes),arg1]):void 0!==constNodes[arg0]?new OperatorNode("*","multiply",[new OperatorNode("-","unaryMinus",[arg0]),new OperatorNode("/","divide",[_derivative(arg1,constNodes),new OperatorNode("^","pow",[arg1.clone(),createConstantNode(2)])])]):new OperatorNode("/","divide",[new OperatorNode("-","subtract",[new OperatorNode("*","multiply",[_derivative(arg0,constNodes),arg1.clone()]),new OperatorNode("*","multiply",[arg0.clone(),_derivative(arg1,constNodes)])]),new OperatorNode("^","pow",[arg1.clone(),createConstantNode(2)])])}if("^"===node.op&&node.isBinary()){var _arg=node.args[0],_arg2=node.args[1];if(void 0!==constNodes[_arg])return(0,_is.isConstantNode)(_arg)&&(isZero(_arg.value)||equal(_arg.value,1))?createConstantNode(0):new OperatorNode("*","multiply",[node,new OperatorNode("*","multiply",[new FunctionNode("log",[_arg.clone()]),_derivative(_arg2.clone(),constNodes)])]);if(void 0!==constNodes[_arg2]){if((0,_is.isConstantNode)(_arg2)){if(isZero(_arg2.value))return createConstantNode(0);if(equal(_arg2.value,1))return _derivative(_arg,constNodes)}var powMinusOne=new OperatorNode("^","pow",[_arg.clone(),new OperatorNode("-","subtract",[_arg2,createConstantNode(1)])]);return new OperatorNode("*","multiply",[_arg2.clone(),new OperatorNode("*","multiply",[_derivative(_arg,constNodes),powMinusOne])])}return new OperatorNode("*","multiply",[new OperatorNode("^","pow",[_arg.clone(),_arg2.clone()]),new OperatorNode("+","add",[new OperatorNode("*","multiply",[_derivative(_arg,constNodes),new OperatorNode("/","divide",[_arg2.clone(),_arg.clone()])]),new OperatorNode("*","multiply",[_derivative(_arg2,constNodes),new FunctionNode("log",[_arg.clone()])])])])}throw new Error('Operator "'+node.op+'" is not supported by derivative, or a wrong number of arguments is passed')}});function createConstantNode(value,valueType){return new ConstantNode(numeric(value,valueType||config.number))}return derivative}));exports.createDerivative=createDerivative},{"../../utils/factory.js":941,"../../utils/is.js":943}],659:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRationalize=void 0;var _number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_simplifyConstant=require("./simplify/simplifyConstant.js"),_simplifyCore=require("./simplify/simplifyCore.js"),dependencies=["config","typed","equal","isZero","add","subtract","multiply","divide","pow","parse","simplify","?bignumber","?fraction","mathWithTransform","ConstantNode","OperatorNode","FunctionNode","SymbolNode","ParenthesisNode"],createRationalize=(0,_factory.factory)("rationalize",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,equal=_ref.equal,isZero=_ref.isZero,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,pow=_ref.pow,parse=_ref.parse,simplify=_ref.simplify,fraction=_ref.fraction,bignumber=_ref.bignumber,mathWithTransform=_ref.mathWithTransform,ConstantNode=_ref.ConstantNode,OperatorNode=_ref.OperatorNode,FunctionNode=_ref.FunctionNode,SymbolNode=_ref.SymbolNode,ParenthesisNode=_ref.ParenthesisNode,simplifyConstant=(0,_simplifyConstant.createSimplifyConstant)({typed:typed,config:config,mathWithTransform:mathWithTransform,fraction:fraction,bignumber:bignumber,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,SymbolNode:SymbolNode}),simplifyCore=(0,_simplifyCore.createSimplifyCore)({equal:equal,isZero:isZero,add:add,subtract:subtract,multiply:multiply,divide:divide,pow:pow,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,ParenthesisNode:ParenthesisNode});return typed("rationalize",{string:function string(expr){return this(parse(expr),{},!1)},"string, boolean":function stringBoolean(expr,detailed){return this(parse(expr),{},detailed)},"string, Object":function stringObject(expr,scope){return this(parse(expr),scope,!1)},"string, Object, boolean":function stringObjectBoolean(expr,scope,detailed){return this(parse(expr),scope,detailed)},Node:function Node(expr){return this(expr,{},!1)},"Node, boolean":function NodeBoolean(expr,detailed){return this(expr,{},detailed)},"Node, Object":function NodeObject(expr,scope){return this(expr,scope,!1)},"Node, Object, boolean":function NodeObjectBoolean(expr,scope,detailed){var setRules=function rulesRationalize(){var oldRules=[simplifyCore,{l:"n+n",r:"2*n"},{l:"n+-n",r:"0"},simplifyConstant,{l:"n*(n1^-1)",r:"n/n1"},{l:"n*n1^-n2",r:"n/n1^n2"},{l:"n1^-1",r:"1/n1"},{l:"n*(n1/n2)",r:"(n*n1)/n2"},{l:"1*n",r:"n"}],rulesFirst=[{l:"(-n1)/(-n2)",r:"n1/n2"},{l:"(-n1)*(-n2)",r:"n1*n2"},{l:"n1--n2",r:"n1+n2"},{l:"n1-n2",r:"n1+(-n2)"},{l:"(n1+n2)*n3",r:"(n1*n3 + n2*n3)"},{l:"n1*(n2+n3)",r:"(n1*n2+n1*n3)"},{l:"c1*n + c2*n",r:"(c1+c2)*n"},{l:"c1*n + n",r:"(c1+1)*n"},{l:"c1*n - c2*n",r:"(c1-c2)*n"},{l:"c1*n - n",r:"(c1-1)*n"},{l:"v/c",r:"(1/c)*v"},{l:"v/-c",r:"-(1/c)*v"},{l:"-v*-c",r:"c*v"},{l:"-v*c",r:"-c*v"},{l:"v*-c",r:"-c*v"},{l:"v*c",r:"c*v"},{l:"-(-n1*n2)",r:"(n1*n2)"},{l:"-(n1*n2)",r:"(-n1*n2)"},{l:"-(-n1+n2)",r:"(n1-n2)"},{l:"-(n1+n2)",r:"(-n1-n2)"},{l:"(n1^n2)^n3",r:"(n1^(n2*n3))"},{l:"-(-n1/n2)",r:"(n1/n2)"},{l:"-(n1/n2)",r:"(-n1/n2)"}],rulesDistrDiv=[{l:"(n1/n2 + n3/n4)",r:"((n1*n4 + n3*n2)/(n2*n4))"},{l:"(n1/n2 + n3)",r:"((n1 + n3*n2)/n2)"},{l:"(n1 + n2/n3)",r:"((n1*n3 + n2)/n3)"}],rulesSucDiv=[{l:"(n1/(n2/n3))",r:"((n1*n3)/n2)"},{l:"(n1/n2/n3)",r:"(n1/(n2*n3))"}],setRules={};return setRules.firstRules=oldRules.concat(rulesFirst,rulesSucDiv),setRules.distrDivRules=rulesDistrDiv,setRules.sucDivRules=rulesSucDiv,setRules.firstRulesAgain=oldRules.concat(rulesFirst),setRules.finalRules=[simplifyCore,{l:"n*-n",r:"-n^2"},{l:"n*n",r:"n^2"},simplifyConstant,{l:"n*-n^n1",r:"-n^(n1+1)"},{l:"n*n^n1",r:"n^(n1+1)"},{l:"n^n1*-n^n2",r:"-n^(n1+n2)"},{l:"n^n1*n^n2",r:"n^(n1+n2)"},{l:"n^n1*-n",r:"-n^(n1+1)"},{l:"n^n1*n",r:"n^(n1+1)"},{l:"n^n1/-n",r:"-n^(n1-1)"},{l:"n^n1/n",r:"n^(n1-1)"},{l:"n/-n^n1",r:"-n^(1-n1)"},{l:"n/n^n1",r:"n^(1-n1)"},{l:"n^n1/-n^n2",r:"n^(n1-n2)"},{l:"n^n1/n^n2",r:"n^(n1-n2)"},{l:"n1+(-n2*n3)",r:"n1-n2*n3"},{l:"v*(-c)",r:"-c*v"},{l:"n1+-n2",r:"n1-n2"},{l:"v*c",r:"c*v"},{l:"(n1^n2)^n3",r:"(n1^(n2*n3))"}],setRules}(),polyRet=function polynomial(expr,scope,extended,rules){var variables=[],node=simplify(expr,rules,scope,{exactFractions:!1}),oper="+-*"+((extended=!!extended)?"/":"");recPoly(node);var retFunc={};return retFunc.expression=node,retFunc.variables=variables,retFunc;function recPoly(node){var tp=node.type;if("FunctionNode"===tp)throw new Error("There is an unsolved function call");if("OperatorNode"===tp)if("^"===node.op){if("ConstantNode"!==node.args[1].type||!(0,_number.isInteger)(parseFloat(node.args[1].value)))throw new Error("There is a non-integer exponent");recPoly(node.args[0])}else{if(-1===oper.indexOf(node.op))throw new Error("Operator "+node.op+" invalid in polynomial expression");for(var i=0;i=1){var sBefore,rules;expr=expandPower(expr);var s,eDistrDiv=!0,redoInic=!1;for(expr=simplify(expr,setRules.firstRules,{},{exactFractions:!1});rules=eDistrDiv?setRules.distrDivRules:setRules.sucDivRules,eDistrDiv=!eDistrDiv,(s=(expr=simplify(expr,rules)).toString())!==sBefore;)redoInic=!0,sBefore=s;redoInic&&(expr=simplify(expr,setRules.firstRulesAgain,{},{exactFractions:!1})),expr=simplify(expr,setRules.finalRules,{},{exactFractions:!1})}var coefficients=[],retRationalize={};return"OperatorNode"===expr.type&&expr.isBinary()&&"/"===expr.op?(1===nVars&&(expr.args[0]=polyToCanonical(expr.args[0],coefficients),expr.args[1]=polyToCanonical(expr.args[1])),detailed&&(retRationalize.numerator=expr.args[0],retRationalize.denominator=expr.args[1])):(1===nVars&&(expr=polyToCanonical(expr,coefficients)),detailed&&(retRationalize.numerator=expr,retRationalize.denominator=null)),detailed?(retRationalize.coefficients=coefficients,retRationalize.variables=polyRet.variables,retRationalize.expression=expr,retRationalize):expr}});function expandPower(node,parent,indParent){var tp=node.type,internal=arguments.length>1;if("OperatorNode"===tp&&node.isBinary()){var val,does=!1;if("^"===node.op&&("ParenthesisNode"!==node.args[0].type&&"OperatorNode"!==node.args[0].type||"ConstantNode"!==node.args[1].type||(does=(val=parseFloat(node.args[1].value))>=2&&(0,_number.isInteger)(val))),does){if(val>2){var nEsqTopo=node.args[0],nDirTopo=new OperatorNode("^","pow",[node.args[0].cloneDeep(),new ConstantNode(val-1)]);node=new OperatorNode("*","multiply",[nEsqTopo,nDirTopo])}else node=new OperatorNode("*","multiply",[node.args[0],node.args[0].cloneDeep()]);internal&&("content"===indParent?parent.content=node:parent.args[indParent]=node)}}if("ParenthesisNode"===tp)expandPower(node.content,node,"content");else if("ConstantNode"!==tp&&"SymbolNode"!==tp)for(var i=0;imaxExpo&&(coefficients[valor]=0),coefficients[valor]+=o.cte*("+"===o.oper?1:-1),void(maxExpo=Math.max(valor,maxExpo))}o.cte=valor,""===o.fire&&(coefficients[0]+=o.cte*("+"===o.oper?1:-1))}}(node,null,o);for(var no,first=!0,i=maxExpo=coefficients.length-1;i>=0;i--)if(0!==coefficients[i]){var n1=new ConstantNode(first?coefficients[i]:Math.abs(coefficients[i])),op=coefficients[i]<0?"-":"+";if(i>0){var n2=new SymbolNode(varname);if(i>1){var n3=new ConstantNode(i);n2=new OperatorNode("^","pow",[n2,n3])}n1=-1===coefficients[i]&&first?new OperatorNode("-","unaryMinus",[n2]):1===Math.abs(coefficients[i])?n2:new OperatorNode("*","multiply",[n1,n2])}no=first?n1:"+"===op?new OperatorNode("+","add",[no,n1]):new OperatorNode("-","subtract",[no,n1]),first=!1}return first?new ConstantNode(0):no}}));exports.createRationalize=createRationalize},{"../../utils/factory.js":941,"../../utils/number.js":948,"./simplify/simplifyConstant.js":662,"./simplify/simplifyCore.js":663}],660:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSimplify=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_util=require("./simplify/util.js"),_simplifyCore=require("./simplify/simplifyCore.js"),_simplifyConstant=require("./simplify/simplifyConstant.js"),_resolve=require("./simplify/resolve.js"),_object=require("../../utils/object.js"),_map=require("../../utils/map.js"),dependencies=["config","typed","parse","add","subtract","multiply","divide","pow","isZero","equal","?fraction","?bignumber","mathWithTransform","ConstantNode","FunctionNode","OperatorNode","ParenthesisNode","SymbolNode"],createSimplify=(0,_factory.factory)("simplify",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,parse=_ref.parse,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,pow=_ref.pow,isZero=_ref.isZero,equal=_ref.equal,fraction=_ref.fraction,bignumber=_ref.bignumber,mathWithTransform=_ref.mathWithTransform,ConstantNode=_ref.ConstantNode,FunctionNode=_ref.FunctionNode,OperatorNode=_ref.OperatorNode,ParenthesisNode=_ref.ParenthesisNode,SymbolNode=_ref.SymbolNode,simplifyConstant=(0,_simplifyConstant.createSimplifyConstant)({typed:typed,config:config,mathWithTransform:mathWithTransform,fraction:fraction,bignumber:bignumber,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,SymbolNode:SymbolNode}),simplifyCore=(0,_simplifyCore.createSimplifyCore)({equal:equal,isZero:isZero,add:add,subtract:subtract,multiply:multiply,divide:divide,pow:pow,ConstantNode:ConstantNode,OperatorNode:OperatorNode,FunctionNode:FunctionNode,ParenthesisNode:ParenthesisNode}),resolve=(0,_resolve.createResolve)({parse:parse,FunctionNode:FunctionNode,OperatorNode:OperatorNode,ParenthesisNode:ParenthesisNode}),_createUtil=(0,_util.createUtil)({FunctionNode:FunctionNode,OperatorNode:OperatorNode,SymbolNode:SymbolNode}),isCommutative=_createUtil.isCommutative,isAssociative=_createUtil.isAssociative,flatten=_createUtil.flatten,unflattenr=_createUtil.unflattenr,unflattenl=_createUtil.unflattenl,createMakeNodeFunction=_createUtil.createMakeNodeFunction,simplify=typed("simplify",{string:function string(expr){return this(parse(expr),this.rules,(0,_map.createEmptyMap)(),{})},"string, Map | Object":function stringMapObject(expr,scope){return this(parse(expr),this.rules,scope,{})},"string, Map | Object, Object":function stringMapObjectObject(expr,scope,options){return this(parse(expr),this.rules,scope,options)},"string, Array":function stringArray(expr,rules){return this(parse(expr),rules,(0,_map.createEmptyMap)(),{})},"string, Array, Map | Object":function stringArrayMapObject(expr,rules,scope){return this(parse(expr),rules,scope,{})},"string, Array, Map | Object, Object":function stringArrayMapObjectObject(expr,rules,scope,options){return this(parse(expr),rules,scope,options)},"Node, Map | Object":function NodeMapObject(expr,scope){return this(expr,this.rules,scope,{})},"Node, Map | Object, Object":function NodeMapObjectObject(expr,scope,options){return this(expr,this.rules,scope,options)},Node:function Node(expr){return this(expr,this.rules,(0,_map.createEmptyMap)(),{})},"Node, Array":function NodeArray(expr,rules){return this(expr,rules,(0,_map.createEmptyMap)(),{})},"Node, Array, Map | Object":function NodeArrayMapObject(expr,rules,scope){return this(expr,rules,scope,{})},"Node, Array, Object, Object":function NodeArrayObjectObject(expr,rules,scope,options){return this(expr,rules,(0,_map.createMap)(scope),options)},"Node, Array, Map, Object":function NodeArrayMapObject(expr,rules,scope,options){rules=function _buildRules(rules){for(var ruleSet=[],i=0;i");if(2!==lr.length)throw SyntaxError("Could not parse rule: "+rule);rule={l:lr[0],r:lr[1]};case"object":if(newRule={l:removeParens(parse(rule.l)),r:removeParens(parse(rule.r))},rule.context&&(newRule.evaluate=rule.context),rule.evaluate&&(newRule.evaluate=parse(rule.evaluate)),isAssociative(newRule.l)){var makeNode=createMakeNodeFunction(newRule.l),expandsym=_getExpandPlaceholderSymbol();newRule.expanded={},newRule.expanded.l=makeNode([newRule.l.clone(),expandsym]),flatten(newRule.expanded.l),unflattenr(newRule.expanded.l),newRule.expanded.r=makeNode([newRule.r,expandsym])}break;case"function":newRule=rule;break;default:throw TypeError("Unsupported type of rule: "+ruleType)}ruleSet.push(newRule)}return ruleSet}(rules);for(var res=resolve(expr,scope),visited={},str=(res=removeParens(res)).toString({parenthesis:"all"});!visited[str];){visited[str]=!0,_lastsym=0;for(var i=0;i=2&&2===rule.args.length){for(var splits=function getSplits(node,context){var right,rightArgs,res=[],makeNode=createMakeNodeFunction(node);if(isCommutative(node,context))for(var i=0;i2)throw Error("Unexpected non-binary associative function: "+rule.toString());return[]}for(var childMatches=[],i=0;i1?(res=foldOp(fn,consts,makeNode,options),vars.unshift(res),res=foldOp(fn,vars,makeNode,options)):res=foldOp(fn,_args,makeNode,options)}else res=foldOp(fn,_args,makeNode,options);else res=foldOp(fn,_args=node.args.map((function(arg){return foldFraction(arg,options)})),makeNode,options);return res;case"ParenthesisNode":return foldFraction(node.content,options);case"AccessorNode":case"ArrayNode":case"AssignmentNode":case"BlockNode":case"FunctionAssignmentNode":case"IndexNode":case"ObjectNode":case"RangeNode":case"ConditionalNode":default:throw new Error("Unimplemented node type in simplifyConstant: ".concat(node.type))}}return function simplifyConstant(expr,options){var res=foldFraction(expr,options);return(0,_is.isNode)(res)?res:_toNode(res)}}));exports.createSimplifyConstant=createSimplifyConstant},{"../../../utils/factory.js":941,"../../../utils/is.js":943,"../../../utils/noop.js":947,"./util.js":664}],663:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSimplifyCore=void 0;var _is=require("../../../utils/is.js"),dependencies=["equal","isZero","add","subtract","multiply","divide","pow","ConstantNode","OperatorNode","FunctionNode","ParenthesisNode"],createSimplifyCore=(0,require("../../../utils/factory.js").factory)("simplifyCore",dependencies,(function(_ref){var equal=_ref.equal,isZero=_ref.isZero,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,pow=_ref.pow,ConstantNode=_ref.ConstantNode,OperatorNode=_ref.OperatorNode,FunctionNode=_ref.FunctionNode,ParenthesisNode=_ref.ParenthesisNode,node0=new ConstantNode(0),node1=new ConstantNode(1);return function simplifyCore(node){if((0,_is.isOperatorNode)(node)&&node.isUnary()){var a0=simplifyCore(node.args[0]);if("+"===node.op)return a0;if("-"===node.op){if((0,_is.isOperatorNode)(a0)){if(a0.isUnary()&&"-"===a0.op)return a0.args[0];if(a0.isBinary()&&"subtract"===a0.fn)return new OperatorNode("-","subtract",[a0.args[1],a0.args[0]])}return new OperatorNode(node.op,node.fn,[a0])}}else if((0,_is.isOperatorNode)(node)&&node.isBinary()){var _a=simplifyCore(node.args[0]),a1=simplifyCore(node.args[1]);if("+"===node.op){if((0,_is.isConstantNode)(_a)){if(isZero(_a.value))return a1;if((0,_is.isConstantNode)(a1))return new ConstantNode(add(_a.value,a1.value))}return(0,_is.isConstantNode)(a1)&&isZero(a1.value)?_a:(0,_is.isOperatorNode)(a1)&&a1.isUnary()&&"-"===a1.op?new OperatorNode("-","subtract",[_a,a1.args[0]]):new OperatorNode(node.op,node.fn,a1?[_a,a1]:[_a])}if("-"===node.op){if((0,_is.isConstantNode)(_a)&&a1){if((0,_is.isConstantNode)(a1))return new ConstantNode(subtract(_a.value,a1.value));if(isZero(_a.value))return new OperatorNode("-","unaryMinus",[a1])}if("subtract"===node.fn)return(0,_is.isConstantNode)(a1)&&isZero(a1.value)?_a:(0,_is.isOperatorNode)(a1)&&a1.isUnary()&&"-"===a1.op?simplifyCore(new OperatorNode("+","add",[_a,a1.args[0]])):new OperatorNode(node.op,node.fn,[_a,a1])}else{if("*"===node.op){if((0,_is.isConstantNode)(_a)){if(isZero(_a.value))return node0;if(equal(_a.value,1))return a1;if((0,_is.isConstantNode)(a1))return new ConstantNode(multiply(_a.value,a1.value))}if((0,_is.isConstantNode)(a1)){if(isZero(a1.value))return node0;if(equal(a1.value,1))return _a;if((0,_is.isOperatorNode)(_a)&&_a.isBinary()&&_a.op===node.op){var a00=_a.args[0];if((0,_is.isConstantNode)(a00)){var a00a1=new ConstantNode(multiply(a00.value,a1.value));return new OperatorNode(node.op,node.fn,[a00a1,_a.args[1]],node.implicit)}}return new OperatorNode(node.op,node.fn,[a1,_a],node.implicit)}return new OperatorNode(node.op,node.fn,[_a,a1],node.implicit)}if("/"===node.op){if((0,_is.isConstantNode)(_a)){if(isZero(_a.value))return node0;if((0,_is.isConstantNode)(a1)&&(equal(a1.value,1)||equal(a1.value,2)||equal(a1.value,4)))return new ConstantNode(divide(_a.value,a1.value))}return new OperatorNode(node.op,node.fn,[_a,a1])}if("^"===node.op){if((0,_is.isConstantNode)(a1)){if(isZero(a1.value))return node1;if(equal(a1.value,1))return _a;if((0,_is.isConstantNode)(_a))return new ConstantNode(pow(_a.value,a1.value));if((0,_is.isOperatorNode)(_a)&&_a.isBinary()&&"^"===_a.op){var a01=_a.args[1];if((0,_is.isConstantNode)(a01))return new OperatorNode(node.op,node.fn,[_a.args[0],new ConstantNode(multiply(a01.value,a1.value))])}}return new OperatorNode(node.op,node.fn,[_a,a1])}}}else{if((0,_is.isParenthesisNode)(node)){var c=simplifyCore(node.content);return(0,_is.isParenthesisNode)(c)||(0,_is.isSymbolNode)(c)||(0,_is.isConstantNode)(c)?c:new ParenthesisNode(c)}if((0,_is.isFunctionNode)(node)){var args=node.args.map(simplifyCore).map((function(arg){return(0,_is.isParenthesisNode)(arg)?arg.content:arg}));return new FunctionNode(simplifyCore(node.fn),args)}}return node}}));exports.createSimplifyCore=createSimplifyCore},{"../../../utils/factory.js":941,"../../../utils/is.js":943}],664:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUtil=void 0;var _is=require("../../../utils/is.js"),_factory=require("../../../utils/factory.js"),_object=require("../../../utils/object.js"),dependencies=["FunctionNode","OperatorNode","SymbolNode"],createUtil=(0,_factory.factory)("simplifyUtil",dependencies,(function(_ref){var FunctionNode=_ref.FunctionNode,OperatorNode=_ref.OperatorNode,SymbolNode=_ref.SymbolNode,commutative={add:!0,multiply:!0},associative={add:!0,multiply:!0};function isAssociative(node,context){if(!(0,_is.isOperatorNode)(node))return!1;var name=node.fn.toString();return context&&(0,_object.hasOwnProperty)(context,name)&&(0,_object.hasOwnProperty)(context[name],"associative")?context[name].associative:associative[name]||!1}function allChildren(node){var op,children=[];return isAssociative(node)?(op=node.op,function findChildren(node){for(var i=0;i2&&isAssociative(node)){for(var curnode=node.args.pop();node.args.length>0;)curnode=makeNode([node.args.pop(),curnode]);node.args=curnode.args}}},unflattenl:function unflattenl(node){if(node.args&&0!==node.args.length){for(var makeNode=createMakeNodeFunction(node),l=node.args.length,i=0;i2&&isAssociative(node)){for(var curnode=node.args.shift();node.args.length>0;)curnode=makeNode([curnode,node.args.shift()]);node.args=curnode.args}}}}}));exports.createUtil=createUtil},{"../../../utils/factory.js":941,"../../../utils/is.js":943,"../../../utils/object.js":949}],665:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLsolve=void 0;var _factory=require("../../../utils/factory.js"),_solveValidation=require("./utils/solveValidation.js"),dependencies=["typed","matrix","divideScalar","multiplyScalar","subtract","equalScalar","DenseMatrix"],createLsolve=(0,_factory.factory)("lsolve",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,subtract=_ref.subtract,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,solveValidation=(0,_solveValidation.createSolveValidation)({DenseMatrix:DenseMatrix});return typed("lsolve",{"SparseMatrix, Array | Matrix":function SparseMatrixArrayMatrix(m,b){return function _sparseForwardSubstitution(m,b){for(var bdata=(b=solveValidation(m,b,!0))._data,rows=m._size[0],columns=m._size[1],values=m._values,index=m._index,ptr=m._ptr,x=[],j=0;jj&&(jValues.push(values[k]),jIndices.push(i))}if(equalScalar(vjj,0))throw new Error("Linear system cannot be solved since matrix is singular");for(var xj=divideScalar(bj,vjj),_k=0,l=jIndices.length;_ki&&(iValues.push(values[j]),iIndices.push(J))}if(equalScalar(Mii,0))if(equalScalar(b[i],0)){if(0===k){var bNew=(0,_toConsumableArray2.default)(b);bNew[i]=1;for(var _j3=0,_lastIndex2=iIndices.length;_j3<_lastIndex2;_j3++){var _J2=iIndices[_j3];bNew[_J2]=subtract(bNew[_J2],iValues[_j3])}B.push(bNew)}}else{if(0===k)return[];B.splice(k,1),k-=1,L-=1}else{b[i]=divideScalar(b[i],Mii);for(var _j2=0,_lastIndex=iIndices.length;_j2<_lastIndex;_j2++){var _J=iIndices[_j2];b[_J]=subtract(b[_J],multiplyScalar(b[i],iValues[_j2]))}}}return B.map((function(x){return new DenseMatrix({data:x.map((function(e){return[e]})),size:[rows,1]})}))}(m,b)},"DenseMatrix, Array | Matrix":function DenseMatrixArrayMatrix(m,b){return _denseForwardSubstitution(m,b)},"Array, Array | Matrix":function ArrayArrayMatrix(a,b){return _denseForwardSubstitution(matrix(a),b).map((function(r){return r.valueOf()}))}});function _denseForwardSubstitution(m,b_){for(var B=[solveValidation(m,b_,!0)._data.map((function(e){return e[0]}))],M=m._data,rows=m._size[0],columns=m._size[1],i=0;i=0;j--){var bj=bdata[j][0]||0;if(equalScalar(bj,0))x[j]=[0];else{for(var vjj=0,jValues=[],jIndices=[],firstIndex=ptr[j],k=ptr[j+1]-1;k>=firstIndex;k--){var i=index[k];i===j?vjj=values[k]:i=0;j--){var bj=bdata[j][0]||0,xj=void 0;if(equalScalar(bj,0))xj=0;else{var vjj=mdata[j][j];if(equalScalar(vjj,0))throw new Error("Linear system cannot be solved since matrix is singular");xj=divideScalar(bj,vjj);for(var i=j-1;i>=0;i--)bdata[i]=[subtract(bdata[i][0]||0,multiplyScalar(xj,mdata[i][j]))]}x[j]=[xj]}return new DenseMatrix({data:x,size:[rows,1]})}}));exports.createUsolve=createUsolve},{"../../../utils/factory.js":941,"./utils/solveValidation.js":670}],669:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUsolveAll=void 0;var _toConsumableArray2=_interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")),_factory=require("../../../utils/factory.js"),_solveValidation=require("./utils/solveValidation.js"),dependencies=["typed","matrix","divideScalar","multiplyScalar","subtract","equalScalar","DenseMatrix"],createUsolveAll=(0,_factory.factory)("usolveAll",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,subtract=_ref.subtract,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,solveValidation=(0,_solveValidation.createSolveValidation)({DenseMatrix:DenseMatrix});return typed("usolveAll",{"SparseMatrix, Array | Matrix":function SparseMatrixArrayMatrix(m,b){return function _sparseBackwardSubstitution(m,b_){for(var B=[solveValidation(m,b_,!0)._data.map((function(e){return e[0]}))],rows=m._size[0],columns=m._size[1],values=m._values,index=m._index,ptr=m._ptr,i=columns-1;i>=0;i--)for(var L=B.length,k=0;k=firstIndex;j--){var J=index[j];J===i?Mii=values[j]:J=0;i--)for(var L=B.length,k=0;k=0;_j--)bNew[_j]=subtract(bNew[_j],M[_j][i]);B.push(bNew)}}else{if(0===k)return[];B.splice(k,1),k-=1,L-=1}else{b[i]=divideScalar(b[i],M[i][i]);for(var j=i-1;j>=0;j--)b[j]=subtract(b[j],multiplyScalar(b[i],M[j][i]))}}return B.map((function(x){return new DenseMatrix({data:x.map((function(e){return[e]})),size:[rows,1]})}))}}));exports.createUsolveAll=createUsolveAll},{"../../../utils/factory.js":941,"./utils/solveValidation.js":670,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/toConsumableArray":21}],670:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSolveValidation=function createSolveValidation(_ref){var DenseMatrix=_ref.DenseMatrix;return function solveValidation(m,b,copy){var mSize=m.size();if(2!==mSize.length)throw new RangeError("Matrix must be two dimensional (size: "+(0,_string.format)(mSize)+")");var rows=mSize[0];if(rows!==mSize[1])throw new RangeError("Matrix must be square (size: "+(0,_string.format)(mSize)+")");var data=[];if((0,_is.isMatrix)(b)){var bSize=b.size(),bdata=b._data;if(1===bSize.length){if(bSize[0]!==rows)throw new RangeError("Dimension mismatch. Matrix columns must match vector length.");for(var i=0;i3)return null;var asize=a._size,m=asize[0],n=asize[1],lemax=0,dense=Math.max(16,10*Math.sqrt(n)),cm=function _createTargetMatrix(order,a,m,n,dense){var at=transpose(a);if(1===order&&n===m)return add(a,at);if(2===order){for(var tindex=at._index,tptr=at._ptr,p2=0,j=0;jdense))for(var p1=tptr[j+1];pdense)W[nv+i]=0,W[elen+i]=-1,nel++,cptr[i]=(0,_csFlip.csFlip)(n),W[nv+n]++;else{var h=W[head+d];-1!==h&&(last[h]=i),W[next+i]=W[head+d],W[head+d]=i}}return nel}(n,cptr,W,degree,elen,w,dense,nv,head,last,next),mindeg=0;nelelenk?(e=k,pj=p,ln=W[0+k]-elenk):(pj=cptr[e=cindex[p++]],ln=W[0+e]),k2=1;k2<=ln;k2++)(nvi=W[nv+(i=cindex[pj++])])<=0||(dk+=nvi,W[nv+i]=-nvi,cindex[pk2++]=i,-1!==W[next+i]&&(last[W[next+i]]=last[i]),-1!==last[i]?W[next+last[i]]=W[next+i]:W[head+W[degree+i]]=W[next+i]);e!==k&&(cptr[e]=(0,_csFlip.csFlip)(k),W[w+e]=0)}for(0!==elenk&&(cnz=pk2),W[degree+k]=dk,cptr[k]=pk1,W[0+k]=pk2-pk1,W[elen+k]=-2,mark=_wclear(mark,lemax,W,w,n),pk=pk1;pk=mark?W[w+e]-=nvi:0!==W[w+e]&&(W[w+e]=W[degree+e]+wnvi)}for(pk=pk1;pk0?(d+=dext,cindex[pn++]=e,h+=e):(cptr[e]=(0,_csFlip.csFlip)(k),W[w+e]=0)}W[elen+i]=pn-p1+1;var p3=pn,p4=p1+W[0+i];for(p=p2+1;p=0))for(i=W[hhead+(h=last[i])],W[hhead+h]=-1;-1!==i&&-1!==W[next+i];i=W[next+i],mark++){for(ln=W[0+i],eln=W[elen+i],p=cptr[i]+1;p<=cptr[i]+ln-1;p++)W[w+cindex[p]]=mark;var jlast=i;for(j=W[next+i];-1!==j;){var ok=W[0+j]===ln&&W[elen+j]===eln;for(p=cptr[j]+1;ok&&p<=cptr[j]+ln-1;p++)W[w+cindex[p]]!==mark&&(ok=0);ok?(cptr[j]=(0,_csFlip.csFlip)(i),W[nv+i]+=W[nv+j],W[nv+j]=0,W[elen+j]=-1,j=W[next+j],W[next+jlast]=j):(jlast=j,j=W[next+j])}}for(p=pk1,pk=pk1;pk=0;j--)W[nv+j]>0||(W[next+j]=W[head+cptr[j]],W[head+cptr[j]]=j);for(e=n;e>=0;e--)W[nv+e]<=0||-1!==cptr[e]&&(W[next+e]=W[head+cptr[e]],W[head+cptr[e]]=e);for(k=0,i=0;i<=n;i++)-1===cptr[i]&&(k=(0,_csTdfs.csTdfs)(i,k,W,head,next,P,w));return P.splice(P.length-1,1),P};function _wclear(mark,lemax,W,w,n){if(mark<2||mark+lemax<0){for(var k=0;k=1&&colcount[j]++,2===r.jleaf&&colcount[r.q]--}-1!==parent[j]&&(w[0+j]=parent[j])}for(j=0;j=0;){j=xi[head];var jnew=pinv?pinv[j]:j;(0,_csMarked.csMarked)(ptr,j)||((0,_csMark.csMark)(ptr,j),xi[n+head]=jnew<0?0:(0,_csUnflip.csUnflip)(ptr[jnew]));var done=1;for(p=xi[n+head],p2=jnew<0?0:(0,_csUnflip.csUnflip)(ptr[jnew+1]);p=0;j--)-1!==parent[j]&&(w[next+j]=w[0+parent[j]],w[0+parent[j]]=j);for(j=0;j=0;k--)for(p0=aptr[k],p1=aptr[k+1],p=p0;p=0;i--)pinv[i]=-1,-1!==(k=leftmost[i])&&(0==w[nque+k]++&&(w[tail+k]=i),w[next+i]=w[head+k],w[head+k]=i);for(s.lnz=0,s.m2=m,k=0;k=0;){var p=w[stack+top],i=w[head+p];-1===i?(top--,post[k++]=p):(w[head+p]=w[next+i],++top,w[stack+top]=i)}return k}},{}],688:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.csUnflip=function csUnflip(i){return i<0?(0,_csFlip.csFlip)(i):i};var _csFlip=require("./csFlip.js")},{"./csFlip.js":676}],689:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAbs=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createAbs=(0,_factory.factory)("abs",dependencies,(function(_ref){return(0,_ref.typed)("abs",{number:_index.absNumber,Complex:function Complex(x){return x.abs()},BigNumber:function BigNumber(x){return x.abs()},Fraction:function Fraction(x){return x.abs()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return x.abs()}})}));exports.createAbs=createAbs},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],690:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAdd=void 0;var _factory=require("../../utils/factory.js"),_object=require("../../utils/object.js"),_algorithm=require("../../type/matrix/utils/algorithm01.js"),_algorithm2=require("../../type/matrix/utils/algorithm04.js"),_algorithm3=require("../../type/matrix/utils/algorithm10.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix"],createAdd=(0,_factory.factory)("add",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,addScalar=_ref.addScalar,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm01=(_ref.SparseMatrix,(0,_algorithm.createAlgorithm01)({typed:typed})),algorithm04=(0,_algorithm2.createAlgorithm04)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm3.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("add",(0,_object.extend)({"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,addScalar)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,addScalar,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm01(y,x,addScalar,!0)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm04(x,y,addScalar)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,addScalar,!1)},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm10(x,y,addScalar,!1)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,addScalar,!0)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm10(y,x,addScalar,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,addScalar,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,addScalar,!0).valueOf()},"any, any":addScalar,"any, any, ...any":function anyAnyAny(x,y,rest){for(var result=this(x,y),i=0;i0?floor(x):ceil(x)},"number, number | BigNumber":function numberNumberBigNumber(x,n){return x>0?floor(x,n):ceil(x,n)},Complex:function Complex(x){return new _Complex(x.re>0?Math.floor(x.re):Math.ceil(x.re),x.im>0?Math.floor(x.im):Math.ceil(x.im))},"Complex, number | BigNumber":function ComplexNumberBigNumber(x,n){return new _Complex(x.re>0?floor(x.re,n):ceil(x.re,n),x.im>0?floor(x.im,n):ceil(x.im,n))},BigNumber:function BigNumber(x){return x.isNegative()?ceil(x):floor(x)},"BigNumber, number | BigNumber":function BigNumberNumberBigNumber(x,n){return x.isNegative()?ceil(x,n):floor(x,n)},Fraction:function Fraction(x){return x.s<0?x.ceil():x.floor()},"Fraction, number | BigNumber":function FractionNumberBigNumber(x,n){return x.s<0?x.ceil(n):x.floor(n)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(x,n){var _this=this;return(0,_collection.deepMap)(x,(function(i){return _this(i,n)}),!0)},"number | Complex | BigNumber, Array":function numberComplexBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createFix=createFix},{"../../type/matrix/utils/algorithm14.js":923,"../../utils/collection.js":937,"../../utils/factory.js":941}],703:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFloor=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")),_decimal=_interopRequireDefault(require("decimal.js")),_factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),_nearlyEqual=require("../../utils/bignumber/nearlyEqual.js"),_algorithm=require("../../type/matrix/utils/algorithm11.js"),_algorithm2=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","config","round","matrix","equalScalar"],createFloor=(0,_factory.factory)("floor",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,round=_ref.round,matrix=_ref.matrix,equalScalar=_ref.equalScalar,algorithm11=(0,_algorithm.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm14=(0,_algorithm2.createAlgorithm14)({typed:typed});return typed("floor",{number:function number(x){return(0,_number.nearlyEqual)(x,round(x),config.epsilon)?round(x):Math.floor(x)},"number, number":function numberNumber(x,n){if((0,_number.nearlyEqual)(x,round(x,n),config.epsilon))return round(x,n);var _$split="".concat(x,"e").split("e"),_$split2=(0,_slicedToArray2.default)(_$split,2),number=_$split2[0],exponent=_$split2[1],result=Math.floor(Number("".concat(number,"e").concat(Number(exponent)+n))),_$split3="".concat(result,"e").split("e"),_$split4=(0,_slicedToArray2.default)(_$split3,2);return number=_$split4[0],exponent=_$split4[1],Number("".concat(number,"e").concat(Number(exponent)-n))},Complex:function Complex(x){return x.floor()},"Complex, number":function ComplexNumber(x,n){return x.floor(n)},BigNumber:function BigNumber(x){return(0,_nearlyEqual.nearlyEqual)(x,round(x),config.epsilon)?round(x):x.floor()},"BigNumber, BigNumber":function BigNumberBigNumber(x,n){return(0,_nearlyEqual.nearlyEqual)(x,round(x,n),config.epsilon)?round(x,n):x.toDecimalPlaces(n.toNumber(),_decimal.default.ROUND_FLOOR)},Fraction:function Fraction(x){return x.floor()},"Fraction, number":function FractionNumber(x,n){return x.floor(n)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},"Array | Matrix, number":function ArrayMatrixNumber(x,n){var _this=this;return(0,_collection.deepMap)(x,(function(i){return _this(i,n)}),!0)},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return algorithm14(x,y,this,!1)},"number | Complex | BigNumber, Array":function numberComplexBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createFloor=createFloor},{"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/slicedToArray":20,"decimal.js":29}],704:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createGcd=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm01.js"),_algorithm2=require("../../type/matrix/utils/algorithm04.js"),_algorithm3=require("../../type/matrix/utils/algorithm10.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","BigNumber","DenseMatrix"],createGcd=(0,_factory.factory)("gcd",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,BigNumber=_ref.BigNumber,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm.createAlgorithm01)({typed:typed}),algorithm04=(0,_algorithm2.createAlgorithm04)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm3.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("gcd",{"number, number":_index.gcdNumber,"BigNumber, BigNumber":function _gcdBigNumber(a,b){if(!a.isInt()||!b.isInt())throw new Error("Parameters in function gcd must be integer numbers");var zero=new BigNumber(0);for(;!b.isZero();){var r=a.mod(b);a=b,b=r}return a.lt(zero)?a.neg():a},"Fraction, Fraction":function FractionFraction(x,y){return x.gcd(y)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm04(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm01(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return algorithm10(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()},"Array | Matrix | number | BigNumber, Array | Matrix | number | BigNumber, ...Array | Matrix | number | BigNumber":function ArrayMatrixNumberBigNumberArrayMatrixNumberBigNumberArrayMatrixNumberBigNumber(a,b,args){for(var res=this(a,b),i=0;i=0||config.predictable?(0,_index.logNumber)(x):new Complex(x,0).log()},Complex:function Complex(x){return x.log()},BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.ln():new Complex(x.toNumber(),0).log()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)},"any, any":function anyAny(x,base){return divideScalar(this(x),this(base))}})}));exports.createLog=createLog},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],708:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLog10=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createLog10=(0,_factory.factory)("log10",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,_Complex=_ref.Complex;return typed("log10",{number:function number(x){return x>=0||config.predictable?(0,_index.log10Number)(x):new _Complex(x,0).log().div(Math.LN10)},Complex:function Complex(x){return new _Complex(x).log().div(Math.LN10)},BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.log():new _Complex(x.toNumber(),0).log().div(Math.LN10)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createLog10=createLog10},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],709:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLog1p=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),dependencies=["typed","config","divideScalar","log","Complex"],createLog1p=(0,_factory.factory)("log1p",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,divideScalar=_ref.divideScalar,log=_ref.log,Complex=_ref.Complex;return typed("log1p",{number:function number(x){return x>=-1||config.predictable?(0,_number.log1p)(x):_log1pComplex(new Complex(x,0))},Complex:_log1pComplex,BigNumber:function BigNumber(x){var y=x.plus(1);return!y.isNegative()||config.predictable?y.ln():_log1pComplex(new Complex(x.toNumber(),0))},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)},"any, any":function anyAny(x,base){return divideScalar(this(x),log(base))}});function _log1pComplex(x){var xRe1p=x.re+1;return new Complex(Math.log(Math.sqrt(xRe1p*xRe1p+x.im*x.im)),Math.atan2(x.im,xRe1p))}}));exports.createLog1p=createLog1p},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],710:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLog2=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createLog2=(0,_factory.factory)("log2",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("log2",{number:function number(x){return x>=0||config.predictable?(0,_index.log2Number)(x):_log2Complex(new Complex(x,0))},Complex:_log2Complex,BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.log(2):_log2Complex(new Complex(x.toNumber(),0))},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}});function _log2Complex(x){var newX=Math.sqrt(x.re*x.re+x.im*x.im);return new Complex(Math.log2?Math.log2(newX):Math.log(newX)/Math.LN2,Math.atan2(x.im,x.re)/Math.LN2)}}));exports.createLog2=createLog2},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],711:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMod=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm03.js"),_algorithm3=require("../../type/matrix/utils/algorithm05.js"),_algorithm4=require("../../type/matrix/utils/algorithm11.js"),_algorithm5=require("../../type/matrix/utils/algorithm12.js"),_algorithm6=require("../../type/matrix/utils/algorithm13.js"),_algorithm7=require("../../type/matrix/utils/algorithm14.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","DenseMatrix"],createMod=(0,_factory.factory)("mod",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm03=(0,_algorithm2.createAlgorithm03)({typed:typed}),algorithm05=(0,_algorithm3.createAlgorithm05)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm4.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm12=(0,_algorithm5.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm6.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm7.createAlgorithm14)({typed:typed});return typed("mod",{"number, number":_index.modNumber,"BigNumber, BigNumber":function BigNumberBigNumber(x,y){if(y.isNeg())throw new Error("Cannot calculate mod for a negative divisor");return y.isZero()?x:x.mod(y)},"Fraction, Fraction":function FractionFraction(x,y){if(y.compare(0)<0)throw new Error("Cannot calculate mod for a negative divisor");return x.compare(0)>=0?x.mod(y):x.mod(y).add(y).mod(y)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm05(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createMod=createMod},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],712:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMultiply=void 0;var _factory=require("../../utils/factory.js"),_is=require("../../utils/is.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_algorithm=require("../../type/matrix/utils/algorithm11.js"),_algorithm2=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","addScalar","multiplyScalar","equalScalar","dot"],createMultiply=(0,_factory.factory)("multiply",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,addScalar=_ref.addScalar,multiplyScalar=_ref.multiplyScalar,equalScalar=_ref.equalScalar,dot=_ref.dot,algorithm11=(0,_algorithm.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm14=(0,_algorithm2.createAlgorithm14)({typed:typed});function _validateMatrixDimensions(size1,size2){switch(size1.length){case 1:switch(size2.length){case 1:if(size1[0]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(size1[0]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Vector length ("+size1[0]+") must match Matrix rows ("+size2[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+size2.length+" dimensions)")}break;case 2:switch(size2.length){case 1:if(size1[1]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Matrix columns ("+size1[1]+") must match Vector length ("+size2[0]+")");break;case 2:if(size1[1]!==size2[0])throw new RangeError("Dimension mismatch in multiplication. Matrix A columns ("+size1[1]+") must match Matrix B rows ("+size2[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+size2.length+" dimensions)")}break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+size1.length+" dimensions)")}}function _multiplyVectorMatrix(a,b){if("dense"!==b.storage())throw new Error("Support for SparseMatrix not implemented");return function _multiplyVectorDenseMatrix(a,b){var dt,adata=a._data,asize=a._size,adt=a._datatype,bdata=b._data,bsize=b._size,bdt=b._datatype,alength=asize[0],bcolumns=bsize[1],af=addScalar,mf=multiplyScalar;adt&&bdt&&adt===bdt&&"string"==typeof adt&&(dt=adt,af=typed.find(addScalar,[dt,dt]),mf=typed.find(multiplyScalar,[dt,dt]));for(var c=[],j=0;jkb0)for(var last=0,i=0;i=0||config.predictable?x.pow(y):new Complex(x.toNumber(),0).pow(y.toNumber(),0)},"Fraction, Fraction":function FractionFraction(x,y){var result=x.pow(y);if(null!=result)return result;if(config.predictable)throw new Error("Result of pow is non-rational and cannot be expressed as a fraction");return _pow(x.valueOf(),y.valueOf())},"Array, number":_powArray,"Array, BigNumber":function ArrayBigNumber(x,y){return _powArray(x,y.toNumber())},"Matrix, number":_powMatrix,"Matrix, BigNumber":function MatrixBigNumber(x,y){return _powMatrix(x,y.toNumber())},"Unit, number | BigNumber":function UnitNumberBigNumber(x,y){return x.pow(y)}});function _pow(x,y){if(config.predictable&&!(0,_number.isInteger)(y)&&x<0)try{var yFrac=fraction(y),yNum=number(yFrac);if((y===yNum||Math.abs((y-yNum)/y)<1e-14)&&yFrac.d%2==1)return(yFrac.n%2==0?1:-1)*Math.pow(-x,y)}catch(ex){}return config.predictable&&(x<-1&&y===1/0||x>-1&&x<0&&y===-1/0)?NaN:(0,_number.isInteger)(y)||x>=0||config.predictable?(0,_index.powNumber)(x,y):x*x<1&&y===1/0||x*x>1&&y===-1/0?0:new Complex(x,0).pow(y,0)}function _powArray(x,y){if(!(0,_number.isInteger)(y)||y<0)throw new TypeError("For A^b, b must be a positive integer (value is "+y+")");var s=(0,_array.arraySize)(x);if(2!==s.length)throw new Error("For A^b, A must be 2 dimensional (A has "+s.length+" dimensions)");if(s[0]!==s[1])throw new Error("For A^b, A must be square (size is "+s[0]+"x"+s[1]+")");for(var res=identity(s[0]).valueOf(),px=x;y>=1;)1==(1&y)&&(res=multiply(px,res)),y>>=1,px=multiply(px,px);return res}function _powMatrix(x,y){return matrix(_powArray(x.valueOf(),y))}}));exports.createPow=createPow},{"../../plain/number/index.js":884,"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/number.js":948}],718:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRoundNumber=exports.createRound=void 0;var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),_algorithm=require("../../type/matrix/utils/algorithm11.js"),_algorithm2=require("../../type/matrix/utils/algorithm12.js"),_algorithm3=require("../../type/matrix/utils/algorithm14.js"),_index=require("../../plain/number/index.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i15)throw new Error("Number of decimals in function round must be in the range of 0-15");return(0,_index.roundNumber)(x,n)}},createRoundNumber=(0,_factory.factory)("round",["typed"],(function(_ref2){return(0,_ref2.typed)("round",roundNumberSignatures)}));exports.createRoundNumber=createRoundNumber},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm14.js":923,"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948,"@babel/runtime/helpers/defineProperty":13,"@babel/runtime/helpers/interopRequireDefault":15}],719:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSign=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber","Fraction","complex"],createSign=(0,_factory.factory)("sign",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber,complex=_ref.complex,_Fraction=_ref.Fraction;return typed("sign",{number:_index.signNumber,Complex:function Complex(x){return 0===x.im?complex((0,_index.signNumber)(x.re)):x.sign()},BigNumber:function BigNumber(x){return new _BigNumber(x.cmp(0))},Fraction:function Fraction(x){return new _Fraction(x.s,1)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return this(x.value)}})}));exports.createSign=createSign},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],720:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSqrt=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["config","typed","Complex"],createSqrt=(0,_factory.factory)("sqrt",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,Complex=_ref.Complex;return typed("sqrt",{number:_sqrtNumber,Complex:function Complex(x){return x.sqrt()},BigNumber:function BigNumber(x){return!x.isNegative()||config.predictable?x.sqrt():_sqrtNumber(x.toNumber())},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return x.pow(.5)}});function _sqrtNumber(x){return isNaN(x)?NaN:x>=0||config.predictable?Math.sqrt(x):new Complex(x,0).sqrt()}}));exports.createSqrt=createSqrt},{"../../utils/collection.js":937,"../../utils/factory.js":941}],721:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSquare=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createSquare=(0,_factory.factory)("square",dependencies,(function(_ref){return(0,_ref.typed)("square",{number:_index.squareNumber,Complex:function Complex(x){return x.mul(x)},BigNumber:function BigNumber(x){return x.times(x)},Fraction:function Fraction(x){return x.mul(x)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},Unit:function Unit(x){return x.pow(2)}})}));exports.createSquare=createSquare},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],722:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubtract=void 0;var _factory=require("../../utils/factory.js"),_DimensionError=require("../../error/DimensionError.js"),_algorithm=require("../../type/matrix/utils/algorithm01.js"),_algorithm2=require("../../type/matrix/utils/algorithm03.js"),_algorithm3=require("../../type/matrix/utils/algorithm05.js"),_algorithm4=require("../../type/matrix/utils/algorithm10.js"),_algorithm5=require("../../type/matrix/utils/algorithm13.js"),_algorithm6=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","equalScalar","addScalar","unaryMinus","DenseMatrix"],createSubtract=(0,_factory.factory)("subtract",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,addScalar=_ref.addScalar,unaryMinus=_ref.unaryMinus,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm.createAlgorithm01)({typed:typed}),algorithm03=(0,_algorithm2.createAlgorithm03)({typed:typed}),algorithm05=(0,_algorithm3.createAlgorithm05)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm4.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm5.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm6.createAlgorithm14)({typed:typed});return typed("subtract",{"number, number":function numberNumber(x,y){return x-y},"Complex, Complex":function ComplexComplex(x,y){return x.sub(y)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return x.minus(y)},"Fraction, Fraction":function FractionFraction(x,y){return x.sub(y)},"Unit, Unit":function UnitUnit(x,y){if(null===x.value)throw new Error("Parameter x contains a unit with undefined value");if(null===y.value)throw new Error("Parameter y contains a unit with undefined value");if(!x.equalBase(y))throw new Error("Units do not match");var res=x.clone();return res.value=this(res.value,y.value),res.fixPrefix=!1,res},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return checkEqualDimensions(x,y),algorithm05(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return checkEqualDimensions(x,y),algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return checkEqualDimensions(x,y),algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return checkEqualDimensions(x,y),algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm10(x,unaryMinus(y),addScalar)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm10(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));function checkEqualDimensions(x,y){var xsize=x.size(),ysize=y.size();if(xsize.length!==ysize.length)throw new _DimensionError.DimensionError(xsize.length,ysize.length)}exports.createSubtract=createSubtract},{"../../error/DimensionError.js":382,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],723:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnaryMinus=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createUnaryMinus=(0,_factory.factory)("unaryMinus",dependencies,(function(_ref){return(0,_ref.typed)("unaryMinus",{number:_index.unaryMinusNumber,Complex:function Complex(x){return x.neg()},BigNumber:function BigNumber(x){return x.neg()},Fraction:function Fraction(x){return x.neg()},Unit:function Unit(x){var res=x.clone();return res.value=this(x.value),res},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createUnaryMinus=createUnaryMinus},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],724:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnaryPlus=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","BigNumber"],createUnaryPlus=(0,_factory.factory)("unaryPlus",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,BigNumber=_ref.BigNumber;return typed("unaryPlus",{number:_index.unaryPlusNumber,Complex:function Complex(x){return x},BigNumber:function BigNumber(x){return x},Fraction:function Fraction(x){return x},Unit:function Unit(x){return x.clone()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)},"boolean | string":function booleanString(x){return"BigNumber"===config.number?new BigNumber(+x):+x}})}));exports.createUnaryPlus=createUnaryPlus},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],725:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createXgcd=void 0;var _factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","matrix","BigNumber"],createXgcd=(0,_factory.factory)("xgcd",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,BigNumber=_ref.BigNumber;return typed("xgcd",{"number, number":function numberNumber(a,b){var res=(0,_index.xgcdNumber)(a,b);return"Array"===config.matrix?res:matrix(res)},"BigNumber, BigNumber":function _xgcdBigNumber(a,b){var t,q,r,res,zero=new BigNumber(0),one=new BigNumber(1),x=zero,lastx=one,y=one,lasty=zero;if(!a.isInt()||!b.isInt())throw new Error("Parameters in function xgcd must be integer numbers");for(;!b.isZero();)q=a.div(b).floor(),r=a.mod(b),t=x,x=lastx.minus(q.times(x)),lastx=t,t=y,y=lasty.minus(q.times(y)),lasty=t,a=b,b=r;res=a.lt(zero)?[a.neg(),lastx.neg(),lasty.neg()]:[a,a.isZero()?0:lastx,lasty];return"Array"===config.matrix?res:matrix(res)}})}));exports.createXgcd=createXgcd},{"../../plain/number/index.js":884,"../../utils/factory.js":941}],726:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitAnd=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm06.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar"],createBitAnd=(0,_factory.factory)("bitAnd",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm06=(0,_algorithm5.createAlgorithm06)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed("bitAnd",{"number, number":_index.bitAndNumber,"BigNumber, BigNumber":_bitwise.bitAndBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm06(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm02(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm11(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createBitAnd=createBitAnd},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm06.js":915,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],727:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitNot=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createBitNot=(0,_factory.factory)("bitNot",dependencies,(function(_ref){return(0,_ref.typed)("bitNot",{number:_index.bitNotNumber,BigNumber:_bitwise.bitNotBigNumber,"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createBitNot=createBitNot},{"../../plain/number/index.js":884,"../../utils/bignumber/bitwise.js":933,"../../utils/collection.js":937,"../../utils/factory.js":941}],728:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitOr=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm14.js"),_algorithm2=require("../../type/matrix/utils/algorithm13.js"),_algorithm3=require("../../type/matrix/utils/algorithm10.js"),_algorithm4=require("../../type/matrix/utils/algorithm04.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","DenseMatrix"],createBitOr=(0,_factory.factory)("bitOr",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm04=(0,_algorithm4.createAlgorithm04)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm3.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm2.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm.createAlgorithm14)({typed:typed});return typed("bitOr",{"number, number":_index.bitOrNumber,"BigNumber, BigNumber":_bitwise.bitOrBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm04(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm01(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm10(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm10(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createBitOr=createBitOr},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm04.js":913,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],729:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBitXor=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","DenseMatrix"],createBitXor=(0,_factory.factory)("bitXor",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("bitXor",{"number, number":_index.bitXorNumber,"BigNumber, BigNumber":_bitwise.bitXor,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createBitXor=createBitXor},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],730:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLeftShift=void 0;var _algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_algorithm6=require("../../type/matrix/utils/algorithm10.js"),_algorithm7=require("../../type/matrix/utils/algorithm08.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),_bitwise=require("../../utils/bignumber/bitwise.js"),dependencies=["typed","matrix","equalScalar","zeros","DenseMatrix"],createLeftShift=(0,_factory.factory)("leftShift",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm08=(0,_algorithm7.createAlgorithm08)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm6.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed("leftShift",{"number, number":_index.leftShiftNumber,"BigNumber, BigNumber":_bitwise.leftShiftBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm08(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return this(matrix(x),y).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createLeftShift=createLeftShift},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm08.js":917,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],731:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRightArithShift=void 0;var _bitwise=require("../../utils/bignumber/bitwise.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_algorithm6=require("../../type/matrix/utils/algorithm10.js"),_algorithm7=require("../../type/matrix/utils/algorithm08.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),name="rightArithShift",dependencies=["typed","matrix","equalScalar","zeros","DenseMatrix"],createRightArithShift=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm08=(0,_algorithm7.createAlgorithm08)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm6.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"number, number":_index.rightArithShiftNumber,"BigNumber, BigNumber":_bitwise.rightArithShiftBigNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm08(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return this(matrix(x),y).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createRightArithShift=createRightArithShift},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm08.js":917,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/bitwise.js":933,"../../utils/factory.js":941}],732:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRightLogShift=void 0;var _algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm01.js"),_algorithm6=require("../../type/matrix/utils/algorithm10.js"),_algorithm7=require("../../type/matrix/utils/algorithm08.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),name="rightLogShift",dependencies=["typed","matrix","equalScalar","zeros","DenseMatrix"],createRightLogShift=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,DenseMatrix=_ref.DenseMatrix,algorithm01=(0,_algorithm5.createAlgorithm01)({typed:typed}),algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm08=(0,_algorithm7.createAlgorithm08)({typed:typed,equalScalar:equalScalar}),algorithm10=(0,_algorithm6.createAlgorithm10)({typed:typed,DenseMatrix:DenseMatrix}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"number, number":_index.rightLogShiftNumber,"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm08(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm01(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return equalScalar(y,0)?x.clone():algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm10(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return equalScalar(x,0)?zeros(y.size(),y.storage()):algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return this(matrix(x),y).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createRightLogShift=createRightLogShift},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm01.js":910,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm08.js":917,"../../type/matrix/utils/algorithm10.js":919,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],733:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBellNumbers=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","isNegative","isInteger","stirlingS2"],createBellNumbers=(0,_factory.factory)("bellNumbers",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,isNegative=_ref.isNegative,isInteger=_ref.isInteger,stirlingS2=_ref.stirlingS2;return typed("bellNumbers",{"number | BigNumber":function numberBigNumber(n){if(!isInteger(n)||isNegative(n))throw new TypeError("Non-negative integer value expected in function bellNumbers");for(var result=0,i=0;i<=n;i++)result=addScalar(result,stirlingS2(n,i));return result}})}));exports.createBellNumbers=createBellNumbers},{"../../utils/factory.js":941}],734:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCatalan=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","divideScalar","multiplyScalar","combinations","isNegative","isInteger"],createCatalan=(0,_factory.factory)("catalan",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,divideScalar=_ref.divideScalar,multiplyScalar=_ref.multiplyScalar,combinations=_ref.combinations,isNegative=_ref.isNegative,isInteger=_ref.isInteger;return typed("catalan",{"number | BigNumber":function numberBigNumber(n){if(!isInteger(n)||isNegative(n))throw new TypeError("Non-negative integer value expected in function catalan");return divideScalar(combinations(multiplyScalar(n,2),n),addScalar(n,1))}})}));exports.createCatalan=createCatalan},{"../../utils/factory.js":941}],735:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComposition=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","combinations","isNegative","isPositive","isInteger","larger"],createComposition=(0,_factory.factory)("composition",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,combinations=_ref.combinations,isPositive=_ref.isPositive,isInteger=(_ref.isNegative,_ref.isInteger),larger=_ref.larger;return typed("composition",{"number | BigNumber, number | BigNumber":function numberBigNumberNumberBigNumber(n,k){if(!(isInteger(n)&&isPositive(n)&&isInteger(k)&&isPositive(k)))throw new TypeError("Positive integer value expected in function composition");if(larger(k,n))throw new TypeError("k must be less than or equal to n in function composition");return combinations(addScalar(n,-1),addScalar(k,-1))}})}));exports.createComposition=createComposition},{"../../utils/factory.js":941}],736:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStirlingS2=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","subtract","multiplyScalar","divideScalar","pow","factorial","combinations","isNegative","isInteger","larger"],createStirlingS2=(0,_factory.factory)("stirlingS2",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,subtract=_ref.subtract,multiplyScalar=_ref.multiplyScalar,divideScalar=_ref.divideScalar,pow=_ref.pow,factorial=_ref.factorial,combinations=_ref.combinations,isNegative=_ref.isNegative,isInteger=_ref.isInteger,larger=_ref.larger;return typed("stirlingS2",{"number | BigNumber, number | BigNumber":function numberBigNumberNumberBigNumber(n,k){if(!isInteger(n)||isNegative(n)||!isInteger(k)||isNegative(k))throw new TypeError("Non-negative integer value expected in function stirlingS2");if(larger(k,n))throw new TypeError("k must be less than or equal to n in function stirlingS2");for(var kFactorial=factorial(k),result=0,i=0;i<=k;i++){var negativeOne=pow(-1,subtract(k,i)),kChooseI=combinations(k,i),iPower=pow(i,n);result=addScalar(result,multiplyScalar(multiplyScalar(kChooseI,iPower),negativeOne))}return divideScalar(result,kFactorial)}})}));exports.createStirlingS2=createStirlingS2},{"../../utils/factory.js":941}],737:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createArg=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createArg=(0,_factory.factory)("arg",dependencies,(function(_ref){return(0,_ref.typed)("arg",{number:function number(x){return Math.atan2(0,x)},BigNumber:function BigNumber(x){return x.constructor.atan2(0,x)},Complex:function Complex(x){return x.arg()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createArg=createArg},{"../../utils/collection.js":937,"../../utils/factory.js":941}],738:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createConj=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createConj=(0,_factory.factory)("conj",dependencies,(function(_ref){return(0,_ref.typed)("conj",{number:function number(x){return x},BigNumber:function BigNumber(x){return x},Complex:function Complex(x){return x.conjugate()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createConj=createConj},{"../../utils/collection.js":937,"../../utils/factory.js":941}],739:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIm=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createIm=(0,_factory.factory)("im",dependencies,(function(_ref){return(0,_ref.typed)("im",{number:function number(x){return 0},BigNumber:function BigNumber(x){return x.mul(0)},Fraction:function Fraction(x){return x.mul(0)},Complex:function Complex(x){return x.im},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIm=createIm},{"../../utils/collection.js":937,"../../utils/factory.js":941}],740:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRe=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createRe=(0,_factory.factory)("re",dependencies,(function(_ref){return(0,_ref.typed)("re",{number:function number(x){return x},BigNumber:function BigNumber(x){return x},Fraction:function Fraction(x){return x},Complex:function Complex(x){return x.re},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createRe=createRe},{"../../utils/collection.js":937,"../../utils/factory.js":941}],741:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDistance=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","addScalar","subtract","divideScalar","multiplyScalar","unaryMinus","sqrt","abs"],createDistance=(0,_factory.factory)("distance",dependencies,(function(_ref){var typed=_ref.typed,addScalar=_ref.addScalar,subtract=_ref.subtract,multiplyScalar=_ref.multiplyScalar,divideScalar=_ref.divideScalar,unaryMinus=_ref.unaryMinus,sqrt=_ref.sqrt,abs=_ref.abs;return typed("distance",{"Array, Array, Array":function ArrayArrayArray(x,y,z){if(2===x.length&&2===y.length&&2===z.length){if(!_2d(x))throw new TypeError("Array with 2 numbers or BigNumbers expected for first argument");if(!_2d(y))throw new TypeError("Array with 2 numbers or BigNumbers expected for second argument");if(!_2d(z))throw new TypeError("Array with 2 numbers or BigNumbers expected for third argument");var m=divideScalar(subtract(z[1],z[0]),subtract(y[1],y[0])),xCoeff=multiplyScalar(multiplyScalar(m,m),y[0]),yCoeff=unaryMinus(multiplyScalar(m,y[0])),constant=x[1];return _distancePointLine2D(x[0],x[1],xCoeff,yCoeff,constant)}throw new TypeError("Invalid Arguments: Try again")},"Object, Object, Object":function ObjectObjectObject(x,y,z){if(2===Object.keys(x).length&&2===Object.keys(y).length&&2===Object.keys(z).length){if(!_2d(x))throw new TypeError("Values of pointX and pointY should be numbers or BigNumbers");if(!_2d(y))throw new TypeError("Values of lineOnePtX and lineOnePtY should be numbers or BigNumbers");if(!_2d(z))throw new TypeError("Values of lineTwoPtX and lineTwoPtY should be numbers or BigNumbers");if("pointX"in x&&"pointY"in x&&"lineOnePtX"in y&&"lineOnePtY"in y&&"lineTwoPtX"in z&&"lineTwoPtY"in z){var m=divideScalar(subtract(z.lineTwoPtY,z.lineTwoPtX),subtract(y.lineOnePtY,y.lineOnePtX)),xCoeff=multiplyScalar(multiplyScalar(m,m),y.lineOnePtX),yCoeff=unaryMinus(multiplyScalar(m,y.lineOnePtX)),constant=x.pointX;return _distancePointLine2D(x.pointX,x.pointY,xCoeff,yCoeff,constant)}throw new TypeError("Key names do not match")}throw new TypeError("Invalid Arguments: Try again")},"Array, Array":function ArrayArray(x,y){if(2===x.length&&3===y.length){if(!_2d(x))throw new TypeError("Array with 2 numbers or BigNumbers expected for first argument");if(!_3d(y))throw new TypeError("Array with 3 numbers or BigNumbers expected for second argument");return _distancePointLine2D(x[0],x[1],y[0],y[1],y[2])}if(3===x.length&&6===y.length){if(!_3d(x))throw new TypeError("Array with 3 numbers or BigNumbers expected for first argument");if(!_parametricLine(y))throw new TypeError("Array with 6 numbers or BigNumbers expected for second argument");return _distancePointLine3D(x[0],x[1],x[2],y[0],y[1],y[2],y[3],y[4],y[5])}if(x.length===y.length&&x.length>0){if(!_containsOnlyNumbers(x))throw new TypeError("All values of an array should be numbers or BigNumbers");if(!_containsOnlyNumbers(y))throw new TypeError("All values of an array should be numbers or BigNumbers");return _euclideanDistance(x,y)}throw new TypeError("Invalid Arguments: Try again")},"Object, Object":function ObjectObject(x,y){if(2===Object.keys(x).length&&3===Object.keys(y).length){if(!_2d(x))throw new TypeError("Values of pointX and pointY should be numbers or BigNumbers");if(!_3d(y))throw new TypeError("Values of xCoeffLine, yCoeffLine and constant should be numbers or BigNumbers");if("pointX"in x&&"pointY"in x&&"xCoeffLine"in y&&"yCoeffLine"in y&&"constant"in y)return _distancePointLine2D(x.pointX,x.pointY,y.xCoeffLine,y.yCoeffLine,y.constant);throw new TypeError("Key names do not match")}if(3===Object.keys(x).length&&6===Object.keys(y).length){if(!_3d(x))throw new TypeError("Values of pointX, pointY and pointZ should be numbers or BigNumbers");if(!_parametricLine(y))throw new TypeError("Values of x0, y0, z0, a, b and c should be numbers or BigNumbers");if("pointX"in x&&"pointY"in x&&"x0"in y&&"y0"in y&&"z0"in y&&"a"in y&&"b"in y&&"c"in y)return _distancePointLine3D(x.pointX,x.pointY,x.pointZ,y.x0,y.y0,y.z0,y.a,y.b,y.c);throw new TypeError("Key names do not match")}if(2===Object.keys(x).length&&2===Object.keys(y).length){if(!_2d(x))throw new TypeError("Values of pointOneX and pointOneY should be numbers or BigNumbers");if(!_2d(y))throw new TypeError("Values of pointTwoX and pointTwoY should be numbers or BigNumbers");if("pointOneX"in x&&"pointOneY"in x&&"pointTwoX"in y&&"pointTwoY"in y)return _euclideanDistance([x.pointOneX,x.pointOneY],[y.pointTwoX,y.pointTwoY]);throw new TypeError("Key names do not match")}if(3===Object.keys(x).length&&3===Object.keys(y).length){if(!_3d(x))throw new TypeError("Values of pointOneX, pointOneY and pointOneZ should be numbers or BigNumbers");if(!_3d(y))throw new TypeError("Values of pointTwoX, pointTwoY and pointTwoZ should be numbers or BigNumbers");if("pointOneX"in x&&"pointOneY"in x&&"pointOneZ"in x&&"pointTwoX"in y&&"pointTwoY"in y&&"pointTwoZ"in y)return _euclideanDistance([x.pointOneX,x.pointOneY,x.pointOneZ],[y.pointTwoX,y.pointTwoY,y.pointTwoZ]);throw new TypeError("Key names do not match")}throw new TypeError("Invalid Arguments: Try again")},Array:function Array(arr){if(!function _pairwise(a){if(2===a[0].length&&_isNumber(a[0][0])&&_isNumber(a[0][1])){if(a.some((function(aI){return 2!==aI.length||!_isNumber(aI[0])||!_isNumber(aI[1])})))return!1}else{if(!(3===a[0].length&&_isNumber(a[0][0])&&_isNumber(a[0][1])&&_isNumber(a[0][2])))return!1;if(a.some((function(aI){return 3!==aI.length||!_isNumber(aI[0])||!_isNumber(aI[1])||!_isNumber(aI[2])})))return!1}return!0}(arr))throw new TypeError("Incorrect array format entered for pairwise distance calculation");return function _distancePairwise(a){for(var result=[],pointA=[],pointB=[],i=0;i1&&Array.isArray(arr[0])&&arr.every((function(el){return Array.isArray(el)&&1===el.length}))?flatten(arr):arr}function _isNumeric(a){return"number"==typeof a||(0,_is.isBigNumber)(a)}function _2d(x){return 2===x.length&&_isNumeric(x[0])&&_isNumeric(x[1])}function _3d(x){return 3===x.length&&_isNumeric(x[0])&&_isNumeric(x[1])&&_isNumeric(x[2])}function _intersect3dHelper(a,b,c,d,e,f,g,h,i,j,k,l){var add1=multiplyScalar(subtract(a,b),subtract(c,d)),add2=multiplyScalar(subtract(e,f),subtract(g,h)),add3=multiplyScalar(subtract(i,j),subtract(k,l));return addScalar(addScalar(add1,add2),add3)}}));exports.createIntersect=createIntersect},{"../../utils/factory.js":941,"../../utils/is.js":943}],743:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAnd=void 0;var _algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm11.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm06.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","zeros","not"],createAnd=(0,_factory.factory)("and",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,zeros=_ref.zeros,not=_ref.not,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm06=(0,_algorithm5.createAlgorithm06)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm2.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed("and",{"number, number":_index.andNumber,"Complex, Complex":function ComplexComplex(x,y){return!(0===x.re&&0===x.im||0===y.re&&0===y.im)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return!(x.isZero()||y.isZero()||x.isNaN()||y.isNaN())},"Unit, Unit":function UnitUnit(x,y){return this(x.value||0,y.value||0)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm06(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm02(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return not(y)?zeros(x.size(),x.storage()):algorithm11(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return not(y)?zeros(x.size(),x.storage()):algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return not(x)?zeros(x.size(),x.storage()):algorithm11(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return not(x)?zeros(x.size(),x.storage()):algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return this(matrix(x),y).valueOf()},"any, Array":function anyArray(x,y){return this(x,matrix(y)).valueOf()}})}));exports.createAnd=createAnd},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm06.js":915,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],744:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createNot=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createNot=(0,_factory.factory)("not",dependencies,(function(_ref){return(0,_ref.typed)("not",{number:_index.notNumber,Complex:function Complex(x){return 0===x.re&&0===x.im},BigNumber:function BigNumber(x){return x.isZero()||x.isNaN()},Unit:function Unit(x){return null===x.value||this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createNot=createNot},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],745:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createOr=void 0;var _algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm12.js"),_algorithm3=require("../../type/matrix/utils/algorithm13.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm05.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","equalScalar","DenseMatrix"],createOr=(0,_factory.factory)("or",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm05=(0,_algorithm5.createAlgorithm05)({typed:typed,equalScalar:equalScalar}),algorithm12=(0,_algorithm2.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm3.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed("or",{"number, number":_index.orNumber,"Complex, Complex":function ComplexComplex(x,y){return 0!==x.re||0!==x.im||0!==y.re||0!==y.im},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return!x.isZero()&&!x.isNaN()||!y.isZero()&&!y.isNaN()},"Unit, Unit":function UnitUnit(x,y){return this(x.value||0,y.value||0)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm05(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createOr=createOr},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],746:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createXor=void 0;var _algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm13.js"),_algorithm5=require("../../type/matrix/utils/algorithm14.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","matrix","DenseMatrix"],createXor=(0,_factory.factory)("xor",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm4.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm5.createAlgorithm14)({typed:typed});return typed("xor",{"number, number":_index.xorNumber,"Complex, Complex":function ComplexComplex(x,y){return(0!==x.re||0!==x.im)!=(0!==y.re||0!==y.im)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return(!x.isZero()&&!x.isNaN())!=(!y.isZero()&&!y.isNaN())},"Unit, Unit":function UnitUnit(x,y){return this(x.value||0,y.value||0)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createXor=createXor},{"../../plain/number/index.js":884,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],747:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createApply=void 0;var _factory=require("../../utils/factory.js"),_array=require("../../utils/array.js"),_is=require("../../utils/is.js"),_IndexError=require("../../error/IndexError.js"),dependencies=["typed","isInteger"],createApply=(0,_factory.factory)("apply",dependencies,(function(_ref){var typed=_ref.typed,isInteger=_ref.isInteger;return typed("apply",{"Array | Matrix, number | BigNumber, function":function ArrayMatrixNumberBigNumberFunction(mat,dim,callback){if(!isInteger(dim))throw new TypeError("Integer number expected for dimension");var size=Array.isArray(mat)?(0,_array.arraySize)(mat):mat.size();if(dim<0||dim>=size.length)throw new _IndexError.IndexError(dim,size.length);return(0,_is.isMatrix)(mat)?mat.create(_apply(mat.valueOf(),dim,callback)):_apply(mat,dim,callback)}})}));function _apply(mat,dim,callback){var i,ret,tran;if(dim<=0){if(Array.isArray(mat[0])){for(tran=function _switch(mat){var i,j,I=mat.length,J=mat[0].length,ret=[];for(j=0;j0&&dim>prevDim)throw new _IndexError.IndexError(dim,prevDim+1)}else{var m=(0,_object.clone)(arg).valueOf(),size=(0,_array.arraySize)(m);if(matrices[i]=m,prevDim=dim,dim=size.length-1,i>0&&dim!==prevDim)throw new _DimensionError.DimensionError(prevDim+1,dim+1)}}if(0===matrices.length)throw new SyntaxError("At least one matrix expected");for(var res=matrices.shift();matrices.length;)res=_concat(res,matrices.shift(),dim,0);return asMatrix?matrix(res):res},"...string":function string(args){return args.join("")}})}));function _concat(a,b,concatDim,dim){if(dim1?[product]:product}}));exports.createCross=createCross},{"../../utils/array.js":932,"../../utils/factory.js":941}],752:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCtranspose=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","transpose","conj"],createCtranspose=(0,_factory.factory)("ctranspose",dependencies,(function(_ref){var typed=_ref.typed,transpose=_ref.transpose,conj=_ref.conj;return typed("ctranspose",{any:function any(x){return conj(transpose(x))}})}));exports.createCtranspose=createCtranspose},{"../../utils/factory.js":941}],753:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDet=void 0;var _is=require("../../utils/is.js"),_object=require("../../utils/object.js"),_string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix","subtract","multiply","unaryMinus","lup"],createDet=(0,_factory.factory)("det",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,subtract=_ref.subtract,multiply=_ref.multiply,unaryMinus=_ref.unaryMinus,lup=_ref.lup;return typed("det",{any:function any(x){return(0,_object.clone)(x)},"Array | Matrix":function det(x){var size;switch((size=(0,_is.isMatrix)(x)?x.size():Array.isArray(x)?(x=matrix(x)).size():[]).length){case 0:return(0,_object.clone)(x);case 1:if(1===size[0])return(0,_object.clone)(x.valueOf()[0]);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");case 2:var rows=size[0],cols=size[1];if(rows===cols)return function _det(matrix,rows,cols){if(1===rows)return(0,_object.clone)(matrix[0][0]);if(2===rows)return subtract(multiply(matrix[0][0],matrix[1][1]),multiply(matrix[1][0],matrix[0][1]));for(var decomp=lup(matrix),det=decomp.U[0][0],_i=1;_i=rows)break;for(var j=i,cycleLen=0;!visited[decomp.p[j]];)visited[decomp.p[j]]=!0,j=decomp.p[j],cycleLen++;cycleLen%2==0&&evenCycles++}return evenCycles%2==0?det:unaryMinus(det)}(x.clone().valueOf(),rows);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+(0,_string.format)(size)+")")}}})}));exports.createDet=createDet},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949,"../../utils/string.js":953}],754:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createDiag=void 0;var _is=require("../../utils/is.js"),_array=require("../../utils/array.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix","DenseMatrix","SparseMatrix"],createDiag=(0,_factory.factory)("diag",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,SparseMatrix=_ref.SparseMatrix;return typed("diag",{Array:function Array(x){return _diag(x,0,(0,_array.arraySize)(x),null)},"Array, number":function ArrayNumber(x,k){return _diag(x,k,(0,_array.arraySize)(x),null)},"Array, BigNumber":function ArrayBigNumber(x,k){return _diag(x,k.toNumber(),(0,_array.arraySize)(x),null)},"Array, string":function ArrayString(x,format){return _diag(x,0,(0,_array.arraySize)(x),format)},"Array, number, string":function ArrayNumberString(x,k,format){return _diag(x,k,(0,_array.arraySize)(x),format)},"Array, BigNumber, string":function ArrayBigNumberString(x,k,format){return _diag(x,k.toNumber(),(0,_array.arraySize)(x),format)},Matrix:function Matrix(x){return _diag(x,0,x.size(),x.storage())},"Matrix, number":function MatrixNumber(x,k){return _diag(x,k,x.size(),x.storage())},"Matrix, BigNumber":function MatrixBigNumber(x,k){return _diag(x,k.toNumber(),x.size(),x.storage())},"Matrix, string":function MatrixString(x,format){return _diag(x,0,x.size(),format)},"Matrix, number, string":function MatrixNumberString(x,k,format){return _diag(x,k,x.size(),format)},"Matrix, BigNumber, string":function MatrixBigNumberString(x,k,format){return _diag(x,k.toNumber(),x.size(),format)}});function _diag(x,k,size,format){if(!(0,_number.isInteger)(k))throw new TypeError("Second parameter in function diag must be an integer");var kSuper=k>0?k:0,kSub=k<0?-k:0;switch(size.length){case 1:return function _createDiagonalMatrix(x,k,format,l,kSub,kSuper){var ms=[l+kSub,l+kSuper];if(format&&"sparse"!==format&&"dense"!==format)throw new TypeError("Unknown matrix type ".concat(format,'"'));var m="sparse"===format?SparseMatrix.diagonal(ms,x,k):DenseMatrix.diagonal(ms,x,k);return null!==format?m:m.valueOf()}(x,k,format,size[0],kSub,kSuper);case 2:return function _getDiagonal(x,k,format,s,kSub,kSuper){if((0,_is.isMatrix)(x)){var dm=x.diagonal(k);return null!==format?format!==dm.storage()?matrix(dm,format):dm:dm.valueOf()}for(var n=Math.min(s[0]-kSub,s[1]-kSuper),vector=[],i=0;i0){var result=[];return arr.forEach((function(element){result.push(_recursive(element,dim-1))})),result}if(0===dim)return _diff(arr);throw RangeError("Cannot have negative dimension")}function _diff(arr){var result=[],size=arr.length;if(size<2)return arr;for(var i=1;iJ?j++:I===J&&(c=add(c,mul(xvalues[i],yvalues[j])),i++,j++)}return c}});function _validateDim(x,y){var xLen,yLen,xSize=_size(x),ySize=_size(y);if(1===xSize.length)xLen=xSize[0];else{if(2!==xSize.length||1!==xSize[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+xSize.join(", ")+")");xLen=xSize[0]}if(1===ySize.length)yLen=ySize[0];else{if(2!==ySize.length||1!==ySize[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+ySize.join(", ")+")");yLen=ySize[0]}if(xLen!==yLen)throw new RangeError("Vectors must have equal length ("+xLen+" != "+yLen+")");if(0===xLen)throw new RangeError("Cannot calculate the dot product of empty vectors");return xLen}function _size(x){return(0,_is.isMatrix)(x)?x.size():size(x)}}));exports.createDot=createDot},{"../../utils/factory.js":941,"../../utils/is.js":943}],757:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEigs=void 0;var _factory=require("../../utils/factory.js"),_string=require("../../utils/string.js"),_complexEigs=require("./eigs/complexEigs.js"),_realSymetric=require("./eigs/realSymetric.js"),_is=require("../../utils/is.js"),dependencies=["config","typed","matrix","addScalar","equal","subtract","abs","atan","cos","sin","multiplyScalar","divideScalar","inv","bignumber","multiply","add","larger","column","flatten","number","complex","sqrt","diag","qr","usolve","usolveAll","im","re","smaller","matrixFromColumns","dot"],createEigs=(0,_factory.factory)("eigs",dependencies,(function(_ref){var config=_ref.config,typed=_ref.typed,matrix=_ref.matrix,addScalar=_ref.addScalar,subtract=_ref.subtract,equal=_ref.equal,abs=_ref.abs,atan=_ref.atan,cos=_ref.cos,sin=_ref.sin,multiplyScalar=_ref.multiplyScalar,divideScalar=_ref.divideScalar,inv=_ref.inv,bignumber=_ref.bignumber,multiply=_ref.multiply,add=_ref.add,larger=_ref.larger,column=_ref.column,flatten=_ref.flatten,number=_ref.number,complex=_ref.complex,sqrt=_ref.sqrt,diag=_ref.diag,qr=_ref.qr,usolve=_ref.usolve,usolveAll=_ref.usolveAll,im=_ref.im,re=_ref.re,smaller=_ref.smaller,matrixFromColumns=_ref.matrixFromColumns,dot=_ref.dot,doRealSymetric=(0,_realSymetric.createRealSymmetric)({config:config,addScalar:addScalar,subtract:subtract,column:column,flatten:flatten,equal:equal,abs:abs,atan:atan,cos:cos,sin:sin,multiplyScalar:multiplyScalar,inv:inv,bignumber:bignumber,complex:complex,multiply:multiply,add:add}),doComplexEigs=(0,_complexEigs.createComplexEigs)({config:config,addScalar:addScalar,subtract:subtract,multiply:multiply,multiplyScalar:multiplyScalar,flatten:flatten,divideScalar:divideScalar,sqrt:sqrt,abs:abs,bignumber:bignumber,diag:diag,qr:qr,inv:inv,usolve:usolve,usolveAll:usolveAll,equal:equal,complex:complex,larger:larger,smaller:smaller,matrixFromColumns:matrixFromColumns,dot:dot});return typed("eigs",{Array:function Array(x){return computeValuesAndVectors(matrix(x))},"Array, number|BigNumber":function ArrayNumberBigNumber(x,prec){return computeValuesAndVectors(matrix(x),prec)},Matrix:function Matrix(mat){var _computeValuesAndVect=computeValuesAndVectors(mat),values=_computeValuesAndVect.values,vectors=_computeValuesAndVect.vectors;return{values:matrix(values),vectors:matrix(vectors)}},"Matrix, number|BigNumber":function MatrixNumberBigNumber(mat,prec){var _computeValuesAndVect2=computeValuesAndVectors(mat,prec),values=_computeValuesAndVect2.values,vectors=_computeValuesAndVect2.vectors;return{values:matrix(values),vectors:matrix(vectors)}}});function computeValuesAndVectors(mat,prec){void 0===prec&&(prec=config.epsilon);var size=mat.size();if(2!==size.length||size[0]!==size[1])throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");var arr=mat.toArray(),N=size[0];if(function isReal(arr,N,prec){for(var i=0;i=5)return null;for(i=0;;){var c=usolve(A,b);if(smaller(norm(orthogonalComplement(b,[c])),prec))break;if(++i>=10)return null;b=normalize(c)}return b}function randomOrthogonalVector(N,orthog,type){var big="BigNumber"===type,cplx="Complex"===type,v=Array(N).fill(0).map((function(_){return 2*Math.random()-1}));return big&&(v=v.map((function(n){return bignumber(n)}))),cplx&&(v=v.map((function(n){return complex(n)}))),normalize(v=orthogonalComplement(v,orthog),type)}function orthogonalComplement(v,orthog){var _step3,_iterator3=_createForOfIteratorHelper(orthog);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var w=_step3.value;v=subtract(v,multiply(divideScalar(dot(w,v),dot(w,w)),w))}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}return v}function norm(v){return abs(sqrt(dot(v,v)))}function normalize(v,type){var cplx="Complex"===type,one="BigNumber"===type?bignumber(1):cplx?complex(1):1;return multiply(divideScalar(one,norm(v)),v)}return function complexEigs(arr,N,prec,type,findVectors){void 0===findVectors&&(findVectors=!0);var R=function balance(arr,N,prec,type,findVectors){var Rdiag,big="BigNumber"===type,cplx="Complex"===type,zero=big?bignumber(0):cplx?complex(0):0,one=big?bignumber(1):cplx?complex(1):1,radix=big?bignumber(10):2,radixSq=multiplyScalar(radix,radix);findVectors&&(Rdiag=Array(N).fill(one));for(var last=!1;!last;){last=!0;for(var i=0;i1&&(Qpartial=diag(Array(n-1).fill(one)))),n-=1,arr.pop();for(var _i2=0;_i22&&(Qpartial=diag(Array(n-2).fill(one)))),n-=2,arr.pop(),arr.pop();for(var _i3=0;_i3100){var err=Error("The eigenvalues failed to converge. Only found these eigenvalues: "+lambdas.join(", "));throw err.values=lambdas,err.vectors=[],err}return{values:lambdas,C:findVectors?multiply(Qtotal,function blockDiag(arr,N){for(var M=[],i=0;i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=Math.abs(e0);){var _i=Vab[0][0],j=Vab[0][1];x=x1(x,psi=getTheta(x[_i][_i],x[j][j],x[_i][j]),_i,j),Sij=Sij1(Sij,psi,_i,j),Vab=getAij(x)}for(var Ei=createArray(N,0),_i2=0;_i2=abs(e0);){var _i3=Vab[0][0],j=Vab[0][1];x=x1Big(x,psi=getThetaBig(x[_i3][_i3],x[j][j],x[_i3][j]),_i3,j),Sij=Sij1Big(Sij,psi,_i3,j),Vab=getAijBig(x)}for(var Ei=createArray(N,0),_i4=0;_i42&&void 0!==arguments[2]?arguments[2]:config.epsilon,type=arguments.length>3?arguments[3]:void 0;if("number"===type)return diag(arr,prec);if("BigNumber"===type)return diagBig(arr,prec);throw TypeError("Unsupported data type: "+type)}};var _object=require("../../../utils/object.js")},{"../../../utils/object.js":949}],760:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createExpm=void 0;var _is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","abs","add","identity","inv","multiply"],createExpm=(0,_factory.factory)("expm",dependencies,(function(_ref){var typed=_ref.typed,abs=_ref.abs,add=_ref.add,identity=_ref.identity,inv=_ref.inv,multiply=_ref.multiply;return typed("expm",{Matrix:function Matrix(A){var size=A.size();if(2!==size.length||size[0]!==size[1])throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");for(var n=size[0],params=function findParams(infNorm,eps){for(var maxSearchSize=30,k=0;k1&&(AposToI=multiply(AposToI,Apos),alternate=-alternate),N=add(N,multiply(factor=factor*(q-i+1)/((2*q-i+1)*i),AposToI)),D=add(D,multiply(factor*alternate,AposToI));for(var R=multiply(inv(D),N),_i=0;_iABig&&(ABig=abs(A[r][c]),rBig=r),r++;if(0===ABig)throw Error("Cannot calculate inverse, determinant is zero");(r=rBig)!==c&&(temp=A[c],A[c]=A[r],A[r]=temp,temp=B[c],B[c]=B[r],B[r]=temp);var Ac=A[c],Bc=B[c];for(r=0;r2||(0,_array.arraySize)(b).length>2)throw new RangeError("Vectors with dimensions greater then 2 are not supported expected (Size x = "+JSON.stringify(a.length)+", y = "+JSON.stringify(b.length)+")");var t=[],r=[];return a.map((function(a){return b.map((function(b){return r=[],t.push(r),a.map((function(y){return b.map((function(x){return r.push(multiplyScalar(y,x))}))}))}))}))&&t}}));exports.createKron=createKron},{"../../utils/array.js":932,"../../utils/factory.js":941}],768:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMap=void 0;var _function=require("../../utils/function.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createMap=(0,_factory.factory)("map",dependencies,(function(_ref){return(0,_ref.typed)("map",{"Array, function":_map,"Matrix, function":function MatrixFunction(x,callback){return x.map(callback)}})}));function _map(array,callback){var args=(0,_function.maxArgumentCount)(callback);return function recurse(value,index){return Array.isArray(value)?value.map((function(child,i){return recurse(child,index.concat(i))})):1===args?callback(value):2===args?callback(value,index):callback(value,index,array)}(array,[])}exports.createMap=createMap},{"../../utils/factory.js":941,"../../utils/function.js":942}],769:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMatrixFromColumns=void 0;var _factory=require("../../utils/factory.js");function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?m.resize(size,defaultValue):m}var arr=[];return size.length>0?(0,_array.resize)(arr,size,defaultValue):arr}}));exports.createOnes=createOnes},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],773:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPartitionSelect=void 0;var _is=require("../../utils/is.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),name="partitionSelect",dependencies=["typed","isNumeric","isNaN","compare"],createPartitionSelect=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,isNumeric=_ref.isNumeric,isNaN=_ref.isNaN,compare=_ref.compare,asc=compare,desc=function desc(a,b){return-compare(a,b)};return typed(name,{"Array | Matrix, number":function ArrayMatrixNumber(x,k){return _partitionSelect(x,k,asc)},"Array | Matrix, number, string":function ArrayMatrixNumberString(x,k,compare){if("asc"===compare)return _partitionSelect(x,k,asc);if("desc"===compare)return _partitionSelect(x,k,desc);throw new Error('Compare string must be "asc" or "desc"')},"Array | Matrix, number, function":_partitionSelect});function _partitionSelect(x,k,compare){if(!(0,_number.isInteger)(k)||k<0)throw new Error("k must be a non-negative integer");if((0,_is.isMatrix)(x)){if(x.size().length>1)throw new Error("Only one dimensional matrices supported");return quickSelect(x.valueOf(),k,compare)}if(Array.isArray(x))return quickSelect(x,k,compare)}function quickSelect(arr,k,compare){if(k>=arr.length)throw new Error("k out of bounds");for(var i=0;i=0){var tmp=arr[w];arr[w]=arr[r],arr[r]=tmp,--w}else++r;compare(arr[r],pivot)>0&&--r,k<=r?to=r:from=r+1}return arr[k]}}));exports.createPartitionSelect=createPartitionSelect},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],774:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRange=void 0;var _factory=require("../../utils/factory.js"),_noop=require("../../utils/noop.js"),dependencies=["typed","config","?matrix","?bignumber","smaller","smallerEq","larger","largerEq"],createRange=(0,_factory.factory)("range",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,bignumber=_ref.bignumber,smaller=_ref.smaller,smallerEq=_ref.smallerEq,larger=_ref.larger,largerEq=_ref.largerEq;return typed("range",{string:_strRange,"string, boolean":_strRange,"number, number":function numberNumber(start,end){return _out(_rangeEx(start,end,1))},"number, number, number":function numberNumberNumber(start,end,step){return _out(_rangeEx(start,end,step))},"number, number, boolean":function numberNumberBoolean(start,end,includeEnd){return _out(includeEnd?_rangeInc(start,end,1):_rangeEx(start,end,1))},"number, number, number, boolean":function numberNumberNumberBoolean(start,end,step,includeEnd){return _out(includeEnd?_rangeInc(start,end,step):_rangeEx(start,end,step))},"BigNumber, BigNumber":function BigNumberBigNumber(start,end){return _out(_bigRangeEx(start,end,new(0,start.constructor)(1)))},"BigNumber, BigNumber, BigNumber":function BigNumberBigNumberBigNumber(start,end,step){return _out(_bigRangeEx(start,end,step))},"BigNumber, BigNumber, boolean":function BigNumberBigNumberBoolean(start,end,includeEnd){var BigNumber=start.constructor;return _out(includeEnd?_bigRangeInc(start,end,new BigNumber(1)):_bigRangeEx(start,end,new BigNumber(1)))},"BigNumber, BigNumber, BigNumber, boolean":function BigNumberBigNumberBigNumberBoolean(start,end,step,includeEnd){return _out(includeEnd?_bigRangeInc(start,end,step):_bigRangeEx(start,end,step))}});function _out(arr){return"Matrix"===config.matrix?matrix?matrix(arr):(0,_noop.noMatrix)():arr}function _strRange(str,includeEnd){var r=function _parse(str){var nums=str.split(":").map((function(arg){return Number(arg)}));if(nums.some((function(num){return isNaN(num)})))return null;switch(nums.length){case 2:return{start:nums[0],end:nums[1],step:1};case 3:return{start:nums[0],end:nums[2],step:nums[1]};default:return null}}(str);if(!r)throw new SyntaxError('String "'+str+'" is no valid range');return"BigNumber"===config.number?(void 0===bignumber&&(0,_noop.noBignumber)(),_out((includeEnd?_bigRangeInc:_bigRangeEx)(bignumber(r.start),bignumber(r.end),bignumber(r.step)))):_out((includeEnd?_rangeInc:_rangeEx)(r.start,r.end,r.step))}function _rangeEx(start,end,step){var array=[],x=start;if(step>0)for(;smaller(x,end);)array.push(x),x+=step;else if(step<0)for(;larger(x,end);)array.push(x),x+=step;return array}function _rangeInc(start,end,step){var array=[],x=start;if(step>0)for(;smallerEq(x,end);)array.push(x),x+=step;else if(step<0)for(;largerEq(x,end);)array.push(x),x+=step;return array}function _bigRangeEx(start,end,step){var zero=bignumber(0),array=[],x=start;if(step.gt(zero))for(;smaller(x,end);)array.push(x),x=x.plus(step);else if(step.lt(zero))for(;larger(x,end);)array.push(x),x=x.plus(step);return array}function _bigRangeInc(start,end,step){var zero=bignumber(0),array=[],x=start;if(step.gt(zero))for(;smallerEq(x,end);)array.push(x),x=x.plus(step);else if(step.lt(zero))for(;largerEq(x,end);)array.push(x),x=x.plus(step);return array}}));exports.createRange=createRange},{"../../utils/factory.js":941,"../../utils/noop.js":947}],775:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createReshape=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","isInteger","matrix"],createReshape=(0,_factory.factory)("reshape",dependencies,(function(_ref){var typed=_ref.typed,isInteger=_ref.isInteger;return typed("reshape",{"Matrix, Array":function MatrixArray(x,sizes){return x.reshape(sizes)},"Array, Array":function ArrayArray(x,sizes){return sizes.forEach((function(size){if(!isInteger(size))throw new TypeError("Invalid size for dimension: "+size)})),(0,_array.reshape)(x,sizes)}})}));exports.createReshape=createReshape},{"../../utils/array.js":932,"../../utils/factory.js":941}],776:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createResize=void 0;var _is=require("../../utils/is.js"),_DimensionError=require("../../error/DimensionError.js"),_ArgumentsError=require("../../error/ArgumentsError.js"),_number=require("../../utils/number.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),dependencies=["config","matrix"],createResize=(0,require("../../utils/factory.js").factory)("resize",dependencies,(function(_ref){var config=_ref.config,matrix=_ref.matrix;return function resize(x,size,defaultValue){if(2!==arguments.length&&3!==arguments.length)throw new _ArgumentsError.ArgumentsError("resize",arguments.length,2,3);if((0,_is.isMatrix)(size)&&(size=size.valueOf()),(0,_is.isBigNumber)(size[0])&&(size=size.map((function(value){return(0,_is.isBigNumber)(value)?value.toNumber():value}))),(0,_is.isMatrix)(x))return x.resize(size,defaultValue,!0);if("string"==typeof x)return _resizeString(x,size,defaultValue);var asMatrix=!Array.isArray(x)&&"Array"!==config.matrix;if(0===size.length){for(;Array.isArray(x);)x=x[0];return(0,_object.clone)(x)}Array.isArray(x)||(x=[x]),x=(0,_object.clone)(x);var res=(0,_array.resize)(x,size,defaultValue);return asMatrix?matrix(res):res};function _resizeString(str,size,defaultChar){if(void 0!==defaultChar){if("string"!=typeof defaultChar||1!==defaultChar.length)throw new TypeError("Single character expected as defaultValue")}else defaultChar=" ";if(1!==size.length)throw new _DimensionError.DimensionError(size.length,1);var len=size[0];if("number"!=typeof len||!(0,_number.isInteger)(len))throw new TypeError("Invalid size, must contain positive integers (size: "+(0,_string.format)(size)+")");if(str.length>len)return str.substring(0,len);if(str.length2)throw new RangeError("Vector must be of dimensions 1x".concat(expectedSize));if(2===actualSize.length&&1!==actualSize[1])throw new RangeError("Vector must be of dimensions 1x".concat(expectedSize));if(actualSize[0]!==expectedSize)throw new RangeError("Vector must be of dimensions 1x".concat(expectedSize))}}));exports.createRotate=createRotate},{"../../utils/array.js":932,"../../utils/factory.js":941}],778:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRotationMatrix=void 0;var _is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),name="rotationMatrix",dependencies=["typed","config","multiplyScalar","addScalar","unaryMinus","norm","matrix","BigNumber","DenseMatrix","SparseMatrix","cos","sin"],createRotationMatrix=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,multiplyScalar=_ref.multiplyScalar,addScalar=_ref.addScalar,unaryMinus=_ref.unaryMinus,norm=_ref.norm,BigNumber=_ref.BigNumber,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,SparseMatrix=_ref.SparseMatrix,cos=_ref.cos,sin=_ref.sin;return typed(name,{"":function _(){return"Matrix"===config.matrix?matrix([]):[]},string:function string(format){return matrix(format)},"number | BigNumber | Complex | Unit":function numberBigNumberComplexUnit(theta){return _rotationMatrix2x2(theta,"Matrix"===config.matrix?"dense":void 0)},"number | BigNumber | Complex | Unit, string":function numberBigNumberComplexUnitString(theta,format){return _rotationMatrix2x2(theta,format)},"number | BigNumber | Complex | Unit, Array":function numberBigNumberComplexUnitArray(theta,v){var matrixV=matrix(v);return _validateVector(matrixV),_rotationMatrix3x3(theta,matrixV,void 0)},"number | BigNumber | Complex | Unit, Matrix":function numberBigNumberComplexUnitMatrix(theta,v){_validateVector(v);var storageType=v.storage()||("Matrix"===config.matrix?"dense":void 0);return _rotationMatrix3x3(theta,v,storageType)},"number | BigNumber | Complex | Unit, Array, string":function numberBigNumberComplexUnitArrayString(theta,v,format){var matrixV=matrix(v);return _validateVector(matrixV),_rotationMatrix3x3(theta,matrixV,format)},"number | BigNumber | Complex | Unit, Matrix, string":function numberBigNumberComplexUnitMatrixString(theta,v,format){return _validateVector(v),_rotationMatrix3x3(theta,v,format)}});function _rotationMatrix2x2(theta,format){var minusOne=(0,_is.isBigNumber)(theta)?new BigNumber(-1):-1,cosTheta=cos(theta),sinTheta=sin(theta);return _convertToFormat([[cosTheta,multiplyScalar(minusOne,sinTheta)],[sinTheta,cosTheta]],format)}function _validateVector(v){var size=v.size();if(size.length<1||3!==size[0])throw new RangeError("Vector must be of dimensions 1x3")}function _mul(array){return array.reduce((function(p,curr){return multiplyScalar(p,curr)}))}function _convertToFormat(data,format){if(format){if("sparse"===format)return new SparseMatrix(data);if("dense"===format)return new DenseMatrix(data);throw new TypeError('Unknown matrix type "'.concat(format,'"'))}return data}function _rotationMatrix3x3(theta,v,format){var normV=norm(v);if(0===normV)throw new RangeError("Rotation around zero vector");var Big=(0,_is.isBigNumber)(theta)?BigNumber:null,one=Big?new Big(1):1,minusOne=Big?new Big(-1):-1,vx=Big?new Big(v.get([0])/normV):v.get([0])/normV,vy=Big?new Big(v.get([1])/normV):v.get([1])/normV,vz=Big?new Big(v.get([2])/normV):v.get([2])/normV,c=cos(theta),oneMinusC=addScalar(one,unaryMinus(c)),s=sin(theta);return _convertToFormat([[addScalar(c,_mul([vx,vx,oneMinusC])),addScalar(_mul([vx,vy,oneMinusC]),_mul([minusOne,vz,s])),addScalar(_mul([vx,vz,oneMinusC]),_mul([vy,s]))],[addScalar(_mul([vx,vy,oneMinusC]),_mul([vz,s])),addScalar(c,_mul([vy,vy,oneMinusC])),addScalar(_mul([vy,vz,oneMinusC]),_mul([minusOne,vx,s]))],[addScalar(_mul([vx,vz,oneMinusC]),_mul([minusOne,vy,s])),addScalar(_mul([vy,vz,oneMinusC]),_mul([vx,s])),addScalar(c,_mul([vz,vz,oneMinusC]))]],format)}}));exports.createRotationMatrix=createRotationMatrix},{"../../utils/factory.js":941,"../../utils/is.js":943}],779:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRow=void 0;var _factory=require("../../utils/factory.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),dependencies=["typed","Index","matrix","range"],createRow=(0,_factory.factory)("row",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index,matrix=_ref.matrix,range=_ref.range;return typed("row",{"Matrix, number":_row,"Array, number":function ArrayNumber(value,row){return _row(matrix((0,_object.clone)(value)),row).valueOf()}});function _row(value,row){if(2!==value.size().length)throw new Error("Only two dimensional matrix is supported");(0,_array.validateIndex)(row,value.size()[0]);var columnRange=range(0,value.size()[1]),index=new Index(row,columnRange);return value.subset(index)}}));exports.createRow=createRow},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/object.js":949}],780:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSize=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_noop=require("../../utils/noop.js"),dependencies=["typed","config","?matrix"],createSize=(0,_factory.factory)("size",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix;return typed("size",{Matrix:function Matrix(x){return x.create(x.size())},Array:_array.arraySize,string:function string(x){return"Array"===config.matrix?[x.length]:matrix([x.length])},"number | Complex | BigNumber | Unit | boolean | null":function numberComplexBigNumberUnitBooleanNull(x){return"Array"===config.matrix?[]:matrix?matrix([]):(0,_noop.noMatrix)()}})}));exports.createSize=createSize},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/noop.js":947}],781:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSort=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix","compare","compareNatural"],createSort=(0,_factory.factory)("sort",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,compare=_ref.compare,compareNatural=_ref.compareNatural,compareAsc=compare,compareDesc=function compareDesc(a,b){return-compare(a,b)};return typed("sort",{Array:function Array(x){return _arrayIsVector(x),x.sort(compareAsc)},Matrix:function Matrix(x){return _matrixIsVector(x),matrix(x.toArray().sort(compareAsc),x.storage())},"Array, function":function ArrayFunction(x,_comparator){return _arrayIsVector(x),x.sort(_comparator)},"Matrix, function":function MatrixFunction(x,_comparator){return _matrixIsVector(x),matrix(x.toArray().sort(_comparator),x.storage())},"Array, string":function ArrayString(x,order){return _arrayIsVector(x),x.sort(_comparator(order))},"Matrix, string":function MatrixString(x,order){return _matrixIsVector(x),matrix(x.toArray().sort(_comparator(order)),x.storage())}});function _comparator(order){if("asc"===order)return compareAsc;if("desc"===order)return compareDesc;if("natural"===order)return compareNatural;throw new Error('String "asc", "desc", or "natural" expected')}function _arrayIsVector(array){if(1!==(0,_array.arraySize)(array).length)throw new Error("One dimensional array expected")}function _matrixIsVector(matrix){if(1!==matrix.size().length)throw new Error("One dimensional matrix expected")}}));exports.createSort=createSort},{"../../utils/array.js":932,"../../utils/factory.js":941}],782:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSqrtm=void 0;var _is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","abs","add","multiply","sqrt","subtract","inv","size","max","identity"],createSqrtm=(0,_factory.factory)("sqrtm",dependencies,(function(_ref){var typed=_ref.typed,abs=_ref.abs,add=_ref.add,multiply=_ref.multiply,sqrt=_ref.sqrt,subtract=_ref.subtract,inv=_ref.inv,size=_ref.size,max=_ref.max,identity=_ref.identity;function _denmanBeavers(A){var error,iterations=0,Y=A,Z=identity(size(A));do{var Yk=Y;if(Y=multiply(.5,add(Yk,inv(Z))),Z=multiply(.5,add(Z,inv(Yk))),(error=max(abs(subtract(Y,Yk))))>1e-6&&++iterations>1e3)throw new Error("computing square root of matrix: iterative method could not converge")}while(error>1e-6);return Y}return typed("sqrtm",{"Array | Matrix":function ArrayMatrix(A){var size=(0,_is.isMatrix)(A)?A.size():(0,_array.arraySize)(A);switch(size.length){case 1:if(1===size[0])return sqrt(A);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");case 2:if(size[0]===size[1])return _denmanBeavers(A);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");default:throw new RangeError("Matrix must be at most two dimensional (size: "+(0,_string.format)(size)+")")}}})}));exports.createSqrtm=createSqrtm},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/string.js":953}],783:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSqueeze=void 0;var _object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix"],createSqueeze=(0,_factory.factory)("squeeze",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix;return typed("squeeze",{Array:function Array(x){return(0,_array.squeeze)((0,_object.clone)(x))},Matrix:function Matrix(x){var res=(0,_array.squeeze)(x.toArray());return Array.isArray(res)?matrix(res):res},any:function any(x){return(0,_object.clone)(x)}})}));exports.createSqueeze=createSqueeze},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/object.js":949}],784:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubset=void 0;var _is=require("../../utils/is.js"),_object=require("../../utils/object.js"),_array=require("../../utils/array.js"),_customs=require("../../utils/customs.js"),_DimensionError=require("../../error/DimensionError.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","matrix"],createSubset=(0,_factory.factory)("subset",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix;return typed("subset",{"Array, Index":function ArrayIndex(value,index){var subset=matrix(value).subset(index);return index.isScalar()?subset:subset.valueOf()},"Matrix, Index":function MatrixIndex(value,index){return value.subset(index)},"Object, Index":_getObjectProperty,"string, Index":_getSubstring,"Array, Index, any":function ArrayIndexAny(value,index,replacement){return matrix((0,_object.clone)(value)).subset(index,replacement,void 0).valueOf()},"Array, Index, any, any":function ArrayIndexAnyAny(value,index,replacement,defaultValue){return matrix((0,_object.clone)(value)).subset(index,replacement,defaultValue).valueOf()},"Matrix, Index, any":function MatrixIndexAny(value,index,replacement){return value.clone().subset(index,replacement)},"Matrix, Index, any, any":function MatrixIndexAnyAny(value,index,replacement,defaultValue){return value.clone().subset(index,replacement,defaultValue)},"string, Index, string":_setSubstring,"string, Index, string, string":_setSubstring,"Object, Index, any":_setObjectProperty})}));function _getSubstring(str,index){if(!(0,_is.isIndex)(index))throw new TypeError("Index expected");if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size().length,1);var strLen=str.length;(0,_array.validateIndex)(index.min()[0],strLen),(0,_array.validateIndex)(index.max()[0],strLen);var range=index.dimension(0),substr="";return range.forEach((function(v){substr+=str.charAt(v)})),substr}function _setSubstring(str,index,replacement,defaultValue){if(!index||!0!==index.isIndex)throw new TypeError("Index expected");if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size().length,1);if(void 0!==defaultValue){if("string"!=typeof defaultValue||1!==defaultValue.length)throw new TypeError("Single character expected as defaultValue")}else defaultValue=" ";var range=index.dimension(0);if(range.size()[0]!==replacement.length)throw new _DimensionError.DimensionError(range.size()[0],replacement.length);var strLen=str.length;(0,_array.validateIndex)(index.min()[0]),(0,_array.validateIndex)(index.max()[0]);for(var chars=[],i=0;istrLen)for(var _i=strLen-1,_len=chars.length;_i<_len;_i++)chars[_i]||(chars[_i]=defaultValue);return chars.join("")}function _getObjectProperty(object,index){if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size(),1);var key=index.dimension(0);if("string"!=typeof key)throw new TypeError("String expected as index to retrieve an object property");return(0,_customs.getSafeProperty)(object,key)}function _setObjectProperty(object,index,replacement){if(1!==index.size().length)throw new _DimensionError.DimensionError(index.size(),1);var key=index.dimension(0);if("string"!=typeof key)throw new TypeError("String expected as index to retrieve an object property");var updated=(0,_object.clone)(object);return(0,_customs.setSafeProperty)(updated,key,replacement),updated}exports.createSubset=createSubset},{"../../error/DimensionError.js":382,"../../utils/array.js":932,"../../utils/customs.js":939,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/object.js":949}],785:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTrace=void 0;var _object=require("../../utils/object.js"),_string=require("../../utils/string.js"),dependencies=["typed","matrix","add"],createTrace=(0,require("../../utils/factory.js").factory)("trace",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,add=_ref.add;return typed("trace",{Array:function _arrayTrace(x){return _denseTrace(matrix(x))},SparseMatrix:function _sparseTrace(m){var values=m._values,index=m._index,ptr=m._ptr,size=m._size,rows=size[0],columns=size[1];if(rows===columns){var sum=0;if(values.length>0)for(var j=0;jj)break}return sum}throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")")},DenseMatrix:_denseTrace,any:_object.clone});function _denseTrace(m){var size=m._size,data=m._data;switch(size.length){case 1:if(1===size[0])return(0,_object.clone)(data[0]);throw new RangeError("Matrix must be square (size: "+(0,_string.format)(size)+")");case 2:var rows=size[0];if(rows===size[1]){for(var sum=0,i=0;i0?m.resize(size,defaultValue):m}var arr=[];return size.length>0?(0,_array.resize)(arr,size,defaultValue):arr}}));exports.createZeros=createZeros},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],788:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCombinations=void 0;var _factory=require("../../utils/factory.js"),_combinations=require("../../plain/number/combinations.js"),dependencies=["typed"],createCombinations=(0,_factory.factory)("combinations",dependencies,(function(_ref){return(0,_ref.typed)("combinations",{"number, number":_combinations.combinationsNumber,"BigNumber, BigNumber":function BigNumberBigNumber(n,k){var result,i,BigNumber=n.constructor,nMinusk=n.minus(k),one=new BigNumber(1);if(!isPositiveInteger(n)||!isPositiveInteger(k))throw new TypeError("Positive integer value expected in function combinations");if(k.gt(n))throw new TypeError("k must be less than n in function combinations");if(result=one,k.lt(nMinusk))for(i=one;i.lte(nMinusk);i=i.plus(one))result=result.times(k.plus(i)).dividedBy(i);else for(i=one;i.lte(k);i=i.plus(one))result=result.times(nMinusk.plus(i)).dividedBy(i);return result}})}));function isPositiveInteger(n){return n.isInteger()&&n.gte(0)}exports.createCombinations=createCombinations},{"../../plain/number/combinations.js":882,"../../utils/factory.js":941}],789:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCombinationsWithRep=void 0;var _factory=require("../../utils/factory.js"),_number=require("../../utils/number.js"),_product=require("../../utils/product.js"),name="combinationsWithRep",dependencies=["typed"],createCombinationsWithRep=(0,_factory.factory)(name,dependencies,(function(_ref){return(0,_ref.typed)(name,{"number, number":function numberNumber(n,k){if(!(0,_number.isInteger)(n)||n<0)throw new TypeError("Positive integer value expected in function combinationsWithRep");if(!(0,_number.isInteger)(k)||k<0)throw new TypeError("Positive integer value expected in function combinationsWithRep");if(n<1)throw new TypeError("k must be less than or equal to n + k - 1");return k2;)sum+=p-=2,prod=prod.times(sum);return new _BigNumber(prod.toPrecision(_BigNumber.precision))}}));exports.createGamma=createGamma},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],792:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createKldivergence=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","matrix","divide","sum","multiply","dotDivide","log","isNumeric"],createKldivergence=(0,_factory.factory)("kldivergence",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,divide=_ref.divide,sum=_ref.sum,multiply=_ref.multiply,dotDivide=_ref.dotDivide,log=_ref.log,isNumeric=_ref.isNumeric;return typed("kldivergence",{"Array, Array":function ArrayArray(q,p){return _kldiv(matrix(q),matrix(p))},"Matrix, Array":function MatrixArray(q,p){return _kldiv(q,matrix(p))},"Array, Matrix":function ArrayMatrix(q,p){return _kldiv(matrix(q),p)},"Matrix, Matrix":function MatrixMatrix(q,p){return _kldiv(q,p)}});function _kldiv(q,p){var plength=p.size().length,qlength=q.size().length;if(plength>1)throw new Error("first object must be one dimensional");if(qlength>1)throw new Error("second object must be one dimensional");if(plength!==qlength)throw new Error("Length of two vectors must be equal");if(0===sum(q))throw new Error("Sum of elements in first object must be non zero");if(0===sum(p))throw new Error("Sum of elements in second object must be non zero");var qnorm=divide(q,sum(q)),pnorm=divide(p,sum(p)),result=sum(multiply(qnorm,log(dotDivide(qnorm,pnorm))));return isNumeric(result)?result:Number.NaN}}));exports.createKldivergence=createKldivergence},{"../../utils/factory.js":941}],793:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMultinomial=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","add","divide","multiply","factorial","isInteger","isPositive"],createMultinomial=(0,_factory.factory)("multinomial",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide,multiply=_ref.multiply,factorial=_ref.factorial,isInteger=_ref.isInteger,isPositive=_ref.isPositive;return typed("multinomial",{"Array | Matrix":function ArrayMatrix(a){var sum=0,denom=1;return(0,_collection.deepForEach)(a,(function(ai){if(!isInteger(ai)||!isPositive(ai))throw new TypeError("Positive integer value expected in function multinomial");sum=add(sum,ai),denom=multiply(denom,factorial(ai))})),divide(factorial(sum),denom)}})}));exports.createMultinomial=createMultinomial},{"../../utils/collection.js":937,"../../utils/factory.js":941}],794:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPermutations=void 0;var _number=require("../../utils/number.js"),_product=require("../../utils/product.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","factorial"],createPermutations=(0,_factory.factory)("permutations",dependencies,(function(_ref){return(0,_ref.typed)("permutations",{"number | BigNumber":_ref.factorial,"number, number":function numberNumber(n,k){if(!(0,_number.isInteger)(n)||n<0)throw new TypeError("Positive integer value expected in function permutations");if(!(0,_number.isInteger)(k)||k<0)throw new TypeError("Positive integer value expected in function permutations");if(k>n)throw new TypeError("second argument k must be less than or equal to first argument n");return(0,_product.product)(n-k+1,n)},"BigNumber, BigNumber":function BigNumberBigNumber(n,k){var result,i;if(!isPositiveInteger(n)||!isPositiveInteger(k))throw new TypeError("Positive integer value expected in function permutations");if(k.gt(n))throw new TypeError("second argument k must be less than or equal to first argument n");for(result=n.mul(0).add(1),i=n.minus(k).plus(1);i.lte(n);i=i.plus(1))result=result.times(i);return result}})}));function isPositiveInteger(n){return n.isInteger()&&n.gte(0)}exports.createPermutations=createPermutations},{"../../utils/factory.js":941,"../../utils/number.js":948,"../../utils/product.js":951}],795:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPickRandom=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_is=require("../../utils/is.js"),_seededRNG=require("./util/seededRNG.js"),dependencies=["typed","config","?on"],createPickRandom=(0,_factory.factory)("pickRandom",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,on=_ref.on,rng=(0,_seededRNG.createRng)(config.randomSeed);return on&&on("config",(function(curr,prev){curr.randomSeed!==prev.randomSeed&&(rng=(0,_seededRNG.createRng)(curr.randomSeed))})),typed("pickRandom",{"Array | Matrix":function ArrayMatrix(possibles){return _pickRandom(possibles,{})},"Array | Matrix, Object":function ArrayMatrixObject(possibles,options){return _pickRandom(possibles,options)},"Array | Matrix, number":function ArrayMatrixNumber(possibles,number){return _pickRandom(possibles,{number:number})},"Array | Matrix, Array | Matrix":function ArrayMatrixArrayMatrix(possibles,weights){return _pickRandom(possibles,{weights:weights})},"Array | Matrix, Array | Matrix, number":function ArrayMatrixArrayMatrixNumber(possibles,weights,number){return _pickRandom(possibles,{number:number,weights:weights})},"Array | Matrix, number, Array | Matrix":function ArrayMatrixNumberArrayMatrix(possibles,number,weights){return _pickRandom(possibles,{number:number,weights:weights})}});function _pickRandom(possibles,_ref2){var number=_ref2.number,weights=_ref2.weights,_ref2$elementWise=_ref2.elementWise,elementWise=void 0===_ref2$elementWise||_ref2$elementWise,single=void 0===number;single&&(number=1);var createMatrix=(0,_is.isMatrix)(possibles)?possibles.create:(0,_is.isMatrix)(weights)?weights.create:null;possibles=possibles.valueOf(),weights&&(weights=weights.valueOf()),!0===elementWise&&(possibles=(0,_array.flatten)(possibles),weights=(0,_array.flatten)(weights));var totalWeights=0;if(void 0!==weights){if(weights.length!==possibles.length)throw new Error("Weights must have the same length as possibles");for(var i=0,len=weights.length;i1)for(var i=0,length=size.shift();iy?1:-1},"number, number":function numberNumber(x,y){return(0,_number.nearlyEqual)(x,y,config.epsilon)?0:x>y?1:-1},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return(0,_nearlyEqual.nearlyEqual)(x,y,config.epsilon)?new BigNumber(0):new BigNumber(x.cmp(y))},"Fraction, Fraction":function FractionFraction(x,y){return new Fraction(x.compare(y))},"Complex, Complex":function ComplexComplex(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function UnitUnit(x,y){if(!x.equalBase(y))throw new Error("Cannot compare units with different base");return this(x.value,y.value)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm05(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createCompare=createCompare;var createCompareNumber=(0,_factory.factory)(name,["typed","config"],(function(_ref2){var typed=_ref2.typed,config=_ref2.config;return typed(name,{"number, number":function numberNumber(x,y){return(0,_number.nearlyEqual)(x,y,config.epsilon)?0:x>y?1:-1}})}));exports.createCompareNumber=createCompareNumber},{"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm05.js":914,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/factory.js":941,"../../utils/number.js":948}],801:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCompareNatural=void 0;var _javascriptNaturalSort=_interopRequireDefault(require("javascript-natural-sort")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),name="compareNatural",dependencies=["typed","compare"],createCompareNatural=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,compare=_ref.compare,compareBooleans=compare.signatures["boolean,boolean"];return typed(name,{"any, any":function anyAny(x,y){var c,typeX=(0,_is.typeOf)(x),typeY=(0,_is.typeOf)(y);if(!("number"!==typeX&&"BigNumber"!==typeX&&"Fraction"!==typeX||"number"!==typeY&&"BigNumber"!==typeY&&"Fraction"!==typeY))return"0"!==(c=compare(x,y)).toString()?c>0?1:-1:(0,_javascriptNaturalSort.default)(typeX,typeY);if("Array"===typeX||"Matrix"===typeX||"Array"===typeY||"Matrix"===typeY)return 0!==(c=compareMatricesAndArrays(this,x,y))?c:(0,_javascriptNaturalSort.default)(typeX,typeY);if(typeX!==typeY)return(0,_javascriptNaturalSort.default)(typeX,typeY);if("Complex"===typeX)return function compareComplexNumbers(x,y){if(x.re>y.re)return 1;if(x.rey.im)return 1;if(x.imy.length?1:x.lengthy},"number, number":function numberNumber(x,y){return x>y&&!(0,_number.nearlyEqual)(x,y,config.epsilon)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return x.gt(y)&&!(0,_nearlyEqual.nearlyEqual)(x,y,config.epsilon)},"Fraction, Fraction":function FractionFraction(x,y){return 1===x.compare(y)},"Complex, Complex":function ComplexComplex(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function UnitUnit(x,y){if(!x.equalBase(y))throw new Error("Cannot compare units with different base");return this(x.value,y.value)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createLarger=createLarger;var createLargerNumber=(0,_factory.factory)(name,["typed","config"],(function(_ref2){var typed=_ref2.typed,config=_ref2.config;return typed(name,{"number, number":function numberNumber(x,y){return x>y&&!(0,_number.nearlyEqual)(x,y,config.epsilon)}})}));exports.createLargerNumber=createLargerNumber},{"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/factory.js":941,"../../utils/number.js":948}],808:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createLargerEqNumber=exports.createLargerEq=void 0;var _nearlyEqual=require("../../utils/bignumber/nearlyEqual.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm13.js"),name="largerEq",dependencies=["typed","config","matrix","DenseMatrix"],createLargerEq=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm5.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"boolean, boolean":function booleanBoolean(x,y){return x>=y},"number, number":function numberNumber(x,y){return x>=y||(0,_number.nearlyEqual)(x,y,config.epsilon)},"BigNumber, BigNumber":function BigNumberBigNumber(x,y){return x.gte(y)||(0,_nearlyEqual.nearlyEqual)(x,y,config.epsilon)},"Fraction, Fraction":function FractionFraction(x,y){return-1!==x.compare(y)},"Complex, Complex":function ComplexComplex(){throw new TypeError("No ordering relation is defined for complex numbers")},"Unit, Unit":function UnitUnit(x,y){if(!x.equalBase(y))throw new Error("Cannot compare units with different base");return this(x.value,y.value)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm07(x,y,this)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm03(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, any":function SparseMatrixAny(x,y){return algorithm12(x,y,this,!1)},"DenseMatrix, any":function DenseMatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, SparseMatrix":function anySparseMatrix(x,y){return algorithm12(y,x,this,!0)},"any, DenseMatrix":function anyDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createLargerEq=createLargerEq;var createLargerEqNumber=(0,_factory.factory)(name,["typed","config"],(function(_ref2){var typed=_ref2.typed,config=_ref2.config;return typed(name,{"number, number":function numberNumber(x,y){return x>=y||(0,_number.nearlyEqual)(x,y,config.epsilon)}})}));exports.createLargerEqNumber=createLargerEqNumber},{"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm07.js":916,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/bignumber/nearlyEqual.js":936,"../../utils/factory.js":941,"../../utils/number.js":948}],809:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSmallerNumber=exports.createSmaller=void 0;var _nearlyEqual=require("../../utils/bignumber/nearlyEqual.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm03.js"),_algorithm2=require("../../type/matrix/utils/algorithm07.js"),_algorithm3=require("../../type/matrix/utils/algorithm12.js"),_algorithm4=require("../../type/matrix/utils/algorithm14.js"),_algorithm5=require("../../type/matrix/utils/algorithm13.js"),name="smaller",dependencies=["typed","config","matrix","DenseMatrix"],createSmaller=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,matrix=_ref.matrix,DenseMatrix=_ref.DenseMatrix,algorithm03=(0,_algorithm.createAlgorithm03)({typed:typed}),algorithm07=(0,_algorithm2.createAlgorithm07)({typed:typed,DenseMatrix:DenseMatrix}),algorithm12=(0,_algorithm3.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm5.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm4.createAlgorithm14)({typed:typed});return typed(name,{"boolean, boolean":function booleanBoolean(x,y){return x0;i--)for(var j=0;jarray[j+1].length&&(temp=array[j],array[j]=array[j+1],array[j+1]=temp);return array}(result)}});function _subset(array,bitarray){for(var result=[],i=0;i=MAX_NUM?(0,_number.sign)(x):y<=THRESH?(0,_number.sign)(x)*function erf1(y){var i,ysq=y*y,xnum=P[0][4]*ysq,xden=ysq;for(i=0;i<3;i+=1)xnum=(xnum+P[0][i])*ysq,xden=(xden+Q[0][i])*ysq;return y*(xnum+P[0][3])/(xden+Q[0][3])}(y):y<=4?(0,_number.sign)(x)*(1-function erfc2(y){var i,xnum=P[1][8]*y,xden=y;for(i=0;i<7;i+=1)xnum=(xnum+P[1][i])*y,xden=(xden+Q[1][i])*y;var result=(xnum+P[1][7])/(xden+Q[1][7]),ysq=parseInt(16*y)/16,del=(y-ysq)*(y+ysq);return Math.exp(-ysq*ysq)*Math.exp(-del)*result}(y)):(0,_number.sign)(x)*(1-function erfc3(y){var i,ysq=1/(y*y),xnum=P[2][5]*ysq,xden=ysq;for(i=0;i<4;i+=1)xnum=(xnum+P[2][i])*ysq,xden=(xden+Q[2][i])*ysq;var result=ysq*(xnum+P[2][4])/(xden+Q[2][4]);result=(SQRPI-result)/y,ysq=parseInt(16*y)/16;var del=(y-ysq)*(y+ysq);return Math.exp(-ysq*ysq)*Math.exp(-del)*result}(y))},"Array | Matrix":function ArrayMatrix(n){return(0,_collection.deepMap)(n,this)}})}));exports.createErf=createErf;var THRESH=.46875,SQRPI=.5641895835477563,P=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],Q=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]],MAX_NUM=Math.pow(2,53)},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],823:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMad=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","abs","map","median","subtract"],createMad=(0,_factory.factory)("mad",dependencies,(function(_ref){var typed=_ref.typed,abs=_ref.abs,map=_ref.map,median=_ref.median,subtract=_ref.subtract;return typed("mad",{"Array | Matrix":_mad,"...":function _(args){return _mad(args)}});function _mad(array){if(0===(array=(0,_array.flatten)(array.valueOf())).length)throw new Error("Cannot calculate median absolute deviation (mad) of an empty array");try{var med=median(array);return median(map(array,(function(value){return abs(subtract(value,med))})))}catch(err){throw err instanceof TypeError&&-1!==err.message.indexOf("median")?new TypeError(err.message.replace("median","mad")):(0,_improveErrorMessage.improveErrorMessage)(err,"mad")}}}));exports.createMad=createMad},{"../../utils/array.js":932,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],824:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMax=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","numeric","larger"],createMax=(0,_factory.factory)("max",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,larger=_ref.larger;return typed("max",{"Array | Matrix":_max,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){return(0,_collection.reduce)(array,dim.valueOf(),_largest)},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function max");return _max(args)}});function _largest(x,y){try{return larger(x,y)?x:y}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"max",y)}}function _max(array){var res;if((0,_collection.deepForEach)(array,(function(value){try{isNaN(value)&&"number"==typeof value?res=NaN:(void 0===res||larger(value,res))&&(res=value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"max",value)}})),void 0===res)throw new Error("Cannot calculate max of an empty array");return"string"==typeof res&&(res=numeric(res,config.number)),res}}));exports.createMax=createMax},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],825:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMean=void 0;var _collection=require("../../utils/collection.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","add","divide"],createMean=(0,_factory.factory)("mean",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide;return typed("mean",{"Array | Matrix":_mean,"Array | Matrix, number | BigNumber":function _nmeanDim(array,dim){try{var sum=(0,_collection.reduce)(array,dim,add),s=Array.isArray(array)?(0,_array.arraySize)(array):array.size();return divide(sum,s[dim])}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"mean")}},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function mean");return _mean(args)}});function _mean(array){var sum,num=0;if((0,_collection.deepForEach)(array,(function(value){try{sum=void 0===sum?value:add(sum,value),num++}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"mean",value)}})),0===num)throw new Error("Cannot calculate the mean of an empty array");return divide(sum,num)}}));exports.createMean=createMean},{"../../utils/array.js":932,"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],826:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMedian=void 0;var _collection=require("../../utils/collection.js"),_array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","add","divide","compare","partitionSelect"],createMedian=(0,_factory.factory)("median",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,divide=_ref.divide,compare=_ref.compare,partitionSelect=_ref.partitionSelect;function _median(array){try{var num=(array=(0,_array.flatten)(array.valueOf())).length;if(0===num)throw new Error("Cannot calculate median of an empty array");if(num%2==0){for(var mid=num/2-1,right=partitionSelect(array,mid+1),left=array[mid],i=0;i0&&(left=array[i]);return middle2(left,right)}var m=partitionSelect(array,(num-1)/2);return middle(m)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"median")}}var middle=typed({"number | BigNumber | Complex | Unit":function numberBigNumberComplexUnit(value){return value}}),middle2=typed({"number | BigNumber | Complex | Unit, number | BigNumber | Complex | Unit":function numberBigNumberComplexUnitNumberBigNumberComplexUnit(left,right){return divide(add(left,right),2)}});return typed("median",{"Array | Matrix":_median,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){throw new Error("median(A, dim) is not yet supported")},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function median");return _median(args)}})}));exports.createMedian=createMedian},{"../../utils/array.js":932,"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],827:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMin=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","numeric","smaller"],createMin=(0,_factory.factory)("min",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,numeric=_ref.numeric,smaller=_ref.smaller;return typed("min",{"Array | Matrix":_min,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){return(0,_collection.reduce)(array,dim.valueOf(),_smallest)},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function min");return _min(args)}});function _smallest(x,y){try{return smaller(x,y)?x:y}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"min",y)}}function _min(array){var min;if((0,_collection.deepForEach)(array,(function(value){try{isNaN(value)&&"number"==typeof value?min=NaN:(void 0===min||smaller(value,min))&&(min=value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"min",value)}})),void 0===min)throw new Error("Cannot calculate min of an empty array");return"string"==typeof min&&(min=numeric(min,config.number)),min}}));exports.createMin=createMin},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],828:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMode=void 0;var _array=require("../../utils/array.js"),_factory=require("../../utils/factory.js"),dependencies=["typed","isNaN","isNumeric"],createMode=(0,_factory.factory)("mode",dependencies,(function(_ref){var typed=_ref.typed,isNaN=_ref.isNaN,isNumeric=_ref.isNumeric;return typed("mode",{"Array | Matrix":_mode,"...":function _(args){return _mode(args)}});function _mode(values){if(0===(values=(0,_array.flatten)(values.valueOf())).length)throw new Error("Cannot calculate mode of an empty array");for(var count={},mode=[],max=0,i=0;imax&&(max=count[value],mode=[value])}return mode}}));exports.createMode=createMode},{"../../utils/array.js":932,"../../utils/factory.js":941}],829:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createProd=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","multiplyScalar","numeric"],createProd=(0,_factory.factory)("prod",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,multiplyScalar=_ref.multiplyScalar,numeric=_ref.numeric;return typed("prod",{"Array | Matrix":_prod,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){throw new Error("prod(A, dim) is not yet supported")},"...":function _(args){return _prod(args)}});function _prod(array){var prod;if((0,_collection.deepForEach)(array,(function(value){try{prod=void 0===prod?value:multiplyScalar(prod,value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"prod",value)}})),"string"==typeof prod&&(prod=numeric(prod,config.number)),void 0===prod)throw new Error("Cannot calculate prod of an empty array");return prod}}));exports.createProd=createProd},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],830:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createQuantileSeq=void 0;var _is=require("../../utils/is.js"),_number=require("../../utils/number.js"),_array=require("../../utils/array.js"),dependencies=["typed","add","multiply","partitionSelect","compare"],createQuantileSeq=(0,require("../../utils/factory.js").factory)("quantileSeq",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,multiply=_ref.multiply,partitionSelect=_ref.partitionSelect,compare=_ref.compare;function _quantileSeq(array,prob,sorted){var flat=(0,_array.flatten)(array),len=flat.length;if(0===len)throw new Error("Cannot calculate quantile of an empty sequence");if((0,_is.isNumber)(prob)){var _index=prob*(len-1),_fracPart=_index%1;if(0===_fracPart){var value=sorted?flat[_index]:partitionSelect(flat,_index);return validate(value),value}var _left,_right,_integerPart=Math.floor(_index);if(sorted)_left=flat[_integerPart],_right=flat[_integerPart+1];else{_right=partitionSelect(flat,_integerPart+1),_left=flat[_integerPart];for(var i=0;i<_integerPart;++i)compare(flat[i],_left)>0&&(_left=flat[i])}return validate(_left),validate(_right),add(multiply(_left,1-_fracPart),multiply(_right,_fracPart))}var index=prob.times(len-1);if(index.isInteger()){index=index.toNumber();var _value=sorted?flat[index]:partitionSelect(flat,index);return validate(_value),_value}var left,right,integerPart=index.floor(),fracPart=index.minus(integerPart),integerPartNumber=integerPart.toNumber();if(sorted)left=flat[integerPartNumber],right=flat[integerPartNumber+1];else{right=partitionSelect(flat,integerPartNumber+1),left=flat[integerPartNumber];for(var _i3=0;_i30&&(left=flat[_i3])}validate(left),validate(right);var one=new fracPart.constructor(1);return add(multiply(left,one.minus(fracPart)),multiply(right,fracPart))}var validate=typed({"number | BigNumber | Unit":function numberBigNumberUnit(x){return x}});return function quantileSeq(data,probOrN,sorted){var probArr,dataArr,one;if(arguments.length<2||arguments.length>3)throw new SyntaxError("Function quantileSeq requires two or three parameters");if((0,_is.isCollection)(data)){if("boolean"==typeof(sorted=sorted||!1)){if(dataArr=data.valueOf(),(0,_is.isNumber)(probOrN)){if(probOrN<0)throw new Error("N/prob must be non-negative");if(probOrN<=1)return _quantileSeq(dataArr,probOrN,sorted);if(probOrN>1){if(!(0,_number.isInteger)(probOrN))throw new Error("N must be a positive integer");var nPlusOne=probOrN+1;probArr=new Array(probOrN);for(var i=0;i4294967295)throw new Error("N must be less than or equal to 2^32-1, as that is the maximum length of an Array");var _nPlusOne=new BigNumber(intN+1);probArr=new Array(intN);for(var _i=0;_i1)throw new Error("Probability must be between 0 and 1, inclusive")}else{if(!(0,_is.isBigNumber)(currProb))throw new TypeError("Unexpected type of argument in function quantileSeq");if(one=new currProb.constructor(1),currProb.isNegative()||currProb.gt(one))throw new Error("Probability must be between 0 and 1, inclusive")}probArr[_i2]=_quantileSeq(dataArr,currProb,sorted)}return probArr}throw new TypeError("Unexpected type of argument in function quantileSeq")}throw new TypeError("Unexpected type of argument in function quantileSeq")}throw new TypeError("Unexpected type of argument in function quantileSeq")}}));exports.createQuantileSeq=createQuantileSeq},{"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],831:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStd=void 0;var _factory=require("../../utils/factory.js"),dependencies=["typed","sqrt","variance"],createStd=(0,_factory.factory)("std",dependencies,(function(_ref){var typed=_ref.typed,sqrt=_ref.sqrt,variance=_ref.variance;return typed("std",{"Array | Matrix":_std,"Array | Matrix, string":_std,"Array | Matrix, number | BigNumber":_std,"Array | Matrix, number | BigNumber, string":_std,"...":function _(args){return _std(args)}});function _std(array,normalization){if(0===array.length)throw new SyntaxError("Function std requires one or more parameters (0 provided)");try{return sqrt(variance.apply(null,arguments))}catch(err){throw err instanceof TypeError&&-1!==err.message.indexOf(" variance")?new TypeError(err.message.replace(" variance"," std")):err}}}));exports.createStd=createStd},{"../../utils/factory.js":941}],832:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSum=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","config","add","numeric"],createSum=(0,_factory.factory)("sum",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,add=_ref.add,numeric=_ref.numeric;return typed("sum",{"Array | Matrix":_sum,"Array | Matrix, number | BigNumber":function _nsumDim(array,dim){try{return(0,_collection.reduce)(array,dim,add)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"sum")}},"...":function _(args){if((0,_collection.containsCollections)(args))throw new TypeError("Scalar values expected in function sum");return _sum(args)}});function _sum(array){var sum;return(0,_collection.deepForEach)(array,(function(value){try{sum=void 0===sum?value:add(sum,value)}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"sum",value)}})),void 0===sum&&(sum=numeric(0,config.number)),"string"==typeof sum&&(sum=numeric(sum,config.number)),sum}}));exports.createSum=createSum},{"../../utils/collection.js":937,"../../utils/factory.js":941,"./utils/improveErrorMessage.js":833}],833:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.improveErrorMessage=function improveErrorMessage(err,fnName,value){var details;if(-1!==String(err).indexOf("Unexpected type"))return details=arguments.length>2?" (type: "+(0,_is.typeOf)(value)+", value: "+JSON.stringify(value)+")":" (type: "+err.data.actual+")",new TypeError("Cannot calculate "+fnName+", unexpected type of argument"+details);if(-1!==String(err).indexOf("complex numbers"))return details=arguments.length>2?" (type: "+(0,_is.typeOf)(value)+", value: "+JSON.stringify(value)+")":"",new TypeError("Cannot calculate "+fnName+", no ordering relation is defined for complex numbers"+details);return err};var _is=require("../../../utils/is.js")},{"../../../utils/is.js":943}],834:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createVariance=void 0;var _collection=require("../../utils/collection.js"),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_improveErrorMessage=require("./utils/improveErrorMessage.js"),dependencies=["typed","add","subtract","multiply","divide","apply","isNaN"],createVariance=(0,_factory.factory)("variance",dependencies,(function(_ref){var typed=_ref.typed,add=_ref.add,subtract=_ref.subtract,multiply=_ref.multiply,divide=_ref.divide,apply=_ref.apply,isNaN=_ref.isNaN;return typed("variance",{"Array | Matrix":function ArrayMatrix(array){return _var(array,"unbiased")},"Array | Matrix, string":_var,"Array | Matrix, number | BigNumber":function ArrayMatrixNumberBigNumber(array,dim){return _varDim(array,dim,"unbiased")},"Array | Matrix, number | BigNumber, string":_varDim,"...":function _(args){return _var(args,"unbiased")}});function _var(array,normalization){var sum,num=0;if(0===array.length)throw new SyntaxError("Function variance requires one or more parameters (0 provided)");if((0,_collection.deepForEach)(array,(function(value){try{sum=void 0===sum?value:add(sum,value),num++}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"variance",value)}})),0===num)throw new Error("Cannot calculate variance of an empty array");var mean=divide(sum,num);if(sum=void 0,(0,_collection.deepForEach)(array,(function(value){var diff=subtract(value,mean);sum=void 0===sum?multiply(diff,diff):add(sum,multiply(diff,diff))})),isNaN(sum))return sum;switch(normalization){case"uncorrected":return divide(sum,num);case"biased":return divide(sum,num+1);case"unbiased":var zero=(0,_is.isBigNumber)(sum)?sum.mul(0):0;return 1===num?zero:divide(sum,num-1);default:throw new Error('Unknown normalization "'+normalization+'". Choose "unbiased" (default), "uncorrected", or "biased".')}}function _varDim(array,dim,normalization){try{if(0===array.length)throw new SyntaxError("Function variance requires one or more parameters (0 provided)");return apply(array,dim,(function(x){return _var(x,normalization)}))}catch(err){throw(0,_improveErrorMessage.improveErrorMessage)(err,"variance")}}}));exports.createVariance=createVariance},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/is.js":943,"./utils/improveErrorMessage.js":833}],835:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBin=void 0;var _factory=require("../../utils/factory.js"),createBin=(0,_factory.factory)("bin",["typed","format"],(function(_ref){var typed=_ref.typed,format=_ref.format;return typed("bin",{"number | BigNumber":function numberBigNumber(n){return format(n,{notation:"bin"})},"number | BigNumber, number":function numberBigNumberNumber(n,wordSize){return format(n,{notation:"bin",wordSize:wordSize})}})}));exports.createBin=createBin},{"../../utils/factory.js":941}],836:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createFormat=void 0;var _string=require("../../utils/string.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createFormat=(0,_factory.factory)("format",dependencies,(function(_ref){return(0,_ref.typed)("format",{any:_string.format,"any, Object | function | number":_string.format})}));exports.createFormat=createFormat},{"../../utils/factory.js":941,"../../utils/string.js":953}],837:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHex=void 0;var _factory=require("../../utils/factory.js"),createHex=(0,_factory.factory)("hex",["typed","format"],(function(_ref){var typed=_ref.typed,format=_ref.format;return typed("hex",{"number | BigNumber":function numberBigNumber(n){return format(n,{notation:"hex"})},"number | BigNumber, number":function numberBigNumberNumber(n,wordSize){return format(n,{notation:"hex",wordSize:wordSize})}})}));exports.createHex=createHex},{"../../utils/factory.js":941}],838:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createOct=void 0;var _factory=require("../../utils/factory.js"),createOct=(0,_factory.factory)("oct",["typed","format"],(function(_ref){var typed=_ref.typed,format=_ref.format;return typed("oct",{"number | BigNumber":function numberBigNumber(n){return format(n,{notation:"oct"})},"number | BigNumber, number":function numberBigNumberNumber(n,wordSize){return format(n,{notation:"oct",wordSize:wordSize})}})}));exports.createOct=createOct},{"../../utils/factory.js":941}],839:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createPrint=void 0;var _string=require("../../utils/string.js"),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createPrint=(0,_factory.factory)("print",dependencies,(function(_ref){return(0,_ref.typed)("print",{"string, Object | Array":_print,"string, Object | Array, number | Object":_print})}));function _print(template,values,options){return template.replace(/\$([\w.]+)/g,(function(original,key){for(var keys=key.split("."),value=values[keys.shift()];keys.length&&void 0!==value;){var k=keys.shift();value=k?value[k]:value+"."}return void 0!==value?(0,_is.isString)(value)?value:(0,_string.format)(value,options):original}))}exports.createPrint=createPrint},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/string.js":953}],840:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcos=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed","config","Complex"],createAcos=(0,_factory.factory)("acos",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("acos",{number:function number(x){return x>=-1&&x<=1||config.predictable?Math.acos(x):new Complex(x,0).acos()},Complex:function Complex(x){return x.acos()},BigNumber:function BigNumber(x){return x.acos()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcos=createAcos},{"../../utils/collection.js":937,"../../utils/factory.js":941}],841:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcosh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createAcosh=(0,_factory.factory)("acosh",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("acosh",{number:function number(x){return x>=1||config.predictable?(0,_index.acoshNumber)(x):x<=-1?new Complex(Math.log(Math.sqrt(x*x-1)-x),Math.PI):new Complex(x,0).acosh()},Complex:function Complex(x){return x.acosh()},BigNumber:function BigNumber(x){return x.acosh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcosh=createAcosh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],842:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcot=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createAcot=(0,_factory.factory)("acot",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("acot",{number:_index.acotNumber,Complex:function Complex(x){return x.acot()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).atan()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcot=createAcot},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],843:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcoth=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAcoth=(0,_factory.factory)("acoth",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("acoth",{number:function number(x){return x>=1||x<=-1||config.predictable?(0,_index.acothNumber)(x):new Complex(x,0).acoth()},Complex:function Complex(x){return x.acoth()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).atanh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcoth=createAcoth},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],844:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcsc=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAcsc=(0,_factory.factory)("acsc",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("acsc",{number:function number(x){return x<=-1||x>=1||config.predictable?(0,_index.acscNumber)(x):new Complex(x,0).acsc()},Complex:function Complex(x){return x.acsc()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).asin()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcsc=createAcsc},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],845:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAcsch=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createAcsch=(0,_factory.factory)("acsch",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("acsch",{number:_index.acschNumber,Complex:function Complex(x){return x.acsch()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).asinh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAcsch=createAcsch},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],846:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsec=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAsec=(0,_factory.factory)("asec",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("asec",{number:function number(x){return x<=-1||x>=1||config.predictable?(0,_index.asecNumber)(x):new Complex(x,0).asec()},Complex:function Complex(x){return x.asec()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).acos()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAsec=createAsec},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],847:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsech=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex","BigNumber"],createAsech=(0,_factory.factory)("asech",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex,_BigNumber=_ref.BigNumber;return typed("asech",{number:function number(x){if(x<=1&&x>=-1||config.predictable){var xInv=1/x;if(xInv>0||config.predictable)return(0,_index.asechNumber)(x);var ret=Math.sqrt(xInv*xInv-1);return new Complex(Math.log(ret-xInv),Math.PI)}return new Complex(x,0).asech()},Complex:function Complex(x){return x.asech()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x).acosh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createAsech=createAsech},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],848:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsin=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed","config","Complex"],createAsin=(0,_factory.factory)("asin",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("asin",{number:function number(x){return x>=-1&&x<=1||config.predictable?Math.asin(x):new Complex(x,0).asin()},Complex:function Complex(x){return x.asin()},BigNumber:function BigNumber(x){return x.asin()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAsin=createAsin},{"../../utils/collection.js":937,"../../utils/factory.js":941}],849:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAsinh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createAsinh=(0,_factory.factory)("asinh",dependencies,(function(_ref){return(0,_ref.typed)("asinh",{number:_index.asinhNumber,Complex:function Complex(x){return x.asinh()},BigNumber:function BigNumber(x){return x.asinh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAsinh=createAsinh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],850:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAtan=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createAtan=(0,_factory.factory)("atan",dependencies,(function(_ref){return(0,_ref.typed)("atan",{number:function number(x){return Math.atan(x)},Complex:function Complex(x){return x.atan()},BigNumber:function BigNumber(x){return x.atan()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAtan=createAtan},{"../../utils/collection.js":937,"../../utils/factory.js":941}],851:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAtan2=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm02.js"),_algorithm2=require("../../type/matrix/utils/algorithm03.js"),_algorithm3=require("../../type/matrix/utils/algorithm09.js"),_algorithm4=require("../../type/matrix/utils/algorithm11.js"),_algorithm5=require("../../type/matrix/utils/algorithm12.js"),_algorithm6=require("../../type/matrix/utils/algorithm13.js"),_algorithm7=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix","equalScalar","BigNumber","DenseMatrix"],createAtan2=(0,_factory.factory)("atan2",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,equalScalar=_ref.equalScalar,BigNumber=_ref.BigNumber,DenseMatrix=_ref.DenseMatrix,algorithm02=(0,_algorithm.createAlgorithm02)({typed:typed,equalScalar:equalScalar}),algorithm03=(0,_algorithm2.createAlgorithm03)({typed:typed}),algorithm09=(0,_algorithm3.createAlgorithm09)({typed:typed,equalScalar:equalScalar}),algorithm11=(0,_algorithm4.createAlgorithm11)({typed:typed,equalScalar:equalScalar}),algorithm12=(0,_algorithm5.createAlgorithm12)({typed:typed,DenseMatrix:DenseMatrix}),algorithm13=(0,_algorithm6.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm7.createAlgorithm14)({typed:typed});return typed("atan2",{"number, number":Math.atan2,"BigNumber, BigNumber":function BigNumberBigNumber(y,x){return BigNumber.atan2(y,x)},"SparseMatrix, SparseMatrix":function SparseMatrixSparseMatrix(x,y){return algorithm09(x,y,this,!1)},"SparseMatrix, DenseMatrix":function SparseMatrixDenseMatrix(x,y){return algorithm02(y,x,this,!0)},"DenseMatrix, SparseMatrix":function DenseMatrixSparseMatrix(x,y){return algorithm03(x,y,this,!1)},"DenseMatrix, DenseMatrix":function DenseMatrixDenseMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"SparseMatrix, number | BigNumber":function SparseMatrixNumberBigNumber(x,y){return algorithm11(x,y,this,!1)},"DenseMatrix, number | BigNumber":function DenseMatrixNumberBigNumber(x,y){return algorithm14(x,y,this,!1)},"number | BigNumber, SparseMatrix":function numberBigNumberSparseMatrix(x,y){return algorithm12(y,x,this,!0)},"number | BigNumber, DenseMatrix":function numberBigNumberDenseMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, number | BigNumber":function ArrayNumberBigNumber(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"number | BigNumber, Array":function numberBigNumberArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createAtan2=createAtan2},{"../../type/matrix/utils/algorithm02.js":911,"../../type/matrix/utils/algorithm03.js":912,"../../type/matrix/utils/algorithm09.js":918,"../../type/matrix/utils/algorithm11.js":920,"../../type/matrix/utils/algorithm12.js":921,"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],852:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAtanh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","config","Complex"],createAtanh=(0,_factory.factory)("atanh",dependencies,(function(_ref){var typed=_ref.typed,config=_ref.config,Complex=_ref.Complex;return typed("atanh",{number:function number(x){return x<=1&&x>=-1||config.predictable?(0,_index.atanhNumber)(x):new Complex(x,0).atanh()},Complex:function Complex(x){return x.atanh()},BigNumber:function BigNumber(x){return x.atanh()},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createAtanh=createAtanh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],853:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCos=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createCos=(0,_factory.factory)("cos",dependencies,(function(_ref){return(0,_ref.typed)("cos",{number:Math.cos,Complex:function Complex(x){return x.cos()},BigNumber:function BigNumber(x){return x.cos()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cos is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCos=createCos},{"../../utils/collection.js":937,"../../utils/factory.js":941}],854:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCosh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),dependencies=["typed"],createCosh=(0,_factory.factory)("cosh",dependencies,(function(_ref){return(0,_ref.typed)("cosh",{number:_number.cosh,Complex:function Complex(x){return x.cosh()},BigNumber:function BigNumber(x){return x.cosh()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cosh is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCosh=createCosh},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],855:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCot=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCot=(0,_factory.factory)("cot",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("cot",{number:_index.cotNumber,Complex:function Complex(x){return x.cot()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.tan())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function cot is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCot=createCot},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],856:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCoth=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCoth=(0,_factory.factory)("coth",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("coth",{number:_index.cothNumber,Complex:function Complex(x){return x.coth()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.tanh())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function coth is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCoth=createCoth},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],857:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCsc=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCsc=(0,_factory.factory)("csc",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("csc",{number:_index.cscNumber,Complex:function Complex(x){return x.csc()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.sin())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function csc is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCsc=createCsc},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],858:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createCsch=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createCsch=(0,_factory.factory)("csch",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("csch",{number:_index.cschNumber,Complex:function Complex(x){return x.csch()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.sinh())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function csch is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createCsch=createCsch},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],859:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSec=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createSec=(0,_factory.factory)("sec",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("sec",{number:_index.secNumber,Complex:function Complex(x){return x.sec()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.cos())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sec is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createSec=createSec},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],860:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSech=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed","BigNumber"],createSech=(0,_factory.factory)("sech",dependencies,(function(_ref){var typed=_ref.typed,_BigNumber=_ref.BigNumber;return typed("sech",{number:_index.sechNumber,Complex:function Complex(x){return x.sech()},BigNumber:function BigNumber(x){return new _BigNumber(1).div(x.cosh())},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sech is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createSech=createSech},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],861:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSin=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createSin=(0,_factory.factory)("sin",dependencies,(function(_ref){return(0,_ref.typed)("sin",{number:Math.sin,Complex:function Complex(x){return x.sin()},BigNumber:function BigNumber(x){return x.sin()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sin is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createSin=createSin},{"../../utils/collection.js":937,"../../utils/factory.js":941}],862:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSinh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createSinh=(0,_factory.factory)("sinh",dependencies,(function(_ref){return(0,_ref.typed)("sinh",{number:_index.sinhNumber,Complex:function Complex(x){return x.sinh()},BigNumber:function BigNumber(x){return x.sinh()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function sinh is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createSinh=createSinh},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],863:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTan=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),dependencies=["typed"],createTan=(0,_factory.factory)("tan",dependencies,(function(_ref){return(0,_ref.typed)("tan",{number:Math.tan,Complex:function Complex(x){return x.tan()},BigNumber:function BigNumber(x){return x.tan()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function tan is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createTan=createTan},{"../../utils/collection.js":937,"../../utils/factory.js":941}],864:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTanh=void 0;var _factory=require("../../utils/factory.js"),_collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),dependencies=["typed"],createTanh=(0,_factory.factory)("tanh",dependencies,(function(_ref){return(0,_ref.typed)("tanh",{number:_number.tanh,Complex:function Complex(x){return x.tanh()},BigNumber:function BigNumber(x){return x.tanh()},Unit:function Unit(x){if(!x.hasBase(x.constructor.BASE_UNITS.ANGLE))throw new TypeError("Unit in function tanh is no angle");return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this,!0)}})}));exports.createTanh=createTanh},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],865:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTo=void 0;var _factory=require("../../utils/factory.js"),_algorithm=require("../../type/matrix/utils/algorithm13.js"),_algorithm2=require("../../type/matrix/utils/algorithm14.js"),dependencies=["typed","matrix"],createTo=(0,_factory.factory)("to",dependencies,(function(_ref){var typed=_ref.typed,matrix=_ref.matrix,algorithm13=(0,_algorithm.createAlgorithm13)({typed:typed}),algorithm14=(0,_algorithm2.createAlgorithm14)({typed:typed});return typed("to",{"Unit, Unit | string":function UnitUnitString(x,unit){return x.to(unit)},"Matrix, Matrix":function MatrixMatrix(x,y){return algorithm13(x,y,this)},"Array, Array":function ArrayArray(x,y){return this(matrix(x),matrix(y)).valueOf()},"Array, Matrix":function ArrayMatrix(x,y){return this(matrix(x),y)},"Matrix, Array":function MatrixArray(x,y){return this(x,matrix(y))},"Matrix, any":function MatrixAny(x,y){return algorithm14(x,y,this,!1)},"any, Matrix":function anyMatrix(x,y){return algorithm14(y,x,this,!0)},"Array, any":function ArrayAny(x,y){return algorithm14(matrix(x),y,this,!1).valueOf()},"any, Array":function anyArray(x,y){return algorithm14(matrix(y),x,this,!0).valueOf()}})}));exports.createTo=createTo},{"../../type/matrix/utils/algorithm13.js":922,"../../type/matrix/utils/algorithm14.js":923,"../../utils/factory.js":941}],866:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createClone=void 0;var _object=require("../../utils/object.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createClone=(0,_factory.factory)("clone",dependencies,(function(_ref){return(0,_ref.typed)("clone",{any:_object.clone})}));exports.createClone=createClone},{"../../utils/factory.js":941,"../../utils/object.js":949}],867:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createHasNumericValue=void 0;var _factory=require("../../utils/factory.js"),name="hasNumericValue",dependencies=["typed","isNumeric"],createHasNumericValue=(0,_factory.factory)(name,dependencies,(function(_ref){var typed=_ref.typed,isNumeric=_ref.isNumeric;return typed(name,{string:function string(x){return x.trim().length>0&&!isNaN(Number(x))},any:function any(x){return isNumeric(x)}})}));exports.createHasNumericValue=createHasNumericValue},{"../../utils/factory.js":941}],868:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsInteger=void 0;var _collection=require("../../utils/collection.js"),_number=require("../../utils/number.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createIsInteger=(0,_factory.factory)("isInteger",dependencies,(function(_ref){return(0,_ref.typed)("isInteger",{number:_number.isInteger,BigNumber:function BigNumber(x){return x.isInt()},Fraction:function Fraction(x){return 1===x.d&&isFinite(x.n)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsInteger=createIsInteger},{"../../utils/collection.js":937,"../../utils/factory.js":941,"../../utils/number.js":948}],869:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsNaN=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createIsNaN=(0,_factory.factory)("isNaN",dependencies,(function(_ref){return(0,_ref.typed)("isNaN",{number:_index.isNaNNumber,BigNumber:function BigNumber(x){return x.isNaN()},Fraction:function Fraction(x){return!1},Complex:function Complex(x){return x.isNaN()},Unit:function Unit(x){return Number.isNaN(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,Number.isNaN)}})}));exports.createIsNaN=createIsNaN},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],870:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsNegative=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createIsNegative=(0,_factory.factory)("isNegative",dependencies,(function(_ref){return(0,_ref.typed)("isNegative",{number:_index.isNegativeNumber,BigNumber:function BigNumber(x){return x.isNeg()&&!x.isZero()&&!x.isNaN()},Fraction:function Fraction(x){return x.s<0},Unit:function Unit(x){return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsNegative=createIsNegative},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],871:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsNumeric=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createIsNumeric=(0,_factory.factory)("isNumeric",dependencies,(function(_ref){return(0,_ref.typed)("isNumeric",{"number | BigNumber | Fraction | boolean":function numberBigNumberFractionBoolean(){return!0},"Complex | Unit | string | null | undefined | Node":function ComplexUnitStringNullUndefinedNode(){return!1},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsNumeric=createIsNumeric},{"../../utils/collection.js":937,"../../utils/factory.js":941}],872:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsPositive=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),_index=require("../../plain/number/index.js"),dependencies=["typed"],createIsPositive=(0,_factory.factory)("isPositive",dependencies,(function(_ref){return(0,_ref.typed)("isPositive",{number:_index.isPositiveNumber,BigNumber:function BigNumber(x){return!x.isNeg()&&!x.isZero()&&!x.isNaN()},Fraction:function Fraction(x){return x.s>0&&x.n>0},Unit:function Unit(x){return this(x.value)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createIsPositive=createIsPositive},{"../../plain/number/index.js":884,"../../utils/collection.js":937,"../../utils/factory.js":941}],873:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIsPrime=void 0;var _collection=require("../../utils/collection.js"),_factory=require("../../utils/factory.js"),dependencies=["typed"],createIsPrime=(0,_factory.factory)("isPrime",dependencies,(function(_ref){return(0,_ref.typed)("isPrime",{number:function number(x){if(0*x!=0)return!1;if(x<=3)return x>1;if(x%2==0||x%3==0)return!1;for(var i=5;i*i<=x;i+=6)if(x%i==0||x%(i+2)==0)return!1;return!0},BigNumber:function BigNumber(n){if(0*n.toNumber()!=0)return!1;if(n.lte(3))return n.gt(1);if(n.mod(2).eq(0)||n.mod(3).eq(0))return!1;if(n.lt(Math.pow(2,32))){for(var x=n.toNumber(),i=5;i*i<=x;i+=6)if(x%i==0||x%(i+2)==0)return!1;return!0}function modPow(base,exponent,modulus){for(var accumulator=1;!exponent.eq(0);)exponent.mod(2).eq(0)?(exponent=exponent.div(2),base=base.mul(base).mod(modulus)):(exponent=exponent.sub(1),accumulator=base.mul(accumulator).mod(modulus));return accumulator}for(var Decimal=n.constructor.clone({precision:2*n.toFixed(0).length}),r=0,d=(n=new Decimal(n)).sub(1);d.mod(2).eq(0);)d=d.div(2),r+=1;var bases=null;if(n.lt("3317044064679887385961981"))bases=[2,3,5,7,11,13,17,19,23,29,31,37,41].filter((function(x){return x0?Math.floor(x):Math.ceil(x)}function floorNumber(x){return Math.floor(x)}function gcdNumber(a,b){if(!(0,_number.isInteger)(a)||!(0,_number.isInteger)(b))throw new Error("Parameters in function gcd must be integer numbers");for(var r;0!==b;)r=a%b,a=b,b=r;return a<0?-a:a}function lcmNumber(a,b){if(!(0,_number.isInteger)(a)||!(0,_number.isInteger)(b))throw new Error("Parameters in function lcm must be integer numbers");if(0===a||0===b)return 0;for(var t,prod=a*b;0!==b;)b=a%(t=b),a=t;return Math.abs(prod/a)}function logNumber(x){return Math.log(x)}function log10Number(x){return(0,_number.log10)(x)}function log2Number(x){return(0,_number.log2)(x)}function log1pNumber(x){return(0,_number.log1p)(x)}function modNumber(x,y){if(y>0)return x-y*Math.floor(x/y);if(0===y)return x;throw new Error("Cannot calculate mod for a negative divisor")}function nthRootNumber(a,root){var inv=root<0;if(inv&&(root=-root),0===root)throw new Error("Root must be non-zero");if(a<0&&Math.abs(root)%2!=1)throw new Error("Root must be odd when a is negative.");if(0===a)return inv?1/0:0;if(!isFinite(a))return inv?0:a;var x=Math.pow(Math.abs(a),1/root);return x=a<0?-x:x,inv?1/x:x}function signNumber(x){return(0,_number.sign)(x)}function sqrtNumber(x){return Math.sqrt(x)}function squareNumber(x){return x*x}function xgcdNumber(a,b){var t,q,r,x=0,lastx=1,y=1,lasty=0;if(!(0,_number.isInteger)(a)||!(0,_number.isInteger)(b))throw new Error("Parameters in function xgcd must be integer numbers");for(;b;)r=a-(q=Math.floor(a/b))*b,t=x,x=lastx-q*x,lastx=t,t=y,y=lasty-q*y,lasty=t,a=b,b=r;return a<0?[-a,-lastx,-lasty]:[a,a?lastx:0,lasty]}function powNumber(x,y){return x*x<1&&y===1/0||x*x>1&&y===-1/0?0:Math.pow(x,y)}function roundNumber(value){var decimals=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseFloat((0,_number.toFixed)(value,decimals))}function normNumber(x){return Math.abs(x)}absNumber.signature=n1,addNumber.signature=n2,subtractNumber.signature=n2,multiplyNumber.signature=n2,divideNumber.signature=n2,unaryMinusNumber.signature=n1,unaryPlusNumber.signature=n1,cbrtNumber.signature=n1,ceilNumber.signature=n1,cubeNumber.signature=n1,expNumber.signature=n1,expm1Number.signature=n1,fixNumber.signature=n1,floorNumber.signature=n1,gcdNumber.signature=n2,lcmNumber.signature=n2,logNumber.signature=n1,log10Number.signature=n1,log2Number.signature=n1,log1pNumber.signature=n1,modNumber.signature=n2,nthRootNumber.signature=n2,signNumber.signature=n1,sqrtNumber.signature=n1,squareNumber.signature=n1,xgcdNumber.signature=n2,powNumber.signature=n2,roundNumber.signature=n2,normNumber.signature=n1},{"../../utils/number.js":948}],881:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndNumber=bitAndNumber,exports.bitNotNumber=bitNotNumber,exports.bitOrNumber=bitOrNumber,exports.bitXorNumber=bitXorNumber,exports.leftShiftNumber=leftShiftNumber,exports.rightArithShiftNumber=rightArithShiftNumber,exports.rightLogShiftNumber=rightLogShiftNumber;var _number=require("../../utils/number.js"),n2="number, number";function bitAndNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function bitAnd");return x&y}function bitNotNumber(x){if(!(0,_number.isInteger)(x))throw new Error("Integer expected in function bitNot");return~x}function bitOrNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function bitOr");return x|y}function bitXorNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function bitXor");return x^y}function leftShiftNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function leftShift");return x<>y}function rightLogShiftNumber(x,y){if(!(0,_number.isInteger)(x)||!(0,_number.isInteger)(y))throw new Error("Integers expected in function rightLogShift");return x>>>y}bitAndNumber.signature=n2,bitNotNumber.signature="number",bitOrNumber.signature=n2,bitXorNumber.signature=n2,leftShiftNumber.signature=n2,rightArithShiftNumber.signature=n2,rightLogShiftNumber.signature=n2},{"../../utils/number.js":948}],882:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.combinationsNumber=combinationsNumber;var _number=require("../../utils/number.js"),_product=require("../../utils/product.js");function combinationsNumber(n,k){if(!(0,_number.isInteger)(n)||n<0)throw new TypeError("Positive integer value expected in function combinations");if(!(0,_number.isInteger)(k)||k<0)throw new TypeError("Positive integer value expected in function combinations");if(k>n)throw new TypeError("k must be less than or equal to n");var nMinusk=n-k;return k171?1/0:(0,_product.product)(1,n-1);if(n<.5)return Math.PI/(Math.sin(Math.PI*n)*gammaNumber(1-n));if(n>=171.35)return 1/0;if(n>85){var twoN=n*n,threeN=twoN*n,fourN=threeN*n,fiveN=fourN*n;return Math.sqrt(2*Math.PI/n)*Math.pow(n/Math.E,n)*(1+1/(12*n)+1/(288*twoN)-139/(51840*threeN)-571/(2488320*fourN)+163879/(209018880*fiveN)+5246819/(75246796800*fiveN*n))}--n,x=gammaP[0];for(var i=1;i0}function isZeroNumber(x){return 0===x}function isNaNNumber(x){return Number.isNaN(x)}isIntegerNumber.signature=n1,isNegativeNumber.signature=n1,isPositiveNumber.signature=n1,isZeroNumber.signature=n1,isNaNNumber.signature=n1},{"../../utils/number.js":948}],890:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBigNumberClass=void 0;var _decimal=_interopRequireDefault(require("decimal.js")),dependencies=["?on","config"],createBigNumberClass=(0,require("../../utils/factory.js").factory)("BigNumber",dependencies,(function(_ref){var on=_ref.on,config=_ref.config,BigNumber=_decimal.default.clone({precision:config.precision,modulo:_decimal.default.EUCLID});return BigNumber.prototype=Object.create(BigNumber.prototype),BigNumber.prototype.type="BigNumber",BigNumber.prototype.isBigNumber=!0,BigNumber.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},BigNumber.fromJSON=function(json){return new BigNumber(json.value)},on&&on("config",(function(curr,prev){curr.precision!==prev.precision&&BigNumber.config({precision:curr.precision})})),BigNumber}),{isClass:!0});exports.createBigNumberClass=createBigNumberClass},{"../../utils/factory.js":941,"@babel/runtime/helpers/interopRequireDefault":15,"decimal.js":29}],891:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBignumber=void 0;var _factory=require("../../../utils/factory.js"),_collection=require("../../../utils/collection.js"),dependencies=["typed","BigNumber"],createBignumber=(0,_factory.factory)("bignumber",dependencies,(function(_ref){var typed=_ref.typed,BigNumber=_ref.BigNumber;return typed("bignumber",{"":function _(){return new BigNumber(0)},number:function number(x){return new BigNumber(x+"")},string:function string(x){var wordSizeSuffixMatch=x.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);if(wordSizeSuffixMatch){var size=wordSizeSuffixMatch[2],n=BigNumber(wordSizeSuffixMatch[1]),twoPowSize=new BigNumber(2).pow(Number(size));if(n.gt(twoPowSize.sub(1)))throw new SyntaxError('String "'.concat(x,'" is out of range'));var twoPowSizeSubOne=new BigNumber(2).pow(Number(size)-1);return n.gte(twoPowSizeSubOne)?n.sub(twoPowSize):n}return new BigNumber(x)},BigNumber:function BigNumber(x){return x},Fraction:function Fraction(x){return new BigNumber(x.n).div(x.d).times(x.s)},null:function _null(x){return new BigNumber(0)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createBignumber=createBignumber},{"../../../utils/collection.js":937,"../../../utils/factory.js":941}],892:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBoolean=void 0;var _factory=require("../utils/factory.js"),_collection=require("../utils/collection.js"),dependencies=["typed"],createBoolean=(0,_factory.factory)("boolean",dependencies,(function(_ref){return(0,_ref.typed)("boolean",{"":function _(){return!1},boolean:function boolean(x){return x},number:function number(x){return!!x},null:function _null(x){return!1},BigNumber:function BigNumber(x){return!x.isZero()},string:function string(x){var lcase=x.toLowerCase();if("true"===lcase)return!0;if("false"===lcase)return!1;var num=Number(x);if(""!==x&&!isNaN(num))return!!num;throw new Error('Cannot convert "'+x+'" to a boolean')},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}})}));exports.createBoolean=createBoolean},{"../utils/collection.js":937,"../utils/factory.js":941}],893:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createChainClass=void 0;var _is=require("../../utils/is.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),dependencies=["?on","math"],createChainClass=(0,require("../../utils/factory.js").factory)("Chain",dependencies,(function(_ref){var on=_ref.on,math=_ref.math;function Chain(value){if(!(this instanceof Chain))throw new SyntaxError("Constructor must be called with the new operator");(0,_is.isChain)(value)?this.value=value.value:this.value=value}function createLazyProxy(name,resolver){(0,_object.lazy)(Chain.prototype,name,(function outerResolver(){var fn=resolver();if("function"==typeof fn)return chainify(fn)}))}function chainify(fn){return function(){for(var args=[this.value],i=0;ib.re?1:a.reb.im?1:a.im=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i");_fit(matrix,index.max().map((function(i){return i+1})),defaultValue);var dims=iSize.length;_setSubmatrix(matrix._data,index,submatrix,dims,0)}return matrix}function _setSubmatrix(data,index,submatrix,dims,dim){var last=dim===dims-1,range=index.dimension(dim);last?range.forEach((function(dataIndex,subIndex){(0,_array.validateIndex)(dataIndex),data[dataIndex]=submatrix[subIndex[0]]})):range.forEach((function(dataIndex,subIndex){(0,_array.validateIndex)(dataIndex),_setSubmatrix(data[dataIndex],index,submatrix[subIndex[0]],dims,dim+1)}))}function _resize(matrix,size,defaultValue){if(0===size.length){for(var v=matrix._data;(0,_is.isArray)(v);)v=v[0];return v}return matrix._size=size.slice(0),matrix._data=(0,_array.resize)(matrix._data,matrix._size,defaultValue),matrix}function _fit(matrix,size,defaultValue){for(var newSize=matrix._size.slice(0),changed=!1;newSize.lengthnewSize[i]&&(newSize[i]=size[i],changed=!0);changed&&_resize(matrix,newSize,defaultValue)}function preprocess(data){for(var i=0,ii=data.length;i0?k:0,kSub=k<0?-k:0,rows=this._size[0],columns=this._size[1],n=Math.min(rows-kSub,columns-kSuper),data=[],i=0;i0?k:0,kSub=k<0?-k:0,rows=size[0],columns=size[1],n=Math.min(rows-kSub,columns-kSuper);if((0,_is.isArray)(value)){if(value.length!==n)throw new Error("Invalid value array length");_value=function _value(i){return value[i]}}else if((0,_is.isMatrix)(value)){var ms=value.size();if(1!==ms.length||ms[0]!==n)throw new Error("Invalid matrix length");_value=function _value(i){return value.get([i])}}else _value=function _value(){return value};defaultValue||(defaultValue=(0,_is.isBigNumber)(_value(0))?_value(0).mul(0):0);var data=[];if(size.length>0){data=(0,_array.resize)(data,size,defaultValue);for(var d=0;d0;){var tempRight=x.right;x.left.right=x.right,x.right.left=x.left,x.left=minimum,x.right=minimum.right,minimum.right=x,x.right.left=x,x.parent=null,x=tempRight,numberOfChildren--}return node.left.right=node.right,node.right.left=node.left,minimum=node===node.right?null:function _findMinimumNode(minimum,size){var y,arraySize=Math.floor(Math.log(size)*oneOverLogPhi)+1,array=new Array(arraySize),numRoots=0,x=minimum;if(x)for(numRoots++,x=x.right;x!==minimum;)numRoots++,x=x.right;for(;numRoots>0;){for(var d=x.degree,next=x.right;y=array[d];){if(larger(x.key,y.key)){var temp=y;y=x,x=temp}_linkNodes(y,x),array[d]=null,d++}array[d]=x,x=next,numRoots--}minimum=null;for(var i=0;i0?this.step>0?this.start:this.start+(size-1)*this.step:void 0},Range.prototype.max=function(){var size=this.size()[0];return size>0?this.step>0?this.start+(size-1)*this.step:this.start:void 0},Range.prototype.forEach=function(callback){var x=this.start,step=this.step,end=this.end,i=0;if(step>0)for(;xend;)callback(x,[i],this),x+=step,i++},Range.prototype.map=function(callback){var array=[];return this.forEach((function(value,index,obj){array[index[0]]=callback(value,index,obj)})),array},Range.prototype.toArray=function(){var array=[];return this.forEach((function(value,index){array[index[0]]=value})),array},Range.prototype.valueOf=function(){return this.toArray()},Range.prototype.format=function(options){var str=(0,_number.format)(this.start,options);return 1!==this.step&&(str+=":"+(0,_number.format)(this.step,options)),str+=":"+(0,_number.format)(this.end,options)},Range.prototype.toString=function(){return this.format()},Range.prototype.toJSON=function(){return{mathjs:"Range",start:this.start,end:this.end,step:this.step}},Range.fromJSON=function(json){return new Range(json.start,json.end,json.step)},Range}),{isClass:!0});exports.createRangeClass=createRangeClass},{"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948}],905:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSpaClass=void 0;var dependencies=["addScalar","equalScalar","FibonacciHeap"],createSpaClass=(0,require("../../utils/factory.js").factory)("Spa",dependencies,(function(_ref){var addScalar=_ref.addScalar,equalScalar=_ref.equalScalar,FibonacciHeap=_ref.FibonacciHeap;function Spa(){if(!(this instanceof Spa))throw new SyntaxError("Constructor must be called with the new operator");this._values=[],this._heap=new FibonacciHeap}return Spa.prototype.type="Spa",Spa.prototype.isSpa=!0,Spa.prototype.set=function(i,v){if(this._values[i])this._values[i].value=v;else{var node=this._heap.insert(i,v);this._values[i]=node}},Spa.prototype.get=function(i){var node=this._values[i];return node?node.value:0},Spa.prototype.accumulate=function(i,v){var node=this._values[i];node?node.value=addScalar(node.value,v):(node=this._heap.insert(i,v),this._values[i]=node)},Spa.prototype.forEach=function(from,to,callback){var heap=this._heap,values=this._values,nodes=[],node=heap.extractMinimum();for(node&&nodes.push(node);node&&node.key<=to;)node.key>=from&&(equalScalar(node.value,0)||callback(node.key,node.value,this)),(node=heap.extractMinimum())&&nodes.push(node);for(var i=0;i0){var j=0;do{matrix._ptr.push(matrix._index.length);for(var i=0;i");for(var x0=index.min()[0],y0=index.min()[1],m=sSize[0],n=sSize[1],x=0;xc){for(j=c;jr){if(ins){var n=0;for(j=0;jrows-1&&(matrix._values.splice(k,1),matrix._index.splice(k,1),d++)}matrix._ptr[j]=matrix._values.length}return matrix._size[0]=rows,matrix._size[1]=columns,matrix}function _toArray(values,index,ptr,size,copy){var i,j,rows=size[0],columns=size[1],a=[];for(i=0;irows-1||j>columns-1)&&(_resize(this,Math.max(i+1,rows),Math.max(j+1,columns),defaultValue),rows=this._size[0],columns=this._size[1]),(0,_array.validateIndex)(i,rows),(0,_array.validateIndex)(j,columns);var k=_getValueIndex(i,this._ptr[j],this._ptr[j+1],this._index);return k=minRow&&i<=maxRow&&invoke(matrix._values[k],i-minRow,j-minColumn)}else{for(var _values={},_k=k0;_k "+(this._values?(0,_string.format)(this._values[k],options):"X")}return str},SparseMatrix.prototype.toString=function(){return(0,_string.format)(this.toArray())},SparseMatrix.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},SparseMatrix.prototype.diagonal=function(k){if(k){if((0,_is.isBigNumber)(k)&&(k=k.toNumber()),!(0,_is.isNumber)(k)||!(0,_number.isInteger)(k))throw new TypeError("The parameter k must be an integer number")}else k=0;var kSuper=k>0?k:0,kSub=k<0?-k:0,rows=this._size[0],columns=this._size[1],n=Math.min(rows-kSub,columns-kSuper),values=[],index=[],ptr=[];ptr[0]=0;for(var j=kSuper;j0?k:0,kSub=k<0?-k:0,rows=size[0],columns=size[1],n=Math.min(rows-kSub,columns-kSuper);if((0,_is.isArray)(value)){if(value.length!==n)throw new Error("Invalid value array length");_value=function _value(i){return value[i]}}else if((0,_is.isMatrix)(value)){var ms=value.size();if(1!==ms.length||ms[0]!==n)throw new Error("Invalid matrix length");_value=function _value(i){return value.get([i])}}else _value=function _value(){return value};for(var values=[],index=[],ptr=[],j=0;j=0&&i=k1||index[ky]!==y)){var vx=values?values[kx]:void 0;index.splice(ky,0,y),values&&values.splice(ky,0,vx),index.splice(ky<=kx?kx+1:kx,1),values&&values.splice(ky<=kx?kx+1:kx,1)}else if(ky=k1||index[kx]!==x)){var vy=values?values[ky]:void 0;index.splice(kx,0,x),values&&values.splice(kx,0,vy),index.splice(kx<=ky?ky+1:ky,1),values&&values.splice(kx<=ky?ky+1:ky,1)}}},SparseMatrix}),{isClass:!0});exports.createSparseMatrixClass=createSparseMatrixClass},{"../../error/DimensionError.js":382,"../../utils/array.js":932,"../../utils/factory.js":941,"../../utils/is.js":943,"../../utils/number.js":948,"../../utils/object.js":949,"../../utils/string.js":953,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/regenerator":24}],907:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIndex=void 0;var _factory=require("../../../utils/factory.js"),_is=require("../../../utils/is.js"),dependencies=["typed","Index"],createIndex=(0,_factory.factory)("index",dependencies,(function(_ref){var typed=_ref.typed,Index=_ref.Index;return typed("index",{"...number | string | BigNumber | Range | Array | Matrix":function numberStringBigNumberRangeArrayMatrix(args){var ranges=args.map((function(arg){return(0,_is.isBigNumber)(arg)?arg.toNumber():Array.isArray(arg)||(0,_is.isMatrix)(arg)?arg.map((function(elem){return(0,_is.isBigNumber)(elem)?elem.toNumber():elem})):arg})),res=new Index;return Index.apply(res,ranges),res}})}));exports.createIndex=createIndex},{"../../../utils/factory.js":941,"../../../utils/is.js":943}],908:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createMatrix=void 0;var _factory=require("../../../utils/factory.js"),dependencies=["typed","Matrix","DenseMatrix","SparseMatrix"],createMatrix=(0,_factory.factory)("matrix",dependencies,(function(_ref){var typed=_ref.typed,DenseMatrix=(_ref.Matrix,_ref.DenseMatrix),SparseMatrix=_ref.SparseMatrix;return typed("matrix",{"":function _(){return _create([])},string:function string(format){return _create([],format)},"string, string":function stringString(format,datatype){return _create([],format,datatype)},Array:function Array(data){return _create(data)},Matrix:function Matrix(data){return _create(data,data.storage())},"Array | Matrix, string":_create,"Array | Matrix, string, string":_create});function _create(data,format,datatype){if("dense"===format||"default"===format||void 0===format)return new DenseMatrix(data,datatype);if("sparse"===format)return new SparseMatrix(data,datatype);throw new TypeError("Unknown matrix type "+JSON.stringify(format)+".")}}));exports.createMatrix=createMatrix},{"../../../utils/factory.js":941}],909:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSparse=void 0;var _factory=require("../../../utils/factory.js"),dependencies=["typed","SparseMatrix"],createSparse=(0,_factory.factory)("sparse",dependencies,(function(_ref){var typed=_ref.typed,SparseMatrix=_ref.SparseMatrix;return typed("sparse",{"":function _(){return new SparseMatrix([])},string:function string(datatype){return new SparseMatrix([],datatype)},"Array | Matrix":function ArrayMatrix(data){return new SparseMatrix(data)},"Array | Matrix, string":function ArrayMatrixString(data,datatype){return new SparseMatrix(data,datatype)}})}));exports.createSparse=createSparse},{"../../../utils/factory.js":941}],910:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createAlgorithm01=void 0;var _factory=require("../../../utils/factory.js"),_DimensionError=require("../../../error/DimensionError.js"),dependencies=["typed"],createAlgorithm01=(0,_factory.factory)("algorithm01",dependencies,(function(_ref){var typed=_ref.typed;return function algorithm1(denseMatrix,sparseMatrix,callback,inverse){var adata=denseMatrix._data,asize=denseMatrix._size,adt=denseMatrix._datatype,bvalues=sparseMatrix._values,bindex=sparseMatrix._index,bptr=sparseMatrix._ptr,bsize=sparseMatrix._size,bdt=sparseMatrix._datatype;if(asize.length!==bsize.length)throw new _DimensionError.DimensionError(asize.length,bsize.length);if(asize[0]!==bsize[0]||asize[1]!==bsize[1])throw new RangeError("Dimension mismatch. Matrix A ("+asize+") must match Matrix B ("+bsize+")");if(!bvalues)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var i,j,rows=asize[0],columns=asize[1],dt="string"==typeof adt&&adt===bdt?adt:void 0,cf=dt?typed.find(callback,[dt,dt]):callback,cdata=[];for(i=0;i0?_iterate(cf,0,csize,csize[0],adata,bdata):[];return a.createDenseMatrix({data:cdata,size:csize,datatype:dt})};function _iterate(f,level,s,n,av,bv){var cv=[];if(level===s.length-1)for(var i=0;i0?_iterate(cf,0,asize,asize[0],adata,b,inverse):[];return a.createDenseMatrix({data:cdata,size:(0,_object.clone)(asize),datatype:dt})};function _iterate(f,level,s,n,av,bv,inverse){var cv=[];if(level===s.length-1)for(var i=0;iMath.pow(2,size)-1)throw new SyntaxError('String "'.concat(x,'" is out of range'));num>=Math.pow(2,size-1)&&(num-=Math.pow(2,size))}return num},BigNumber:function BigNumber(x){return x.toNumber()},Fraction:function Fraction(x){return x.valueOf()},Unit:function Unit(x){throw new Error("Second argument with valueless unit expected")},null:function _null(x){return 0},"Unit, string | Unit":function UnitStringUnit(unit,valuelessUnit){return unit.toNumber(valuelessUnit)},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)}});return number.fromJSON=function(json){return parseFloat(json.value)},number}));exports.createNumber=createNumber},{"../utils/collection.js":937,"../utils/factory.js":941}],925:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createResultSet=void 0;var dependencies=[],createResultSet=(0,require("../../utils/factory.js").factory)("ResultSet",dependencies,(function(){function ResultSet(entries){if(!(this instanceof ResultSet))throw new SyntaxError("Constructor must be called with the new operator");this.entries=entries||[]}return ResultSet.prototype.type="ResultSet",ResultSet.prototype.isResultSet=!0,ResultSet.prototype.valueOf=function(){return this.entries},ResultSet.prototype.toString=function(){return"["+this.entries.join(", ")+"]"},ResultSet.prototype.toJSON=function(){return{mathjs:"ResultSet",entries:this.entries}},ResultSet.fromJSON=function(json){return new ResultSet(json.entries)},ResultSet}),{isClass:!0});exports.createResultSet=createResultSet},{"../../utils/factory.js":941}],926:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createString=void 0;var _factory=require("../utils/factory.js"),_collection=require("../utils/collection.js"),_number=require("../utils/number.js"),dependencies=["typed"],createString=(0,_factory.factory)("string",dependencies,(function(_ref){return(0,_ref.typed)("string",{"":function _(){return""},number:_number.format,null:function _null(x){return"null"},boolean:function boolean(x){return x+""},string:function string(x){return x},"Array | Matrix":function ArrayMatrix(x){return(0,_collection.deepMap)(x,this)},any:function any(x){return String(x)}})}));exports.createString=createString},{"../utils/collection.js":937,"../utils/factory.js":941,"../utils/number.js":948}],927:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createUnitClass=void 0;var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_is=require("../../utils/is.js"),_factory=require("../../utils/factory.js"),_function=require("../../utils/function.js"),_string=require("../../utils/string.js"),_object=require("../../utils/object.js"),_constants=require("../../utils/bignumber/constants.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i="0"&&c<="9"}function next(){index++,c=text.charAt(index)}function revert(oldIndex){index=oldIndex,c=text.charAt(index)}function parseNumber(){var number="",oldIndex=index;if("+"===c?next():"-"===c&&(number+=c,next()),!function isDigitDot(c){return c>="0"&&c<="9"||"."===c}(c))return revert(oldIndex),null;if("."===c){if(number+=c,next(),!isDigit(c))return revert(oldIndex),null}else{for(;isDigit(c);)number+=c,next();"."===c&&(number+=c,next())}for(;isDigit(c);)number+=c,next();if("E"===c||"e"===c){var tentativeNumber="",tentativeIndex=index;if(tentativeNumber+=c,next(),"+"!==c&&"-"!==c||(tentativeNumber+=c,next()),!isDigit(c))return revert(tentativeIndex),number;for(number+=tentativeNumber;isDigit(c);)number+=c,next()}return number}function parseUnit(){for(var unitName="";isDigit(c)||Unit.isValidAlpha(c);)unitName+=c,next();var firstC=unitName.charAt(0);return Unit.isValidAlpha(firstC)?unitName:null}function parseCharacter(toFind){return c===toFind?(next(),toFind):null}Unit.prototype.type="Unit",Unit.prototype.isUnit=!0,Unit.parse=function(str,options){if(options=options||{},index=-1,c="","string"!=typeof(text=str))throw new TypeError("Invalid argument in Unit.parse, string expected");var unit=new Unit;unit.units=[];var powerMultiplierCurrent=1,expectingUnit=!1;next(),skipWhitespace();var valueStr=parseNumber(),value=null;if(valueStr){if("BigNumber"===config.number)value=new _BigNumber(valueStr);else if("Fraction"===config.number)try{value=new _Fraction(valueStr)}catch(err){value=parseFloat(valueStr)}else value=parseFloat(valueStr);skipWhitespace(),parseCharacter("*")?(powerMultiplierCurrent=1,expectingUnit=!0):parseCharacter("/")&&(powerMultiplierCurrent=-1,expectingUnit=!0)}for(var powerMultiplierStack=[],powerMultiplierStackProduct=1;;){for(skipWhitespace();"("===c;)powerMultiplierStack.push(powerMultiplierCurrent),powerMultiplierStackProduct*=powerMultiplierCurrent,powerMultiplierCurrent=1,next(),skipWhitespace();var uStr=void 0;if(!c)break;var oldC=c;if(null===(uStr=parseUnit()))throw new SyntaxError('Unexpected "'+oldC+'" in "'+text+'" at index '+index.toString());var res=_findUnit(uStr);if(null===res)throw new SyntaxError('Unit "'+uStr+'" not found.');var power=powerMultiplierCurrent*powerMultiplierStackProduct;if(skipWhitespace(),parseCharacter("^")){skipWhitespace();var p=parseNumber();if(null===p)throw new SyntaxError('In "'+str+'", "^" must be followed by a floating-point number');power*=p}unit.units.push({unit:res.unit,prefix:res.prefix,power:power});for(var i=0;i1||Math.abs(this.units[0].power-1)>1e-15)},Unit.prototype._normalize=function(value){var unitValue,unitOffset,unitPower,unitPrefixValue,convert;if(null==value||0===this.units.length)return value;if(this._isDerived()){var res=value;convert=Unit._getNumberConverter((0,_is.typeOf)(value));for(var i=0;i1e-12)return!1;return!0},Unit.prototype.equalBase=function(other){for(var i=0;i1e-12)return!1;return!0},Unit.prototype.equals=function(other){return this.equalBase(other)&&equal(this.value,other.value)},Unit.prototype.multiply=function(other){for(var res=this.clone(),i=0;i1e-12&&((0,_object.hasOwnProperty)(currentUnitSystem,baseDim)?proposedUnitList.push({unit:currentUnitSystem[baseDim].unit,prefix:currentUnitSystem[baseDim].prefix,power:ret.dimensions[i]||0}):missingBaseDim=!0)}proposedUnitList.length1e-12){if(!(0,_object.hasOwnProperty)(UNIT_SYSTEMS.si,baseDim))throw new Error("Cannot express custom unit "+baseDim+" in SI units");proposedUnitList.push({unit:UNIT_SYSTEMS.si[baseDim].unit,prefix:UNIT_SYSTEMS.si[baseDim].prefix,power:ret.dimensions[i]||0})}}return ret.units=proposedUnitList,ret.fixPrefix=!0,ret.skipAutomaticSimplification=!0,ret},Unit.prototype.formatUnits=function(){for(var strNum="",strDen="",nNum=0,nDen=0,i=0;i0?(nNum++,strNum+=" "+this.units[i].prefix.name+this.units[i].unit.name,Math.abs(this.units[i].power-1)>1e-15&&(strNum+="^"+this.units[i].power)):this.units[i].power<0&&nDen++;if(nDen>0)for(var _i4=0;_i40?(strDen+=" "+this.units[_i4].prefix.name+this.units[_i4].unit.name,Math.abs(this.units[_i4].power+1)>1e-15&&(strDen+="^"+-this.units[_i4].power)):(strDen+=" "+this.units[_i4].prefix.name+this.units[_i4].unit.name,strDen+="^"+this.units[_i4].power));strNum=strNum.substr(1),strDen=strDen.substr(1),nNum>1&&nDen>0&&(strNum="("+strNum+")"),nDen>1&&nNum>0&&(strDen="("+strDen+")");var str=strNum;return nNum>0&&nDen>0&&(str+=" / "),str+=strDen},Unit.prototype.format=function(options){var simp=this.skipAutomaticSimplification||null===this.value?this.clone():this.simplify(),isImaginary=!1;for(var i in void 0!==simp.value&&null!==simp.value&&(0,_is.isComplex)(simp.value)&&(isImaginary=Math.abs(simp.value.re)<1e-14),simp.units)(0,_object.hasOwnProperty)(simp.units,i)&&simp.units[i].unit&&("VA"===simp.units[i].unit.name&&isImaginary?simp.units[i].unit=UNITS.VAR:"VAR"!==simp.units[i].unit.name||isImaginary||(simp.units[i].unit=UNITS.VA));1!==simp.units.length||simp.fixPrefix||Math.abs(simp.units[0].power-Math.round(simp.units[0].power))<1e-14&&(simp.units[0].prefix=simp._bestPrefix());var value=simp._denormalize(simp.value),str=null!==simp.value?format(value,options||{}):"",unitStr=simp.formatUnits();return simp.value&&(0,_is.isComplex)(simp.value)&&(str="("+str+")"),unitStr.length>0&&str.length>0&&(str+=" "),str+=unitStr},Unit.prototype._bestPrefix=function(){if(1!==this.units.length)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");if(Math.abs(this.units[0].power-Math.round(this.units[0].power))>=1e-14)throw new Error("Can only compute the best prefix for single units with integer powers, like kg, s^2, N^-1, and so forth!");var absValue=null!==this.value?abs(this.value):0,absUnitValue=abs(this.units[0].unit.value),bestPrefix=this.units[0].prefix;if(0===absValue)return bestPrefix;var power=this.units[0].power,bestDiff=Math.log(absValue/Math.pow(bestPrefix.value*absUnitValue,power))/Math.LN10-1.2;if(bestDiff>-2.200001&&bestDiff<1.800001)return bestPrefix;bestDiff=Math.abs(bestDiff);var prefixes=this.units[0].unit.prefixes;for(var p in prefixes)if((0,_object.hasOwnProperty)(prefixes,p)){var prefix=prefixes[p];if(prefix.scientific){var diff=Math.abs(Math.log(absValue/Math.pow(prefix.value*absUnitValue,power))/Math.LN10-1.2);(diff0&&!Unit.isValidAlpha(c)&&!isDigit(c))throw new Error('Invalid unit name (only alphanumeric characters are allowed): "'+name+'"')}}(name);var definition,prefixes,baseName,defUnit=null,aliases=[],offset=0;if(obj&&"Unit"===obj.type)defUnit=obj.clone();else if("string"==typeof obj)""!==obj&&(definition=obj);else{if("object"!==(0,_typeof2.default)(obj))throw new TypeError('Cannot create unit "'+name+'" from "'+obj.toString()+'": expecting "string" or "Unit" or "Object"');definition=obj.definition,prefixes=obj.prefixes,offset=obj.offset,baseName=obj.baseName,obj.aliases&&(aliases=obj.aliases.valueOf())}if(aliases)for(var i=0;i1e-12){match=!1;break}if(match){anyMatch=!0,newUnit.base=BASE_UNITS[_i7];break}}if(!anyMatch){baseName=baseName||name+"_STUFF";var _newBaseUnit={dimensions:defUnit.dimensions.slice(0)};_newBaseUnit.key=baseName,BASE_UNITS[baseName]=_newBaseUnit,currentUnitSystem[baseName]={unit:newUnit,prefix:PREFIXES.NONE[""]},newUnit.base=BASE_UNITS[baseName]}}else{if(baseName=baseName||name+"_STUFF",BASE_DIMENSIONS.indexOf(baseName)>=0)throw new Error('Cannot create new base unit "'+name+'": a base unit with that name already exists (and cannot be overridden)');for(var b in BASE_DIMENSIONS.push(baseName),BASE_UNITS)(0,_object.hasOwnProperty)(BASE_UNITS,b)&&(BASE_UNITS[b].dimensions[BASE_DIMENSIONS.length-1]=0);for(var newBaseUnit={dimensions:[]},_i6=0;_i6=length)throw new _IndexError.IndexError(index,length)},exports.resize=function resize(array,size,defaultValue){if(!Array.isArray(array)||!Array.isArray(size))throw new TypeError("Array expected");if(0===size.length)throw new Error("Resizing to scalar is not supported");size.forEach((function(value){if(!(0,_is.isNumber)(value)||!(0,_number.isInteger)(value)||value<0)throw new TypeError("Invalid size, must contain positive integers (size: "+(0,_string.format)(size)+")")}));var _defaultValue=void 0!==defaultValue?defaultValue:0;return _resize(array,size,0,_defaultValue),array},exports.reshape=function reshape(array,sizes){var flatArray=flatten(array),currentLength=flatArray.length;if(!Array.isArray(array)||!Array.isArray(sizes))throw new TypeError("Array expected");if(0===sizes.length)throw new _DimensionError.DimensionError(0,currentLength,"!=");var newLength=product(sizes=processSizesWildcard(sizes,currentLength));if(currentLength!==newLength)throw new _DimensionError.DimensionError(newLength,currentLength,"!=");try{return function _reshape(array,sizes){for(var tmpArray2,tmpArray=array,sizeIndex=sizes.length-1;sizeIndex>0;sizeIndex--){var size=sizes[sizeIndex];tmpArray2=[];for(var length=tmpArray.length/size,i=0;i")}function _resize(array,size,dim,defaultValue){var i,elem,oldLen=array.length,newLen=size[dim],minLen=Math.min(oldLen,newLen);if(array.length=newLen,dim=0)throw new Error("More than one wildcard in sizes");if(wildCardIndex>=0){if(!(currentLength%newLength==0))throw new Error("Could not replace wildcard, since "+currentLength+" is no multiple of "+-newLength);processedSizes[wildCardIndex]=-currentLength/newLength}return processedSizes}function product(array){return array.reduce((function(prev,curr){return prev*curr}),1)}function _squeeze(array,dims,dim){var i,ii;if(dim0;)func(minBits[--shortLen],maxBits[--longLen])===expFuncVal&&(outVal=outVal.plus(twoPower)),twoPower=twoPower.times(two);for(;longLen>0;)func(minSign,maxBits[--longLen])===expFuncVal&&(outVal=outVal.plus(twoPower)),twoPower=twoPower.times(two);return BigNumber.config({precision:prevPrec}),0===expFuncVal&&(outVal.s=-outVal.s),outVal}function decCoefficientToBinaryString(x){for(var a=x.d,r=a[0]+"",i=1;i0)if(++xe>strL)for(xe-=strL;xe--;)str+="0";else xe1&&(null!==arr[_j+1]&&void 0!==arr[_j+1]||(arr[_j+1]=0),arr[_j+1]+=arr[_j]>>1,arr[_j]&=1)}return arr.reverse()}Object.defineProperty(exports,"__esModule",{value:!0}),exports.bitAndBigNumber=function bitAndBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function bitAnd");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN())return new BigNumber(NaN);if(x.isZero()||y.eq(-1)||x.eq(y))return x;if(y.isZero()||x.eq(-1))return y;if(!x.isFinite()||!y.isFinite()){if(!x.isFinite()&&!y.isFinite())return x.isNegative()===y.isNegative()?x:new BigNumber(0);if(!x.isFinite())return y.isNegative()?x:x.isNegative()?new BigNumber(0):y;if(!y.isFinite())return x.isNegative()?y:y.isNegative()?new BigNumber(0):x}return bitwise(x,y,(function(a,b){return a&b}))},exports.bitNotBigNumber=bitNotBigNumber,exports.bitOrBigNumber=function bitOrBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function bitOr");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN())return new BigNumber(NaN);var negOne=new BigNumber(-1);if(x.isZero()||y.eq(negOne)||x.eq(y))return y;if(y.isZero()||x.eq(negOne))return x;if(!x.isFinite()||!y.isFinite())return!x.isFinite()&&!x.isNegative()&&y.isNegative()||x.isNegative()&&!y.isNegative()&&!y.isFinite()?negOne:x.isNegative()&&y.isNegative()?x.isFinite()?x:y:x.isFinite()?y:x;return bitwise(x,y,(function(a,b){return a|b}))},exports.bitwise=bitwise,exports.bitXor=function bitXor(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function bitXor");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN())return new BigNumber(NaN);if(x.isZero())return y;if(y.isZero())return x;if(x.eq(y))return new BigNumber(0);var negOne=new BigNumber(-1);if(x.eq(negOne))return bitNotBigNumber(y);if(y.eq(negOne))return bitNotBigNumber(x);if(!x.isFinite()||!y.isFinite())return x.isFinite()||y.isFinite()?new BigNumber(x.isNegative()===y.isNegative()?1/0:-1/0):negOne;return bitwise(x,y,(function(a,b){return a^b}))},exports.leftShiftBigNumber=function leftShiftBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function leftShift");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN()||y.isNegative()&&!y.isZero())return new BigNumber(NaN);if(x.isZero()||y.isZero())return x;if(!x.isFinite()&&!y.isFinite())return new BigNumber(NaN);if(y.lt(55))return x.times(Math.pow(2,y.toNumber())+"");return x.times(new BigNumber(2).pow(y))},exports.rightArithShiftBigNumber=function rightArithShiftBigNumber(x,y){if(x.isFinite()&&!x.isInteger()||y.isFinite()&&!y.isInteger())throw new Error("Integers expected in function rightArithShift");var BigNumber=x.constructor;if(x.isNaN()||y.isNaN()||y.isNegative()&&!y.isZero())return new BigNumber(NaN);if(x.isZero()||y.isZero())return x;if(!y.isFinite())return x.isNegative()?new BigNumber(-1):x.isFinite()?new BigNumber(0):new BigNumber(NaN);if(y.lt(55))return x.div(Math.pow(2,y.toNumber())+"").floor();return x.div(new BigNumber(2).pow(y)).floor()}},{}],934:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createBigNumberTau=exports.createBigNumberPi=exports.createBigNumberPhi=exports.createBigNumberE=void 0;var _function=require("../function.js"),createBigNumberE=(0,_function.memoize)((function(BigNumber){return new BigNumber(1).exp()}),{hasher:hasher});exports.createBigNumberE=createBigNumberE;var createBigNumberPhi=(0,_function.memoize)((function(BigNumber){return new BigNumber(1).plus(new BigNumber(5).sqrt()).div(2)}),{hasher:hasher});exports.createBigNumberPhi=createBigNumberPhi;var createBigNumberPi=(0,_function.memoize)((function(BigNumber){return BigNumber.acos(-1)}),{hasher:hasher});exports.createBigNumberPi=createBigNumberPi;var createBigNumberTau=(0,_function.memoize)((function(BigNumber){return createBigNumberPi(BigNumber).times(2)}),{hasher:hasher});function hasher(args){return args[0].precision}exports.createBigNumberTau=createBigNumberTau},{"../function.js":942}],935:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.format=function format(value,options){if("function"==typeof options)return options(value);if(!value.isFinite())return value.isNaN()?"NaN":value.gt(0)?"Infinity":"-Infinity";var precision,wordSize,notation="auto";if(void 0!==options&&(options.notation&&(notation=options.notation),"number"==typeof options?precision=options:options.precision&&(precision=options.precision),options.wordSize&&"number"!=typeof(wordSize=options.wordSize)))throw new Error('Option "wordSize" must be a number');switch(notation){case"fixed":return toFixed(value,precision);case"exponential":return toExponential(value,precision);case"engineering":return toEngineering(value,precision);case"bin":return formatBigNumberToBase(value,2,wordSize);case"oct":return formatBigNumberToBase(value,8,wordSize);case"hex":return formatBigNumberToBase(value,16,wordSize);case"auto":var lowerExp=options&&void 0!==options.lowerExp?options.lowerExp:-3,upperExp=options&&void 0!==options.upperExp?options.upperExp:5;if(value.isZero())return"0";var rounded=value.toSignificantDigits(precision),exp=rounded.e;return(exp>=lowerExp&&exp=0?"+":"")+newExp.toString()}function toExponential(value,precision){return void 0!==precision?value.toExponential(precision-1):value.toExponential()}function toFixed(value,precision){return value.toFixed(precision)}},{"../number.js":948}],936:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.nearlyEqual=function nearlyEqual(x,y,epsilon){if(null==epsilon)return x.eq(y);if(x.eq(y))return!0;if(x.isNaN()||y.isNaN())return!1;if(x.isFinite()&&y.isFinite()){var diff=x.minus(y).abs();if(diff.isZero())return!0;var max=x.constructor.max(x.abs(),y.abs());return diff.lte(max.times(epsilon))}return!1}},{}],937:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.containsCollections=function containsCollections(array){for(var i=0;i=size.length)throw new _IndexError.IndexError(dim,size.length);return(0,_is.isMatrix)(mat)?mat.create(_reduce(mat.valueOf(),dim,callback)):_reduce(mat,dim,callback)},exports.scatter=function scatter(a,j,w,x,u,mark,cindex,f,inverse,update,value){var k,k0,k1,i,avalues=a._values,aindex=a._index,aptr=a._ptr;if(x)for(k0=aptr[j],k1=aptr[j+1],k=k0;k1&&void 0!==arguments[1]?arguments[1]:{};return sortFactories(factories).forEach((function(factory){return factory(scope)})),scope},exports.isFactory=isFactory,exports.assertDependencies=assertDependencies,exports.isOptionalDependency=isOptionalDependency,exports.stripOptionalNotation=stripOptionalNotation;var _array=require("./array.js"),_object=require("./object.js");function sortFactories(factories){var factoriesByName={};function containsDependency(factory,dependency){if(isFactory(factory)){if((0,_array.contains)(factory.dependencies,dependency.fn||dependency.name))return!0;if(factory.dependencies.some((function(d){return containsDependency(factoriesByName[d],dependency)})))return!0}return!1}factories.forEach((function(factory){factoriesByName[factory.fn]=factory}));var sorted=[];function addFactory(factory){for(var index=0;index1&&void 0!==arguments[1]?arguments[1]:{},hasher=_ref.hasher,limit=_ref.limit;return limit=null==limit?Number.POSITIVE_INFINITY:limit,hasher=null==hasher?JSON.stringify:hasher,function memoize(){"object"!==(0,_typeof2.default)(memoize.cache)&&(memoize.cache={values:new Map,lru:(0,_lruQueue.lruQueue)(limit||Number.POSITIVE_INFINITY)});for(var args=[],i=0;i>",rightLogShift:">>>",equal:"=",unequal:"\\neq",smaller:"<",larger:">",smallerEq:"\\leq",largerEq:"\\geq",bitAnd:"\\&",bitXor:"\\underline{|}",bitOr:"|",and:"\\wedge",xor:"\\veebar",or:"\\vee"};exports.latexOperators=latexOperators;var latexFunctions={abs:{1:"\\left|${args[0]}\\right|"},add:{2:"\\left(${args[0]}".concat(latexOperators.add,"${args[1]}\\right)")},cbrt:{1:"\\sqrt[3]{${args[0]}}"},ceil:{1:"\\left\\lceil${args[0]}\\right\\rceil"},cube:{1:"\\left(${args[0]}\\right)^3"},divide:{2:"\\frac{${args[0]}}{${args[1]}}"},dotDivide:{2:"\\left(${args[0]}".concat(latexOperators.dotDivide,"${args[1]}\\right)")},dotMultiply:{2:"\\left(${args[0]}".concat(latexOperators.dotMultiply,"${args[1]}\\right)")},dotPow:{2:"\\left(${args[0]}".concat(latexOperators.dotPow,"${args[1]}\\right)")},exp:{1:"\\exp\\left(${args[0]}\\right)"},expm1:"\\left(e".concat(latexOperators.pow,"{${args[0]}}-1\\right)"),fix:{1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},floor:{1:"\\left\\lfloor${args[0]}\\right\\rfloor"},gcd:"\\gcd\\left(${args}\\right)",hypot:"\\hypot\\left(${args}\\right)",log:{1:"\\ln\\left(${args[0]}\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}\\right)"},log10:{1:"\\log_{10}\\left(${args[0]}\\right)"},log1p:{1:"\\ln\\left(${args[0]}+1\\right)",2:"\\log_{${args[1]}}\\left(${args[0]}+1\\right)"},log2:"\\log_{2}\\left(${args[0]}\\right)",mod:{2:"\\left(${args[0]}".concat(latexOperators.mod,"${args[1]}\\right)")},multiply:{2:"\\left(${args[0]}".concat(latexOperators.multiply,"${args[1]}\\right)")},norm:{1:"\\left\\|${args[0]}\\right\\|",2:void 0},nthRoot:{2:"\\sqrt[${args[1]}]{${args[0]}}"},nthRoots:{2:"\\{y : $y^{args[1]} = {${args[0]}}\\}"},pow:{2:"\\left(${args[0]}\\right)".concat(latexOperators.pow,"{${args[1]}}")},round:{1:"\\left\\lfloor${args[0]}\\right\\rceil",2:void 0},sign:{1:"\\mathrm{${name}}\\left(${args[0]}\\right)"},sqrt:{1:"\\sqrt{${args[0]}}"},square:{1:"\\left(${args[0]}\\right)^2"},subtract:{2:"\\left(${args[0]}".concat(latexOperators.subtract,"${args[1]}\\right)")},unaryMinus:{1:"".concat(latexOperators.unaryMinus,"\\left(${args[0]}\\right)")},unaryPlus:{1:"".concat(latexOperators.unaryPlus,"\\left(${args[0]}\\right)")},bitAnd:{2:"\\left(${args[0]}".concat(latexOperators.bitAnd,"${args[1]}\\right)")},bitNot:{1:latexOperators.bitNot+"\\left(${args[0]}\\right)"},bitOr:{2:"\\left(${args[0]}".concat(latexOperators.bitOr,"${args[1]}\\right)")},bitXor:{2:"\\left(${args[0]}".concat(latexOperators.bitXor,"${args[1]}\\right)")},leftShift:{2:"\\left(${args[0]}".concat(latexOperators.leftShift,"${args[1]}\\right)")},rightArithShift:{2:"\\left(${args[0]}".concat(latexOperators.rightArithShift,"${args[1]}\\right)")},rightLogShift:{2:"\\left(${args[0]}".concat(latexOperators.rightLogShift,"${args[1]}\\right)")},bellNumbers:{1:"\\mathrm{B}_{${args[0]}}"},catalan:{1:"\\mathrm{C}_{${args[0]}}"},stirlingS2:{2:"\\mathrm{S}\\left(${args}\\right)"},arg:{1:"\\arg\\left(${args[0]}\\right)"},conj:{1:"\\left(${args[0]}\\right)^*"},im:{1:"\\Im\\left\\lbrace${args[0]}\\right\\rbrace"},re:{1:"\\Re\\left\\lbrace${args[0]}\\right\\rbrace"},and:{2:"\\left(${args[0]}".concat(latexOperators.and,"${args[1]}\\right)")},not:{1:latexOperators.not+"\\left(${args[0]}\\right)"},or:{2:"\\left(${args[0]}".concat(latexOperators.or,"${args[1]}\\right)")},xor:{2:"\\left(${args[0]}".concat(latexOperators.xor,"${args[1]}\\right)")},cross:{2:"\\left(${args[0]}\\right)\\times\\left(${args[1]}\\right)"},ctranspose:{1:"\\left(${args[0]}\\right)".concat(latexOperators.ctranspose)},det:{1:"\\det\\left(${args[0]}\\right)"},dot:{2:"\\left(${args[0]}\\cdot${args[1]}\\right)"},expm:{1:"\\exp\\left(${args[0]}\\right)"},inv:{1:"\\left(${args[0]}\\right)^{-1}"},sqrtm:{1:"{${args[0]}}".concat(latexOperators.pow,"{\\frac{1}{2}}")},trace:{1:"\\mathrm{tr}\\left(${args[0]}\\right)"},transpose:{1:"\\left(${args[0]}\\right)".concat(latexOperators.transpose)},combinations:{2:"\\binom{${args[0]}}{${args[1]}}"},combinationsWithRep:{2:"\\left(\\!\\!{\\binom{${args[0]}}{${args[1]}}}\\!\\!\\right)"},factorial:{1:"\\left(${args[0]}\\right)".concat(latexOperators.factorial)},gamma:{1:"\\Gamma\\left(${args[0]}\\right)"},equal:{2:"\\left(${args[0]}".concat(latexOperators.equal,"${args[1]}\\right)")},larger:{2:"\\left(${args[0]}".concat(latexOperators.larger,"${args[1]}\\right)")},largerEq:{2:"\\left(${args[0]}".concat(latexOperators.largerEq,"${args[1]}\\right)")},smaller:{2:"\\left(${args[0]}".concat(latexOperators.smaller,"${args[1]}\\right)")},smallerEq:{2:"\\left(${args[0]}".concat(latexOperators.smallerEq,"${args[1]}\\right)")},unequal:{2:"\\left(${args[0]}".concat(latexOperators.unequal,"${args[1]}\\right)")},erf:{1:"erf\\left(${args[0]}\\right)"},max:"\\max\\left(${args}\\right)",min:"\\min\\left(${args}\\right)",variance:"\\mathrm{Var}\\left(${args}\\right)",acos:{1:"\\cos^{-1}\\left(${args[0]}\\right)"},acosh:{1:"\\cosh^{-1}\\left(${args[0]}\\right)"},acot:{1:"\\cot^{-1}\\left(${args[0]}\\right)"},acoth:{1:"\\coth^{-1}\\left(${args[0]}\\right)"},acsc:{1:"\\csc^{-1}\\left(${args[0]}\\right)"},acsch:{1:"\\mathrm{csch}^{-1}\\left(${args[0]}\\right)"},asec:{1:"\\sec^{-1}\\left(${args[0]}\\right)"},asech:{1:"\\mathrm{sech}^{-1}\\left(${args[0]}\\right)"},asin:{1:"\\sin^{-1}\\left(${args[0]}\\right)"},asinh:{1:"\\sinh^{-1}\\left(${args[0]}\\right)"},atan:{1:"\\tan^{-1}\\left(${args[0]}\\right)"},atan2:{2:"\\mathrm{atan2}\\left(${args}\\right)"},atanh:{1:"\\tanh^{-1}\\left(${args[0]}\\right)"},cos:{1:"\\cos\\left(${args[0]}\\right)"},cosh:{1:"\\cosh\\left(${args[0]}\\right)"},cot:{1:"\\cot\\left(${args[0]}\\right)"},coth:{1:"\\coth\\left(${args[0]}\\right)"},csc:{1:"\\csc\\left(${args[0]}\\right)"},csch:{1:"\\mathrm{csch}\\left(${args[0]}\\right)"},sec:{1:"\\sec\\left(${args[0]}\\right)"},sech:{1:"\\mathrm{sech}\\left(${args[0]}\\right)"},sin:{1:"\\sin\\left(${args[0]}\\right)"},sinh:{1:"\\sinh\\left(${args[0]}\\right)"},tan:{1:"\\tan\\left(${args[0]}\\right)"},tanh:{1:"\\tanh\\left(${args[0]}\\right)"},to:{2:"\\left(${args[0]}".concat(latexOperators.to,"${args[1]}\\right)")},numeric:function numeric(node,options){return node.args[0].toTex()},number:{0:"0",1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)${args[1]}\\right)"},string:{0:'\\mathtt{""}',1:"\\mathrm{string}\\left(${args[0]}\\right)"},bignumber:{0:"0",1:"\\left(${args[0]}\\right)"},complex:{0:"0",1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)+".concat(latexSymbols.i,"\\cdot\\left(${args[1]}\\right)\\right)")},matrix:{0:"\\begin{bmatrix}\\end{bmatrix}",1:"\\left(${args[0]}\\right)",2:"\\left(${args[0]}\\right)"},sparse:{0:"\\begin{bsparse}\\end{bsparse}",1:"\\left(${args[0]}\\right)"},unit:{1:"\\left(${args[0]}\\right)",2:"\\left(\\left(${args[0]}\\right)${args[1]}\\right)"}};exports.latexFunctions=latexFunctions;exports.defaultTemplate="\\mathrm{${name}}\\left(${args}\\right)";var latexUnits={deg:"^\\circ"};function escapeLatex(string){return(0,_escapeLatex.default)(string,{preserveFormatting:!0})}},{"./object.js":949,"@babel/runtime/helpers/interopRequireDefault":15,"escape-latex":30}],945:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.lruQueue=function lruQueue(limit){var size=0,base=1,queue=Object.create(null),map=Object.create(null),index=0,del=function del(id){var oldIndex=map[id];if(oldIndex&&(delete queue[oldIndex],delete map[id],--size,base===oldIndex)){if(!size)return index=0,void(base=1);for(;!hasOwnProperty.call(queue,++base););}};return limit=Math.abs(limit),{hit:function hit(id){var oldIndex=map[id],nuIndex=++index;if(queue[nuIndex]=id,map[id]=nuIndex,!oldIndex){if(++size<=limit)return;return id=queue[base],del(id),id}if(delete queue[oldIndex],base===oldIndex)for(;!hasOwnProperty.call(queue,++base););},delete:del,clear:function clear(){size=index=0,base=1,queue=Object.create(null),map=Object.create(null)}}}},{}],946:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createEmptyMap=createEmptyMap,exports.createMap=function createMap(mapOrObject){if(!mapOrObject)return createEmptyMap();if(isMap(mapOrObject))return mapOrObject;if((0,_is.isObject)(mapOrObject))return new ObjectWrappingMap(mapOrObject);throw new Error("createMap can create maps from objects or Maps")},exports.toObject=function toObject(map){if(map instanceof ObjectWrappingMap)return map.wrappedObject;var _step,object={},_iterator=_createForOfIteratorHelper(map.keys());try{for(_iterator.s();!(_step=_iterator.n()).done;){var key=_step.value,value=map.get(key);(0,_customs.setSafeProperty)(object,key,value)}}catch(err){_iterator.e(err)}finally{_iterator.f()}return object},exports.isMap=isMap,exports.assign=function assign(map){for(var _len=arguments.length,objects=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)objects[_key-1]=arguments[_key];for(var _i=0,_objects=objects;_i<_objects.length;_i++){var args=_objects[_i];if(args)if(isMap(args)){var _step2,_iterator2=_createForOfIteratorHelper(args.keys());try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var key=_step2.value;map.set(key,args.get(key))}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}else if((0,_is.isObject)(args))for(var _i2=0,_Object$keys=Object.keys(args);_i2<_Object$keys.length;_i2++){var _key2=_Object$keys[_i2];map.set(_key2,args[_key2])}}return map},exports.ObjectWrappingMap=void 0;var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")),_createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass")),_customs=require("./customs.js"),_is=require("./is.js");function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?1:x<0?-1:0};exports.sign=sign;var log2=Math.log2||function log2(x){return Math.log(x)/Math.LN2};exports.log2=log2;var log10=Math.log10||function log10(x){return Math.log(x)/Math.LN10};exports.log10=log10;var log1p=Math.log1p||function(x){return Math.log(x+1)};exports.log1p=log1p;var cbrt=Math.cbrt||function cbrt(x){if(0===x)return x;var result,negate=x<0;return negate&&(x=-x),result=isFinite(x)?(x/((result=Math.exp(Math.log(x)/3))*result)+2*result)/3:x,negate?-result:result};exports.cbrt=cbrt;var expm1=Math.expm1||function expm1(x){return x>=2e-4||x<=-2e-4?Math.exp(x)-1:x+x*x/2+x*x*x/6};function formatNumberToBase(n,base,size){var prefix={2:"0b",8:"0o",16:"0x"}[base],suffix="";if(size){if(size<1)throw new Error("size must be in greater than 0");if(!isInteger(size))throw new Error("size must be an integer");if(n>Math.pow(2,size-1)-1||n<-Math.pow(2,size-1))throw new Error("Value must be in range [-2^".concat(size-1,", 2^").concat(size-1,"-1]"));if(!isInteger(n))throw new Error("Value must be an integer");n<0&&(n+=Math.pow(2,size)),suffix="i".concat(size)}var sign="";return n<0&&(n=-n,sign="-"),"".concat(sign).concat(prefix).concat(n.toString(base)).concat(suffix)}function splitNumber(value){var match=String(value).toLowerCase().match(/^0*?(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!match)throw new SyntaxError("Invalid number "+value);var sign=match[1],digits=match[2],exponent=parseFloat(match[4]||"0"),dot=digits.indexOf(".");exponent+=-1!==dot?dot-1:digits.length-1;var coefficients=digits.replace(".","").replace(/^0*/,(function(zeros){return exponent-=zeros.length,""})).replace(/0*$/,"").split("").map((function(d){return parseInt(d)}));return 0===coefficients.length&&(coefficients.push(0),exponent++),{sign:sign,coefficients:coefficients,exponent:exponent}}function toEngineering(value,precision){if(isNaN(value)||!isFinite(value))return String(value);var rounded=roundDigits(splitNumber(value),precision),e=rounded.exponent,c=rounded.coefficients,newExp=e%3==0?e:e<0?e-3-e%3:e-e%3;if((0,_is.isNumber)(precision))for(;precision>c.length||e-newExp+1>c.length;)c.push(0);else for(var missingZeros=Math.abs(e-newExp)-(c.length-1),i=0;i0;)decimalIdx++,expDiff--;var decimals=c.slice(decimalIdx).join(""),decimalVal=(0,_is.isNumber)(precision)&&decimals.length||decimals.match(/[1-9]/)?"."+decimals:"",str=c.slice(0,decimalIdx).join("")+decimalVal+"e"+(e>=0?"+":"")+newExp.toString();return rounded.sign+str}function toFixed(value,precision){if(isNaN(value)||!isFinite(value))return String(value);var splitValue=splitNumber(value),rounded="number"==typeof precision?roundDigits(splitValue,splitValue.exponent+1+precision):splitValue,c=rounded.coefficients,p=rounded.exponent+1,pp=p+(precision||0);return c.length0?"."+c.join(""):"")+"e"+(e>=0?"+":"")+e}function toPrecision(value,precision,options){if(isNaN(value)||!isFinite(value))return String(value);var lowerExp=options&&void 0!==options.lowerExp?options.lowerExp:-3,upperExp=options&&void 0!==options.upperExp?options.upperExp:5,split=splitNumber(value),rounded=precision?roundDigits(split,precision):split;if(rounded.exponent=upperExp)return toExponential(value,precision);var c=rounded.coefficients,e=rounded.exponent;c.length0?e:0;return dot<(c=zeros(-e).concat(c)).length-1&&c.splice(dot+1,0,"."),rounded.sign+c.join("")}function roundDigits(split,precision){for(var rounded={sign:split.sign,coefficients:split.coefficients,exponent:split.exponent},c=rounded.coefficients;precision<=0;)c.unshift(0),rounded.exponent++,precision++;if(c.length>precision&&c.splice(precision,c.length-precision)[0]>=5){var i=precision-1;for(c[i]++;10===c[i];)c.pop(),0===i&&(c.unshift(0),rounded.exponent++,i++),c[--i]++}return rounded}function zeros(length){for(var arr=[],i=0;i0&&(child[path[path.length-1]]=value);return object}function isPath(str){return-1!==str.indexOf(".")}},{"./is.js":943,"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":22}],950:[function(require,module,exports){"use strict";Number.isFinite=Number.isFinite||function(value){return"number"==typeof value&&isFinite(value)},Number.isNaN=Number.isNaN||function(value){return value!=value}},{}],951:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.product=function product(i,n){if(n>1;return product(i,half)*product(half+1,n)}},{}],952:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createSubScope=function createSubScope(parentScope){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];if("function"==typeof parentScope.createSubScope)return _map.assign.apply(void 0,[parentScope.createSubScope()].concat(args));return _map.assign.apply(void 0,[(0,_map.createEmptyMap)(),parentScope].concat(args))};var _map=require("./map.js")},{"./map.js":946}],953:[function(require,module,exports){"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.endsWith=function endsWith(text,search){var start=text.length-search.length,end=text.length;return text.substring(start,end)===search},exports.format=format,exports.stringify=function stringify(value){var text=String(value),escaped="",i=0;for(;i/g,">")},exports.compareText=function compareText(x,y){if(!(0,_is.isString)(x))throw new TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+(0,_is.typeOf)(x)+", index: 0)");if(!(0,_is.isString)(y))throw new TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+(0,_is.typeOf)(y)+", index: 1)");return x===y?0:x>y?1:-1};var _typeof2=_interopRequireDefault(require("@babel/runtime/helpers/typeof")),_is=require("./is.js"),_number=require("./number.js"),_formatter=require("./bignumber/formatter.js");function format(value,options){return"number"==typeof value?(0,_number.format)(value,options):(0,_is.isBigNumber)(value)?(0,_formatter.format)(value,options):function looksLikeFraction(value){return value&&"object"===(0,_typeof2.default)(value)&&"number"==typeof value.s&&"number"==typeof value.n&&"number"==typeof value.d||!1}(value)?options&&"decimal"===options.fraction?value.toString():value.s*value.n+"/"+value.d:Array.isArray(value)?formatArray(value,options):(0,_is.isString)(value)?'"'+value+'"':"function"==typeof value?value.syntax?String(value.syntax):"function":value&&"object"===(0,_typeof2.default)(value)?"function"==typeof value.format?value.format(options):value&&value.toString(options)!=={}.toString()?value.toString(options):"{"+Object.keys(value).map((function(key){return'"'+key+'": '+format(value[key],options)})).join(", ")+"}":String(value)}function formatArray(array,options){if(Array.isArray(array)){for(var str="[",len=array.length,i=0;i=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=undefined),ContinueSentinel}},exports}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch(accidentalStrictMode){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}},{}],956:[function(require,module,exports){var alea=require("./lib/alea"),xor128=require("./lib/xor128"),xorwow=require("./lib/xorwow"),xorshift7=require("./lib/xorshift7"),xor4096=require("./lib/xor4096"),tychei=require("./lib/tychei"),sr=require("./seedrandom");sr.alea=alea,sr.xor128=xor128,sr.xorwow=xorwow,sr.xorshift7=xorshift7,sr.xor4096=xor4096,sr.tychei=tychei,module.exports=sr},{"./lib/alea":957,"./lib/tychei":958,"./lib/xor128":959,"./lib/xor4096":960,"./lib/xorshift7":961,"./lib/xorwow":962,"./seedrandom":963}],957:[function(require,module,exports){!function(global,module,define){function Alea(seed){var me=this,mash=function Mash(){var n=4022871197;return function(data){data=String(data);for(var i=0;i>>0,n=(h*=n)>>>0,n+=4294967296*(h-=n)}return 2.3283064365386963e-10*(n>>>0)}}();me.next=function(){var t=2091639*me.s0+2.3283064365386963e-10*me.c;return me.s0=me.s1,me.s1=me.s2,me.s2=t-(me.c=0|t)},me.c=1,me.s0=mash(" "),me.s1=mash(" "),me.s2=mash(" "),me.s0-=mash(seed),me.s0<0&&(me.s0+=1),me.s1-=mash(seed),me.s1<0&&(me.s1+=1),me.s2-=mash(seed),me.s2<0&&(me.s2+=1),mash=null}function copy(f,t){return t.c=f.c,t.s0=f.s0,t.s1=f.s1,t.s2=f.s2,t}function impl(seed,opts){var xg=new Alea(seed),state=opts&&opts.state,prng=xg.next;return prng.int32=function(){return 4294967296*xg.next()|0},prng.double=function(){return prng()+11102230246251565e-32*(2097152*prng()|0)},prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.alea=impl}(0,"object"==typeof module&&module,!1)},{}],958:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this,strseed="";me.next=function(){var b=me.b,c=me.c,d=me.d,a=me.a;return b=b<<25^b>>>7^c,c=c-d|0,d=d<<24^d>>>8^a,a=a-b|0,me.b=b=b<<20^b>>>12^c,me.c=c=c-d|0,me.d=d<<16^c>>>16^a,me.a=a-b|0},me.a=0,me.b=0,me.c=-1640531527,me.d=1367130551,seed===Math.floor(seed)?(me.a=seed/4294967296|0,me.b=0|seed):strseed+=seed;for(var k=0;k>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.tychei=impl}(0,"object"==typeof module&&module,!1)},{}],959:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this,strseed="";me.x=0,me.y=0,me.z=0,me.w=0,me.next=function(){var t=me.x^me.x<<11;return me.x=me.y,me.y=me.z,me.z=me.w,me.w^=me.w>>>19^t^t>>>8},seed===(0|seed)?me.x=seed:strseed+=seed;for(var k=0;k>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xor128=impl}(0,"object"==typeof module&&module,!1)},{}],960:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this;me.next=function(){var t,v,w=me.w,X=me.X,i=me.i;return me.w=w=w+1640531527|0,v=X[i+34&127],t=X[i=i+1&127],v^=v<<13,t^=t<<17,v^=v>>>15,t^=t>>>12,v=X[i]=v^t,me.i=i,v+(w^w>>>16)|0},function init(me,seed){var t,v,i,j,w,X=[],limit=128;for(seed===(0|seed)?(v=seed,seed=null):(seed+="\0",v=0,limit=Math.max(limit,seed.length)),i=0,j=-32;j>>15,v^=v<<4,v^=v>>>13,j>=0&&(w=w+1640531527|0,i=0==(t=X[127&j]^=v+w)?i+1:0);for(i>=128&&(X[127&(seed&&seed.length||0)]=-1),i=127,j=512;j>0;--j)v=X[i+34&127],t=X[i=i+1&127],v^=v<<13,t^=t<<17,v^=v>>>15,t^=t>>>12,X[i]=v^t;me.w=w,me.X=X,me.i=i}(me,seed)}function copy(f,t){return t.i=f.i,t.w=f.w,t.X=f.X.slice(),t}function impl(seed,opts){null==seed&&(seed=+new Date);var xg=new XorGen(seed),state=opts&&opts.state,prng=function(){return(xg.next()>>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&(state.X&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xor4096=impl}(0,"object"==typeof module&&module,!1)},{}],961:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this;me.next=function(){var t,v,X=me.x,i=me.i;return t=X[i],v=(t^=t>>>7)^t<<24,v^=(t=X[i+1&7])^t>>>10,v^=(t=X[i+3&7])^t>>>3,v^=(t=X[i+4&7])^t<<7,t=X[i+7&7],v^=(t^=t<<13)^t<<9,X[i]=v,me.i=i+1&7,v},function init(me,seed){var j,X=[];if(seed===(0|seed))X[0]=seed;else for(seed=""+seed,j=0;j0;--j)me.next()}(me,seed)}function copy(f,t){return t.x=f.x.slice(),t.i=f.i,t}function impl(seed,opts){null==seed&&(seed=+new Date);var xg=new XorGen(seed),state=opts&&opts.state,prng=function(){return(xg.next()>>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&(state.x&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xorshift7=impl}(0,"object"==typeof module&&module,!1)},{}],962:[function(require,module,exports){!function(global,module,define){function XorGen(seed){var me=this,strseed="";me.next=function(){var t=me.x^me.x>>>2;return me.x=me.y,me.y=me.z,me.z=me.w,me.w=me.v,(me.d=me.d+362437|0)+(me.v=me.v^me.v<<4^t^t<<1)|0},me.x=0,me.y=0,me.z=0,me.w=0,me.v=0,seed===(0|seed)?me.x=seed:strseed+=seed;for(var k=0;k>>4),me.next()}function copy(f,t){return t.x=f.x,t.y=f.y,t.z=f.z,t.w=f.w,t.v=f.v,t.d=f.d,t}function impl(seed,opts){var xg=new XorGen(seed),state=opts&&opts.state,prng=function(){return(xg.next()>>>0)/4294967296};return prng.double=function(){do{var result=((xg.next()>>>11)+(xg.next()>>>0)/4294967296)/(1<<21)}while(0===result);return result},prng.int32=xg.next,prng.quick=prng,state&&("object"==typeof state&©(state,xg),prng.state=function(){return copy(xg,{})}),prng}module&&module.exports?module.exports=impl:define&&define.amd?define((function(){return impl})):this.xorwow=impl}(0,"object"==typeof module&&module,!1)},{}],963:[function(require,module,exports){!function(global,pool,math){var nodecrypto,startdenom=math.pow(256,6),significance=math.pow(2,52),overflow=2*significance;function seedrandom(seed,options,callback){var key=[],shortseed=mixkey(flatten((options=1==options?{entropy:!0}:options||{}).entropy?[seed,tostring(pool)]:null==seed?function autoseed(){try{var out;return nodecrypto&&(out=nodecrypto.randomBytes)?out=out(256):(out=new Uint8Array(256),(global.crypto||global.msCrypto).getRandomValues(out)),tostring(out)}catch(e){var browser=global.navigator,plugins=browser&&browser.plugins;return[+new Date,global,plugins,global.screen,tostring(pool)]}}():seed,3),key),arc4=new ARC4(key),prng=function(){for(var n=arc4.g(6),d=startdenom,x=0;n=overflow;)n/=2,d/=2,x>>>=1;return(n+x)/d};return prng.int32=function(){return 0|arc4.g(4)},prng.quick=function(){return arc4.g(4)/4294967296},prng.double=prng,mixkey(tostring(arc4.S),pool),(options.pass||callback||function(prng,seed,is_math_call,state){return state&&(state.S&©(state,arc4),prng.state=function(){return copy(arc4,{})}),is_math_call?(math.random=prng,seed):prng})(prng,shortseed,"global"in options?options.global:this==math,options.state)}function ARC4(key){var t,keylen=key.length,me=this,i=0,j=me.i=me.j=0,s=me.S=[];for(keylen||(key=[keylen++]);i<256;)s[i]=i++;for(i=0;i<256;i++)s[i]=s[j=255&j+key[i%keylen]+(t=s[i])],s[j]=t;(me.g=function(count){for(var t,r=0,i=me.i,j=me.j,s=me.S;count--;)t=s[i=255&i+1],r=256*r+s[255&(s[i]=s[j=255&j+t])+(s[j]=t)];return me.i=i,me.j=j,r})(256)}function copy(f,t){return t.i=f.i,t.j=f.j,t.S=f.S.slice(),t}function flatten(obj,depth){var prop,result=[],typ=typeof obj;if(depth&&"object"==typ)for(prop in obj)try{result.push(flatten(obj[prop],depth-1))}catch(e){}return result.length?result:"string"==typ?obj:obj+"\0"}function mixkey(seed,key){for(var smear,stringseed=seed+"",j=0;j3?param.slice(3):"any":param).split("|").map(trim).filter(notEmpty).filter(notIgnore),matchingConversions=function filterConversions(conversions,typeNames){var matches={};return conversions.forEach((function(conversion){-1!==typeNames.indexOf(conversion.from)||-1===typeNames.indexOf(conversion.to)||matches[conversion.from]||(matches[conversion.from]=conversion)})),Object.keys(matches).map((function(from){return matches[from]}))}(conversions,typeNames),exactTypes=typeNames.map((function(typeName){var type=findTypeByName(typeName);return{name:typeName,typeIndex:findTypeIndex(type),test:type.test,conversion:null,conversionIndex:-1}})),convertibleTypes=matchingConversions.map((function(conversion){var type=findTypeByName(conversion.from);return{name:conversion.from,typeIndex:findTypeIndex(type),test:type.test,conversion:conversion,conversionIndex:conversions.indexOf(conversion)}}));return{types:exactTypes.concat(convertibleTypes),restParam:restParam}}function hasRestParam(params){var param=last(params);return!!param&¶m.restParam}function hasConversions(param){return param.types.some((function(type){return null!=type.conversion}))}function compileTest(param){if(param&&0!==param.types.length){if(1===param.types.length)return findTypeByName(param.types[0].name).test;if(2===param.types.length){var test0=findTypeByName(param.types[0].name).test,test1=findTypeByName(param.types[1].name).test;return function or(x){return test0(x)||test1(x)}}var tests=param.types.map((function(type){return findTypeByName(type.name).test}));return function or(x){for(var i=0;i=varIndex+1}}return 0===params.length?function testArgs(args){return 0===args.length}:1===params.length?(test0=compileTest(params[0]),function testArgs(args){return test0(args[0])&&1===args.length}):2===params.length?(test0=compileTest(params[0]),test1=compileTest(params[1]),function testArgs(args){return test0(args[0])&&test1(args[1])&&2===args.length}):(tests=params.map(compileTest),function testArgs(args){for(var i=0;i0){var actualType=findTypeName(args[index]);return(err=new TypeError("Unexpected type of argument in function "+_name+" (expected: "+expected.join(" or ")+", actual: "+actualType+", index: "+index+")")).data={category:"wrongType",fn:_name,index:index,actual:actualType,expected:expected},err}}else matchingSignatures=nextMatchingDefs}var lengths=matchingSignatures.map((function(signature){return hasRestParam(signature.params)?1/0:signature.params.length}));if(args.lengthmaxLength?((err=new TypeError("Too many arguments in function "+_name+" (expected: "+maxLength+", actual: "+args.length+")")).data={category:"tooManyArgs",fn:_name,index:args.length,expectedLength:maxLength},err):((err=new TypeError('Arguments of type "'+args.join(", ")+'" do not match any of the defined signatures of function '+_name+".")).data={category:"mismatch",actual:args.map(findTypeName)},err)}function getLowestTypeIndex(param){for(var min=999,i=0;i=len1:restParam2?len1>=len2:len1===len2}(s,parsedSignature)}));if(conflictingSignature)throw new TypeError('Conflicting signatures "'+stringifyParams(conflictingSignature.params)+'" and "'+stringifyParams(parsedSignature.params)+'".');parsedSignatures.push(parsedSignature)}));var signatures=flatMap(parsedSignatures,(function(parsedSignature){return(parsedSignature?splitParams(parsedSignature.params,!1):[]).map((function(params){return{params:params,fn:parsedSignature.fn}}))})).filter(notNull);signatures.sort(compareSignatures);var ok0=signatures[0]&&signatures[0].params.length<=2&&!hasRestParam(signatures[0].params),ok1=signatures[1]&&signatures[1].params.length<=2&&!hasRestParam(signatures[1].params),ok2=signatures[2]&&signatures[2].params.length<=2&&!hasRestParam(signatures[2].params),ok3=signatures[3]&&signatures[3].params.length<=2&&!hasRestParam(signatures[3].params),ok4=signatures[4]&&signatures[4].params.length<=2&&!hasRestParam(signatures[4].params),ok5=signatures[5]&&signatures[5].params.length<=2&&!hasRestParam(signatures[5].params),allOk=ok0&&ok1&&ok2&&ok3&&ok4&&ok5,tests=signatures.map((function(signature){return compileTests(signature.params)})),test00=ok0?compileTest(signatures[0].params[0]):notOk,test10=ok1?compileTest(signatures[1].params[0]):notOk,test20=ok2?compileTest(signatures[2].params[0]):notOk,test30=ok3?compileTest(signatures[3].params[0]):notOk,test40=ok4?compileTest(signatures[4].params[0]):notOk,test50=ok5?compileTest(signatures[5].params[0]):notOk,test01=ok0?compileTest(signatures[0].params[1]):notOk,test11=ok1?compileTest(signatures[1].params[1]):notOk,test21=ok2?compileTest(signatures[2].params[1]):notOk,test31=ok3?compileTest(signatures[3].params[1]):notOk,test41=ok4?compileTest(signatures[4].params[1]):notOk,test51=ok5?compileTest(signatures[5].params[1]):notOk,fns=signatures.map((function(signature){return function compileArgsPreprocessing(params,fn){var fnConvert=fn;if(params.some(hasConversions)){var restParam=hasRestParam(params),compiledConversions=params.map(compileArgConversion);fnConvert=function convertArgs(){for(var args=[],last=restParam?arguments.length-1:arguments.length,i=0;i