diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/README.md b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/README.md
new file mode 100644
index 000000000000..5ca50256d4df
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/README.md
@@ -0,0 +1,251 @@
+
+
+# Variance
+
+> [Half-normal][half-normal-distribution] distribution [variance][variance].
+
+
+
+
+
+The [variance][variance] for a [half-normal][half-normal-distribution] random variable with scale parameter `σ > 0` is
+
+
+
+```math
+\mathop{\mathrm{Var}}\left[ X \right] = \sigma^{2} \left(1 - \frac{2}{\pi}\right)
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var variance = require( '@stdlib/stats/base/dists/halfnormal/variance' );
+```
+
+#### variance( sigma )
+
+Returns the [variance][variance] for a [half-normal][half-normal-distribution] distribution with scale parameter `sigma`.
+
+```javascript
+var y = variance( 1.0 );
+// returns ~0.363
+y = variance( 4.0 );
+// returns ~5.814
+
+y = variance( 0.5 );
+// returns ~0.091
+```
+
+If provided `NaN` as any argument, the function returns `NaN`.
+
+```javascript
+var y = variance( NaN );
+// returns NaN
+```
+
+If provided `sigma <= 0`, the function returns `NaN`.
+
+```javascript
+var y = variance( 0.0 );
+// returns NaN
+
+y = variance( -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/halfnormal/variance' );
+
+var opts = {
+ 'dtype': 'float64'
+};
+var sigma = uniform( 10, 0.0, 20.0, opts );
+
+logEachMap( 'σ: %lf, Var(X;σ): %lf', sigma, variance );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+* * *
+
+
+
+## C APIs
+
+
+
+
+
+
+
+
+
+
+
+### Usage
+
+```c
+#include "stdlib/stats/base/dists/halfnormal/variance.h"
+```
+
+#### stdlib_base_dists_halfnormal_variance( sigma )
+
+Returns the variance for a [half-normal][half-normal-distribution] distribution with scale parameter `sigma`.
+
+```c
+double out = stdlib_base_dists_halfnormal_variance( 1.0 );
+// returns ~0.363
+
+The function accepts the following arguments:
+
+- **sigma**: `[in] double` scale parameter.
+
+```c
+double stdlib_base_dists_halfnormal_variance( const double sigma );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+### Examples
+
+```c
+#include "stdlib/stats/base/dists/halfnormal/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 sigma;
+ double y;
+ int i;
+
+ for ( i = 0; i < 10; i++ ) {
+ sigma = random_uniform( 0.1, 20.0 );
+ y = stdlib_base_dists_halfnormal_variance( sigma );
+ printf( "σ: %lf, Var(X;σ): %lf\n", sigma, y );
+ }
+}
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[half-normal-distribution]: https://en.wikipedia.org/wiki/Half-normal_distribution
+
+[variance]: https://en.wikipedia.org/wiki/Variance
+
+
+
+
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/benchmark.js
new file mode 100644
index 000000000000..81264564d31a
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/benchmark.js
@@ -0,0 +1,55 @@
+/**
+* @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 len;
+ var y;
+ var i;
+
+ len = 100;
+ sigma = uniform( len, EPS, 100 );
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ y = variance( sigma[ i % len ] );
+ 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/halfnormal/variance/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/benchmark.native.js
new file mode 100644
index 000000000000..ce8b9b48e9a9
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/benchmark.native.js
@@ -0,0 +1,64 @@
+/**
+* @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 uniform = require( '@stdlib/random/array/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var tryRequire = require( '@stdlib/utils/try-require' );
+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 len;
+ var y;
+ var i;
+
+ len = 100;
+ sigma = uniform( len, EPS, 100 );
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ y = variance( sigma[ i % len ] );
+ 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/halfnormal/variance/benchmark/c/Makefile b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/c/Makefile
new file mode 100644
index 000000000000..979768abbcec
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/c/Makefile
@@ -0,0 +1,146 @@
+#/
+# @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
+
+# Define the program used for compiling C source files:
+ifdef C_COMPILER
+ CC := $(C_COMPILER)
+else
+ CC := gcc
+endif
+
+# Define the command-line options when compiling C files:
+CFLAGS ?= \
+ -std=c99 \
+ -O3 \
+ -Wall \
+ -pedantic
+
+# Determine whether to generate position independent code ([1][1], [2][2]).
+#
+# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options
+# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option
+ifeq ($(OS), WINNT)
+ fPIC ?=
+else
+ fPIC ?= -fPIC
+endif
+
+# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`):
+INCLUDE ?=
+
+# List of source files:
+SOURCE_FILES ?=
+
+# List of libraries (e.g., `-lopenblas -lpthread`):
+LIBRARIES ?=
+
+# List of library paths (e.g., `-L /foo/bar -L /beep/boop`):
+LIBPATH ?=
+
+# List of C targets:
+c_targets := benchmark.out
+
+
+# RULES #
+
+#/
+# Compiles source files.
+#
+# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`)
+# @param {string} [CFLAGS] - C compiler options
+# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`)
+# @param {string} [SOURCE_FILES] - list of source files
+# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`)
+# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`)
+#
+# @example
+# make
+#
+# @example
+# make all
+#/
+all: $(c_targets)
+
+.PHONY: all
+
+#/
+# Compiles C source files.
+#
+# @private
+# @param {string} CC - C compiler (e.g., `gcc`)
+# @param {string} CFLAGS - C compiler options
+# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`)
+# @param {string} SOURCE_FILES - list of source files
+# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`)
+# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`)
+#/
+$(c_targets): %.out: %.c
+ $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES)
+
+#/
+# Runs compiled benchmarks.
+#
+# @example
+# make run
+#/
+run: $(c_targets)
+ $(QUIET) ./$<
+
+.PHONY: run
+
+#/
+# Removes generated files.
+#
+# @example
+# make clean
+#/
+clean:
+ $(QUIET) -rm -f *.o *.out
+
+.PHONY: clean
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/c/benchmark.c
new file mode 100644
index 000000000000..756e59671db0
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/benchmark/c/benchmark.c
@@ -0,0 +1,139 @@
+/**
+* @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/halfnormal/variance.h"
+#include "stdlib/constants/float64/eps.h"
+#include
+#include
+#include
+#include
+#include
+
+#define NAME "halfnormal-variance"
+#define ITERATIONS 1000000
+#define REPEATS 3
+
+/**
+* Prints the TAP version.
+*/
+static void print_version( void ) {
+ printf( "TAP version 13\n" );
+}
+
+/**
+* Prints the TAP summary.
+*
+* @param total total number of tests
+* @param passing total number of passing tests
+*/
+static void print_summary( int total, int passing ) {
+ printf( "#\n" );
+ printf( "1..%d\n", total ); // TAP plan
+ printf( "# total %d\n", total );
+ printf( "# pass %d\n", passing );
+ printf( "#\n" );
+ printf( "# ok\n" );
+}
+
+/**
+* Prints benchmarks results.
+*
+* @param elapsed elapsed time in seconds
+*/
+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" );
+}
+
+/**
+* Returns a clock time.
+*
+* @return clock time
+*/
+static double tic( void ) {
+ struct timeval now;
+ gettimeofday( &now, NULL );
+ return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
+}
+
+/**
+* Generates a random number on the interval [min,max).
+*
+* @param min minimum value (inclusive)
+* @param max maximum value (exclusive)
+* @return random number
+*/
+static double random_uniform( const double min, const double max ) {
+ double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
+ return min + ( v*(max-min) );
+}
+
+/**
+* Runs a benchmark.
+*
+* @return elapsed time in seconds
+*/
+static double benchmark( void ) {
+ double elapsed;
+ double sigma[ 100 ];
+ double y;
+ double t;
+ int i;
+
+ for ( i = 0; i < 100; i++ ) {
+ sigma[ i ] = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 10.0 );
+ }
+
+ t = tic();
+ for ( i = 0; i < ITERATIONS; i++ ) {
+ y = stdlib_base_dists_halfnormal_variance( 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;
+}
+
+/**
+* Main execution sequence.
+*/
+int main( void ) {
+ double elapsed;
+ int i;
+
+ // Use the current time to seed the random number generator:
+ 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/halfnormal/variance/binding.gyp b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/binding.gyp
new file mode 100644
index 000000000000..0d6508a12e99
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/binding.gyp
@@ -0,0 +1,170 @@
+# @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
+{
+ # List of files to include in this file:
+ 'includes': [
+ './include.gypi',
+ ],
+
+ # Define variables to be used throughout the configuration for all targets:
+ 'variables': {
+ # Target name should match the add-on export name:
+ 'addon_target_name%': 'addon',
+
+ # Set variables based on the host OS:
+ 'conditions': [
+ [
+ 'OS=="win"',
+ {
+ # Define the object file suffix:
+ 'obj': 'obj',
+ },
+ {
+ # Define the object file suffix:
+ 'obj': 'o',
+ }
+ ], # end condition (OS=="win")
+ ], # end conditions
+ }, # end variables
+
+ # Define compile targets:
+ 'targets': [
+
+ # Target to generate an add-on:
+ {
+ # The target name should match the add-on export name:
+ 'target_name': '<(addon_target_name)',
+
+ # Define dependencies:
+ 'dependencies': [],
+
+ # Define directories which contain relevant include headers:
+ 'include_dirs': [
+ # Local include directory:
+ '<@(include_dirs)',
+ ],
+
+ # List of source files:
+ 'sources': [
+ '<@(src_files)',
+ ],
+
+ # Settings which should be applied when a target's object files are used as linker input:
+ 'link_settings': {
+ # Define libraries:
+ 'libraries': [
+ '<@(libraries)',
+ ],
+
+ # Define library directories:
+ 'library_dirs': [
+ '<@(library_dirs)',
+ ],
+ },
+
+ # C/C++ compiler flags:
+ 'cflags': [
+ # Enable commonly used warning options:
+ '-Wall',
+
+ # Aggressive optimization:
+ '-O3',
+ ],
+
+ # C specific compiler flags:
+ 'cflags_c': [
+ # Specify the C standard to which a program is expected to conform:
+ '-std=c99',
+ ],
+
+ # C++ specific compiler flags:
+ 'cflags_cpp': [
+ # Specify the C++ standard to which a program is expected to conform:
+ '-std=c++11',
+ ],
+
+ # Linker flags:
+ 'ldflags': [],
+
+ # Apply conditions based on the host OS:
+ 'conditions': [
+ [
+ 'OS=="mac"',
+ {
+ # Linker flags:
+ 'ldflags': [
+ '-undefined dynamic_lookup',
+ '-Wl,-no-pie',
+ '-Wl,-search_paths_first',
+ ],
+ },
+ ], # end condition (OS=="mac")
+ [
+ 'OS!="win"',
+ {
+ # C/C++ flags:
+ 'cflags': [
+ # Generate platform-independent code:
+ '-fPIC',
+ ],
+ },
+ ], # end condition (OS!="win")
+ ], # end conditions
+ }, # end target <(addon_target_name)
+
+ # Target to copy a generated add-on to a standard location:
+ {
+ 'target_name': 'copy_addon',
+
+ # Declare that the output of this target is not linked:
+ 'type': 'none',
+
+ # Define dependencies:
+ 'dependencies': [
+ # Require that the add-on be generated before building this target:
+ '<(addon_target_name)',
+ ],
+
+ # Define a list of actions:
+ 'actions': [
+ {
+ 'action_name': 'copy_addon',
+ 'message': 'Copying addon...',
+
+ # Explicitly list the inputs in the command-line invocation below:
+ 'inputs': [],
+
+ # Declare the expected outputs:
+ 'outputs': [
+ '<(addon_output_dir)/<(addon_target_name).node',
+ ],
+
+ # Define the command-line invocation:
+ 'action': [
+ 'cp',
+ '<(PRODUCT_DIR)/<(addon_target_name).node',
+ '<(addon_output_dir)/<(addon_target_name).node',
+ ],
+ },
+ ], # end actions
+ }, # end target copy_addon
+ ], # end targets
+}
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/repl.txt
new file mode 100644
index 000000000000..55d88420ef4d
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/repl.txt
@@ -0,0 +1,33 @@
+
+{{alias}}( σ )
+ Returns the variance of a half-normal distribution with scale
+ parameter `σ`.
+
+ If provided `NaN` as any argument, the function returns `NaN`.
+
+ If provided `σ <= 0`, the function returns `NaN`.
+
+ Parameters
+ ----------
+ σ: number
+ Scale parameter.
+
+ Returns
+ -------
+ out: number
+ Variance.
+
+ Examples
+ --------
+ > var y = {{alias}}( 1.0 )
+ ~0.3634
+ > y = {{alias}}( 5.0 )
+ ~9.0845
+ > y = {{alias}}( NaN )
+ NaN
+ > y = {{alias}}( 0.0 )
+ NaN
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/types/index.d.ts
new file mode 100644
index 000000000000..6fb2b59916be
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/types/index.d.ts
@@ -0,0 +1,52 @@
+/*
+* @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 a half-normal distribution with scale parameter `sigma`.
+*
+* ## Notes
+*
+* - If provided `sigma <= 0`, the function returns `NaN`.
+*
+* @param sigma - scale parameter
+* @returns variance
+*
+* @example
+* var y = variance( 1.0 );
+* // returns ~0.3634
+*
+* @example
+* var y = variance( 5.0 );
+* // returns ~9.0845
+*
+* @example
+* var y = variance( NaN );
+* // returns NaN
+*
+* @example
+* var y = variance( 0.0 );
+* // returns NaN
+*/
+declare function variance( sigma: number ): number;
+
+
+// EXPORTS //
+
+export = variance;
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/types/test.ts b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/types/test.ts
new file mode 100644
index 000000000000..bd3d947eae4f
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/docs/types/test.ts
@@ -0,0 +1,42 @@
+/*
+* @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 //
+
+// The function returns a number...
+{
+ variance( 2 ); // $ExpectType number
+}
+
+// The compiler throws an error if the function is provided a value other than a number...
+{
+ variance( true ); // $ExpectError
+ variance( false ); // $ExpectError
+ variance( '5' ); // $ExpectError
+ variance( [] ); // $ExpectError
+ variance( {} ); // $ExpectError
+ variance( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided insufficient arguments...
+{
+ variance(); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/c/Makefile b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/c/Makefile
new file mode 100644
index 000000000000..c8f8e9a1517b
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/c/Makefile
@@ -0,0 +1,146 @@
+#/
+# @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
+
+# Define the program used for compiling C source files:
+ifdef C_COMPILER
+ CC := $(C_COMPILER)
+else
+ CC := gcc
+endif
+
+# Define the command-line options when compiling C files:
+CFLAGS ?= \
+ -std=c99 \
+ -O3 \
+ -Wall \
+ -pedantic
+
+# Determine whether to generate position independent code ([1][1], [2][2]).
+#
+# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options
+# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option
+ifeq ($(OS), WINNT)
+ fPIC ?=
+else
+ fPIC ?= -fPIC
+endif
+
+# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`):
+INCLUDE ?=
+
+# List of source files:
+SOURCE_FILES ?=
+
+# List of libraries (e.g., `-lopenblas -lpthread`):
+LIBRARIES ?=
+
+# List of library paths (e.g., `-L /foo/bar -L /beep/boop`):
+LIBPATH ?=
+
+# List of C targets:
+c_targets := example.out
+
+
+# RULES #
+
+#/
+# Compiles source files.
+#
+# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`)
+# @param {string} [CFLAGS] - C compiler options
+# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`)
+# @param {string} [SOURCE_FILES] - list of source files
+# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`)
+# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`)
+#
+# @example
+# make
+#
+# @example
+# make all
+#/
+all: $(c_targets)
+
+.PHONY: all
+
+#/
+# Compiles C source files.
+#
+# @private
+# @param {string} CC - C compiler (e.g., `gcc`)
+# @param {string} CFLAGS - C compiler options
+# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
+# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`)
+# @param {string} SOURCE_FILES - list of source files
+# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`)
+# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`)
+#/
+$(c_targets): %.out: %.c
+ $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES)
+
+#/
+# Runs compiled examples.
+#
+# @example
+# make run
+#/
+run: $(c_targets)
+ $(QUIET) ./$<
+
+.PHONY: run
+
+#/
+# Removes generated files.
+#
+# @example
+# make clean
+#/
+clean:
+ $(QUIET) -rm -f *.o *.out
+
+.PHONY: clean
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/c/example.c b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/c/example.c
new file mode 100644
index 000000000000..a040b9a8c8de
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/c/example.c
@@ -0,0 +1,38 @@
+/**
+* @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/halfnormal/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 sigma;
+ double y;
+ int i;
+
+ for ( i = 0; i < 10; i++ ) {
+ sigma = random_uniform( 0.0, 20.0 );
+ y = stdlib_base_dists_halfnormal_variance( sigma );
+ printf( "σ: %lf, Var(X;σ): %lf\n", sigma, y );
+ }
+}
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/index.js b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/index.js
new file mode 100644
index 000000000000..9687b4f4ecfe
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/index.js
@@ -0,0 +1,30 @@
+/**
+* @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 sigma = uniform( 10, 0.0, 20.0, opts );
+
+logEachMap( 'σ: %lf, Var(X;σ): %lf', sigma, variance );
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/include.gypi b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/include.gypi
new file mode 100644
index 000000000000..bee8d41a2caf
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/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",
+ "parameter",
+ "continuous",
+ "variance",
+ "spread",
+ "dispersion",
+ "halfnormal",
+ "univariate"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/Makefile b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/Makefile
new file mode 100644
index 000000000000..2caf905cedbe
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/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/halfnormal/variance/src/addon.c b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/addon.c
new file mode 100644
index 000000000000..9ec7c0184b16
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/addon.c
@@ -0,0 +1,23 @@
+/**
+* @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/halfnormal/variance.h"
+#include "stdlib/math/base/napi/unary.h"
+
+// cppcheck-suppress shadowFunction
+STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_dists_halfnormal_variance );
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/main.c b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/main.c
new file mode 100644
index 000000000000..4b00d1e0d8bb
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/src/main.c
@@ -0,0 +1,38 @@
+/**
+* @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/halfnormal/variance.h"
+#include "stdlib/math/base/assert/is_nan.h"
+#include "stdlib/constants/float64/pi.h"
+
+/**
+* Returns the variance for a half-normal distribution with scale parameter `sigma`.
+*
+* @param sigma scale parameter
+* @return variance
+*
+* @example
+* double y = stdlib_base_dists_halfnormal_variance( 1.0 );
+* // returns ~0.363
+*/
+double stdlib_base_dists_halfnormal_variance( const double sigma ) {
+ if ( stdlib_base_is_nan( sigma ) || sigma <= 0.0 ) {
+ return 0.0 / 0.0; // NaN
+ }
+ return ( sigma * sigma ) * ( 1.0 - ( 2.0 / STDLIB_CONSTANT_FLOAT64_PI ) );
+}
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/REQUIRE
new file mode 100644
index 000000000000..98be20b58ed3
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/REQUIRE
@@ -0,0 +1,3 @@
+Distributions 0.23.8
+julia 1.5
+JSON 0.21
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/data.json b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/data.json
new file mode 100644
index 000000000000..483472e71b01
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/data.json
@@ -0,0 +1 @@
+{"sigma":[1.0364352182520509,0.1767272787115648,3.3165958743729247,4.359913491699743,3.781928762984093,4.739330379411118,3.9775206734700075,2.640163006409055,1.2300464449972692,2.1786863213442635,1.61838447217503,4.989263116094469,1.232501579414006,4.223980278798734,4.533238364714752,3.005614361406578,4.6652015371041875,1.9698758900339413,1.8331858298663124,2.3823655633369056,0.9339184447868581,4.638033418551736,4.6202066238438455,4.320082842862611,2.614411982651437,3.1941154034574466,0.6206624053834336,4.904791683337207,3.57420005733627,2.831233585008312,0.08566996937085458,3.8156053155103513,3.2497594408625883,2.3026635981632944,2.330787978032658,3.1644886152217837,4.405217404968828,4.597875870111718,0.2743586884574917,0.7081121452667904,3.3125277137525275,2.3505069469969273,0.3941040785864619,0.8551480499670716,4.943478166891363,3.582580278906691,2.232188999051349,3.853428679517013,3.854963309662148,0.08527627136382554,3.00625908831693,1.1899591496714412,1.848602219691291,1.527142195574871,0.7801039143289318,2.5078840390538284,4.172761807863166,4.579262943729492,4.131149929986431,3.748649852913186,0.4239662777262876,0.17456804694261974,0.8841581046010316,2.884662955736421,2.4139994160475475,4.386499905716943,3.702761366067721,2.2736663702983995,3.684968427468009,2.6140791013174924,2.9708188969167026,3.219472955332417,3.402992563014329,0.756412100690359,4.775403096605604,0.01978415968480307,4.215181515960943,3.7485701024139084,1.4377540938606708,3.276731263775144,2.901046525545443,1.3498491771168046,4.509355624141925,1.0102848160350604,2.1842675488542818,2.236285823809247,1.580306372480111,3.9263390287737705,4.936330383169451,2.6779840320544808,4.896436028597109,4.2082966111519635,2.608070351687206,0.25274751238119564,0.3451879009106906,4.392358276380458,4.28848422973948,1.5693069481342026,1.3097131536790318,1.747815142615054,1.7125315711937676,0.1225881034061499,2.724975174223866,4.975432932237984,3.044263034170309,3.484954000587604,4.311796595393233,0.3847510913248253,4.985448134547478,2.5973271313187967,3.3460177214267968,3.7731821114379116,3.5002441041969297,4.896592803754468,1.2184530223819001,0.24654559248012298,3.5869099800088544,0.36872978538674217,3.3514139338063176,2.7577313167151307,0.6148759346524962,4.743996993291591,4.033198988135961,1.3933267665587605,1.2842485841685884,3.6187506712178807,2.9334813102631765,2.782571371502336,0.5154856509070693,4.9308738681726485,0.8278432029525268,1.3109375710270965,2.922826375014846,1.3674536690986994,4.588059425914152,1.1297219400067737,0.294474785128907,1.1151552743785476,4.4816007225407954,3.2146366261810155,4.2243434767435115,1.4686892037654724,3.2711890490182816,4.327868455123643,4.0321818944844185,1.3749338799793769,1.28327667407881,1.493353626110066,0.5468516315187388,2.049374219427364,3.6462985048530117,0.4720150891493863,0.9332919738146006,2.149575357345986,0.3564357547580804,4.813433236182558,2.969304578207427,0.04578889525798602,4.958399274421657,1.522508041927642,4.056035618500718,3.1264507381744275,4.820552337111642,4.8378079046246505,3.5286973288115626,3.151609070726166,3.4545950208542098,2.053282651130895,3.675899185965176,3.174802238403957,4.874166154399845,2.7458427453231113,2.6039441657854576,0.3701879451419543,0.14264711502323446,2.1325479173301103,2.682446047741636,1.1659670333740695,4.509750717668268,4.023010930731906,2.9995854086919556,4.913113823375792,2.226798611665207,2.7171054356883397,2.0866595884615844,2.4268317717023717,2.734514331923373,3.683725056804994,4.853111755940254,2.503610554368501,2.319375343252252,1.0797713471070247,2.8331931354290036,0.08655729547398461,0.26833660641330637,4.022931328280286,4.943766103667769,0.38322997039401896,1.2390260911445798,3.4552043438126834,1.847438369842484,2.070908256596514,4.081986366075894,2.7682662974624197,4.9802728956310425,2.7762779375006503,3.1391471965665767,0.7690597879014066,1.6151128791151521,2.7992835324445737,2.8056829277418576,1.4306549754877151,3.16950907683058,2.337363995268378,2.056216666855,2.9731243295360796,1.6493688754594338,0.40942011807609036,2.7799287202493055,0.4642054384215061,4.937821524009905,1.9288197470726058,0.654199918411002,0.41800155717173937,3.35312335521889,0.5494537226299551,3.14066559607248,0.3790467475218434,2.2053975789700027,1.7619840240480227,1.4924576428831076,2.560820179311995,4.855181903386174,3.7191949550553676,1.4612391490312144,2.5121216462488514,2.1735399303093828,4.624782157789539,4.609326508853791,3.535462145920884,1.9600738645352322,1.6091374427388927,4.8022822175960655,0.7425320354779391,4.17595730137881,4.931989259866022,3.0111800217123474,4.936310785072578,2.8507580765932596,4.125353474279843,3.1482908873567217,0.8082246258067499,1.0096493926644512,2.4989105563999567,2.6073176601774435,2.0566266255496664,2.2349520086636128,3.3764613003872386,4.245251862056756,1.2892205883750725,4.072115154637875,1.0167211449542095,1.973375438561652,1.153605151503743,3.1680932818980923,1.7111099305111976,0.2328289552700924,1.8491113900548588,3.1217875801776356,0.015178958197910597,0.8454223789723103,0.57230869820871,1.7057091571283074,3.328505976314236,3.1070515927505826,3.3745980590674014,4.872028464902164,1.6557809923166604,3.3041484204407,0.811958387520253,3.2999033435501373,1.93418969916008,3.405570374839451,1.3303905639975881,3.9053213259879915,0.38719083385818587,2.572343838629439,0.29850384164783694,1.665769442993807,4.284113967697126,1.5694003282854645,2.22376200730439,4.900018230251813,1.6530215295343726,1.0665144938942643,2.343727277947907,0.15429164133322903,4.339339575927775,0.09229751459315205,0.7113352596673356,2.8410523097258205,1.398876116423552,0.6941469468967487,0.9373712255808259,2.0164271522079344,1.701233496703423,3.132009124360348,2.4722822731583873,0.8721502472040388,4.748518651535501,4.768863391630116,1.767989263987801,0.7304604821474098,4.222925590817872,3.1260420764892833,2.174595103865969,3.3930761610830524,3.055636533416691,0.5162233168275415,3.3434497770583675,4.2489750170204115,2.138000978118381,4.770588575232413,2.491415698825568,4.427111096656664,2.6731457951403574,0.2565411415616886,0.6520037617313523,4.91672676550235,4.5347940527257435,2.0025922500801423,3.9355567961719107,3.3292861372181526,2.9759815405119476,0.17859399151649913,0.46095874139917337,4.968091396213119,0.8592725441936522,0.14299836963244716,4.598840495183204,0.28346707801100324,1.8395491203599679,3.568931013601288,3.537409329030577,3.4140050456615034,2.033953391297972,4.9012011626555205,2.2878212646787013,1.9678779666555746,3.191565242439784,4.587972027589563,4.07434152935176,4.612101445373434,2.510742742141612,4.725145304699491,2.6462195880816837,1.7745807701873821,2.904577257704391,1.2229287851105375,4.175607650001144,3.614911129554424,4.101692350699066,3.0244258035833083,0.15748499654147652,0.04145069480666452,4.6228140055312394,2.399728752277581,0.5187346000570842,0.8472318579461452,2.6344854961363535,2.546610188548813,3.63079801076847,2.718108153926747,4.110225994463743,4.886800055471257,2.897439328573533,0.6817483596561302,0.625827824382264,2.056722989238166,1.328657914500793,3.0333435649414553,3.4502736196048653,4.961848259484911,2.6874381312198867,1.041682650137779,0.7524026142561152,1.65160705675307,2.2368025369685323,1.9269440180634956,4.672825799868451,3.9575138663614995,1.369712322622324,2.1266729319824815,2.915927847504356,1.7747398245759776,3.103657028844543,4.443084970862192,0.16501425908845735,1.4224813514189172,0.5199965404308793,1.0256294327475557,3.2530426307398,0.2189068671210309,2.3327684425820703,2.281256373630671,1.8397426745641265,4.48882450951497,2.7359898498740916,2.0464937411761692,3.010854737716482,2.9071406537676356,3.7545737482510373,0.21316312091649303,1.0898994815634966,0.14525938635613855,3.2420205886978115,4.076989681257245,0.1784911045990506,3.8463490181213524,3.0888839904670373,3.3977811696503615,4.819267658626071,3.223539260410167,0.5725091567826496,3.1197830405471834,3.2199387216714874,3.509064577876688,4.794033638803685,2.3950535867233973,3.577231708109129,4.7255963358700495,0.5313761589318378,0.02250952778331261,3.3606708108265115,3.3440665071423807,4.566267144687814,2.2930133315295045,2.4884859619917785,4.951168604184985,0.822077004988892,4.82702491351834,4.657273460237314,2.6665686088505924,0.16398046752235995,3.204914553995406,4.297684804699279,3.866961265460933,4.337318389026645,4.155217796541127,4.727166261543292,2.667525857475377,1.8791810606152448,0.2659304133215862,0.8193500480966809,2.259855319851249,2.480995793848355,2.87488876576032,1.2775412054657869,4.4931993433940995,3.5878179659538203,2.821463168448519,2.696840777914145,1.5485801768104146,2.8840181051698295,2.400454533923301,4.476958319541954,3.825755382969787,4.33644773132696,2.6310369269822287,2.7593155967718785,3.702311193714587,4.094688255908137,1.715811583674423,2.80604893388791,4.453760228050157,4.481922112167806,2.339680226536456,3.818522727998927,1.2912424486395557,1.6096925176950343,0.8838445122931265,2.4860504501283276,3.795338406030955,3.079697909811459,4.576281833921309,4.878694183445523,0.3905013437830346,0.7715499625425387,3.0651285348571466,2.0203459267057418,3.7781963380466514,1.8068763661609588,2.5685187261933926,2.0492654540595527,1.458816829801361,0.3041330789744007,1.1091945388391227,2.4145809366340547,3.150463344729468,3.7096706662678476,1.4708129157831777,3.4244795879950205,4.530113709802418,4.906696178192308,0.8536082683048613,1.5544418271424387,2.009191493189299,1.5551083080343768,2.5620652755461886,3.7707321123732656,1.7369789194884422,0.7736238319603023,0.08017735391128267,2.0222834685992326,1.7789678418151937,1.444602488629253,4.372961963538283,0.30746807306755275,1.016368854727524,3.7879290759180333,1.8393598640154796,2.9649086659873864,1.2773582566305475,0.35790511977702666,2.221827838724692,0.31382712138805113,4.175306946943597,3.665990301130515,2.7354059787793874,4.844256185842804,2.70384464396664,4.1856913822677235,0.8140188027091089,0.9117326534868186,2.343241648210748,3.7537436111064935,4.031416312876086,4.140547089613734,1.9581174767219411,0.057900907351826625,4.914918472502033,1.856465667353645,0.12384091940739528,4.327445904412773,2.434971906560861,3.083865595264367,4.742829822263096,0.4227184132945039,1.5170932611092387,0.19769072031691093,4.660883707976129,4.753692559431484,2.5000340659556057,4.004992921473301,1.8925935552728024,3.818997281066902,4.2737607394769626,0.7490298508406584,3.621360644696106,1.076507446509024,4.519886796173399,0.9015793692114316,0.4987094514272339,3.987014868688176,0.4986311888230366,0.9576086463897415,4.447140813740275,3.359881679538254,1.9530171928062527,1.525157431512913,1.4490885458160103,2.5311837960228925,4.246633560459004,4.0128655518042,4.824134388650029,4.994624793745717,0.3616425864280681,1.1860357954207434,2.715721629042453,4.1054136259152765,0.19254683728926358,2.852610081286659,1.8235792773471222,1.2149759248273044,0.7671456522623826,1.1243955198851785,2.3223045665556885,1.1523962443982767,3.8951447992248935,2.868964897028152,2.389147802034242,4.816526217191248,2.8890556385153365,2.8048741590786403,4.688669889777785,2.757551514083711,3.4642252972768315,2.2958900038814094,2.8976951284165424,4.722034231466708,0.3373753007071728,3.595684576466971,2.07727414729751,4.352101451455775,0.9558348320392424,1.2286428513804744,0.3802647761280714,4.565053736804378,0.41026018558128485,3.1413966459538036,4.745438503752228,0.9631562285394707,3.88277314094643,4.952776882434265,4.604206439576767,2.709190008838831,3.8983757556217724,2.9246713818659407,2.003589391040001,1.943762759989522,0.5945868583424413,4.573070612241578,0.6718017105085666,3.239542741198869,2.5842937367956105,2.302291592748327,2.0306332284692994,2.7073138384487945,2.2031681772934664,0.2941826304393813,0.2864000778321124,2.56390215860586,0.015771473575136863,3.027922529635269,3.59270956497816,2.6176660822202393,3.8929912195395993,0.5809416581363053,3.4882823223292894,3.0763917046130933,1.1175670670547517,1.9995496837158928,2.550673934778936,1.4679518948813137,3.1759228180892425,3.5262507016306417,3.736545201805054,2.4812388294559256,2.216756743400316,3.164634857421758,1.9947750765146304,4.5906664098618375,1.6829461916653328,1.3599664566800784,3.0746473231789073,0.01902623159388772,0.7464426307133493,3.7793814885771533,1.3448743843882882,2.743157545879246,0.46986227445292017,3.1934260722725916,4.592259793861045,1.8582824932577435,2.2684799197682413,1.2752721892983572,2.977374844279126,1.7552090936957505,1.2498160125490783,3.269455037967554,4.2637453459825645,0.4876210495499633,1.6726153402519346,4.81926543660923,0.08148527129469008,1.2450452306427788,2.2277501639564607,2.856679130015554,1.951580916442136,3.92660202425523,0.28078614844973704,0.347145503987889,1.1728586600947555,3.9448493268186793,2.503363699071489,0.653376549561091,1.1676258039913512,0.34049207355468014,3.700997468887264,2.4792050900462206,2.9692989524867714,3.8200529467196787,4.233744176700247,4.639455075479548,2.69364339114564,1.486199522054838,3.091839691647035,3.666894398191966,1.9665477623583487,2.226654836169918,4.591585136345731,0.9648723218913136,0.8076523045696471,0.09719935100343191,2.437121752742109,3.504769208477297,2.1801790765196998,2.665999170937028,4.365124333822731,1.5373836985647067,1.800409048737714,3.3517085011826007,0.7591313480512568,1.305053813615726,2.7548220987844463,4.539244234303073,4.556757941711902,2.822435435652592,3.3643153408979556,3.85810103205309,4.294153186534882,4.37331258990395,3.7346428251563912,4.494843554331298,3.326454319036314,1.0854340168705838,4.890623636846771,2.404169868278811,3.0899196972234173,1.893786311948893,3.0152043997103966,2.3644526070648837,0.5268591421233615,0.022461022730037583,4.344127042024528,3.764706026416934,0.290541165159775,2.485311215830155,4.429475245724667,4.992616414772934,1.978888453379835,4.394588041907283,4.4730273289938145,4.20909647722831,2.3218377258113203,0.5674452936095903,3.4247721785610703,1.7153617329755666,0.4764144084819394,0.7469486875794801,2.549160493842504,2.8860280517875063,2.6625333201522263,2.288706544695416,1.2938276157223378,1.2670651953721008,4.319621097154676,2.6645215964864195,4.374862220564398,0.46081995614514315,4.657247862002182,4.8704506483109,0.48319822891581987,2.7515401370281145,4.646011662563315,1.2484836574002645,2.592668775450136,3.1058038626814626,4.9710267855293235,1.4021994561999573,1.4744212858719508,3.762841496159916,0.771383358006224,1.3758663963604834,2.8891647836412866,3.7275720232142904,2.1405487779353605,0.5755296117849895,2.045185921807167,4.79119351168236,1.7407430989109995,2.8476122515255557,0.9893204747411632,0.22559617540527876,4.419144243977361,0.20297467917548218,1.3263288773046633,4.227686188512201,2.7173947088603527,3.847631311758242,1.8270479519792588,2.759836215588081,3.5430027656099012,0.3094716095767569,1.2239585104834705,3.406413092281097,0.7675484134418792,3.6505452520515203,2.2243433109928312,0.9664322532008474,2.6967652672864943,4.732044348748527,1.698010965866401,0.3708853858738631,1.388636027501839,0.8665550413034867,1.0771872160136446,2.921876213911807,1.6373256088856976,4.585890950304548,3.4431665978326857,4.624615359687157,2.6968627770242115,0.7143481708480215,3.8994164725179044,3.1269707059032594,0.10497116067070933,4.242090091709341,0.7513086638640659,1.172154977532427,0.0806413130514283,0.7731189449553272,4.234227262269493,1.0313040695172178,3.837411545440254,4.112090560029661,3.2306533388513787,1.7518925192120582,4.373865128046667,4.096492953239222,0.15547154566894428,4.497535050103632,1.9809681495648963,3.0714333607147273,0.2597972938496351,3.687563816296536,0.25010453007032085,4.303874088101053,0.6135385379033459,1.687699744768754,4.376495590484537,2.706530856232059,4.52139668112348,2.5656901312134037,0.4650029067537731,1.9864924132748851,4.866212307655731,2.080499305020995,3.645151835211779,2.880850825167094,1.068687677648783,2.866846260002381,2.7607557683430968,4.066404445615267,2.738627054571889,2.5711792914877796,2.0418412623320044,2.0685222063161763,0.38844733036476675,0.238680164195319,0.650936853762259,3.8142727567306176,1.7015972091017761,2.736820479821888,1.2015248131744927,3.4901645224868485,0.35060398905224777,0.8691080046858363,0.9380439394899442,4.347741239556216,4.993531449645525,4.07881725846858,2.0436172503971175,2.3258634855582647,4.036158483919053,0.5259530105835025,4.72634944792052,3.551359493013351,0.2725078503216105,0.23916509444445844,3.5387556089425356,2.973942804566119,4.8702445620661585,2.448817084060322,2.757792544687599,2.85588900611159,4.553610951704076,4.002728815723824,2.0639465062212414,4.493810381389645,3.7988300087756603,1.496679837847985,0.46437291890004173,4.464676071373451,3.045965576475007,2.5005428269251855,2.892487787903637,4.139143745259143,3.0742112081217043,0.3465168327693807,2.7246208264823624,0.4817061416884899,1.5226024284597572,4.6226197144127505,2.158787764705882,4.02871234281419,3.7140126918588394,0.6583846899170165,0.9157216377605187,4.14889512234157,4.045676644361521,4.9108673373584635,3.022270550547807,0.8525117159997564,1.090478743900658,3.373842454467306,4.689051127343964,0.8885825881185239,1.8834866282870215,0.2568081271563871,2.697515557226568,1.6931236369724423,3.8984873495450136,3.3244532954779356,2.516512208739302,3.337930675024463,1.494064150103433,0.4800034322951585,4.119892024004777,2.771322815884431,1.3661693593224005,0.19979275440881017,3.5597624490704027,4.14831816263831,1.570334402268242,3.724770797509617,1.3068580386160384,0.27338123646689805,2.8792593153041173,3.4223166618045333,0.8566297954787833,4.655761467202272,2.3585074895671294,4.290471286137812,0.8311462106897366,1.4685389925033177,2.31615123335472,3.247411013978589,3.6988994307546195,0.0644629405946534,4.131154461622192,2.5984585597399863,4.708125922748516,0.38173762088452134,3.19202143794029,1.871046895556256,2.6365345325606455,2.2122807327184106,4.871378639515099,2.7889638968374744,1.9886975808757967,1.6624650910618433,2.220183922670369,2.1315451463903354,3.8974539669460766,3.9270398655464684,2.6157347954086987,4.199402813865359,4.463001562310062,4.693662454151642,2.5995497337878017,4.352423226731422,1.901190858014317,3.5682808024563926,1.6062337314544362,2.9101010190036867,0.29089904538914135,1.836045052941937,2.0359639590687593,2.115095377302569,0.5184779808528434,0.547016497666018,3.7154491574373933,2.6209496710607643,0.998379294943425,1.220149721179662,4.463014547121188,3.85383242411519,1.0010612919168866,1.896420872698485,3.8493462136676437,1.0732044423618925,1.276828085455165,0.4742071614906024,1.0988483495648533,2.7426180229843737,2.961841369085793,0.42484814026965967,2.2581508673641726,0.03114445234504548],"expected":[0.3903422998205438,0.011349284239140708,3.9971128054150538,6.90743866118173,5.197422006275018,8.161975026449317,5.748918923127446,2.5329275960181414,0.5497994650654006,1.7248475101628657,0.9517539729806723,9.04553186835221,0.5519964206444337,6.4834334356221826,7.467554548819999,3.2826743903751456,7.908645567854169,1.410064640531494,1.2211647958003538,2.0624246858095145,0.31694156506246074,7.816800710150129,7.756826713290697,6.7818072565405885,2.483758368363847,3.7073406996602185,0.13998199316978333,8.741831397969491,4.642148268381834,2.912813611922953,0.0026669723669374566,5.2903960190774395,3.8376354815740377,1.9267363172409822,1.9740894674876748,3.6388853101229706,7.051735034537089,7.682026081665937,0.027352607202036413,0.18220713493757537,3.987313044058153,2.0076332087081905,0.056439499192155615,0.2657320341864024,8.880277422213522,4.663942144684383,1.8106029330305198,5.395801236366471,5.4000998539312395,0.0026425164436377486,3.2840828581676225,0.5145474117566352,1.2417902138515249,0.8474620255628627,0.22113944065891383,2.285473529247113,6.327155122315847,7.619955866169431,6.201592223850345,5.106355487817595,0.06531665281772049,0.01107365015186602,0.284067243536052,3.023788754388961,2.1175594604983403,6.991937561399152,4.982103438257812,1.878515440212868,4.934337317148496,2.48312591703775,3.2071084650338477,3.7664382797056706,4.208073265617775,0.2079113643468056,8.286695220267621,0.00014223173574803166,6.456450933634905,5.106138220223246,0.7511566534363965,3.901601794161972,3.0582337751757502,0.6621124967812954,7.389078254866175,0.37089326264691785,1.7336960506023646,1.817255174347049,0.9074942362268661,5.601919797017583,8.854615970312318,2.606017086674939,8.712072129022191,6.435376753633428,2.4717235583712998,0.023213203157764026,0.043298457261956684,7.010626135731867,6.6829610101725,0.8949053158077335,0.6233237447219225,1.1100749128481873,1.0657085888452855,0.005460821045309259,2.698276137517742,8.995453138854229,3.367639857713362,4.413218120435512,6.7558161626592055,0.05379241141612495,9.03170403723421,2.4514023431909817,4.0683449226129955,5.173409142339476,4.45202872862034,8.712630028007004,0.5394843761949815,0.02208796872286912,4.675222102820424,0.04940577700922132,4.081477761520031,2.7635364338434534,0.13738404022960934,8.178056428289153,5.910994996854561,0.7054516491806492,0.599320983930602,4.758593596987094,3.127000450587033,2.8135453376106563,0.09655937679478278,8.835051379733688,0.24903332509105558,0.6244897483714517,3.104326040680325,0.6794954208594262,7.649258916006892,0.46377188696122235,0.03151066145573308,0.45188921697447854,7.298399223221857,3.755130805744211,6.4845484365363175,0.7838285849897906,3.8884147327564653,6.806273500337342,5.9080140988405585,0.6869496710087891,0.5984142035645161,0.8103760816638392,0.10866766042412367,1.5261732241489958,4.83131919524112,0.08096047676061667,0.3165164999051337,1.6790616487556855,0.046166166928849034,8.419207192529402,3.203839772633691,0.0007618713171800418,8.93396575273065,0.8423265371368488,5.978122539046678,3.5519306100582217,8.444129740140948,8.504690865922914,4.5247033385756215,3.609324887780078,4.3366620359791686,1.5320000094495803,4.910078966669078,3.6626434935371766,8.633004195695476,2.739760598856297,2.463908797376105,0.049797304704559335,0.007394133338767177,1.6525662892076027,2.614708532369765,0.4940078331464203,7.390373120527765,5.881169790994229,3.2695181854483755,8.77152173722056,1.8018688455868521,2.6827133794325873,1.582211377912857,2.1401323740505567,2.7172005914494437,4.931008021215325,8.558583203747897,2.2776911801061632,1.9548046550903448,0.4236672465577071,2.9168470342508934,0.0027225047684283996,0.026165024079547763,5.880937054414505,8.88131192983518,0.05336791351673898,0.5578561126036848,4.338191975530393,1.2402270842804293,1.5584146130490086,6.054863993271206,2.784691078367584,9.012962706606919,2.8008327524273273,3.580837835473285,0.2149223102818719,0.9479098871111906,2.847443210367654,2.860477076273397,0.743757078078671,3.6504406531909055,1.985244458421923,1.536381406810788,3.2120879953287274,0.9885459984788023,0.0609115500034333,2.808203739895345,0.07830360212241634,8.859966290365403,1.3519000370667111,0.15551857345356873,0.0634917199404999,4.085642418559127,0.10970427026377301,3.584302762109252,0.052209176312301826,1.767400931698174,1.1281457854943557,0.8094039535007137,2.382974853414428,8.56588627396479,5.026424699204884,0.7758966753786233,2.293203648590762,1.7167084260129224,7.772197973087766,7.720336658857997,4.542068460914061,1.3960667008288679,0.9409088936651927,8.380243739718901,0.2003510779661118,6.336849480967482,8.83904890948593,3.294843061643559,8.854545661696969,2.953126287028337,6.184201407115317,3.60172870636972,0.23736979258408872,0.37042685925425717,2.269147442677133,2.4702970808435425,1.536994100710938,1.8150880456228233,4.14271298309187,6.54889782865369,0.6039705427941217,6.025615206170114,0.37563409446023066,1.4150791420959363,0.4835881677197233,3.647180134959992,1.0639399489468868,0.019698595917930856,1.2424743738556978,3.5413429738869913,8.372308496656708e-5,0.2597220201061305,0.1190205590260542,1.0572343244228475,4.025872112174234,3.507988994763987,4.138142076715781,8.625433409254057,0.9962471182531136,3.9671661286326514,0.23956801668586092,3.956978870229737,1.3594380603327227,4.2144510225080785,0.6431608558924586,5.542106136209854,0.05447677976984201,2.404469823467093,0.032378829292306226,1.0083030359177263,6.669347151450271,0.8950118199943427,1.7969579101481528,8.724824185803067,0.9929292687571803,0.41332799026838973,1.996068504151417,0.00865059720748397,6.842401703853701,0.0030955748206447195,0.18386961451263678,2.933051933334208,0.7110821933547424,0.17509112302692387,0.31928942032264934,1.4774961784019611,1.051693387009607,3.5645714950876104,2.221045228249613,0.2764037361405042,8.193653402304365,8.264014230322784,1.135848841864649,0.19388970231486097,6.480196135646296,3.5510021175252238,1.7183756279818054,4.183584145813894,3.392850161581043,0.0968359296954708,4.062102711512376,6.560389845712477,1.66102852905204,8.269994489962572,2.2555563736998008,7.122002696607587,2.5966091602766816,0.023915272761933035,0.1544761707807826,8.784427057063416,7.472680764343737,1.457291242054576,5.628253644891435,4.027759563261412,3.2182646781448394,0.011590308081271162,0.07721210683514242,8.968926112582968,0.2683015385976427,0.007430592837028144,7.685249766905775,0.029198903759863788,1.2296572385986482,4.628471555959374,4.547072997317804,4.23535297072971,1.5032917914029222,8.729037281576389,1.901977947888784,1.4072058081877115,3.7014232293089195,7.648967496047348,6.032205857039808,7.729635150877408,2.2906868595701035,8.113189670285873,2.5445620890022327,1.1443340871719607,3.0656823803624897,0.5434550485489238,6.335788361213708,4.7485010942169925,6.113465394854959,3.323893972957068,0.00901238348605028,0.0006243454082306764,7.765584206837353,2.0925970208147877,0.0977803812376023,0.2608349891531423,2.5220454951961737,2.356601974387705,4.790330417387766,2.684693797238472,6.138930203928439,8.677815911586707,3.0506332123647786,0.16889216231248144,0.1423216692064989,1.537138136472004,0.6414866908681023,3.3435244057135765,4.325819239484976,8.946398729298826,2.6244496334603595,0.3943048819732275,0.20571306944863135,0.9912307179473199,1.818095056382125,1.3492719375559752,7.934516631783209,5.6912306021277566,0.6817419499335092,1.6434734766149817,3.0896895187579756,1.1445392280349915,3.5003279775825513,7.173490548398097,0.009894736656542773,0.735282882651552,0.09825670613158001,0.382245378623244,3.845393625427274,0.017413259170060747,1.9774456502371645,1.8910781774025858,1.229916017064335,7.321946422202816,2.720133733825618,1.5218860429364713,3.2941312464611614,3.0710959226307564,5.122507125299223,0.016511458330550465,0.431652424542758,0.0076674279378692095,3.8193796492317627,6.040049769289291,0.011576957715257232,5.37599271919825,3.467084992806483,4.1951945227000484,8.439629614200332,3.7759585703295833,0.11910395062927548,3.536796551011641,3.7675281519241883,4.474494864810355,8.35148002624552,2.0844513438327286,4.650026585602503,8.114738607236738,0.10260426719895704,0.00018411707258918382,4.104055644501812,4.063601434190528,7.576766864764882,1.9106205830251093,2.2502547283734486,8.90792853559041,0.2455762104389489,8.466820902498725,7.881788390188897,2.5838471389875273,0.009771146690133407,3.7324517588180184,6.711667209408071,5.433766054431867,6.83602905123062,6.274063029558943,8.12013121875658,2.5857025782676026,1.2832123954602417,0.02569788076889916,0.24394968390571647,1.855763224209393,2.2367288972648596,3.0033322816611565,0.5930770598971878,7.336225398193771,4.67758936225776,2.89274441194006,2.6428462924838483,0.8714223288354491,3.0224370027440557,2.093862995711958,7.283286515228577,5.318579908202219,6.833284846900049,2.515447048716022,2.766712575946272,4.980892088851599,6.092604380364666,1.0697948025341268,2.8612234332252533,7.208002989109333,7.299446042898834,1.989180998604946,5.298489187348581,0.6058664194206125,0.9415581421742021,0.2838657739020492,2.2458521798012083,5.234344507241251,3.446494019188603,7.610037880942518,8.64905151528168,0.055412323122949095,0.21631637758401875,3.413961939000866,1.4832445641326295,5.187168288560996,1.186364567552351,2.397324177557137,1.5260112328585642,0.7733263751983962,0.03361155537929689,0.4470712453900761,2.118579802699651,3.6067011196697503,5.000713854188001,0.786097042739873,4.2613818952694205,7.457263676159192,8.748621494795316,0.2647759402382572,0.8780317900065898,1.46691163772987,0.8787848794479176,2.385292668886687,5.166692937197244,1.0963529465094177,0.21748082540911207,0.0023359563915026334,1.4860908356300833,1.1499990658387842,0.7583296031596103,6.948846085018105,0.03435273702564402,0.3753738278283717,5.213927287061753,1.2294042326201586,3.194360534081529,0.5929072102080439,0.04654758080605575,1.793833377921151,0.03578839640363627,6.334875860571181,4.883643077857716,2.718972883030726,8.527377664495974,2.656591395706573,6.3664260749901445,0.24078540880006205,0.3020621512754409,1.9952414029733019,5.120242200638526,5.905770828243275,6.229837935111402,1.3932812090434359,0.0012182376900643636,8.777966703406884,1.2523771541260582,0.005573007504002591,6.8049445064748495,2.1545134145871163,3.4558284556045007,8.174032810087498,0.06493272427004344,0.8363457437921085,0.014201488298674805,7.894012812044136,8.2115184699683,2.2711883175978285,5.8286073324527825,1.3015954039598279,5.299806225753248,6.637151071000271,0.2038729205193124,4.765460210918542,0.4211098202506428,7.423631537546321,0.2953719315788993,0.09037670228940688,5.7763965932044155,0.09034833883623102,0.3332248722131136,7.186593079695005,4.102128494440491,1.3860325376010019,0.8452606337658534,0.7630467376311443,2.3281376587090388,6.553161450450759,5.851544486840346,8.456683714822962,9.064983753175547,0.04752481400348182,0.5111600285622364,2.679981493350095,6.124563354073617,0.013472061959123729,2.956964550493846,1.208399645922414,0.536409718033873,0.21385378869417396,0.45940900710116067,1.959745360517879,0.4825751575887855,5.5132604133316505,2.9909679659516324,2.0741842305229423,8.430030574975001,3.033004845234468,2.858828186616166,7.988414778530329,2.7631760833471612,4.360874115846266,1.9154174823233923,3.0511718852099308,8.10250961020692,0.04136069825553248,4.698123912285129,1.5680103495849973,6.882707507499935,0.33199152574414853,0.5485454396810578,0.052545253296764696,7.572740605758356,0.06116176882711076,3.585971586115889,8.183027150222802,0.337096906906065,5.478293880982096,8.913716564909521,7.703194586532922,2.6671056736967205,5.522410518271082,3.108246431284701,1.4587428471544117,1.3729281424027384,0.1284670953751091,7.599361552215135,0.16399986978096656,3.8135436445007285,2.426861783273726,1.9261138221042786,1.4983879427416065,2.6634129005741882,1.763829462253227,0.031448167678668676,0.02980626483664458,2.3887141854312244,9.038697206450452e-5,3.3315843355536074,4.690352824384169,2.489945172186446,5.507165665152115,0.12263835953166784,4.421651875389858,3.439098034042261,0.4538459698592937,1.4528664400823437,2.3641290575470064,0.7830417899160237,3.6652294865597512,4.518431095109116,5.0734311771516865,2.2371671337127617,1.7856542393287742,3.63922164938936,1.445936295204551,7.657954165496215,1.0292046836278572,0.6720749154142786,3.435199052035658,0.00013154272983317955,0.2024669600833113,5.190423037064974,0.6572411336690505,2.7344047156860674,0.08022365524050629,3.7057406887211797,7.663271118706881,1.254829625700422,1.8699550679725132,0.5909722254001569,3.2212788567677033,1.119486893107389,0.5676144744720836,3.884293438053461,6.606079705777588,0.08640247488557011,1.0166078145730146,8.439621831692225,0.0024127900002142507,0.5632893635233067,1.8034091184735432,2.9654063731958997,1.3839946714960951,5.602670281845915,0.0286492100755065,0.0437909515731988,0.4998649096274774,5.65486358484126,2.277242042829249,0.1551273518568217,0.49541443993671896,0.04212843296609352,4.977357885318552,2.233501263026433,3.2038276324910844,5.302736626725607,6.513441504932943,7.821593479428521,2.636583266103501,0.8026302566455807,3.473723358084232,4.886052157771478,1.4053040250578703,1.8016361741445583,7.661019632984887,0.33829921469933194,0.23703373830109523,0.0034331124041457124,2.158319550644309,4.4635473061421544,1.727211923151235,2.5827437108449454,6.9239596686021505,0.8588668415925421,1.1778871031344562,4.082195263479001,0.20940890423813285,0.6188966512542777,2.7577088254653486,7.487354464200775,7.545242649871953,2.8947384164308847,4.112961881034749,5.408894184044719,6.700641130051486,6.949960453881381,5.068266449019746,7.341595517840813,4.020910628387176,0.42812259445856865,8.691400799683597,2.1003496184308728,3.4694104186735406,1.3032365125961551,3.303655922035804,2.031526629913127,0.10086728549442017,0.00018332443168075905,6.8575080747405375,5.150192132512122,0.030674439820310373,2.244516757082348,7.129611257320125,9.057695012525,1.4229967936865628,7.017745782752353,7.270501959779021,6.437823315372467,1.9589575249872802,0.11700631160758251,4.2621101188575095,1.0692339194424767,0.08247666049269654,0.20274158139464651,2.3613243805925896,3.026651299395023,2.5760328416782787,1.9034501860117672,0.608294830627755,0.58339031603734,6.780357607005921,2.5798816404905045,6.9548865961014945,0.0771656198603676,7.881701747512785,8.619847584651648,0.0848422075676806,2.751141937807322,7.84371642063124,0.5664049188962995,2.442616954701053,3.5051720833883295,8.979527796613405,0.7144648729553852,0.7899588642912937,5.145091967425514,0.21622296717519357,0.6878818017296439,3.0332340162788287,5.049093111651622,1.6649896963185884,0.12036400770362957,1.5199415306876165,8.341587630523778,1.101109873368001,2.946612305369774,0.35566021532940567,0.01849374043786555,7.09639281623419,0.014970800392170738,0.63923970634,6.4948149087415645,2.6832846331709024,5.379577807455053,1.2130010708997656,2.7677567033472994,4.561464248261092,0.03480189721792948,0.5443706293404779,4.216537034786807,0.2140783995333712,4.842579567512336,1.797897502412953,0.3393939712104615,2.642698296955068,8.136898619637439,1.0477128581839794,0.04998511949268484,0.7007097328783062,0.27286862281413077,0.42164181470120915,3.102308041632391,0.9741624868749943,7.642030015941846,4.308016577252629,7.771637356630099,2.642889409974572,0.18543049885418475,5.525359455697292,3.5531121689742684,0.004004066587044358,6.539146510754484,0.2051153142278443,0.49926527948717775,0.0023630693859683547,0.21719705076872065,6.514928004344428,0.38648687999938014,5.35103816342856,6.144501203756652,3.7926434032923697,1.1152602128346998,6.951716724785204,6.097976085959325,0.00878340938387611,7.350390390956744,1.4259893383920825,3.42802110333457,0.02452621542749407,4.941290448027424,0.02273026027788698,6.7310126590747155,0.13678705102161814,1.0350269594779558,6.960080827426116,2.661872552094904,7.428592149267179,2.392046952808011,0.07857287204175842,1.4339536512767084,8.604851865799926,1.5728830877218853,4.828281015039089,3.015802059853609,0.41501414235744916,2.986552132400591,2.769601394194821,6.008726486053732,2.7253801032396763,2.40229322126824,1.5149742268311572,1.5548255467972274,0.05483092528628339,0.020701125034960917,0.15397102948509991,5.286701437455969,1.052143125172332,2.721785616792387,0.5245981813700428,4.426424814268149,0.0446678448225921,0.2744787911995698,0.3197478673103139,6.868923348047112,9.061015462415558,6.045466084907482,1.5176108140364692,1.9657565610754932,5.919672963434003,0.10052062573661649,8.117325283699406,4.583007481797276,0.026984807745675354,0.020785328090100978,4.5505347385874755,3.2138567580168926,8.619118126717002,2.1790840683471475,2.7636591489245332,2.963766206887159,7.53482445157983,5.822019129437158,1.5479544127913585,7.338220865977637,5.243979831687402,0.8139900740506933,0.07836011456033562,7.243378873086111,3.3714077007282897,2.2721127926348186,3.0402154429638775,6.225615726715787,3.434224608059706,0.04363248670805078,2.6975744313897088,0.08431904124601686,0.8424309789433394,7.76493146487832,1.6934843539379318,5.8978511936219284,5.012426988170958,0.1575145725938008,0.3047110791892677,6.254984041228713,5.947625697983403,8.763502140429754,3.319158343445536,0.2640961104114949,0.43211137776263575,4.136289145448558,7.989713913549056,0.2869174025342173,1.289099307898754,0.02396507651484456,2.644168996533794,1.0416903432306683,5.522726689063572,4.01607453799692,2.301226550277438,4.048702985514028,0.8111474041661628,0.0837240017898583,6.167838032704514,2.7908437801188106,0.678219658731931,0.014505101132703684,4.604721065694526,6.2532444827686,0.8960775213672916,5.041507297116004,0.6206090720965763,0.027158057250942017,3.0124708544310006,4.256000555715261,0.26665371875069854,7.876671544558673,2.021323439037167,6.689155505109854,0.25102452332477604,0.7836682599056322,1.9493737751152969,3.8320909789063964,4.971716310671535,0.001510015892559553,6.201605829443453,2.4535385318550667,8.054849539407988,0.0529530790087561,3.7024814519519667,1.2721274913533303,2.525970187716899,1.778450437420372,8.623132662512402,2.826487553336718,1.437139027883267,1.0043067043729954,1.7911798685023799,1.6510125085640037,5.519799228871621,5.603919818795433,2.4862724162421515,6.408204497706846,7.237946528689942,8.00543619816243,2.4555995997055793,6.88372529948028,1.3134475272521065,4.626785219275169,0.9375161906951803,3.0773537516781113,0.030750054142337536,1.2249770721337323,1.506265275356124,1.6256281263522694,0.09768366080674776,0.10873319307721319,5.01630504235902,2.496195842719442,0.362203317773002,0.5409878889016666,7.237988645415208,5.396931990254075,0.36415194191898337,1.306865057153579,5.38437426710121,0.4185296362974486,0.5924151367015515,0.08171419553167666,0.4387698859919507,2.733329218675629,3.1877546078516756,0.06558865659628194,1.852964932321922,0.0003524704310345319]}
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/runner.jl
new file mode 100644
index 000000000000..1b2491986894
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/fixtures/julia/runner.jl
@@ -0,0 +1,72 @@
+#!/usr/bin/env julia
+#
+# @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.
+
+using Distributions
+using JSON
+using Random
+
+"""
+ halfnormal_variance( sigma )
+
+Evaluate the half-normal variance.
+
+The half-normal distribution is defined as
+
+ X = |Z|, where Z ~ Normal(0, σ)
+
+which is equivalent to a truncated normal distribution
+
+ Truncated( Normal(0, σ), 0, ∞ ).
+"""
+halfnormal_variance( sigma ) = var( Truncated( Normal( 0.0, sigma ), 0.0, Inf ) )
+
+"""
+ gen( sigma, name )
+
+Generate fixture data for the variance of a half-normal distribution
+and write to file.
+
+# Arguments
+
+* `sigma::AbstractVector{<:Real}`: scale parameter (σ > 0)
+* `name::AbstractString`: output filename
+"""
+function gen( sigma, name )
+ expected = Array{Float64}( undef, length( sigma ) )
+ for i in eachindex( sigma )
+ if sigma[ i ] > 0.0
+ expected[ i ] = halfnormal_variance( sigma[ i ] )
+ else
+ expected[ i ] = NaN
+ end
+ end
+
+ data = Dict(
+ "sigma" => sigma,
+ "expected" => expected
+ )
+
+ open( name, "w" ) do io
+ write( io, JSON.json( data ) )
+ write( io, "\n" )
+ end
+end
+
+# Generate fixtures:
+sigma = rand( 1000 ) .* 5.0
+gen( sigma, "data.json" )
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.js
new file mode 100644
index 000000000000..384aecf0e054
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.js
@@ -0,0 +1,90 @@
+/**
+* @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 abs = require( '@stdlib/math/base/special/abs' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var NINF = require( '@stdlib/constants/float64/ninf' );
+var EPS = require( '@stdlib/constants/float64/eps' );
+var variance = require( './../lib' );
+
+
+// FIXTURES //
+
+var data = require( './fixtures/julia/data.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 `sigma`, the function returns `NaN`', function test( t ) {
+ var v = variance( NaN );
+ t.strictEqual( isnan( v ), true, 'returns expected value' );
+ t.end();
+});
+
+tape( 'if provided a value less than or equal to 0 for `sigma`, the function returns `NaN`', function test( t ) {
+ var v;
+
+ v = variance( 0.0 );
+ t.strictEqual( isnan( v ), true, 'returns expected value' );
+
+ v = variance( -1.0 );
+ t.strictEqual( isnan( v ), true, 'returns expected value' );
+
+ v = variance( NINF );
+ t.strictEqual( isnan( v ), true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns the variance of a half-normal distribution', function test( t ) {
+ var expected;
+ var delta;
+ var sigma;
+ var tol;
+ var v;
+ var i;
+
+ sigma = data.sigma;
+ expected = data.expected;
+
+ for ( i = 0; i < sigma.length; i++ ) {
+ v = variance( sigma[ i ] );
+
+ if ( expected[ i ] !== null ) {
+ if ( v === expected[ i ] ) {
+ t.strictEqual( v, expected[i], ', sigma: '+sigma[i]+', v: '+v+', expected: '+expected[i] );
+ } else {
+ delta = abs( v - expected[ i ] );
+ tol = 50.0 * EPS * abs( expected[ i ] );
+ t.ok( delta <= tol, 'within tolerance. sigma: '+sigma[i]+'. v: '+v+'. E: '+expected[ i ]+'. Δ: '+delta+'. tol: '+tol+'.' );
+ }
+ }
+ }
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.native.js
new file mode 100644
index 000000000000..18d71e9ba79f
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/test/test.native.js
@@ -0,0 +1,99 @@
+/**
+* @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 isnan = require( '@stdlib/math/base/assert/is-nan' );
+var abs = require( '@stdlib/math/base/special/abs' );
+var NINF = require( '@stdlib/constants/float64/ninf' );
+var EPS = require( '@stdlib/constants/float64/eps' );
+
+
+// FIXTURES //
+
+var data = require( './fixtures/julia/data.json' );
+
+
+// VARIABLES //
+
+var variance = tryRequire( resolve( __dirname, './../lib/native.js' ) );
+var opts = {
+ 'skip': ( variance instanceof Error )
+};
+
+
+// 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`, the function returns `NaN`', opts, function test( t ) {
+ var y = variance( 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( 0.0 );
+ t.strictEqual( isnan( y ), true, 'returns expected value' );
+
+ y = variance( -1.0 );
+ t.strictEqual( isnan( y ), true, 'returns expected value' );
+
+ y = variance( NINF );
+ t.strictEqual( isnan( y ), true, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function returns the variance of a half-normal distribution', opts, function test( t ) {
+ var expected;
+ var delta;
+ var sigma;
+ var tol;
+ var y;
+ var i;
+
+ expected = data.expected;
+ sigma = data.sigma;
+
+ for ( i = 0; i < sigma.length; i++ ) {
+ y = variance( sigma[ i ] );
+ delta = abs( y - expected[ i ] );
+ tol = 50.0 * EPS * abs( expected[ i ] );
+
+ if ( expected[ i ] !== null ) {
+ if ( y === expected[ i ] ) {
+ t.strictEqual( y, expected[i], ', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] );
+ } else {
+ t.ok( delta <= tol, 'within tolerance. sigma: '+sigma[i]+'. y: '+y+'. E: '+expected[ i ]+'. Δ: '+delta+'. tol: '+tol+'.' );
+ }
+ }
+ }
+ t.end();
+});