From bcf2d8fb6083143b2d87d79b70d9ccff4500f919 Mon Sep 17 00:00:00 2001 From: Om-A-osc Date: Fri, 3 Apr 2026 20:24:42 +0530 Subject: [PATCH] feat: add `stats/base/dists/anglit/variance` --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: passed - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: passed - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../base/dists/anglit/variance/README.md | 247 ++++++++++++++++++ .../anglit/variance/benchmark/benchmark.js | 59 +++++ .../variance/benchmark/benchmark.native.js | 69 +++++ .../anglit/variance/benchmark/c/Makefile | 87 ++++++ .../anglit/variance/benchmark/c/benchmark.c | 105 ++++++++ .../base/dists/anglit/variance/binding.gyp | 112 ++++++++ .../docs/img/equation_anglit_variance.svg | 4 + .../base/dists/anglit/variance/docs/repl.txt | 37 +++ .../anglit/variance/docs/types/index.d.ts | 57 ++++ .../dists/anglit/variance/docs/types/test.ts | 47 ++++ .../dists/anglit/variance/examples/c/Makefile | 87 ++++++ .../anglit/variance/examples/c/example.c | 40 +++ .../dists/anglit/variance/examples/index.js | 31 +++ .../base/dists/anglit/variance/include.gypi | 53 ++++ .../stdlib/stats/base/dists/anglit/variance.h | 38 +++ .../base/dists/anglit/variance/lib/index.js | 43 +++ .../base/dists/anglit/variance/lib/main.js | 75 ++++++ .../base/dists/anglit/variance/lib/native.js | 63 +++++ .../base/dists/anglit/variance/manifest.json | 77 ++++++ .../base/dists/anglit/variance/package.json | 70 +++++ .../base/dists/anglit/variance/src/Makefile | 70 +++++ .../base/dists/anglit/variance/src/addon.c | 22 ++ .../base/dists/anglit/variance/src/main.c | 45 ++++ .../fixtures/python/large_mu_large_sigma.json | 1 + .../fixtures/python/large_mu_small_sigma.json | 1 + .../variance/test/fixtures/python/runner.py | 85 ++++++ .../fixtures/python/small_mu_large_sigma.json | 1 + .../fixtures/python/small_mu_small_sigma.json | 1 + .../base/dists/anglit/variance/test/test.js | 145 ++++++++++ .../dists/anglit/variance/test/test.native.js | 154 +++++++++++ 30 files changed, 1926 insertions(+) create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/README.md create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.native.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/Makefile create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/benchmark.c create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/binding.gyp create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/img/equation_anglit_variance.svg create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/Makefile create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/example.c create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/index.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/include.gypi create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/include/stdlib/stats/base/dists/anglit/variance.h create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/lib/index.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/lib/main.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/lib/native.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/manifest.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/package.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/Makefile create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/addon.c create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/main.c create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_large_sigma.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_small_sigma.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/runner.py create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_large_sigma.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_small_sigma.json create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.js create mode 100644 lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.native.js diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/README.md b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/README.md new file mode 100644 index 000000000000..674e96938681 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/README.md @@ -0,0 +1,247 @@ + + +# Variance + +> [Anglit][anglit-distribution] distribution [variance][variance]. + + + +
+ +The [variance][variance] for an [anglit][anglit-distribution] random variable with location parameter `mu` and scale parameter `sigma` is + + + +```math +\mathop{\mathrm{Var}}\left( X \right) = \sigma^{2}\left({\frac{\pi^{2}}{16}}-{\frac{1}{2}}\right) +``` + + + +
+ + + + + +
+ +## Usage + +```javascript +var variance = require( '@stdlib/stats/base/dists/anglit/variance' ); +``` + +#### variance( mu, sigma ) + +Returns the [variance][variance] for an [anglit][anglit-distribution] distribution with location parameter `mu` and scale parameter `sigma`. + +```javascript +var y = variance( 0.0, 1.0 ); +// returns ~0.117 + +y = variance( 1.0, 2.0 ); +// returns ~0.467 + +y = variance( -3.0, 4.0 ); +// returns ~1.870 +``` + +If provided `NaN` as any argument, the function returns `NaN`. + +```javascript +var y = variance( NaN, 1.0 ); +// returns NaN + +y = variance( 0.0, NaN ); +// returns NaN +``` + +If provided `sigma <= 0`, the function returns `NaN`. + +```javascript +var y = variance( 0.0, 0.0 ); +// returns NaN + +y = variance( 0.0, -1.0 ); +// returns NaN +``` + +
+ + + + + +
+ +
+ + + + + +
+ +## Examples + + + +```javascript +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var variance = require( '@stdlib/stats/base/dists/anglit/variance' ); + +var opts = { + 'dtype': 'float64' +}; +var mu = uniform( 10, -5.0, 5.0, opts ); +var sigma = uniform( 10, 0.1, 20.0, opts ); + +logEachMap( 'µ: %0.4f, σ: %0.4f, Var(X;µ,σ): %0.4f', mu, sigma, variance ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/stats/base/dists/anglit/variance.h" +``` + +#### stdlib_base_dists_anglit_variance( mu, sigma ) + +Returns the variance for an anglit distribution with location `mu` and scale `sigma`. + +```c +double out = stdlib_base_dists_anglit_variance( 0.0, 1.0 ); +// returns ~0.117 +``` + +The function accepts the following arguments: + +- **mu**: `[in] double` location parameter. +- **sigma**: `[in] double` scale parameter. + +```c +double stdlib_base_dists_anglit_variance( const double mu, const double sigma ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/stats/base/dists/anglit/variance.h" +#include +#include + +static double random_uniform( const double min, const double max ) { + double v = (double)rand() / ( (double)RAND_MAX + 1.0 ); + return min + ( v*(max-min) ); +} + +int main( void ) { + double mu; + double sigma; + double y; + int i; + + for ( i = 0; i < 25; i++ ) { + mu = random_uniform( -5.0, 5.0 ); + sigma = random_uniform( 0.1, 20.0 ); + y = stdlib_base_dists_anglit_variance( mu, sigma ); + printf( "µ: %lf, σ: %lf, Var(X;µ,σ): %lf\n", mu, sigma, y ); + } +} +``` + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.js new file mode 100644 index 000000000000..6fc9ed7b3bb5 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.js @@ -0,0 +1,59 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var EPS = require( '@stdlib/constants/float64/eps' ); +var pkg = require( './../package.json' ).name; +var variance = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var sigma; + var opts; + var mu; + var y; + var i; + + opts = { + 'dtype': 'float64' + }; + mu = uniform( 100, -50.0, 50.0, opts ); + sigma = uniform( 100, EPS, 20.0, opts ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = variance( mu[ i % mu.length ], sigma[ i % sigma.length ] ); + 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/anglit/variance/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.native.js new file mode 100644 index 000000000000..f22f7628b546 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/benchmark.native.js @@ -0,0 +1,69 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var bench = require( '@stdlib/bench' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var EPS = require( '@stdlib/constants/float64/eps' ); +var format = require( '@stdlib/string/format' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var variance = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( variance instanceof Error ) +}; + + +// MAIN // + +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { + var sigma; + var opts; + var mu; + var y; + var i; + + opts = { + 'dtype': 'float64' + }; + mu = uniform( 100, -50.0, 50.0, opts ); + sigma = uniform( 100, EPS, 20.0, opts ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = variance( mu[ i % mu.length ], sigma[ i % sigma.length ] ); + 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/anglit/variance/benchmark/c/Makefile b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/Makefile new file mode 100644 index 000000000000..77797913103d --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/Makefile @@ -0,0 +1,87 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + +ifdef C_COMPILER + CC := $(C_COMPILER) +else + CC := gcc +endif + +CFLAGS ?= \ + -std=c99 \ + -O3 \ + -Wall \ + -pedantic + +ifeq ($(OS), WINNT) + fPIC ?= +else + fPIC ?= -fPIC +endif + +INCLUDE ?= +SOURCE_FILES ?= +LIBRARIES ?= +LIBPATH ?= + +c_targets := benchmark.out + + +# RULES # + +all: $(c_targets) + +.PHONY: all + +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES) + +run: $(c_targets) + $(QUIET) ./$< + +.PHONY: run + +clean: + $(QUIET) -rm -f *.o *.out + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/benchmark.c new file mode 100644 index 000000000000..ed66653a0604 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/benchmark/c/benchmark.c @@ -0,0 +1,105 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/stats/base/dists/anglit/variance.h" +#include "stdlib/constants/float64/eps.h" +#include +#include +#include +#include + +#define NAME "anglit-variance" +#define ITERATIONS 1000000 +#define REPEATS 3 + +static void print_version( void ) { + printf( "TAP version 13\n" ); +} + +static void print_summary( int total, int passing ) { + printf( "#\n" ); + printf( "1..%d\n", total ); + printf( "# total %d\n", total ); + printf( "# pass %d\n", passing ); + printf( "#\n" ); + printf( "# ok\n" ); +} + +static void print_results( double elapsed ) { + double rate = (double)ITERATIONS / elapsed; + printf( " ---\n" ); + printf( " iterations: %d\n", ITERATIONS ); + printf( " elapsed: %0.9f\n", elapsed ); + printf( " rate: %0.9f\n", rate ); + printf( " ...\n" ); +} + +static double tic( void ) { + struct timeval now; + gettimeofday( &now, NULL ); + return (double)now.tv_sec + (double)now.tv_usec/1.0e6; +} + +static double random_uniform( const double min, const double max ) { + double v = (double)rand() / ( (double)RAND_MAX + 1.0 ); + return min + ( v*(max-min) ); +} + +static double benchmark( void ) { + double elapsed; + double mu[ 100 ]; + double sigma[ 100 ]; + double y; + double t; + int i; + + for ( i = 0; i < 100; i++ ) { + mu[ i ] = random_uniform( -50.0, 50.0 ); + sigma[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 20.0 ); + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = stdlib_base_dists_anglit_variance( mu[ i % 100 ], sigma[ i % 100 ] ); + if ( y != y ) { + printf( "should not return NaN\n" ); + break; + } + } + elapsed = tic() - t; + if ( y != y ) { + printf( "should not return NaN\n" ); + } + return elapsed; +} + +int main( void ) { + double elapsed; + int i; + + srand( time( NULL ) ); + + print_version(); + for ( i = 0; i < REPEATS; i++ ) { + printf( "# c::%s\n", NAME ); + elapsed = benchmark(); + print_results( elapsed ); + printf( "ok %d benchmark finished\n", i+1 ); + } + print_summary( REPEATS, REPEATS ); +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/binding.gyp b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/binding.gyp new file mode 100644 index 000000000000..7a682db305fc --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/binding.gyp @@ -0,0 +1,112 @@ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A `.gyp` file for building a Node.js native add-on. +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + 'includes': [ + './include.gypi', + ], + 'variables': { + 'addon_target_name%': 'addon', + 'conditions': [ + [ + 'OS=="win"', + { + 'obj': 'obj', + }, + { + 'obj': 'o', + } + ], + ], + }, + 'targets': [ + { + 'target_name': '<(addon_target_name)', + 'dependencies': [], + 'include_dirs': [ + '<@(include_dirs)', + ], + 'sources': [ + '<@(src_files)', + ], + 'link_settings': { + 'libraries': [ + '<@(libraries)', + ], + 'library_dirs': [ + '<@(library_dirs)', + ], + }, + 'cflags': [ + '-Wall', + '-O3', + ], + 'cflags_c': [ + '-std=c99', + ], + 'cflags_cpp': [ + '-std=c++11', + ], + 'ldflags': [], + 'conditions': [ + [ + 'OS=="mac"', + { + 'ldflags': [ + '-undefined dynamic_lookup', + '-Wl,-no-pie', + '-Wl,-search_paths_first', + ], + }, + ], + [ + 'OS!="win"', + { + 'cflags': [ + '-fPIC', + ], + }, + ], + ], + }, + { + 'target_name': 'copy_addon', + 'type': 'none', + 'dependencies': [ + '<(addon_target_name)', + ], + 'actions': [ + { + 'action_name': 'copy_addon', + 'message': 'Copying addon...', + 'inputs': [], + 'outputs': [ + '<(addon_output_dir)/<(addon_target_name).node', + ], + 'action': [ + 'cp', + '<(PRODUCT_DIR)/<(addon_target_name).node', + '<(addon_output_dir)/<(addon_target_name).node', + ], + }, + ], + }, + ], +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/img/equation_anglit_variance.svg b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/img/equation_anglit_variance.svg new file mode 100644 index 000000000000..dcb058c6c92b --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/img/equation_anglit_variance.svg @@ -0,0 +1,4 @@ + + + Var(X) = σ²(π²/16 - 1/2) + diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/repl.txt new file mode 100644 index 000000000000..313d4b912b9f --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/repl.txt @@ -0,0 +1,37 @@ + +{{alias}}( μ, σ ) + Returns the variance of an anglit distribution with location parameter + `μ` and scale parameter `σ`. + + If provided `NaN` as any argument, the function returns `NaN`. + + If provided `σ <= 0`, the function returns `NaN`. + + Parameters + ---------- + μ: number + Location parameter. + + σ: number + Scale parameter. + + Returns + ------- + out: number + Variance. + + Examples + -------- + > var y = {{alias}}( 0.0, 1.0 ) + ~0.117 + > y = {{alias}}( 4.0, 2.0 ) + ~0.467 + > y = {{alias}}( NaN, 1.0 ) + NaN + > y = {{alias}}( 0.0, NaN ) + NaN + > y = {{alias}}( 0.0, 0.0 ) + NaN + + See Also + -------- diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/index.d.ts new file mode 100644 index 000000000000..66db0d2a2e5c --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/index.d.ts @@ -0,0 +1,57 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Returns the variance for an anglit distribution with location `mu` and scale `sigma`. +* +* ## Notes +* +* - If `sigma <= 0`, the function returns `NaN`. +* +* @param mu - location parameter +* @param sigma - scale parameter +* @returns variance +* +* @example +* var y = variance( 0.0, 1.0 ); +* // returns ~0.117 +* +* @example +* var y = variance( 2.0, 4.0 ); +* // returns ~1.870 +* +* @example +* var y = variance( NaN, 1.0 ); +* // returns NaN +* +* @example +* var y = variance( 0.0, NaN ); +* // returns NaN +* +* @example +* var y = variance( 0.0, 0.0 ); +* // returns NaN +*/ +declare function variance( mu: number, sigma: number ): number; + + +// EXPORTS // + +export = variance; diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/test.ts b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/test.ts new file mode 100644 index 000000000000..a1a9c0f0ecf2 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/docs/types/test.ts @@ -0,0 +1,47 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import variance = require( './index' ); + + +// TESTS // + +{ + variance( 0, 1 ); // $ExpectType number +} + +{ + variance( true, 1 ); // $ExpectError + variance( false, 1 ); // $ExpectError + variance( '5', 1 ); // $ExpectError + variance( [], 1 ); // $ExpectError + variance( {}, 1 ); // $ExpectError + variance( ( x: number ): number => x, 1 ); // $ExpectError + + variance( 1, true ); // $ExpectError + variance( 1, false ); // $ExpectError + variance( 1, '5' ); // $ExpectError + variance( 1, [] ); // $ExpectError + variance( 1, {} ); // $ExpectError + variance( 1, ( x: number ): number => x ); // $ExpectError +} + +{ + variance(); // $ExpectError + variance( 1 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/Makefile b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/Makefile new file mode 100644 index 000000000000..44ee674a1205 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/Makefile @@ -0,0 +1,87 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + +ifdef C_COMPILER + CC := $(C_COMPILER) +else + CC := gcc +endif + +CFLAGS ?= \ + -std=c99 \ + -O3 \ + -Wall \ + -pedantic + +ifeq ($(OS), WINNT) + fPIC ?= +else + fPIC ?= -fPIC +endif + +INCLUDE ?= +SOURCE_FILES ?= +LIBRARIES ?= +LIBPATH ?= + +c_targets := example.out + + +# RULES # + +all: $(c_targets) + +.PHONY: all + +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES) + +run: $(c_targets) + $(QUIET) ./$< + +.PHONY: run + +clean: + $(QUIET) -rm -f *.o *.out + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/example.c b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/example.c new file mode 100644 index 000000000000..774e63673306 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/c/example.c @@ -0,0 +1,40 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/stats/base/dists/anglit/variance.h" +#include +#include + +static double random_uniform( const double min, const double max ) { + double v = (double)rand() / ( (double)RAND_MAX + 1.0 ); + return min + ( v*(max-min) ); +} + +int main( void ) { + double mu; + double sigma; + double y; + int i; + + for ( i = 0; i < 25; i++ ) { + mu = random_uniform( -5.0, 5.0 ); + sigma = random_uniform( 0.1, 20.0 ); + y = stdlib_base_dists_anglit_variance( mu, sigma ); + printf( "µ: %lf, σ: %lf, Var(X;µ,σ): %lf\n", mu, sigma, y ); + } +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/index.js b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/index.js new file mode 100644 index 000000000000..337267e545d9 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/examples/index.js @@ -0,0 +1,31 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var variance = require( './../lib' ); + +var opts = { + 'dtype': 'float64' +}; +var mu = uniform( 10, -5.0, 5.0, opts ); +var sigma = uniform( 10, 0.1, 20.0, opts ); + +logEachMap( 'µ: %0.4f, σ: %0.4f, Var(X;µ,σ): %0.4f', mu, sigma, variance ); diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/include.gypi b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/include.gypi new file mode 100644 index 000000000000..bee8d41a2caf --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A GYP include file for building a Node.js native add-on. +# +# Main documentation: +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + # Define variables to be used throughout the configuration for all targets: + 'variables': { + # Source directory: + 'src_dir': './src', + + # Include directories: + 'include_dirs': [ + '=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "statistics", + "stats", + "distribution", + "dist", + "anglit", + "continuous", + "symmetric", + "variance", + "dispersion", + "spread", + "univariate", + "location-scale" + ] +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/Makefile b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/Makefile new file mode 100644 index 000000000000..2caf905cedbe --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + + +# RULES # + +#/ +# Removes generated files for building an add-on. +# +# @example +# make clean-addon +#/ +clean-addon: + $(QUIET) -rm -f *.o *.node + +.PHONY: clean-addon + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: clean-addon + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/addon.c b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/addon.c new file mode 100644 index 000000000000..4bd9600ced3e --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/addon.c @@ -0,0 +1,22 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/stats/base/dists/anglit/variance.h" +#include "stdlib/math/base/napi/binary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_dists_anglit_variance ) diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/main.c new file mode 100644 index 000000000000..388e8405e7ca --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/src/main.c @@ -0,0 +1,45 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/stats/base/dists/anglit/variance.h" +#include "stdlib/math/base/assert/is_nan.h" + +// (π^2/16) - (1/2): +static const double scalar = 0.11685027506808487; + +/** +* Returns the variance for an anglit distribution with location `mu` and scale `sigma`. +* +* @param mu location parameter +* @param sigma scale parameter +* @return variance +* +* @example +* double y = stdlib_base_dists_anglit_variance( 0.0, 1.0 ); +* // returns ~0.117 +*/ +double stdlib_base_dists_anglit_variance( const double mu, const double sigma ) { + if ( + stdlib_base_is_nan( mu ) || + stdlib_base_is_nan( sigma ) || + sigma <= 0.0 + ) { + return 0.0 / 0.0; // NaN + } + return ( sigma * sigma ) * scalar; +} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_large_sigma.json b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_large_sigma.json new file mode 100644 index 000000000000..8ba9906037aa --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_large_sigma.json @@ -0,0 +1 @@ +{"mu": [-100.0, -99.59919839679358, -99.19839679358718, -98.79759519038076, -98.39679358717434, -97.99599198396794, -97.59519038076152, -97.1943887775551, -96.7935871743487, -96.39278557114228, -95.99198396793587, -95.59118236472946, -95.19038076152304, -94.78957915831663, -94.38877755511022, -93.9879759519038, -93.58717434869739, -93.18637274549098, -92.78557114228457, -92.38476953907815, -91.98396793587175, -91.58316633266533, -91.18236472945893, -90.78156312625251, -90.38076152304609, -89.97995991983967, -89.57915831663327, -89.17835671342685, -88.77755511022045, -88.37675350701403, -87.97595190380761, -87.5751503006012, -87.17434869739479, -86.77354709418837, -86.37274549098197, -85.97194388777555, -85.57114228456913, -85.17034068136273, -84.76953907815631, -84.3687374749499, -83.96793587174349, -83.56713426853707, -83.16633266533066, -82.76553106212424, -82.36472945891784, -81.96392785571142, -81.56312625250501, -81.1623246492986, -80.76152304609218, -80.36072144288578, -79.95991983967936, -79.55911823647294, -79.15831663326654, -78.75751503006012, -78.3567134268537, -77.9559118236473, -77.55511022044088, -77.15430861723446, -76.75350701402806, -76.35270541082164, -75.95190380761522, -75.55110220440882, -75.1503006012024, -74.749498997996, -74.34869739478958, -73.94789579158316, -73.54709418837675, -73.14629258517034, -72.74549098196393, -72.34468937875752, -71.9438877755511, -71.54308617234469, -71.14228456913827, -70.74148296593187, -70.34068136272545, -69.93987975951904, -69.53907815631263, -69.13827655310621, -68.73747494989979, -68.33667334669339, -67.93587174348697, -67.53507014028057, -67.13426853707415, -66.73346693386773, -66.33266533066131, -65.93186372745491, -65.53106212424849, -65.13026052104209, -64.72945891783567, -64.32865731462925, -63.92785571142284, -63.52705410821643, -63.12625250501002, -62.725450901803605, -62.324649298597194, -61.92384769539078, -61.523046092184366, -61.122244488977955, -60.721442885771545, -60.32064128256513, -59.91983967935872, -59.519038076152306, -59.11823647294589, -58.71743486973948, -58.31663326653307, -57.91583166332665, -57.51503006012024, -57.11422845691383, -56.71342685370741, -56.312625250501, -55.91182364729459, -55.51102204408817, -55.11022044088176, -54.70941883767535, -54.30861723446893, -53.90781563126252, -53.50701402805611, -53.1062124248497, -52.705410821643284, -52.30460921843687, -51.90380761523046, -51.503006012024045, -51.102204408817634, -50.701402805611224, -50.300601202404806, -49.899799599198396, -49.498997995991985, -49.09819639278557, -48.69739478957916, -48.296593186372746, -47.89579158316633, -47.49498997995992, -47.09418837675351, -46.69338677354709, -46.29258517034068, -45.89178356713427, -45.49098196392785, -45.09018036072144, -44.68937875751503, -44.28857715430861, -43.8877755511022, -43.48697394789579, -43.08617234468938, -42.68537074148296, -42.28456913827655, -41.88376753507014, -41.482965931863724, -41.08216432865731, -40.6813627254509, -40.280561122244485, -39.879759519038075, -39.478957915831664, -39.07815631262525, -38.677354709418836, -38.276553106212425, -37.87575150300601, -37.4749498997996, -37.07414829659319, -36.67334669338677, -36.27254509018036, -35.87174348697394, -35.47094188376754, -35.07014028056112, -34.6693386773547, -34.2685370741483, -33.86773547094188, -33.46693386773546, -33.06613226452906, -32.66533066132264, -32.264529058116224, -31.86372745490982, -31.462925851703403, -31.062124248496986, -30.661322645290582, -30.260521042084164, -29.859719438877747, -29.458917835671343, -29.058116232464926, -28.657314629258508, -28.256513026052104, -27.855711422845687, -27.454909819639283, -27.054108216432866, -26.653306613226448, -26.252505010020045, -25.851703406813627, -25.45090180360721, -25.050100200400806, -24.649298597194388, -24.24849699398797, -23.847695390781567, -23.44689378757515, -23.04609218436873, -22.645290581162328, -22.24448897795591, -21.843687374749493, -21.44288577154309, -21.04208416833667, -20.641282565130254, -20.24048096192385, -19.839679358717433, -19.438877755511015, -19.038076152304612, -18.637274549098194, -18.236472945891776, -17.835671342685373, -17.434869739478955, -17.034068136272538, -16.633266533066134, -16.232464929859717, -15.831663326653299, -15.430861723446895, -15.030060120240478, -14.62925851703406, -14.228456913827657, -13.827655310621239, -13.426853707414821, -13.026052104208418, -12.625250501002, -12.224448897795583, -11.823647294589179, -11.422845691382761, -11.022044088176344, -10.62124248496994, -10.220440881763523, -9.819639278557105, -9.418837675350701, -9.018036072144284, -8.617234468937866, -8.216432865731463, -7.815631262525045, -7.414829659318642, -7.014028056112224, -6.613226452905806, -6.212424849699403, -5.811623246492985, -5.4108216432865675, -5.010020040080164, -4.609218436873746, -4.208416833667329, -3.807615230460925, -3.4068136272545075, -3.00601202404809, -2.6052104208416864, -2.2044088176352687, -1.803607214428851, -1.4028056112224476, -1.00200400801603, -0.6012024048096123, -0.20040080160320883, 0.20040080160320883, 0.6012024048096265, 1.00200400801603, 1.4028056112224476, 1.8036072144288653, 2.2044088176352687, 2.6052104208416864, 3.006012024048104, 3.4068136272545075, 3.807615230460925, 4.208416833667343, 4.609218436873746, 5.010020040080164, 5.410821643286582, 5.811623246492985, 6.212424849699403, 6.6132264529058205, 7.014028056112224, 7.414829659318642, 7.815631262525059, 8.216432865731463, 8.61723446893788, 9.018036072144298, 9.418837675350701, 9.81963927855712, 10.220440881763537, 10.62124248496994, 11.022044088176358, 11.422845691382776, 11.823647294589179, 12.224448897795597, 12.625250501002014, 13.026052104208418, 13.426853707414836, 13.827655310621239, 14.228456913827657, 14.629258517034074, 15.030060120240478, 15.430861723446895, 15.831663326653313, 16.232464929859717, 16.633266533066134, 17.034068136272552, 17.434869739478955, 17.835671342685373, 18.23647294589179, 18.637274549098194, 19.038076152304612, 19.43887775551103, 19.839679358717433, 20.24048096192385, 20.64128256513027, 21.04208416833667, 21.44288577154309, 21.843687374749507, 22.24448897795591, 22.645290581162328, 23.046092184368746, 23.44689378757515, 23.847695390781567, 24.248496993987985, 24.649298597194388, 25.050100200400806, 25.450901803607223, 25.851703406813627, 26.252505010020045, 26.653306613226462, 27.054108216432866, 27.454909819639283, 27.8557114228457, 28.25651302605212, 28.657314629258508, 29.058116232464926, 29.458917835671343, 29.85971943887776, 30.26052104208418, 30.661322645290596, 31.062124248496986, 31.462925851703403, 31.86372745490982, 32.26452905811624, 32.665330661322656, 33.066132264529074, 33.46693386773546, 33.86773547094188, 34.2685370741483, 34.669338677354716, 35.070140280561134, 35.47094188376755, 35.87174348697394, 36.27254509018036, 36.673346693386776, 37.074148296593194, 37.47494989979961, 37.87575150300603, 38.27655310621242, 38.677354709418836, 39.078156312625254, 39.47895791583167, 39.87975951903809, 40.28056112224451, 40.681362725450896, 41.08216432865731, 41.48296593186373, 41.88376753507015, 42.28456913827657, 42.685370741482984, 43.08617234468937, 43.48697394789579, 43.88777555110221, 44.288577154308626, 44.689378757515044, 45.09018036072143, 45.49098196392785, 45.89178356713427, 46.292585170340686, 46.693386773547104, 47.09418837675352, 47.49498997995991, 47.89579158316633, 48.296593186372746, 48.697394789579164, 49.09819639278558, 49.498997995992, 49.89979959919839, 50.300601202404806, 50.701402805611224, 51.10220440881764, 51.50300601202406, 51.90380761523048, 52.304609218436866, 52.705410821643284, 53.1062124248497, 53.50701402805612, 53.90781563126254, 54.308617234468954, 54.709418837675344, 55.11022044088176, 55.51102204408818, 55.9118236472946, 56.312625250501014, 56.71342685370743, 57.11422845691382, 57.51503006012024, 57.91583166332666, 58.316633266533074, 58.71743486973949, 59.11823647294591, 59.5190380761523, 59.91983967935872, 60.320641282565134, 60.72144288577155, 61.12224448897797, 61.52304609218439, 61.923847695390776, 62.324649298597194, 62.72545090180361, 63.12625250501003, 63.52705410821645, 63.927855711422865, 64.32865731462925, 64.72945891783567, 65.13026052104209, 65.5310621242485, 65.93186372745492, 66.33266533066131, 66.73346693386773, 67.13426853707415, 67.53507014028057, 67.93587174348698, 68.3366733466934, 68.73747494989979, 69.13827655310621, 69.53907815631263, 69.93987975951904, 70.34068136272546, 70.74148296593188, 71.14228456913827, 71.54308617234469, 71.9438877755511, 72.34468937875752, 72.74549098196394, 73.14629258517036, 73.54709418837675, 73.94789579158316, 74.34869739478958, 74.749498997996, 75.15030060120242, 75.55110220440883, 75.95190380761522, 76.35270541082164, 76.75350701402806, 77.15430861723448, 77.5551102204409, 77.95591182364731, 78.3567134268537, 78.75751503006012, 79.15831663326654, 79.55911823647295, 79.95991983967937, 80.36072144288579, 80.76152304609218, 81.1623246492986, 81.56312625250501, 81.96392785571143, 82.36472945891785, 82.76553106212427, 83.16633266533066, 83.56713426853707, 83.96793587174349, 84.36873747494991, 84.76953907815633, 85.17034068136272, 85.57114228456913, 85.97194388777555, 86.37274549098197, 86.77354709418839, 87.1743486973948, 87.5751503006012, 87.97595190380761, 88.37675350701403, 88.77755511022045, 89.17835671342687, 89.57915831663328, 89.97995991983967, 90.38076152304609, 90.78156312625251, 91.18236472945893, 91.58316633266534, 91.98396793587176, 92.38476953907815, 92.78557114228457, 93.18637274549098, 93.5871743486974, 93.98797595190382, 94.38877755511024, 94.78957915831663, 95.19038076152304, 95.59118236472946, 95.99198396793588, 96.3927855711423, 96.79358717434872, 97.1943887775551, 97.59519038076152, 97.99599198396794, 98.39679358717436, 98.79759519038078, 99.1983967935872, 99.59919839679358, 100.0], "sigma": [1.0, 1.0180360721442885, 1.0360721442885772, 1.0541082164328657, 1.0721442885771544, 1.0901803607214429, 1.1082164328657313, 1.12625250501002, 1.1442885771543085, 1.1623246492985972, 1.1803607214428857, 1.1983967935871744, 1.216432865731463, 1.2344689378757514, 1.25250501002004, 1.2705410821643286, 1.2885771543086173, 1.3066132264529058, 1.3246492985971945, 1.342685370741483, 1.3607214428857715, 1.3787575150300602, 1.3967935871743486, 1.4148296593186374, 1.4328657314629258, 1.4509018036072145, 1.468937875751503, 1.4869739478957915, 1.5050100200400802, 1.5230460921843687, 1.5410821643286572, 1.559118236472946, 1.5771543086172346, 1.595190380761523, 1.6132264529058116, 1.6312625250501003, 1.6492985971943888, 1.6673346693386772, 1.685370741482966, 1.7034068136272547, 1.7214428857715431, 1.7394789579158316, 1.7575150300601203, 1.7755511022044088, 1.7935871743486973, 1.811623246492986, 1.8296593186372747, 1.8476953907815632, 1.8657314629258517, 1.8837675350701404, 1.9018036072144289, 1.9198396793587174, 1.937875751503006, 1.9559118236472948, 1.9739478957915833, 1.9919839679358717, 2.0100200400801604, 2.0280561122244487, 2.0460921843687374, 2.064128256513026, 2.0821643286573144, 2.1002004008016035, 2.118236472945892, 2.1362725450901805, 2.154308617234469, 2.1723446893787575, 2.190380761523046, 2.208416833667335, 2.226452905811623, 2.244488977955912, 2.2625250501002006, 2.280561122244489, 2.2985971943887775, 2.3166332665330662, 2.3346693386773545, 2.3527054108216436, 2.370741482965932, 2.38877755511022, 2.4068136272545093, 2.4248496993987976, 2.4428857715430863, 2.460921843687375, 2.4789579158316633, 2.496993987975952, 2.5150300601202407, 2.533066132264529, 2.5511022044088176, 2.5691382765531063, 2.5871743486973946, 2.6052104208416837, 2.623246492985972, 2.6412825651302603, 2.6593186372745494, 2.6773547094188377, 2.6953907815631264, 2.713426853707415, 2.7314629258517034, 2.749498997995992, 2.7675350701402808, 2.785571142284569, 2.8036072144288577, 2.8216432865731464, 2.8396793587174347, 2.8577154308617234, 2.875751503006012, 2.8937875751503004, 2.9118236472945895, 2.929859719438878, 2.9478957915831665, 2.965931863727455, 2.9839679358717435, 3.002004008016032, 3.020040080160321, 3.038076152304609, 3.056112224448898, 3.0741482965931866, 3.092184368737475, 3.1102204408817635, 3.1282565130260522, 3.146292585170341, 3.164328657314629, 3.182364729458918, 3.2004008016032066, 3.218436873747495, 3.2364729458917836, 3.2545090180360723, 3.272545090180361, 3.2905811623246493, 3.308617234468938, 3.3266533066132267, 3.344689378757515, 3.3627254509018036, 3.3807615230460923, 3.398797595190381, 3.4168336673346693, 3.434869739478958, 3.4529058116232467, 3.470941883767535, 3.4889779559118237, 3.5070140280561124, 3.525050100200401, 3.5430861723446894, 3.561122244488978, 3.579158316633267, 3.597194388777555, 3.6152304609218437, 3.6332665330661325, 3.651302605210421, 3.6693386773547094, 3.687374749498998, 3.705410821643287, 3.723446893787575, 3.741482965931864, 3.7595190380761525, 3.7775551102204408, 3.7955911823647295, 3.813627254509018, 3.831663326653307, 3.849699398797595, 3.867735470941884, 3.8857715430861726, 3.903807615230461, 3.9218436873747495, 3.9398797595190382, 3.957915831663327, 3.975951903807615, 3.993987975951904, 4.012024048096192, 4.030060120240481, 4.04809619238477, 4.066132264529058, 4.084168336673347, 4.102204408817635, 4.1202404809619235, 4.138276553106213, 4.156312625250501, 4.174348697394789, 4.192384769539078, 4.2104208416833675, 4.228456913827655, 4.246492985971944, 4.264529058116233, 4.2825651302605205, 4.30060120240481, 4.318637274549099, 4.336673346693387, 4.354709418837675, 4.3727454909819645, 4.390781563126253, 4.408817635270541, 4.42685370741483, 4.4448897795591185, 4.462925851703407, 4.480961923847696, 4.498997995991984, 4.517034068136272, 4.5350701402805615, 4.55310621242485, 4.571142284569138, 4.589178356713427, 4.6072144288577155, 4.625250501002004, 4.643286573146293, 4.661322645290581, 4.679358717434869, 4.697394789579159, 4.715430861723447, 4.733466933867735, 4.751503006012024, 4.769539078156313, 4.787575150300601, 4.80561122244489, 4.823647294589179, 4.841683366733466, 4.859719438877756, 4.877755511022045, 4.895791583166333, 4.913827655310621, 4.93186372745491, 4.949899799599199, 4.967935871743487, 4.985971943887776, 5.004008016032064, 5.022044088176353, 5.040080160320642, 5.05811623246493, 5.076152304609218, 5.094188376753507, 5.112224448897796, 5.130260521042084, 5.148296593186373, 5.166332665330661, 5.18436873747495, 5.202404809619239, 5.220440881763527, 5.238476953907816, 5.2565130260521045, 5.274549098196393, 5.292585170340682, 5.31062124248497, 5.328657314629258, 5.3466933867735476, 5.364729458917836, 5.382765531062124, 5.400801603206413, 5.4188376753507015, 5.43687374749499, 5.454909819639279, 5.472945891783567, 5.490981963927856, 5.509018036072145, 5.527054108216433, 5.545090180360722, 5.56312625250501, 5.5811623246492985, 5.599198396793588, 5.617234468937876, 5.635270541082164, 5.653306613226453, 5.671342685370742, 5.68937875751503, 5.707414829659319, 5.725450901803607, 5.7434869739478955, 5.761523046092185, 5.779559118236473, 5.797595190380762, 5.81563126252505, 5.833667334669339, 5.851703406813628, 5.869739478957916, 5.887775551102204, 5.9058116232464934, 5.923847695390782, 5.94188376753507, 5.959919839679359, 5.977955911823647, 5.995991983967936, 6.014028056112225, 6.032064128256513, 6.050100200400802, 6.0681362725450905, 6.086172344689379, 6.104208416833668, 6.122244488977956, 6.140280561122244, 6.158316633266534, 6.176352705410822, 6.19438877755511, 6.212424849699399, 6.2304609218436875, 6.248496993987976, 6.266533066132265, 6.284569138276553, 6.302605210420842, 6.320641282565131, 6.338677354709419, 6.356713426853708, 6.374749498997996, 6.3927855711422845, 6.410821643286574, 6.428857715430862, 6.44689378757515, 6.464929859719439, 6.482965931863728, 6.501002004008016, 6.519038076152305, 6.537074148296593, 6.5551102204408815, 6.573146292585171, 6.591182364729459, 6.609218436873748, 6.627254509018036, 6.645290581162325, 6.663326653306614, 6.681362725450902, 6.69939879759519, 6.7174348697394795, 6.735470941883768, 6.753507014028056, 6.771543086172345, 6.789579158316633, 6.807615230460922, 6.825651302605211, 6.843687374749499, 6.861723446893788, 6.8797595190380765, 6.897795591182365, 6.915831663326654, 6.933867735470942, 6.95190380761523, 6.96993987975952, 6.987975951903808, 7.006012024048096, 7.024048096192385, 7.0420841683366735, 7.060120240480962, 7.078156312625251, 7.096192384769539, 7.114228456913828, 7.132264529058117, 7.150300601202405, 7.168336673346694, 7.186372745490982, 7.2044088176352705, 7.22244488977956, 7.240480961923848, 7.258517034068136, 7.276553106212425, 7.294589178356714, 7.312625250501002, 7.330661322645291, 7.348697394789579, 7.3667334669338675, 7.384769539078157, 7.402805611222445, 7.420841683366734, 7.438877755511022, 7.456913827655311, 7.4749498997996, 7.492985971943888, 7.511022044088176, 7.5290581162324655, 7.547094188376754, 7.565130260521042, 7.583166332665331, 7.601202404809619, 7.619238476953908, 7.637274549098197, 7.655310621242485, 7.673346693386774, 7.6913827655310625, 7.709418837675351, 7.72745490981964, 7.745490981963928, 7.763527054108216, 7.781563126252506, 7.799599198396794, 7.817635270541082, 7.835671342685371, 7.8537074148296595, 7.871743486973948, 7.889779559118237, 7.907815631262525, 7.925851703406813, 7.943887775551103, 7.961923847695391, 7.97995991983968, 7.997995991983968, 8.016032064128257, 8.034068136272545, 8.052104208416834, 8.070140280561123, 8.08817635270541, 8.1062124248497, 8.124248496993989, 8.142284569138276, 8.160320641282565, 8.178356713426854, 8.196392785571142, 8.214428857715431, 8.23246492985972, 8.250501002004007, 8.268537074148297, 8.286573146292586, 8.304609218436873, 8.322645290581162, 8.340681362725451, 8.358717434869739, 8.376753507014028, 8.394789579158317, 8.412825651302605, 8.430861723446894, 8.448897795591183, 8.46693386773547, 8.484969939879761, 8.503006012024048, 8.521042084168336, 8.539078156312627, 8.557114228456914, 8.575150300601202, 8.593186372745492, 8.61122244488978, 8.629258517034067, 8.647294589178358, 8.665330661322646, 8.683366733466933, 8.701402805611224, 8.719438877755511, 8.737474949899799, 8.75551102204409, 8.773547094188377, 8.791583166332666, 8.809619238476955, 8.827655310621243, 8.845691382765532, 8.86372745490982, 8.881763527054108, 8.899799599198397, 8.917835671342687, 8.935871743486974, 8.953907815631263, 8.971943887775552, 8.98997995991984, 9.008016032064129, 9.026052104208418, 9.044088176352705, 9.062124248496994, 9.080160320641284, 9.098196392785571, 9.11623246492986, 9.13426853707415, 9.152304609218437, 9.170340681362726, 9.188376753507015, 9.206412825651302, 9.224448897795591, 9.24248496993988, 9.260521042084168, 9.278557114228457, 9.296593186372746, 9.314629258517034, 9.332665330661323, 9.350701402805612, 9.3687374749499, 9.386773547094188, 9.404809619238478, 9.422845691382767, 9.440881763527054, 9.458917835671343, 9.476953907815632, 9.49498997995992, 9.513026052104209, 9.531062124248498, 9.549098196392785, 9.567134268537075, 9.585170340681364, 9.603206412825651, 9.62124248496994, 9.63927855711423, 9.657314629258517, 9.675350701402806, 9.693386773547095, 9.711422845691382, 9.729458917835672, 9.74749498997996, 9.765531062124248, 9.783567134268537, 9.801603206412826, 9.819639278557114, 9.837675350701403, 9.855711422845692, 9.87374749498998, 9.891783567134269, 9.909819639278558, 9.927855711422845, 9.945891783567134, 9.963927855711423, 9.981963927855713, 10.0], "expected": [0.11685027506808487, 0.1211033264331077, 0.12543240056334448, 0.12983749745879514, 0.13431861711945975, 0.13887575954533823, 0.14350892473643062, 0.14821811269273696, 0.15300332341425718, 0.15786455690099138, 0.16280181315293943, 0.16781509217010143, 0.17290439395247734, 0.1780697185000671, 0.18331106581287085, 0.18862843589088849, 0.19402182873412005, 0.1994912443425655, 0.20503668271622494, 0.21065814385509818, 0.21635562775918535, 0.2221291344284865, 0.22797866386300153, 0.2339042160627305, 0.23990579102767332, 0.24598338875783016, 0.2521370092532008, 0.2583666525137854, 0.26467231853958395, 0.27105400733059637, 0.27751171888682263, 0.28404545320826297, 0.2906552102949172, 0.2973409901467852, 0.3041027927638672, 0.3109406181461632, 0.3178544662936729, 0.32484433720639666, 0.33191023088433436, 0.33905214732748595, 0.3462700865358514, 0.3535640485094308, 0.36093403324822415, 0.3683800407522313, 0.37590207102145246, 0.3835001240558875, 0.39117419985553653, 0.3989242984203994, 0.40675041975047616, 0.41465256384576693, 0.4226307307062715, 0.43068492033199, 0.4388151327229225, 0.4470213678790689, 0.45530362580042916, 0.4636619064870033, 0.4720962099387914, 0.48060653615579335, 0.4891928851380093, 0.4978552568854392, 0.5065936513980829, 0.5154080686759408, 0.5242985087190122, 0.5332649715272978, 0.5423074571007973, 0.5514259654395104, 0.5606204965434377, 0.5698910504125789, 0.5792376270469339, 0.588660226446503, 0.5981588486112859, 0.6077334935412825, 0.6173841612364933, 0.6271108516969179, 0.6369135649225564, 0.6467923009134092, 0.6567470596694754, 0.6667778411907554, 0.67688464547725, 0.687067472528958, 0.69732632234588, 0.707661194928016, 0.7180720902753658, 0.7285590083879296, 0.7391219492657074, 0.7497609129086988, 0.7604758993169044, 0.7712669084903239, 0.7821339404289571, 0.7930769951328047, 0.8040960726018657, 0.8151911728361405, 0.8263622958356299, 0.8376094416003326, 0.8489326101302495, 0.8603318014253805, 0.8718070154857248, 0.8833582523112835, 0.894985511902056, 0.9066887942580422, 0.9184680993792426, 0.930323427265657, 0.9422547779172848, 0.954262151334127, 0.9663455475161831, 0.9785049664634526, 0.9907404081759368, 1.0030518726536344, 1.015439359896546, 1.0279028699046717, 1.040442402678011, 1.0530579582165644, 1.0657495365203318, 1.0785171375893126, 1.091360761423508, 1.1042804080229172, 1.1172760773875396, 1.1303477695173767, 1.1434954844124274, 1.1567192220726923, 1.1700189824981708, 1.1833947656888633, 1.1968465716447698, 1.2103744003658898, 1.2239782518522242, 1.2376581261037725, 1.2514140231205346, 1.2652459429025105, 1.2791538854497004, 1.2931378507621043, 1.3071978388397216, 1.3213338496825535, 1.335545883290599, 1.3498339396638586, 1.364198018802332, 1.3786381207060192, 1.3931542453749206, 1.4077463928090355, 1.4224145630083644, 1.4371587559729075, 1.4519789717026645, 1.4668752101976352, 1.4818474714578198, 1.4968957554832185, 1.512020062273831, 1.5272203918296574, 1.542496744150698, 1.5578491192369524, 1.5732775170884201, 1.5887819377051022, 1.6043623810869985, 1.620018847234108, 1.635751336146432, 1.65155984782397, 1.6674443822667213, 1.6834049394746868, 1.6994415194478665, 1.71555412218626, 1.731742747689867, 1.7480073959586886, 1.7643480669927236, 1.7807647607919725, 1.7972574773564356, 1.8138262166861125, 1.8304709787810034, 1.8471917636411077, 1.8639885712664266, 1.880861401656959, 1.8978102548127058, 1.9148351307336657, 1.9319360294198398, 1.9491129508712286, 1.9663658950878304, 1.9836948620696462, 2.0010998518166767, 2.01858086432892, 2.0361378996063775, 2.05377095764905, 2.071480038456936, 2.0892651420300345, 2.1071262683683485, 2.125063417471876, 2.143076589340616, 2.161165783974572, 2.1793310013737415, 2.1975722415381242, 2.2158895044677207, 2.234282790162532, 2.2527520986225564, 2.271297429847795, 2.289918783838248, 2.308616160593914, 2.3273895601147943, 2.346238982400889, 2.3651644274521972, 2.384165895268719, 2.4032433858504554, 2.4223968991974054, 2.4416264353095682, 2.460931994186947, 2.480313575829538, 2.4997711802373437, 2.519304807410364, 2.538914457348597, 2.558600130052044, 2.5783618255207057, 2.5981995437545806, 2.6181132847536692, 2.638103048517973, 2.6581688350474906, 2.6783106443422198, 2.6985284764021653, 2.7188223312273245, 2.739192208817696, 2.759638109173283, 2.780160032294084, 2.800757978180098, 2.821431946831326, 2.842181938247769, 2.8630079524294243, 2.883909989376294, 2.904888049088379, 2.9259421315656757, 2.9470722368081876, 2.9682783648159132, 2.989560515588853, 3.0109186891270054, 3.032352885430374, 3.053863104498955, 3.0754493463327495, 3.0971116109317594, 3.118849898295982, 3.1406642084254184, 3.1625545413200697, 3.1845208969799343, 3.206563275405014, 3.228681676595306, 3.2508761005508124, 3.273146547271533, 3.2954930167574674, 3.3179155090086154, 3.340414024024978, 3.362988561806554, 3.385639122353343, 3.408365705665348, 3.431168311742565, 3.4540469405849965, 3.4770015921926434, 3.500032266565502, 3.5231389637035764, 3.546321683606863, 3.569580426275364, 3.59291519170908, 3.6163259799080087, 3.639812790872152, 3.663375624601509, 3.68701448109608, 3.7107293603558635, 3.7345202623808635, 3.7583871871710754, 3.7823301347265015, 3.806349105047143, 3.830444098132997, 3.8546151139840648, 3.8788621526003473, 3.9031852139818435, 3.927584298128554, 3.9520594050404774, 3.976610534717615, 4.001237687159967, 4.025940862367532, 4.0507200603403115, 4.075575281078306, 4.1005065245815135, 4.125513790849934, 4.15059707988357, 4.175756391682419, 4.200991726246481, 4.2263030835757585, 4.25169046367025, 4.2771538665299556, 4.302693292154873, 4.328308740545006, 4.3540002117003525, 4.379767705620913, 4.405611222306686, 4.431530761757676, 4.457526323973878, 4.483597908955293, 4.5097455167019245, 4.535969147213767, 4.562268800490825, 4.588644476533098, 4.615096175340582, 4.641623896913283, 4.668227641251196, 4.694907408354323, 4.721663198222665, 4.74849501085622, 4.775402846254989, 4.802386704418972, 4.82944658534817, 4.856582489042579, 4.883794415502205, 4.911082364727044, 4.938446336717096, 4.965886331472364, 4.993402348992843, 5.020994389278537, 5.048662452329446, 5.076406538145568, 5.104226646726905, 5.132122778073454, 5.160094932185218, 5.188143109062197, 5.2162673087043885, 5.244467531111793, 5.272743776284414, 5.3010960442222474, 5.329524334925294, 5.358028648393557, 5.38660898462703, 5.41526534362572, 5.4439977253896235, 5.47280612991874, 5.501690557213072, 5.530651007272616, 5.559687480097375, 5.588799975687348, 5.617988494042534, 5.647253035162934, 5.676593599048549, 5.706010185699378, 5.735502795115418, 5.765071427296676, 5.794716082243145, 5.824436759954829, 5.854233460431727, 5.884106183673839, 5.914054929681166, 5.944079698453704, 5.974180489991458, 6.004357304294426, 6.034610141362607, 6.064939001196002, 6.0953438837946115, 6.125824789158434, 6.156381717287471, 6.187014668181723, 6.217723641841187, 6.248508638265865, 6.279369657455759, 6.310306699410865, 6.341319764131185, 6.37240885161672, 6.403573961867468, 6.434815094883431, 6.466132250664607, 6.497525429210997, 6.528994630522601, 6.560539854599419, 6.59216110144145, 6.623858371048697, 6.655631663421156, 6.6874809785588285, 6.7194063164617175, 6.751407677129818, 6.783485060563133, 6.815638466761663, 6.847867895725406, 6.880173347454363, 6.912554821948534, 6.945012319207919, 6.977545839232518, 7.01015538202233, 7.042840947577356, 7.075602535897598, 7.108440146983052, 7.14135378083372, 7.174343437449603, 7.207409116830698, 7.240550818977008, 7.273768543888533, 7.307062291565271, 7.340432062007222, 7.373877855214388, 7.407399671186768, 7.440997509924362, 7.474671371427169, 7.5084212556951915, 7.542247162728424, 7.576149092526875, 7.610127045090539, 7.644181020419414, 7.678311018513505, 7.712517039372812, 7.746799082997329, 7.781157149387062, 7.8155912385420105, 7.850101350462168, 7.884687485147544, 7.919349642598133, 7.954087822813933, 7.988902025794951, 8.023792251541181, 8.058758500052624, 8.093800771329283, 8.128919065371155, 8.16411338217824, 8.19938372175054, 8.234730084088055, 8.27015246919078, 8.305650877058723, 8.341225307691879, 8.376875761090245, 8.412602237253832, 8.448404736182628, 8.484283257876637, 8.520237802335865, 8.556268369560303, 8.592374959549952, 8.628557572304823, 8.664816207824902, 8.701150866110194, 8.737561547160707, 8.774048250976428, 8.810610977557362, 8.847249726903515, 8.883964499014878, 8.920755293891453, 8.957622111533249, 8.994564951940252, 9.031583815112475, 9.068678701049908, 9.105849609752553, 9.143096541220418, 9.180419495453494, 9.21781847245178, 9.255293472215284, 9.292844494744003, 9.33047154003793, 9.368174608097076, 9.405953698921438, 9.443808812511007, 9.481739948865794, 9.519747107985797, 9.55783028987101, 9.595989494521438, 9.634224721937082, 9.672535972117936, 9.710923245064008, 9.749386540775292, 9.787925859251787, 9.826541200493502, 9.865232564500428, 9.903999951272564, 9.94284336080992, 9.98176279311249, 10.020758248180266, 10.059829726013263, 10.098977226611476, 10.138200749974894, 10.177500296103533, 10.216875864997386, 10.256327456656448, 10.295855071080728, 10.33545870827022, 10.375138368224931, 10.414894050944849, 10.454725756429983, 10.494633484680334, 10.534617235695894, 10.57467700947667, 10.61481280602266, 10.655024625333864, 10.695312467410282, 10.735676332251915, 10.77611621985876, 10.81663213023082, 10.857224063368095, 10.89789201927058, 10.938635997938283, 10.979455999371199, 11.020352023569325, 11.06132407053267, 11.10237214026123, 11.143496232754996, 11.184696348013984, 11.225972486038184, 11.267324646827593, 11.30875283038222, 11.350257036702065, 11.391837265787116, 11.433493517637384, 11.47522579225287, 11.517034089633562, 11.558918409779473, 11.600878752690598, 11.64291511836694, 11.685027506808488]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_small_sigma.json b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_small_sigma.json new file mode 100644 index 000000000000..194639e054a7 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/large_mu_small_sigma.json @@ -0,0 +1 @@ +{"mu": [-100.0, -99.59919839679358, -99.19839679358718, -98.79759519038076, -98.39679358717434, -97.99599198396794, -97.59519038076152, -97.1943887775551, -96.7935871743487, -96.39278557114228, -95.99198396793587, -95.59118236472946, -95.19038076152304, -94.78957915831663, -94.38877755511022, -93.9879759519038, -93.58717434869739, -93.18637274549098, -92.78557114228457, -92.38476953907815, -91.98396793587175, -91.58316633266533, -91.18236472945893, -90.78156312625251, -90.38076152304609, -89.97995991983967, -89.57915831663327, -89.17835671342685, -88.77755511022045, -88.37675350701403, -87.97595190380761, -87.5751503006012, -87.17434869739479, -86.77354709418837, -86.37274549098197, -85.97194388777555, -85.57114228456913, -85.17034068136273, -84.76953907815631, -84.3687374749499, -83.96793587174349, -83.56713426853707, -83.16633266533066, -82.76553106212424, -82.36472945891784, -81.96392785571142, -81.56312625250501, -81.1623246492986, -80.76152304609218, -80.36072144288578, -79.95991983967936, -79.55911823647294, -79.15831663326654, -78.75751503006012, -78.3567134268537, -77.9559118236473, -77.55511022044088, -77.15430861723446, -76.75350701402806, -76.35270541082164, -75.95190380761522, -75.55110220440882, -75.1503006012024, -74.749498997996, -74.34869739478958, -73.94789579158316, -73.54709418837675, -73.14629258517034, -72.74549098196393, -72.34468937875752, -71.9438877755511, -71.54308617234469, -71.14228456913827, -70.74148296593187, -70.34068136272545, -69.93987975951904, -69.53907815631263, -69.13827655310621, -68.73747494989979, -68.33667334669339, -67.93587174348697, -67.53507014028057, -67.13426853707415, -66.73346693386773, -66.33266533066131, -65.93186372745491, -65.53106212424849, -65.13026052104209, -64.72945891783567, -64.32865731462925, -63.92785571142284, -63.52705410821643, -63.12625250501002, -62.725450901803605, -62.324649298597194, -61.92384769539078, -61.523046092184366, -61.122244488977955, -60.721442885771545, -60.32064128256513, -59.91983967935872, -59.519038076152306, -59.11823647294589, -58.71743486973948, -58.31663326653307, -57.91583166332665, -57.51503006012024, -57.11422845691383, -56.71342685370741, -56.312625250501, -55.91182364729459, -55.51102204408817, -55.11022044088176, -54.70941883767535, -54.30861723446893, -53.90781563126252, -53.50701402805611, -53.1062124248497, -52.705410821643284, -52.30460921843687, -51.90380761523046, -51.503006012024045, -51.102204408817634, -50.701402805611224, -50.300601202404806, -49.899799599198396, -49.498997995991985, -49.09819639278557, -48.69739478957916, -48.296593186372746, -47.89579158316633, -47.49498997995992, -47.09418837675351, -46.69338677354709, -46.29258517034068, -45.89178356713427, -45.49098196392785, -45.09018036072144, -44.68937875751503, -44.28857715430861, -43.8877755511022, -43.48697394789579, -43.08617234468938, -42.68537074148296, -42.28456913827655, -41.88376753507014, -41.482965931863724, -41.08216432865731, -40.6813627254509, -40.280561122244485, -39.879759519038075, -39.478957915831664, -39.07815631262525, -38.677354709418836, -38.276553106212425, -37.87575150300601, -37.4749498997996, -37.07414829659319, -36.67334669338677, -36.27254509018036, -35.87174348697394, -35.47094188376754, -35.07014028056112, -34.6693386773547, -34.2685370741483, -33.86773547094188, -33.46693386773546, -33.06613226452906, -32.66533066132264, -32.264529058116224, -31.86372745490982, -31.462925851703403, -31.062124248496986, -30.661322645290582, -30.260521042084164, -29.859719438877747, -29.458917835671343, -29.058116232464926, -28.657314629258508, -28.256513026052104, -27.855711422845687, -27.454909819639283, -27.054108216432866, -26.653306613226448, -26.252505010020045, -25.851703406813627, -25.45090180360721, -25.050100200400806, -24.649298597194388, -24.24849699398797, -23.847695390781567, -23.44689378757515, -23.04609218436873, -22.645290581162328, -22.24448897795591, -21.843687374749493, -21.44288577154309, -21.04208416833667, -20.641282565130254, -20.24048096192385, -19.839679358717433, -19.438877755511015, -19.038076152304612, -18.637274549098194, -18.236472945891776, -17.835671342685373, -17.434869739478955, -17.034068136272538, -16.633266533066134, -16.232464929859717, -15.831663326653299, -15.430861723446895, -15.030060120240478, -14.62925851703406, -14.228456913827657, -13.827655310621239, -13.426853707414821, -13.026052104208418, -12.625250501002, -12.224448897795583, -11.823647294589179, -11.422845691382761, -11.022044088176344, -10.62124248496994, -10.220440881763523, -9.819639278557105, -9.418837675350701, -9.018036072144284, -8.617234468937866, -8.216432865731463, -7.815631262525045, -7.414829659318642, -7.014028056112224, -6.613226452905806, -6.212424849699403, -5.811623246492985, -5.4108216432865675, -5.010020040080164, -4.609218436873746, -4.208416833667329, -3.807615230460925, -3.4068136272545075, -3.00601202404809, -2.6052104208416864, -2.2044088176352687, -1.803607214428851, -1.4028056112224476, -1.00200400801603, -0.6012024048096123, -0.20040080160320883, 0.20040080160320883, 0.6012024048096265, 1.00200400801603, 1.4028056112224476, 1.8036072144288653, 2.2044088176352687, 2.6052104208416864, 3.006012024048104, 3.4068136272545075, 3.807615230460925, 4.208416833667343, 4.609218436873746, 5.010020040080164, 5.410821643286582, 5.811623246492985, 6.212424849699403, 6.6132264529058205, 7.014028056112224, 7.414829659318642, 7.815631262525059, 8.216432865731463, 8.61723446893788, 9.018036072144298, 9.418837675350701, 9.81963927855712, 10.220440881763537, 10.62124248496994, 11.022044088176358, 11.422845691382776, 11.823647294589179, 12.224448897795597, 12.625250501002014, 13.026052104208418, 13.426853707414836, 13.827655310621239, 14.228456913827657, 14.629258517034074, 15.030060120240478, 15.430861723446895, 15.831663326653313, 16.232464929859717, 16.633266533066134, 17.034068136272552, 17.434869739478955, 17.835671342685373, 18.23647294589179, 18.637274549098194, 19.038076152304612, 19.43887775551103, 19.839679358717433, 20.24048096192385, 20.64128256513027, 21.04208416833667, 21.44288577154309, 21.843687374749507, 22.24448897795591, 22.645290581162328, 23.046092184368746, 23.44689378757515, 23.847695390781567, 24.248496993987985, 24.649298597194388, 25.050100200400806, 25.450901803607223, 25.851703406813627, 26.252505010020045, 26.653306613226462, 27.054108216432866, 27.454909819639283, 27.8557114228457, 28.25651302605212, 28.657314629258508, 29.058116232464926, 29.458917835671343, 29.85971943887776, 30.26052104208418, 30.661322645290596, 31.062124248496986, 31.462925851703403, 31.86372745490982, 32.26452905811624, 32.665330661322656, 33.066132264529074, 33.46693386773546, 33.86773547094188, 34.2685370741483, 34.669338677354716, 35.070140280561134, 35.47094188376755, 35.87174348697394, 36.27254509018036, 36.673346693386776, 37.074148296593194, 37.47494989979961, 37.87575150300603, 38.27655310621242, 38.677354709418836, 39.078156312625254, 39.47895791583167, 39.87975951903809, 40.28056112224451, 40.681362725450896, 41.08216432865731, 41.48296593186373, 41.88376753507015, 42.28456913827657, 42.685370741482984, 43.08617234468937, 43.48697394789579, 43.88777555110221, 44.288577154308626, 44.689378757515044, 45.09018036072143, 45.49098196392785, 45.89178356713427, 46.292585170340686, 46.693386773547104, 47.09418837675352, 47.49498997995991, 47.89579158316633, 48.296593186372746, 48.697394789579164, 49.09819639278558, 49.498997995992, 49.89979959919839, 50.300601202404806, 50.701402805611224, 51.10220440881764, 51.50300601202406, 51.90380761523048, 52.304609218436866, 52.705410821643284, 53.1062124248497, 53.50701402805612, 53.90781563126254, 54.308617234468954, 54.709418837675344, 55.11022044088176, 55.51102204408818, 55.9118236472946, 56.312625250501014, 56.71342685370743, 57.11422845691382, 57.51503006012024, 57.91583166332666, 58.316633266533074, 58.71743486973949, 59.11823647294591, 59.5190380761523, 59.91983967935872, 60.320641282565134, 60.72144288577155, 61.12224448897797, 61.52304609218439, 61.923847695390776, 62.324649298597194, 62.72545090180361, 63.12625250501003, 63.52705410821645, 63.927855711422865, 64.32865731462925, 64.72945891783567, 65.13026052104209, 65.5310621242485, 65.93186372745492, 66.33266533066131, 66.73346693386773, 67.13426853707415, 67.53507014028057, 67.93587174348698, 68.3366733466934, 68.73747494989979, 69.13827655310621, 69.53907815631263, 69.93987975951904, 70.34068136272546, 70.74148296593188, 71.14228456913827, 71.54308617234469, 71.9438877755511, 72.34468937875752, 72.74549098196394, 73.14629258517036, 73.54709418837675, 73.94789579158316, 74.34869739478958, 74.749498997996, 75.15030060120242, 75.55110220440883, 75.95190380761522, 76.35270541082164, 76.75350701402806, 77.15430861723448, 77.5551102204409, 77.95591182364731, 78.3567134268537, 78.75751503006012, 79.15831663326654, 79.55911823647295, 79.95991983967937, 80.36072144288579, 80.76152304609218, 81.1623246492986, 81.56312625250501, 81.96392785571143, 82.36472945891785, 82.76553106212427, 83.16633266533066, 83.56713426853707, 83.96793587174349, 84.36873747494991, 84.76953907815633, 85.17034068136272, 85.57114228456913, 85.97194388777555, 86.37274549098197, 86.77354709418839, 87.1743486973948, 87.5751503006012, 87.97595190380761, 88.37675350701403, 88.77755511022045, 89.17835671342687, 89.57915831663328, 89.97995991983967, 90.38076152304609, 90.78156312625251, 91.18236472945893, 91.58316633266534, 91.98396793587176, 92.38476953907815, 92.78557114228457, 93.18637274549098, 93.5871743486974, 93.98797595190382, 94.38877755511024, 94.78957915831663, 95.19038076152304, 95.59118236472946, 95.99198396793588, 96.3927855711423, 96.79358717434872, 97.1943887775551, 97.59519038076152, 97.99599198396794, 98.39679358717436, 98.79759519038078, 99.1983967935872, 99.59919839679358, 100.0], "sigma": [0.1, 0.10180360721442887, 0.10360721442885772, 0.10541082164328658, 0.10721442885771544, 0.10901803607214429, 0.11082164328657315, 0.11262525050100201, 0.11442885771543086, 0.11623246492985972, 0.11803607214428859, 0.11983967935871745, 0.1216432865731463, 0.12344689378757516, 0.12525050100200402, 0.12705410821643287, 0.12885771543086172, 0.1306613226452906, 0.13246492985971944, 0.13426853707414832, 0.13607214428857717, 0.13787575150300602, 0.13967935871743486, 0.14148296593186374, 0.1432865731462926, 0.14509018036072147, 0.14689378757515031, 0.14869739478957916, 0.150501002004008, 0.1523046092184369, 0.15410821643286574, 0.1559118236472946, 0.15771543086172346, 0.1595190380761523, 0.16132264529058116, 0.16312625250501003, 0.16492985971943888, 0.16673346693386776, 0.1685370741482966, 0.17034068136272545, 0.1721442885771543, 0.17394789579158318, 0.17575150300601203, 0.1775551102204409, 0.17935871743486975, 0.1811623246492986, 0.18296593186372745, 0.18476953907815633, 0.18657314629258517, 0.18837675350701405, 0.1901803607214429, 0.19198396793587175, 0.1937875751503006, 0.19559118236472947, 0.19739478957915832, 0.1991983967935872, 0.20100200400801604, 0.2028056112224449, 0.20460921843687374, 0.20641282565130262, 0.20821643286573147, 0.21002004008016034, 0.2118236472945892, 0.21362725450901804, 0.2154308617234469, 0.21723446893787576, 0.2190380761523046, 0.2208416833667335, 0.22264529058116234, 0.22444889779559118, 0.22625250501002006, 0.2280561122244489, 0.22985971943887776, 0.23166332665330663, 0.23346693386773548, 0.23527054108216433, 0.2370741482965932, 0.23887775551102206, 0.2406813627254509, 0.24248496993987978, 0.24428857715430863, 0.24609218436873748, 0.24789579158316635, 0.2496993987975952, 0.251503006012024, 0.2533066132264529, 0.2551102204408818, 0.2569138276553106, 0.2587174348697395, 0.2605210420841684, 0.2623246492985972, 0.26412825651302607, 0.2659318637274549, 0.26773547094188377, 0.2695390781563126, 0.27134268537074147, 0.2731462925851703, 0.2749498997995992, 0.27675350701402807, 0.2785571142284569, 0.2803607214428858, 0.28216432865731467, 0.2839679358717435, 0.28577154308617236, 0.2875751503006012, 0.28937875751503006, 0.2911823647294589, 0.29298597194388776, 0.2947895791583166, 0.2965931863727455, 0.29839679358717436, 0.3002004008016032, 0.3020040080160321, 0.30380761523046096, 0.3056112224448898, 0.30741482965931866, 0.3092184368737475, 0.31102204408817635, 0.3128256513026052, 0.31462925851703405, 0.3164328657314629, 0.3182364729458918, 0.32004008016032065, 0.3218436873747495, 0.3236472945891784, 0.32545090180360725, 0.3272545090180361, 0.32905811623246495, 0.3308617234468938, 0.33266533066132264, 0.3344689378757515, 0.33627254509018034, 0.3380761523046092, 0.3398797595190381, 0.34168336673346694, 0.3434869739478958, 0.3452905811623247, 0.34709418837675354, 0.3488977955911824, 0.35070140280561124, 0.3525050100200401, 0.35430861723446894, 0.3561122244488978, 0.35791583166332663, 0.3597194388777555, 0.36152304609218433, 0.3633266533066133, 0.36513026052104214, 0.366933867735471, 0.36873747494989983, 0.3705410821643287, 0.37234468937875753, 0.3741482965931864, 0.37595190380761523, 0.3777555110220441, 0.3795591182364729, 0.3813627254509018, 0.3831663326653306, 0.3849699398797596, 0.38677354709418843, 0.3885771543086173, 0.3903807615230461, 0.392184368737475, 0.3939879759519038, 0.39579158316633267, 0.3975951903807615, 0.39939879759519037, 0.4012024048096192, 0.40300601202404807, 0.4048096192384769, 0.4066132264529059, 0.4084168336673347, 0.41022044088176357, 0.4120240480961924, 0.41382765531062127, 0.4156312625250501, 0.41743486973947896, 0.4192384769539078, 0.42104208416833666, 0.4228456913827655, 0.42464929859719436, 0.4264529058116232, 0.42825651302605217, 0.430060120240481, 0.43186372745490986, 0.4336673346693387, 0.43547094188376756, 0.4372745490981964, 0.43907815631262526, 0.4408817635270541, 0.44268537074148295, 0.4444889779559118, 0.44629258517034065, 0.4480961923847695, 0.44989979959919846, 0.4517034068136273, 0.45350701402805615, 0.455310621242485, 0.45711422845691385, 0.4589178356713427, 0.46072144288577155, 0.4625250501002004, 0.46432865731462925, 0.4661322645290581, 0.46793587174348694, 0.4697394789579158, 0.47154308617234475, 0.4733466933867736, 0.47515030060120245, 0.4769539078156313, 0.47875751503006014, 0.480561122244489, 0.48236472945891784, 0.4841683366733467, 0.48597194388777554, 0.4877755511022044, 0.48957915831663323, 0.4913827655310621, 0.49318637274549104, 0.4949899799599199, 0.49679358717434874, 0.4985971943887776, 0.5004008016032064, 0.5022044088176353, 0.5040080160320641, 0.505811623246493, 0.5076152304609218, 0.5094188376753507, 0.5112224448897795, 0.5130260521042084, 0.5148296593186373, 0.5166332665330662, 0.518436873747495, 0.5202404809619239, 0.5220440881763527, 0.5238476953907816, 0.5256513026052104, 0.5274549098196393, 0.5292585170340681, 0.531062124248497, 0.5328657314629258, 0.5346693386773547, 0.5364729458917836, 0.5382765531062125, 0.5400801603206413, 0.5418837675350702, 0.543687374749499, 0.5454909819639279, 0.5472945891783567, 0.5490981963927856, 0.5509018036072144, 0.5527054108216433, 0.5545090180360721, 0.556312625250501, 0.5581162324649299, 0.5599198396793588, 0.5617234468937876, 0.5635270541082165, 0.5653306613226453, 0.5671342685370742, 0.568937875751503, 0.5707414829659319, 0.5725450901803607, 0.5743486973947896, 0.5761523046092184, 0.5779559118236474, 0.5797595190380762, 0.5815631262525051, 0.5833667334669339, 0.5851703406813628, 0.5869739478957916, 0.5887775551102205, 0.5905811623246493, 0.5923847695390781, 0.594188376753507, 0.5959919839679358, 0.5977955911823647, 0.5995991983967937, 0.6014028056112224, 0.6032064128256512, 0.6050100200400802, 0.606813627254509, 0.6086172344689379, 0.6104208416833667, 0.6122244488977956, 0.6140280561122244, 0.6158316633266533, 0.6176352705410821, 0.619438877755511, 0.6212424849699398, 0.6230460921843687, 0.6248496993987975, 0.6266533066132265, 0.6284569138276553, 0.6302605210420842, 0.632064128256513, 0.6338677354709419, 0.6356713426853707, 0.6374749498997996, 0.6392785571142284, 0.6410821643286573, 0.6428857715430861, 0.644689378757515, 0.6464929859719438, 0.6482965931863728, 0.6501002004008016, 0.6519038076152305, 0.6537074148296593, 0.6555110220440882, 0.657314629258517, 0.6591182364729459, 0.6609218436873747, 0.6627254509018036, 0.6645290581162324, 0.6663326653306613, 0.6681362725450901, 0.6699398797595191, 0.6717434869739479, 0.6735470941883768, 0.6753507014028056, 0.6771543086172345, 0.6789579158316633, 0.6807615230460922, 0.682565130260521, 0.6843687374749499, 0.6861723446893787, 0.6879759519038076, 0.6897795591182364, 0.6915831663326654, 0.6933867735470942, 0.6951903807615231, 0.6969939879759519, 0.6987975951903808, 0.7006012024048096, 0.7024048096192385, 0.7042084168336673, 0.7060120240480962, 0.707815631262525, 0.7096192384769539, 0.7114228456913827, 0.7132264529058117, 0.7150300601202405, 0.7168336673346694, 0.7186372745490982, 0.720440881763527, 0.7222444889779559, 0.7240480961923847, 0.7258517034068136, 0.7276553106212424, 0.7294589178356713, 0.7312625250501001, 0.733066132264529, 0.734869739478958, 0.7366733466933868, 0.7384769539078156, 0.7402805611222445, 0.7420841683366733, 0.7438877755511022, 0.745691382765531, 0.7474949899799599, 0.7492985971943887, 0.7511022044088176, 0.7529058116232464, 0.7547094188376753, 0.7565130260521042, 0.7583166332665331, 0.7601202404809619, 0.7619238476953908, 0.7637274549098196, 0.7655310621242485, 0.7673346693386773, 0.7691382765531062, 0.770941883767535, 0.7727454909819639, 0.7745490981963927, 0.7763527054108216, 0.7781563126252505, 0.7799599198396794, 0.7817635270541082, 0.7835671342685371, 0.7853707414829659, 0.7871743486973948, 0.7889779559118236, 0.7907815631262525, 0.7925851703406813, 0.7943887775551102, 0.796192384769539, 0.797995991983968, 0.7997995991983968, 0.8016032064128257, 0.8034068136272545, 0.8052104208416834, 0.8070140280561122, 0.8088176352705411, 0.8106212424849699, 0.8124248496993988, 0.8142284569138276, 0.8160320641282565, 0.8178356713426853, 0.8196392785571143, 0.8214428857715431, 0.823246492985972, 0.8250501002004008, 0.8268537074148297, 0.8286573146292585, 0.8304609218436874, 0.8322645290581162, 0.8340681362725451, 0.8358717434869739, 0.8376753507014028, 0.8394789579158316, 0.8412825651302606, 0.8430861723446894, 0.8448897795591183, 0.8466933867735471, 0.848496993987976, 0.8503006012024048, 0.8521042084168337, 0.8539078156312625, 0.8557114228456913, 0.8575150300601202, 0.859318637274549, 0.8611222444889779, 0.8629258517034069, 0.8647294589178357, 0.8665330661322646, 0.8683366733466934, 0.8701402805611222, 0.8719438877755511, 0.87374749498998, 0.8755511022044088, 0.8773547094188376, 0.8791583166332665, 0.8809619238476953, 0.8827655310621242, 0.8845691382765531, 0.886372745490982, 0.8881763527054108, 0.8899799599198397, 0.8917835671342685, 0.8935871743486974, 0.8953907815631262, 0.8971943887775551, 0.8989979959919839, 0.9008016032064128, 0.9026052104208416, 0.9044088176352705, 0.9062124248496994, 0.9080160320641283, 0.9098196392785571, 0.911623246492986, 0.9134268537074148, 0.9152304609218437, 0.9170340681362725, 0.9188376753507014, 0.9206412825651302, 0.9224448897795591, 0.9242484969939879, 0.9260521042084168, 0.9278557114228457, 0.9296593186372746, 0.9314629258517034, 0.9332665330661323, 0.9350701402805611, 0.93687374749499, 0.9386773547094188, 0.9404809619238477, 0.9422845691382765, 0.9440881763527054, 0.9458917835671342, 0.9476953907815631, 0.949498997995992, 0.9513026052104209, 0.9531062124248497, 0.9549098196392786, 0.9567134268537074, 0.9585170340681363, 0.9603206412825651, 0.962124248496994, 0.9639278557114228, 0.9657314629258517, 0.9675350701402805, 0.9693386773547094, 0.9711422845691383, 0.9729458917835672, 0.974749498997996, 0.9765531062124249, 0.9783567134268537, 0.9801603206412826, 0.9819639278557114, 0.9837675350701403, 0.9855711422845691, 0.987374749498998, 0.9891783567134268, 0.9909819639278556, 0.9927855711422846, 0.9945891783567135, 0.9963927855711423, 0.9981963927855712, 1.0], "expected": [0.001168502750680849, 0.0012110332643310775, 0.001254324005633445, 0.0012983749745879517, 0.0013431861711945977, 0.0013887575954533824, 0.0014350892473643066, 0.00148218112692737, 0.0015300332341425722, 0.0015786455690099139, 0.0016280181315293948, 0.0016781509217010146, 0.0017290439395247733, 0.0017806971850006716, 0.0018331106581287089, 0.0018862843589088848, 0.0019402182873412002, 0.0019949124434256553, 0.002050366827162249, 0.002106581438550982, 0.002163556277591854, 0.002221291344284865, 0.0022797866386300154, 0.0023390421606273052, 0.0023990579102767338, 0.002459833887578302, 0.0025213700925320087, 0.0025836665251378543, 0.0026467231853958394, 0.002710540073305964, 0.0027751171888682267, 0.0028404545320826306, 0.0029065521029491715, 0.0029734099014678524, 0.003041027927638672, 0.003109406181461632, 0.0031785446629367295, 0.0032484433720639675, 0.003319102308843344, 0.003390521473274859, 0.003462700865358514, 0.0035356404850943085, 0.0036093403324822413, 0.003683800407522314, 0.0037590207102145253, 0.003835001240558875, 0.003911741998555365, 0.003989242984203994, 0.004067504197504761, 0.004146525638457669, 0.004226307307062715, 0.004306849203319901, 0.0043881513272292245, 0.004470213678790689, 0.004553036258004291, 0.0046366190648700345, 0.004720962099387914, 0.004806065361557934, 0.004891928851380093, 0.004978552568854392, 0.00506593651398083, 0.005154080686759407, 0.005242985087190123, 0.005332649715272977, 0.005423074571007971, 0.005514259654395105, 0.005606204965434377, 0.0056989105041257895, 0.00579237627046934, 0.005886602264465029, 0.005981588486112859, 0.006077334935412826, 0.006173841612364933, 0.006271108516969181, 0.006369135649225565, 0.006467923009134091, 0.006567470596694755, 0.006667778411907557, 0.0067688464547724985, 0.00687067472528958, 0.006973263223458801, 0.00707661194928016, 0.00718072090275366, 0.0072855900838792965, 0.0073912194926570715, 0.00749760912908699, 0.007604758993169044, 0.007712669084903238, 0.007821339404289574, 0.007930769951328047, 0.008040960726018658, 0.008151911728361409, 0.008263622958356297, 0.008376094416003326, 0.008489326101302494, 0.008603318014253802, 0.008718070154857246, 0.008833582523112836, 0.00894985511902056, 0.009066887942580424, 0.00918468099379243, 0.009303234272656571, 0.009422547779172851, 0.00954262151334127, 0.00966345547516183, 0.009785049664634528, 0.009907404081759367, 0.010030518726536342, 0.010154393598965458, 0.010279028699046717, 0.010404424026780112, 0.010530579582165642, 0.010657495365203318, 0.01078517137589313, 0.01091360761423508, 0.01104280408022917, 0.0111727607738754, 0.011303477695173767, 0.011434954844124273, 0.01156719222072692, 0.011700189824981706, 0.011833947656888635, 0.011968465716447696, 0.0121037440036589, 0.012239782518522245, 0.012376581261037726, 0.012514140231205347, 0.012652459429025105, 0.012791538854497004, 0.01293137850762104, 0.013071978388397217, 0.013213338496825534, 0.01335545883290599, 0.013498339396638586, 0.013641980188023319, 0.013786381207060192, 0.013931542453749206, 0.014077463928090358, 0.014224145630083647, 0.014371587559729077, 0.014519789717026643, 0.014668752101976351, 0.014818474714578197, 0.014968957554832182, 0.015120200622738306, 0.01527220391829657, 0.015424967441506983, 0.015578491192369523, 0.015732775170884204, 0.015887819377051027, 0.016043623810869982, 0.01620018847234108, 0.01635751336146432, 0.016515598478239697, 0.016674443822667213, 0.016834049394746867, 0.01699441519447866, 0.017155541221862594, 0.017317427476898677, 0.017480073959586888, 0.017643480669927238, 0.017807647607919728, 0.017972574773564357, 0.018138262166861124, 0.01830470978781003, 0.018471917636411078, 0.018639885712664263, 0.018808614016569587, 0.018978102548127054, 0.019148351307336654, 0.019319360294198406, 0.01949112950871229, 0.019663658950878307, 0.019836948620696467, 0.020010998518166765, 0.020185808643289206, 0.02036137899606378, 0.020537709576490495, 0.02071480038456935, 0.020892651420300345, 0.021071262683683478, 0.02125063417471875, 0.021430765893406173, 0.021611657839745724, 0.021793310013737414, 0.021975722415381243, 0.02215889504467721, 0.022342827901625315, 0.022527520986225565, 0.02271297429847795, 0.022899187838382472, 0.023086161605939137, 0.02327389560114794, 0.023462389824008882, 0.023651644274521974, 0.023841658952687195, 0.024032433858504555, 0.02422396899197405, 0.02441626435309569, 0.02460931994186947, 0.024803135758295385, 0.024997711802373437, 0.025193048074103632, 0.025389144573485966, 0.02558600130052044, 0.025783618255207048, 0.025981995437545813, 0.026181132847536703, 0.02638103048517973, 0.026581688350474898, 0.026783106443422206, 0.026985284764021653, 0.02718822331227324, 0.027391922088176965, 0.02759638109173283, 0.027801600322940833, 0.028007579781800972, 0.028214319468313254, 0.02842181938247769, 0.028630079524294246, 0.028839099893762946, 0.029048880490883784, 0.029259421315656762, 0.029470722368081875, 0.02968278364815913, 0.029895605155888526, 0.03010918689127006, 0.03032352885430373, 0.030538631044989543, 0.030754493463327495, 0.030971116109317597, 0.031188498982959827, 0.03140664208425419, 0.0316255454132007, 0.031845208969799345, 0.03206563275405013, 0.03228681676595306, 0.03250876100550812, 0.032731465472715326, 0.03295493016757467, 0.03317915509008615, 0.03340414024024976, 0.03362988561806555, 0.033856391223533434, 0.03408365705665348, 0.034311683117425655, 0.03454046940584997, 0.034770015921926425, 0.035000322665655025, 0.03523138963703576, 0.03546321683606862, 0.035695804262753636, 0.035929151917090785, 0.036163259799080076, 0.036398127908721524, 0.036633756246015094, 0.0368701448109608, 0.03710729360355864, 0.03734520262380863, 0.03758387187171076, 0.03782330134726502, 0.038063491050471424, 0.038304440981329964, 0.03854615113984065, 0.03878862152600347, 0.03903185213981844, 0.03927584298128554, 0.03952059405040478, 0.03976610534717616, 0.04001237687159967, 0.04025940862367533, 0.040507200603403126, 0.04075575281078305, 0.041005065245815125, 0.041255137908499336, 0.04150597079883569, 0.041757563916824184, 0.04200991726246483, 0.04226303083575758, 0.042516904636702484, 0.04277153866529954, 0.04302693292154873, 0.04328308740545006, 0.043540002117003526, 0.04379767705620913, 0.04405611222306687, 0.044315307617576745, 0.04457526323973877, 0.044835979089552926, 0.045097455167019226, 0.04535969147213767, 0.04562268800490824, 0.04588644476533098, 0.04615096175340583, 0.04641623896913282, 0.04668227641251196, 0.04694907408354323, 0.04721663198222664, 0.0474849501085622, 0.04775402846254989, 0.04802386704418972, 0.048294465853481676, 0.04856582489042579, 0.04883794415502204, 0.049110823647270443, 0.049384463367170964, 0.049658863314723634, 0.04993402348992844, 0.05020994389278537, 0.05048662452329445, 0.05076406538145568, 0.05104226646726904, 0.05132122778073454, 0.05160094932185218, 0.05188143109062195, 0.052162673087043865, 0.05244467531111794, 0.05272743776284413, 0.05301096044222247, 0.053295243349252945, 0.053580286483935556, 0.05386608984627031, 0.05415265343625719, 0.05443997725389622, 0.05472806129918739, 0.0550169055721307, 0.05530651007272615, 0.055596874800973736, 0.05588799975687348, 0.056179884940425334, 0.05647253035162934, 0.05676593599048548, 0.05706010185699376, 0.057355027951154186, 0.05765071427296675, 0.05794716082243145, 0.05824436759954829, 0.05854233460431726, 0.05884106183673837, 0.05914054929681163, 0.059440796984537046, 0.05974180489991458, 0.060043573042944255, 0.06034610141362607, 0.060649390011960014, 0.06095343883794611, 0.061258247891584336, 0.06156381717287471, 0.061870146681817215, 0.062177236418411864, 0.06248508638265865, 0.06279369657455758, 0.06310306699410866, 0.06341319764131186, 0.0637240885161672, 0.06403573961867469, 0.06434815094883431, 0.06466132250664607, 0.06497525429210997, 0.065289946305226, 0.06560539854599418, 0.06592161101441449, 0.06623858371048695, 0.06655631663421155, 0.0668748097855883, 0.06719406316461718, 0.06751407677129818, 0.06783485060563132, 0.06815638466761663, 0.06847867895725405, 0.06880173347454363, 0.06912554821948533, 0.06945012319207919, 0.06977545839232516, 0.07010155382022329, 0.07042840947577356, 0.07075602535897597, 0.07108440146983053, 0.0714135378083372, 0.07174343437449603, 0.07207409116830697, 0.07240550818977008, 0.07273768543888531, 0.0730706229156527, 0.07340432062007221, 0.07373877855214388, 0.07407399671186767, 0.07440997509924362, 0.07474671371427169, 0.0750842125569519, 0.07542247162728426, 0.07576149092526875, 0.07610127045090538, 0.07644181020419415, 0.07678311018513506, 0.0771251703937281, 0.07746799082997329, 0.07781157149387061, 0.07815591238542008, 0.0785010135046217, 0.07884687485147544, 0.07919349642598134, 0.07954087822813934, 0.0798890202579495, 0.0802379225154118, 0.08058758500052625, 0.08093800771329282, 0.08128919065371154, 0.0816411338217824, 0.08199383721750539, 0.08234730084088052, 0.08270152469190782, 0.08305650877058723, 0.08341225307691878, 0.08376875761090248, 0.0841260223725383, 0.08448404736182627, 0.08484283257876638, 0.08520237802335862, 0.085562683695603, 0.08592374959549953, 0.08628557572304821, 0.086648162078249, 0.08701150866110197, 0.08737561547160705, 0.08774048250976427, 0.08810610977557363, 0.08847249726903514, 0.08883964499014878, 0.08920755293891455, 0.08957622111533248, 0.08994564951940251, 0.09031583815112472, 0.09068678701049905, 0.09105849609752552, 0.09143096541220416, 0.09180419495453492, 0.0921781847245178, 0.09255293472215283, 0.09292844494744, 0.09330471540037931, 0.09368174608097075, 0.09405953698921435, 0.09443808812511006, 0.09481739948865793, 0.09519747107985793, 0.09557830289871007, 0.09595989494521438, 0.0963422472193708, 0.09672535972117936, 0.09710923245064007, 0.09749386540775291, 0.09787925859251789, 0.098265412004935, 0.09865232564500426, 0.09903999951272564, 0.09942843360809918, 0.09981762793112486, 0.10020758248180267, 0.10059829726013265, 0.10098977226611473, 0.10138200749974896, 0.10177500296103534, 0.10216875864997384, 0.10256327456656449, 0.10295855071080728, 0.1033545870827022, 0.10375138368224926, 0.10414894050944846, 0.1045472575642998, 0.1049463348468033, 0.10534617235695894, 0.1057467700947667, 0.10614812806022661, 0.10655024625333863, 0.10695312467410281, 0.10735676332251913, 0.10776116219858758, 0.10816632130230819, 0.10857224063368093, 0.1089789201927058, 0.10938635997938281, 0.10979455999371195, 0.11020352023569327, 0.1106132407053267, 0.11102372140261227, 0.11143496232754999, 0.11184696348013984, 0.11225972486038183, 0.11267324646827594, 0.1130875283038222, 0.1135025703670206, 0.11391837265787115, 0.11433493517637383, 0.11475225792252866, 0.11517034089633565, 0.11558918409779474, 0.11600878752690598, 0.11642915118366935, 0.11685027506808487]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/runner.py new file mode 100644 index 000000000000..ba92ff1d1ca5 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/runner.py @@ -0,0 +1,85 @@ +#!/usr/bin/env python +# +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Generate fixtures.""" + +import os +import json +import numpy as np +from scipy.stats import anglit + +# Get the file path: +FILE = os.path.realpath(__file__) + +# Extract the directory in which this file resides: +DIR = os.path.dirname(FILE) + + +def gen(loc, sigma, name): + """Generate fixture data and write to file. + + # Arguments + + * `loc`: location parameter values + * `sigma`: scale parameter values + * `name::str`: output filename + """ + y = anglit.var(loc=loc, scale=sigma) + + # Store data to be written to file as a dictionary: + data = { + "mu": loc.tolist(), + "sigma": sigma.tolist(), + "expected": y.tolist() + } + + # Based on the script directory, create an output filepath: + filepath = os.path.join(DIR, name) + + # Write the data to the output filepath as JSON: + with open(filepath, "w", encoding="utf-8") as outfile: + json.dump(data, outfile) + + +def main(): + """Generate fixture data.""" + n = 500 + + # Small location parameter and small scale parameter: + loc = np.linspace(-1.0, 1.0, n) + sigma = np.linspace(0.1, 1.0, n) + gen(loc, sigma, "small_mu_small_sigma.json") + + # Small location parameter and large scale parameter: + loc = np.linspace(-1.0, 1.0, n) + sigma = np.linspace(1.0, 10.0, n) + gen(loc, sigma, "small_mu_large_sigma.json") + + # Large location parameter and small scale parameter: + loc = np.linspace(-100.0, 100.0, n) + sigma = np.linspace(0.1, 1.0, n) + gen(loc, sigma, "large_mu_small_sigma.json") + + # Large location parameter and large scale parameter: + loc = np.linspace(-100.0, 100.0, n) + sigma = np.linspace(1.0, 10.0, n) + gen(loc, sigma, "large_mu_large_sigma.json") + + +if __name__ == "__main__": + main() diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_large_sigma.json b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_large_sigma.json new file mode 100644 index 000000000000..ebab86faa30c --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_large_sigma.json @@ -0,0 +1 @@ +{"mu": [-1.0, -0.9959919839679359, -0.9919839679358717, -0.9879759519038076, -0.9839679358717435, -0.9799599198396793, -0.9759519038076152, -0.9719438877755511, -0.9679358717434869, -0.9639278557114228, -0.9599198396793587, -0.9559118236472945, -0.9519038076152304, -0.9478957915831663, -0.9438877755511023, -0.9398797595190381, -0.935871743486974, -0.9318637274549099, -0.9278557114228457, -0.9238476953907816, -0.9198396793587175, -0.9158316633266533, -0.9118236472945892, -0.9078156312625251, -0.9038076152304609, -0.8997995991983968, -0.8957915831663327, -0.8917835671342685, -0.8877755511022044, -0.8837675350701403, -0.8797595190380761, -0.875751503006012, -0.8717434869739479, -0.8677354709418837, -0.8637274549098196, -0.8597194388777555, -0.8557114228456915, -0.8517034068136273, -0.8476953907815632, -0.8436873747494991, -0.8396793587174349, -0.8356713426853708, -0.8316633266533067, -0.8276553106212425, -0.8236472945891784, -0.8196392785571143, -0.8156312625250501, -0.811623246492986, -0.8076152304609219, -0.8036072144288577, -0.7995991983967936, -0.7955911823647295, -0.7915831663326653, -0.7875751503006012, -0.7835671342685371, -0.779559118236473, -0.7755511022044088, -0.7715430861723447, -0.7675350701402806, -0.7635270541082164, -0.7595190380761523, -0.7555110220440882, -0.751503006012024, -0.7474949899799599, -0.7434869739478958, -0.7394789579158316, -0.7354709418837675, -0.7314629258517034, -0.7274549098196392, -0.7234468937875751, -0.719438877755511, -0.7154308617234469, -0.7114228456913828, -0.7074148296593187, -0.7034068136272545, -0.6993987975951904, -0.6953907815631263, -0.6913827655310621, -0.687374749498998, -0.6833667334669339, -0.6793587174348698, -0.6753507014028056, -0.6713426853707415, -0.6673346693386774, -0.6633266533066133, -0.6593186372745492, -0.6553106212424851, -0.6513026052104209, -0.6472945891783568, -0.6432865731462927, -0.6392785571142285, -0.6352705410821644, -0.6312625250501003, -0.6272545090180361, -0.623246492985972, -0.6192384769539079, -0.6152304609218437, -0.6112224448897796, -0.6072144288577155, -0.6032064128256514, -0.5991983967935872, -0.5951903807615231, -0.591182364729459, -0.5871743486973948, -0.5831663326653307, -0.5791583166332666, -0.5751503006012024, -0.5711422845691383, -0.5671342685370742, -0.56312625250501, -0.5591182364729459, -0.5551102204408818, -0.5511022044088176, -0.5470941883767535, -0.5430861723446894, -0.5390781563126252, -0.5350701402805611, -0.531062124248497, -0.5270541082164328, -0.5230460921843687, -0.5190380761523046, -0.5150300601202404, -0.5110220440881764, -0.5070140280561123, -0.5030060120240482, -0.498997995991984, -0.4949899799599199, -0.49098196392785576, -0.4869739478957916, -0.4829659318637275, -0.47895791583166336, -0.47494989979959923, -0.4709418837675351, -0.46693386773547096, -0.46292585170340683, -0.4589178356713427, -0.45490981963927857, -0.45090180360721444, -0.4468937875751503, -0.44288577154308617, -0.43887775551102204, -0.434869739478958, -0.4308617234468939, -0.42685370741482975, -0.4228456913827656, -0.4188376753507015, -0.41482965931863736, -0.4108216432865732, -0.4068136272545091, -0.40280561122244496, -0.3987975951903808, -0.3947895791583167, -0.39078156312625256, -0.38677354709418843, -0.3827655310621243, -0.37875751503006017, -0.37474949899799603, -0.3707414829659319, -0.36673346693386777, -0.36272545090180364, -0.3587174348697395, -0.35470941883767537, -0.35070140280561124, -0.3466933867735471, -0.342685370741483, -0.33867735470941884, -0.3346693386773547, -0.3306613226452907, -0.32665330661322656, -0.3226452905811624, -0.3186372745490983, -0.31462925851703416, -0.31062124248497003, -0.3066132264529059, -0.30260521042084176, -0.29859719438877763, -0.2945891783567135, -0.29058116232464937, -0.28657314629258523, -0.2825651302605211, -0.27855711422845697, -0.27454909819639284, -0.2705410821643287, -0.2665330661322646, -0.26252505010020044, -0.2585170340681363, -0.2545090180360722, -0.25050100200400804, -0.2464929859719439, -0.24248496993987978, -0.23847695390781565, -0.23446893787575152, -0.2304609218436875, -0.22645290581162336, -0.22244488977955923, -0.2184368737474951, -0.21442885771543096, -0.21042084168336683, -0.2064128256513027, -0.20240480961923857, -0.19839679358717444, -0.1943887775551103, -0.19038076152304617, -0.18637274549098204, -0.1823647294589179, -0.17835671342685377, -0.17434869739478964, -0.1703406813627255, -0.16633266533066138, -0.16232464929859725, -0.1583166332665331, -0.15430861723446898, -0.15030060120240485, -0.14629258517034072, -0.14228456913827658, -0.13827655310621245, -0.13426853707414832, -0.1302605210420842, -0.12625250501002017, -0.12224448897795603, -0.1182364729458919, -0.11422845691382777, -0.11022044088176364, -0.1062124248496995, -0.10220440881763537, -0.09819639278557124, -0.09418837675350711, -0.09018036072144298, -0.08617234468937884, -0.08216432865731471, -0.07815631262525058, -0.07414829659318645, -0.07014028056112231, -0.06613226452905818, -0.06212424849699405, -0.05811623246492992, -0.054108216432865786, -0.05010020040080165, -0.04609218436873752, -0.04208416833667339, -0.038076152304609256, -0.034068136272545124, -0.030060120240480992, -0.02605210420841686, -0.02204408817635284, -0.018036072144288706, -0.014028056112224574, -0.010020040080160442, -0.006012024048096309, -0.002004008016032177, 0.002004008016031955, 0.006012024048096087, 0.01002004008016022, 0.014028056112224352, 0.018036072144288484, 0.022044088176352616, 0.02605210420841675, 0.03006012024048088, 0.03406813627254501, 0.038076152304609145, 0.04208416833667328, 0.04609218436873741, 0.05010020040080154, 0.054108216432865675, 0.05811623246492981, 0.06212424849699394, 0.06613226452905807, 0.0701402805611222, 0.07414829659318634, 0.07815631262525047, 0.0821643286573146, 0.08617234468937873, 0.09018036072144286, 0.094188376753507, 0.09819639278557113, 0.10220440881763526, 0.1062124248496994, 0.11022044088176353, 0.11422845691382766, 0.11823647294589179, 0.12224448897795592, 0.12625250501002006, 0.13026052104208397, 0.1342685370741481, 0.13827655310621223, 0.14228456913827636, 0.1462925851703405, 0.15030060120240463, 0.15430861723446876, 0.1583166332665329, 0.16232464929859702, 0.16633266533066116, 0.1703406813627253, 0.17434869739478942, 0.17835671342685355, 0.18236472945891768, 0.18637274549098182, 0.19038076152304595, 0.19438877755511008, 0.1983967935871742, 0.20240480961923835, 0.20641282565130248, 0.2104208416833666, 0.21442885771543074, 0.21843687374749488, 0.222444889779559, 0.22645290581162314, 0.23046092184368727, 0.2344689378757514, 0.23847695390781554, 0.24248496993987967, 0.2464929859719438, 0.25050100200400793, 0.25450901803607207, 0.2585170340681362, 0.26252505010020033, 0.26653306613226446, 0.2705410821643286, 0.2745490981963927, 0.27855711422845686, 0.282565130260521, 0.2865731462925851, 0.29058116232464926, 0.2945891783567134, 0.2985971943887775, 0.30260521042084165, 0.3066132264529058, 0.3106212424849699, 0.31462925851703405, 0.3186372745490982, 0.3226452905811623, 0.32665330661322645, 0.3306613226452906, 0.3346693386773545, 0.3386773547094186, 0.34268537074148275, 0.3466933867735469, 0.350701402805611, 0.35470941883767515, 0.3587174348697393, 0.3627254509018034, 0.36673346693386755, 0.3707414829659317, 0.3747494989979958, 0.37875751503005994, 0.3827655310621241, 0.3867735470941882, 0.39078156312625234, 0.3947895791583165, 0.3987975951903806, 0.40280561122244474, 0.40681362725450887, 0.410821643286573, 0.41482965931863713, 0.41883767535070127, 0.4228456913827654, 0.42685370741482953, 0.43086172344689366, 0.4348697394789578, 0.4388777555110219, 0.44288577154308606, 0.4468937875751502, 0.4509018036072143, 0.45490981963927846, 0.4589178356713426, 0.4629258517034067, 0.46693386773547085, 0.470941883767535, 0.4749498997995991, 0.47895791583166325, 0.4829659318637274, 0.4869739478957915, 0.49098196392785565, 0.4949899799599198, 0.4989979959919839, 0.503006012024048, 0.5070140280561122, 0.5110220440881763, 0.5150300601202404, 0.5190380761523046, 0.5230460921843687, 0.5270541082164328, 0.531062124248497, 0.5350701402805611, 0.539078156312625, 0.5430861723446891, 0.5470941883767533, 0.5511022044088174, 0.5551102204408815, 0.5591182364729457, 0.5631262525050098, 0.5671342685370739, 0.5711422845691381, 0.5751503006012022, 0.5791583166332663, 0.5831663326653305, 0.5871743486973946, 0.5911823647294587, 0.5951903807615229, 0.599198396793587, 0.6032064128256511, 0.6072144288577153, 0.6112224448897794, 0.6152304609218435, 0.6192384769539077, 0.6232464929859718, 0.6272545090180359, 0.6312625250501, 0.6352705410821642, 0.6392785571142283, 0.6432865731462925, 0.6472945891783566, 0.6513026052104207, 0.6553106212424848, 0.659318637274549, 0.6633266533066131, 0.6673346693386772, 0.6713426853707414, 0.6753507014028055, 0.6793587174348696, 0.6833667334669338, 0.6873747494989979, 0.691382765531062, 0.6953907815631262, 0.6993987975951903, 0.7034068136272544, 0.7074148296593186, 0.7114228456913827, 0.7154308617234468, 0.719438877755511, 0.7234468937875751, 0.7274549098196392, 0.7314629258517034, 0.7354709418837675, 0.7394789579158316, 0.7434869739478958, 0.7474949899799597, 0.7515030060120238, 0.7555110220440879, 0.7595190380761521, 0.7635270541082162, 0.7675350701402803, 0.7715430861723445, 0.7755511022044086, 0.7795591182364727, 0.7835671342685369, 0.787575150300601, 0.7915831663326651, 0.7955911823647293, 0.7995991983967934, 0.8036072144288575, 0.8076152304609217, 0.8116232464929858, 0.8156312625250499, 0.819639278557114, 0.8236472945891782, 0.8276553106212423, 0.8316633266533064, 0.8356713426853706, 0.8396793587174347, 0.8436873747494988, 0.847695390781563, 0.8517034068136271, 0.8557114228456912, 0.8597194388777554, 0.8637274549098195, 0.8677354709418836, 0.8717434869739478, 0.8757515030060119, 0.879759519038076, 0.8837675350701402, 0.8877755511022043, 0.8917835671342684, 0.8957915831663326, 0.8997995991983967, 0.9038076152304608, 0.907815631262525, 0.9118236472945891, 0.9158316633266532, 0.9198396793587174, 0.9238476953907815, 0.9278557114228456, 0.9318637274549098, 0.9358717434869739, 0.939879759519038, 0.9438877755511021, 0.9478957915831663, 0.9519038076152302, 0.9559118236472943, 0.9599198396793585, 0.9639278557114226, 0.9679358717434867, 0.9719438877755509, 0.975951903807615, 0.9799599198396791, 0.9839679358717432, 0.9879759519038074, 0.9919839679358715, 0.9959919839679356, 1.0], "sigma": [1.0, 1.0180360721442885, 1.0360721442885772, 1.0541082164328657, 1.0721442885771544, 1.0901803607214429, 1.1082164328657313, 1.12625250501002, 1.1442885771543085, 1.1623246492985972, 1.1803607214428857, 1.1983967935871744, 1.216432865731463, 1.2344689378757514, 1.25250501002004, 1.2705410821643286, 1.2885771543086173, 1.3066132264529058, 1.3246492985971945, 1.342685370741483, 1.3607214428857715, 1.3787575150300602, 1.3967935871743486, 1.4148296593186374, 1.4328657314629258, 1.4509018036072145, 1.468937875751503, 1.4869739478957915, 1.5050100200400802, 1.5230460921843687, 1.5410821643286572, 1.559118236472946, 1.5771543086172346, 1.595190380761523, 1.6132264529058116, 1.6312625250501003, 1.6492985971943888, 1.6673346693386772, 1.685370741482966, 1.7034068136272547, 1.7214428857715431, 1.7394789579158316, 1.7575150300601203, 1.7755511022044088, 1.7935871743486973, 1.811623246492986, 1.8296593186372747, 1.8476953907815632, 1.8657314629258517, 1.8837675350701404, 1.9018036072144289, 1.9198396793587174, 1.937875751503006, 1.9559118236472948, 1.9739478957915833, 1.9919839679358717, 2.0100200400801604, 2.0280561122244487, 2.0460921843687374, 2.064128256513026, 2.0821643286573144, 2.1002004008016035, 2.118236472945892, 2.1362725450901805, 2.154308617234469, 2.1723446893787575, 2.190380761523046, 2.208416833667335, 2.226452905811623, 2.244488977955912, 2.2625250501002006, 2.280561122244489, 2.2985971943887775, 2.3166332665330662, 2.3346693386773545, 2.3527054108216436, 2.370741482965932, 2.38877755511022, 2.4068136272545093, 2.4248496993987976, 2.4428857715430863, 2.460921843687375, 2.4789579158316633, 2.496993987975952, 2.5150300601202407, 2.533066132264529, 2.5511022044088176, 2.5691382765531063, 2.5871743486973946, 2.6052104208416837, 2.623246492985972, 2.6412825651302603, 2.6593186372745494, 2.6773547094188377, 2.6953907815631264, 2.713426853707415, 2.7314629258517034, 2.749498997995992, 2.7675350701402808, 2.785571142284569, 2.8036072144288577, 2.8216432865731464, 2.8396793587174347, 2.8577154308617234, 2.875751503006012, 2.8937875751503004, 2.9118236472945895, 2.929859719438878, 2.9478957915831665, 2.965931863727455, 2.9839679358717435, 3.002004008016032, 3.020040080160321, 3.038076152304609, 3.056112224448898, 3.0741482965931866, 3.092184368737475, 3.1102204408817635, 3.1282565130260522, 3.146292585170341, 3.164328657314629, 3.182364729458918, 3.2004008016032066, 3.218436873747495, 3.2364729458917836, 3.2545090180360723, 3.272545090180361, 3.2905811623246493, 3.308617234468938, 3.3266533066132267, 3.344689378757515, 3.3627254509018036, 3.3807615230460923, 3.398797595190381, 3.4168336673346693, 3.434869739478958, 3.4529058116232467, 3.470941883767535, 3.4889779559118237, 3.5070140280561124, 3.525050100200401, 3.5430861723446894, 3.561122244488978, 3.579158316633267, 3.597194388777555, 3.6152304609218437, 3.6332665330661325, 3.651302605210421, 3.6693386773547094, 3.687374749498998, 3.705410821643287, 3.723446893787575, 3.741482965931864, 3.7595190380761525, 3.7775551102204408, 3.7955911823647295, 3.813627254509018, 3.831663326653307, 3.849699398797595, 3.867735470941884, 3.8857715430861726, 3.903807615230461, 3.9218436873747495, 3.9398797595190382, 3.957915831663327, 3.975951903807615, 3.993987975951904, 4.012024048096192, 4.030060120240481, 4.04809619238477, 4.066132264529058, 4.084168336673347, 4.102204408817635, 4.1202404809619235, 4.138276553106213, 4.156312625250501, 4.174348697394789, 4.192384769539078, 4.2104208416833675, 4.228456913827655, 4.246492985971944, 4.264529058116233, 4.2825651302605205, 4.30060120240481, 4.318637274549099, 4.336673346693387, 4.354709418837675, 4.3727454909819645, 4.390781563126253, 4.408817635270541, 4.42685370741483, 4.4448897795591185, 4.462925851703407, 4.480961923847696, 4.498997995991984, 4.517034068136272, 4.5350701402805615, 4.55310621242485, 4.571142284569138, 4.589178356713427, 4.6072144288577155, 4.625250501002004, 4.643286573146293, 4.661322645290581, 4.679358717434869, 4.697394789579159, 4.715430861723447, 4.733466933867735, 4.751503006012024, 4.769539078156313, 4.787575150300601, 4.80561122244489, 4.823647294589179, 4.841683366733466, 4.859719438877756, 4.877755511022045, 4.895791583166333, 4.913827655310621, 4.93186372745491, 4.949899799599199, 4.967935871743487, 4.985971943887776, 5.004008016032064, 5.022044088176353, 5.040080160320642, 5.05811623246493, 5.076152304609218, 5.094188376753507, 5.112224448897796, 5.130260521042084, 5.148296593186373, 5.166332665330661, 5.18436873747495, 5.202404809619239, 5.220440881763527, 5.238476953907816, 5.2565130260521045, 5.274549098196393, 5.292585170340682, 5.31062124248497, 5.328657314629258, 5.3466933867735476, 5.364729458917836, 5.382765531062124, 5.400801603206413, 5.4188376753507015, 5.43687374749499, 5.454909819639279, 5.472945891783567, 5.490981963927856, 5.509018036072145, 5.527054108216433, 5.545090180360722, 5.56312625250501, 5.5811623246492985, 5.599198396793588, 5.617234468937876, 5.635270541082164, 5.653306613226453, 5.671342685370742, 5.68937875751503, 5.707414829659319, 5.725450901803607, 5.7434869739478955, 5.761523046092185, 5.779559118236473, 5.797595190380762, 5.81563126252505, 5.833667334669339, 5.851703406813628, 5.869739478957916, 5.887775551102204, 5.9058116232464934, 5.923847695390782, 5.94188376753507, 5.959919839679359, 5.977955911823647, 5.995991983967936, 6.014028056112225, 6.032064128256513, 6.050100200400802, 6.0681362725450905, 6.086172344689379, 6.104208416833668, 6.122244488977956, 6.140280561122244, 6.158316633266534, 6.176352705410822, 6.19438877755511, 6.212424849699399, 6.2304609218436875, 6.248496993987976, 6.266533066132265, 6.284569138276553, 6.302605210420842, 6.320641282565131, 6.338677354709419, 6.356713426853708, 6.374749498997996, 6.3927855711422845, 6.410821643286574, 6.428857715430862, 6.44689378757515, 6.464929859719439, 6.482965931863728, 6.501002004008016, 6.519038076152305, 6.537074148296593, 6.5551102204408815, 6.573146292585171, 6.591182364729459, 6.609218436873748, 6.627254509018036, 6.645290581162325, 6.663326653306614, 6.681362725450902, 6.69939879759519, 6.7174348697394795, 6.735470941883768, 6.753507014028056, 6.771543086172345, 6.789579158316633, 6.807615230460922, 6.825651302605211, 6.843687374749499, 6.861723446893788, 6.8797595190380765, 6.897795591182365, 6.915831663326654, 6.933867735470942, 6.95190380761523, 6.96993987975952, 6.987975951903808, 7.006012024048096, 7.024048096192385, 7.0420841683366735, 7.060120240480962, 7.078156312625251, 7.096192384769539, 7.114228456913828, 7.132264529058117, 7.150300601202405, 7.168336673346694, 7.186372745490982, 7.2044088176352705, 7.22244488977956, 7.240480961923848, 7.258517034068136, 7.276553106212425, 7.294589178356714, 7.312625250501002, 7.330661322645291, 7.348697394789579, 7.3667334669338675, 7.384769539078157, 7.402805611222445, 7.420841683366734, 7.438877755511022, 7.456913827655311, 7.4749498997996, 7.492985971943888, 7.511022044088176, 7.5290581162324655, 7.547094188376754, 7.565130260521042, 7.583166332665331, 7.601202404809619, 7.619238476953908, 7.637274549098197, 7.655310621242485, 7.673346693386774, 7.6913827655310625, 7.709418837675351, 7.72745490981964, 7.745490981963928, 7.763527054108216, 7.781563126252506, 7.799599198396794, 7.817635270541082, 7.835671342685371, 7.8537074148296595, 7.871743486973948, 7.889779559118237, 7.907815631262525, 7.925851703406813, 7.943887775551103, 7.961923847695391, 7.97995991983968, 7.997995991983968, 8.016032064128257, 8.034068136272545, 8.052104208416834, 8.070140280561123, 8.08817635270541, 8.1062124248497, 8.124248496993989, 8.142284569138276, 8.160320641282565, 8.178356713426854, 8.196392785571142, 8.214428857715431, 8.23246492985972, 8.250501002004007, 8.268537074148297, 8.286573146292586, 8.304609218436873, 8.322645290581162, 8.340681362725451, 8.358717434869739, 8.376753507014028, 8.394789579158317, 8.412825651302605, 8.430861723446894, 8.448897795591183, 8.46693386773547, 8.484969939879761, 8.503006012024048, 8.521042084168336, 8.539078156312627, 8.557114228456914, 8.575150300601202, 8.593186372745492, 8.61122244488978, 8.629258517034067, 8.647294589178358, 8.665330661322646, 8.683366733466933, 8.701402805611224, 8.719438877755511, 8.737474949899799, 8.75551102204409, 8.773547094188377, 8.791583166332666, 8.809619238476955, 8.827655310621243, 8.845691382765532, 8.86372745490982, 8.881763527054108, 8.899799599198397, 8.917835671342687, 8.935871743486974, 8.953907815631263, 8.971943887775552, 8.98997995991984, 9.008016032064129, 9.026052104208418, 9.044088176352705, 9.062124248496994, 9.080160320641284, 9.098196392785571, 9.11623246492986, 9.13426853707415, 9.152304609218437, 9.170340681362726, 9.188376753507015, 9.206412825651302, 9.224448897795591, 9.24248496993988, 9.260521042084168, 9.278557114228457, 9.296593186372746, 9.314629258517034, 9.332665330661323, 9.350701402805612, 9.3687374749499, 9.386773547094188, 9.404809619238478, 9.422845691382767, 9.440881763527054, 9.458917835671343, 9.476953907815632, 9.49498997995992, 9.513026052104209, 9.531062124248498, 9.549098196392785, 9.567134268537075, 9.585170340681364, 9.603206412825651, 9.62124248496994, 9.63927855711423, 9.657314629258517, 9.675350701402806, 9.693386773547095, 9.711422845691382, 9.729458917835672, 9.74749498997996, 9.765531062124248, 9.783567134268537, 9.801603206412826, 9.819639278557114, 9.837675350701403, 9.855711422845692, 9.87374749498998, 9.891783567134269, 9.909819639278558, 9.927855711422845, 9.945891783567134, 9.963927855711423, 9.981963927855713, 10.0], "expected": [0.11685027506808487, 0.1211033264331077, 0.12543240056334448, 0.12983749745879514, 0.13431861711945975, 0.13887575954533823, 0.14350892473643062, 0.14821811269273696, 0.15300332341425718, 0.15786455690099138, 0.16280181315293943, 0.16781509217010143, 0.17290439395247734, 0.1780697185000671, 0.18331106581287085, 0.18862843589088849, 0.19402182873412005, 0.1994912443425655, 0.20503668271622494, 0.21065814385509818, 0.21635562775918535, 0.2221291344284865, 0.22797866386300153, 0.2339042160627305, 0.23990579102767332, 0.24598338875783016, 0.2521370092532008, 0.2583666525137854, 0.26467231853958395, 0.27105400733059637, 0.27751171888682263, 0.28404545320826297, 0.2906552102949172, 0.2973409901467852, 0.3041027927638672, 0.3109406181461632, 0.3178544662936729, 0.32484433720639666, 0.33191023088433436, 0.33905214732748595, 0.3462700865358514, 0.3535640485094308, 0.36093403324822415, 0.3683800407522313, 0.37590207102145246, 0.3835001240558875, 0.39117419985553653, 0.3989242984203994, 0.40675041975047616, 0.41465256384576693, 0.4226307307062715, 0.43068492033199, 0.4388151327229225, 0.4470213678790689, 0.45530362580042916, 0.4636619064870033, 0.4720962099387914, 0.48060653615579335, 0.4891928851380093, 0.4978552568854392, 0.5065936513980829, 0.5154080686759408, 0.5242985087190122, 0.5332649715272978, 0.5423074571007973, 0.5514259654395104, 0.5606204965434377, 0.5698910504125789, 0.5792376270469339, 0.588660226446503, 0.5981588486112859, 0.6077334935412825, 0.6173841612364933, 0.6271108516969179, 0.6369135649225564, 0.6467923009134092, 0.6567470596694754, 0.6667778411907554, 0.67688464547725, 0.687067472528958, 0.69732632234588, 0.707661194928016, 0.7180720902753658, 0.7285590083879296, 0.7391219492657074, 0.7497609129086988, 0.7604758993169044, 0.7712669084903239, 0.7821339404289571, 0.7930769951328047, 0.8040960726018657, 0.8151911728361405, 0.8263622958356299, 0.8376094416003326, 0.8489326101302495, 0.8603318014253805, 0.8718070154857248, 0.8833582523112835, 0.894985511902056, 0.9066887942580422, 0.9184680993792426, 0.930323427265657, 0.9422547779172848, 0.954262151334127, 0.9663455475161831, 0.9785049664634526, 0.9907404081759368, 1.0030518726536344, 1.015439359896546, 1.0279028699046717, 1.040442402678011, 1.0530579582165644, 1.0657495365203318, 1.0785171375893126, 1.091360761423508, 1.1042804080229172, 1.1172760773875396, 1.1303477695173767, 1.1434954844124274, 1.1567192220726923, 1.1700189824981708, 1.1833947656888633, 1.1968465716447698, 1.2103744003658898, 1.2239782518522242, 1.2376581261037725, 1.2514140231205346, 1.2652459429025105, 1.2791538854497004, 1.2931378507621043, 1.3071978388397216, 1.3213338496825535, 1.335545883290599, 1.3498339396638586, 1.364198018802332, 1.3786381207060192, 1.3931542453749206, 1.4077463928090355, 1.4224145630083644, 1.4371587559729075, 1.4519789717026645, 1.4668752101976352, 1.4818474714578198, 1.4968957554832185, 1.512020062273831, 1.5272203918296574, 1.542496744150698, 1.5578491192369524, 1.5732775170884201, 1.5887819377051022, 1.6043623810869985, 1.620018847234108, 1.635751336146432, 1.65155984782397, 1.6674443822667213, 1.6834049394746868, 1.6994415194478665, 1.71555412218626, 1.731742747689867, 1.7480073959586886, 1.7643480669927236, 1.7807647607919725, 1.7972574773564356, 1.8138262166861125, 1.8304709787810034, 1.8471917636411077, 1.8639885712664266, 1.880861401656959, 1.8978102548127058, 1.9148351307336657, 1.9319360294198398, 1.9491129508712286, 1.9663658950878304, 1.9836948620696462, 2.0010998518166767, 2.01858086432892, 2.0361378996063775, 2.05377095764905, 2.071480038456936, 2.0892651420300345, 2.1071262683683485, 2.125063417471876, 2.143076589340616, 2.161165783974572, 2.1793310013737415, 2.1975722415381242, 2.2158895044677207, 2.234282790162532, 2.2527520986225564, 2.271297429847795, 2.289918783838248, 2.308616160593914, 2.3273895601147943, 2.346238982400889, 2.3651644274521972, 2.384165895268719, 2.4032433858504554, 2.4223968991974054, 2.4416264353095682, 2.460931994186947, 2.480313575829538, 2.4997711802373437, 2.519304807410364, 2.538914457348597, 2.558600130052044, 2.5783618255207057, 2.5981995437545806, 2.6181132847536692, 2.638103048517973, 2.6581688350474906, 2.6783106443422198, 2.6985284764021653, 2.7188223312273245, 2.739192208817696, 2.759638109173283, 2.780160032294084, 2.800757978180098, 2.821431946831326, 2.842181938247769, 2.8630079524294243, 2.883909989376294, 2.904888049088379, 2.9259421315656757, 2.9470722368081876, 2.9682783648159132, 2.989560515588853, 3.0109186891270054, 3.032352885430374, 3.053863104498955, 3.0754493463327495, 3.0971116109317594, 3.118849898295982, 3.1406642084254184, 3.1625545413200697, 3.1845208969799343, 3.206563275405014, 3.228681676595306, 3.2508761005508124, 3.273146547271533, 3.2954930167574674, 3.3179155090086154, 3.340414024024978, 3.362988561806554, 3.385639122353343, 3.408365705665348, 3.431168311742565, 3.4540469405849965, 3.4770015921926434, 3.500032266565502, 3.5231389637035764, 3.546321683606863, 3.569580426275364, 3.59291519170908, 3.6163259799080087, 3.639812790872152, 3.663375624601509, 3.68701448109608, 3.7107293603558635, 3.7345202623808635, 3.7583871871710754, 3.7823301347265015, 3.806349105047143, 3.830444098132997, 3.8546151139840648, 3.8788621526003473, 3.9031852139818435, 3.927584298128554, 3.9520594050404774, 3.976610534717615, 4.001237687159967, 4.025940862367532, 4.0507200603403115, 4.075575281078306, 4.1005065245815135, 4.125513790849934, 4.15059707988357, 4.175756391682419, 4.200991726246481, 4.2263030835757585, 4.25169046367025, 4.2771538665299556, 4.302693292154873, 4.328308740545006, 4.3540002117003525, 4.379767705620913, 4.405611222306686, 4.431530761757676, 4.457526323973878, 4.483597908955293, 4.5097455167019245, 4.535969147213767, 4.562268800490825, 4.588644476533098, 4.615096175340582, 4.641623896913283, 4.668227641251196, 4.694907408354323, 4.721663198222665, 4.74849501085622, 4.775402846254989, 4.802386704418972, 4.82944658534817, 4.856582489042579, 4.883794415502205, 4.911082364727044, 4.938446336717096, 4.965886331472364, 4.993402348992843, 5.020994389278537, 5.048662452329446, 5.076406538145568, 5.104226646726905, 5.132122778073454, 5.160094932185218, 5.188143109062197, 5.2162673087043885, 5.244467531111793, 5.272743776284414, 5.3010960442222474, 5.329524334925294, 5.358028648393557, 5.38660898462703, 5.41526534362572, 5.4439977253896235, 5.47280612991874, 5.501690557213072, 5.530651007272616, 5.559687480097375, 5.588799975687348, 5.617988494042534, 5.647253035162934, 5.676593599048549, 5.706010185699378, 5.735502795115418, 5.765071427296676, 5.794716082243145, 5.824436759954829, 5.854233460431727, 5.884106183673839, 5.914054929681166, 5.944079698453704, 5.974180489991458, 6.004357304294426, 6.034610141362607, 6.064939001196002, 6.0953438837946115, 6.125824789158434, 6.156381717287471, 6.187014668181723, 6.217723641841187, 6.248508638265865, 6.279369657455759, 6.310306699410865, 6.341319764131185, 6.37240885161672, 6.403573961867468, 6.434815094883431, 6.466132250664607, 6.497525429210997, 6.528994630522601, 6.560539854599419, 6.59216110144145, 6.623858371048697, 6.655631663421156, 6.6874809785588285, 6.7194063164617175, 6.751407677129818, 6.783485060563133, 6.815638466761663, 6.847867895725406, 6.880173347454363, 6.912554821948534, 6.945012319207919, 6.977545839232518, 7.01015538202233, 7.042840947577356, 7.075602535897598, 7.108440146983052, 7.14135378083372, 7.174343437449603, 7.207409116830698, 7.240550818977008, 7.273768543888533, 7.307062291565271, 7.340432062007222, 7.373877855214388, 7.407399671186768, 7.440997509924362, 7.474671371427169, 7.5084212556951915, 7.542247162728424, 7.576149092526875, 7.610127045090539, 7.644181020419414, 7.678311018513505, 7.712517039372812, 7.746799082997329, 7.781157149387062, 7.8155912385420105, 7.850101350462168, 7.884687485147544, 7.919349642598133, 7.954087822813933, 7.988902025794951, 8.023792251541181, 8.058758500052624, 8.093800771329283, 8.128919065371155, 8.16411338217824, 8.19938372175054, 8.234730084088055, 8.27015246919078, 8.305650877058723, 8.341225307691879, 8.376875761090245, 8.412602237253832, 8.448404736182628, 8.484283257876637, 8.520237802335865, 8.556268369560303, 8.592374959549952, 8.628557572304823, 8.664816207824902, 8.701150866110194, 8.737561547160707, 8.774048250976428, 8.810610977557362, 8.847249726903515, 8.883964499014878, 8.920755293891453, 8.957622111533249, 8.994564951940252, 9.031583815112475, 9.068678701049908, 9.105849609752553, 9.143096541220418, 9.180419495453494, 9.21781847245178, 9.255293472215284, 9.292844494744003, 9.33047154003793, 9.368174608097076, 9.405953698921438, 9.443808812511007, 9.481739948865794, 9.519747107985797, 9.55783028987101, 9.595989494521438, 9.634224721937082, 9.672535972117936, 9.710923245064008, 9.749386540775292, 9.787925859251787, 9.826541200493502, 9.865232564500428, 9.903999951272564, 9.94284336080992, 9.98176279311249, 10.020758248180266, 10.059829726013263, 10.098977226611476, 10.138200749974894, 10.177500296103533, 10.216875864997386, 10.256327456656448, 10.295855071080728, 10.33545870827022, 10.375138368224931, 10.414894050944849, 10.454725756429983, 10.494633484680334, 10.534617235695894, 10.57467700947667, 10.61481280602266, 10.655024625333864, 10.695312467410282, 10.735676332251915, 10.77611621985876, 10.81663213023082, 10.857224063368095, 10.89789201927058, 10.938635997938283, 10.979455999371199, 11.020352023569325, 11.06132407053267, 11.10237214026123, 11.143496232754996, 11.184696348013984, 11.225972486038184, 11.267324646827593, 11.30875283038222, 11.350257036702065, 11.391837265787116, 11.433493517637384, 11.47522579225287, 11.517034089633562, 11.558918409779473, 11.600878752690598, 11.64291511836694, 11.685027506808488]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_small_sigma.json b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_small_sigma.json new file mode 100644 index 000000000000..9b17932d5c0a --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/fixtures/python/small_mu_small_sigma.json @@ -0,0 +1 @@ +{"mu": [-1.0, -0.9959919839679359, -0.9919839679358717, -0.9879759519038076, -0.9839679358717435, -0.9799599198396793, -0.9759519038076152, -0.9719438877755511, -0.9679358717434869, -0.9639278557114228, -0.9599198396793587, -0.9559118236472945, -0.9519038076152304, -0.9478957915831663, -0.9438877755511023, -0.9398797595190381, -0.935871743486974, -0.9318637274549099, -0.9278557114228457, -0.9238476953907816, -0.9198396793587175, -0.9158316633266533, -0.9118236472945892, -0.9078156312625251, -0.9038076152304609, -0.8997995991983968, -0.8957915831663327, -0.8917835671342685, -0.8877755511022044, -0.8837675350701403, -0.8797595190380761, -0.875751503006012, -0.8717434869739479, -0.8677354709418837, -0.8637274549098196, -0.8597194388777555, -0.8557114228456915, -0.8517034068136273, -0.8476953907815632, -0.8436873747494991, -0.8396793587174349, -0.8356713426853708, -0.8316633266533067, -0.8276553106212425, -0.8236472945891784, -0.8196392785571143, -0.8156312625250501, -0.811623246492986, -0.8076152304609219, -0.8036072144288577, -0.7995991983967936, -0.7955911823647295, -0.7915831663326653, -0.7875751503006012, -0.7835671342685371, -0.779559118236473, -0.7755511022044088, -0.7715430861723447, -0.7675350701402806, -0.7635270541082164, -0.7595190380761523, -0.7555110220440882, -0.751503006012024, -0.7474949899799599, -0.7434869739478958, -0.7394789579158316, -0.7354709418837675, -0.7314629258517034, -0.7274549098196392, -0.7234468937875751, -0.719438877755511, -0.7154308617234469, -0.7114228456913828, -0.7074148296593187, -0.7034068136272545, -0.6993987975951904, -0.6953907815631263, -0.6913827655310621, -0.687374749498998, -0.6833667334669339, -0.6793587174348698, -0.6753507014028056, -0.6713426853707415, -0.6673346693386774, -0.6633266533066133, -0.6593186372745492, -0.6553106212424851, -0.6513026052104209, -0.6472945891783568, -0.6432865731462927, -0.6392785571142285, -0.6352705410821644, -0.6312625250501003, -0.6272545090180361, -0.623246492985972, -0.6192384769539079, -0.6152304609218437, -0.6112224448897796, -0.6072144288577155, -0.6032064128256514, -0.5991983967935872, -0.5951903807615231, -0.591182364729459, -0.5871743486973948, -0.5831663326653307, -0.5791583166332666, -0.5751503006012024, -0.5711422845691383, -0.5671342685370742, -0.56312625250501, -0.5591182364729459, -0.5551102204408818, -0.5511022044088176, -0.5470941883767535, -0.5430861723446894, -0.5390781563126252, -0.5350701402805611, -0.531062124248497, -0.5270541082164328, -0.5230460921843687, -0.5190380761523046, -0.5150300601202404, -0.5110220440881764, -0.5070140280561123, -0.5030060120240482, -0.498997995991984, -0.4949899799599199, -0.49098196392785576, -0.4869739478957916, -0.4829659318637275, -0.47895791583166336, -0.47494989979959923, -0.4709418837675351, -0.46693386773547096, -0.46292585170340683, -0.4589178356713427, -0.45490981963927857, -0.45090180360721444, -0.4468937875751503, -0.44288577154308617, -0.43887775551102204, -0.434869739478958, -0.4308617234468939, -0.42685370741482975, -0.4228456913827656, -0.4188376753507015, -0.41482965931863736, -0.4108216432865732, -0.4068136272545091, -0.40280561122244496, -0.3987975951903808, -0.3947895791583167, -0.39078156312625256, -0.38677354709418843, -0.3827655310621243, -0.37875751503006017, -0.37474949899799603, -0.3707414829659319, -0.36673346693386777, -0.36272545090180364, -0.3587174348697395, -0.35470941883767537, -0.35070140280561124, -0.3466933867735471, -0.342685370741483, -0.33867735470941884, -0.3346693386773547, -0.3306613226452907, -0.32665330661322656, -0.3226452905811624, -0.3186372745490983, -0.31462925851703416, -0.31062124248497003, -0.3066132264529059, -0.30260521042084176, -0.29859719438877763, -0.2945891783567135, -0.29058116232464937, -0.28657314629258523, -0.2825651302605211, -0.27855711422845697, -0.27454909819639284, -0.2705410821643287, -0.2665330661322646, -0.26252505010020044, -0.2585170340681363, -0.2545090180360722, -0.25050100200400804, -0.2464929859719439, -0.24248496993987978, -0.23847695390781565, -0.23446893787575152, -0.2304609218436875, -0.22645290581162336, -0.22244488977955923, -0.2184368737474951, -0.21442885771543096, -0.21042084168336683, -0.2064128256513027, -0.20240480961923857, -0.19839679358717444, -0.1943887775551103, -0.19038076152304617, -0.18637274549098204, -0.1823647294589179, -0.17835671342685377, -0.17434869739478964, -0.1703406813627255, -0.16633266533066138, -0.16232464929859725, -0.1583166332665331, -0.15430861723446898, -0.15030060120240485, -0.14629258517034072, -0.14228456913827658, -0.13827655310621245, -0.13426853707414832, -0.1302605210420842, -0.12625250501002017, -0.12224448897795603, -0.1182364729458919, -0.11422845691382777, -0.11022044088176364, -0.1062124248496995, -0.10220440881763537, -0.09819639278557124, -0.09418837675350711, -0.09018036072144298, -0.08617234468937884, -0.08216432865731471, -0.07815631262525058, -0.07414829659318645, -0.07014028056112231, -0.06613226452905818, -0.06212424849699405, -0.05811623246492992, -0.054108216432865786, -0.05010020040080165, -0.04609218436873752, -0.04208416833667339, -0.038076152304609256, -0.034068136272545124, -0.030060120240480992, -0.02605210420841686, -0.02204408817635284, -0.018036072144288706, -0.014028056112224574, -0.010020040080160442, -0.006012024048096309, -0.002004008016032177, 0.002004008016031955, 0.006012024048096087, 0.01002004008016022, 0.014028056112224352, 0.018036072144288484, 0.022044088176352616, 0.02605210420841675, 0.03006012024048088, 0.03406813627254501, 0.038076152304609145, 0.04208416833667328, 0.04609218436873741, 0.05010020040080154, 0.054108216432865675, 0.05811623246492981, 0.06212424849699394, 0.06613226452905807, 0.0701402805611222, 0.07414829659318634, 0.07815631262525047, 0.0821643286573146, 0.08617234468937873, 0.09018036072144286, 0.094188376753507, 0.09819639278557113, 0.10220440881763526, 0.1062124248496994, 0.11022044088176353, 0.11422845691382766, 0.11823647294589179, 0.12224448897795592, 0.12625250501002006, 0.13026052104208397, 0.1342685370741481, 0.13827655310621223, 0.14228456913827636, 0.1462925851703405, 0.15030060120240463, 0.15430861723446876, 0.1583166332665329, 0.16232464929859702, 0.16633266533066116, 0.1703406813627253, 0.17434869739478942, 0.17835671342685355, 0.18236472945891768, 0.18637274549098182, 0.19038076152304595, 0.19438877755511008, 0.1983967935871742, 0.20240480961923835, 0.20641282565130248, 0.2104208416833666, 0.21442885771543074, 0.21843687374749488, 0.222444889779559, 0.22645290581162314, 0.23046092184368727, 0.2344689378757514, 0.23847695390781554, 0.24248496993987967, 0.2464929859719438, 0.25050100200400793, 0.25450901803607207, 0.2585170340681362, 0.26252505010020033, 0.26653306613226446, 0.2705410821643286, 0.2745490981963927, 0.27855711422845686, 0.282565130260521, 0.2865731462925851, 0.29058116232464926, 0.2945891783567134, 0.2985971943887775, 0.30260521042084165, 0.3066132264529058, 0.3106212424849699, 0.31462925851703405, 0.3186372745490982, 0.3226452905811623, 0.32665330661322645, 0.3306613226452906, 0.3346693386773545, 0.3386773547094186, 0.34268537074148275, 0.3466933867735469, 0.350701402805611, 0.35470941883767515, 0.3587174348697393, 0.3627254509018034, 0.36673346693386755, 0.3707414829659317, 0.3747494989979958, 0.37875751503005994, 0.3827655310621241, 0.3867735470941882, 0.39078156312625234, 0.3947895791583165, 0.3987975951903806, 0.40280561122244474, 0.40681362725450887, 0.410821643286573, 0.41482965931863713, 0.41883767535070127, 0.4228456913827654, 0.42685370741482953, 0.43086172344689366, 0.4348697394789578, 0.4388777555110219, 0.44288577154308606, 0.4468937875751502, 0.4509018036072143, 0.45490981963927846, 0.4589178356713426, 0.4629258517034067, 0.46693386773547085, 0.470941883767535, 0.4749498997995991, 0.47895791583166325, 0.4829659318637274, 0.4869739478957915, 0.49098196392785565, 0.4949899799599198, 0.4989979959919839, 0.503006012024048, 0.5070140280561122, 0.5110220440881763, 0.5150300601202404, 0.5190380761523046, 0.5230460921843687, 0.5270541082164328, 0.531062124248497, 0.5350701402805611, 0.539078156312625, 0.5430861723446891, 0.5470941883767533, 0.5511022044088174, 0.5551102204408815, 0.5591182364729457, 0.5631262525050098, 0.5671342685370739, 0.5711422845691381, 0.5751503006012022, 0.5791583166332663, 0.5831663326653305, 0.5871743486973946, 0.5911823647294587, 0.5951903807615229, 0.599198396793587, 0.6032064128256511, 0.6072144288577153, 0.6112224448897794, 0.6152304609218435, 0.6192384769539077, 0.6232464929859718, 0.6272545090180359, 0.6312625250501, 0.6352705410821642, 0.6392785571142283, 0.6432865731462925, 0.6472945891783566, 0.6513026052104207, 0.6553106212424848, 0.659318637274549, 0.6633266533066131, 0.6673346693386772, 0.6713426853707414, 0.6753507014028055, 0.6793587174348696, 0.6833667334669338, 0.6873747494989979, 0.691382765531062, 0.6953907815631262, 0.6993987975951903, 0.7034068136272544, 0.7074148296593186, 0.7114228456913827, 0.7154308617234468, 0.719438877755511, 0.7234468937875751, 0.7274549098196392, 0.7314629258517034, 0.7354709418837675, 0.7394789579158316, 0.7434869739478958, 0.7474949899799597, 0.7515030060120238, 0.7555110220440879, 0.7595190380761521, 0.7635270541082162, 0.7675350701402803, 0.7715430861723445, 0.7755511022044086, 0.7795591182364727, 0.7835671342685369, 0.787575150300601, 0.7915831663326651, 0.7955911823647293, 0.7995991983967934, 0.8036072144288575, 0.8076152304609217, 0.8116232464929858, 0.8156312625250499, 0.819639278557114, 0.8236472945891782, 0.8276553106212423, 0.8316633266533064, 0.8356713426853706, 0.8396793587174347, 0.8436873747494988, 0.847695390781563, 0.8517034068136271, 0.8557114228456912, 0.8597194388777554, 0.8637274549098195, 0.8677354709418836, 0.8717434869739478, 0.8757515030060119, 0.879759519038076, 0.8837675350701402, 0.8877755511022043, 0.8917835671342684, 0.8957915831663326, 0.8997995991983967, 0.9038076152304608, 0.907815631262525, 0.9118236472945891, 0.9158316633266532, 0.9198396793587174, 0.9238476953907815, 0.9278557114228456, 0.9318637274549098, 0.9358717434869739, 0.939879759519038, 0.9438877755511021, 0.9478957915831663, 0.9519038076152302, 0.9559118236472943, 0.9599198396793585, 0.9639278557114226, 0.9679358717434867, 0.9719438877755509, 0.975951903807615, 0.9799599198396791, 0.9839679358717432, 0.9879759519038074, 0.9919839679358715, 0.9959919839679356, 1.0], "sigma": [0.1, 0.10180360721442887, 0.10360721442885772, 0.10541082164328658, 0.10721442885771544, 0.10901803607214429, 0.11082164328657315, 0.11262525050100201, 0.11442885771543086, 0.11623246492985972, 0.11803607214428859, 0.11983967935871745, 0.1216432865731463, 0.12344689378757516, 0.12525050100200402, 0.12705410821643287, 0.12885771543086172, 0.1306613226452906, 0.13246492985971944, 0.13426853707414832, 0.13607214428857717, 0.13787575150300602, 0.13967935871743486, 0.14148296593186374, 0.1432865731462926, 0.14509018036072147, 0.14689378757515031, 0.14869739478957916, 0.150501002004008, 0.1523046092184369, 0.15410821643286574, 0.1559118236472946, 0.15771543086172346, 0.1595190380761523, 0.16132264529058116, 0.16312625250501003, 0.16492985971943888, 0.16673346693386776, 0.1685370741482966, 0.17034068136272545, 0.1721442885771543, 0.17394789579158318, 0.17575150300601203, 0.1775551102204409, 0.17935871743486975, 0.1811623246492986, 0.18296593186372745, 0.18476953907815633, 0.18657314629258517, 0.18837675350701405, 0.1901803607214429, 0.19198396793587175, 0.1937875751503006, 0.19559118236472947, 0.19739478957915832, 0.1991983967935872, 0.20100200400801604, 0.2028056112224449, 0.20460921843687374, 0.20641282565130262, 0.20821643286573147, 0.21002004008016034, 0.2118236472945892, 0.21362725450901804, 0.2154308617234469, 0.21723446893787576, 0.2190380761523046, 0.2208416833667335, 0.22264529058116234, 0.22444889779559118, 0.22625250501002006, 0.2280561122244489, 0.22985971943887776, 0.23166332665330663, 0.23346693386773548, 0.23527054108216433, 0.2370741482965932, 0.23887775551102206, 0.2406813627254509, 0.24248496993987978, 0.24428857715430863, 0.24609218436873748, 0.24789579158316635, 0.2496993987975952, 0.251503006012024, 0.2533066132264529, 0.2551102204408818, 0.2569138276553106, 0.2587174348697395, 0.2605210420841684, 0.2623246492985972, 0.26412825651302607, 0.2659318637274549, 0.26773547094188377, 0.2695390781563126, 0.27134268537074147, 0.2731462925851703, 0.2749498997995992, 0.27675350701402807, 0.2785571142284569, 0.2803607214428858, 0.28216432865731467, 0.2839679358717435, 0.28577154308617236, 0.2875751503006012, 0.28937875751503006, 0.2911823647294589, 0.29298597194388776, 0.2947895791583166, 0.2965931863727455, 0.29839679358717436, 0.3002004008016032, 0.3020040080160321, 0.30380761523046096, 0.3056112224448898, 0.30741482965931866, 0.3092184368737475, 0.31102204408817635, 0.3128256513026052, 0.31462925851703405, 0.3164328657314629, 0.3182364729458918, 0.32004008016032065, 0.3218436873747495, 0.3236472945891784, 0.32545090180360725, 0.3272545090180361, 0.32905811623246495, 0.3308617234468938, 0.33266533066132264, 0.3344689378757515, 0.33627254509018034, 0.3380761523046092, 0.3398797595190381, 0.34168336673346694, 0.3434869739478958, 0.3452905811623247, 0.34709418837675354, 0.3488977955911824, 0.35070140280561124, 0.3525050100200401, 0.35430861723446894, 0.3561122244488978, 0.35791583166332663, 0.3597194388777555, 0.36152304609218433, 0.3633266533066133, 0.36513026052104214, 0.366933867735471, 0.36873747494989983, 0.3705410821643287, 0.37234468937875753, 0.3741482965931864, 0.37595190380761523, 0.3777555110220441, 0.3795591182364729, 0.3813627254509018, 0.3831663326653306, 0.3849699398797596, 0.38677354709418843, 0.3885771543086173, 0.3903807615230461, 0.392184368737475, 0.3939879759519038, 0.39579158316633267, 0.3975951903807615, 0.39939879759519037, 0.4012024048096192, 0.40300601202404807, 0.4048096192384769, 0.4066132264529059, 0.4084168336673347, 0.41022044088176357, 0.4120240480961924, 0.41382765531062127, 0.4156312625250501, 0.41743486973947896, 0.4192384769539078, 0.42104208416833666, 0.4228456913827655, 0.42464929859719436, 0.4264529058116232, 0.42825651302605217, 0.430060120240481, 0.43186372745490986, 0.4336673346693387, 0.43547094188376756, 0.4372745490981964, 0.43907815631262526, 0.4408817635270541, 0.44268537074148295, 0.4444889779559118, 0.44629258517034065, 0.4480961923847695, 0.44989979959919846, 0.4517034068136273, 0.45350701402805615, 0.455310621242485, 0.45711422845691385, 0.4589178356713427, 0.46072144288577155, 0.4625250501002004, 0.46432865731462925, 0.4661322645290581, 0.46793587174348694, 0.4697394789579158, 0.47154308617234475, 0.4733466933867736, 0.47515030060120245, 0.4769539078156313, 0.47875751503006014, 0.480561122244489, 0.48236472945891784, 0.4841683366733467, 0.48597194388777554, 0.4877755511022044, 0.48957915831663323, 0.4913827655310621, 0.49318637274549104, 0.4949899799599199, 0.49679358717434874, 0.4985971943887776, 0.5004008016032064, 0.5022044088176353, 0.5040080160320641, 0.505811623246493, 0.5076152304609218, 0.5094188376753507, 0.5112224448897795, 0.5130260521042084, 0.5148296593186373, 0.5166332665330662, 0.518436873747495, 0.5202404809619239, 0.5220440881763527, 0.5238476953907816, 0.5256513026052104, 0.5274549098196393, 0.5292585170340681, 0.531062124248497, 0.5328657314629258, 0.5346693386773547, 0.5364729458917836, 0.5382765531062125, 0.5400801603206413, 0.5418837675350702, 0.543687374749499, 0.5454909819639279, 0.5472945891783567, 0.5490981963927856, 0.5509018036072144, 0.5527054108216433, 0.5545090180360721, 0.556312625250501, 0.5581162324649299, 0.5599198396793588, 0.5617234468937876, 0.5635270541082165, 0.5653306613226453, 0.5671342685370742, 0.568937875751503, 0.5707414829659319, 0.5725450901803607, 0.5743486973947896, 0.5761523046092184, 0.5779559118236474, 0.5797595190380762, 0.5815631262525051, 0.5833667334669339, 0.5851703406813628, 0.5869739478957916, 0.5887775551102205, 0.5905811623246493, 0.5923847695390781, 0.594188376753507, 0.5959919839679358, 0.5977955911823647, 0.5995991983967937, 0.6014028056112224, 0.6032064128256512, 0.6050100200400802, 0.606813627254509, 0.6086172344689379, 0.6104208416833667, 0.6122244488977956, 0.6140280561122244, 0.6158316633266533, 0.6176352705410821, 0.619438877755511, 0.6212424849699398, 0.6230460921843687, 0.6248496993987975, 0.6266533066132265, 0.6284569138276553, 0.6302605210420842, 0.632064128256513, 0.6338677354709419, 0.6356713426853707, 0.6374749498997996, 0.6392785571142284, 0.6410821643286573, 0.6428857715430861, 0.644689378757515, 0.6464929859719438, 0.6482965931863728, 0.6501002004008016, 0.6519038076152305, 0.6537074148296593, 0.6555110220440882, 0.657314629258517, 0.6591182364729459, 0.6609218436873747, 0.6627254509018036, 0.6645290581162324, 0.6663326653306613, 0.6681362725450901, 0.6699398797595191, 0.6717434869739479, 0.6735470941883768, 0.6753507014028056, 0.6771543086172345, 0.6789579158316633, 0.6807615230460922, 0.682565130260521, 0.6843687374749499, 0.6861723446893787, 0.6879759519038076, 0.6897795591182364, 0.6915831663326654, 0.6933867735470942, 0.6951903807615231, 0.6969939879759519, 0.6987975951903808, 0.7006012024048096, 0.7024048096192385, 0.7042084168336673, 0.7060120240480962, 0.707815631262525, 0.7096192384769539, 0.7114228456913827, 0.7132264529058117, 0.7150300601202405, 0.7168336673346694, 0.7186372745490982, 0.720440881763527, 0.7222444889779559, 0.7240480961923847, 0.7258517034068136, 0.7276553106212424, 0.7294589178356713, 0.7312625250501001, 0.733066132264529, 0.734869739478958, 0.7366733466933868, 0.7384769539078156, 0.7402805611222445, 0.7420841683366733, 0.7438877755511022, 0.745691382765531, 0.7474949899799599, 0.7492985971943887, 0.7511022044088176, 0.7529058116232464, 0.7547094188376753, 0.7565130260521042, 0.7583166332665331, 0.7601202404809619, 0.7619238476953908, 0.7637274549098196, 0.7655310621242485, 0.7673346693386773, 0.7691382765531062, 0.770941883767535, 0.7727454909819639, 0.7745490981963927, 0.7763527054108216, 0.7781563126252505, 0.7799599198396794, 0.7817635270541082, 0.7835671342685371, 0.7853707414829659, 0.7871743486973948, 0.7889779559118236, 0.7907815631262525, 0.7925851703406813, 0.7943887775551102, 0.796192384769539, 0.797995991983968, 0.7997995991983968, 0.8016032064128257, 0.8034068136272545, 0.8052104208416834, 0.8070140280561122, 0.8088176352705411, 0.8106212424849699, 0.8124248496993988, 0.8142284569138276, 0.8160320641282565, 0.8178356713426853, 0.8196392785571143, 0.8214428857715431, 0.823246492985972, 0.8250501002004008, 0.8268537074148297, 0.8286573146292585, 0.8304609218436874, 0.8322645290581162, 0.8340681362725451, 0.8358717434869739, 0.8376753507014028, 0.8394789579158316, 0.8412825651302606, 0.8430861723446894, 0.8448897795591183, 0.8466933867735471, 0.848496993987976, 0.8503006012024048, 0.8521042084168337, 0.8539078156312625, 0.8557114228456913, 0.8575150300601202, 0.859318637274549, 0.8611222444889779, 0.8629258517034069, 0.8647294589178357, 0.8665330661322646, 0.8683366733466934, 0.8701402805611222, 0.8719438877755511, 0.87374749498998, 0.8755511022044088, 0.8773547094188376, 0.8791583166332665, 0.8809619238476953, 0.8827655310621242, 0.8845691382765531, 0.886372745490982, 0.8881763527054108, 0.8899799599198397, 0.8917835671342685, 0.8935871743486974, 0.8953907815631262, 0.8971943887775551, 0.8989979959919839, 0.9008016032064128, 0.9026052104208416, 0.9044088176352705, 0.9062124248496994, 0.9080160320641283, 0.9098196392785571, 0.911623246492986, 0.9134268537074148, 0.9152304609218437, 0.9170340681362725, 0.9188376753507014, 0.9206412825651302, 0.9224448897795591, 0.9242484969939879, 0.9260521042084168, 0.9278557114228457, 0.9296593186372746, 0.9314629258517034, 0.9332665330661323, 0.9350701402805611, 0.93687374749499, 0.9386773547094188, 0.9404809619238477, 0.9422845691382765, 0.9440881763527054, 0.9458917835671342, 0.9476953907815631, 0.949498997995992, 0.9513026052104209, 0.9531062124248497, 0.9549098196392786, 0.9567134268537074, 0.9585170340681363, 0.9603206412825651, 0.962124248496994, 0.9639278557114228, 0.9657314629258517, 0.9675350701402805, 0.9693386773547094, 0.9711422845691383, 0.9729458917835672, 0.974749498997996, 0.9765531062124249, 0.9783567134268537, 0.9801603206412826, 0.9819639278557114, 0.9837675350701403, 0.9855711422845691, 0.987374749498998, 0.9891783567134268, 0.9909819639278556, 0.9927855711422846, 0.9945891783567135, 0.9963927855711423, 0.9981963927855712, 1.0], "expected": [0.001168502750680849, 0.0012110332643310775, 0.001254324005633445, 0.0012983749745879517, 0.0013431861711945977, 0.0013887575954533824, 0.0014350892473643066, 0.00148218112692737, 0.0015300332341425722, 0.0015786455690099139, 0.0016280181315293948, 0.0016781509217010146, 0.0017290439395247733, 0.0017806971850006716, 0.0018331106581287089, 0.0018862843589088848, 0.0019402182873412002, 0.0019949124434256553, 0.002050366827162249, 0.002106581438550982, 0.002163556277591854, 0.002221291344284865, 0.0022797866386300154, 0.0023390421606273052, 0.0023990579102767338, 0.002459833887578302, 0.0025213700925320087, 0.0025836665251378543, 0.0026467231853958394, 0.002710540073305964, 0.0027751171888682267, 0.0028404545320826306, 0.0029065521029491715, 0.0029734099014678524, 0.003041027927638672, 0.003109406181461632, 0.0031785446629367295, 0.0032484433720639675, 0.003319102308843344, 0.003390521473274859, 0.003462700865358514, 0.0035356404850943085, 0.0036093403324822413, 0.003683800407522314, 0.0037590207102145253, 0.003835001240558875, 0.003911741998555365, 0.003989242984203994, 0.004067504197504761, 0.004146525638457669, 0.004226307307062715, 0.004306849203319901, 0.0043881513272292245, 0.004470213678790689, 0.004553036258004291, 0.0046366190648700345, 0.004720962099387914, 0.004806065361557934, 0.004891928851380093, 0.004978552568854392, 0.00506593651398083, 0.005154080686759407, 0.005242985087190123, 0.005332649715272977, 0.005423074571007971, 0.005514259654395105, 0.005606204965434377, 0.0056989105041257895, 0.00579237627046934, 0.005886602264465029, 0.005981588486112859, 0.006077334935412826, 0.006173841612364933, 0.006271108516969181, 0.006369135649225565, 0.006467923009134091, 0.006567470596694755, 0.006667778411907557, 0.0067688464547724985, 0.00687067472528958, 0.006973263223458801, 0.00707661194928016, 0.00718072090275366, 0.0072855900838792965, 0.0073912194926570715, 0.00749760912908699, 0.007604758993169044, 0.007712669084903238, 0.007821339404289574, 0.007930769951328047, 0.008040960726018658, 0.008151911728361409, 0.008263622958356297, 0.008376094416003326, 0.008489326101302494, 0.008603318014253802, 0.008718070154857246, 0.008833582523112836, 0.00894985511902056, 0.009066887942580424, 0.00918468099379243, 0.009303234272656571, 0.009422547779172851, 0.00954262151334127, 0.00966345547516183, 0.009785049664634528, 0.009907404081759367, 0.010030518726536342, 0.010154393598965458, 0.010279028699046717, 0.010404424026780112, 0.010530579582165642, 0.010657495365203318, 0.01078517137589313, 0.01091360761423508, 0.01104280408022917, 0.0111727607738754, 0.011303477695173767, 0.011434954844124273, 0.01156719222072692, 0.011700189824981706, 0.011833947656888635, 0.011968465716447696, 0.0121037440036589, 0.012239782518522245, 0.012376581261037726, 0.012514140231205347, 0.012652459429025105, 0.012791538854497004, 0.01293137850762104, 0.013071978388397217, 0.013213338496825534, 0.01335545883290599, 0.013498339396638586, 0.013641980188023319, 0.013786381207060192, 0.013931542453749206, 0.014077463928090358, 0.014224145630083647, 0.014371587559729077, 0.014519789717026643, 0.014668752101976351, 0.014818474714578197, 0.014968957554832182, 0.015120200622738306, 0.01527220391829657, 0.015424967441506983, 0.015578491192369523, 0.015732775170884204, 0.015887819377051027, 0.016043623810869982, 0.01620018847234108, 0.01635751336146432, 0.016515598478239697, 0.016674443822667213, 0.016834049394746867, 0.01699441519447866, 0.017155541221862594, 0.017317427476898677, 0.017480073959586888, 0.017643480669927238, 0.017807647607919728, 0.017972574773564357, 0.018138262166861124, 0.01830470978781003, 0.018471917636411078, 0.018639885712664263, 0.018808614016569587, 0.018978102548127054, 0.019148351307336654, 0.019319360294198406, 0.01949112950871229, 0.019663658950878307, 0.019836948620696467, 0.020010998518166765, 0.020185808643289206, 0.02036137899606378, 0.020537709576490495, 0.02071480038456935, 0.020892651420300345, 0.021071262683683478, 0.02125063417471875, 0.021430765893406173, 0.021611657839745724, 0.021793310013737414, 0.021975722415381243, 0.02215889504467721, 0.022342827901625315, 0.022527520986225565, 0.02271297429847795, 0.022899187838382472, 0.023086161605939137, 0.02327389560114794, 0.023462389824008882, 0.023651644274521974, 0.023841658952687195, 0.024032433858504555, 0.02422396899197405, 0.02441626435309569, 0.02460931994186947, 0.024803135758295385, 0.024997711802373437, 0.025193048074103632, 0.025389144573485966, 0.02558600130052044, 0.025783618255207048, 0.025981995437545813, 0.026181132847536703, 0.02638103048517973, 0.026581688350474898, 0.026783106443422206, 0.026985284764021653, 0.02718822331227324, 0.027391922088176965, 0.02759638109173283, 0.027801600322940833, 0.028007579781800972, 0.028214319468313254, 0.02842181938247769, 0.028630079524294246, 0.028839099893762946, 0.029048880490883784, 0.029259421315656762, 0.029470722368081875, 0.02968278364815913, 0.029895605155888526, 0.03010918689127006, 0.03032352885430373, 0.030538631044989543, 0.030754493463327495, 0.030971116109317597, 0.031188498982959827, 0.03140664208425419, 0.0316255454132007, 0.031845208969799345, 0.03206563275405013, 0.03228681676595306, 0.03250876100550812, 0.032731465472715326, 0.03295493016757467, 0.03317915509008615, 0.03340414024024976, 0.03362988561806555, 0.033856391223533434, 0.03408365705665348, 0.034311683117425655, 0.03454046940584997, 0.034770015921926425, 0.035000322665655025, 0.03523138963703576, 0.03546321683606862, 0.035695804262753636, 0.035929151917090785, 0.036163259799080076, 0.036398127908721524, 0.036633756246015094, 0.0368701448109608, 0.03710729360355864, 0.03734520262380863, 0.03758387187171076, 0.03782330134726502, 0.038063491050471424, 0.038304440981329964, 0.03854615113984065, 0.03878862152600347, 0.03903185213981844, 0.03927584298128554, 0.03952059405040478, 0.03976610534717616, 0.04001237687159967, 0.04025940862367533, 0.040507200603403126, 0.04075575281078305, 0.041005065245815125, 0.041255137908499336, 0.04150597079883569, 0.041757563916824184, 0.04200991726246483, 0.04226303083575758, 0.042516904636702484, 0.04277153866529954, 0.04302693292154873, 0.04328308740545006, 0.043540002117003526, 0.04379767705620913, 0.04405611222306687, 0.044315307617576745, 0.04457526323973877, 0.044835979089552926, 0.045097455167019226, 0.04535969147213767, 0.04562268800490824, 0.04588644476533098, 0.04615096175340583, 0.04641623896913282, 0.04668227641251196, 0.04694907408354323, 0.04721663198222664, 0.0474849501085622, 0.04775402846254989, 0.04802386704418972, 0.048294465853481676, 0.04856582489042579, 0.04883794415502204, 0.049110823647270443, 0.049384463367170964, 0.049658863314723634, 0.04993402348992844, 0.05020994389278537, 0.05048662452329445, 0.05076406538145568, 0.05104226646726904, 0.05132122778073454, 0.05160094932185218, 0.05188143109062195, 0.052162673087043865, 0.05244467531111794, 0.05272743776284413, 0.05301096044222247, 0.053295243349252945, 0.053580286483935556, 0.05386608984627031, 0.05415265343625719, 0.05443997725389622, 0.05472806129918739, 0.0550169055721307, 0.05530651007272615, 0.055596874800973736, 0.05588799975687348, 0.056179884940425334, 0.05647253035162934, 0.05676593599048548, 0.05706010185699376, 0.057355027951154186, 0.05765071427296675, 0.05794716082243145, 0.05824436759954829, 0.05854233460431726, 0.05884106183673837, 0.05914054929681163, 0.059440796984537046, 0.05974180489991458, 0.060043573042944255, 0.06034610141362607, 0.060649390011960014, 0.06095343883794611, 0.061258247891584336, 0.06156381717287471, 0.061870146681817215, 0.062177236418411864, 0.06248508638265865, 0.06279369657455758, 0.06310306699410866, 0.06341319764131186, 0.0637240885161672, 0.06403573961867469, 0.06434815094883431, 0.06466132250664607, 0.06497525429210997, 0.065289946305226, 0.06560539854599418, 0.06592161101441449, 0.06623858371048695, 0.06655631663421155, 0.0668748097855883, 0.06719406316461718, 0.06751407677129818, 0.06783485060563132, 0.06815638466761663, 0.06847867895725405, 0.06880173347454363, 0.06912554821948533, 0.06945012319207919, 0.06977545839232516, 0.07010155382022329, 0.07042840947577356, 0.07075602535897597, 0.07108440146983053, 0.0714135378083372, 0.07174343437449603, 0.07207409116830697, 0.07240550818977008, 0.07273768543888531, 0.0730706229156527, 0.07340432062007221, 0.07373877855214388, 0.07407399671186767, 0.07440997509924362, 0.07474671371427169, 0.0750842125569519, 0.07542247162728426, 0.07576149092526875, 0.07610127045090538, 0.07644181020419415, 0.07678311018513506, 0.0771251703937281, 0.07746799082997329, 0.07781157149387061, 0.07815591238542008, 0.0785010135046217, 0.07884687485147544, 0.07919349642598134, 0.07954087822813934, 0.0798890202579495, 0.0802379225154118, 0.08058758500052625, 0.08093800771329282, 0.08128919065371154, 0.0816411338217824, 0.08199383721750539, 0.08234730084088052, 0.08270152469190782, 0.08305650877058723, 0.08341225307691878, 0.08376875761090248, 0.0841260223725383, 0.08448404736182627, 0.08484283257876638, 0.08520237802335862, 0.085562683695603, 0.08592374959549953, 0.08628557572304821, 0.086648162078249, 0.08701150866110197, 0.08737561547160705, 0.08774048250976427, 0.08810610977557363, 0.08847249726903514, 0.08883964499014878, 0.08920755293891455, 0.08957622111533248, 0.08994564951940251, 0.09031583815112472, 0.09068678701049905, 0.09105849609752552, 0.09143096541220416, 0.09180419495453492, 0.0921781847245178, 0.09255293472215283, 0.09292844494744, 0.09330471540037931, 0.09368174608097075, 0.09405953698921435, 0.09443808812511006, 0.09481739948865793, 0.09519747107985793, 0.09557830289871007, 0.09595989494521438, 0.0963422472193708, 0.09672535972117936, 0.09710923245064007, 0.09749386540775291, 0.09787925859251789, 0.098265412004935, 0.09865232564500426, 0.09903999951272564, 0.09942843360809918, 0.09981762793112486, 0.10020758248180267, 0.10059829726013265, 0.10098977226611473, 0.10138200749974896, 0.10177500296103534, 0.10216875864997384, 0.10256327456656449, 0.10295855071080728, 0.1033545870827022, 0.10375138368224926, 0.10414894050944846, 0.1045472575642998, 0.1049463348468033, 0.10534617235695894, 0.1057467700947667, 0.10614812806022661, 0.10655024625333863, 0.10695312467410281, 0.10735676332251913, 0.10776116219858758, 0.10816632130230819, 0.10857224063368093, 0.1089789201927058, 0.10938635997938281, 0.10979455999371195, 0.11020352023569327, 0.1106132407053267, 0.11102372140261227, 0.11143496232754999, 0.11184696348013984, 0.11225972486038183, 0.11267324646827594, 0.1130875283038222, 0.1135025703670206, 0.11391837265787115, 0.11433493517637383, 0.11475225792252866, 0.11517034089633565, 0.11558918409779474, 0.11600878752690598, 0.11642915118366935, 0.11685027506808487]} diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.js new file mode 100644 index 000000000000..7f61dade8858 --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.js @@ -0,0 +1,145 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var isAlmostSameValue = require( '@stdlib/assert/is-almost-same-value' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var PINF = require( '@stdlib/constants/float64/pinf' ); +var NINF = require( '@stdlib/constants/float64/ninf' ); +var variance = require( './../lib' ); + + +// FIXTURES // + +var smallMuSmallSigma = require( './fixtures/python/small_mu_small_sigma.json' ); +var smallMuLargeSigma = require( './fixtures/python/small_mu_large_sigma.json' ); +var largeMuSmallSigma = require( './fixtures/python/large_mu_small_sigma.json' ); +var largeMuLargeSigma = require( './fixtures/python/large_mu_large_sigma.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof variance, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN` for any parameter, the function returns `NaN`', function test( t ) { + var y = variance( NaN, 1.0 ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + y = variance( 1.0, NaN ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', function test( t ) { + var y; + + y = variance( 2.0, 0.0 ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( 2.0, -1.0 ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( 1.0, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( PINF, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( NINF, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( NaN, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for small `mu` and small `sigma`', function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = smallMuSmallSigma.expected; + mu = smallMuSmallSigma.mu; + sigma = smallMuSmallSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for small `mu` and large `sigma`', function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = smallMuLargeSigma.expected; + mu = smallMuLargeSigma.mu; + sigma = smallMuLargeSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for large `mu` and small `sigma`', function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = largeMuSmallSigma.expected; + mu = largeMuSmallSigma.mu; + sigma = largeMuSmallSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for large `mu` and large `sigma`', function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = largeMuLargeSigma.expected; + mu = largeMuLargeSigma.mu; + sigma = largeMuLargeSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); diff --git a/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.native.js new file mode 100644 index 000000000000..5a3963c2ccab --- /dev/null +++ b/lib/node_modules/@stdlib/stats/base/dists/anglit/variance/test/test.native.js @@ -0,0 +1,154 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var tape = require( 'tape' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var isAlmostSameValue = require( '@stdlib/assert/is-almost-same-value' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var PINF = require( '@stdlib/constants/float64/pinf' ); +var NINF = require( '@stdlib/constants/float64/ninf' ); + + +// VARIABLES // + +var variance = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( variance instanceof Error ) +}; + + +// FIXTURES // + +var smallMuSmallSigma = require( './fixtures/python/small_mu_small_sigma.json' ); +var smallMuLargeSigma = require( './fixtures/python/small_mu_large_sigma.json' ); +var largeMuSmallSigma = require( './fixtures/python/large_mu_small_sigma.json' ); +var largeMuLargeSigma = require( './fixtures/python/large_mu_large_sigma.json' ); + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof variance, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN` for any parameter, the function returns `NaN`', opts, function test( t ) { + var y = variance( NaN, 1.0 ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + y = variance( 1.0, NaN ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', opts, function test( t ) { + var y; + + y = variance( 2.0, 0.0 ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( 2.0, -1.0 ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( 1.0, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( PINF, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( NINF, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + y = variance( NaN, NINF ); + t.strictEqual( isnan( y ), true, 'returns expected value' ); + + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for small `mu` and small `sigma`', opts, function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = smallMuSmallSigma.expected; + mu = smallMuSmallSigma.mu; + sigma = smallMuSmallSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for small `mu` and large `sigma`', opts, function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = smallMuLargeSigma.expected; + mu = smallMuLargeSigma.mu; + sigma = smallMuLargeSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for large `mu` and small `sigma`', opts, function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = largeMuSmallSigma.expected; + mu = largeMuSmallSigma.mu; + sigma = largeMuSmallSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns the variance of an anglit distribution for large `mu` and large `sigma`', opts, function test( t ) { + var expected; + var sigma; + var mu; + var y; + var i; + + expected = largeMuLargeSigma.expected; + mu = largeMuLargeSigma.mu; + sigma = largeMuLargeSigma.sigma; + for ( i = 0; i < expected.length; i++ ) { + y = variance( mu[i], sigma[i] ); + t.strictEqual( isAlmostSameValue( y, expected[i], 40 ), true, 'returns expected value' ); + } + t.end(); +});