From 2b3b312025b46e728950c4e3dd476aaf1afdcfcf Mon Sep 17 00:00:00 2001 From: Jaysukh-409 Date: Mon, 16 Dec 2024 11:16:56 +0530 Subject: [PATCH 1/4] feat: add stats/base/dists/planck/mean --- .../stats/base/dists/planck/mean/README.md | 140 ++++++++++++++++++ .../dists/planck/mean/benchmark/benchmark.js | 52 +++++++ .../base/dists/planck/mean/docs/repl.txt | 27 ++++ .../dists/planck/mean/docs/types/index.d.ts | 52 +++++++ .../base/dists/planck/mean/docs/types/test.ts | 44 ++++++ .../base/dists/planck/mean/examples/index.js | 32 ++++ .../stats/base/dists/planck/mean/lib/index.js | 43 ++++++ .../stats/base/dists/planck/mean/lib/main.js | 65 ++++++++ .../stats/base/dists/planck/mean/package.json | 69 +++++++++ .../planck/mean/test/fixtures/python/REQUIRE | 3 + .../mean/test/fixtures/python/data.json | 1 + .../mean/test/fixtures/python/runner.py | 71 +++++++++ .../stats/base/dists/planck/mean/test/test.js | 77 ++++++++++ 13 files changed, 676 insertions(+) create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/index.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/package.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py create mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md new file mode 100644 index 000000000000..8b466bef716e --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md @@ -0,0 +1,140 @@ + + +# Mean + +> Planck distribution [expected value][expected-value]. + + + +
+ +The [expected value][expected-value] for a geometric random variable is + + + +```math +\mathbb{E}\left[ X \right] = \frac{1}{e^{\lambda} - 1} +``` + + + +where `lambda` is the shape parameter. + +
+ + + + + +
+ +## Usage + +```javascript +var mean = require( '@stdlib/stats/base/dists/planck/mean' ); +``` + +#### mean( lambda ) + +Returns the [expected value][expected-value] of a planck distribution with shape parameter `lambda`. + +```javascript +var v = mean( 0.1 ); +// returns ~9.5083 + +v = mean( 0.5 ); +// returns ~1.5415 +``` + +If provided a shape parameter `lambda` which is negative or `NaN`, the function returns `NaN`. + +```javascript +var v = mean( NaN ); +// returns NaN + +v = mean( -1.5 ); +// returns NaN +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var randu = require( '@stdlib/random/base/randu' ); +var mean = require( '@stdlib/stats/base/dists/planck/mean' ); + +var lambda; +var v; +var i; + +for ( i = 0; i < 10; i++ ) { + lambda = randu(); + v = mean( lambda ); + console.log( 'lambda: %d, E(X;lambda): %d', lambda.toFixed( 4 ), v.toFixed( 4 ) ); +} +``` + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js new file mode 100644 index 000000000000..d2c1f9264bf5 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js @@ -0,0 +1,52 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var randu = require( '@stdlib/random/base/randu' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var EPS = require( '@stdlib/constants/float64/eps' ); +var pkg = require( './../package.json' ).name; +var mean = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var lambda; + var y; + var i; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + lambda = ( randu()*20.0 ) + EPS; + y = mean( lambda ); + if ( isnan( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnan( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt new file mode 100644 index 000000000000..9f0ee5452da0 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt @@ -0,0 +1,27 @@ + +{{alias}}( lambda ) + Returns the expected value of a planck distribution with shape + parameter `lambda`. + + If `lambda < 0`, the function returns `NaN`. + + Parameters + ---------- + lambda: number + Shape parameter. + + Returns + ------- + out: number + Expected value. + + Examples + -------- + > var v = {{alias}}( 0.1 ) + ~9.5083 + > v = {{alias}}( 0.5 ) + ~1.5415 + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts new file mode 100644 index 000000000000..8aa1f36134ca --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts @@ -0,0 +1,52 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +// TypeScript Version: 4.1 + +/** +* Returns the expected value of a planck distribution. +* +* ## Notes +* +* - If `lambda < 0`, the function returns `NaN`. +* +* @param lambda - shape parameter +* @returns expected value +* +* @example +* var v = mean( 0.1 ); +* // returns ~9.5083 +* +* @example +* var v = mean( 0.5 ); +* // returns ~1.5415 +* +* @example +* var v = mean( 1.1 ); +* // returns ~0.4989 +* +* @example +* var v = mean( NaN ); +* // returns NaN +*/ +declare function mean( lambda: number ): number; + + +// EXPORTS // + +export = mean; diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/test.ts b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/test.ts new file mode 100644 index 000000000000..5e1d010d3b32 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/test.ts @@ -0,0 +1,44 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +import mean = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + mean( 0.3 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + mean( true ); // $ExpectError + mean( false ); // $ExpectError + mean( null ); // $ExpectError + mean( undefined ); // $ExpectError + mean( '5' ); // $ExpectError + mean( [] ); // $ExpectError + mean( {} ); // $ExpectError + mean( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + mean(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js new file mode 100644 index 000000000000..b659da40306a --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js @@ -0,0 +1,32 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +var randu = require( '@stdlib/random/base/randu' ); +var mean = require( './../lib' ); + +var lambda; +var v; +var i; + +for ( i = 0; i < 10; i++ ) { + lambda = randu(); + v = mean( lambda ); + console.log( 'lambda: %d, E(X;lambda): %d', lambda.toFixed( 4 ), v.toFixed( 4 ) ); +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/index.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/index.js new file mode 100644 index 000000000000..1e5c95a5962e --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/index.js @@ -0,0 +1,43 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +/** +* Planck distribution expected value. +* +* @module @stdlib/stats/base/dists/planck/mean +* +* @example +* var mean = require( '@stdlib/stats/base/dists/planck/mean' ); +* +* var v = mean( 0.1 ); +* // returns ~9.5083 +* +* v = mean( 0.5 ); +* // returns ~1.5415 +*/ + +// MODULES // + +var mean = require( './main.js' ); + + +// EXPORTS // + +module.exports = mean; diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js new file mode 100644 index 000000000000..ffe8a35f7b31 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js @@ -0,0 +1,65 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +// MODULES // + +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var expm1 = require( '@stdlib/math/base/special/expm1' ); + + +// MAIN // + +/** +* Returns the expected value of a geometric distribution. +* +* @param {number} lambda - shape parameter +* @returns {NonNegativeNumber} expected value +* +* @example +* var v = mean( 0.1 ); +* // returns ~9.5083 +* +* @example +* var v = mean( 0.5 ); +* // returns ~1.5415 +* +* @example +* var v = mean( 1.1 ); +* // returns ~0.49896 +* +* @example +* var v = mean( -2.5 ); +* // returns NaN +* +* @example +* var v = mean( NaN ); +* // returns NaN +*/ +function mean( lambda ) { + if ( isnan( lambda ) || lambda < 0.0 ) { + return NaN; + } + return 1 / expm1(lambda); +} + + +// EXPORTS // + +module.exports = mean; diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/package.json b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/package.json new file mode 100644 index 000000000000..6cd780813fdf --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/package.json @@ -0,0 +1,69 @@ +{ + "name": "@stdlib/stats/base/dists/planck/mean", + "version": "0.0.0", + "description": "Planck distribution expected value.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "statistics", + "stats", + "distribution", + "dist", + "parameter", + "memoryless", + "life-time", + "discrete", + "mean", + "average", + "avg", + "expected", + "planck", + "univariate" + ] +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE new file mode 100644 index 000000000000..28a74a9652e6 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE @@ -0,0 +1,3 @@ +numpy 2.2.0 +scipy 1.14.1 +python 3.10.12 diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json new file mode 100644 index 000000000000..57741b85844c --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json @@ -0,0 +1 @@ +{"lambda": [8.028981526883365, 10.482766697990893, 1.586688222880217, 5.195723555370789, 7.2102065523606935, 19.933714426047118, 2.313581434181975, 0.11692719729442969, 13.521984127175905, 12.435905479477405, 13.384199814701516, 19.972874085729867, 16.803817656088206, 10.789441466152446, 0.2856426175202631, 14.429778888133978, 6.491721880864231, 6.014869706283323, 19.794174098018143, 1.5585325859998322, 12.53105928389433, 2.6009947602450323, 2.0731672213676378, 0.5419733308751429, 9.299866994334982, 14.638274022917024, 16.79380335611161, 16.583536854944075, 16.470087784882995, 7.030253414781377, 18.073095295600027, 2.8157307054192904, 14.6513657211353, 10.58462416768964, 14.97698388889229, 14.197310012893603, 7.189909801731906, 7.787523403127117, 4.092937002333626, 3.834181105702106, 13.799917504340655, 17.838296107136642, 10.240035403059009, 5.22704360298599, 8.99712119845983, 15.370642380648853, 9.23879005874241, 18.73800815445506, 16.40393382697072, 19.24311097581667, 4.065209377267481, 5.012118845135118, 6.583340902619392, 12.795398324464077, 13.623141234777634, 12.335401992394834, 18.388415202756082, 1.3425748111302216, 16.78561110239516, 14.591213677693487, 17.109473308015886, 8.878219264590264, 13.907142196729605, 5.435403603784621, 14.742053665507965, 11.410134096077226, 0.4726375730375998, 9.780563781520366, 14.410397939510151, 7.252962489615968, 0.48171322701952013, 11.31641622240861, 12.938092532138484, 11.948272720052856, 11.520121666840094, 12.545437245707813, 15.10938342874284, 7.708509505965148, 14.270489244075302, 6.222949105412637, 13.74910407814615, 4.065154478459016, 14.52153608960309, 12.190391643535607, 8.767669417268804, 4.74798949354769, 6.987097164217326, 3.4064340481899547, 9.741588158152453, 19.429019635264137, 17.972013253115296, 19.77424158815123, 4.873158098703314, 9.268074816028113, 4.323022860630756, 11.630840219152079, 10.393240352426794, 11.230557182647463, 4.394562695078401, 18.746188640819156, 11.883113553440941, 13.755434938407156, 10.56471191939407, 9.09145546280439, 10.501925991714316, 14.779807857774635, 5.267898684869485, 17.11102893019, 12.311143519408068, 2.311893848638451, 2.7948169102421483, 11.9455163296875, 15.724252444498664, 3.485264857149395, 8.663380964392896, 2.467322925469646, 9.742478207687933, 18.212753396547065, 5.924743916012094, 1.9815438644847672, 19.04683254139035, 16.3879269295567, 10.757169506508898, 7.107927894095707, 10.971900836135088, 10.153025162945497, 8.512099680850746, 16.456208301516238, 7.138202426945817, 15.9235397870962, 5.2101078569655135, 7.163202046566988, 6.571494660528394, 9.51604322516652, 19.189153303559536, 8.109375939829004, 18.20170817368321, 3.9098785928432522, 11.59812529138668, 15.895336203754958, 16.941192453991942, 17.001616381064483, 5.689070727462138, 11.144713715006098, 12.149892442345497, 1.2307243345799268, 6.026008270550609, 18.02270476225224, 3.813486175699814, 3.1214572781622607, 6.095319914254613, 17.270329298471378, 1.8430159473712937, 17.93091170048297, 3.3863272175492787, 9.158625396540799, 15.455960026200064, 4.434486973441391, 13.942256379046793, 5.661689637613367, 7.340835270866655, 10.243928568034828, 8.650545663569297, 14.854628325248589, 10.02639333281731, 0.07914080656005407, 3.7483613569557206, 4.10141501380926, 13.153463189472742, 6.115980948783893, 2.0314379342317546, 12.504393940170829, 2.5389736846093514, 8.458419217731894, 15.014495328579171, 5.350272090605439, 2.3545545697413073, 8.193163883777503, 8.624977804653572, 1.3193763242392964, 15.456808436542325, 15.714294001415613, 7.840538133838713, 2.874264016693293, 1.80910505483312, 11.157685815657793, 1.7871954119006328, 7.622350763021242, 18.027201001159046, 13.624437193361992, 7.911884702613601, 3.6012073906486863, 3.6118402879639633, 9.262018728151586, 11.664851590131633, 11.885262967066621, 2.1998845674485357, 13.826580947966168, 17.921201375096942, 18.525076271625615, 12.501443584621859, 18.470542322603723, 0.7834272174447654, 4.898467459018121, 17.750896792366305, 3.5122244910054357, 15.497281236491071, 11.812352662690365, 16.84795628618504, 0.5439953778477591, 14.944396258769391, 6.998385871108472, 8.002664813090236, 10.140006333164848, 12.947487483398707, 16.702097609969385, 3.951140401940463, 0.49074590889385705, 17.22057444012622, 3.069804892653123, 17.89207634348598, 15.251708128570263, 15.701570581740045, 13.37726131960984, 17.972092066453808, 6.730688352407945, 14.212384595186524, 7.755323238398171, 12.120389333123317, 11.545755666507713, 2.8445195584908833, 4.393952927409314, 12.11021326586427, 19.28396214617854, 17.791287096748427, 16.8753813109515, 3.214442398332764, 0.22859103553880322, 19.923104367733504, 17.014108047024845, 15.0397386323486, 7.066758370030007, 7.90644224428241, 1.4703988790820488, 6.126112178956031, 19.38456027028041, 10.403262470948329, 11.226733961614197, 1.9872545235210315, 18.30958339800218, 6.179604546342324, 12.583833033984869, 7.620059805793494, 1.2745434425934032, 19.41273264234354, 19.230949161698728, 13.128424057197293, 11.382255521114459, 18.196422600601053, 17.666836770634205, 6.216340531481153, 8.132426462953504, 0.13149387492885412, 18.83649562771349, 16.0817254296902, 9.71060516978615, 0.6207289894516888, 13.700559481806282, 18.94534025660122, 9.67233526312997, 6.687340680465521, 10.097698882060406, 1.2902567403061749, 13.984495115185734, 6.449599493980838, 0.9374824596345555, 10.150228296648045, 16.12166787565924, 3.9833671716012686, 1.2256438018458038, 3.5134640882717183, 13.018117918557524, 13.178545896017122, 13.829655668652885, 11.20102607321613, 12.564686962693223, 1.6680624376498088, 15.418724072529935, 19.695568108181842, 0.2364883109459015, 16.123125866035792, 1.305454447398895, 11.000382774186285, 15.416808173769711, 18.107138857812444, 15.487439179093931, 12.788965794190219, 10.558677496436209, 11.849645063926193, 1.291590169802892, 19.497593349287957, 9.416127736437094, 9.843949947860203, 10.926992569355157, 17.473947116751376, 7.2731882093356575, 19.4648162371827, 16.443841611333415, 0.4745554073038494, 6.406506570026411, 19.97558796651035, 6.309994333135891, 0.9213647322287111, 16.90327184263498, 9.0394076059869, 5.802883394657863, 0.4475061846457429, 0.500436971992968, 0.38102756384634784, 9.29366587236559, 14.517694710094727, 5.225630623484003, 9.708101027966006, 12.932300256211992, 6.442732027520222, 17.412115919421126, 1.5369006551423459, 6.141744337266988, 9.015893609936999, 1.3202751175488858, 7.059696000074127, 16.06146138986683, 7.552194130531646, 9.07480742741965, 0.673321711523629, 17.344726414025658, 3.0130448846347346, 19.539281414276854, 5.997557345033895, 2.5565490102712096, 15.016956907418795, 18.695010551600923, 18.15623012892712, 1.993010510869313, 8.829410359359052, 17.747249551402117, 14.522663487304852, 4.283473551493642, 2.871738118096596, 14.58317067935367, 2.826125804617736, 10.487876113203074, 11.295929851060807, 5.36434965503652, 0.088311973933759, 3.884068600270836, 9.024828607177033, 10.419415460918506, 2.896391368022746, 19.82467621390459, 16.155316922690567, 5.799044761022342, 4.337401093740139, 8.128337463731977, 8.04381399263165, 8.18800232247995, 0.21929580607525034, 4.5111186524448055, 0.48926393675367663, 17.582216495544614, 17.57782046114204, 2.1842329143436268, 15.57435611518585, 8.040588182364193, 18.815722696697332, 4.830826932880317, 2.223453085045497, 10.866594960420535, 18.112097826713416, 12.749841754711554, 9.03821297492535, 16.743277707550384, 11.202443522916344, 6.838962650994295, 10.474705714919676, 13.980115667221185, 13.77125780595317, 6.164596277456969, 18.382393768128082, 11.410987247941073, 0.9805798860462045, 17.430770466834346, 1.326224889136971, 15.842125900293409, 17.055219849440423, 1.9881425373463113, 11.999282337155112, 1.308370929779581, 3.370327742605963, 8.810686327208643, 8.890488790749309, 8.540566067112906, 3.8423162599871508, 17.028832280028894, 10.599677930635803, 7.353705802066697, 3.982213747604082, 2.547338975864577, 8.180352295554066, 9.233183950439487, 8.578864753047053, 0.6150635838564211, 0.8985663490372198, 15.126509146977847, 0.5091417406158216, 16.238855478378543, 3.323033157838753, 9.465622553766389, 17.0228934185976, 7.7275667463304405, 15.73111000398982, 14.143917511425894, 3.5385674860463356, 12.47043097666942, 2.983476018254172, 14.64496471272809, 16.138503696315038, 14.66115888046178, 5.440394564084505, 4.384471147596165, 0.05168754288913169, 3.0902151125237487, 2.612380500936875, 11.766153984431977, 14.448352712495065, 10.16440581629029, 2.607480503502493, 16.168048588408574, 1.8575161894590697, 2.3157865655338195, 7.761762896880155, 12.034837452286432, 3.7884295991032113, 0.9193471595569225, 12.94049416945313, 8.554390304771438, 3.3765754763702827, 8.475530389213638, 8.678454115828684, 5.788702002419224, 19.745403934144676, 8.026010664942273, 0.48784567314733795, 9.377930001035944, 11.824186055370538, 4.480938562749559, 17.416979586356838, 11.972000227876027, 12.94672054690839, 2.1156715519276914, 10.942833993670542, 17.53645541088674, 8.605413940910825, 5.916580801965859, 11.363127500969233, 9.685107992133947, 17.821861402704574, 14.35961190142037, 8.112130752962488, 9.15000867590728, 6.664348494748253, 16.86526802281716, 7.938947490560877, 3.4067302584987846, 0.4790382741868626, 16.85042552384831, 10.437348664325498, 0.060792860175622465, 14.112536318923492, 13.430926194607489, 11.53774876344821, 3.9207429301950736, 3.230237871266315, 5.3614788165843486, 13.323301125015831, 8.47980927336068, 11.859648739828916, 14.745828082140742, 7.5052898838454984, 12.59575387351585, 8.694567066075853, 16.58333797933954, 1.0466252077376481, 15.316253243729774, 6.298200826084564, 2.7052389199457405, 0.5243573143982783, 14.440041330012656, 13.883076122734167, 7.497749954707276, 7.09503285560924, 8.357526389441656, 3.4027984218057017, 2.4777452466978978, 9.688167153381839, 7.22078437099118, 10.549527987020568, 2.0905029881790793, 16.859286628645947, 19.225327444232807, 4.1587246678144085, 6.2974371588862255, 14.834500462750489, 13.66708690063228, 7.015416230415886, 0.877741342446734, 18.110108298955254, 1.2741968934264092, 7.85384000937902, 19.982031852900548, 18.49996794550006, 16.622577605056087, 4.951515300659077, 11.014547803903671, 3.0144727585101805, 8.147013240783146, 10.638473273303223, 1.6793598327985482, 12.202466594716043, 9.214958253481413, 9.27005947873839, 15.631541096231917, 1.0112771051054126, 6.191441391318088, 0.20015354345231495, 3.724082009085703, 16.32681901194704, 1.9861059551758742, 2.0427883975134065, 16.91108789246282, 4.988925867549758, 1.348068039118635, 12.768235619541564, 5.350818418805233, 1.587415706060531, 13.072267914743385, 17.73161783911861, 19.347763011381556, 4.410415033951301, 14.769790838536018, 18.667007041507755, 12.790794233614973, 18.94438200354593, 6.412383596711901, 12.763360759705627, 19.038717841706653, 13.78493098812801, 10.95339354592185, 12.84654465605215, 9.07125902495842, 10.22009946369675, 12.76624756218875, 3.808018403153146, 5.741060106175759, 17.174121262147096, 2.715939603295523, 1.6983909831031019, 14.094159185383985, 13.561033289966504, 2.8592726613776387, 13.852414614567131, 19.121644946127635, 1.8944307410608974, 9.718169531668897, 4.82311189496688, 3.0632517636178935, 19.117902697169146, 8.525038122307457, 15.783257953363016, 4.010673027910457, 12.761011936339326, 3.0207851712300093, 12.567549025870788, 4.98634386547147, 0.5395120603061865, 19.968736677914293, 8.974080597496013, 19.09138782776035, 16.276138298248778, 8.410644489494448, 9.673638995924211, 15.115712414547808, 2.6109256664334435, 10.158478372952448, 15.103661464657325, 18.621000087010167, 3.4626439552808352, 16.88526723947542, 17.567233011051428, 18.06865823980589, 10.129730457621795, 13.503248571069058, 13.205750651627888, 17.810653196669715, 2.225286313530508, 10.389183177927245, 5.129200238477923, 2.155526583980516, 14.474718612938556, 4.44683455499664, 11.621805866357546, 0.44848417539419705, 10.422175266762778, 7.692194159422858, 15.082643981691783, 13.21305950381904, 10.983459240430676, 13.076674979262538, 15.97626238345526, 1.4858924133658213, 8.05037270248442, 4.9023558474609015, 7.844459315762913, 7.772254412418286, 15.27201452657849, 19.623570682726218, 9.182828778633942, 16.98963418328262, 19.777047052876433, 9.801559941478565, 8.638740428852728, 13.634628511579798, 14.335669225339096, 11.810461311708064, 14.809995131680306, 8.327894362199125, 7.835121879742715, 0.026740507659102075, 2.030552777332937, 12.916984162450031, 11.48252297003789, 12.412426692561807, 10.904390620846549, 9.918828950924844, 9.55005075712008, 13.31415675313724, 6.497832580022118, 19.55338452809309, 8.496278076228181, 10.32729840635261, 13.799346566546077, 13.692763748763229, 2.224295237953302, 12.051706342233022, 5.699150327652451, 18.005088403861546, 2.6113591093731037, 3.1018600342480807, 18.615606294668783, 15.288965007718481, 19.242049155892808, 2.314636144364557, 1.9199215321275176, 6.127178698785549, 10.961403574756963, 11.86544678302168, 3.3995772827672432, 2.3323377055623107, 1.8060332860207606, 14.939258685974796, 8.889444198415873, 4.888538248814982, 17.452048320492096, 1.3439639953905602, 1.003702429409974, 18.632575827961475, 12.249447447262716, 4.353818514804553, 5.7734907243698075, 9.340525014959898, 4.316352516295372, 6.172513725786343, 11.046093537948781, 9.922270301983929, 16.63905937328515, 1.3299044346033684, 13.95651399908618, 6.9630212513480565, 12.30578185440806, 13.275817514165913, 5.8029368048656575, 10.246837153248325, 15.905116566882295, 5.610913618804578, 2.5627291042827682, 8.799964692054704, 18.71460407379567, 11.031911786824626, 2.130681732128865, 8.138962957439793, 5.834397657572092, 6.747523102991675, 5.72131030641664, 3.5640391043979625, 2.172489279283616, 0.9511751060507256, 9.844440217693757, 0.2915788505327832, 3.2823875820494997, 3.8198267699791777, 19.274303732606086, 8.4915591410103, 11.533619143504502, 9.23719635309622, 6.3857309776794136, 11.593764139077889, 13.958780946607794, 17.86408499043597, 3.2116909407340266, 4.177690489507722, 7.234313902149275, 15.662420159196115, 5.594617001512143, 16.541268328252567, 11.016238230899146, 16.954966780932722, 18.362345942809164, 15.139102090230436, 7.435680561169383, 18.922297723259536, 11.099605339373745, 0.3494768630745382, 7.9959766558529255, 14.570661066142673, 5.909851709495115, 17.934138729102752, 1.367801264119084, 2.746360201687039, 9.22701387634778, 16.148662075557013, 11.298209712328475, 9.262859034558794, 6.43569561115166, 6.1135851732143, 11.939319803632928, 3.1823453960128423, 12.152960442244172, 10.603485312824201, 4.382669103388497, 12.796105969370162, 11.396899498158819, 13.547408879775656, 0.6116335008212204, 4.312229179709764, 15.996739026488028, 8.629749462611722, 9.154371338884692, 11.028301457088919, 2.328556226964771, 13.016936888037272, 11.97953027375016, 12.066282950228535, 13.906174005433778, 16.502917097423847, 8.625236926192816, 9.463340913145306, 3.2477184588896812, 11.35807685833905, 7.311908496585017, 7.4758918872123825, 4.082069471243887, 7.339592996434603, 1.8194831411936452, 4.669265941767673, 11.168330455781636, 1.71115692024979, 11.466129850379797, 15.772130344877041, 15.118528810943925, 9.671197483099224, 5.46195852853274, 5.2545878097583305, 17.4740720238526, 2.6252220611194965, 7.212427265596206, 13.25602057358855, 9.752078725895199, 18.242710944409176, 19.439511316694027, 10.608767569276786, 13.78433955365324, 11.43538729587647, 2.3130637529650877, 15.683917354497527, 14.99340383049558, 10.901772966732182, 3.240108539965123, 0.5177773190428581, 8.946305656735936, 17.930098324239875, 2.030702435212448, 6.114664855876293, 1.2553098312201927, 16.548653790326917, 19.59710781820069, 10.54045628788642, 4.469340126785317, 18.69411140597557, 17.6893160759369, 14.9064966624636, 6.689193486212153, 2.568351393259607, 8.882913114797935, 9.59524339551521, 4.760999871888956, 0.8254389560110997, 3.6297631772042416, 3.4063189394089433, 0.5621275791155855, 9.076928143525434, 1.5222267125943034, 11.273035767960947, 5.736167784025026, 5.22119299043138, 10.609880042411739, 8.655467568389781, 10.29294367759907, 14.805304377420237, 10.704904103323003, 10.742280767467342, 18.787558953905894, 10.344610709117593, 14.042337109015659, 16.278624661236925, 10.198298565419153, 5.955562989889806, 13.233944327411539, 1.9261916289516146, 13.340604911243926, 4.561857630850399, 16.404862678070785, 14.716122027855523, 15.560545489994603, 12.103935782025644, 18.97479305201622, 8.708674870278792, 19.436714484718742, 6.395377330885341, 2.431899758327045, 17.123748625945755, 5.560675328139744, 8.11169557592103, 13.186654984344642, 9.002605093821096, 8.071371411448565, 1.7564152586104709, 0.859798911995493, 16.992439197756013, 9.63182834197502, 7.912507415274323, 14.410966054799442, 6.579930212522662, 8.425129137545929, 13.716741789411454, 14.503547218988945, 1.917736073796883, 13.755264639518384, 12.172592441295503, 7.177576861371071, 18.73735565110181, 13.564305986933613, 4.78034511158155, 0.332662758589215, 7.1862899772824385, 19.625681791413168, 9.133301718958048, 2.7236446088333843, 8.794827917773464, 16.32997846379025, 3.9222011227058773, 14.206399738924729, 3.4496990401881233, 8.753998172454793, 13.198381285782235, 19.764106809333633, 12.46153995347397, 12.931658606358642, 19.212083299092438, 8.86937052992209, 13.770703582147853, 12.736087984230362, 6.948687743676707, 18.643940398482528, 0.04805477353740928, 10.659556661746674, 16.67575503097625, 13.184030336758457, 14.774172980695123, 13.717653008556477, 1.6200189366678486, 5.398524642327914, 13.731063622728941, 3.823037456076075, 0.29676336592175057, 3.2879397185470904, 18.320225316854582, 12.567129300021696, 3.421857872660383, 7.687832232524725, 3.062902832214931, 7.604378100629246, 1.8842284842179247, 12.164231154785694, 19.164574129949223, 9.292766934248643, 3.733876673091583, 0.6866936512522681, 14.565962907834557, 8.437157382842832, 9.237948974114884, 0.28828384176015076, 16.131452535486215, 12.911791998543723, 9.968115769520745, 18.527218621108815, 18.40601591216897, 8.756460041216823, 19.20445941230501, 14.434903145543856, 12.335037001382803, 15.401320793879263, 3.0555936060184052, 3.847020645903567, 18.22089892577341, 13.265433855794885, 6.215817711606819, 1.9235915555910466, 7.972463984548126, 2.572946453896725, 12.166454746223641, 7.939393426350794, 6.924967732959944, 8.447955523037097, 7.48204736613407, 5.691425151591156, 14.14729921610564, 15.854623558585208, 11.150643587899026, 8.69060990828395, 14.787173854648913, 9.387167969765724, 13.231006416131805, 11.257028900400726, 17.044672182434955, 0.9254978571983719, 8.357520954297485, 2.125821287370424, 3.3876250106687356, 15.388666185281908, 6.351757880304374, 9.606264254056569, 10.261370554315246, 8.27229793043995, 14.299425747539715, 2.44464936103868, 17.264676507144863, 8.26025082936976, 16.089476408645144, 19.958702315134452, 12.397384107592046, 12.447310887393698, 13.776110436537827, 12.34513077215711, 18.58243452099381, 18.537363955846, 3.997889162782413, 11.128978849417656, 12.519706261757179, 7.8538675196937895, 12.075245814389643, 7.25962435411907, 14.043495308765355, 10.035208716482856, 11.533825929502433, 12.168826269030355, 9.101569089237147, 6.4005715244178285, 8.235499189563507, 14.796986375464032, 2.9866213688359977, 14.734133630811371, 17.819003461769643, 2.5899152725439523, 14.487143821538327, 13.356999525252938, 1.7809059306072772, 2.0217900074961914, 3.962594716427923, 5.1913743372926735, 2.3099270017246565], "expected": [0.00032598617227450505, 2.801589073580104e-05, 0.25723236663507854, 0.005571071101197159, 0.0007395510281092237, 2.2024082331491724e-09, 0.10976261359801424, 8.06207190819388, 1.3411504252392961e-06, 3.973347950688673e-06, 1.539276163976042e-06, 2.1178295208979784e-09, 5.037264305745144e-08, 2.0616458395828905e-05, 3.024649400328073, 5.410369034110606e-07, 0.0015182380499226904, 0.0024481453213736665, 2.5322082330982146e-09, 0.26653565868249085, 3.6126980908101296e-06, 0.08014658560407957, 0.14388566685238485, 1.390054111783674, 9.144475360594406e-05, 4.3921641015829186e-07, 5.087962413467683e-08, 6.278580700259116e-08, 7.03285703513587e-08, 0.000885490954751298, 1.4156452900430534e-08, 0.06367245652842311, 4.335037944829493e-07, 2.5302714758115995e-05, 3.1302475005709066e-07, 6.826324039360706e-07, 0.0007547263233401333, 0.00041505129708442476, 0.016973431506935307, 0.022096745234875773, 1.0157162913249314e-06, 1.7903025979843772e-08, 3.571286068276382e-05, 0.005398361700655862, 0.00012378090810801203, 2.111615895136659e-07, 9.720456730189752e-05, 7.280923363216312e-09, 7.513842545541465e-08, 4.39362604943221e-09, 0.017458981692522208, 0.006701393385173479, 0.0013851363109533418, 2.7735137191431317e-06, 1.212119566859318e-06, 4.393441931704956e-06, 1.032791728310973e-08, 0.35349560420441634, 5.129815496058846e-08, 4.6038017688510427e-07, 3.710651519932353e-08, 0.0001394115981343364, 9.12442028163192e-07, 0.00437856340377717, 3.9592015706739185e-07, 1.1082724499512855e-05, 1.6550266845040906, 5.6543107845400325e-05, 5.516249897791536e-07, 0.0007085753413880966, 1.6159122692453307, 1.2171613850164372e-05, 2.40468863748088e-06, 6.4704412678755905e-06, 9.928394859973671e-06, 3.5611263076366786e-06, 2.7420683185547444e-07, 0.0004491918786079302, 6.344618931875244e-07, 0.0019873290086313768, 1.0686621600665823e-06, 0.017459956931555852, 4.936023536653308e-07, 5.079048766991249e-06, 0.0001557102391644717, 0.008744917615966852, 0.0009245781178909477, 0.03429647900396504, 5.87905535823649e-05, 3.6482449098367377e-09, 1.566223811377411e-08, 2.5831878871877463e-09, 0.0077081310752128715, 9.439896758088102e-05, 0.01343792393695159, 8.88779712689381e-06, 3.0639831481296246e-05, 1.326284660849945e-05, 0.012498563087851728, 7.221604826536682e-09, 6.906091930684566e-06, 1.0619179728593608e-06, 2.5811611526516238e-05, 0.00011263671469075133, 2.7484220777776066e-05, 3.8125115614285e-07, 0.005181136088339585, 3.704883635421373e-08, 4.501323838610826e-06, 0.10996839084536689, 0.06510572141478843, 6.488301048521111e-06, 1.482668277505258e-07, 0.031614486839827934, 0.00017282895527709848, 0.09267119487015336, 5.873824728494202e-05, 1.2311237371234673e-08, 0.0026796533320200757, 0.15989936740030175, 5.346452735480479e-09, 7.635083619557433e-08, 2.1292658541439366e-05, 0.0008192600776209277, 1.7177955411003446e-05, 3.8959566574441264e-05, 0.00020106171859677886, 7.131150014296e-08, 0.0007948096284843877, 1.2147714903753286e-07, 0.005491071847982599, 0.0007751707920399024, 0.001401665682645452, 7.366597296624618e-05, 4.637208357215624e-09, 0.00030079692516424674, 1.2447971472641613e-08, 0.02045286979455695, 9.183371930749045e-06, 1.249520118189648e-07, 4.390698534334941e-08, 4.133251577955616e-08, 0.0033942167276789586, 1.445168901447756e-05, 5.288969389949976e-06, 0.4125908622434672, 0.0024209621523678627, 1.4888082929998409e-08, 0.022569228669805846, 0.04612672553545836, 0.002258478364691982, 3.159303137191179e-08, 0.18812704079635656, 1.6319392960279e-08, 0.03501744417342796, 0.00010531864558248512, 1.9389291160911208e-07, 0.01200352503583081, 8.809583410687188e-07, 0.0034887668532293916, 0.0006489294506427474, 3.557408998217755e-05, 0.00017506195520780108, 3.5376677398706053e-07, 4.4219304338393555e-05, 12.14230083002038, 0.024124601337915247, 0.016827727546556606, 1.9387613838740484e-06, 0.0022121924428281092, 0.15094242131780825, 3.71032816956122e-06, 0.08571430306545284, 0.00021215209990989097, 3.015002393007034e-07, 0.004769499390163967, 0.1048939763074339, 0.00027661406014711836, 0.00017959643996045093, 0.36481871802151844, 1.9372848058809584e-07, 1.4975071105750754e-07, 0.0003936121205566653, 0.05983587031052077, 0.19588710102359683, 1.4265428284061273e-05, 0.20109888260529288, 0.0004896296577196412, 1.4821292815963254e-08, 1.2105497256440916e-06, 0.00036649771473112473, 0.02805643310488789, 0.027751457346660707, 9.497244508097446e-05, 8.590591204680652e-06, 6.891263721980051e-06, 0.12462655995241788, 9.889916393741853e-07, 1.6478631456221785e-08, 9.008689164774042e-09, 3.721291162011403e-06, 9.513611131248228e-09, 0.8410701472981621, 0.007514043782643736, 1.9538151945418945e-08, 0.030747701726863995, 1.8604429425157784e-07, 7.412481790507356e-06, 4.81976179137617e-08, 1.3833618346145666, 3.2339351732682124e-07, 0.0009141900292133816, 0.00033468184720454483, 3.947011069205082e-05, 2.382202444854333e-06, 5.576621849511003e-08, 0.019609908786527117, 1.5784466684848586, 3.320469992884049e-08, 0.04869094373065908, 1.6965629619984335e-08, 2.378304312986617e-07, 1.5166822529108912e-07, 1.549993579007568e-06, 1.566100376912252e-08, 0.0011951376303540324, 6.724191721753994e-07, 0.0004286393404395566, 5.4473359473330715e-06, 9.677122246763426e-06, 0.06175394933744886, 0.012506281973779423, 5.503051712258393e-06, 4.217757948280109e-09, 1.876472465146066e-08, 4.6893757905197384e-08, 0.04185955258127292, 3.8936574262042685, 2.22590031880317e-09, 4.0819415190715086e-08, 2.9398463338725395e-07, 0.0008537219417775719, 0.0003684985380571316, 0.2984210269494872, 0.002189844529781376, 3.8141032208301e-09, 3.0334279838704866e-05, 1.3313651134288182e-05, 0.1588442067992734, 1.1175036985060644e-08, 0.0020755457422447663, 3.4269852915749563e-06, 0.000490753215330707, 0.388037893704086, 3.708150364700962e-09, 4.447386764254317e-09, 1.9879192499743732e-06, 1.1396045768649986e-05, 1.251394032441933e-08, 2.1251534139483702e-08, 0.0020005322724431117, 0.0002939406841826876, 7.11587162958874, 6.598024036719804e-09, 1.0370398171309203e-07, 6.064068436809145e-05, 1.1624072724435104, 1.121819811034006e-06, 5.917568192815282e-09, 6.300652543587653e-05, 0.0012481493941324479, 4.117588835530062e-05, 0.3796911758564237, 8.445226582686222e-07, 0.0015836593154836807, 0.6436892487735001, 3.906868805823142e-05, 9.964342473912252e-08, 0.01897621822888286, 0.41556569516707154, 0.030708440853653585, 2.2197506264681756e-06, 1.8907367211734047e-06, 9.859554334580159e-07, 1.366035913802345e-05, 3.4932309741268315e-06, 0.23245623149311767, 2.0124880243858845e-07, 2.79462444697425e-09, 3.7482278202048844, 9.94982514266742e-08, 0.3718349407139637, 1.6695587771691194e-05, 2.0163474444226964e-07, 1.3682627915289288e-08, 1.8788439354589665e-07, 2.791411983756414e-06, 2.5967844666726937e-05, 7.1411414830860026e-06, 0.3789934685790788, 3.4064561239947856e-09, 8.140724105118249e-05, 5.3070099875497573e-05, 1.7966985868657246e-05, 2.577277612751352e-08, 0.0006943780033653129, 3.5199599203594852e-09, 7.219886299707692e-08, 1.6466341410408396, 0.0016535109146019042, 2.112089776067164e-09, 0.0018213548441985735, 0.6610620778194326, 4.560393651671755e-08, 0.00011865517529743375, 0.0030279786596837236, 1.771774290881029, 1.5397836840272152, 2.156157775666662, 9.201362786013528e-05, 4.955021150877049e-07, 0.005406036131737424, 6.0792736774309636e-05, 2.418657708576436e-06, 0.001594589874707795, 2.7416634972046354e-08, 0.27396093291409296, 0.0021558054809482, 0.00012147863689377118, 0.3643715461866764, 0.0008597777849600744, 1.058268801565079e-07, 0.0005252327629350883, 0.00011452780727364334, 1.040864846720031, 2.9327905011199413e-08, 0.05168154469666824, 3.2673668828687395e-09, 0.0024910039962065308, 0.08409542794670716, 3.007589851703215e-07, 7.600813590515411e-09, 1.302715104022573e-08, 0.15778867526857465, 0.00014638594222070244, 1.9609542404921878e-08, 4.930461808047625e-07, 0.013987616749481473, 0.05999627995353529, 4.640979465678482e-07, 0.0629725388276299, 2.7873107008902386e-05, 1.2423540873609883e-05, 0.00470251332125842, 10.830851163506846, 0.02099885894527259, 0.00012039793017268308, 2.9848212187011857e-05, 0.0584498636999928, 2.4561365947616214e-09, 9.634630174769697e-08, 0.0030396596965602814, 0.013243552209233787, 0.00029514542356422804, 0.0003211851341883083, 0.0002780459096679057, 4.0783107472850055, 0.011108200104173205, 1.5844968416340646, 2.3128123962153784e-08, 2.3230019797824108e-08, 0.12684188239894706, 1.7224362413102179e-07, 0.000322223223781558, 6.736517816529005e-09, 0.008044111038809558, 0.12137130860140165, 1.908561066822217e-05, 1.3614944147602532e-08, 2.9027881496764656e-06, 0.00011879702600759822, 5.351640181574774e-08, 1.3641009718583403e-05, 0.0010723627763705094, 2.824264543999373e-05, 8.482293150735681e-07, 1.0452476022030375e-06, 0.002106997149752232, 1.0390293772025933e-08, 1.1073273180027751e-05, 0.600239457969858, 2.6909930902829113e-08, 0.36142883014834454, 1.3178081742704074e-07, 3.917528356688142e-08, 0.1586808406328882, 6.1486612146835905e-06, 0.3703510284222609, 0.035602317833608205, 0.000149153111567573, 0.00013771130058003075, 0.00019541781151444446, 0.02191379076114518, 4.022278383498424e-08, 2.492465693034616e-05, 0.0006406255855593133, 0.01899853455479173, 0.08493961886308686, 0.00028018172342669, 9.775109040463279e-05, 0.00018807369128063666, 1.1767831811706921, 0.6867757229805426, 2.6955082418318226e-07, 1.506335898140273, 8.862468647546004e-08, 0.03739103858567928, 7.747578818129138e-05, 4.0462372120850784e-08, 0.00044070883680186684, 1.47253557261118e-07, 7.200704436238523e-07, 0.029924368973888154, 3.838506734686425e-06, 0.05331521772157989, 4.362875570655793e-07, 9.797988853809658e-08, 4.2927914104865447e-07, 0.004356669641225098, 0.012626932195743113, 18.851328534622684, 0.04766033956364717, 0.07916739983064065, 7.762964903894227e-06, 5.310805239128172e-07, 3.85186777343274e-05, 0.07958722108751282, 9.512742833285396e-08, 0.1849180394030036, 0.1094943663626074, 0.0004258867462992637, 5.9338843930155326e-06, 0.023155140502955984, 0.6632827051815334, 2.3989203630888405e-06, 0.0001927343795095365, 0.03537273387519072, 0.00020855206015547555, 0.00017024297317661964, 0.003071358365099077, 2.658765468461575e-09, 0.00032695638930802743, 1.5903220317565416, 8.457723415588003e-05, 7.3252832848149125e-06, 0.01145245466183613, 2.7283613336094065e-08, 6.318719954425257e-06, 2.3840301479687513e-06, 0.13707728833408808, 1.7684600784743168e-05, 2.421108171052104e-08, 0.00018314528511021865, 0.002701676511666998, 1.161613027388485e-05, 6.220682812962472e-05, 1.8199688024803604e-08, 5.803634329798966e-07, 0.000299969177945972, 0.0001062301648465559, 0.0012772166088639966, 4.7370414231808075e-08, 0.00035670878213888395, 0.03428597327916048, 1.6272838776515777, 4.8078753347433665e-08, 2.9317693600202826e-05, 15.954365843765471, 7.430254231683592e-07, 1.4690057807757325e-06, 9.754917817507212e-06, 0.02022739528432369, 0.04117654399593228, 0.004716096633782313, 1.6359293765429286e-06, 0.0002076614115905161, 7.070059446657527e-06, 3.944286054911703e-07, 0.0005504691925126967, 3.3863751459242203e-06, 0.0001675213824005874, 6.279829481041819e-08, 0.5411186910245988, 2.2296455578989082e-07, 0.0018430019903597614, 0.07164406653607601, 1.4505940072263015, 5.355129338513985e-07, 9.346673110193103e-07, 0.0005546376885740668, 0.0008299016998630791, 0.00023467904625734814, 0.03442569544881997, 0.09162232788707343, 6.201680641154427e-05, 0.0007317637259429011, 2.620653421350075e-05, 0.14106396187629966, 4.765460444443452e-08, 4.472459125049153e-09, 0.015875570527461, 0.001844412564962824, 3.6095948970604974e-07, 1.1600055821870433e-06, 0.000898738993869674, 0.7115105919389296, 1.3642058420635279e-08, 0.38822460646041795, 0.00038840898991207665, 2.0985234662987194e-09, 9.237745853881923e-09, 6.038183364728727e-08, 0.007123062731662996, 1.6460757497308364e-05, 0.051603997243404705, 0.00028968292366734046, 2.3976190143606588e-05, 0.22924621323454308, 5.0180879832691155e-06, 9.954918550548745e-05, 9.421178562740842e-05, 1.6267021059374795e-07, 0.5717194374238223, 0.002051072566818612, 4.5128326942254935, 0.024732163041164226, 8.11619796142374e-08, 0.15905579039646753, 0.1489850334973208, 4.5248883225072135e-08, 0.006859713687353454, 0.35087961470391943, 2.84988256537839e-06, 0.004766881972076349, 0.25699722749341913, 2.1027473381422492e-06, 1.991848146843235e-08, 3.9570659523380515e-09, 0.012299576069297116, 3.8508934931289327e-07, 7.816671333461536e-09, 2.78631270509517e-06, 5.9232414384178745e-09, 0.0016438057594373124, 2.8638093010821522e-06, 5.39001409868923e-09, 1.0310529904871044e-06, 1.7498838560015152e-05, 2.6352249203934713e-06, 0.00011493496669088176, 3.643200059322607e-05, 2.8555539471941507e-06, 0.022695778472643327, 0.0032217081568100226, 3.478355124213e-08, 0.07082750351841945, 0.22395680249876831, 7.56806350056046e-07, 1.2897888951170515e-06, 0.060794593441628776, 9.63769526997557e-07, 4.961067283824949e-09, 0.17702992595952502, 6.018367933483453e-05, 0.008106916743417241, 0.04902676426736161, 4.979667614620314e-09, 0.0001984765371727871, 1.3977137099079837e-07, 0.018455633190721032, 2.870543808582228e-06, 0.05126263148586348, 3.4832473852061604e-06, 0.006877570339502612, 1.3982694150886503, 2.1266099970082188e-09, 0.00012666636960379296, 5.113468874402268e-09, 8.538134412650317e-08, 0.0002225359317644385, 6.292443012037651e-05, 2.724768604929133e-07, 0.07929179823278172, 3.874768189490778e-05, 2.7578033139283136e-07, 8.184693455373317e-09, 0.032361191821744344, 4.643245351292247e-08, 2.347727305996631e-08, 1.4219405431354724e-08, 3.9877807946842836e-05, 1.3665145219038439e-06, 1.8399929614739022e-06, 1.8404821322376363e-08, 0.12112208594559416, 3.076439897376525e-05, 0.005956564776251001, 0.13101979137492467, 5.172610820153835e-07, 0.01185447561988433, 8.968457148759404e-06, 1.7669820665941443, 2.9765948033358984e-05, 0.0004565840851775741, 2.8163788129827584e-07, 1.8265937264833917e-06, 1.6980545356293487e-05, 2.0935007656417618e-06, 1.1523846253732629e-07, 0.29249112580304676, 0.0003190847971924357, 0.007484664733885051, 0.00039207111395026325, 0.0004214400329747896, 2.3304965522580528e-07, 3.0032503652075245e-09, 0.00010279991991324205, 4.183074918370015e-08, 2.575951000834267e-09, 5.536823108682922e-05, 0.00017714121771063141, 1.1982752660882764e-06, 5.944265777815479e-07, 7.426514765797486e-06, 3.69914195681228e-07, 0.00024173882440773123, 0.0003957506537104865, 36.89867619324293, 0.1510962847609065, 2.4559873300534315e-06, 1.030879997186708e-05, 4.067741506947172e-06, 1.837770627736705e-05, 4.924120864606239e-05, 7.120271865374325e-05, 1.650957554731101e-06, 0.001508974885471099, 3.2216102496005682e-09, 0.00020426879103242247, 3.272845488648771e-05, 1.0162963683117588e-06, 1.1305994059159381e-06, 0.12125674960535045, 5.834625315177389e-06, 0.0033600618474423226, 1.5152680518781555e-08, 0.07925471393694089, 0.047082578286951136, 8.22895926558812e-09, 2.2913264195041725e-07, 4.3982937668291245e-09, 0.10963422146520406, 0.17180881090770478, 0.0021875051559369597, 1.7359229806907368e-05, 7.029185258128341e-06, 0.03454060056921182, 0.1075038037768684, 0.19660823099918603, 3.2505925085321423e-07, 0.00013785524774958608, 0.00758959300248841, 2.6343394035001022e-08, 0.35283172963948456, 0.5785815824283882, 8.090495818973936e-09, 4.7877850752359236e-06, 0.013025093427318805, 0.0031185816014241527, 8.780103951851535e-05, 0.013529075872751154, 0.0020903462407842652, 1.5949587542240608e-05, 4.907203530436065e-05, 5.9394790651676474e-08, 0.3596239971249163, 8.684870773943628e-07, 0.0009471296482818217, 4.525523355189345e-06, 1.7154831469484567e-06, 0.0030278164493726723, 3.547076637550122e-05, 1.2373589235766593e-07, 0.0036711541395808662, 0.08353403270930326, 0.00015076112275461703, 7.45333639654432e-09, 1.617739582460162e-05, 0.13475989343669356, 0.00029202504903121703, 0.002933766501315842, 0.001175162750158249, 0.0032861798975161215, 0.029149834420331595, 0.1285328372787821, 0.6294256774807258, 5.304408620370874e-05, 2.9538679042916716, 0.03900262434989244, 0.02242338038085135, 4.25869216063098e-09, 0.00020523519847063867, 9.795285609721281e-06, 9.735962137461042e-05, 0.0016882815195912745, 9.223509844008798e-06, 8.665204909769932e-07, 1.7447229427114244e-08, 0.04197972762381649, 0.015572669920817002, 0.0007219228796031582, 1.5772386836145494e-07, 0.0037316967714570186, 6.549655685697326e-08, 1.6432954837014686e-05, 4.330634236914573e-08, 1.0600698601391129e-08, 2.661776686021952e-07, 0.0005901755282947638, 6.055507083506496e-09, 1.5118517802242917e-05, 2.3904837170329847, 0.00033692851085068354, 4.6994010045592144e-07, 0.002719967262343635, 1.626681469269708e-08, 0.34168089318390915, 0.06855983521486236, 9.83561458957384e-05, 9.69896099044393e-08, 1.2395248836097312e-05, 9.489266507838325e-05, 0.0016058677224422473, 0.002217510479926499, 6.528631061443578e-06, 0.04328401181685619, 5.2727676130719875e-06, 2.4829937310513055e-05, 0.012649995101371023, 2.771551745120538e-06, 1.1230376451277742e-05, 1.3074817849686141e-06, 1.185620507439969, 0.01358573541852617, 1.1290276068775571e-07, 0.0001787413557091981, 0.00010576767899014055, 1.623590806675109e-05, 0.10795506604484809, 2.2223737742354252e-06, 6.271318097968402e-06, 5.750192646067016e-06, 9.133258751971156e-07, 6.805721902360568e-08, 0.0001795499003286879, 7.76527756477004e-05, 0.04043415728323067, 1.1674948290960456e-05, 0.000667987744037302, 0.0005669014116992168, 0.01716207972015666, 0.0006497366241533701, 0.1934733957575332, 0.009467953215169637, 1.4114381137986464e-05, 0.22048957852737028, 1.0479187913467263e-05, 1.4133537799496895e-07, 2.7171053707828133e-07, 6.307825832463671e-05, 0.0042633320257706555, 0.005250927135826824, 2.576955712571626e-08, 0.07807839704429817, 0.0007379093090299423, 1.7497829193530723e-06, 5.817699533106251e-05, 1.1947892517843799e-08, 3.6101687769243838e-09, 2.469912177921e-05, 1.0316629717643e-06, 1.0806351556874579e-05, 0.10982569248762217, 1.543694317071184e-07, 3.079268683560338e-07, 1.8425876661416926e-05, 0.040755620074624244, 1.474288720219837, 0.000130234298841852, 1.633267216679486e-08, 0.15107025784503272, 0.0022151122637590562, 0.398577019365981, 6.501461635612255e-08, 3.083785873373964e-09, 2.6445359933977675e-05, 0.011587606673053025, 7.607650902265278e-09, 2.077914380096264e-08, 3.358852253434788e-07, 0.0012458360783929045, 0.08302681369182673, 0.00013875866376185115, 6.805629405385658e-05, 0.008630904237636617, 0.7794945353859193, 0.027245071231892168, 0.03430056247752212, 1.3255546962124927, 0.00011428515593874837, 0.27914110525413244, 1.2711250928560136e-05, 0.0032375595636960734, 0.005430210004841062, 2.467165927035178e-05, 0.0001742022841722014, 3.387240774704562e-05, 3.7165344893106977e-07, 2.2435149195733148e-05, 2.161205805725012e-05, 6.928940323026467e-09, 3.216670833413426e-05, 7.970596546537342e-07, 8.516931878971161e-08, 3.7235001775777515e-05, 0.0025981172212692204, 1.7888411704457354e-06, 0.1705517697932222, 1.6078650684559271e-06, 0.010552841893564167, 7.506866544438117e-08, 4.0632129572367963e-07, 1.7463891886805998e-07, 5.537705878430316e-06, 5.745820900654544e-09, 0.00016517422869376046, 3.620279945461129e-09, 0.0016720469572365526, 0.09633464292328028, 3.6580570821398697e-08, 0.0038610282904683615, 0.000300099785236881, 1.875466538648911e-06, 0.00012310388106653774, 0.00031245221638880174, 0.20869687411827517, 0.7338450229032527, 4.171357773254717e-08, 6.561129264604628e-05, 0.0003662694794428788, 5.513116920187821e-07, 0.0013898752246876973, 0.00021933510748796685, 1.10381225262462e-06, 5.02562052825627e-07, 0.17224944962326286, 1.0620988319017895e-06, 5.170261600328995e-06, 0.0007640991085044834, 7.2856757404625925e-09, 1.2855747011365553e-06, 0.008464142320022412, 2.533718238671547, 0.00075746532387547, 2.996916864959395e-09, 0.00010802004947935167, 0.07024568662204571, 0.0001515376587047222, 8.090595688611136e-08, 0.02019732604775868, 6.764555735838007e-07, 0.032796656086906295, 0.00015785394819295239, 1.8536026537026783e-06, 2.6095010388968217e-09, 3.872787288045721e-06, 2.4202101417024275e-06, 4.5320870117016775e-09, 0.00014065086276081155, 1.045827064473537e-06, 2.9429883677172305e-06, 0.00096081623618669, 7.999071292175262e-09, 20.3135916040388, 2.347597063662709e-05, 5.725476458851401e-08, 1.8803954521295978e-06, 3.8340552446772866e-07, 1.102806894778521e-06, 0.24671949386964043, 0.004543802183602976, 1.088116286123921e-06, 0.022349894909664044, 2.8943822155533594, 0.03877830240529023, 1.1056743697158534e-08, 3.4847097061326684e-06, 0.03375383649943793, 0.00045858093677780603, 0.04904471338313822, 0.0004985135879514623, 0.17917053242820843, 5.213673099366045e-06, 4.7525994060848946e-09, 9.209638722741103e-05, 0.024485199875192598, 1.0130331783794904, 4.7215314904127887e-07, 0.0002167121258367847, 9.72863669184257e-05, 2.992793945854787, 9.867320201820477e-08, 2.468772412704458e-06, 4.687299267018996e-05, 8.98941006268499e-09, 1.0147728982892193e-08, 0.0001574657493386527, 4.5667711762219094e-09, 5.382715807210579e-07, 4.395045798250289e-06, 2.0478184624384015e-07, 0.04942228734013762, 0.021808698943537826, 1.2211363142631935e-08, 1.7333889718647718e-06, 0.002001580557971964, 0.17107175388733167, 0.00034494723426327644, 0.08261472933644506, 5.20209283984814e-06, 0.00035654969168497194, 0.0009839019455302454, 0.0002143841278869156, 0.000563420619885468, 0.0033862076733440667, 7.176394889894193e-07, 1.3014411436805894e-07, 1.4366244691756582e-05, 0.00016818571600555793, 3.7845317785626205e-07, 8.379944496464724e-05, 1.7941043641392444e-06, 1.2916358048651535e-05, 3.9590678300650953e-08, 0.6565453188546801, 0.00023468032207460377, 0.13550545198462385, 0.03497044003716879, 2.0738974707331326e-07, 0.0017467249892809296, 6.731032295030432e-05, 3.495896559142309e-05, 0.0002555627963364394, 6.163658538198108e-07, 0.09499827212140081, 3.177212590641966e-08, 0.0002586610083022883, 1.0290328136502952e-07, 2.148056594774734e-09, 4.1293936481151775e-06, 3.928287572957308e-06, 1.040187683331795e-06, 4.350906162843997e-06, 8.506506357071885e-09, 8.898670557325808e-09, 0.018697521744535067, 1.468088620166394e-05, 3.6539469888526213e-06, 0.00038839830065540376, 5.698884434512956e-06, 0.0007038672855424057, 7.961370340188939e-07, 4.3831190319765475e-05, 9.793260271387961e-06, 5.189770511127197e-06, 0.00011150316383227318, 0.0016633701295522426, 0.0002651449024276579, 3.747577571269784e-07, 0.05313888899499784, 3.99068309983818e-07, 1.825177605596641e-08, 0.08111193263994942, 5.108737659304501e-07, 1.581719607574455e-06, 0.20262476509527869, 0.1526290970370393, 0.019382243486373813, 0.005595489544030643, 0.1102087552988773]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py new file mode 100644 index 000000000000..cfa27e023593 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py @@ -0,0 +1,71 @@ +# !/usr/bin/env python +# +# @license Apache-2.0 +# +# Copyright (c) 2024 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. + +""" +This script generates fixture data for the Planck distribution's mean. + +It writes the generated data to JSON files for different lambda values. +""" + +import os +import json +import numpy as np +from scipy.stats import planck + + +def gen(lam, name): + """ + Generate fixture data and write to file. + + Parameters + ---------- + lam : ndarray + Shape parameter. + name : str + Output filename. + Examples + -------- + >>> lam = np.random.rand(1000) * 20 + >>> gen(x, lam, "data.json") + """ + # Compute mean values: + z = np.array([planck.mean(lami) for lami in lam]) + + # Store data to be written to file as a dictionary: + data = { + "lambda": lam.tolist(), + "expected": z.tolist() + } + + # Based on the script directory, create an output filepath: + filepath = os.path.join(dir_path, name) + + # Write the data to the output filepath as JSON: + with open(filepath, "w", encoding='utf-8') as outfile: + json.dump(data, outfile) + + # Include trailing newline + with open(filepath, "a", encoding='utf-8') as outfile: + outfile.write("\n") + + +# Get the directory in which this file resides: +dir_path = os.path.dirname(os.path.abspath(__file__)) + +lam_ = np.random.rand(1000) * 20.0 +gen(lam_, "data.json") diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js new file mode 100644 index 000000000000..7dc62002c905 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js @@ -0,0 +1,77 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var abs = require( '@stdlib/math/base/special/abs' ); +var EPS = require( '@stdlib/constants/float64/eps' ); +var mean = require( './../lib' ); + + +// FIXTURES // + +var data = require( './fixtures/python/data.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof mean, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN` for `lambda`, the function returns `NaN`', function test( t ) { + var v = mean( NaN ); + t.equal( isnan( v ), true, 'returns NaN' ); + t.end(); +}); + +tape( 'if provided a success probability `lambda` which is negative, the function returns `NaN`', function test( t ) { + var v; + v = mean( -1.0 ); + t.equal( isnan( v ), true, 'returns NaN' ); + t.end(); +}); + +tape( 'the function returns the mean of a planck distribution', function test( t ) { + var expected; + var lambda; + var delta; + var tol; + var i; + var y; + + expected = data.expected; + lambda = data.lambda; + for ( i = 0; i < expected.length; i++ ) { + y = mean( lambda[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'lambda: '+lambda[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = abs( y - expected[ i ] ); + tol = 1.0 * EPS * abs( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. lambda: '+lambda[i]+'. y: '+y+'. E: '+expected[ i ]+'. Δ: '+delta+'. tol: '+tol+'.' ); + } + } + t.end(); +}); From 2b456876e683f5fe9c27fc940915787eb23fd142 Mon Sep 17 00:00:00 2001 From: Jaysukh-409 Date: Wed, 18 Dec 2024 19:52:32 +0530 Subject: [PATCH 2/4] fix: apply code review suggestion --- .../@stdlib/stats/base/dists/planck/mean/README.md | 4 ++-- .../stats/base/dists/planck/mean/benchmark/benchmark.js | 3 +-- .../@stdlib/stats/base/dists/planck/mean/docs/repl.txt | 2 +- .../stats/base/dists/planck/mean/docs/types/index.d.ts | 2 +- .../@stdlib/stats/base/dists/planck/mean/lib/main.js | 2 +- .../@stdlib/stats/base/dists/planck/mean/test/test.js | 8 ++++---- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md index 8b466bef716e..dde895417d40 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md @@ -26,7 +26,7 @@ limitations under the License.
-The [expected value][expected-value] for a geometric random variable is +The [expected value][expected-value] for a Planck random variable is @@ -54,7 +54,7 @@ var mean = require( '@stdlib/stats/base/dists/planck/mean' ); #### mean( lambda ) -Returns the [expected value][expected-value] of a planck distribution with shape parameter `lambda`. +Returns the [expected value][expected-value] of a Planck distribution with shape parameter `lambda`. ```javascript var v = mean( 0.1 ); diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js index d2c1f9264bf5..ee39df718945 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js @@ -23,7 +23,6 @@ var bench = require( '@stdlib/bench' ); var randu = require( '@stdlib/random/base/randu' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); -var EPS = require( '@stdlib/constants/float64/eps' ); var pkg = require( './../package.json' ).name; var mean = require( './../lib' ); @@ -37,7 +36,7 @@ bench( pkg, function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { - lambda = ( randu()*20.0 ) + EPS; + lambda = ( randu()*20.0 ); y = mean( lambda ); if ( isnan( y ) ) { b.fail( 'should not return NaN' ); diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt index 9f0ee5452da0..b3dbe20181bb 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt @@ -1,6 +1,6 @@ {{alias}}( lambda ) - Returns the expected value of a planck distribution with shape + Returns the expected value of a Planck distribution with shape parameter `lambda`. If `lambda < 0`, the function returns `NaN`. diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts index 8aa1f36134ca..fe5c77ad1223 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts @@ -19,7 +19,7 @@ // TypeScript Version: 4.1 /** -* Returns the expected value of a planck distribution. +* Returns the expected value of a Planck distribution. * * ## Notes * diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js index ffe8a35f7b31..ee1e668470df 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js @@ -27,7 +27,7 @@ var expm1 = require( '@stdlib/math/base/special/expm1' ); // MAIN // /** -* Returns the expected value of a geometric distribution. +* Returns the expected value of a Planck distribution. * * @param {number} lambda - shape parameter * @returns {NonNegativeNumber} expected value diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js index 7dc62002c905..771a50342ab1 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js @@ -64,13 +64,13 @@ tape( 'the function returns the mean of a planck distribution', function test( t expected = data.expected; lambda = data.lambda; for ( i = 0; i < expected.length; i++ ) { - y = mean( lambda[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'lambda: '+lambda[i]+', y: '+y+', expected: '+expected[i] ); + y = mean( lambda[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'lambda: '+lambda[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { delta = abs( y - expected[ i ] ); tol = 1.0 * EPS * abs( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. lambda: '+lambda[i]+'. y: '+y+'. E: '+expected[ i ]+'. Δ: '+delta+'. tol: '+tol+'.' ); + t.ok( delta <= tol, 'within tolerance. lambda: '+lambda[ i ]+'. y: '+y+'. E: '+expected[ i ]+'. Δ: '+delta+'. tol: '+tol+'.' ); } } t.end(); From 27d16839e812838cb7e09624b1d9127252e2713c Mon Sep 17 00:00:00 2001 From: Jaysukh-409 Date: Thu, 19 Dec 2024 10:57:03 +0530 Subject: [PATCH 3/4] fix: apply code review suggestion --- .../stats/base/dists/planck/mean/README.md | 9 ++-- .../dists/planck/mean/benchmark/benchmark.js | 7 +-- .../base/dists/planck/mean/examples/index.js | 9 ++-- .../stats/base/dists/planck/mean/lib/main.js | 4 +- .../planck/mean/test/fixtures/python/REQUIRE | 3 -- .../mean/test/fixtures/python/data.json | 2 +- .../mean/test/fixtures/python/runner.py | 50 +++++++++++-------- 7 files changed, 45 insertions(+), 39 deletions(-) delete mode 100644 lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md index dde895417d40..20140ee8cd34 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md @@ -95,17 +95,18 @@ v = mean( -1.5 ); ```javascript -var randu = require( '@stdlib/random/base/randu' ); +var uniform = require( '@stdlib/random/array/uniform' ); var mean = require( '@stdlib/stats/base/dists/planck/mean' ); var lambda; var v; var i; +lambda = uniform( 10, 0.0, 10.0 ); + for ( i = 0; i < 10; i++ ) { - lambda = randu(); - v = mean( lambda ); - console.log( 'lambda: %d, E(X;lambda): %d', lambda.toFixed( 4 ), v.toFixed( 4 ) ); + v = mean( lambda[ i ] ); + console.log( 'lambda: %d, E(X;lambda): %d', lambda[ i ].toFixed( 4 ), v.toFixed( 4 ) ); } ``` diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js index ee39df718945..33059a283a7b 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var randu = require( '@stdlib/random/base/randu' ); +var uniform = require( '@stdlib/random/array/uniform' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var pkg = require( './../package.json' ).name; var mean = require( './../lib' ); @@ -34,10 +34,11 @@ bench( pkg, function benchmark( b ) { var y; var i; + lambda = uniform( 100, 0.0, 10.0 ); + b.tic(); for ( i = 0; i < b.iterations; i++ ) { - lambda = ( randu()*20.0 ); - y = mean( lambda ); + y = mean( lambda[ i % lambda.length ] ); if ( isnan( y ) ) { b.fail( 'should not return NaN' ); } diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js index b659da40306a..68676607538e 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js @@ -18,15 +18,16 @@ 'use strict'; -var randu = require( '@stdlib/random/base/randu' ); +var uniform = require( '@stdlib/random/array/uniform' ); var mean = require( './../lib' ); var lambda; var v; var i; +lambda = uniform( 10, 0.0, 10.0 ); + for ( i = 0; i < 10; i++ ) { - lambda = randu(); - v = mean( lambda ); - console.log( 'lambda: %d, E(X;lambda): %d', lambda.toFixed( 4 ), v.toFixed( 4 ) ); + v = mean( lambda[ i ] ); + console.log( 'lambda: %d, E(X;lambda): %d', lambda[ i ].toFixed( 4 ), v.toFixed( 4 ) ); } diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js index ee1e668470df..3070b5da07e7 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js @@ -29,7 +29,7 @@ var expm1 = require( '@stdlib/math/base/special/expm1' ); /** * Returns the expected value of a Planck distribution. * -* @param {number} lambda - shape parameter +* @param {NonNegativeNumber} lambda - shape parameter * @returns {NonNegativeNumber} expected value * * @example @@ -56,7 +56,7 @@ function mean( lambda ) { if ( isnan( lambda ) || lambda < 0.0 ) { return NaN; } - return 1 / expm1(lambda); + return 1 / expm1( lambda ); } diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE deleted file mode 100644 index 28a74a9652e6..000000000000 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/REQUIRE +++ /dev/null @@ -1,3 +0,0 @@ -numpy 2.2.0 -scipy 1.14.1 -python 3.10.12 diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json index 57741b85844c..1d310ab9b8fa 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/data.json @@ -1 +1 @@ -{"lambda": [8.028981526883365, 10.482766697990893, 1.586688222880217, 5.195723555370789, 7.2102065523606935, 19.933714426047118, 2.313581434181975, 0.11692719729442969, 13.521984127175905, 12.435905479477405, 13.384199814701516, 19.972874085729867, 16.803817656088206, 10.789441466152446, 0.2856426175202631, 14.429778888133978, 6.491721880864231, 6.014869706283323, 19.794174098018143, 1.5585325859998322, 12.53105928389433, 2.6009947602450323, 2.0731672213676378, 0.5419733308751429, 9.299866994334982, 14.638274022917024, 16.79380335611161, 16.583536854944075, 16.470087784882995, 7.030253414781377, 18.073095295600027, 2.8157307054192904, 14.6513657211353, 10.58462416768964, 14.97698388889229, 14.197310012893603, 7.189909801731906, 7.787523403127117, 4.092937002333626, 3.834181105702106, 13.799917504340655, 17.838296107136642, 10.240035403059009, 5.22704360298599, 8.99712119845983, 15.370642380648853, 9.23879005874241, 18.73800815445506, 16.40393382697072, 19.24311097581667, 4.065209377267481, 5.012118845135118, 6.583340902619392, 12.795398324464077, 13.623141234777634, 12.335401992394834, 18.388415202756082, 1.3425748111302216, 16.78561110239516, 14.591213677693487, 17.109473308015886, 8.878219264590264, 13.907142196729605, 5.435403603784621, 14.742053665507965, 11.410134096077226, 0.4726375730375998, 9.780563781520366, 14.410397939510151, 7.252962489615968, 0.48171322701952013, 11.31641622240861, 12.938092532138484, 11.948272720052856, 11.520121666840094, 12.545437245707813, 15.10938342874284, 7.708509505965148, 14.270489244075302, 6.222949105412637, 13.74910407814615, 4.065154478459016, 14.52153608960309, 12.190391643535607, 8.767669417268804, 4.74798949354769, 6.987097164217326, 3.4064340481899547, 9.741588158152453, 19.429019635264137, 17.972013253115296, 19.77424158815123, 4.873158098703314, 9.268074816028113, 4.323022860630756, 11.630840219152079, 10.393240352426794, 11.230557182647463, 4.394562695078401, 18.746188640819156, 11.883113553440941, 13.755434938407156, 10.56471191939407, 9.09145546280439, 10.501925991714316, 14.779807857774635, 5.267898684869485, 17.11102893019, 12.311143519408068, 2.311893848638451, 2.7948169102421483, 11.9455163296875, 15.724252444498664, 3.485264857149395, 8.663380964392896, 2.467322925469646, 9.742478207687933, 18.212753396547065, 5.924743916012094, 1.9815438644847672, 19.04683254139035, 16.3879269295567, 10.757169506508898, 7.107927894095707, 10.971900836135088, 10.153025162945497, 8.512099680850746, 16.456208301516238, 7.138202426945817, 15.9235397870962, 5.2101078569655135, 7.163202046566988, 6.571494660528394, 9.51604322516652, 19.189153303559536, 8.109375939829004, 18.20170817368321, 3.9098785928432522, 11.59812529138668, 15.895336203754958, 16.941192453991942, 17.001616381064483, 5.689070727462138, 11.144713715006098, 12.149892442345497, 1.2307243345799268, 6.026008270550609, 18.02270476225224, 3.813486175699814, 3.1214572781622607, 6.095319914254613, 17.270329298471378, 1.8430159473712937, 17.93091170048297, 3.3863272175492787, 9.158625396540799, 15.455960026200064, 4.434486973441391, 13.942256379046793, 5.661689637613367, 7.340835270866655, 10.243928568034828, 8.650545663569297, 14.854628325248589, 10.02639333281731, 0.07914080656005407, 3.7483613569557206, 4.10141501380926, 13.153463189472742, 6.115980948783893, 2.0314379342317546, 12.504393940170829, 2.5389736846093514, 8.458419217731894, 15.014495328579171, 5.350272090605439, 2.3545545697413073, 8.193163883777503, 8.624977804653572, 1.3193763242392964, 15.456808436542325, 15.714294001415613, 7.840538133838713, 2.874264016693293, 1.80910505483312, 11.157685815657793, 1.7871954119006328, 7.622350763021242, 18.027201001159046, 13.624437193361992, 7.911884702613601, 3.6012073906486863, 3.6118402879639633, 9.262018728151586, 11.664851590131633, 11.885262967066621, 2.1998845674485357, 13.826580947966168, 17.921201375096942, 18.525076271625615, 12.501443584621859, 18.470542322603723, 0.7834272174447654, 4.898467459018121, 17.750896792366305, 3.5122244910054357, 15.497281236491071, 11.812352662690365, 16.84795628618504, 0.5439953778477591, 14.944396258769391, 6.998385871108472, 8.002664813090236, 10.140006333164848, 12.947487483398707, 16.702097609969385, 3.951140401940463, 0.49074590889385705, 17.22057444012622, 3.069804892653123, 17.89207634348598, 15.251708128570263, 15.701570581740045, 13.37726131960984, 17.972092066453808, 6.730688352407945, 14.212384595186524, 7.755323238398171, 12.120389333123317, 11.545755666507713, 2.8445195584908833, 4.393952927409314, 12.11021326586427, 19.28396214617854, 17.791287096748427, 16.8753813109515, 3.214442398332764, 0.22859103553880322, 19.923104367733504, 17.014108047024845, 15.0397386323486, 7.066758370030007, 7.90644224428241, 1.4703988790820488, 6.126112178956031, 19.38456027028041, 10.403262470948329, 11.226733961614197, 1.9872545235210315, 18.30958339800218, 6.179604546342324, 12.583833033984869, 7.620059805793494, 1.2745434425934032, 19.41273264234354, 19.230949161698728, 13.128424057197293, 11.382255521114459, 18.196422600601053, 17.666836770634205, 6.216340531481153, 8.132426462953504, 0.13149387492885412, 18.83649562771349, 16.0817254296902, 9.71060516978615, 0.6207289894516888, 13.700559481806282, 18.94534025660122, 9.67233526312997, 6.687340680465521, 10.097698882060406, 1.2902567403061749, 13.984495115185734, 6.449599493980838, 0.9374824596345555, 10.150228296648045, 16.12166787565924, 3.9833671716012686, 1.2256438018458038, 3.5134640882717183, 13.018117918557524, 13.178545896017122, 13.829655668652885, 11.20102607321613, 12.564686962693223, 1.6680624376498088, 15.418724072529935, 19.695568108181842, 0.2364883109459015, 16.123125866035792, 1.305454447398895, 11.000382774186285, 15.416808173769711, 18.107138857812444, 15.487439179093931, 12.788965794190219, 10.558677496436209, 11.849645063926193, 1.291590169802892, 19.497593349287957, 9.416127736437094, 9.843949947860203, 10.926992569355157, 17.473947116751376, 7.2731882093356575, 19.4648162371827, 16.443841611333415, 0.4745554073038494, 6.406506570026411, 19.97558796651035, 6.309994333135891, 0.9213647322287111, 16.90327184263498, 9.0394076059869, 5.802883394657863, 0.4475061846457429, 0.500436971992968, 0.38102756384634784, 9.29366587236559, 14.517694710094727, 5.225630623484003, 9.708101027966006, 12.932300256211992, 6.442732027520222, 17.412115919421126, 1.5369006551423459, 6.141744337266988, 9.015893609936999, 1.3202751175488858, 7.059696000074127, 16.06146138986683, 7.552194130531646, 9.07480742741965, 0.673321711523629, 17.344726414025658, 3.0130448846347346, 19.539281414276854, 5.997557345033895, 2.5565490102712096, 15.016956907418795, 18.695010551600923, 18.15623012892712, 1.993010510869313, 8.829410359359052, 17.747249551402117, 14.522663487304852, 4.283473551493642, 2.871738118096596, 14.58317067935367, 2.826125804617736, 10.487876113203074, 11.295929851060807, 5.36434965503652, 0.088311973933759, 3.884068600270836, 9.024828607177033, 10.419415460918506, 2.896391368022746, 19.82467621390459, 16.155316922690567, 5.799044761022342, 4.337401093740139, 8.128337463731977, 8.04381399263165, 8.18800232247995, 0.21929580607525034, 4.5111186524448055, 0.48926393675367663, 17.582216495544614, 17.57782046114204, 2.1842329143436268, 15.57435611518585, 8.040588182364193, 18.815722696697332, 4.830826932880317, 2.223453085045497, 10.866594960420535, 18.112097826713416, 12.749841754711554, 9.03821297492535, 16.743277707550384, 11.202443522916344, 6.838962650994295, 10.474705714919676, 13.980115667221185, 13.77125780595317, 6.164596277456969, 18.382393768128082, 11.410987247941073, 0.9805798860462045, 17.430770466834346, 1.326224889136971, 15.842125900293409, 17.055219849440423, 1.9881425373463113, 11.999282337155112, 1.308370929779581, 3.370327742605963, 8.810686327208643, 8.890488790749309, 8.540566067112906, 3.8423162599871508, 17.028832280028894, 10.599677930635803, 7.353705802066697, 3.982213747604082, 2.547338975864577, 8.180352295554066, 9.233183950439487, 8.578864753047053, 0.6150635838564211, 0.8985663490372198, 15.126509146977847, 0.5091417406158216, 16.238855478378543, 3.323033157838753, 9.465622553766389, 17.0228934185976, 7.7275667463304405, 15.73111000398982, 14.143917511425894, 3.5385674860463356, 12.47043097666942, 2.983476018254172, 14.64496471272809, 16.138503696315038, 14.66115888046178, 5.440394564084505, 4.384471147596165, 0.05168754288913169, 3.0902151125237487, 2.612380500936875, 11.766153984431977, 14.448352712495065, 10.16440581629029, 2.607480503502493, 16.168048588408574, 1.8575161894590697, 2.3157865655338195, 7.761762896880155, 12.034837452286432, 3.7884295991032113, 0.9193471595569225, 12.94049416945313, 8.554390304771438, 3.3765754763702827, 8.475530389213638, 8.678454115828684, 5.788702002419224, 19.745403934144676, 8.026010664942273, 0.48784567314733795, 9.377930001035944, 11.824186055370538, 4.480938562749559, 17.416979586356838, 11.972000227876027, 12.94672054690839, 2.1156715519276914, 10.942833993670542, 17.53645541088674, 8.605413940910825, 5.916580801965859, 11.363127500969233, 9.685107992133947, 17.821861402704574, 14.35961190142037, 8.112130752962488, 9.15000867590728, 6.664348494748253, 16.86526802281716, 7.938947490560877, 3.4067302584987846, 0.4790382741868626, 16.85042552384831, 10.437348664325498, 0.060792860175622465, 14.112536318923492, 13.430926194607489, 11.53774876344821, 3.9207429301950736, 3.230237871266315, 5.3614788165843486, 13.323301125015831, 8.47980927336068, 11.859648739828916, 14.745828082140742, 7.5052898838454984, 12.59575387351585, 8.694567066075853, 16.58333797933954, 1.0466252077376481, 15.316253243729774, 6.298200826084564, 2.7052389199457405, 0.5243573143982783, 14.440041330012656, 13.883076122734167, 7.497749954707276, 7.09503285560924, 8.357526389441656, 3.4027984218057017, 2.4777452466978978, 9.688167153381839, 7.22078437099118, 10.549527987020568, 2.0905029881790793, 16.859286628645947, 19.225327444232807, 4.1587246678144085, 6.2974371588862255, 14.834500462750489, 13.66708690063228, 7.015416230415886, 0.877741342446734, 18.110108298955254, 1.2741968934264092, 7.85384000937902, 19.982031852900548, 18.49996794550006, 16.622577605056087, 4.951515300659077, 11.014547803903671, 3.0144727585101805, 8.147013240783146, 10.638473273303223, 1.6793598327985482, 12.202466594716043, 9.214958253481413, 9.27005947873839, 15.631541096231917, 1.0112771051054126, 6.191441391318088, 0.20015354345231495, 3.724082009085703, 16.32681901194704, 1.9861059551758742, 2.0427883975134065, 16.91108789246282, 4.988925867549758, 1.348068039118635, 12.768235619541564, 5.350818418805233, 1.587415706060531, 13.072267914743385, 17.73161783911861, 19.347763011381556, 4.410415033951301, 14.769790838536018, 18.667007041507755, 12.790794233614973, 18.94438200354593, 6.412383596711901, 12.763360759705627, 19.038717841706653, 13.78493098812801, 10.95339354592185, 12.84654465605215, 9.07125902495842, 10.22009946369675, 12.76624756218875, 3.808018403153146, 5.741060106175759, 17.174121262147096, 2.715939603295523, 1.6983909831031019, 14.094159185383985, 13.561033289966504, 2.8592726613776387, 13.852414614567131, 19.121644946127635, 1.8944307410608974, 9.718169531668897, 4.82311189496688, 3.0632517636178935, 19.117902697169146, 8.525038122307457, 15.783257953363016, 4.010673027910457, 12.761011936339326, 3.0207851712300093, 12.567549025870788, 4.98634386547147, 0.5395120603061865, 19.968736677914293, 8.974080597496013, 19.09138782776035, 16.276138298248778, 8.410644489494448, 9.673638995924211, 15.115712414547808, 2.6109256664334435, 10.158478372952448, 15.103661464657325, 18.621000087010167, 3.4626439552808352, 16.88526723947542, 17.567233011051428, 18.06865823980589, 10.129730457621795, 13.503248571069058, 13.205750651627888, 17.810653196669715, 2.225286313530508, 10.389183177927245, 5.129200238477923, 2.155526583980516, 14.474718612938556, 4.44683455499664, 11.621805866357546, 0.44848417539419705, 10.422175266762778, 7.692194159422858, 15.082643981691783, 13.21305950381904, 10.983459240430676, 13.076674979262538, 15.97626238345526, 1.4858924133658213, 8.05037270248442, 4.9023558474609015, 7.844459315762913, 7.772254412418286, 15.27201452657849, 19.623570682726218, 9.182828778633942, 16.98963418328262, 19.777047052876433, 9.801559941478565, 8.638740428852728, 13.634628511579798, 14.335669225339096, 11.810461311708064, 14.809995131680306, 8.327894362199125, 7.835121879742715, 0.026740507659102075, 2.030552777332937, 12.916984162450031, 11.48252297003789, 12.412426692561807, 10.904390620846549, 9.918828950924844, 9.55005075712008, 13.31415675313724, 6.497832580022118, 19.55338452809309, 8.496278076228181, 10.32729840635261, 13.799346566546077, 13.692763748763229, 2.224295237953302, 12.051706342233022, 5.699150327652451, 18.005088403861546, 2.6113591093731037, 3.1018600342480807, 18.615606294668783, 15.288965007718481, 19.242049155892808, 2.314636144364557, 1.9199215321275176, 6.127178698785549, 10.961403574756963, 11.86544678302168, 3.3995772827672432, 2.3323377055623107, 1.8060332860207606, 14.939258685974796, 8.889444198415873, 4.888538248814982, 17.452048320492096, 1.3439639953905602, 1.003702429409974, 18.632575827961475, 12.249447447262716, 4.353818514804553, 5.7734907243698075, 9.340525014959898, 4.316352516295372, 6.172513725786343, 11.046093537948781, 9.922270301983929, 16.63905937328515, 1.3299044346033684, 13.95651399908618, 6.9630212513480565, 12.30578185440806, 13.275817514165913, 5.8029368048656575, 10.246837153248325, 15.905116566882295, 5.610913618804578, 2.5627291042827682, 8.799964692054704, 18.71460407379567, 11.031911786824626, 2.130681732128865, 8.138962957439793, 5.834397657572092, 6.747523102991675, 5.72131030641664, 3.5640391043979625, 2.172489279283616, 0.9511751060507256, 9.844440217693757, 0.2915788505327832, 3.2823875820494997, 3.8198267699791777, 19.274303732606086, 8.4915591410103, 11.533619143504502, 9.23719635309622, 6.3857309776794136, 11.593764139077889, 13.958780946607794, 17.86408499043597, 3.2116909407340266, 4.177690489507722, 7.234313902149275, 15.662420159196115, 5.594617001512143, 16.541268328252567, 11.016238230899146, 16.954966780932722, 18.362345942809164, 15.139102090230436, 7.435680561169383, 18.922297723259536, 11.099605339373745, 0.3494768630745382, 7.9959766558529255, 14.570661066142673, 5.909851709495115, 17.934138729102752, 1.367801264119084, 2.746360201687039, 9.22701387634778, 16.148662075557013, 11.298209712328475, 9.262859034558794, 6.43569561115166, 6.1135851732143, 11.939319803632928, 3.1823453960128423, 12.152960442244172, 10.603485312824201, 4.382669103388497, 12.796105969370162, 11.396899498158819, 13.547408879775656, 0.6116335008212204, 4.312229179709764, 15.996739026488028, 8.629749462611722, 9.154371338884692, 11.028301457088919, 2.328556226964771, 13.016936888037272, 11.97953027375016, 12.066282950228535, 13.906174005433778, 16.502917097423847, 8.625236926192816, 9.463340913145306, 3.2477184588896812, 11.35807685833905, 7.311908496585017, 7.4758918872123825, 4.082069471243887, 7.339592996434603, 1.8194831411936452, 4.669265941767673, 11.168330455781636, 1.71115692024979, 11.466129850379797, 15.772130344877041, 15.118528810943925, 9.671197483099224, 5.46195852853274, 5.2545878097583305, 17.4740720238526, 2.6252220611194965, 7.212427265596206, 13.25602057358855, 9.752078725895199, 18.242710944409176, 19.439511316694027, 10.608767569276786, 13.78433955365324, 11.43538729587647, 2.3130637529650877, 15.683917354497527, 14.99340383049558, 10.901772966732182, 3.240108539965123, 0.5177773190428581, 8.946305656735936, 17.930098324239875, 2.030702435212448, 6.114664855876293, 1.2553098312201927, 16.548653790326917, 19.59710781820069, 10.54045628788642, 4.469340126785317, 18.69411140597557, 17.6893160759369, 14.9064966624636, 6.689193486212153, 2.568351393259607, 8.882913114797935, 9.59524339551521, 4.760999871888956, 0.8254389560110997, 3.6297631772042416, 3.4063189394089433, 0.5621275791155855, 9.076928143525434, 1.5222267125943034, 11.273035767960947, 5.736167784025026, 5.22119299043138, 10.609880042411739, 8.655467568389781, 10.29294367759907, 14.805304377420237, 10.704904103323003, 10.742280767467342, 18.787558953905894, 10.344610709117593, 14.042337109015659, 16.278624661236925, 10.198298565419153, 5.955562989889806, 13.233944327411539, 1.9261916289516146, 13.340604911243926, 4.561857630850399, 16.404862678070785, 14.716122027855523, 15.560545489994603, 12.103935782025644, 18.97479305201622, 8.708674870278792, 19.436714484718742, 6.395377330885341, 2.431899758327045, 17.123748625945755, 5.560675328139744, 8.11169557592103, 13.186654984344642, 9.002605093821096, 8.071371411448565, 1.7564152586104709, 0.859798911995493, 16.992439197756013, 9.63182834197502, 7.912507415274323, 14.410966054799442, 6.579930212522662, 8.425129137545929, 13.716741789411454, 14.503547218988945, 1.917736073796883, 13.755264639518384, 12.172592441295503, 7.177576861371071, 18.73735565110181, 13.564305986933613, 4.78034511158155, 0.332662758589215, 7.1862899772824385, 19.625681791413168, 9.133301718958048, 2.7236446088333843, 8.794827917773464, 16.32997846379025, 3.9222011227058773, 14.206399738924729, 3.4496990401881233, 8.753998172454793, 13.198381285782235, 19.764106809333633, 12.46153995347397, 12.931658606358642, 19.212083299092438, 8.86937052992209, 13.770703582147853, 12.736087984230362, 6.948687743676707, 18.643940398482528, 0.04805477353740928, 10.659556661746674, 16.67575503097625, 13.184030336758457, 14.774172980695123, 13.717653008556477, 1.6200189366678486, 5.398524642327914, 13.731063622728941, 3.823037456076075, 0.29676336592175057, 3.2879397185470904, 18.320225316854582, 12.567129300021696, 3.421857872660383, 7.687832232524725, 3.062902832214931, 7.604378100629246, 1.8842284842179247, 12.164231154785694, 19.164574129949223, 9.292766934248643, 3.733876673091583, 0.6866936512522681, 14.565962907834557, 8.437157382842832, 9.237948974114884, 0.28828384176015076, 16.131452535486215, 12.911791998543723, 9.968115769520745, 18.527218621108815, 18.40601591216897, 8.756460041216823, 19.20445941230501, 14.434903145543856, 12.335037001382803, 15.401320793879263, 3.0555936060184052, 3.847020645903567, 18.22089892577341, 13.265433855794885, 6.215817711606819, 1.9235915555910466, 7.972463984548126, 2.572946453896725, 12.166454746223641, 7.939393426350794, 6.924967732959944, 8.447955523037097, 7.48204736613407, 5.691425151591156, 14.14729921610564, 15.854623558585208, 11.150643587899026, 8.69060990828395, 14.787173854648913, 9.387167969765724, 13.231006416131805, 11.257028900400726, 17.044672182434955, 0.9254978571983719, 8.357520954297485, 2.125821287370424, 3.3876250106687356, 15.388666185281908, 6.351757880304374, 9.606264254056569, 10.261370554315246, 8.27229793043995, 14.299425747539715, 2.44464936103868, 17.264676507144863, 8.26025082936976, 16.089476408645144, 19.958702315134452, 12.397384107592046, 12.447310887393698, 13.776110436537827, 12.34513077215711, 18.58243452099381, 18.537363955846, 3.997889162782413, 11.128978849417656, 12.519706261757179, 7.8538675196937895, 12.075245814389643, 7.25962435411907, 14.043495308765355, 10.035208716482856, 11.533825929502433, 12.168826269030355, 9.101569089237147, 6.4005715244178285, 8.235499189563507, 14.796986375464032, 2.9866213688359977, 14.734133630811371, 17.819003461769643, 2.5899152725439523, 14.487143821538327, 13.356999525252938, 1.7809059306072772, 2.0217900074961914, 3.962594716427923, 5.1913743372926735, 2.3099270017246565], "expected": [0.00032598617227450505, 2.801589073580104e-05, 0.25723236663507854, 0.005571071101197159, 0.0007395510281092237, 2.2024082331491724e-09, 0.10976261359801424, 8.06207190819388, 1.3411504252392961e-06, 3.973347950688673e-06, 1.539276163976042e-06, 2.1178295208979784e-09, 5.037264305745144e-08, 2.0616458395828905e-05, 3.024649400328073, 5.410369034110606e-07, 0.0015182380499226904, 0.0024481453213736665, 2.5322082330982146e-09, 0.26653565868249085, 3.6126980908101296e-06, 0.08014658560407957, 0.14388566685238485, 1.390054111783674, 9.144475360594406e-05, 4.3921641015829186e-07, 5.087962413467683e-08, 6.278580700259116e-08, 7.03285703513587e-08, 0.000885490954751298, 1.4156452900430534e-08, 0.06367245652842311, 4.335037944829493e-07, 2.5302714758115995e-05, 3.1302475005709066e-07, 6.826324039360706e-07, 0.0007547263233401333, 0.00041505129708442476, 0.016973431506935307, 0.022096745234875773, 1.0157162913249314e-06, 1.7903025979843772e-08, 3.571286068276382e-05, 0.005398361700655862, 0.00012378090810801203, 2.111615895136659e-07, 9.720456730189752e-05, 7.280923363216312e-09, 7.513842545541465e-08, 4.39362604943221e-09, 0.017458981692522208, 0.006701393385173479, 0.0013851363109533418, 2.7735137191431317e-06, 1.212119566859318e-06, 4.393441931704956e-06, 1.032791728310973e-08, 0.35349560420441634, 5.129815496058846e-08, 4.6038017688510427e-07, 3.710651519932353e-08, 0.0001394115981343364, 9.12442028163192e-07, 0.00437856340377717, 3.9592015706739185e-07, 1.1082724499512855e-05, 1.6550266845040906, 5.6543107845400325e-05, 5.516249897791536e-07, 0.0007085753413880966, 1.6159122692453307, 1.2171613850164372e-05, 2.40468863748088e-06, 6.4704412678755905e-06, 9.928394859973671e-06, 3.5611263076366786e-06, 2.7420683185547444e-07, 0.0004491918786079302, 6.344618931875244e-07, 0.0019873290086313768, 1.0686621600665823e-06, 0.017459956931555852, 4.936023536653308e-07, 5.079048766991249e-06, 0.0001557102391644717, 0.008744917615966852, 0.0009245781178909477, 0.03429647900396504, 5.87905535823649e-05, 3.6482449098367377e-09, 1.566223811377411e-08, 2.5831878871877463e-09, 0.0077081310752128715, 9.439896758088102e-05, 0.01343792393695159, 8.88779712689381e-06, 3.0639831481296246e-05, 1.326284660849945e-05, 0.012498563087851728, 7.221604826536682e-09, 6.906091930684566e-06, 1.0619179728593608e-06, 2.5811611526516238e-05, 0.00011263671469075133, 2.7484220777776066e-05, 3.8125115614285e-07, 0.005181136088339585, 3.704883635421373e-08, 4.501323838610826e-06, 0.10996839084536689, 0.06510572141478843, 6.488301048521111e-06, 1.482668277505258e-07, 0.031614486839827934, 0.00017282895527709848, 0.09267119487015336, 5.873824728494202e-05, 1.2311237371234673e-08, 0.0026796533320200757, 0.15989936740030175, 5.346452735480479e-09, 7.635083619557433e-08, 2.1292658541439366e-05, 0.0008192600776209277, 1.7177955411003446e-05, 3.8959566574441264e-05, 0.00020106171859677886, 7.131150014296e-08, 0.0007948096284843877, 1.2147714903753286e-07, 0.005491071847982599, 0.0007751707920399024, 0.001401665682645452, 7.366597296624618e-05, 4.637208357215624e-09, 0.00030079692516424674, 1.2447971472641613e-08, 0.02045286979455695, 9.183371930749045e-06, 1.249520118189648e-07, 4.390698534334941e-08, 4.133251577955616e-08, 0.0033942167276789586, 1.445168901447756e-05, 5.288969389949976e-06, 0.4125908622434672, 0.0024209621523678627, 1.4888082929998409e-08, 0.022569228669805846, 0.04612672553545836, 0.002258478364691982, 3.159303137191179e-08, 0.18812704079635656, 1.6319392960279e-08, 0.03501744417342796, 0.00010531864558248512, 1.9389291160911208e-07, 0.01200352503583081, 8.809583410687188e-07, 0.0034887668532293916, 0.0006489294506427474, 3.557408998217755e-05, 0.00017506195520780108, 3.5376677398706053e-07, 4.4219304338393555e-05, 12.14230083002038, 0.024124601337915247, 0.016827727546556606, 1.9387613838740484e-06, 0.0022121924428281092, 0.15094242131780825, 3.71032816956122e-06, 0.08571430306545284, 0.00021215209990989097, 3.015002393007034e-07, 0.004769499390163967, 0.1048939763074339, 0.00027661406014711836, 0.00017959643996045093, 0.36481871802151844, 1.9372848058809584e-07, 1.4975071105750754e-07, 0.0003936121205566653, 0.05983587031052077, 0.19588710102359683, 1.4265428284061273e-05, 0.20109888260529288, 0.0004896296577196412, 1.4821292815963254e-08, 1.2105497256440916e-06, 0.00036649771473112473, 0.02805643310488789, 0.027751457346660707, 9.497244508097446e-05, 8.590591204680652e-06, 6.891263721980051e-06, 0.12462655995241788, 9.889916393741853e-07, 1.6478631456221785e-08, 9.008689164774042e-09, 3.721291162011403e-06, 9.513611131248228e-09, 0.8410701472981621, 0.007514043782643736, 1.9538151945418945e-08, 0.030747701726863995, 1.8604429425157784e-07, 7.412481790507356e-06, 4.81976179137617e-08, 1.3833618346145666, 3.2339351732682124e-07, 0.0009141900292133816, 0.00033468184720454483, 3.947011069205082e-05, 2.382202444854333e-06, 5.576621849511003e-08, 0.019609908786527117, 1.5784466684848586, 3.320469992884049e-08, 0.04869094373065908, 1.6965629619984335e-08, 2.378304312986617e-07, 1.5166822529108912e-07, 1.549993579007568e-06, 1.566100376912252e-08, 0.0011951376303540324, 6.724191721753994e-07, 0.0004286393404395566, 5.4473359473330715e-06, 9.677122246763426e-06, 0.06175394933744886, 0.012506281973779423, 5.503051712258393e-06, 4.217757948280109e-09, 1.876472465146066e-08, 4.6893757905197384e-08, 0.04185955258127292, 3.8936574262042685, 2.22590031880317e-09, 4.0819415190715086e-08, 2.9398463338725395e-07, 0.0008537219417775719, 0.0003684985380571316, 0.2984210269494872, 0.002189844529781376, 3.8141032208301e-09, 3.0334279838704866e-05, 1.3313651134288182e-05, 0.1588442067992734, 1.1175036985060644e-08, 0.0020755457422447663, 3.4269852915749563e-06, 0.000490753215330707, 0.388037893704086, 3.708150364700962e-09, 4.447386764254317e-09, 1.9879192499743732e-06, 1.1396045768649986e-05, 1.251394032441933e-08, 2.1251534139483702e-08, 0.0020005322724431117, 0.0002939406841826876, 7.11587162958874, 6.598024036719804e-09, 1.0370398171309203e-07, 6.064068436809145e-05, 1.1624072724435104, 1.121819811034006e-06, 5.917568192815282e-09, 6.300652543587653e-05, 0.0012481493941324479, 4.117588835530062e-05, 0.3796911758564237, 8.445226582686222e-07, 0.0015836593154836807, 0.6436892487735001, 3.906868805823142e-05, 9.964342473912252e-08, 0.01897621822888286, 0.41556569516707154, 0.030708440853653585, 2.2197506264681756e-06, 1.8907367211734047e-06, 9.859554334580159e-07, 1.366035913802345e-05, 3.4932309741268315e-06, 0.23245623149311767, 2.0124880243858845e-07, 2.79462444697425e-09, 3.7482278202048844, 9.94982514266742e-08, 0.3718349407139637, 1.6695587771691194e-05, 2.0163474444226964e-07, 1.3682627915289288e-08, 1.8788439354589665e-07, 2.791411983756414e-06, 2.5967844666726937e-05, 7.1411414830860026e-06, 0.3789934685790788, 3.4064561239947856e-09, 8.140724105118249e-05, 5.3070099875497573e-05, 1.7966985868657246e-05, 2.577277612751352e-08, 0.0006943780033653129, 3.5199599203594852e-09, 7.219886299707692e-08, 1.6466341410408396, 0.0016535109146019042, 2.112089776067164e-09, 0.0018213548441985735, 0.6610620778194326, 4.560393651671755e-08, 0.00011865517529743375, 0.0030279786596837236, 1.771774290881029, 1.5397836840272152, 2.156157775666662, 9.201362786013528e-05, 4.955021150877049e-07, 0.005406036131737424, 6.0792736774309636e-05, 2.418657708576436e-06, 0.001594589874707795, 2.7416634972046354e-08, 0.27396093291409296, 0.0021558054809482, 0.00012147863689377118, 0.3643715461866764, 0.0008597777849600744, 1.058268801565079e-07, 0.0005252327629350883, 0.00011452780727364334, 1.040864846720031, 2.9327905011199413e-08, 0.05168154469666824, 3.2673668828687395e-09, 0.0024910039962065308, 0.08409542794670716, 3.007589851703215e-07, 7.600813590515411e-09, 1.302715104022573e-08, 0.15778867526857465, 0.00014638594222070244, 1.9609542404921878e-08, 4.930461808047625e-07, 0.013987616749481473, 0.05999627995353529, 4.640979465678482e-07, 0.0629725388276299, 2.7873107008902386e-05, 1.2423540873609883e-05, 0.00470251332125842, 10.830851163506846, 0.02099885894527259, 0.00012039793017268308, 2.9848212187011857e-05, 0.0584498636999928, 2.4561365947616214e-09, 9.634630174769697e-08, 0.0030396596965602814, 0.013243552209233787, 0.00029514542356422804, 0.0003211851341883083, 0.0002780459096679057, 4.0783107472850055, 0.011108200104173205, 1.5844968416340646, 2.3128123962153784e-08, 2.3230019797824108e-08, 0.12684188239894706, 1.7224362413102179e-07, 0.000322223223781558, 6.736517816529005e-09, 0.008044111038809558, 0.12137130860140165, 1.908561066822217e-05, 1.3614944147602532e-08, 2.9027881496764656e-06, 0.00011879702600759822, 5.351640181574774e-08, 1.3641009718583403e-05, 0.0010723627763705094, 2.824264543999373e-05, 8.482293150735681e-07, 1.0452476022030375e-06, 0.002106997149752232, 1.0390293772025933e-08, 1.1073273180027751e-05, 0.600239457969858, 2.6909930902829113e-08, 0.36142883014834454, 1.3178081742704074e-07, 3.917528356688142e-08, 0.1586808406328882, 6.1486612146835905e-06, 0.3703510284222609, 0.035602317833608205, 0.000149153111567573, 0.00013771130058003075, 0.00019541781151444446, 0.02191379076114518, 4.022278383498424e-08, 2.492465693034616e-05, 0.0006406255855593133, 0.01899853455479173, 0.08493961886308686, 0.00028018172342669, 9.775109040463279e-05, 0.00018807369128063666, 1.1767831811706921, 0.6867757229805426, 2.6955082418318226e-07, 1.506335898140273, 8.862468647546004e-08, 0.03739103858567928, 7.747578818129138e-05, 4.0462372120850784e-08, 0.00044070883680186684, 1.47253557261118e-07, 7.200704436238523e-07, 0.029924368973888154, 3.838506734686425e-06, 0.05331521772157989, 4.362875570655793e-07, 9.797988853809658e-08, 4.2927914104865447e-07, 0.004356669641225098, 0.012626932195743113, 18.851328534622684, 0.04766033956364717, 0.07916739983064065, 7.762964903894227e-06, 5.310805239128172e-07, 3.85186777343274e-05, 0.07958722108751282, 9.512742833285396e-08, 0.1849180394030036, 0.1094943663626074, 0.0004258867462992637, 5.9338843930155326e-06, 0.023155140502955984, 0.6632827051815334, 2.3989203630888405e-06, 0.0001927343795095365, 0.03537273387519072, 0.00020855206015547555, 0.00017024297317661964, 0.003071358365099077, 2.658765468461575e-09, 0.00032695638930802743, 1.5903220317565416, 8.457723415588003e-05, 7.3252832848149125e-06, 0.01145245466183613, 2.7283613336094065e-08, 6.318719954425257e-06, 2.3840301479687513e-06, 0.13707728833408808, 1.7684600784743168e-05, 2.421108171052104e-08, 0.00018314528511021865, 0.002701676511666998, 1.161613027388485e-05, 6.220682812962472e-05, 1.8199688024803604e-08, 5.803634329798966e-07, 0.000299969177945972, 0.0001062301648465559, 0.0012772166088639966, 4.7370414231808075e-08, 0.00035670878213888395, 0.03428597327916048, 1.6272838776515777, 4.8078753347433665e-08, 2.9317693600202826e-05, 15.954365843765471, 7.430254231683592e-07, 1.4690057807757325e-06, 9.754917817507212e-06, 0.02022739528432369, 0.04117654399593228, 0.004716096633782313, 1.6359293765429286e-06, 0.0002076614115905161, 7.070059446657527e-06, 3.944286054911703e-07, 0.0005504691925126967, 3.3863751459242203e-06, 0.0001675213824005874, 6.279829481041819e-08, 0.5411186910245988, 2.2296455578989082e-07, 0.0018430019903597614, 0.07164406653607601, 1.4505940072263015, 5.355129338513985e-07, 9.346673110193103e-07, 0.0005546376885740668, 0.0008299016998630791, 0.00023467904625734814, 0.03442569544881997, 0.09162232788707343, 6.201680641154427e-05, 0.0007317637259429011, 2.620653421350075e-05, 0.14106396187629966, 4.765460444443452e-08, 4.472459125049153e-09, 0.015875570527461, 0.001844412564962824, 3.6095948970604974e-07, 1.1600055821870433e-06, 0.000898738993869674, 0.7115105919389296, 1.3642058420635279e-08, 0.38822460646041795, 0.00038840898991207665, 2.0985234662987194e-09, 9.237745853881923e-09, 6.038183364728727e-08, 0.007123062731662996, 1.6460757497308364e-05, 0.051603997243404705, 0.00028968292366734046, 2.3976190143606588e-05, 0.22924621323454308, 5.0180879832691155e-06, 9.954918550548745e-05, 9.421178562740842e-05, 1.6267021059374795e-07, 0.5717194374238223, 0.002051072566818612, 4.5128326942254935, 0.024732163041164226, 8.11619796142374e-08, 0.15905579039646753, 0.1489850334973208, 4.5248883225072135e-08, 0.006859713687353454, 0.35087961470391943, 2.84988256537839e-06, 0.004766881972076349, 0.25699722749341913, 2.1027473381422492e-06, 1.991848146843235e-08, 3.9570659523380515e-09, 0.012299576069297116, 3.8508934931289327e-07, 7.816671333461536e-09, 2.78631270509517e-06, 5.9232414384178745e-09, 0.0016438057594373124, 2.8638093010821522e-06, 5.39001409868923e-09, 1.0310529904871044e-06, 1.7498838560015152e-05, 2.6352249203934713e-06, 0.00011493496669088176, 3.643200059322607e-05, 2.8555539471941507e-06, 0.022695778472643327, 0.0032217081568100226, 3.478355124213e-08, 0.07082750351841945, 0.22395680249876831, 7.56806350056046e-07, 1.2897888951170515e-06, 0.060794593441628776, 9.63769526997557e-07, 4.961067283824949e-09, 0.17702992595952502, 6.018367933483453e-05, 0.008106916743417241, 0.04902676426736161, 4.979667614620314e-09, 0.0001984765371727871, 1.3977137099079837e-07, 0.018455633190721032, 2.870543808582228e-06, 0.05126263148586348, 3.4832473852061604e-06, 0.006877570339502612, 1.3982694150886503, 2.1266099970082188e-09, 0.00012666636960379296, 5.113468874402268e-09, 8.538134412650317e-08, 0.0002225359317644385, 6.292443012037651e-05, 2.724768604929133e-07, 0.07929179823278172, 3.874768189490778e-05, 2.7578033139283136e-07, 8.184693455373317e-09, 0.032361191821744344, 4.643245351292247e-08, 2.347727305996631e-08, 1.4219405431354724e-08, 3.9877807946842836e-05, 1.3665145219038439e-06, 1.8399929614739022e-06, 1.8404821322376363e-08, 0.12112208594559416, 3.076439897376525e-05, 0.005956564776251001, 0.13101979137492467, 5.172610820153835e-07, 0.01185447561988433, 8.968457148759404e-06, 1.7669820665941443, 2.9765948033358984e-05, 0.0004565840851775741, 2.8163788129827584e-07, 1.8265937264833917e-06, 1.6980545356293487e-05, 2.0935007656417618e-06, 1.1523846253732629e-07, 0.29249112580304676, 0.0003190847971924357, 0.007484664733885051, 0.00039207111395026325, 0.0004214400329747896, 2.3304965522580528e-07, 3.0032503652075245e-09, 0.00010279991991324205, 4.183074918370015e-08, 2.575951000834267e-09, 5.536823108682922e-05, 0.00017714121771063141, 1.1982752660882764e-06, 5.944265777815479e-07, 7.426514765797486e-06, 3.69914195681228e-07, 0.00024173882440773123, 0.0003957506537104865, 36.89867619324293, 0.1510962847609065, 2.4559873300534315e-06, 1.030879997186708e-05, 4.067741506947172e-06, 1.837770627736705e-05, 4.924120864606239e-05, 7.120271865374325e-05, 1.650957554731101e-06, 0.001508974885471099, 3.2216102496005682e-09, 0.00020426879103242247, 3.272845488648771e-05, 1.0162963683117588e-06, 1.1305994059159381e-06, 0.12125674960535045, 5.834625315177389e-06, 0.0033600618474423226, 1.5152680518781555e-08, 0.07925471393694089, 0.047082578286951136, 8.22895926558812e-09, 2.2913264195041725e-07, 4.3982937668291245e-09, 0.10963422146520406, 0.17180881090770478, 0.0021875051559369597, 1.7359229806907368e-05, 7.029185258128341e-06, 0.03454060056921182, 0.1075038037768684, 0.19660823099918603, 3.2505925085321423e-07, 0.00013785524774958608, 0.00758959300248841, 2.6343394035001022e-08, 0.35283172963948456, 0.5785815824283882, 8.090495818973936e-09, 4.7877850752359236e-06, 0.013025093427318805, 0.0031185816014241527, 8.780103951851535e-05, 0.013529075872751154, 0.0020903462407842652, 1.5949587542240608e-05, 4.907203530436065e-05, 5.9394790651676474e-08, 0.3596239971249163, 8.684870773943628e-07, 0.0009471296482818217, 4.525523355189345e-06, 1.7154831469484567e-06, 0.0030278164493726723, 3.547076637550122e-05, 1.2373589235766593e-07, 0.0036711541395808662, 0.08353403270930326, 0.00015076112275461703, 7.45333639654432e-09, 1.617739582460162e-05, 0.13475989343669356, 0.00029202504903121703, 0.002933766501315842, 0.001175162750158249, 0.0032861798975161215, 0.029149834420331595, 0.1285328372787821, 0.6294256774807258, 5.304408620370874e-05, 2.9538679042916716, 0.03900262434989244, 0.02242338038085135, 4.25869216063098e-09, 0.00020523519847063867, 9.795285609721281e-06, 9.735962137461042e-05, 0.0016882815195912745, 9.223509844008798e-06, 8.665204909769932e-07, 1.7447229427114244e-08, 0.04197972762381649, 0.015572669920817002, 0.0007219228796031582, 1.5772386836145494e-07, 0.0037316967714570186, 6.549655685697326e-08, 1.6432954837014686e-05, 4.330634236914573e-08, 1.0600698601391129e-08, 2.661776686021952e-07, 0.0005901755282947638, 6.055507083506496e-09, 1.5118517802242917e-05, 2.3904837170329847, 0.00033692851085068354, 4.6994010045592144e-07, 0.002719967262343635, 1.626681469269708e-08, 0.34168089318390915, 0.06855983521486236, 9.83561458957384e-05, 9.69896099044393e-08, 1.2395248836097312e-05, 9.489266507838325e-05, 0.0016058677224422473, 0.002217510479926499, 6.528631061443578e-06, 0.04328401181685619, 5.2727676130719875e-06, 2.4829937310513055e-05, 0.012649995101371023, 2.771551745120538e-06, 1.1230376451277742e-05, 1.3074817849686141e-06, 1.185620507439969, 0.01358573541852617, 1.1290276068775571e-07, 0.0001787413557091981, 0.00010576767899014055, 1.623590806675109e-05, 0.10795506604484809, 2.2223737742354252e-06, 6.271318097968402e-06, 5.750192646067016e-06, 9.133258751971156e-07, 6.805721902360568e-08, 0.0001795499003286879, 7.76527756477004e-05, 0.04043415728323067, 1.1674948290960456e-05, 0.000667987744037302, 0.0005669014116992168, 0.01716207972015666, 0.0006497366241533701, 0.1934733957575332, 0.009467953215169637, 1.4114381137986464e-05, 0.22048957852737028, 1.0479187913467263e-05, 1.4133537799496895e-07, 2.7171053707828133e-07, 6.307825832463671e-05, 0.0042633320257706555, 0.005250927135826824, 2.576955712571626e-08, 0.07807839704429817, 0.0007379093090299423, 1.7497829193530723e-06, 5.817699533106251e-05, 1.1947892517843799e-08, 3.6101687769243838e-09, 2.469912177921e-05, 1.0316629717643e-06, 1.0806351556874579e-05, 0.10982569248762217, 1.543694317071184e-07, 3.079268683560338e-07, 1.8425876661416926e-05, 0.040755620074624244, 1.474288720219837, 0.000130234298841852, 1.633267216679486e-08, 0.15107025784503272, 0.0022151122637590562, 0.398577019365981, 6.501461635612255e-08, 3.083785873373964e-09, 2.6445359933977675e-05, 0.011587606673053025, 7.607650902265278e-09, 2.077914380096264e-08, 3.358852253434788e-07, 0.0012458360783929045, 0.08302681369182673, 0.00013875866376185115, 6.805629405385658e-05, 0.008630904237636617, 0.7794945353859193, 0.027245071231892168, 0.03430056247752212, 1.3255546962124927, 0.00011428515593874837, 0.27914110525413244, 1.2711250928560136e-05, 0.0032375595636960734, 0.005430210004841062, 2.467165927035178e-05, 0.0001742022841722014, 3.387240774704562e-05, 3.7165344893106977e-07, 2.2435149195733148e-05, 2.161205805725012e-05, 6.928940323026467e-09, 3.216670833413426e-05, 7.970596546537342e-07, 8.516931878971161e-08, 3.7235001775777515e-05, 0.0025981172212692204, 1.7888411704457354e-06, 0.1705517697932222, 1.6078650684559271e-06, 0.010552841893564167, 7.506866544438117e-08, 4.0632129572367963e-07, 1.7463891886805998e-07, 5.537705878430316e-06, 5.745820900654544e-09, 0.00016517422869376046, 3.620279945461129e-09, 0.0016720469572365526, 0.09633464292328028, 3.6580570821398697e-08, 0.0038610282904683615, 0.000300099785236881, 1.875466538648911e-06, 0.00012310388106653774, 0.00031245221638880174, 0.20869687411827517, 0.7338450229032527, 4.171357773254717e-08, 6.561129264604628e-05, 0.0003662694794428788, 5.513116920187821e-07, 0.0013898752246876973, 0.00021933510748796685, 1.10381225262462e-06, 5.02562052825627e-07, 0.17224944962326286, 1.0620988319017895e-06, 5.170261600328995e-06, 0.0007640991085044834, 7.2856757404625925e-09, 1.2855747011365553e-06, 0.008464142320022412, 2.533718238671547, 0.00075746532387547, 2.996916864959395e-09, 0.00010802004947935167, 0.07024568662204571, 0.0001515376587047222, 8.090595688611136e-08, 0.02019732604775868, 6.764555735838007e-07, 0.032796656086906295, 0.00015785394819295239, 1.8536026537026783e-06, 2.6095010388968217e-09, 3.872787288045721e-06, 2.4202101417024275e-06, 4.5320870117016775e-09, 0.00014065086276081155, 1.045827064473537e-06, 2.9429883677172305e-06, 0.00096081623618669, 7.999071292175262e-09, 20.3135916040388, 2.347597063662709e-05, 5.725476458851401e-08, 1.8803954521295978e-06, 3.8340552446772866e-07, 1.102806894778521e-06, 0.24671949386964043, 0.004543802183602976, 1.088116286123921e-06, 0.022349894909664044, 2.8943822155533594, 0.03877830240529023, 1.1056743697158534e-08, 3.4847097061326684e-06, 0.03375383649943793, 0.00045858093677780603, 0.04904471338313822, 0.0004985135879514623, 0.17917053242820843, 5.213673099366045e-06, 4.7525994060848946e-09, 9.209638722741103e-05, 0.024485199875192598, 1.0130331783794904, 4.7215314904127887e-07, 0.0002167121258367847, 9.72863669184257e-05, 2.992793945854787, 9.867320201820477e-08, 2.468772412704458e-06, 4.687299267018996e-05, 8.98941006268499e-09, 1.0147728982892193e-08, 0.0001574657493386527, 4.5667711762219094e-09, 5.382715807210579e-07, 4.395045798250289e-06, 2.0478184624384015e-07, 0.04942228734013762, 0.021808698943537826, 1.2211363142631935e-08, 1.7333889718647718e-06, 0.002001580557971964, 0.17107175388733167, 0.00034494723426327644, 0.08261472933644506, 5.20209283984814e-06, 0.00035654969168497194, 0.0009839019455302454, 0.0002143841278869156, 0.000563420619885468, 0.0033862076733440667, 7.176394889894193e-07, 1.3014411436805894e-07, 1.4366244691756582e-05, 0.00016818571600555793, 3.7845317785626205e-07, 8.379944496464724e-05, 1.7941043641392444e-06, 1.2916358048651535e-05, 3.9590678300650953e-08, 0.6565453188546801, 0.00023468032207460377, 0.13550545198462385, 0.03497044003716879, 2.0738974707331326e-07, 0.0017467249892809296, 6.731032295030432e-05, 3.495896559142309e-05, 0.0002555627963364394, 6.163658538198108e-07, 0.09499827212140081, 3.177212590641966e-08, 0.0002586610083022883, 1.0290328136502952e-07, 2.148056594774734e-09, 4.1293936481151775e-06, 3.928287572957308e-06, 1.040187683331795e-06, 4.350906162843997e-06, 8.506506357071885e-09, 8.898670557325808e-09, 0.018697521744535067, 1.468088620166394e-05, 3.6539469888526213e-06, 0.00038839830065540376, 5.698884434512956e-06, 0.0007038672855424057, 7.961370340188939e-07, 4.3831190319765475e-05, 9.793260271387961e-06, 5.189770511127197e-06, 0.00011150316383227318, 0.0016633701295522426, 0.0002651449024276579, 3.747577571269784e-07, 0.05313888899499784, 3.99068309983818e-07, 1.825177605596641e-08, 0.08111193263994942, 5.108737659304501e-07, 1.581719607574455e-06, 0.20262476509527869, 0.1526290970370393, 0.019382243486373813, 0.005595489544030643, 0.1102087552988773]} +{"lambda": [18.842443081093755, 12.11284653061734, 14.122971678430167, 13.352882979187852, 5.405698593343051, 16.084992795350512, 9.703644142022942, 14.302952468911359, 5.921322899645666, 3.60670010991067, 19.225362793379873, 6.2808794300421855, 17.58054766662942, 6.300950901847284, 1.9600528932032146, 1.769430036857147, 19.019393097624828, 12.43654685528448, 13.164738910075133, 3.5249880466762917, 18.670992266422118, 9.278543483740691, 18.06526117470342, 19.847883338786506, 18.22503099381222, 15.55886645682197, 6.242757350564519, 11.392920683845595, 11.510554611028782, 6.258701112286844, 8.881464263693928, 18.877216662336053, 15.72978560460097, 9.910610538047642, 9.131779817759242, 11.950138340946477, 7.562378137132804, 4.273852529154826, 2.0786791281359096, 10.3710856264777, 16.517346583559537, 11.67122970648764, 13.530805597846019, 14.535298773543046, 4.8483436458767315, 1.0361664543450244, 14.779756960919952, 3.225916235220372, 3.033001916042102, 16.912357815191502, 1.8917438459832647, 4.515173709877467, 17.158827756982145, 15.21940534812373, 4.52327148180159, 19.421112867332006, 6.05148727991981, 6.48271712502813, 10.081460435868392, 11.269912416542187, 7.208468069859057, 12.905737264784733, 6.253997280537034, 8.598027213913292, 17.275905125946878, 0.5509765838783998, 19.39618921212128, 16.14926818390789, 6.611734975743957, 7.633971419503456, 11.489497237930951, 17.269578517069935, 15.410704951521645, 3.547374823231868, 12.72711810408098, 19.963630543090744, 7.137454502954319, 12.56064069226408, 19.577347909344432, 6.937380998745177, 7.851630962145453, 8.166866819564092, 1.7239890409996117, 10.634443022300694, 16.258225560609535, 0.4365622556925408, 11.974008982718502, 6.119421100846509, 5.367600789873988, 4.556870947942604, 10.388085069508078, 7.430448683420261, 10.549555740163818, 8.844173622140172, 5.618989004815466, 18.345050837615936, 14.001684859641195, 1.4537672784335753, 14.72923376420421, 8.261557613944802, 14.840441236920501, 2.144678585540649, 16.105067253388125, 9.849117594389334, 12.950141416781644, 13.387310604330256, 16.01578080011169, 16.03897988002997, 6.243376050777087, 4.942399970671003, 12.104706436732478, 17.957807146457817, 3.8103467197572027, 13.35326299942848, 3.731028050496763, 3.6442192877313873, 15.849272339466063, 6.202221352463058, 15.950364516322377, 17.365566437134895, 9.474892518756349, 14.52201454051502, 6.350181704688696, 2.7554955741957476, 8.253957611788698, 19.36592481568155, 5.55557320065017, 7.4224654736315525, 6.852279111157513, 10.976055546703291, 9.307456404231866, 12.080953945599378, 1.9417594490748202, 15.880505869075755, 3.7601857544970185, 2.167400305421705, 15.083943135994156, 14.04843946127392, 11.008690605471791, 11.465426035745121, 13.07586351295414, 19.898200851980818, 10.512768529358345, 9.235004355953205, 0.4249940043678291, 8.325819160452262, 12.545910479070306, 12.480590731014301, 18.5146474884179, 17.390768830227557, 7.462514686342683, 9.346776764478884, 4.5932334617656645, 9.812595232922172, 7.347968706562682, 13.136583281736485, 16.48913133881145, 3.2974661063640154, 5.078209298535437, 15.661837015810718, 14.623512871823266, 9.233299537172563, 9.402791527373074, 9.013622080090729, 19.982719441092243, 7.960717698170172, 19.29442155669749, 17.931887430835335, 6.101078543487248, 0.5472813797892773, 18.62258377853439, 0.9153501462147173, 12.579045352693479, 19.570426585758074, 16.00687789402654, 15.995933251509879, 0.7242914335062145, 19.2290870420042, 16.89370533284308, 4.575183189976377, 0.7639136009530278, 18.250002483375066, 2.4146968234636756, 8.053261171818818, 13.348966378475476, 4.5399325829907955, 2.1698390236012455, 9.591836460131379, 6.612818430120089, 9.926469404466598, 0.8308628241896088, 19.8660070200895, 0.3786534813340059, 15.301682423725506, 4.837190783492067, 4.505870654249168, 19.723474211351938, 4.209308282010138, 0.3617946438373121, 10.384662334447714, 14.721381028618785, 11.003593280033881, 7.695913648726755, 19.898695133464127, 5.3881143138455645, 19.631106844838623, 8.615857579537096, 5.091370209163597, 19.31914764927171, 4.3746128730045815, 14.60745704352786, 15.055919111602256, 4.379953719864604, 12.61387213472352, 1.947146872863983, 8.067342483745705, 12.110069971490836, 15.031503119746874, 6.356164993237774, 7.752249238152357, 10.215044457154892, 1.2385147191208956, 11.675431267239585, 5.4052499671734715, 16.30634115513492, 15.294608134128985, 13.516973250551818, 3.7150945665975676, 9.877639444898332, 5.931101724150047, 0.4271424728640971, 6.399723268678388, 1.5968341258010743, 16.667257125225454, 19.417146877947708, 12.586436203179785, 19.52568745125389, 12.599589317113772, 12.541813043015605, 1.9889715022513244, 10.6111345052963, 0.34450588001405436, 19.238613141410784, 8.458788936710897, 13.140541893462244, 16.216759092322878, 18.770918340745666, 13.012009646702069, 16.673792836655103, 19.767821609236695, 16.52001805266025, 8.130600264693657, 19.17766560457158, 11.69554218737866, 4.271706129542032, 0.5616897275084076, 9.666921629931593, 3.195903837748786, 15.000069446228467, 4.350554480283417, 0.8064069944488672, 2.6159783105791523, 11.272283016238024, 9.547253408740383, 10.97519651945044, 3.7850826107899183, 2.295068059932861, 6.5277587959677525, 1.8994112371270289, 18.895455878201947, 6.2267804319867555, 9.963373967909327, 9.323529345038867, 11.623879179094512, 13.905102013732535, 4.362919017254681, 16.659629024950174, 6.972763654281222, 0.34433683023139317, 11.93362070809753, 9.538689200908575, 0.8169913423928765, 16.100624998374013, 13.558467996939678, 9.011863240581118, 10.910525075838468, 0.5956137171523213, 1.2898687629322292, 17.859039280179424, 14.356695843100567, 14.633539882797422, 11.339370591741531, 9.787460333698911, 3.753879894372396, 0.9617375709052656, 12.82481304222177, 13.153292999606245, 2.479153161464782, 14.572990786526294, 10.3584799359707, 9.443603968064346, 5.598789188152525, 5.387467863829487, 8.85927931172413, 6.829754283984553, 2.532413374060143, 10.331768996910176, 3.984759756811407, 10.499030780564171, 0.2072598249617097, 15.310013322022806, 19.02588665915591, 13.437568472483662, 13.340557287770391, 12.093211575522275, 17.444735080580624, 18.151569436414267, 13.316274494939492, 0.3250223350675818, 5.0255623189821925, 8.755188186494824, 0.8364997584572342, 4.395913788704576, 7.1770465167843085, 15.68605905148301, 7.869427021983162, 0.6236437996431987, 6.616008131683239, 12.702756572448191, 12.448355055278661, 10.098235349023458, 7.131682704330928, 17.333421287392056, 11.805212142617915, 10.217772182560449, 6.430866104485318, 19.698405244775465, 11.852863243926194, 5.2179957412879645, 9.838145832031575, 10.397749298818983, 4.050295628843217, 11.90005421626886, 15.514914759073857, 9.953072500371764, 5.978521279904996, 11.87248474167686, 1.577098023321466, 11.475250143302505, 17.769309250028822, 15.14927693188929, 6.723630413161863, 13.702471766361485, 13.735331476441942, 6.017232516479316, 1.2314395920287646, 14.13255234463711, 4.663240784182834, 5.071321822553219, 19.630820309231478, 3.9996004021214926, 2.7561946674345417, 18.515631531450854, 18.51238333748057, 19.31331835111425, 8.76991447115598, 2.9968254396218863, 12.98328046112941, 1.3379752985799587, 1.665424949288452, 4.969962422866017, 18.226881550855826, 1.6673008135942968, 7.356290781205416, 4.377507060944648, 15.751570032444228, 12.059998892906744, 8.681179795212614, 11.184106996310364, 19.33209671195526, 16.997676808334784, 15.973342092000422, 7.760000962531526, 16.184820161082346, 19.01459475601139, 17.698443765160928, 18.285614613565336, 11.259933553239872, 18.727866324233066, 15.014415157625683, 11.596699111895534, 0.723921985710041, 16.700227383472146, 5.168779393585581, 13.329240112678066, 13.333782360957613, 0.17061369551973238, 5.991214352987003, 19.695695494099034, 18.06026943207395, 16.806468054834426, 2.296163102313853, 9.626383580754183, 11.581770438458099, 15.901134194940603, 19.65042526435467, 15.95731232783507, 3.0198776928359727, 17.17064075529248, 8.506457756651102, 17.42954460458986, 3.4692098821071737, 8.156470370332405, 15.680344352289522, 8.392599951222532, 10.813536660848824, 13.243337627266218, 15.849410779440692, 4.1206250116860215, 5.952836766809493, 18.648309133986814, 9.537810121651605, 8.93258102313503, 17.43945478600789, 10.76001016907381, 0.7495607295977935, 19.11306493384371, 15.905998425080494, 17.42892164378859, 10.017868041281417, 18.696115267119325, 14.354798874814527, 3.0507576219454258, 14.074314538077072, 1.3741544221960966, 16.842438379629833, 0.5978848116170465, 8.200829475476752, 7.724088575911329, 18.045559768202, 4.047203909852259, 3.799711787015354, 11.439174421186031, 11.789204734188804, 19.121372521433372, 15.716441261646043, 12.395574724032365, 6.208419120330579, 15.819567634143382, 7.636123417534839, 18.387951514631542, 16.069078032985445, 10.147179856235649, 5.802641115961507, 4.26350454822416, 19.031719341665312, 12.64165527346856, 10.76360267953963, 4.090229765738142, 12.606674162905275, 18.769950301660593, 11.086082918694549, 8.778399815832401, 5.863998525450853, 7.51693438198169, 9.08882305366464, 15.297982884271672, 19.090255976571363, 10.126345768322075, 4.596884789127003, 14.854317691775714, 12.910967816394566, 15.877903382401117, 3.902274293837378, 14.913445411778529, 13.564125234747952, 4.997662393716775, 4.996778335608074, 15.457517098031833, 7.973822766870797, 0.10643823958526033, 9.048065818670963, 3.632228333830674, 11.752675521431396, 7.230366865034565, 1.8766991908675301, 4.306235960956375, 17.273409404353657, 2.99081063877215, 13.253132225527107, 14.658348370840535, 17.16965999051113, 0.18989023720010323, 9.027691895893186, 9.977462032768035, 10.163437024925594, 0.6513901511834108, 16.10828352735505, 3.5275960946803764, 9.45421579942435, 5.209621140824496, 10.30030873482435, 17.502930811695222, 10.683070903529632, 2.46784718577177, 10.921966436865596, 18.20262550688901, 14.484781525446863, 12.616763789361421, 14.400242523154416, 18.553448160397195, 5.34102785846561, 10.762222890167855, 15.006671754680792, 4.83787196826164, 4.001209805870946, 19.081747665513838, 17.23274992827741, 2.0956507593767526, 11.096819895757704, 13.03963153841507, 1.8143596715512045, 19.695740827683608, 10.957840927350126, 15.235409774608176, 19.675059534221468, 7.364280001038923, 6.80886067666997, 14.35959841065892, 8.331348120938562, 11.458607894288761, 6.734124793777541, 8.743737505939176, 3.290713968558898, 15.229344459319607, 13.77929268184978, 18.056078101170733, 4.536007721796915, 15.58814954134448, 4.372158872303553, 10.84562084923719, 3.494461969973943, 18.95929285544807, 0.1218422286224996, 5.66408080119322, 3.772151429895594, 16.98056220006166, 9.951222586811227, 7.751493312116264, 18.064221211802362, 7.5216799769467535, 17.899971507593953, 8.821770290920925, 11.895594324337626, 12.214718545141176, 5.627546982168852, 16.540864999204366, 6.455702536168326, 14.962032910123247, 9.758007093183421, 10.80685656026061, 0.5546756851111079, 17.795452137532514, 2.7198097935095977, 15.57666629953924, 2.964763463853828, 10.648674317068853, 1.103238071637973, 2.5836131987854505, 2.144253769815454, 10.940864752765629, 14.27878250005216, 6.635007650256723, 4.445676776056217, 12.771496239001364, 9.134474404028605, 10.830965033820029, 1.7705258559540105, 8.082429605305315, 5.07695224769617, 0.34385461903228887, 10.902656462438717, 7.504844166792841, 11.257813597760185, 19.503769944323093, 15.69723044914035, 19.79282760458125, 11.702980720614429, 10.60386036197293, 13.528029331874006, 2.5661309802247145, 10.420230700974798, 3.4423943091042464, 3.8081906727704107, 2.6240249423932482, 12.718805704987258, 8.613889444851374, 15.231940067976451, 16.786312436990823, 13.883999630433024, 18.52898906222085, 3.818399186256747, 9.217639995395466, 9.355447090690227, 8.510572485443406, 3.898012141720044, 3.6612652624480613, 11.74560785619901, 5.092837541183672, 1.5730144013534497, 19.85221239851535, 4.802815810957912, 0.601893251300476, 13.015988814331408, 4.159813838868478, 15.98082564173075, 14.785163296183935, 14.27343245743629, 1.658499015485031, 4.180262701661491, 6.170965083186193, 14.483743396184472, 19.24666966838095, 12.703118628542507, 4.791442655649247, 8.546214338160834, 9.26679862630402, 14.492467353293554, 7.423407984734833, 6.344910471057634, 8.544585983656267, 12.472138982715496, 17.195076461811464, 3.6312744496113614, 9.49985457685587, 13.454964082279538, 15.91214614444618, 16.82931775166034, 16.70549793064659, 6.848577984083972, 0.9629032103295732, 12.592595669068793, 17.009655511167566, 6.083210676586774, 9.817539572931949, 5.257400864887927, 6.6876200388376805, 19.05072474616809, 2.793405078109119, 7.120851478437215, 11.84802279833308, 16.377294956191484, 15.372676903321693, 15.64752079189504, 7.2371155220911305, 9.152052945955035, 15.916464251520843, 2.3712324772744298, 3.0463286873640327, 18.815798896647998, 11.424108847765847, 18.452048035949854, 0.871814209877193, 12.911926014361816, 12.058433805626308, 11.679925639169007, 2.6375112394507805, 3.6250150981446616, 5.051772365492193, 9.603214159545836, 13.49918819344924, 16.15471443507614, 8.816301643830455, 4.257304252100629, 8.071575163964278, 3.0963676021001696, 1.9472416035925955, 12.218028451924635, 7.34909636253176, 8.520540487393514, 1.560936771462842, 14.941612509518816, 5.487463638688467, 11.326833283959509, 16.820309210225048, 8.656422999165216, 12.05895092495636, 7.639562212661366, 19.818920077575534, 1.6523221303791424, 4.5163758356637445, 7.143315144468765, 5.414241229236232, 11.658050336071494, 15.173812077985286, 15.30082120013402, 6.655905172293501, 19.511178257438115, 19.331136281632247, 15.963207296069466, 4.928532317606093, 2.342083748571415, 3.3447378162142383, 9.323518549457777, 9.168455156469415, 9.324975509930013, 11.925126782937571, 9.515835913145157, 8.254336375804721, 10.972575426478171, 19.29960342482749, 5.552690395120079, 2.1570975109987445, 17.207171094552166, 15.934164528126383, 4.755623950132188, 18.61097022246884, 8.924185534463078, 10.986178695163256, 12.266048747815155, 4.412639134816317, 16.471320294918613, 4.472261840093978, 0.9402877765965401, 19.28306058304151, 7.180392635642166, 7.851855867481459, 4.856021167054621, 7.450728396688873, 17.41177045099064, 14.470974682464675, 2.3329640583120392, 8.99677572451279, 13.729704715920409, 16.573928744358437, 0.06309815198767721, 12.462169787343196, 2.7514544828437315, 3.8029234676438595, 3.9744312247422764, 2.8094165284953143, 9.474305572514751, 17.336274896917196, 2.4182830873039918, 16.80347826676192, 15.790527835427916, 13.228644089605726, 0.7759196000638835, 0.4623025879911902, 14.179834467455619, 4.770042683662394, 5.966331318219574, 11.28408309106975, 11.342409932504848, 10.906633265788024, 5.27687649915711, 2.634271817306868, 9.600954104826302, 7.878314491064002, 13.302713125959531, 18.59376793416991, 14.772446255251136, 18.82408919167143, 19.842834803757555, 0.2292134309658822, 16.91314619438552, 7.0461867758288115, 3.917370543983485, 2.1907693315246757, 17.37636340575422, 2.746510128743216, 3.140926681641971, 0.6626992191249137, 19.366217429350595, 6.083705452353964, 19.299281585006465, 10.149274347057053, 3.5718223984006547, 10.70984041628095, 4.596360965593915, 16.80738080315684, 14.560385749825102, 15.902584800260156, 13.474426717287598, 11.472421667264248, 5.023190446363142, 3.571436364397018, 15.821266454192923, 7.6562915557034295, 18.837537222641295, 13.62294058512889, 5.974251411362188, 6.376339623297449, 11.990852186599458, 17.222572085866855, 9.300128217679074, 9.66197770573374, 1.835929331816617, 11.089600421487102, 12.705683856614176, 2.7168257580636612, 16.88963470058023, 9.176380102668453, 0.3382989251117996, 1.5211812798230429, 11.433162474148908, 6.9416400283968205, 7.529235480410423, 9.598516125530752, 10.453606597662134, 0.769592424199661, 9.427081947137744, 11.122781495836847, 14.258973645812837, 15.621166403395279, 4.972584746917694, 11.944067436546185, 8.877355036126637, 18.393468163021055, 6.777334057409807, 14.280399594679638, 15.407454781331332, 19.20026776927006, 1.8090041295821457, 1.1754931606087804, 10.606703920689268, 3.7937108929121277, 5.103944821153443, 6.039489933324644, 8.358154958774014, 4.097955439676733, 16.41844975322654, 10.34060133546501, 15.638561613042443, 16.568243204243746, 12.796351250879361, 17.062412236315602, 15.816537800112556, 4.6415911878596265, 9.592134341195377, 5.7133161622058015, 9.727021839888598, 8.247677728470762, 10.250317056053166, 9.396625239906411, 3.577379566853558, 17.843228910475215, 17.69663015339171, 14.315109613879622, 7.816795974545907, 12.430088995990978, 9.582926832704024, 12.67281823849716, 11.423480976705678, 11.039692355546276, 9.039499026243337, 1.747537577071261, 8.536523869542755, 6.543061919068693, 13.155560639902157, 3.9236311611374863, 16.104106726460643, 19.900891765692652, 18.333619640870317, 4.538132924968221, 12.193388825670388, 7.172032958055676, 7.939010438703633, 15.364298299691722, 12.946193229582402, 15.928032774479542, 6.0947370485097885, 5.3687014644507585, 10.852266894099875, 13.958636186250331, 5.486672583159507, 13.901623492728481, 13.625236446379308, 4.1240808820915476, 0.9476376129322062, 17.901842306966135, 1.8650953673282755, 15.571568456588906, 12.076222861096603, 9.659046738693839, 8.39087030365597, 3.946192711949821, 10.07560677213216, 3.73692319985915, 1.944734686891525, 7.872057025676591, 17.301377909932622, 13.235897034046767, 9.278869594977087, 0.8844182134217937, 12.575762071931699, 17.964216180198015, 13.472960633790764, 10.491180655385184, 6.598923797205378, 14.038906731906213, 18.50747671379771, 16.331517570650387, 5.681822349853047, 0.5724330033301728, 0.7711511247713942, 10.684734223001229, 14.849023568138659, 8.265436971426086, 4.2042202960509005, 4.10683332720998, 4.197197168971394, 9.045038752280341, 11.90491271529931, 17.874704188018846, 17.768177368408715, 2.5276714486344964, 15.397387829903142, 19.203138006869978, 16.540591196495, 16.726819438980954, 11.731318881497884, 2.780675559330832, 8.249481575352815, 13.591442048388533, 12.032240667353891, 5.623572044383838, 12.488567207004525, 9.83874994604102, 4.491677288147551, 17.833013376605447, 19.087313635983463, 8.302719199854998, 13.369432697609396, 19.083418402108148, 15.530769488023237, 0.10567241729849464, 9.184496946929489, 11.678178327320555, 1.1856630254021727, 16.801256246921902, 5.354688370196223, 7.021333512625905, 1.6864294689285986, 18.084527325787082, 15.272350314739748, 7.605656868297901, 3.473382897752757, 5.322487710876271, 10.933114936630552, 7.8217060811156465, 4.271409254508716, 6.203396778664141, 12.601229071685129, 4.7670508691533975, 2.3509292103899515, 12.226004696401782, 5.838005256479574, 11.621145652177027, 1.597294121532109, 17.92309130731382, 6.273424653404859, 18.379840832134533, 3.2630065916601403, 19.530291249299957, 3.403603660073551, 6.285463547041539, 1.4082195981471601, 19.952729024117623, 18.350045213982114, 13.018106489816239, 14.571214929237012, 12.298424133186384, 15.701324924513367, 10.764638977875, 19.857371994397063, 0.08405811121238838, 12.08095214162993, 16.70199603823524, 14.563679167390918, 6.442350624299715, 0.47899486883678843, 17.348388312060862, 1.2162255932049337, 8.820231231900921, 2.4304120644195737, 13.564165981855481, 12.07646676067278, 3.032909622134985, 18.628815850719032, 16.029885619729846, 16.052927409085754, 4.911218079999859, 19.799561333673353, 1.6357723794008283, 8.148878940775777, 13.459932335661462, 0.24294078948463582, 16.157760137616638, 11.015222031501962], "expected": [6.558899058422358e-09, 5.48857970329328e-06, 7.353119962422028e-07, 1.5882442598444421e-06, 0.004511175290267253, 1.0336569580221742e-07, 6.106430433672127e-05, 6.14195930461907e-07, 0.0026888608596550333, 0.02789846191376201, 4.472301030227365e-09, 0.0018752638258681183, 2.3166753068790076e-08, 0.0018379312555419059, 0.16394241959863454, 0.20544392947250945, 5.495187695707256e-09, 3.97080034839336e-06, 1.9170231974640404e-06, 0.030345912057816074, 7.785582129754696e-09, 9.341579905177284e-05, 1.4267791817332526e-08, 2.3997930406178013e-09, 1.2161009063552156e-08, 1.7493238976210471e-07, 0.0019482748873721725, 1.1275149550516335e-05, 1.0023837142684342e-05, 0.0019173992876064107, 0.00013895987807120483, 6.3347425962641645e-09, 1.4744870901202097e-07, 4.9647580901111516e-05, 0.00010818458828138756, 6.4583810528861914e-06, 0.0005199081669150056, 0.01412475139348699, 0.1429816795700578, 3.132624539583993e-05, 6.708223940350545e-08, 8.535973311504154e-06, 1.3293715203874627e-06, 4.868555904498651e-07, 0.00790332765592004, 0.5499364744046734, 3.812705611287624e-07, 0.04136225544720442, 0.050608677410909464, 4.51914571083034e-08, 0.17759081297570378, 0.011062749614429369, 3.531960228307843e-08, 2.4563844878827353e-07, 0.010972548736496054, 3.6772050755843705e-09, 0.0023599138938913073, 0.0015319921906857684, 4.185000729412104e-05, 1.2751015204997589e-05, 0.0007408387961813143, 2.4837655534355546e-06, 0.0019264570726544358, 0.00018450338873163776, 3.1417364273857266e-08, 1.360643236218668, 3.770006134304768e-09, 9.693084149803988e-08, 0.0013463075612957264, 0.0004839700339236436, 1.0237153036066667e-05, 3.161675973932485e-08, 2.0286912938133503e-07, 0.029654191006074738, 2.9695054487718973e-06, 2.1374965247791984e-09, 0.0007954047810449916, 3.507394215724163e-06, 3.1453272246929984e-09, 0.0009717522057262955, 0.00038926828647820977, 0.0002839867791709748, 0.2170680679018052, 2.4073017522403882e-05, 8.692453802679626e-08, 1.826889195198137, 6.306039854946916e-06, 0.00220457849106192, 0.00468717809837707, 0.01060615652591297, 3.0798201215600184e-05, 0.0005932731825828689, 2.6205806890835578e-05, 0.0001442403731350155, 0.0036415200108994798, 1.078563342461617e-08, 8.301295786281389e-07, 0.3049519490087347, 4.0102849064414877e-07, 0.00025832312758632126, 3.588214671663361e-07, 0.13263837645383444, 1.013113739556869e-07, 5.2796545304182194e-05, 2.375888605200963e-06, 1.5344952323932744e-06, 1.1077323099524333e-07, 1.08232973426572e-07, 0.0019470675158327838, 0.007188757518261043, 5.53343983974774e-06, 1.5886325478307182e-08, 0.022641801916638886, 1.5876408085895026e-06, 0.0245567636615194, 0.026843550139370148, 1.308424108345924e-07, 0.002029036210205915, 1.1826187425765992e-07, 2.8723035415057155e-08, 7.676085403470692e-05, 4.933662455401515e-07, 0.0017494851258617074, 0.0678940379951691, 0.0002602943761960992, 3.885847182928409e-09, 0.0038808547352992247, 0.000598031206151833, 0.0010581623490954987, 1.7106732814308423e-05, 9.0753306062362e-05, 5.666446936903693e-06, 0.1674759855497446, 1.2681890128924754e-07, 0.023834263444115916, 0.12927337797478794, 2.812722277018117e-07, 7.922105226207707e-07, 1.6557455931185283e-05, 1.0486565992718472e-05, 2.0952002639885926e-06, 2.282029063298332e-09, 2.7187823729231122e-05, 9.757328830291542e-05, 1.8882843798010858, 0.00024224112376633315, 3.5594414565566398e-06, 3.7997057390753245e-06, 9.103130429705986e-09, 2.8008191885556968e-08, 0.0005745403023875534, 8.725379392104476e-05, 0.010223545637732997, 5.476055218481247e-05, 0.0006443138536488826, 1.9717653298148764e-06, 6.900193634240406e-08, 0.038396522303875164, 0.006270126510146137, 1.5781587082923244e-07, 4.457478399576274e-07, 9.773979122413316e-05, 8.250026681487111e-05, 0.00012175492652176716, 2.097081042293956e-09, 0.0003490243963341692, 4.173872593799233e-09, 1.630347739888673e-08, 0.002245480880784046, 1.372594362670556, 8.171741684125922e-09, 0.6677129098615883, 3.4434320008240584e-06, 3.167172564393652e-09, 1.1176383787467851e-07, 1.1299377157978688e-07, 0.9404961100511852, 4.455676046196452e-09, 4.604230050555471e-08, 0.010411697756654157, 0.8720973505739622, 1.1861090836455833e-08, 0.09817031737192021, 0.00031816416754471, 1.5944769859448167e-06, 0.010789292415202892, 0.12891790742834888, 6.828856873151792e-05, 0.0013448477277717584, 4.886639877633151e-05, 0.7720229237289812, 2.3566917133900095e-09, 2.172416338408001, 2.2623711698544172e-07, 0.007992674202469702, 0.01116730187257183, 2.717715474494617e-09, 0.015080689790917548, 2.294082890681002, 3.090379917021237e-05, 4.041900598531623e-07, 1.664207155052277e-05, 0.0004548882088901521, 2.2809013773055086e-09, 0.004591570057740862, 2.9807024526009894e-09, 0.00018124219018917338, 0.006187639321850405, 4.0719344922204745e-09, 0.01275362297878958, 4.529624573225089e-07, 2.8926609678703794e-07, 0.01268482767875548, 3.3255721976051388e-06, 0.16642639072670065, 0.00031371399880554855, 5.503840329446416e-06, 2.9641574524348743e-07, 0.0017390305554807156, 0.00042995957256557774, 3.6616637615531706e-05, 0.40808252860708444, 8.500183834685001e-06, 0.004513208711619952, 8.284113724570114e-08, 2.2784325869056044e-07, 1.347887639189735e-06, 0.024961017107276686, 5.13118861226277e-05, 0.002662625435258511, 1.876626664586749, 0.0016647840413551872, 0.25397621723117386, 5.774338338767841e-08, 3.6918177897127223e-09, 3.4180758399759718e-06, 3.3120866181516733e-09, 3.373411727357945e-06, 3.57405601309995e-06, 0.1585285099573916, 2.4640728231850064e-05, 2.4313602707972892, 4.413432361295656e-09, 0.00021207366111881804, 1.963975290174127e-06, 9.060476769489245e-08, 7.045206829408469e-09, 2.2333509921060402e-06, 5.7367219862361716e-08, 2.5998252476065064e-09, 6.690327042323101e-08, 0.00029447812681175455, 4.690786366025948e-09, 8.330943386894578e-06, 0.014155530933528691, 1.326905519167973, 6.334856626796116e-05, 0.042676232511455275, 3.0588117104028224e-07, 0.013068233736858196, 0.8065519549028661, 0.07886066089951956, 1.272082306858569e-05, 7.140219055132238e-05, 1.712143452928804e-05, 0.023234574024122538, 0.1120434182730025, 0.001464420839103609, 0.17599563210153407, 6.2202491670793106e-09, 0.0019797144247261462, 4.7095793390932564e-05, 8.930616434347396e-05, 8.949881828781895e-06, 9.143054788207008e-07, 0.012905573442715732, 5.81855399954814e-08, 0.0009379385194981534, 2.432771330912576, 6.565944824233704e-06, 7.201636398966446e-05, 0.7913402390916536, 1.017624260629279e-07, 1.293101833366141e-06, 0.00012196928847530199, 1.8265312097157e-05, 1.2282839781770363, 0.3798944897393232, 1.7535485563328427e-08, 5.820582775139649e-07, 4.413006527599881e-07, 1.189540107997075e-05, 5.61544751075658e-05, 0.023988650622953835, 0.6187205946047084, 2.6931195584669092e-06, 1.9390913701343187e-06, 0.0914816297239176, 4.6884654524504905e-07, 3.1723646371868296e-05, 7.920075150819687e-05, 0.003716102133292641, 0.004594552879943582, 0.00014207758956132356, 0.0010822938279300058, 0.08632716644126089, 3.258246117998613e-05, 0.018949310213745654, 2.7563910897754377e-05, 4.342121040642166, 2.2436018726072314e-07, 5.45961996170019e-09, 1.4592805565163542e-06, 1.6079416425219321e-06, 5.59741329734923e-06, 2.6536755789419605e-08, 1.3088008294650385e-08, 1.6474649466700268e-06, 2.6037492616297087, 0.006611314607563822, 0.0001576661819054039, 0.7643662798853902, 0.012481477132568248, 0.0007645047616936254, 1.540391728930443e-07, 0.000382399495692553, 1.155115947570415, 0.0013405591575909694, 3.042735749236686e-06, 3.924187905877361e-06, 4.1153803866785485e-05, 0.0008000126551248874, 2.966134192308105e-08, 7.46560058287003e-06, 3.651688993951256e-05, 0.001613654574281264, 2.7867069524857675e-09, 7.11819678069502e-06, 0.005447694256407681, 5.3379037010464746e-05, 3.050198491466124e-05, 0.017725961908424504, 6.790082771857454e-06, 1.8279243253733273e-07, 4.7583479893667686e-05, 0.0025389986726508814, 6.979887478953198e-06, 0.26035650899908463, 1.0384048168313221e-05, 1.9181698208007528e-08, 2.634830839902366e-07, 0.0012036128655306404, 1.119676619782543e-06, 1.0834822556763355e-06, 0.002442353535985715, 0.41217426635356025, 7.283008516643346e-07, 0.009525716369765775, 0.006313734518867584, 2.9815566523639907e-09, 0.018664956478481907, 0.06784337130907166, 9.094176963567586e-09, 9.123764641859573e-09, 4.095740330804397e-09, 0.00015536099915400417, 0.05257105230157967, 2.2984440529202852e-06, 0.3557049319982614, 0.23321331328001607, 0.00699195695973722, 1.2138525232521439e-08, 0.2326745525730758, 0.0006389706635380647, 0.012716296262227082, 1.4427135683916293e-07, 5.786441169971768e-06, 0.00016977949856051742, 1.3893449290768342e-05, 4.019546675608668e-09, 4.1495669405099833e-08, 1.155754843350624e-07, 0.00042663811266353905, 9.354529611454458e-08, 5.521618845777718e-09, 2.059034120663796e-08, 1.1446124886159255e-08, 1.2878894465081947e-05, 7.3551409673918394e-09, 3.015244118386082e-07, 9.19647853186508e-06, 0.9411707220218997, 5.5870611549317135e-08, 0.005724090404143839, 1.6262423902780411e-06, 1.6188723326078733e-06, 5.375405099598641, 0.0025068943676963417, 2.7942684738483318e-09, 1.433919101795609e-08, 5.023931222872133e-08, 0.1119070705134761, 6.596952840378204e-05, 9.334800954436387e-06, 1.2422963725015353e-07, 2.923672628655559e-09, 1.1744306072454472e-07, 0.051311560413934795, 3.490482656224661e-08, 0.00020219952964631974, 2.6942938999569627e-08, 0.032142599322088794, 0.0002869554857902052, 1.5492198065437416e-07, 0.00022658885638894574, 2.012562789442339e-05, 1.772116691158921e-06, 1.3082429826596703e-07, 0.01650226844552232, 0.0026052284102982895, 7.964201688638649e-09, 7.207970448121582e-05, 0.00013203427663965875, 2.6677248275157102e-08, 2.1232257828812546e-05, 0.8960009177728586, 5.0038164341383054e-09, 1.2362682293204103e-07, 2.6959728623985823e-08, 4.459791520288797e-05, 7.592421490021037e-09, 5.831634721791295e-07, 0.049673772633504074, 7.719749264796017e-07, 0.33878393645998356, 4.8464302973449094e-08, 1.2220923762532212, 0.0002745011762475455, 0.00044224504518998155, 1.4551674651189079e-08, 0.017781826425441963, 0.022889421971038975, 1.0765503505976214e-05, 7.586068020538155e-06, 4.962418985179722e-09, 1.4942950224599597e-07, 4.136872099656166e-06, 0.0020164743246528466, 1.3478734814608573e-07, 0.0004829291487845349, 1.0332707326211851e-08, 1.0502389639568483e-07, 3.918797301716745e-05, 0.003028714585461566, 0.014273770035007138, 5.4278684200157195e-09, 3.234448773809272e-06, 2.1156115958746144e-05, 0.01702022801600453, 3.3495960103829256e-06, 7.052030167125811e-09, 1.5324348420574436e-05, 0.00015404808259896963, 0.002847953480366907, 0.0005440929634664083, 0.00011293364474269325, 2.2707564043462166e-07, 5.119259836892899e-09, 4.001301602700431e-05, 0.010185904652566188, 3.5387668289734953e-07, 2.4708079746064053e-06, 1.2714937567297647e-07, 0.020612210412702038, 3.335593327166809e-07, 1.2858070928744253e-06, 0.00679963892089596, 0.006805693783754359, 1.9359124128175355e-07, 0.00034447868300079677, 8.903987864295761, 0.0001176321478905624, 0.027176167585100698, 7.8683068916758e-06, 0.0007247800361742099, 0.1807694346130562, 0.013668518445416465, 3.1495871195708016e-08, 0.05290498877633835, 1.754844216199873e-06, 4.304873317446513e-07, 3.49390767809929e-08, 4.782014857732824, 0.00012005364787621464, 4.643692596945982e-05, 3.85560138179914e-05, 1.089080735675574, 1.009860522305105e-07, 0.03026447945894664, 7.8364664679094e-05, 0.005493759777944457, 3.3623843605571846e-05, 2.5036507265174017e-08, 2.2930378065619042e-05, 0.09261812521078347, 1.8057519276609227e-05, 1.2436557770807104e-08, 5.120820282236976e-07, 3.315969649765652e-06, 5.572555161232241e-07, 8.756687422413046e-09, 0.004814007405291446, 2.118532770951175e-05, 3.038683006929276e-07, 0.007987188097123439, 0.01863438187098549, 5.1630019139144545e-09, 3.280286770083614e-08, 0.14023808841244154, 1.516068892495896e-05, 2.1725056786945526e-06, 0.19466064800987304, 2.7941418025130526e-09, 1.742118599787385e-05, 2.4173843731195365e-07, 2.852529959461019e-09, 0.0006338829012329738, 0.001105169992001814, 5.803712625818829e-07, 0.0002409051561699096, 1.0558309940216897e-05, 0.0011910327754489918, 0.0001594822325807057, 0.03866671676150489, 2.432091130556459e-07, 1.0368828087704833e-06, 1.439941743952545e-08, 0.010832181707227294, 1.6988410435733723e-07, 0.012785359451762374, 1.9490149784489538e-05, 0.03131599407618551, 5.835576068943906e-09, 7.717486110690444, 0.003480405607246438, 0.023544095263064013, 4.22119636254233e-08, 4.767159088842219e-05, 0.0004302848529795905, 1.4282637509861224e-08, 0.0005415156407226323, 1.683221056339857e-08, 0.000147508789665163, 6.820433644264817e-06, 4.9569814150213784e-06, 0.0036103769022463863, 6.552297885066231e-08, 0.0015740084426569142, 3.1773993844460905e-07, 5.783310116135877e-05, 2.0260521888109103e-05, 1.3488429791942806, 1.868673134193168e-08, 0.07053462006868451, 1.718461688114997e-07, 0.05437703531545085, 2.3732845469051986e-05, 0.4965466434085821, 0.08166659774757189, 0.13270221423476258, 1.77194609538501e-05, 6.292218933519906e-07, 0.0013152964281977553, 0.011868371416447369, 2.840605289484125e-06, 0.0001078934365658137, 1.9777902949667585e-05, 0.2051727582795593, 0.00030901503107018033, 0.00627806284794436, 2.4368040509046542, 1.84096043681132e-05, 0.0005507147358559159, 1.290622646142151e-05, 3.3854806690710456e-09, 1.5232791613762305e-07, 2.535620131407415e-09, 8.269202789610293e-06, 2.4820626378658654e-05, 1.33306734214186e-06, 0.08322673254628996, 2.982388791951575e-05, 0.033045049586846065, 0.022691780303798318, 0.07817923384378647, 2.994292112683236e-06, 0.00018159931532822656, 2.425786557873719e-07, 5.126219040104565e-08, 9.338045362065894e-07, 8.973508921564688e-09, 0.022456133856265024, 9.92825514588652e-05, 8.650048008284967e-05, 0.00020136907559987108, 0.020702072882974255, 0.026377885940537187, 7.924114875159238e-06, 0.0061785106029305014, 0.26170068878552327, 2.3894266477397536e-09, 0.008274511893345432, 1.211281688430413, 2.2244817521636323e-06, 0.015858014673683255, 1.1471379761039805e-07, 3.7921484581755055e-07, 6.325972806075196e-07, 0.23521538293150923, 0.015532043827023334, 0.0020935927305759596, 5.1261391186867e-07, 4.378018273121951e-09, 3.0416343042689564e-06, 0.008369948554817406, 0.00019431693621348455, 9.451952687203569e-05, 5.081613380863108e-07, 0.0005974674840356582, 0.0017587476808666425, 0.00019463367246672235, 3.831956112696118e-06, 3.406223897235509e-08, 0.0272028083827545, 7.48683207134853e-05, 1.4341149649770364e-06, 1.2286913124949227e-07, 4.910437498476928e-08, 5.557691748319978e-08, 0.0010620901661681074, 0.6175546855341385, 3.3970869534364067e-06, 4.100157033319215e-08, 0.002286055970979589, 5.44904509286132e-05, 0.005236099510355852, 0.0012478003268249543, 5.325683691394602e-09, 0.06520370233105567, 0.0008087319155655758, 7.152735796057511e-06, 7.716692695518566e-08, 2.107324131142318e-07, 1.600914485093264e-07, 0.0007199017026343272, 0.00010601320052262508, 1.2233971298468428e-07, 0.10298041059097476, 0.049905266031881806, 6.73600451375734e-09, 1.0928921665206953e-05, 9.691195672329773e-09, 0.7187805875187477, 2.468441579502126e-06, 5.7955045986099965e-06, 8.462066245261832e-06, 0.0770512697174848, 0.027378290705762205, 0.00643918160539896, 6.751595309433881e-05, 1.3720743744105077e-06, 9.640436669674163e-08, 0.00014831779288298935, 0.014363821742377329, 0.00031238854006343026, 0.04735416699863969, 0.16640800236691156, 4.940601310812495e-06, 0.00064358723144524, 0.00019937140102680107, 0.26572555449458307, 3.242950182743961e-07, 0.004155524085444953, 1.2045477995355171e-05, 4.954873230394927e-08, 0.00017403589648114448, 5.792508388560527e-06, 0.00048127050863432395, 2.470315219779587e-09, 0.2370182068856584, 0.011049311933587571, 0.0007907531566691208, 0.0044726304706702346, 8.649217644000392e-06, 2.5709714666511575e-07, 2.2643204169680937e-07, 0.0012880601643139725, 3.360492641994719e-09, 4.023409024597866e-09, 1.1675277413913048e-07, 0.007289874960140049, 0.10635027032488266, 0.03655887276444815, 8.930712854671962e-05, 0.00010428835267703391, 8.917709473714859e-05, 6.621953366934922e-06, 7.368124751650008e-05, 0.00026019577907378347, 1.716637103703666e-05, 4.152300077575722e-09, 0.0038921022330413294, 0.13078723259985792, 3.3652749988891034e-08, 1.201933178965914e-07, 0.008677831973704673, 8.267197885200792e-09, 0.00013314758334427123, 1.693442948330252e-05, 4.70895737354318e-06, 0.012271915638357458, 7.024194307198317e-08, 0.011553409841048003, 0.6407306473696903, 4.221562238029254e-09, 0.000761948967114697, 0.0003891807137394069, 0.007842407984378184, 0.0005813560247144832, 2.7426108190413815e-08, 5.192013023073711e-07, 0.10742925804051491, 0.00012382368387051646, 1.0895959414939192e-06, 6.339196738252957e-08, 15.35358251982334, 3.870348833993883e-06, 0.06818770536228853, 0.02281435190979698, 0.019149810399135603, 0.06410162052838225, 7.680592521582279e-05, 2.957682068539726e-08, 0.09778451844122556, 5.038974189712108e-08, 1.387589340741779e-07, 1.7983476421218061e-06, 0.8528136423121411, 1.7014741276643968, 6.946666319000146e-07, 0.008552543922058608, 0.0025702184153547063, 1.2571596690132456e-05, 1.1859301361271928e-05, 1.8336537032867742e-05, 0.0051345912220168415, 0.07732060666564176, 6.76687257405691e-05, 0.0003790147072731682, 1.669959044643534e-06, 8.41064286144018e-09, 3.84068132703074e-07, 6.680391889732428e-09, 2.4119391140153702e-09, 3.8818305055253615, 4.51558431426625e-08, 0.0008714817155738552, 0.020297111922063647, 0.12591144302021123, 2.8414581872307635e-08, 0.06854885245203357, 0.04519715441679205, 1.0638050962509278, 3.884710297264697e-09, 0.0022849225818506883, 4.153636668167589e-09, 3.9105976857677355e-05, 0.0289172980058226, 2.232467270326007e-05, 0.010191296057926258, 5.0193477299523186e-08, 4.7479377977115444e-07, 1.2404955969746296e-07, 1.4064731335763712e-06, 1.041346108284419e-05, 0.0066271184597546, 0.028928786217209224, 1.3455856305319365e-07, 0.0004732823631586292, 6.591155146226086e-09, 1.2123628029213046e-06, 0.002549890744373666, 0.0017042386027979993, 6.200714777256777e-06, 3.313843490831488e-08, 9.142086703779157e-05, 6.366255223801045e-05, 0.18971878825517052, 1.527053885221131e-05, 3.033841793952643e-06, 0.07076032794641479, 4.6230103767796404e-08, 0.00010346505418816051, 2.4841035934761315, 0.2795146926482116, 1.0830420787947104e-05, 0.0009676182890512022, 0.0005374374443533527, 6.783391316371692e-05, 2.8844888573879824e-05, 0.8628975221808862, 8.052028400238013e-05, 1.4772152701622623e-05, 6.418103358023937e-07, 1.6436664913791552e-07, 0.0069735181090324365, 6.49770877824486e-06, 0.000139532150501812, 1.0275862353424895e-08, 0.0011406076871228932, 6.282052036328478e-07, 2.0352956138921793e-07, 4.585953625807227e-09, 0.19591074531814967, 0.4464803427740119, 2.4750145978405625e-05, 0.023030364818727687, 0.006109846898207092, 0.0023884651499144365, 0.00023453154597162878, 0.016887029947218177, 7.405559965512804e-08, 3.2295939747568616e-05, 1.6153218091370893e-07, 6.37534115078963e-08, 2.770872016207877e-06, 3.889453061278379e-08, 1.3519635078781345e-07, 0.009736222630481272, 6.826822850093687e-05, 0.0033126427502961154, 5.965323436955534e-05, 0.0002619345673842668, 3.534754172224341e-05, 8.301060122260171e-05, 0.028752437744235488, 1.781493132737502e-08, 2.0627717975782118e-08, 6.06774261525872e-07, 0.00040307295492815985, 3.9965262986857885e-06, 6.88997550349046e-05, 3.1352077965206893e-06, 1.0935785848565792e-05, 1.6052012872061715e-05, 0.00011864432701977145, 0.21095044419408904, 0.0001962094828746717, 0.0014421491556596334, 1.934699181732588e-06, 0.020167881645658914, 1.0140873301881536e-07, 2.2758965746864226e-09, 1.0909633508061349e-08, 0.01080893700084779, 5.063848645823502e-06, 0.0007683502278966632, 0.0003566863206814144, 2.1250547436709313e-07, 2.3852876228851105e-06, 1.2093257796511873e-07, 0.0022597981137219784, 0.004681997737379404, 1.9361044362187182e-05, 8.666459379813838e-07, 0.0041588263128019345, 9.174914505731979e-07, 1.2095825755032644e-06, 0.016444400973938372, 0.6330682884294032, 1.6800750311000927e-08, 0.18326592932253843, 1.7272445051205476e-07, 5.6933190458071205e-06, 6.384943072770703e-05, 0.00022698120342445747, 0.019709089942230678, 4.20957119111201e-05, 0.024408900563857416, 0.16689540797890398, 0.0003813947218917997, 3.062718329658882e-08, 1.7853514904559577e-06, 9.33853372324005e-05, 0.7034450523848784, 3.454756374301278e-06, 1.5784835055871702e-08, 1.4085366558089934e-06, 2.7781148616059086e-05, 0.001363689975327766, 7.997985671001805e-07, 9.168641528902952e-09, 8.078152974068193e-08, 0.0034189930939587895, 1.2943735708564148, 0.8603972391154859, 2.2892268351269114e-05, 3.557551184229757e-07, 0.0002573226837528359, 0.015158781764240603, 0.01673527445378194, 0.015267249643655969, 0.00011798880977264505, 6.757172949284103e-06, 1.7262934113401865e-08, 1.9203421912079948e-08, 0.0867731010605561, 2.0558883191623318e-07, 4.572809721306795e-09, 6.554092167725832e-08, 5.440447722306904e-08, 8.038156087926196e-06, 0.06609422903431361, 0.0002614623799981755, 1.2511582981043105e-06, 5.949313530677692e-06, 0.003624808609093566, 3.7695179194952517e-06, 5.3346798005118454e-05, 0.011328742079999043, 1.7997853096011174e-08, 5.134344624376691e-09, 0.00024790341900191173, 1.5621755335387362e-06, 5.154383099525076e-09, 1.799171610987687e-07, 8.972011783487918, 0.00010262855771676664, 8.476865164610719e-06, 0.4399750625885686, 5.050183339765373e-08, 0.004748382593224373, 0.0008934318676239606, 0.2272642159463719, 1.3995537448932896e-08, 2.329714130295006e-07, 0.0004978761951306886, 0.032004463365527126, 0.004904534151075912, 1.785731946956557e-05, 0.00040109788281415137, 0.014159793495391006, 0.002026647798338251, 3.36788467417105e-06, 0.008578389691266904, 0.10531506654642087, 4.901350419193877e-06, 0.0029231708340315345, 8.974380259530328e-06, 0.2538297685229042, 1.6447517370248366e-08, 0.0018893222470214605, 1.0416853415365966e-08, 0.039796282320866225, 3.296873486164143e-09, 0.03439703258694636, 0.0018666710605490873, 0.3237640083169949, 2.160925959930197e-09, 1.0731900205021416e-08, 2.2197759956250847e-06, 4.696798899226369e-07, 4.558943844772346e-06, 1.5170548826911416e-07, 2.1134202803891954e-05, 2.3771299221661136e-09, 11.403535900081387, 5.666457159067982e-06, 5.577188305461991e-08, 4.7323265698240476e-07, 0.0015951991427733596, 1.627469467274039, 2.9220705606759114e-08, 0.4211542040278078, 0.0001477360227558732, 0.09649190521311067, 1.2857547009546015e-06, 5.691930609127449e-06, 0.05061358491955042, 8.120973160529793e-09, 1.0922176170160511e-07, 1.0673386942419469e-07, 0.00741813707050886, 2.5186033099514652e-09, 0.24193032830704764, 0.0002891428099699839, 1.4270075785526634e-06, 3.636454496376944, 9.611119432850128e-08, 1.6449662758361556e-05]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py index cfa27e023593..66138870bc30 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py @@ -1,4 +1,4 @@ -# !/usr/bin/env python +#!/usr/bin/env python # # @license Apache-2.0 # @@ -16,35 +16,38 @@ # See the License for the specific language governing permissions and # limitations under the License. -""" -This script generates fixture data for the Planck distribution's mean. - -It writes the generated data to JSON files for different lambda values. -""" +"""Generate fixtures.""" import os import json import numpy as np from scipy.stats import planck +# Get the file path: +FILE = os.path.realpath(__file__) + +# Extract the directory in which this file resides: +DIR = os.path.dirname(FILE) + def gen(lam, name): """ Generate fixture data and write to file. - Parameters - ---------- - lam : ndarray - Shape parameter. - name : str - Output filename. - Examples - -------- - >>> lam = np.random.rand(1000) * 20 - >>> gen(x, lam, "data.json") + # Arguments + + * `lam`: shape parameter. + * `name::str`: output filename. + + # Examples + + ```python + python> lam = np.random.rand(1000) * 20 + python> gen(lam, "data.json") + ``` """ # Compute mean values: - z = np.array([planck.mean(lami) for lami in lam]) + z = np.array(planck.mean(lam)) # Store data to be written to file as a dictionary: data = { @@ -53,7 +56,7 @@ def gen(lam, name): } # Based on the script directory, create an output filepath: - filepath = os.path.join(dir_path, name) + filepath = os.path.join(DIR, name) # Write the data to the output filepath as JSON: with open(filepath, "w", encoding='utf-8') as outfile: @@ -64,8 +67,11 @@ def gen(lam, name): outfile.write("\n") -# Get the directory in which this file resides: -dir_path = os.path.dirname(os.path.abspath(__file__)) +def main(): + """Generate fixture data.""" + lam_ = np.random.rand(1000) * 20.0 + gen(lam_, "data.json") + -lam_ = np.random.rand(1000) * 20.0 -gen(lam_, "data.json") +if __name__ == "__main__": + main() From 03838ec1e55e961910812f9dedcc7482dcc27f4e Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Wed, 25 Dec 2024 02:39:20 -0800 Subject: [PATCH 4/4] chore: clean-up --- .../@stdlib/stats/base/dists/planck/mean/README.md | 12 +++++------- .../base/dists/planck/mean/benchmark/benchmark.js | 2 +- .../stats/base/dists/planck/mean/docs/repl.txt | 9 ++++----- .../base/dists/planck/mean/docs/types/index.d.ts | 2 +- .../stats/base/dists/planck/mean/examples/index.js | 10 ++++------ .../stats/base/dists/planck/mean/lib/main.js | 6 +++--- .../planck/mean/test/fixtures/python/runner.py | 6 +++--- .../stats/base/dists/planck/mean/test/test.js | 13 +++++++++---- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md index 20140ee8cd34..055f2d793ebf 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/README.md @@ -36,7 +36,7 @@ The [expected value][expected-value] for a Planck random variable is -where `lambda` is the shape parameter. +where `λ` is the shape parameter.
@@ -64,7 +64,7 @@ v = mean( 0.5 ); // returns ~1.5415 ``` -If provided a shape parameter `lambda` which is negative or `NaN`, the function returns `NaN`. +If provided a shape parameter `lambda` which is nonpositive or `NaN`, the function returns `NaN`. ```javascript var v = mean( NaN ); @@ -98,15 +98,13 @@ v = mean( -1.5 ); var uniform = require( '@stdlib/random/array/uniform' ); var mean = require( '@stdlib/stats/base/dists/planck/mean' ); -var lambda; +var lambda = uniform( 10, 0.1, 10.0 ); + var v; var i; - -lambda = uniform( 10, 0.0, 10.0 ); - for ( i = 0; i < 10; i++ ) { v = mean( lambda[ i ] ); - console.log( 'lambda: %d, E(X;lambda): %d', lambda[ i ].toFixed( 4 ), v.toFixed( 4 ) ); + console.log( 'λ: %d, E(X;λ): %d', lambda[ i ].toFixed( 4 ), v.toFixed( 4 ) ); } ``` diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js index 33059a283a7b..e40b58534848 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/benchmark/benchmark.js @@ -34,7 +34,7 @@ bench( pkg, function benchmark( b ) { var y; var i; - lambda = uniform( 100, 0.0, 10.0 ); + lambda = uniform( 100, 0.1, 10.0 ); b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt index b3dbe20181bb..eaba8315d645 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/repl.txt @@ -1,13 +1,12 @@ -{{alias}}( lambda ) - Returns the expected value of a Planck distribution with shape - parameter `lambda`. +{{alias}}( λ ) + Returns the expected value of a Planck distribution with shape parameter λ. - If `lambda < 0`, the function returns `NaN`. + If `λ <= 0`, the function returns `NaN`. Parameters ---------- - lambda: number + λ: number Shape parameter. Returns diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts index fe5c77ad1223..5ee78454dc86 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/docs/types/index.d.ts @@ -23,7 +23,7 @@ * * ## Notes * -* - If `lambda < 0`, the function returns `NaN`. +* - If `lambda <= 0`, the function returns `NaN`. * * @param lambda - shape parameter * @returns expected value diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js index 68676607538e..40ed3b95ba46 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/examples/index.js @@ -21,13 +21,11 @@ var uniform = require( '@stdlib/random/array/uniform' ); var mean = require( './../lib' ); -var lambda; +var lambda = uniform( 10, 0.1, 10.0 ); + var v; var i; - -lambda = uniform( 10, 0.0, 10.0 ); - -for ( i = 0; i < 10; i++ ) { +for ( i = 0; i < lambda.length; i++ ) { v = mean( lambda[ i ] ); - console.log( 'lambda: %d, E(X;lambda): %d', lambda[ i ].toFixed( 4 ), v.toFixed( 4 ) ); + console.log( 'λ: %d, E(X;λ): %d', lambda[ i ].toFixed( 4 ), v.toFixed( 4 ) ); } diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js index 3070b5da07e7..a3a4a4130f70 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/lib/main.js @@ -29,7 +29,7 @@ var expm1 = require( '@stdlib/math/base/special/expm1' ); /** * Returns the expected value of a Planck distribution. * -* @param {NonNegativeNumber} lambda - shape parameter +* @param {PositiveNumber} lambda - shape parameter * @returns {NonNegativeNumber} expected value * * @example @@ -53,10 +53,10 @@ var expm1 = require( '@stdlib/math/base/special/expm1' ); * // returns NaN */ function mean( lambda ) { - if ( isnan( lambda ) || lambda < 0.0 ) { + if ( isnan( lambda ) || lambda <= 0.0 ) { return NaN; } - return 1 / expm1( lambda ); + return 1.0 / expm1( lambda ); } diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py index 66138870bc30..88d2a792d470 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/fixtures/python/runner.py @@ -62,15 +62,15 @@ def gen(lam, name): with open(filepath, "w", encoding='utf-8') as outfile: json.dump(data, outfile) - # Include trailing newline + # Include trailing newline: with open(filepath, "a", encoding='utf-8') as outfile: outfile.write("\n") def main(): """Generate fixture data.""" - lam_ = np.random.rand(1000) * 20.0 - gen(lam_, "data.json") + lam = np.random.rand(1000) * 20.0 + gen(lam, "data.json") if __name__ == "__main__": diff --git a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js index 771a50342ab1..17e25cf913ba 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/planck/mean/test/test.js @@ -42,18 +42,23 @@ tape( 'main export is a function', function test( t ) { tape( 'if provided `NaN` for `lambda`, the function returns `NaN`', function test( t ) { var v = mean( NaN ); - t.equal( isnan( v ), true, 'returns NaN' ); + t.equal( isnan( v ), true, 'returns expected value' ); t.end(); }); -tape( 'if provided a success probability `lambda` which is negative, the function returns `NaN`', function test( t ) { +tape( 'if provided a success probability `lambda` which is nonpositive, the function returns `NaN`', function test( t ) { var v; + + v = mean( 0.0 ); + t.equal( isnan( v ), true, 'returns expected value' ); + v = mean( -1.0 ); - t.equal( isnan( v ), true, 'returns NaN' ); + t.equal( isnan( v ), true, 'returns expected value' ); + t.end(); }); -tape( 'the function returns the mean of a planck distribution', function test( t ) { +tape( 'the function returns the mean of a Planck distribution', function test( t ) { var expected; var lambda; var delta;