masson = {
const string = await fetch(
"https://raw.githubusercontent.com/paulmasson/math/master/build/math.js"
).then(res => res.text());
(1, eval)(string);
let module = {};
for (let key of [
"complex",
"C",
"re",
"real",
"im",
"imag",
"add",
"sub",
"neg",
"mul",
"div",
"inv",
"isComplex",
"abs",
"arg",
"pow",
"root",
"surd",
"sqrt",
"exp",
"log",
"ln",
"lambertW",
"inverseLambertW",
"sin",
"cos",
"tan",
"cot",
"sec",
"csc",
"arcsin",
"arccos",
"arctan",
"arccot",
"arcsec",
"arccsc",
"sinc",
"sinh",
"cosh",
"tanh",
"coth",
"sech",
"csch",
"arcsinh",
"arccosh",
"arctanh",
"arccoth",
"arcsech",
"arccsch",
"gudermannian",
"inverseGudermannian",
"besselJ",
"besselJZero",
"besselY",
"besselYZero",
"besselI",
"besselK",
"hankel1",
"hankel2",
"airyAi",
"airyAiPrime",
"airyBi",
"airyBiPrime",
"sphericalBesselJ",
"sphericalBesselY",
"sphericalHankel1",
"sphericalHankel2",
"struveH",
"struveL",
"hermite",
"laguerre",
"laguerre",
"legendreP",
"legendreP",
"legendreQ",
"sphericalHarmonic",
"chebyshevT",
"chebyshevU",
"ellipticF",
"ellipticF",
"ellipticK",
"ellipticE",
"ellipticE",
"ellipticPi",
"ellipticPi",
"jacobiZeta",
"carlsonRC",
"carlsonRD",
"carlsonRF",
"carlsonRG",
"carlsonRJ",
"jacobiTheta",
"ellipticNome",
"am",
"sn",
"cn",
"dn",
"weierstrassRoots",
"weierstrassHalfPeriods",
"weierstrassInvariants",
"weierstrassP",
"weierstrassPPrime",
"inverseWeierstrassP",
"kleinJ",
"hypergeometric0F1",
"hypergeometric1F1",
"hypergeometricU",
"whittakerM",
"whittakerW",
"hypergeometric2F1",
"hypergeometric1F2",
"hypergeometricPFQ",
"factorial",
"factorial2",
"binomial",
"logGamma",
"gamma",
"gammaRegularized",
"beta",
"betaRegularized",
"digamma",
"polygamma",
"erf",
"erfc",
"erfi",
"fresnelS",
"fresnelC",
"expIntegralEi",
"logIntegral",
"sinIntegral",
"cosIntegral",
"sinhIntegral",
"coshIntegral",
"expIntegralE",
"zeta",
"dirichletEta",
"bernoulli",
"harmonic",
"hurwitzZeta",
"polylog",
"chop",
"round",
"ceiling",
"floor",
"sign",
"integerPart",
"fractionalPart",
"kronecker",
"piecewise"
])
module[key] = window[key];
return module;
}