diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/python/data.json b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/python/data.json new file mode 100644 index 000000000000..23b481d99969 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/python/data.json @@ -0,0 +1 @@ +{"sigma": [8.449112341777635, 18.192553665497286, 7.676195475104205, 14.335869360021956, 5.169999949239271, 9.875680016877444, 19.83104162804678, 12.67289469089555, 14.514180290468122, 2.5214326405894543, 7.7942130885400385, 3.0071186344723593, 12.728221705093802, 4.996057155897036, 16.55914275637205, 18.94176024804865, 5.8895385933570115, 19.99160346821903, 16.459662736652625, 21.704201365259326, 2.1679857698371245, 19.948112093224587, 8.814523701714684, 6.817733203906604, 8.248608032707548, 15.88797387732145, 7.076083766249684, 16.486948068973405, 14.517248707895588, 19.585178040276876, 17.324619822214288, 19.0385428021501, 21.568474408673048, 13.96972572191088, 21.067641784897894, 11.530335414083307, 7.002191299293958, 5.718811718987394, 21.567603460965234, 2.7901901533971434, 6.804111050487911, 12.31736496267463, 4.959578253226103, 2.5678563769461498, 21.206387689000902, 7.105596854802408, 16.909571595552492, 9.629288700055044, 21.947935432701197, 14.32256354266803, 5.065493358166281, 5.239477830551496, 19.155837292356363, 4.635377945854582, 8.284245950313817, 20.053499394051403, 13.735579618336427, 12.324994312379332, 10.54124170242578, 16.146536768581257, 5.535336591994474, 13.074990011909271, 12.413057175321532, 7.705699344266226, 14.050676721250928, 2.916273129900982, 13.431972956106629, 14.20570166867649, 21.045830847381637, 19.568660670359428, 17.32988259528687, 16.0321814366535, 8.864867537185228, 2.356935113454686, 17.878114726118042, 6.4474544339512345, 9.74787464073772, 13.667118935392518, 4.969143198558617, 3.8457973610370226, 12.922249104618363, 3.3196214814257012, 12.98464868631398, 16.68056490307397, 12.126252554675116, 8.53943168508452, 11.783050813515203, 3.0005396889245, 9.992762246198822, 5.260729808305527, 16.866596475509407, 3.0263447038310347, 17.881379131850768, 15.00918141162951, 18.422863172192702, 9.625761191423578, 10.699678512395923, 5.094404893448239, 5.487257422796244, 13.151080688124233, 8.453414126845601, 2.0523959398783735, 4.390732289916688, 19.672500840279298, 11.146940228027166, 11.233455061389455, 5.397901668766785, 6.976968227310183, 14.574720361977542, 4.4997515963919215, 11.367527325403415, 11.621358134738479, 10.484228951988513, 8.330457417772946, 20.579526622222616, 5.880211246822038, 9.936155057403866, 5.395658717914918, 10.903784368674684, 10.1613560681945, 3.34986993410809, 18.290449912524466, 2.970406647983404, 3.214847214603958, 15.224122367271844, 11.419953743473787, 3.3414422653111524, 14.592292966488474, 11.047163962675786, 4.309248533758472, 16.671944795889587, 13.843291588094814, 16.430095387658746, 14.376904325464588, 2.580843256823902, 14.688489861179251, 14.476729101585915, 4.9718424841905495, 8.529179268910813, 4.3010556365029515, 19.221642129711576, 8.462565778744507, 4.930507162775262, 18.81130239970666, 14.129008864109252, 19.761478843615905, 21.641584135764752, 9.456641760747376, 14.586194632124563, 18.829856396830063, 8.940337980602845, 10.314530925353672, 18.117905430216606, 8.726186697726348, 17.18570493325811, 2.4271773605319584, 17.337626223986753, 13.476794238428237, 9.044207052998761, 11.567505596491648, 5.2295118118550015, 7.416695701733294, 3.850100209683021, 2.8656256682662744, 13.627516424895719, 7.242629343144936, 6.079262112228337, 21.5961472610997, 5.219675140622482, 10.083516473928311, 10.994732216736399, 12.57814482657319, 2.054149483177186, 19.747624760930947, 15.288109904876773, 7.560235769015014, 15.53490220198828, 17.968801930274672, 7.12179681443399, 4.692796142370442, 11.353508432566976, 17.005888281473055, 9.977996226863763, 8.37306508712177, 10.770103078084645, 14.659302114767385, 16.291793809640573, 14.696282854623153, 16.707018814305748, 13.917199576509125, 10.3213623955725, 10.582766449302063, 16.522006099790886, 2.838603874286521, 15.069630625116, 3.6877949775335477, 21.078933828934062, 17.875378252556153, 6.330783836580814, 7.7565677495643435, 8.705891070560142, 7.441218480649099, 11.662318090910277, 8.662924601552902, 19.55807556326298, 9.22117629679479, 20.051661538959916, 13.54297768285203, 21.978102936916848, 11.624035224266457, 21.02520181274095, 7.457218276773384, 10.824909445244533, 10.354932622946507, 15.845210870186744, 14.216959239478921, 11.37386359987874, 16.337942132612927, 14.918873237630525, 21.467731448436066, 14.840068137701586, 5.429111704089718, 11.507097949666193, 6.5617345633027, 21.617053240826227, 19.03572778987663, 10.033159517092406, 10.065258584185667, 20.37493477775189, 10.680506806072579, 6.845207457348728, 11.27248882637021, 10.96561964904607, 13.666966610594066, 17.70907652602076, 17.67081347258295, 6.188533073402024, 19.511955534181926, 13.680970307592863, 12.4609277586511, 21.165730818448786, 3.7310266588675205, 10.888896426253513, 14.096394442317063, 3.6217472559134394, 18.111588596770318, 12.3719918533002, 17.340676068030266, 7.897514291283792, 4.402216821099634, 9.60278347212607, 17.626451580863034, 9.83935731201823, 8.59619352432726, 16.768598589373536, 21.514229754809417, 6.078725087157842, 7.452824368844434, 20.245067806778522, 5.828766023340977, 8.257764957553576, 9.483429575320669, 18.17950569460539, 5.802055819073937, 16.73099151954692, 3.979990881968803, 18.16828948629241, 21.792340903888068, 16.168143543829103, 5.368507728371761, 12.68682808948741, 6.535920705875965, 9.178195244467274, 12.298426508731836, 9.810803900731635, 18.227897749011973, 9.46270286103659, 11.071846777232455, 5.258167072719842, 12.309450555739703, 14.24344119266364, 21.8277334661585, 19.748136515496874, 5.028673802886644, 8.52346037209128, 16.79337459406942, 21.80275221628562, 20.32060449468319, 15.731274516865941, 14.167590803611795, 18.764230316225774, 5.044077005761614, 13.072709597569744, 10.27770101825983, 3.781133265041621, 11.600504120739474, 6.434012495936055, 16.40890866203158, 9.975110058329847, 3.228007151657553, 11.140213143677649, 19.156888291303396, 15.955261697432526, 3.0023754111510996, 19.389545990184036, 18.227141428860865, 14.314745537546886, 9.304766155391398, 7.500083230348616, 20.940888844427263, 9.20401075566909, 13.01654904224552, 2.296248415489626, 6.3259032222510125, 20.005308647602824, 5.022964536533388, 13.048315359026743, 5.336358303600031, 19.828929559755093, 17.10614148477803, 5.316437304953082, 19.834709831954022, 10.5477127950238, 17.153898706491383, 14.87178824887361, 18.49409540327062, 12.535851656652806, 13.835784453601006, 16.510275383493656, 11.478027377563299, 2.8504193145123384, 3.0405742039834642, 12.144308625924541, 18.41926274123798, 9.400113846074836, 13.97936030331466, 18.134074378767757, 11.885984110062731, 8.481108195254887, 14.027727277870447, 16.07109555154096, 21.27122309319526, 19.69829205334626, 15.05219949656939, 17.305947167411595, 15.642068443566133, 3.022749404101002, 5.326557441637186, 2.5589346018743546, 16.01079048668628, 2.563588378388298, 17.552147144991725, 14.511497265260548, 10.39986685872135, 12.498776751359756, 7.027097400044436, 12.133027991503102, 8.545661097329184, 6.333186092162142, 2.0482465873040816, 7.605428389833023, 16.348437284852995, 21.39584893040097, 11.477424023595042, 3.161020546843019, 2.0653665338642395, 20.637847563989084, 21.229652778644773, 14.878599602279328, 14.15063947733961, 12.18717385090338, 4.754448044602766, 9.096123490177904, 2.732859626455711, 6.846838283226416, 21.142778609746326, 14.357982699704733, 14.597231243269022, 5.224901505049463, 15.877168512735274, 7.400785672909372, 20.308521035567818, 14.969770699936031, 17.15165458095283, 20.241054343572692, 5.130179090573916, 14.913121587721204, 19.445337839768797, 4.386475251012749, 5.5761039429700725, 5.613777598904136, 6.931028599552838, 12.466918763679889, 18.983014762200387, 17.359626454173693, 9.737072091140787, 6.6275940642779005, 10.842563222832212, 19.380946428846368, 18.999502402547208, 20.480509732174973, 12.136568234411063, 18.915224350627284, 2.5155748090102974, 19.891940570569812, 7.355696213849212, 19.40317421963638, 20.603658586857446, 13.698072847233627, 4.386610958908884, 17.304188408021115, 21.604890960935442, 4.623390756287369, 5.368132131292317, 2.8733174047260572, 12.558107663369283, 12.021369696583529, 14.803509702343847, 7.870463945663138, 6.747286063231715, 5.114492814755041, 20.408096547704456, 19.935103399667607, 14.29235055826292, 9.074746967002506, 12.802590580769198, 8.14717726327179, 21.087631978289753, 14.131865840623979, 11.843734763459022, 13.936977498938738, 6.120984640732428, 11.48145473595111, 13.0185739822529, 8.217746699336269, 13.622842099927544, 5.596309546430154, 5.457030543183722, 19.81725685751122, 6.662307517222426, 8.678515361446156, 20.44501097526436, 4.573468668075769, 14.46781387269601, 5.4127787646652585, 20.64199818371148, 19.308169245508005, 4.197708793723843, 8.433661090510457, 9.765439413612206, 16.471668770682957, 2.5578908601460553, 20.991121316181005, 13.228375812424066, 11.500293680857933, 18.977713217495115, 7.108147421640656, 12.232953967007667, 13.831645333866303, 15.28951438224056, 8.297453087738475, 12.207797684709142, 21.17397841672656, 17.51531145182644, 19.017339501021173, 3.597360877144849, 20.78061368499628, 14.48973815050578, 21.304871198040416, 6.650994429456816, 18.969491194877342, 10.7815428894348, 19.669222735422437, 3.2489595284121946, 7.352706140997148, 21.633979501409232, 18.33362930570913, 16.626395374942106, 20.45272519135051, 13.380387794935718, 14.380787773703357, 15.35931469688932, 10.129670252012982, 9.316493930157733, 20.191175503335277, 12.365362856124559, 5.080051354074074, 4.738177758854061, 18.865723813911014, 16.707470182397806, 8.945739611030476, 2.7647911609923375, 8.884588580534505, 4.125352118087063, 10.540843959792548, 15.808549805480723, 12.194269267688426, 17.195135508438213, 18.197109137035092, 10.750730382788623, 7.967137066019341, 13.37468940813857, 13.362064766088595, 8.637683825672854, 18.35120716567657, 19.987264940590933, 11.064869601751123, 13.13482094825655, 7.393832050051577, 10.04011671737409, 8.673708521342228, 2.4873676941046234, 9.856181842820561, 10.709181645695104, 19.509141060450872, 18.624720229024938, 8.661878676310815, 10.27413997947879, 9.083697597043223, 11.348461858883974, 14.145540348990027, 9.91600992314924, 17.731658602563172, 17.147321767663932, 21.167473911481167, 4.009085684170322, 13.842727978822388, 18.50574544750961, 13.454246176040819, 9.924847068368644, 3.213259447761772, 8.583135902468651, 7.74208605434279, 10.252023536259435, 19.43290094960745, 21.1596282860423, 11.192300533493318, 18.297485285454925, 20.89985410611161, 9.840813140022739, 10.481229176431572, 16.943147794045792, 8.336376092135986, 18.359674519840794, 15.068410006506397, 11.576558092273718, 18.764943865029608, 17.403375271525082, 5.664034236186251, 11.303025610166163, 3.2537175127810696, 14.354381298911925, 16.492974912313635, 8.242256074614714, 11.511774134356848, 13.849471987675692, 18.413052916466167, 8.033261694623018, 21.509792756941657, 12.104163832021758, 18.88317404470283, 20.64611114670653, 3.015908469983078, 5.681849581898775, 16.71221033149861, 18.88343093364807, 19.30025717626392, 21.927161205344575, 7.56311581210994, 18.287001382529677, 21.499623238005423, 4.052349570449268, 8.736896100938335, 3.368145963185532, 7.804487154909634, 15.81200599415269, 5.932656346354319, 17.44963345835668, 3.0970946363690914, 3.110632930985951, 9.147749266330795, 19.654353646539995, 9.027527523002767, 8.567404280782705, 6.556107093091029, 11.121632336256827, 14.590508652596476, 19.729929485151366, 11.41866241191872, 5.470529312152824, 21.222135614753462, 8.465023797654805, 3.4999335735905595, 16.889829526788233, 4.355090190896487, 11.41379181730353, 21.975159552508305, 21.09576117785352, 10.978156288948052, 15.562180534433487, 5.922727859855899, 21.042951831732285, 18.8183825147901, 6.872582219343493, 6.9422345798457545, 7.778602403975059, 15.427790614616896, 13.645794943173406, 4.223607396702927, 7.197787516358801, 4.195918078149656, 18.598532997831224, 7.2883201246759, 2.5558882207336913, 5.936494173276968, 11.846790874743455, 19.205701377655174, 13.425813926577746, 7.5853657332851085, 19.624966430285248, 17.48973801034628, 11.380491405183927, 21.20916249753342, 2.800139650101721, 20.366336359794794, 8.161316762649708, 19.697579422521173, 18.89419437273297, 14.488877934262563, 7.314332118702789, 5.779099926509777, 6.454410905002053, 10.959800310732987, 9.475142814234388, 2.038383645214033, 13.304924955209684, 5.908295531368047, 5.902094046266882, 10.346890971076615, 2.1368117361637777, 19.603446063557698, 16.801672888394595, 4.072917918047601, 9.943717976866369, 19.918092395236094, 10.111156142785806, 6.968830582255435, 17.659149489616198, 15.498598332492017, 15.167786858131231, 16.727309638291054, 10.77326839058765, 16.821751297815606, 7.695309674922147, 21.922556255202043, 15.475982086203974, 19.845267412799352, 12.689083513865432, 19.294544420213445, 11.356408288897223, 12.965758670327734, 14.255933132345703, 17.39100477256173, 4.174742580730282, 2.546901095765535, 12.793654065555467, 19.5159360179515, 6.568447303759859, 15.051243804327303, 15.183132188296515, 15.569030048772797, 10.975112764683411, 9.293649908026305, 18.197944767728547, 13.66331140554854, 8.176095180827817, 6.806738813240843, 14.036897563109623, 19.306164270081187, 15.834935915589385, 11.391061542976974, 9.917767874024467, 10.129405206882028, 18.00782583267224, 10.883974883899029, 20.827765187135753, 9.39902930532271, 5.1278547832985115, 4.669102779303081, 5.851535167767688, 20.69544174321573, 17.181632789377794, 13.857907728615215, 11.899140874075822, 10.715683828709437, 18.185614464635027, 19.101872109650937, 2.0522183852343883, 11.021719083063964, 18.078204147131178, 8.537307286654803, 3.8728432376120896, 17.522387141015, 13.649205666983555, 13.237564361863852, 18.941979925655698, 11.16585873278169, 21.79392480158897, 5.247968678820592, 21.423507162413973, 6.951793139787042, 9.675706209479376, 10.438398297619623, 16.423958113755464, 13.263590126226362, 4.570627056839909, 10.060034670785575, 17.546182602730898, 19.27376101387244, 9.474211438563302, 14.635042924918181, 4.61482202964655, 10.913042761690818, 12.20504774974091, 11.217144451063977, 5.318390190005768, 6.79591195319558, 11.144198512431547, 14.705552035409927, 15.856176579623922, 19.300039955888266, 8.231989639897755, 21.57343769937669, 15.961747211797604, 20.110149784486563, 7.6845107002422735, 5.7390601088656545, 16.3313702576688, 9.069548310357854, 15.69212531112102, 9.158214726364276, 5.793317491306858, 9.30752538752223, 18.70259146843113, 2.0083505972631848, 13.40361193664715, 18.207152238932373, 20.80759286030335, 16.172762234441414, 20.170200601138994, 4.168450871122925, 19.319594195165017, 18.380622563910205, 16.8397845284309, 18.86557598946405, 3.342622901319821, 4.515877169747012, 8.026486324103837, 9.849713129967078, 2.541633327054094, 4.251259863226213, 5.5870996962085115, 19.23931550137365, 13.31113727180477, 2.0056059653869722, 8.285576266346162, 4.955716135445776, 13.569668026100342, 11.105451111981855, 7.652137360031353, 19.910700714017732, 12.554584527396113, 7.768049488899885, 3.224728122339147, 2.053782971396976, 16.50651947772582, 6.8075057180151965, 10.000891522269358, 20.304201735205133, 6.474481095347034, 11.312842863428532, 5.470751658080006, 13.306422029894938, 2.1385379631610895, 4.457231281475732, 13.960269062940567, 9.258217215020466, 13.188525421512253, 13.212648877825693, 5.926193823644349, 20.65195686351264, 4.150291966787277, 17.298047671490153, 5.073477060841608, 11.911622603741542, 21.2948327306909, 11.278972742928541, 17.782417250482226, 7.114237681399912, 19.777028043575207, 17.672281598509393, 11.493939484116096, 6.600952267635625, 8.7403159596345, 4.223431942559242, 18.826329112965517, 3.0726213620140435, 12.476420967344835, 4.816211774929349, 5.2565492138016205, 4.697300196744015, 13.6261674769411, 14.520289291951958, 15.350542163049983, 21.25191715444401, 2.188345664259688, 19.781720420487726, 17.95197629641118, 20.680822811569172, 18.641752580172323, 15.801538695558694, 2.84913535829108, 13.113123711573998, 14.635571661130843, 12.207243216973723, 17.744604882861733, 9.582240546694203, 20.504348483325476, 11.552169634188239, 20.933274455459358, 14.363054791358692, 6.987236507787678, 16.584546773020815, 16.9880408864817, 5.342237185241721, 3.7554582012826714, 4.373602137115478, 20.359383952631266, 14.357158901458323, 11.085930098703177, 6.20086481017397, 21.126212990278027, 16.819790909793188, 7.960255818799942, 8.481404960255306, 7.273829557375105, 19.382443047324923, 21.60985905518255, 20.150912993501866, 14.012058298638168, 6.718592502649653, 10.430337839260208, 4.324652077838758, 12.706516399295538, 12.350034555054064, 10.333842461149084, 5.228086676319066, 6.807872696675073, 12.64775888384587, 13.413330729414696, 18.517461807310664, 2.330431197908798, 17.192916772978577, 3.184070956287897, 2.737146971165372, 17.535797169632577, 17.39236368356991, 20.272066505114527, 10.848646748658833, 6.362315102834826, 15.562656254607637, 20.033510416852543, 16.37741014700163, 17.764021996925628, 12.774846801054244, 7.981784728378923, 14.442982337901451, 2.9427422586711542, 3.7858108484268276, 21.137236930700602, 15.273608638372176, 11.17032540818182, 21.765713329347356, 13.57258780231124, 10.202784688806087, 19.382157175412868, 13.99405200289997, 21.4855442285801, 8.974742372400897, 13.60170318572747, 4.336217433629684, 8.295729490423494, 18.682058560300593, 11.971373264831744, 6.750655762849667, 17.20824795358257, 10.839240467639593, 20.59081315885822, 20.77285169634618, 12.138430155686816, 16.523960575010783, 2.144270440872074, 16.91338696429863, 11.178299338189913, 11.83668292644338, 11.073005342983087, 19.530766229088513, 11.99762419669995, 7.333882531517597, 20.752649632162804, 15.229919717304542, 7.771399807752855, 20.37192809731828, 6.511480270967154, 4.882501131826207, 9.01808625593532, 4.703912950800584, 7.546590519345374, 2.7972620092627025, 3.0945909856058567, 5.796041116836548, 15.998191988095838, 15.084763670885124, 8.230303981599173, 21.34632469532235, 15.413244547955244, 19.919076028789423, 3.5670483131931645, 17.192347308262324, 7.3544092650361215, 14.899794511592049, 7.117896081916323, 14.672904669656496, 13.336152714938175, 12.099756794222742, 2.501511386118516, 11.088520198553464, 21.830102025851136, 15.792987302247468, 9.131942590430668, 4.329674879693993, 10.732019662134503, 2.7278703568669243, 2.4581021922734485, 7.325826167734487, 7.920057307300171, 5.460509914664314, 6.306768317883765, 13.123644192523397, 3.5620403147683937, 13.423228324542421, 19.02921524311855, 21.335145690074842, 7.824529917850613, 8.33883431238443, 19.144588094011606, 9.868416193985869, 19.9530727833762, 8.155183284266437, 10.245272693149513, 12.97535272337925, 20.019512211450206, 7.592300686589056, 15.60666526642851, 5.427209113350633, 7.048316612472982, 5.307640255443434, 6.885759061009331, 20.732543220973547, 13.811645359613035, 3.5387616188711095, 3.763437143126725, 16.711980010190814, 14.845892860826646, 3.7654501609879714, 14.15924322718157, 17.91266908259106, 15.605089782059343, 9.56097665984323, 7.895091954766382, 7.365014923906499, 4.6327868265404275, 7.518961764844992, 15.711727439648971, 11.90078029973615, 9.340139779572503, 8.10602129678246, 5.3868971952593085, 7.610726464347304, 16.21275431486248, 10.025930497460026, 21.28950014537894, 14.51591596572612, 10.12885272154915, 8.47664372209724, 18.999730094572033, 16.239283411255364, 21.88619304345447, 2.5787518254086965, 15.2407857711211], "expected": [5.093211734160665, 10.96665827785214, 4.627289505217551, 8.641809351122461, 3.1165290910944905, 5.953161386678123, 11.95435565712291, 7.639351133526486, 8.749297012138275, 1.5199455034401885, 4.698431735226361, 1.8127220109710906, 7.67270282616966, 3.011674588007488, 9.982021398552183, 11.418287703903562, 3.5502743790203803, 12.051143984149897, 9.922053820509195, 13.08351559341049, 1.3068840980879444, 12.024926936429845, 5.313485456528453, 4.109799627449169, 4.972345676473628, 9.577433902007574, 4.265536000978786, 9.938501699188654, 8.751146685691506, 11.80614656016953, 10.44345883911038, 11.476629221955603, 13.001697989387285, 8.421094203947218, 12.699790937725878, 6.950604661679966, 4.220992862653583, 3.4473584649336035, 13.001172973160037, 1.6819552936411746, 4.101588053400903, 7.425034160290838, 2.989684730657123, 1.5479302087193891, 12.783428394331821, 4.283326794005031, 10.193263503462653, 5.804634169229488, 13.230440993629333, 8.633788467704386, 3.0535314441916093, 3.158411071833972, 11.547335545851546, 2.79425345421895, 4.9938285793859025, 12.088455484221615, 8.27994852686388, 7.429633210684317, 6.354368809365715, 9.733298269589872, 3.336757773177344, 7.881738324558593, 7.482718409310831, 4.645074740700351, 8.469892298120035, 1.7579594073788962, 8.096931311316617, 8.563342929307806, 12.686643080483934, 11.796189719867497, 10.44663129279347, 9.66436370050403, 5.343833237832457, 1.4207847038730541, 10.777111254337662, 3.8865917803097516, 5.876118992742252, 8.23867972375252, 2.995450577983271, 2.3182861647590323, 7.789664536232477, 2.001101938077907, 7.827279645233617, 10.055215916195333, 7.309829637070824, 5.147657162336321, 7.102944101105484, 1.8087561549962472, 6.023739757531678, 3.1712219823879417, 10.16735765953179, 1.824311683128153, 10.779079071655081, 9.047688774105477, 11.105491214915805, 5.802507750781328, 6.449876146352212, 3.0709596147252833, 3.3077751559717123, 7.92760656601184, 5.0958048944004295, 1.237205360904568, 2.646778539088142, 11.858785641251806, 6.719490104143971, 6.771642134633728, 3.253910589313357, 4.2057881356949745, 8.785791189292727, 2.712496497203597, 6.852462272972392, 7.005474092948365, 6.320000937596742, 5.021685326792588, 12.40555010228725, 3.5446517586907147, 5.989616362487832, 3.252558515493556, 6.5729132537024935, 6.125369845730354, 2.0193360161573723, 11.025671141442995, 1.7905916483002877, 1.937942933483312, 9.17725739068265, 6.884065456466087, 2.014255730812373, 8.796384135850236, 6.659343946190122, 2.5976592936312644, 10.050019627013079, 8.34487840897355, 9.904230318731496, 8.666545649925101, 1.555758833349747, 8.854372612391881, 8.726721050669523, 2.9970777350973306, 5.1414769005233465, 2.5927205309837063, 11.587003377953254, 5.101321604198213, 2.9721603786282182, 11.339646372470042, 8.517111718696945, 11.912422495911127, 13.045769284079812, 5.700560820269408, 8.792707997235352, 11.350830912578148, 5.389327596582579, 6.217705223495889, 10.921659554615143, 5.260235002862532, 10.359719516698629, 1.463127452149556, 10.45129923173946, 8.123950040838269, 5.4519409406764225, 6.973011229558932, 3.1524034533629917, 4.470860375472227, 2.320879966134563, 1.727428597103379, 8.214806923509688, 4.3659313859852285, 3.664641665603101, 13.018379469168327, 3.1464738068723395, 6.078447338505713, 6.627737551002242, 7.582234941759146, 1.2382624148227304, 11.904071112518087, 9.215829735822151, 4.557387802902271, 9.364598668309126, 10.831778432813312, 4.293092296125358, 2.8288657330500526, 6.844011540326616, 10.251324191388465, 6.014838649355816, 5.047369667669397, 6.492328798161017, 8.836777938951032, 9.820860706454939, 8.859070308912786, 10.071162605699497, 8.38943090379347, 6.22182330393708, 6.37940035344906, 9.959635040386317, 1.7111395820437454, 9.084128181110142, 2.2230407045103715, 12.70659789789651, 10.775461679957319, 3.816261545425747, 4.675738738086365, 5.248000590269395, 4.485642958573959, 7.0301651753918275, 5.222099961271831, 11.7898089085479, 5.5586198191937175, 12.087347606288525, 8.1638461011711, 13.248626275141305, 7.007087870022896, 12.674207686439422, 4.495287800075409, 6.525366639419821, 6.242059781931851, 9.551655921917341, 8.570129108658929, 6.856281844331269, 9.848679389716189, 8.993250078903387, 12.940969097823613, 8.94574555494468, 3.2727243192887934, 6.936596879364637, 3.955481016509897, 13.03098180855619, 11.474932303632936, 6.048091647507848, 6.06744129496923, 12.282220036261327, 6.438319244791426, 4.126361389721736, 6.795172089235637, 6.610188196067197, 8.238587900798878, 10.675213290453359, 10.65214792868859, 3.730511323756533, 11.762007281135045, 8.247029473237587, 7.511575288811616, 12.758920015014105, 2.249101206223544, 6.563938649037566, 8.497451410127786, 2.1832264592781514, 10.917851702508326, 7.457963811250637, 10.453137709066004, 4.760702761659027, 2.6537015324886544, 5.788656545492976, 10.625406124541872, 5.9312656869735925, 5.181873782259124, 10.108283526841877, 12.968998754675061, 3.6643179413726803, 4.492639107228482, 12.203934891776873, 3.513640049377221, 4.977865564858117, 5.716708790138692, 10.958792826930747, 3.497538863797992, 10.08561359873816, 2.399179398013673, 10.952031581313264, 13.136647012928693, 9.746323055718653, 3.23619162002082, 7.647750329363179, 3.9399201580159575, 5.532710399220847, 7.413617865661714, 5.914053397264044, 10.987964054554865, 5.704214513801486, 6.674223000420532, 3.1696771390448104, 7.420263274470019, 8.586092702140457, 13.157982013123501, 11.9043796034287, 3.0313362379485156, 5.13802949075893, 10.123218757045732, 13.14292305901806, 12.24946918338445, 9.482973917440773, 8.540369308258086, 11.31127083688262, 3.040621446909289, 7.880363667363494, 6.195503777072827, 2.279305983270124, 6.992903079034998, 3.878488841958435, 9.891458742830066, 6.013098837308222, 1.9458758787574288, 6.715434948577364, 11.54796909881582, 9.617995691352148, 1.8098627472164674, 11.688217550256388, 10.987508136996597, 8.629075693887444, 5.609008644840638, 4.521127234527489, 12.623382962825103, 5.548272254627398, 7.846509507564958, 1.3842021387845567, 3.813319460959484, 12.059405607103017, 3.0278946335281236, 7.865658569719237, 3.216811616433432, 11.953082480655201, 10.311757852441271, 3.2048030337610074, 11.95656688812895, 6.358269650474208, 10.340546396395013, 8.964866763882972, 11.148430735719971, 7.556740184369279, 8.340353031164957, 9.952563644069365, 6.919072839801201, 1.7182620508153874, 1.8328893720279964, 7.320714022345913, 11.10332083814191, 5.666485212481096, 8.426902028612636, 10.931406362937548, 7.164993349902833, 5.112499163393797, 8.456058137845, 9.6878215288003, 12.822511842163252, 11.874332849493005, 9.07362051771759, 10.432202770933994, 9.42919957986422, 1.822144399509224, 3.2109035561384793, 1.5425520710349694, 9.651469016072014, 1.5453574153350773, 10.58061464712138, 8.747679656975093, 6.269146600955708, 7.534391050514381, 4.236006516095885, 7.313913940008274, 5.1514123160445475, 3.8177096497733216, 1.2347040885382323, 4.584630379085053, 9.855005975324076, 12.89763757735997, 6.91870913182968, 1.9054956650885944, 1.2450241682319596, 12.440706565231118, 12.79745282941769, 8.968972717702522, 8.53015087460652, 7.346553620402876, 2.86603013318832, 5.483236702448836, 1.6473958629303405, 4.127344468317523, 12.745084187774568, 8.655139499497563, 8.79936097983429, 3.149624313049761, 9.570920317210023, 4.461269646621793, 12.242185150072292, 9.023931592152016, 10.339193614462008, 12.201515534918109, 3.0925246683321266, 8.989782925239908, 11.721849450446726, 2.6442123522958196, 3.3613327512295212, 3.3840428181229782, 4.178095256053672, 7.515186728200481, 11.443156348923912, 10.464561196548273, 5.869607104849141, 3.9951818004034014, 6.5360085179420455, 11.683033646321642, 11.4530952679353, 12.345861703569065, 7.316048034809151, 11.402291592281907, 1.5164143423751173, 11.991066165411764, 4.4340892574066295, 11.69643278700017, 12.4200970985248, 8.25733905986145, 2.644294158410007, 10.431142572702178, 13.023650261270733, 2.7870274531795918, 3.2359652062420747, 1.7320652548738442, 7.570156333898198, 7.246605172542993, 8.923707754473511, 4.74439653537689, 4.067333367206744, 3.083068820092195, 12.30221029192556, 12.017085162289511, 8.6155757702669, 5.470350714635163, 7.717533148566175, 4.911202166457704, 12.711841231701511, 8.518833933495424, 7.139525009658541, 8.401353238651977, 3.6897924344838926, 6.921138886653442, 7.847730162207643, 4.953742147617558, 8.211989192390233, 3.3735128966076133, 3.289554082360426, 11.94604605580571, 4.016107426518712, 5.231498231530372, 12.324462688154009, 2.7569339054567275, 8.72134685909081, 3.2628786555829548, 12.443208601447349, 11.63916281242051, 2.530421992268778, 5.083897561135371, 5.8867072183088425, 9.92929118118455, 1.5419228927967157, 12.653663612936356, 7.974200861146337, 6.932495196213229, 11.43996052330226, 4.284864301902173, 7.374150344780733, 8.337857927259467, 9.216676369208031, 5.001789977528679, 7.358985879330657, 12.76389175199993, 10.558409712795001, 11.4638476541714, 2.1685260995866695, 12.52676744989459, 8.734563039026252, 12.842795265497822, 4.009287780971748, 11.435004203587074, 6.499224833986827, 11.8568095659616, 1.9585061867505693, 4.432286810768439, 13.04118513235277, 11.051700123322505, 10.022561968046134, 12.329112896874227, 8.065835246125822, 8.66888663242582, 9.258752716075776, 6.106269310164719, 5.616078267972543, 12.171448057518454, 7.4539677836402864, 3.062307153708076, 2.856222237761992, 11.372452160131864, 10.071434695023193, 5.392583754906049, 1.6666445200451878, 5.355721285396906, 2.4868046447308747, 6.354129046019602, 9.52955625542051, 7.350830810546232, 10.365404364316253, 10.96940436290255, 6.480650738382342, 4.802672085642866, 8.06240020001364, 8.054789936067856, 5.206884562222641, 11.062296237923196, 12.048528675117357, 6.670017087349984, 7.91780502775095, 4.457077931314715, 6.052285519322804, 5.228600618925495, 1.4994108036821792, 5.941407687013108, 6.455604732749548, 11.760310687451279, 11.227172722853334, 5.221469466789031, 6.193357146305981, 5.475746246391333, 6.840969413857013, 8.527077067643903, 5.977472668568108, 10.688825998223715, 10.336581750091852, 12.759970769404285, 2.4167180437295235, 8.344538659513052, 11.155453502091312, 8.110357837150037, 5.9827997905079355, 1.9369858113165555, 5.174002513635832, 4.6670090234075525, 6.180025127087141, 11.714352365268555, 12.755241345776021, 6.746833762355611, 11.029912136533856, 12.598646800936939, 5.932143275053328, 6.318192642068357, 10.213503580909485, 5.025253164512943, 11.067400446015363, 9.08339237967043, 6.97846816703066, 11.311700971433277, 10.49093343316631, 3.4143380354630373, 6.8135799762729565, 1.9613743486163646, 8.652968538095305, 9.942134742279894, 4.968516650868968, 6.939415731543909, 8.34860401734444, 11.09957749196358, 4.842532691195, 12.96632408677027, 7.296514328093996, 11.382971338554102, 12.445687937801416, 1.8180206141324156, 3.4250773089110296, 10.074292105606137, 11.383126193849824, 11.634393335783752, 13.217918075923802, 4.559123922472304, 11.023592332128528, 12.960193796263814, 2.4427979589144315, 5.266690741157719, 2.0303529942712535, 4.7046250479998735, 9.531639681464274, 3.576266203561599, 10.518818343490763, 1.8669604694168782, 1.8751214925177506, 5.514357250768085, 11.84784632640354, 5.441886348612849, 5.164519330441303, 3.9520887196441064, 6.704234246946499, 8.795308533102334, 11.89340421845939, 6.883287028536275, 3.297691278994704, 12.79292140578523, 5.1028033232534575, 2.109795919939663, 10.181362781562015, 2.625293115576586, 6.880350984056931, 13.246851972776593, 12.716741596725985, 6.617745411413949, 9.381042327391667, 3.5702812098852608, 12.68490758026865, 11.343914338590444, 4.142863177527561, 4.184850336115567, 4.689021454170978, 9.300030702871267, 8.225825402139053, 2.546033936252433, 4.3389002720492655, 2.5293425305210753, 11.211386790816247, 4.3934742585643765, 1.5407156811818445, 3.5785796850642013, 7.141367264942309, 11.577394128822602, 8.093218585032645, 4.572536403574393, 11.83013141049185, 10.542993779503927, 6.860277153469863, 12.78510107742635, 1.6879529524856642, 12.277036821568139, 4.919725601965915, 11.87390326830937, 11.38961450552442, 8.73404449183613, 4.409154555836739, 3.4837008158887706, 3.8907852125368487, 6.6066802391384325, 5.711713445409503, 1.2287586057047286, 8.020345470959114, 3.561581253980766, 3.5578429350415917, 6.237212191556795, 1.288092070276795, 11.81715871230695, 10.128221054129833, 2.455196770186254, 5.994175368048743, 12.006830754030311, 6.095108814890307, 4.200882679641758, 10.645116759908934, 9.342714322754917, 9.143297766925947, 10.083394122885835, 6.494236881061379, 10.140324525634256, 4.638811741266001, 13.21514216466207, 9.3290810171108, 11.962931106341543, 7.649109922352711, 11.630949627738019, 6.845759603518482, 7.8158925495024, 8.593622971735348, 10.483476369284459, 2.516577723098672, 1.535298149908429, 7.712146125372741, 11.76440675765077, 3.9595275254308073, 9.073044416614334, 9.152548089622679, 9.385171285014087, 6.615910743715045, 5.602307656709639, 10.969908089670662, 8.236384505640244, 4.928634184291765, 4.1031720957886035, 8.461586080011756, 11.637954192632126, 9.545462073711006, 6.866648941139563, 5.978532379418621, 6.106109538236445, 10.855302442148737, 6.56097189273749, 12.555190859865435, 5.665831440172069, 3.0911235520242806, 2.8145831303440008, 3.5273655235903525, 12.475424928248504, 10.357264786526342, 8.353689168659931, 7.17292438243553, 6.459524315480448, 10.962475256272159, 11.514804779225052, 1.2370983291408015, 6.644005511314255, 10.897727213240998, 5.146376553134718, 2.3345896970545694, 10.562675010940492, 8.22788142149696, 7.979739813160886, 11.418420127822275, 6.730894373197429, 13.13760180273733, 3.163529442413956, 12.91431024380544, 4.1906123342622745, 5.832615120849879, 6.292373748233702, 9.900530706962178, 7.995428411333052, 2.7552209530062264, 6.064292266296001, 10.577019159760946, 11.61842117684639, 5.711152002585097, 8.82215425004702, 2.781862136716933, 6.578494308142506, 7.357328190276254, 6.761809931138186, 3.2059802529366395, 4.09664555330745, 6.717837369811835, 8.864657866331784, 9.558266164238617, 11.63426239310937, 4.962327938534081, 13.004689912021197, 9.621905226050005, 12.122604921658073, 4.632302008369626, 3.4595644024042045, 9.844717795973926, 5.467216910993627, 9.459374373960074, 5.520665937608755, 3.4922713100337743, 5.610671938320183, 11.274114306093521, 1.2106543758107173, 8.079834997377278, 10.975458447918994, 12.543030773980425, 9.749107249876749, 12.158804170957643, 2.5127850159001093, 11.646049889464992, 11.080028142221327, 10.151195142340402, 11.37236305003634, 2.014967430329421, 2.722217158512136, 4.83844842822918, 5.937508280439075, 1.5321226848029064, 2.5627031272014618, 3.3679611042628967, 11.597657067984853, 8.024090319234118, 1.208999883514674, 4.994630507559182, 2.987356606375924, 8.179935314324167, 6.694480038691643, 4.612787026254765, 12.00237497264244, 7.568032551333387, 4.682660048532576, 1.9438992461923033, 1.2380414777557152, 9.950299545480622, 4.103634393866522, 6.02864016867522, 12.239581431432903, 3.9028837294977903, 6.819497917411683, 3.297825311404212, 8.021247922961813, 1.2891326576477382, 2.6868648144763463, 8.415393632752846, 5.580948465295186, 7.950178636042366, 7.964720503376357, 3.5723705284696785, 12.449211795956817, 2.5018386417840373, 10.427440873625313, 3.058344102196754, 7.180448497327663, 12.83674397423439, 6.799080660759171, 10.719423832733874, 4.288535573062405, 11.921795713414454, 10.653032930082029, 6.928664821127947, 3.979121851643268, 5.268752267118779, 2.5459281706918304, 11.348704629621796, 1.8522077281730283, 7.52091475420475, 2.9032619444508394, 3.168701877065424, 2.831580823305552, 8.213993763822218, 8.752979581002654, 9.253464542539733, 12.810874023915687, 1.3191572516435588, 11.924624326431442, 10.821635767837193, 12.466612486042594, 11.2374399991322, 9.525329886320435, 1.7174880688125764, 7.9047257105398385, 8.822472977668772, 7.358651640482596, 10.696630149010575, 5.776273058964311, 12.360231947705499, 6.963766553905592, 12.618792930917484, 8.658197008462256, 4.211977960673278, 9.997335200814051, 10.240565598305885, 3.220355466692488, 2.263828791025229, 2.6364523069674397, 12.272845839094057, 8.654642905450109, 6.682712571309058, 3.737945021391123, 12.735098262147519, 10.139142783591376, 4.7985239991142725, 5.112678056385307, 4.384739195705036, 11.683935823318253, 13.026645079530004, 12.147177402894025, 8.446612716165191, 4.050036594061855, 6.2875148211135246, 2.6069447082741077, 7.659618644812686, 7.4447277262568665, 6.229346415699182, 3.1515443670186776, 4.103855612373398, 7.624199010766796, 8.085693585518042, 11.162516244164856, 1.40480787125455, 10.364066887783702, 1.9193906887446723, 1.6499803183737445, 10.570758713979066, 10.484295534802987, 12.220209984545146, 6.539675729818494, 3.8352689167070824, 9.381329096400663, 12.07640592337962, 9.872471114323115, 10.708334984878928, 7.7008089130869655, 4.8115018470177935, 8.7063781547729, 1.7739152701715653, 2.2821256785968447, 12.741743606705114, 9.207088223372825, 6.733586931023669, 13.120595637397516, 8.181695385424765, 6.150343443913643, 11.683763496792336, 8.435758336079713, 12.95170682472056, 5.410066917463195, 8.199246437708316, 2.6139164235787824, 5.000750975357264, 11.261736858097025, 7.216466809770227, 4.069364656760072, 10.373308680979502, 6.534005526970662, 12.412353742540235, 12.522088443381962, 7.317170420085395, 9.960813218131081, 1.2925882541130658, 10.195563446945696, 6.7383936979645895, 7.1352740898479645, 6.674921395759264, 11.77334656130442, 7.23229114122842, 4.420939745561784, 12.509910431516234, 9.180752092850069, 4.684679655161636, 12.280407578402338, 3.925187212727725, 2.9432218499106844, 5.436195055815675, 2.835567059396827, 4.549162306196621, 1.6862182810201756, 1.865451243011816, 3.493913139488294, 9.64387451167226, 9.09325053659165, 4.961311806391574, 12.867783859593604, 9.291262184426946, 12.007423698443082, 2.1502533745753305, 10.3637236086015, 4.433313471438713, 8.98174922681369, 4.290740894483723, 8.844977698804291, 8.03916988538834, 7.293857720426485, 1.5079367665544348, 6.684273910112059, 13.159409805243147, 9.520175018566954, 5.504828824122066, 2.6099725048416778, 6.469371723719587, 1.6443882799575293, 1.481769258475635, 4.416083286694275, 4.774291923342943, 3.2916514832394306, 3.8017847439959733, 7.911067564553963, 2.147234501667749, 8.091659957558718, 11.471006473530817, 12.861045040366248, 4.716707031439866, 5.026735004936892, 11.540554413503937, 5.94878267960338, 12.027917291424274, 4.916028278175056, 6.175955649495641, 7.821675943260645, 12.067967661331682, 4.576716864682583, 9.407858180918403, 3.271577418042174, 4.2487976753749885, 3.199500081927004, 4.150806313075631, 12.497790080258195, 8.32580173728008, 2.13320186459252, 2.268638579152365, 10.074153265555248, 8.949256757893433, 2.269852047002861, 8.535337303414689, 10.797940975465231, 9.406908462752583, 5.76345496948434, 4.7592425523168504, 4.439706671578806, 2.7926915008726545, 4.53250740909864, 9.47119073844838, 7.173912645068657, 5.630332228960611, 4.88639292698083, 3.247276979612205, 4.58782411283992, 9.773214886872758, 6.0437339201953515, 12.833529437016086, 8.75034329501784, 6.105776494401005, 5.109807933101955, 11.453232523027397, 9.789206898764563, 13.19322204698903, 1.5544980970032263, 9.187302261739275]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/python/runner.py new file mode 100644 index 000000000000..3da0c91293d4 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/python/runner.py @@ -0,0 +1,72 @@ +#!/usr/bin/env python +# +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Generate fixtures.""" + +import os +import json +from numpy.random import rand +from scipy.stats import halfnorm + + +# Get the file path: +FILE = os.path.realpath(__file__) + +# Extract the directory in which this file resides: +DIR = os.path.dirname(FILE) + + +def gen(sigma, name): + """Generate fixture data and write to file. + + # Arguments + + * `sigma`: scale parameter + * `name::str`: output filename + + # Examples + + ``` python + python> sigma = rand(1000) * 10.0 + 1.0 + python> gen(sigma, './data.json') + ``` + """ + y = halfnorm.std(loc=0.0, scale=sigma) + + # Store data to be written to file as a dictionary: + data = { + "sigma": sigma.tolist(), + "expected": y.tolist() + } + + # Based on the script directory, create an output filepath: + filepath = os.path.join(DIR, name) + + # Write the data to the output filepath as JSON: + with open(filepath, "w", encoding="utf-8") as outfile: + json.dump(data, outfile) + + +def main(): + """Generate fixture data.""" + sigma = rand(1000) * 20.0 + 2.0 + gen(sigma, "data.json") + + +if __name__ == "__main__": + main()