From 084c777a0eb89a91d0f6fc1025035f6cef9d3998 Mon Sep 17 00:00:00 2001 From: Vivek Maurya Date: Sun, 8 Dec 2024 00:46:55 +0530 Subject: [PATCH 01/18] feat(math): add math/base/special/logitf --- .../math/base/special/logitf/README.md | 213 ++++++++++++++++++ .../special/logitf/benchmark/benchmark.js | 51 +++++ .../logitf/benchmark/benchmark.native.js | 60 +++++ .../base/special/logitf/benchmark/c/Makefile | 127 +++++++++++ .../special/logitf/benchmark/c/benchmark.c | 152 +++++++++++++ .../logitf/benchmark/c/native/Makefile | 146 ++++++++++++ .../logitf/benchmark/c/native/benchmark.c | 131 +++++++++++ .../math/base/special/logitf/binding.gyp | 170 ++++++++++++++ .../docs/img/equation_logit_function.svg | 49 ++++ .../math/base/special/logitf/docs/repl.txt | 35 +++ .../base/special/logitf/docs/types/index.d.ts | 57 +++++ .../base/special/logitf/docs/types/test.ts | 44 ++++ .../base/special/logitf/examples/c/Makefile | 146 ++++++++++++ .../base/special/logitf/examples/c/example.c | 33 +++ .../base/special/logitf/examples/index.js | 30 +++ .../math/base/special/logitf/include.gypi | 53 +++++ .../include/stdlib/math/base/special/logitf.h | 38 ++++ .../math/base/special/logitf/lib/index.js | 52 +++++ .../math/base/special/logitf/lib/main.js | 77 +++++++ .../math/base/special/logitf/lib/native.js | 62 +++++ .../math/base/special/logitf/manifest.json | 84 +++++++ .../math/base/special/logitf/package.json | 66 ++++++ .../math/base/special/logitf/src/Makefile | 70 ++++++ .../math/base/special/logitf/src/addon.c | 23 ++ .../math/base/special/logitf/src/main.c | 50 ++++ .../logitf/test/fixtures/python/large.json | 1 + .../test/fixtures/python/medium_above.json | 1 + .../test/fixtures/python/medium_below.json | 1 + .../logitf/test/fixtures/python/runner.py | 80 +++++++ .../logitf/test/fixtures/python/small.json | 1 + .../math/base/special/logitf/test/test.js | 164 ++++++++++++++ .../base/special/logitf/test/test.native.js | 173 ++++++++++++++ 32 files changed, 2440 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/README.md create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/include.gypi create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/manifest.json create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/package.json create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/src/main.c create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/test.js create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md new file mode 100644 index 000000000000..f7a472b48947 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -0,0 +1,213 @@ + + +# logitf + +> Compute the [logit][logit] function for single precision-floating point number. + +
+ +The [logit][logit] function is defined as the logarithm of the odds `p / (1-p)`; i.e., + + + +```math +\mathop{\mathrm{logitf}}(p)=\log \left({\frac {p}{1-p}}\right) +``` + + + + + +The [logit][logit] function is the inverse of the [standard logistic][standard-logistic] function, sometimes also called the sigmoid function. + +
+ + + +
+ +## Usage + +```javascript +var logitf = require( '@stdlib/math/base/special/logitf' ); +``` + +#### logitf( p ) + +Computes the [logit][logit] function for single precision-floating point number. + +```javascript +var v = logitf( 0.2 ); +// returns ~-1.386 + +v = logitf( 0.9 ); +// returns ~2.197 +``` + +If `p < 0` or `p > 1`, the function returns `NaN`. + +```javascript +var v = logitf( 1.3 ); +// returns NaN + +v = logitf( -0.2 ); +// returns NaN +``` + +
+ + + +
+ +## Examples + + + +```javascript +var randu = require( '@stdlib/random/base/randu' ); +var logitf = require( '@stdlib/math/base/special/logitf' ); + +var p; +var i; + +for ( i = 0; i < 100; i++ ) { + p = randu(); + console.log( 'logitf(%d) = %f', p, logitf( p ) ); +} +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/logitf.h" +``` + +#### stdlib_base_logitf( p ) + +Computes the [logit][logit] function for single precision-floating point number. + +```c +float out = stdlib_base_logitf( 0.2 ); +// returns ~-1.386 + +out = stdlib_base_logitf( 0.9 ); +// returns ~2.197 +``` + +The function accepts the following arguments: + +- **p**: `[in] float` input value. + +```c +float stdlib_base_logitf( const float p ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/logitf.h" +#include +#include + +int main( void ) { + float x; + float v; + int i; + + for ( i = 0; i < 100; i++ ) { + x = (float)rand() / (float)RAND_MAX; + v = stdlib_base_logitf( x ); + printf( "logitf(%f) = %f\n", x, v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js new file mode 100644 index 000000000000..10b46477f289 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -0,0 +1,51 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2018 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var randu = require( '@stdlib/random/base/randu' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var pkg = require( './../package.json' ).name; +var logitf = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var x; + var y; + var i; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + x = randu(); + y = logitf( x ); + 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/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js new file mode 100644 index 000000000000..cd9b3067e717 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -0,0 +1,60 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2022 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 randu = require( '@stdlib/random/base/randu' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var logitf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( logitf instanceof Error ) +}; + + +// MAIN // + +bench( pkg+'::native', opts, function benchmark( b ) { + var x; + var y; + var i; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + x = randu(); + y = logitf( x ); + 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/math/base/special/logitf/benchmark/c/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile new file mode 100644 index 000000000000..e64c0050f3da --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile @@ -0,0 +1,127 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2018 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 C targets: +c_targets := benchmark.out + + +# RULES # + +#/ +# Compiles C source files. +# +# @param {string} [C_COMPILER] - C compiler +# @param {string} [CFLAGS] - C compiler flags +# @param {(string|void)} [fPIC] - compiler flag indicating whether to generate position independent code +# +# @example +# make +# +# @example +# make all +#/ +all: $(c_targets) + +.PHONY: all + +#/ +# Compiles C source files. +# +# @private +# @param {string} CC - C compiler +# @param {string} CFLAGS - C compiler flags +# @param {(string|void)} fPIC - compiler flag indicating whether to generate position independent code +#/ +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) -o $@ $< -lm + +#/ +# 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/math/base/special/logitf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c new file mode 100644 index 000000000000..ca8ba4abc453 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c @@ -0,0 +1,152 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2018 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 +#include +#include +#include +#include + +#define NAME "logit" +#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 [0,1). +* +* @return random number +*/ +static double rand_double( void ) { + int r = rand(); + return (double)r / ( (double)RAND_MAX + 1.0 ); +} + +/** +* Evaluates the logit function. +* +* @param x input value +* @return result +*/ +double logit( double x ) { + if ( x != x ) { + return x; + } + if ( x < 0.0 || x > 1.0 ) { + return NAN; + } + if ( x == 0.0 ) { + return -HUGE_VAL; + } + if ( x == 1.0 ) { + return HUGE_VAL; + } + return log( x / ( 1.0 - x ) ); +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +static double benchmark( void ) { + double elapsed; + double y; + double t; + int i; + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = logit( rand_double() ); + 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/math/base/special/logitf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile new file mode 100644 index 000000000000..d6b58c7f5d3e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2022 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/math/base/special/logitf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..a350286d5e2a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c @@ -0,0 +1,131 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2022 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/math/base/special/logitf.h" +#include +#include +#include +#include +#include + +#define NAME "logitf" +#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 [0,1). +* +* @return random number +*/ +static float rand_float( void ) { + int r = rand(); + return (float)r / ( (float)RAND_MAX + 1.0f ); +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +static double benchmark( void ) { + double elapsed; + float y; + double t; + int i; + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = stdlib_base_logitf( rand_float() ); + 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::native::%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/math/base/special/logitf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp new file mode 100644 index 000000000000..1058b57bab16 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp @@ -0,0 +1,170 @@ +# @license Apache-2.0 +# +# Copyright (c) 2022 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/math/base/special/logitf/docs/img/equation_logit_function.svg b/lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg new file mode 100644 index 000000000000..36ac68e225ea --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg @@ -0,0 +1,49 @@ + +l o g i t left-parenthesis p right-parenthesis equals log left-parenthesis StartFraction p Over 1 minus p EndFraction right-parenthesis + + + \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt new file mode 100644 index 000000000000..12e7243453eb --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt @@ -0,0 +1,35 @@ + +{{alias}}( p ) + Evaluates the logit function for single precision-floating point number. + + Let `p` be the probability of some event. The logit function is defined as + the logarithm of the odds `p / (1-p)`. + + If `p < 0` or `p > 1`, the function returns `NaN`. + + Parameters + ---------- + p: number + Input value. + + Returns + ------- + y: number + Function value. + + Examples + -------- + > var y = {{alias}}( 0.2 ) + ~-1.386 + > y = {{alias}}( 0.9 ) + ~2.197 + > y = {{alias}}( -4.0 ) + NaN + > y = {{alias}}( 1.5 ) + NaN + > y = {{alias}}( NaN ) + NaN + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts new file mode 100644 index 000000000000..131234d147e2 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts @@ -0,0 +1,57 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2019 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 + +/** +* Evaluates the logit function for single precision-floating point number. +* +* ## Notes +* +* - Let `p` be the probability of some event. The logit function is defined as the logarithm of the odds `p / (1-p)`. +* - If `p < 0` or `p > 1`, the function returns `NaN`. +* +* @param p - input value +* @returns function value +* +* @example +* var y = logitf( 0.2 ); +* // returns ~-1.386 +* +* @example +* var y = logitf( 0.9 ); +* // returns ~2.197 +* +* @example +* var y = logitf( -4.0 ); +* // returns NaN +* +* @example +* var y = logitf( 1.5 ); +* // returns NaN +* +* @example +* var y = logitf( NaN ); +* // returns NaN +*/ +declare function logitf( p: number ): number; + + +// EXPORTS // + +export = logitf; diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts new file mode 100644 index 000000000000..0bedb0974a58 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts @@ -0,0 +1,44 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2019 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 logitf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + logitf( 8 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + logitf( true ); // $ExpectError + logitf( false ); // $ExpectError + logitf( null ); // $ExpectError + logitf( undefined ); // $ExpectError + logitf( '5' ); // $ExpectError + logitf( [] ); // $ExpectError + logitf( {} ); // $ExpectError + logitf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + logitf(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile new file mode 100644 index 000000000000..91d364d19fc3 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2022 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/math/base/special/logitf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c new file mode 100644 index 000000000000..52f0728384ff --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c @@ -0,0 +1,33 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2022 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/math/base/special/logitf.h" +#include +#include + +int main( void ) { + float x; + float v; + int i; + + for ( i = 0; i < 100; i++ ) { + x = (float)rand() / (float)RAND_MAX; + v = stdlib_base_logitf( x ); + printf( "logitf(%f) = %f\n", x, v ); + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js new file mode 100644 index 000000000000..0a2b2a4f7b2f --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -0,0 +1,30 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2018 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var randu = require( '@stdlib/random/base/randu' ); +var logitf = require( './../lib' ); + +var p; +var i; + +for ( i = 0; i < 100; i++ ) { + p = randu(); + console.log( 'logitf(%d) = %f', p, logitf( p ) ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi b/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi new file mode 100644 index 000000000000..3b437d524797 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2022 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", + "mathematics", + "math", + "logitf", + "proportion", + "log-odds", + "logistic", + "sigmoid", + "special" + ] +} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile new file mode 100644 index 000000000000..f79b87238713 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2022 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/math/base/special/logitf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c new file mode 100644 index 000000000000..4b0fe367a447 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c @@ -0,0 +1,23 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2022 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/math/base/special/logitf.h" +#include "stdlib/math/base/napi/unary.h" + +// cppcheck-suppress shadowFunction +STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_logitf ) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c new file mode 100644 index 000000000000..9ca2bc3a7525 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -0,0 +1,50 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2022 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/math/base/special/logitf.h" +#include "stdlib/math/base/assert/is_probability.h" +#include "stdlib/math/base/assert/is_nan.h" +#include "stdlib/math/base/special/lnf.h" +#include "stdlib/constants/float32/pinf.h" +#include "stdlib/constants/float32/ninf.h" + +/** +* Evaluates the logit function for single precision-floating point number. +* +* @param x input value +* @return output value +* +* @example +* float out = stdlib_base_logitf( 0.2 ); +* // returns ~-1.386 +*/ +float stdlib_base_logitf( const float p ) { + if ( stdlib_base_is_nan( p ) ) { + return 0.0 / 0.0; // NaN + } + if ( !stdlib_base_is_probability( p ) ) { + return 0.0 / 0.0; // NaN + } + if ( p == 0.0 ) { + return STDLIB_CONSTANT_FLOAT32_NINF; + } + if ( p == 1.0 ) { + return STDLIB_CONSTANT_FLOAT32_PINF; + } + return stdlib_base_lnf( p / ( 1.0 - p ) ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json new file mode 100644 index 000000000000..c1b48141b2cc --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json @@ -0,0 +1 @@ +{"x": [0.75, 0.7505007982254028, 0.7510015964508057, 0.7515023946762085, 0.7520031929016113, 0.7525039911270142, 0.753004789352417, 0.7535055875778198, 0.7540063858032227, 0.7545072436332703, 0.7550080418586731, 0.7555088400840759, 0.7560096383094788, 0.7565104365348816, 0.7570112347602844, 0.7575120329856873, 0.7580128312110901, 0.7585136294364929, 0.7590144276618958, 0.7595152258872986, 0.7600160241127014, 0.7605168223381042, 0.7610176205635071, 0.7615184187889099, 0.7620192170143127, 0.7625200152397156, 0.7630208134651184, 0.763521671295166, 0.7640224695205688, 0.7645232677459717, 0.7650240659713745, 0.7655248641967773, 0.7660256624221802, 0.766526460647583, 0.7670272588729858, 0.7675280570983887, 0.7680288553237915, 0.7685296535491943, 0.7690304517745972, 0.76953125, 0.7700320482254028, 0.7705328464508057, 0.7710336446762085, 0.7715344429016113, 0.7720352411270142, 0.7725360989570618, 0.7730368971824646, 0.7735376954078674, 0.7740384936332703, 0.7745392918586731, 0.7750400900840759, 0.7755408883094788, 0.7760416865348816, 0.7765424847602844, 0.7770432829856873, 0.7775440812110901, 0.7780448794364929, 0.7785456776618958, 0.7790464758872986, 0.7795472741127014, 0.7800480723381042, 0.7805488705635071, 0.7810497283935547, 0.7815505266189575, 0.7820513248443604, 0.7825521230697632, 0.783052921295166, 0.7835537195205688, 0.7840545177459717, 0.7845553159713745, 0.7850561141967773, 0.7855569124221802, 0.786057710647583, 0.7865585088729858, 0.7870593070983887, 0.7875601053237915, 0.7880609035491943, 0.7885617017745972, 0.7890625, 0.7895632982254028, 0.7900641560554504, 0.7905649542808533, 0.7910657525062561, 0.7915665507316589, 0.7920673489570618, 0.7925681471824646, 0.7930689454078674, 0.7935697436332703, 0.7940705418586731, 0.7945713400840759, 0.7950721383094788, 0.7955729365348816, 0.7960737347602844, 0.7965745329856873, 0.7970753312110901, 0.7975761294364929, 0.7980769276618958, 0.7985777258872986, 0.7990785837173462, 0.799579381942749, 0.8000801801681519, 0.8005809783935547, 0.8010817766189575, 0.8015825748443604, 0.8020833730697632, 0.802584171295166, 0.8030849695205688, 0.8035857677459717, 0.8040865659713745, 0.8045873641967773, 0.8050881624221802, 0.805588960647583, 0.8060897588729858, 0.8065905570983887, 0.8070913553237915, 0.8075922131538391, 0.8080930113792419, 0.8085938096046448, 0.8090946078300476, 0.8095954060554504, 0.8100962042808533, 0.8105970025062561, 0.8110978007316589, 0.8115985989570618, 0.8120993971824646, 0.8126001954078674, 0.8131009936332703, 0.8136017918586731, 0.8141025900840759, 0.8146033883094788, 0.8151041865348816, 0.8156049847602844, 0.8161057829856873, 0.8166066408157349, 0.8171074390411377, 0.8176082372665405, 0.8181090354919434, 0.8186098337173462, 0.819110631942749, 0.8196114301681519, 0.8201122283935547, 0.8206130266189575, 0.8211138248443604, 0.8216146230697632, 0.822115421295166, 0.8226162195205688, 0.8231170177459717, 0.8236178159713745, 0.8241186141967773, 0.8246194124221802, 0.8251202702522278, 0.8256210684776306, 0.8261218667030334, 0.8266226649284363, 0.8271234631538391, 0.8276242613792419, 0.8281250596046448, 0.8286258578300476, 0.8291266560554504, 0.8296274542808533, 0.8301282525062561, 0.8306290507316589, 0.8311298489570618, 0.8316306471824646, 0.8321314454078674, 0.8326322436332703, 0.8331330418586731, 0.8336338400840759, 0.8341346979141235, 0.8346354961395264, 0.8351362943649292, 0.835637092590332, 0.8361378908157349, 0.8366386890411377, 0.8371394872665405, 0.8376402854919434, 0.8381410837173462, 0.838641881942749, 0.8391426801681519, 0.8396434783935547, 0.8401442766189575, 0.8406450748443604, 0.8411458730697632, 0.841646671295166, 0.8421474695205688, 0.8426482677459717, 0.8431491255760193, 0.8436499238014221, 0.844150722026825, 0.8446515202522278, 0.8451523184776306, 0.8456531167030334, 0.8461539149284363, 0.8466547131538391, 0.8471555113792419, 0.8476563096046448, 0.8481571078300476, 0.8486579060554504, 0.8491587042808533, 0.8496595025062561, 0.8501603007316589, 0.8506610989570618, 0.8511618971824646, 0.8516627550125122, 0.852163553237915, 0.8526643514633179, 0.8531651496887207, 0.8536659479141235, 0.8541667461395264, 0.8546675443649292, 0.855168342590332, 0.8556691408157349, 0.8561699390411377, 0.8566707372665405, 0.8571715354919434, 0.8576723337173462, 0.858173131942749, 0.8586739301681519, 0.8591747283935547, 0.8596755266189575, 0.8601763248443604, 0.860677182674408, 0.8611779808998108, 0.8616787791252136, 0.8621795773506165, 0.8626803755760193, 0.8631811738014221, 0.863681972026825, 0.8641827702522278, 0.8646835684776306, 0.8651843667030334, 0.8656851649284363, 0.8661859631538391, 0.8666867613792419, 0.8671875596046448, 0.8676883578300476, 0.8681891560554504, 0.8686899542808533, 0.8691907525062561, 0.8696916103363037, 0.8701924085617065, 0.8706932067871094, 0.8711940050125122, 0.871694803237915, 0.8721956014633179, 0.8726963996887207, 0.8731971979141235, 0.8736979961395264, 0.8741987943649292, 0.874699592590332, 0.8752003908157349, 0.8757011890411377, 0.8762019872665405, 0.8767027854919434, 0.8772035837173462, 0.877704381942749, 0.8782052397727966, 0.8787060379981995, 0.8792068362236023, 0.8797076344490051, 0.880208432674408, 0.8807092308998108, 0.8812100291252136, 0.8817108273506165, 0.8822116255760193, 0.8827124238014221, 0.883213222026825, 0.8837140202522278, 0.8842148184776306, 0.8847156167030334, 0.8852164149284363, 0.8857172131538391, 0.8862180113792419, 0.8867188096046448, 0.8872196674346924, 0.8877204656600952, 0.888221263885498, 0.8887220621109009, 0.8892228603363037, 0.8897236585617065, 0.8902244567871094, 0.8907252550125122, 0.891226053237915, 0.8917268514633179, 0.8922276496887207, 0.8927284479141235, 0.8932292461395264, 0.8937300443649292, 0.894230842590332, 0.8947316408157349, 0.8952324390411377, 0.8957332372665405, 0.8962340950965881, 0.896734893321991, 0.8972356915473938, 0.8977364897727966, 0.8982372879981995, 0.8987380862236023, 0.8992388844490051, 0.899739682674408, 0.9002404808998108, 0.9007412791252136, 0.9012420773506165, 0.9017428755760193, 0.9022436738014221, 0.902744472026825, 0.9032452702522278, 0.9037460684776306, 0.9042468667030334, 0.904747724533081, 0.9052485227584839, 0.9057493209838867, 0.9062501192092896, 0.9067509174346924, 0.9072517156600952, 0.907752513885498, 0.9082533121109009, 0.9087541103363037, 0.9092549085617065, 0.9097557067871094, 0.9102565050125122, 0.910757303237915, 0.9112581014633179, 0.9117588996887207, 0.9122596979141235, 0.9127604961395264, 0.9132612943649292, 0.9137621521949768, 0.9142629504203796, 0.9147637486457825, 0.9152645468711853, 0.9157653450965881, 0.916266143321991, 0.9167669415473938, 0.9172677397727966, 0.9177685379981995, 0.9182693362236023, 0.9187701344490051, 0.919270932674408, 0.9197717308998108, 0.9202725291252136, 0.9207733273506165, 0.9212741255760193, 0.9217749238014221, 0.922275722026825, 0.9227765798568726, 0.9232773780822754, 0.9237781763076782, 0.924278974533081, 0.9247797727584839, 0.9252805709838867, 0.9257813692092896, 0.9262821674346924, 0.9267829656600952, 0.927283763885498, 0.9277845621109009, 0.9282853603363037, 0.9287861585617065, 0.9292869567871094, 0.9297877550125122, 0.930288553237915, 0.9307893514633179, 0.9312902092933655, 0.9317910075187683, 0.9322918057441711, 0.932792603969574, 0.9332934021949768, 0.9337942004203796, 0.9342949986457825, 0.9347957968711853, 0.9352965950965881, 0.935797393321991, 0.9362981915473938, 0.9367989897727966, 0.9372997879981995, 0.9378005862236023, 0.9383013844490051, 0.938802182674408, 0.9393029808998108, 0.9398037791252136, 0.9403046369552612, 0.9408054351806641, 0.9413062334060669, 0.9418070316314697, 0.9423078298568726, 0.9428086280822754, 0.9433094263076782, 0.943810224533081, 0.9443110227584839, 0.9448118209838867, 0.9453126192092896, 0.9458134174346924, 0.9463142156600952, 0.946815013885498, 0.9473158121109009, 0.9478166103363037, 0.9483174085617065, 0.9488182067871094, 0.949319064617157, 0.9498198628425598, 0.9503206610679626, 0.9508214592933655, 0.9513222575187683, 0.9518230557441711, 0.952323853969574, 0.9528246521949768, 0.9533254504203796, 0.9538262486457825, 0.9543270468711853, 0.9548278450965881, 0.955328643321991, 0.9558294415473938, 0.9563302397727966, 0.9568310379981995, 0.9573318362236023, 0.9578326940536499, 0.9583334922790527, 0.9588342905044556, 0.9593350887298584, 0.9598358869552612, 0.9603366851806641, 0.9608374834060669, 0.9613382816314697, 0.9618390798568726, 0.9623398780822754, 0.9628406763076782, 0.963341474533081, 0.9638422727584839, 0.9643430709838867, 0.9648438692092896, 0.9653446674346924, 0.9658454656600952, 0.966346263885498, 0.9668471217155457, 0.9673479199409485, 0.9678487181663513, 0.9683495163917542, 0.968850314617157, 0.9693511128425598, 0.9698519110679626, 0.9703527092933655, 0.9708535075187683, 0.9713543057441711, 0.971855103969574, 0.9723559021949768, 0.9728567004203796, 0.9733574986457825, 0.9738582968711853, 0.9743590950965881, 0.974859893321991, 0.9753607511520386, 0.9758615493774414, 0.9763623476028442, 0.9768631458282471, 0.9773639440536499, 0.9778647422790527, 0.9783655405044556, 0.9788663387298584, 0.9793671369552612, 0.9798679351806641, 0.9803687334060669, 0.9808695316314697, 0.9813703298568726, 0.9818711280822754, 0.9823719263076782, 0.982872724533081, 0.9833735227584839, 0.9838743209838867, 0.9843751788139343, 0.9848759770393372, 0.98537677526474, 0.9858775734901428, 0.9863783717155457, 0.9868791699409485, 0.9873799681663513, 0.9878807663917542, 0.988381564617157, 0.9888823628425598, 0.9893831610679626, 0.9898839592933655, 0.9903847575187683, 0.9908855557441711, 0.991386353969574, 0.9918871521949768, 0.9923879504203796, 0.9928887486457825, 0.9933896064758301, 0.9938904047012329, 0.9943912029266357, 0.9948920011520386, 0.9953927993774414, 0.9958935976028442, 0.9963943958282471, 0.9968951940536499, 0.9973959922790527, 0.9978967905044556, 0.9983975887298584, 0.9988983869552612, 0.9993991851806641, 0.9998999834060669], "expected": [1.0986123085021973, 1.1012849807739258, 1.1039612293243408, 1.106641173362732, 1.1093246936798096, 1.1120117902755737, 1.114702582359314, 1.1173970699310303, 1.1200952529907227, 1.1227973699569702, 1.1255030632019043, 1.128212332725525, 1.1309254169464111, 1.1336421966552734, 1.136362910270691, 1.1390873193740845, 1.1418156623840332, 1.144547700881958, 1.147283673286438, 1.1500235795974731, 1.1527674198150635, 1.1555150747299194, 1.1582666635513306, 1.1610223054885864, 1.1637818813323975, 1.1665453910827637, 1.1693130731582642, 1.172084927558899, 1.1748605966567993, 1.1776403188705444, 1.1804242134094238, 1.183212161064148, 1.1860042810440063, 1.1888004541397095, 1.1916009187698364, 1.194405436515808, 1.1972142457962036, 1.200027346611023, 1.2028447389602661, 1.2056663036346436, 1.2084921598434448, 1.21132230758667, 1.2141568660736084, 1.2169958353042603, 1.219839096069336, 1.2226872444152832, 1.2255393266677856, 1.228395938873291, 1.2312569618225098, 1.2341225147247314, 1.2369924783706665, 1.239867091178894, 1.242746353149414, 1.2456300258636475, 1.2485183477401733, 1.2514114379882812, 1.2543089389801025, 1.2572113275527954, 1.2601183652877808, 1.2630300521850586, 1.2659465074539185, 1.26886785030365, 1.2717941999435425, 1.274725079536438, 1.2776607275009155, 1.2806013822555542, 1.283546805381775, 1.2864972352981567, 1.2894525527954102, 1.2924128770828247, 1.2953782081604004, 1.2983485460281372, 1.3013238906860352, 1.3043043613433838, 1.3072898387908936, 1.3102805614471436, 1.3132764101028442, 1.3162775039672852, 1.3192836046218872, 1.322295069694519, 1.3253121376037598, 1.3283342123031616, 1.3313615322113037, 1.3343942165374756, 1.3374321460723877, 1.3404756784439087, 1.34352445602417, 1.34657883644104, 1.3496387004852295, 1.3527039289474487, 1.3557748794555664, 1.3588513135910034, 1.3619333505630493, 1.365020990371704, 1.3681143522262573, 1.371213436126709, 1.374318242073059, 1.3774287700653076, 1.3805454969406128, 1.3836675882339478, 1.3867955207824707, 1.3899294137954712, 1.3930692672729492, 1.3962149620056152, 1.3993667364120483, 1.4025243520736694, 1.4056881666183472, 1.408858060836792, 1.412034034729004, 1.415216088294983, 1.418404459953308, 1.4215989112854004, 1.4247997999191284, 1.4280067682266235, 1.4312200546264648, 1.4344402551651, 1.437666416168213, 1.4408988952636719, 1.4441379308700562, 1.4473834037780762, 1.4506354331970215, 1.453894019126892, 1.457159161567688, 1.4604310989379883, 1.4637097120285034, 1.4669948816299438, 1.4702869653701782, 1.473585844039917, 1.4768913984298706, 1.4802039861679077, 1.4835233688354492, 1.4868499040603638, 1.4901833534240723, 1.493524193763733, 1.4968717098236084, 1.500226378440857, 1.5035881996154785, 1.5069572925567627, 1.51033353805542, 1.5137171745300293, 1.5171079635620117, 1.5205062627792358, 1.5239120721817017, 1.52732515335083, 1.5307458639144897, 1.5341742038726807, 1.5376100540161133, 1.5410535335540771, 1.5445046424865723, 1.5479635000228882, 1.5514307022094727, 1.5549051761627197, 1.5583876371383667, 1.561877965927124, 1.5653762817382812, 1.568882703781128, 1.5723971128463745, 1.5759196281433105, 1.579450249671936, 1.58298921585083, 1.5865365266799927, 1.5900919437408447, 1.5936559438705444, 1.5972282886505127, 1.600809097290039, 1.604398488998413, 1.6079965829849243, 1.611603021621704, 1.6152188777923584, 1.6188429594039917, 1.6224758625030518, 1.6261175870895386, 1.6297682523727417, 1.6334278583526611, 1.637096643447876, 1.6407744884490967, 1.6444613933563232, 1.6481574773788452, 1.6518629789352417, 1.6555777788162231, 1.659301996231079, 1.66303551197052, 1.666778802871704, 1.6705315113067627, 1.674293875694275, 1.6780660152435303, 1.681848406791687, 1.6856400966644287, 1.6894416809082031, 1.6932532787322998, 1.6970748901367188, 1.7009066343307495, 1.7047486305236816, 1.7086007595062256, 1.7124632596969604, 1.7163361310958862, 1.7202194929122925, 1.7241133451461792, 1.728017807006836, 1.7319329977035522, 1.7358587980270386, 1.7397955656051636, 1.7437431812286377, 1.7477022409439087, 1.7516719102859497, 1.755652666091919, 1.759644627571106, 1.7636479139328003, 1.767662525177002, 1.7716885805130005, 1.7757261991500854, 1.7797755002975464, 1.7838364839553833, 1.7879091501235962, 1.7919937372207642, 1.7960902452468872, 1.8001987934112549, 1.8043195009231567, 1.8084524869918823, 1.812597632408142, 1.8167551755905151, 1.8209258317947388, 1.825108528137207, 1.8293038606643677, 1.8335120677947998, 1.8377330303192139, 1.841966986656189, 1.8462140560150146, 1.8504741191864014, 1.8547476530075073, 1.8590344190597534, 1.8633346557617188, 1.8676486015319824, 1.8719761371612549, 1.8763173818588257, 1.880672574043274, 1.8850417137145996, 1.8894249200820923, 1.8938225507736206, 1.8982347249984741, 1.9026610851287842, 1.9071018695831299, 1.9115573167800903, 1.9160276651382446, 1.9205126762390137, 1.9250129461288452, 1.9295282363891602, 1.9340589046478271, 1.9386048316955566, 1.9431663751602173, 1.947743535041809, 1.9523365497589111, 1.9569453001022339, 1.961570143699646, 1.966211199760437, 1.970868706703186, 1.9755429029464722, 1.9802333116531372, 1.9849404096603394, 1.9896644353866577, 1.9944055080413818, 1.9991636276245117, 2.003938913345337, 2.0087318420410156, 2.013542413711548, 2.0183706283569336, 2.023216724395752, 2.028080940246582, 2.032963514328003, 2.0378642082214355, 2.042783737182617, 2.0477218627929688, 2.0526788234710693, 2.057654857635498, 2.062650680541992, 2.0676653385162354, 2.072699546813965, 2.0777535438537598, 2.08282732963562, 2.087921619415283, 2.093035936355591, 2.098170757293701, 2.1033263206481934, 2.1085026264190674, 2.1137001514434814, 2.1189188957214355, 2.124159336090088, 2.1294212341308594, 2.134705066680908, 2.1400110721588135, 2.145339250564575, 2.1506900787353516, 2.156064033508301, 2.1614606380462646, 2.1668803691864014, 2.172323703765869, 2.177790641784668, 2.183281421661377, 2.188796281814575, 2.194335460662842, 2.199899435043335, 2.2054882049560547, 2.211102247238159, 2.2167415618896484, 2.2224066257476807, 2.228097677230835, 2.2338149547576904, 2.239558696746826, 2.2453291416168213, 2.251127243041992, 2.2569520473480225, 2.2628045082092285, 2.2686848640441895, 2.2745935916900635, 2.2805306911468506, 2.286496639251709, 2.292491912841797, 2.2985165119171143, 2.3045711517333984, 2.3106555938720703, 2.3167707920074463, 2.3229167461395264, 2.3290939331054688, 2.3353028297424316, 2.341543436050415, 2.347816228866577, 2.354121685028076, 2.3604612350463867, 2.366833209991455, 2.373239040374756, 2.379678964614868, 2.3861536979675293, 2.3926634788513184, 2.3992085456848145, 2.405789852142334, 2.412407159805298, 2.4190614223480225, 2.425753116607666, 2.4324822425842285, 2.4392495155334473, 2.4460556507110596, 2.4529008865356445, 2.4597856998443604, 2.4667108058929443, 2.4736764430999756, 2.480684280395508, 2.4877331256866455, 2.494824171066284, 2.501958131790161, 2.5091354846954346, 2.516356945037842, 2.523622989654541, 2.5309340953826904, 2.5382912158966064, 2.5456948280334473, 2.55314564704895, 2.5606443881988525, 2.5681912899017334, 2.5757875442504883, 2.5834336280822754, 2.591130256652832, 2.5988781452178955, 2.6066792011260986, 2.614532232284546, 2.622438669204712, 2.630399465560913, 2.638415813446045, 2.6464879512786865, 2.6546170711517334, 2.662804126739502, 2.6710498332977295, 2.6793551445007324, 2.687721014022827, 2.69614839553833, 2.7046384811401367, 2.7131917476654053, 2.7218096256256104, 2.7304933071136475, 2.739243507385254, 2.748061418533325, 2.7569494247436523, 2.765906572341919, 2.774935007095337, 2.7840359210968018, 2.793210506439209, 2.802460193634033, 2.811786413192749, 2.821190357208252, 2.8306734561920166, 2.8402369022369385, 2.8498826026916504, 2.859611988067627, 2.8694264888763428, 2.8793275356292725, 2.889317274093628, 2.8993966579437256, 2.9095683097839355, 2.9198334217071533, 2.9301950931549072, 2.940653085708618, 2.9512102603912354, 2.96186900138855, 2.9726309776306152, 2.9834985733032227, 2.994473934173584, 3.0055594444274902, 3.0167572498321533, 3.0280699729919434, 3.0395002365112305, 3.0510501861572266, 3.06272292137146, 3.074521064758301, 3.0864474773406982, 3.0985050201416016, 3.110697031021118, 3.123028039932251, 3.135498285293579, 3.1481125354766846, 3.160874843597412, 3.17378830909729, 3.186857223510742, 3.200085163116455, 3.2134764194488525, 3.2270352840423584, 3.2407658100128174, 3.2546732425689697, 3.2687618732452393, 3.283036947250366, 3.297503709793091, 3.312167167663574, 3.327033519744873, 3.3421084880828857, 3.35739803314209, 3.372910976409912, 3.3886497020721436, 3.404623508453369, 3.420839786529541, 3.4373059272766113, 3.4540305137634277, 3.471021890640259, 3.4882888793945312, 3.505841016769409, 3.5236880779266357, 3.5418407917022705, 3.560309648513794, 3.579106569290161, 3.5982437133789062, 3.617733955383301, 3.6375908851623535, 3.6578292846679688, 3.678466796875, 3.699514627456665, 3.7209928035736084, 3.742919921875, 3.765315055847168, 3.7881996631622314, 3.811595916748047, 3.8355281352996826, 3.8600213527679443, 3.885103940963745, 3.9108052253723145, 3.937157154083252, 3.9641942977905273, 3.9919543266296387, 4.020477294921875, 4.049807548522949, 4.079992771148682, 4.111085414886475, 4.143146514892578, 4.176231384277344, 4.210412979125977, 4.245768070220947, 4.282381057739258, 4.320346355438232, 4.359769821166992, 4.400768280029297, 4.443475723266602, 4.48804235458374, 4.534640312194824, 4.583465576171875, 4.634744167327881, 4.688738822937012, 4.74575662612915, 4.8061604499816895, 4.870381832122803, 4.938940525054932, 5.012479782104492, 5.091766357421875, 5.177794456481934, 5.271826267242432, 5.375516891479492, 5.491093158721924, 5.621654033660889, 5.771694660186768, 5.94809627532959, 6.162185192108154, 6.4346418380737305, 6.809877395629883, 7.416622638702393, 9.210074424743652]} \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json new file mode 100644 index 000000000000..47bcc1278e42 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json @@ -0,0 +1 @@ +{"x": [0.5, 0.5005009770393372, 0.5010020136833191, 0.5015029907226562, 0.5020040273666382, 0.5025050044059753, 0.5030060410499573, 0.5035070180892944, 0.5040079951286316, 0.5045090317726135, 0.5050100088119507, 0.5055110454559326, 0.5060120224952698, 0.5065129995346069, 0.5070140361785889, 0.507515013217926, 0.508016049861908, 0.5085170269012451, 0.509018063545227, 0.5095190405845642, 0.5100200176239014, 0.5105210542678833, 0.5110220313072205, 0.5115230679512024, 0.5120240449905396, 0.5125250220298767, 0.5130260586738586, 0.5135270357131958, 0.5140280723571777, 0.5145290493965149, 0.5150300860404968, 0.515531063079834, 0.5160320401191711, 0.5165330767631531, 0.5170340538024902, 0.5175350904464722, 0.5180360674858093, 0.5185370445251465, 0.5190380811691284, 0.5195390582084656, 0.5200400948524475, 0.5205410718917847, 0.5210421085357666, 0.5215430855751038, 0.5220440626144409, 0.5225450992584229, 0.52304607629776, 0.5235471129417419, 0.5240480899810791, 0.524549126625061, 0.5250501036643982, 0.5255510807037354, 0.5260521173477173, 0.5265530943870544, 0.5270541310310364, 0.5275551080703735, 0.5280560851097107, 0.5285571217536926, 0.5290580987930298, 0.5295591354370117, 0.5300601124763489, 0.5305611491203308, 0.531062126159668, 0.5315631031990051, 0.5320641398429871, 0.5325651168823242, 0.5330661535263062, 0.5335671305656433, 0.5340681076049805, 0.5345691442489624, 0.5350701212882996, 0.5355711579322815, 0.5360721349716187, 0.5365731716156006, 0.5370741486549377, 0.5375751256942749, 0.5380761623382568, 0.538577139377594, 0.5390781760215759, 0.5395791530609131, 0.540080189704895, 0.5405811667442322, 0.5410821437835693, 0.5415831804275513, 0.5420841574668884, 0.5425851941108704, 0.5430861711502075, 0.5435871481895447, 0.5440881848335266, 0.5445891618728638, 0.5450901985168457, 0.5455911755561829, 0.5460922122001648, 0.546593189239502, 0.5470941662788391, 0.547595202922821, 0.5480961799621582, 0.5485972166061401, 0.5490981936454773, 0.5495991706848145, 0.5501002073287964, 0.5506011843681335, 0.5511022210121155, 0.5516031980514526, 0.5521042346954346, 0.5526052117347717, 0.5531061887741089, 0.5536072254180908, 0.554108202457428, 0.5546092391014099, 0.5551102161407471, 0.5556111931800842, 0.5561122298240662, 0.5566132068634033, 0.5571142435073853, 0.5576152205467224, 0.5581162571907043, 0.5586172342300415, 0.5591182112693787, 0.5596192479133606, 0.5601202249526978, 0.5606212615966797, 0.5611222386360168, 0.5616232752799988, 0.5621242523193359, 0.5626252293586731, 0.563126266002655, 0.5636272430419922, 0.5641282796859741, 0.5646292567253113, 0.5651302337646484, 0.5656312704086304, 0.5661322474479675, 0.5666332840919495, 0.5671342611312866, 0.5676352977752686, 0.5681362748146057, 0.5686372518539429, 0.5691382884979248, 0.569639265537262, 0.5701403021812439, 0.570641279220581, 0.5711422562599182, 0.5716432929039001, 0.5721442699432373, 0.5726453065872192, 0.5731462836265564, 0.5736473202705383, 0.5741482973098755, 0.5746492743492126, 0.5751503109931946, 0.5756512880325317, 0.5761523246765137, 0.5766533017158508, 0.5771543383598328, 0.5776553153991699, 0.5781562924385071, 0.578657329082489, 0.5791583061218262, 0.5796593427658081, 0.5801603198051453, 0.5806612968444824, 0.5811623334884644, 0.5816633105278015, 0.5821643471717834, 0.5826653242111206, 0.5831663608551025, 0.5836673378944397, 0.5841683149337769, 0.5846693515777588, 0.585170328617096, 0.5856713652610779, 0.586172342300415, 0.5866733193397522, 0.5871743559837341, 0.5876753330230713, 0.5881763696670532, 0.5886773467063904, 0.5891783833503723, 0.5896793603897095, 0.5901803374290466, 0.5906813740730286, 0.5911823511123657, 0.5916833877563477, 0.5921843647956848, 0.592685341835022, 0.5931863784790039, 0.5936873555183411, 0.594188392162323, 0.5946893692016602, 0.5951904058456421, 0.5956913828849792, 0.5961923599243164, 0.5966933965682983, 0.5971943736076355, 0.5976954102516174, 0.5981963872909546, 0.5986974239349365, 0.5991984009742737, 0.5996993780136108, 0.6002004146575928, 0.6007013916969299, 0.6012024283409119, 0.601703405380249, 0.6022043824195862, 0.6027054190635681, 0.6032063961029053, 0.6037074327468872, 0.6042084097862244, 0.6047094464302063, 0.6052104234695435, 0.6057114005088806, 0.6062124371528625, 0.6067134141921997, 0.6072144508361816, 0.6077154278755188, 0.608216404914856, 0.6087174415588379, 0.609218418598175, 0.609719455242157, 0.6102204322814941, 0.6107214689254761, 0.6112224459648132, 0.6117234230041504, 0.6122244596481323, 0.6127254366874695, 0.6132264733314514, 0.6137274503707886, 0.6142284274101257, 0.6147294640541077, 0.6152304410934448, 0.6157314777374268, 0.6162324547767639, 0.6167334914207458, 0.617234468460083, 0.6177354454994202, 0.6182364821434021, 0.6187374591827393, 0.6192384958267212, 0.6197394728660583, 0.6202405095100403, 0.6207414865493774, 0.6212424635887146, 0.6217435002326965, 0.6222444772720337, 0.6227455139160156, 0.6232464909553528, 0.6237474679946899, 0.6242485046386719, 0.624749481678009, 0.625250518321991, 0.6257514953613281, 0.6262525320053101, 0.6267535090446472, 0.6272544860839844, 0.6277555227279663, 0.6282564997673035, 0.6287575364112854, 0.6292585134506226, 0.6297594904899597, 0.6302605271339417, 0.6307615041732788, 0.6312625408172607, 0.6317635178565979, 0.6322645545005798, 0.632765531539917, 0.6332665085792542, 0.6337675452232361, 0.6342685222625732, 0.6347695589065552, 0.6352705359458923, 0.6357715725898743, 0.6362725496292114, 0.6367735266685486, 0.6372745633125305, 0.6377755403518677, 0.6382765769958496, 0.6387775540351868, 0.6392785310745239, 0.6397795677185059, 0.640280544757843, 0.640781581401825, 0.6412825584411621, 0.641783595085144, 0.6422845721244812, 0.6427855491638184, 0.6432865858078003, 0.6437875628471375, 0.6442885994911194, 0.6447895765304565, 0.6452905535697937, 0.6457915902137756, 0.6462925672531128, 0.6467936038970947, 0.6472945809364319, 0.6477956175804138, 0.648296594619751, 0.6487975716590881, 0.6492986083030701, 0.6497995853424072, 0.6503006219863892, 0.6508015990257263, 0.6513025760650635, 0.6518036127090454, 0.6523045897483826, 0.6528056263923645, 0.6533066034317017, 0.6538076400756836, 0.6543086171150208, 0.6548095941543579, 0.6553106307983398, 0.655811607837677, 0.6563126444816589, 0.6568136215209961, 0.657314658164978, 0.6578156352043152, 0.6583166122436523, 0.6588176488876343, 0.6593186259269714, 0.6598196625709534, 0.6603206396102905, 0.6608216166496277, 0.6613226532936096, 0.6618236303329468, 0.6623246669769287, 0.6628256440162659, 0.6633266806602478, 0.663827657699585, 0.6643286347389221, 0.664829671382904, 0.6653306484222412, 0.6658316850662231, 0.6663326621055603, 0.6668336391448975, 0.6673346757888794, 0.6678356528282166, 0.6683366894721985, 0.6688376665115356, 0.6693387031555176, 0.6698396801948547, 0.6703406572341919, 0.6708416938781738, 0.671342670917511, 0.6718437075614929, 0.6723446846008301, 0.6728456616401672, 0.6733466982841492, 0.6738476753234863, 0.6743487119674683, 0.6748496890068054, 0.6753507256507874, 0.6758517026901245, 0.6763526797294617, 0.6768537163734436, 0.6773546934127808, 0.6778557300567627, 0.6783567070960999, 0.6788577437400818, 0.679358720779419, 0.6798596978187561, 0.680360734462738, 0.6808617115020752, 0.6813627481460571, 0.6818637251853943, 0.6823647022247314, 0.6828657388687134, 0.6833667159080505, 0.6838677525520325, 0.6843687295913696, 0.6848697662353516, 0.6853707432746887, 0.6858717203140259, 0.6863727569580078, 0.686873733997345, 0.6873747706413269, 0.6878757476806641, 0.6883767247200012, 0.6888777613639832, 0.6893787384033203, 0.6898797750473022, 0.6903807520866394, 0.6908817887306213, 0.6913827657699585, 0.6918837428092957, 0.6923847794532776, 0.6928857564926147, 0.6933867931365967, 0.6938877701759338, 0.6943888068199158, 0.6948897838592529, 0.6953907608985901, 0.695891797542572, 0.6963927745819092, 0.6968938112258911, 0.6973947882652283, 0.6978957653045654, 0.6983968019485474, 0.6988977789878845, 0.6993988156318665, 0.6998997926712036, 0.7004008293151855, 0.7009018063545227, 0.7014027833938599, 0.7019038200378418, 0.702404797077179, 0.7029058337211609, 0.703406810760498, 0.7039077877998352, 0.7044088244438171, 0.7049098014831543, 0.7054108381271362, 0.7059118151664734, 0.7064128518104553, 0.7069138288497925, 0.7074148058891296, 0.7079158425331116, 0.7084168195724487, 0.7089178562164307, 0.7094188332557678, 0.709919810295105, 0.7104208469390869, 0.7109218239784241, 0.711422860622406, 0.7119238376617432, 0.7124248743057251, 0.7129258513450623, 0.7134268283843994, 0.7139278650283813, 0.7144288420677185, 0.7149298787117004, 0.7154308557510376, 0.7159318923950195, 0.7164328694343567, 0.7169338464736938, 0.7174348831176758, 0.7179358601570129, 0.7184368968009949, 0.718937873840332, 0.7194388508796692, 0.7199398875236511, 0.7204408645629883, 0.7209419012069702, 0.7214428782463074, 0.7219439148902893, 0.7224448919296265, 0.7229458689689636, 0.7234469056129456, 0.7239478826522827, 0.7244489192962646, 0.7249498963356018, 0.725450873374939, 0.7259519100189209, 0.7264528870582581, 0.72695392370224, 0.7274549007415771, 0.7279559373855591, 0.7284569144248962, 0.7289578914642334, 0.7294589281082153, 0.7299599051475525, 0.7304609417915344, 0.7309619188308716, 0.7314629554748535, 0.7319639325141907, 0.7324649095535278, 0.7329659461975098, 0.7334669232368469, 0.7339679598808289, 0.734468936920166, 0.7349699139595032, 0.7354709506034851, 0.7359719276428223, 0.7364729642868042, 0.7369739413261414, 0.7374749779701233, 0.7379759550094604, 0.7384769320487976, 0.7389779686927795, 0.7394789457321167, 0.7399799823760986, 0.7404809594154358, 0.740981936454773, 0.7414829730987549, 0.741983950138092, 0.742484986782074, 0.7429859638214111, 0.7434870004653931, 0.7439879775047302, 0.7444889545440674, 0.7449899911880493, 0.7454909682273865, 0.7459920048713684, 0.7464929819107056, 0.7469939589500427, 0.7474949955940247, 0.7479959726333618, 0.7484970092773438, 0.7489979863166809, 0.7494990229606628, 0.75], "expected": [0.0, 0.002003925619646907, 0.004008117597550154, 0.006011974532157183, 0.008016199804842472, 0.010020074434578419, 0.01202429924160242, 0.01402827724814415, 0.016032353043556213, 0.01803663559257984, 0.02004064805805683, 0.022045083343982697, 0.02404923364520073, 0.02605343982577324, 0.028058042749762535, 0.03006233647465706, 0.032066892832517624, 0.03407135605812073, 0.036076176911592484, 0.03808077424764633, 0.04008548706769943, 0.042090415954589844, 0.04409532621502876, 0.0461004339158535, 0.04810550808906555, 0.05011054128408432, 0.052115969359874725, 0.054121341556310654, 0.05612697824835777, 0.05813254043459892, 0.06013846769928932, 0.06214429810643196, 0.0641501396894455, 0.06615642458200455, 0.06816259026527405, 0.07016918808221817, 0.0721755400300026, 0.0741821825504303, 0.07618912309408188, 0.07819601148366928, 0.08020339161157608, 0.08221058547496796, 0.08421815186738968, 0.08622574061155319, 0.08823344856500626, 0.09024160355329514, 0.09224964678287506, 0.09425821900367737, 0.09626667201519012, 0.09827551990747452, 0.10028433799743652, 0.10229342430830002, 0.10430289059877396, 0.10631240159273148, 0.10832227021455765, 0.11033226549625397, 0.11234238743782043, 0.11435294151306152, 0.11636348813772202, 0.11837456375360489, 0.12038561701774597, 0.12239716202020645, 0.12440867722034454, 0.12642055749893188, 0.12843281030654907, 0.13044510781764984, 0.1324579417705536, 0.13447080552577972, 0.13648389279842377, 0.1384975016117096, 0.14051121473312378, 0.14252541959285736, 0.1445396989583969, 0.14655445516109467, 0.1485692858695984, 0.1505843698978424, 0.15260009467601776, 0.1546158641576767, 0.15663215517997742, 0.1586485654115677, 0.16066548228263855, 0.16268250346183777, 0.16469989717006683, 0.1667177826166153, 0.1687358319759369, 0.17075443267822266, 0.17277318239212036, 0.17479227483272552, 0.17681188881397247, 0.17883172631263733, 0.18085215985774994, 0.1828726828098297, 0.18489380180835724, 0.1869150847196579, 0.1889367401599884, 0.19095894694328308, 0.19298139214515686, 0.19500446319580078, 0.19702766835689545, 0.19905127584934235, 0.20107556879520416, 0.2031000554561615, 0.2051251083612442, 0.20715034008026123, 0.20917631685733795, 0.2112024426460266, 0.2132290005683899, 0.21525625884532928, 0.21728363633155823, 0.21931178867816925, 0.221340149641037, 0.22336888313293457, 0.22539836168289185, 0.22742809355258942, 0.22945845127105713, 0.2314891368150711, 0.23352043330669403, 0.23555204272270203, 0.23758412897586823, 0.2396169751882553, 0.24165000021457672, 0.24368377029895782, 0.2457178831100464, 0.2477526068687439, 0.24978776276111603, 0.2518233060836792, 0.25385963916778564, 0.25589632987976074, 0.25793367624282837, 0.25997141003608704, 0.26200956106185913, 0.26404860615730286, 0.2660878896713257, 0.26812803745269775, 0.2701684832572937, 0.27220970392227173, 0.27425119280815125, 0.2762933075428009, 0.27833622694015503, 0.2803794741630554, 0.28242358565330505, 0.28446802496910095, 0.2865130603313446, 0.2885589003562927, 0.2906050980091095, 0.2926521897315979, 0.29469963908195496, 0.2967478632926941, 0.29879650473594666, 0.30084583163261414, 0.3028959333896637, 0.30494654178619385, 0.3069979250431061, 0.3090497851371765, 0.3111024796962738, 0.3131555914878845, 0.31520935893058777, 0.31726405024528503, 0.31931912899017334, 0.32137516140937805, 0.3234315514564514, 0.3254886269569397, 0.32754671573638916, 0.32960522174835205, 0.3316646218299866, 0.3337244987487793, 0.3357853293418884, 0.3378466069698334, 0.33990857005119324, 0.3419715166091919, 0.34403496980667114, 0.3460994064807892, 0.34816429018974304, 0.3502298593521118, 0.35229647159576416, 0.3543635904788971, 0.3564316928386688, 0.35850027203559875, 0.36056992411613464, 0.36263999342918396, 0.3647109568119049, 0.3667828142642975, 0.3688552677631378, 0.3709287941455841, 0.3730028569698334, 0.37507760524749756, 0.3771534860134125, 0.37922996282577515, 0.3813073933124542, 0.38338541984558105, 0.3854645788669586, 0.3875442445278168, 0.3896247148513794, 0.39170631766319275, 0.39378851652145386, 0.39587175846099854, 0.39795565605163574, 0.4000406265258789, 0.4021262228488922, 0.40421271324157715, 0.40630024671554565, 0.4083884656429291, 0.41047775745391846, 0.412567675113678, 0.4146585762500763, 0.41675055027008057, 0.41884317994117737, 0.4209369719028473, 0.42303141951560974, 0.4251269996166229, 0.4272233247756958, 0.42932048439979553, 0.43141889572143555, 0.4335179328918457, 0.43561822175979614, 0.4377192258834839, 0.4398210942745209, 0.4419242739677429, 0.4440280795097351, 0.4461331367492676, 0.4482388496398926, 0.45034584403038025, 0.4524536728858948, 0.45456233620643616, 0.4566722810268402, 0.45878300070762634, 0.46089500188827515, 0.46300771832466125, 0.46512144804000854, 0.4672364592552185, 0.4693523347377777, 0.47146937251091003, 0.4735872149467468, 0.47570642828941345, 0.477826327085495, 0.47994735836982727, 0.4820697009563446, 0.48419278860092163, 0.48631730675697327, 0.4884425699710846, 0.49056920409202576, 0.492696613073349, 0.49482518434524536, 0.49695509672164917, 0.49908584356307983, 0.5012179613113403, 0.5033509135246277, 0.5054850578308105, 0.5076205730438232, 0.509756863117218, 0.5118946433067322, 0.514033317565918, 0.5161733627319336, 0.5183143019676208, 0.5204564332962036, 0.5225999355316162, 0.52474445104599, 0.5268903374671936, 0.5290371179580688, 0.5311852097511292, 0.5333346724510193, 0.535485029220581, 0.537636935710907, 0.5397897958755493, 0.541944146156311, 0.5440994501113892, 0.5462559461593628, 0.5484139323234558, 0.5505729913711548, 0.5527335405349731, 0.5548951029777527, 0.5570580959320068, 0.5592221617698669, 0.5613874793052673, 0.5635544061660767, 0.5657223463058472, 0.5678918361663818, 0.5700623393058777, 0.5722341537475586, 0.5744075775146484, 0.5765820145606995, 0.5787580013275146, 0.5809351801872253, 0.5831138491630554, 0.585293710231781, 0.5874748826026917, 0.5896576046943665, 0.5918415188789368, 0.5940269827842712, 0.596213698387146, 0.5984017252922058, 0.6005913615226746, 0.6027821898460388, 0.6049746870994568, 0.6071683168411255, 0.6093636155128479, 0.6115601062774658, 0.6137579679489136, 0.6159575581550598, 0.6181583404541016, 0.6203608512878418, 0.6225646138191223, 0.6247697472572327, 0.6269766688346863, 0.6291847825050354, 0.631394624710083, 0.6336057186126709, 0.635818600654602, 0.6380326747894287, 0.6402483582496643, 0.6424657106399536, 0.6446844339370728, 0.6469048261642456, 0.6491265892982483, 0.6513501405715942, 0.6535750031471252, 0.6558014750480652, 0.6580297350883484, 0.6602592468261719, 0.6624906659126282, 0.6647233963012695, 0.6669577360153198, 0.6691939830780029, 0.6714315414428711, 0.6736710071563721, 0.6759117841720581, 0.6781545281410217, 0.6803985834121704, 0.6826443672180176, 0.6848920583724976, 0.6871411204338074, 0.6893921494483948, 0.691644549369812, 0.693898618221283, 0.6961547136306763, 0.6984122395515442, 0.7006717920303345, 0.7029327154159546, 0.7051956057548523, 0.7074599862098694, 0.7097261548042297, 0.7119943499565125, 0.7142640948295593, 0.716535747051239, 0.7188088893890381, 0.7210839986801147, 0.7233609557151794, 0.7256395220756531, 0.7279201745986938, 0.7302024364471436, 0.7324867248535156, 0.7347725033760071, 0.7370601892471313, 0.7393500804901123, 0.7416415214538574, 0.7439349293708801, 0.7462301850318909, 0.748527467250824, 0.750826358795166, 0.7531271576881409, 0.7554300427436829, 0.7577347159385681, 0.7600415349006653, 0.7623499631881714, 0.7646603584289551, 0.7669730186462402, 0.7692873477935791, 0.7716038823127747, 0.7739222049713135, 0.776242733001709, 0.778564989566803, 0.7808891534805298, 0.7832157015800476, 0.7855439782142639, 0.7878745198249817, 0.790206789970398, 0.7925412654876709, 0.7948779463768005, 0.7972164750099182, 0.7995573282241821, 0.8018999099731445, 0.8042449951171875, 0.8065917491912842, 0.8089407682418823, 0.8112921118736267, 0.8136453628540039, 0.8160009384155273, 0.8183583617210388, 0.8207183480262756, 0.8230801820755005, 0.825444221496582, 0.8278106451034546, 0.8301790356636047, 0.8325498700141907, 0.8349226713180542, 0.8372976779937744, 0.8396751880645752, 0.8420546650886536, 0.8444367051124573, 0.8468207120895386, 0.8492072820663452, 0.8515958189964294, 0.8539867401123047, 0.8563801646232605, 0.8587757349014282, 0.8611738085746765, 0.8635739684104919, 0.8659764528274536, 0.8683815598487854, 0.8707888126373291, 0.8731986284255981, 0.8756106495857239, 0.8780253529548645, 0.8804421424865723, 0.8828613758087158, 0.8852832317352295, 0.8877072930335999, 0.8901340961456299, 0.8925631642341614, 0.8949946165084839, 0.8974289298057556, 0.8998653292655945, 0.9023045301437378, 0.9047459959983826, 0.9071903228759766, 0.909636914730072, 0.912086009979248, 0.9145379662513733, 0.9169921875, 0.9194492697715759, 0.9219086766242981, 0.9243710041046143, 0.9268357157707214, 0.929302990436554, 0.9317731261253357, 0.9342457056045532, 0.9367212653160095, 0.9391991496086121, 0.9416797757148743, 0.94416344165802, 0.9466494917869568, 0.9491385817527771, 0.9516300559043884, 0.9541245698928833, 0.9566216468811035, 0.9591214060783386, 0.9616243243217468, 0.9641297459602356, 0.9666382670402527, 0.9691492319107056, 0.9716631770133972, 0.9741802215576172, 0.976699709892273, 0.9792225360870361, 0.9817478656768799, 0.9842764735221863, 0.986807644367218, 0.9893417954444885, 0.9918791651725769, 0.9944191575050354, 0.9969624876976013, 0.9995084404945374, 1.002057671546936, 1.0046097040176392, 1.007164716720581, 1.0097230672836304, 1.0122841596603394, 1.0148485898971558, 1.0174158811569214, 1.0199862718582153, 1.0225600004196167, 1.0251365900039673, 1.0277165174484253, 1.030299425125122, 1.0328857898712158, 1.0354750156402588, 1.03806734085083, 1.0406633615493774, 1.0432621240615845, 1.0458645820617676, 1.0484697818756104, 1.05107843875885, 1.0536906719207764, 1.0563057661056519, 1.058924674987793, 1.0615464448928833, 1.0641719102859497, 1.0668004751205444, 1.0694323778152466, 1.0720679759979248, 1.0747066736221313, 1.0773491859436035, 1.0799946784973145, 1.082643747329712, 1.0852965116500854, 1.0879524946212769, 1.0906122922897339, 1.0932753086090088, 1.0959421396255493, 1.0986123085021973]} \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json new file mode 100644 index 000000000000..02e8cf0100d0 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json @@ -0,0 +1 @@ +{"x": [0.25, 0.2504809498786926, 0.25096192955970764, 0.25144287943840027, 0.2519238591194153, 0.2524048089981079, 0.25288575887680054, 0.25336673855781555, 0.2538476884365082, 0.2543286681175232, 0.2548096179962158, 0.25529056787490845, 0.25577154755592346, 0.2562524974346161, 0.2567334771156311, 0.25721442699432373, 0.25769537687301636, 0.25817635655403137, 0.258657306432724, 0.259138286113739, 0.25961923599243164, 0.26010018587112427, 0.2605811655521393, 0.2610621154308319, 0.2615430951118469, 0.26202404499053955, 0.26250502467155457, 0.2629859745502472, 0.2634669244289398, 0.26394790410995483, 0.26442885398864746, 0.2649098336696625, 0.2653907835483551, 0.26587173342704773, 0.26635271310806274, 0.26683366298675537, 0.2673146426677704, 0.267795592546463, 0.26827654242515564, 0.26875752210617065, 0.2692384719848633, 0.2697194516658783, 0.2702004015445709, 0.27068135142326355, 0.27116233110427856, 0.2716432809829712, 0.2721242606639862, 0.27260521054267883, 0.27308616042137146, 0.2735671401023865, 0.2740480899810791, 0.2745290696620941, 0.27501001954078674, 0.27549096941947937, 0.2759719491004944, 0.276452898979187, 0.276933878660202, 0.27741482853889465, 0.2778957784175873, 0.2783767580986023, 0.2788577079772949, 0.27933868765830994, 0.27981963753700256, 0.2803005874156952, 0.2807815670967102, 0.28126251697540283, 0.28174349665641785, 0.2822244465351105, 0.2827053964138031, 0.2831863760948181, 0.28366732597351074, 0.28414830565452576, 0.2846292555332184, 0.2851102352142334, 0.285591185092926, 0.28607213497161865, 0.28655311465263367, 0.2870340645313263, 0.2875150442123413, 0.28799599409103394, 0.28847694396972656, 0.2889579236507416, 0.2894388735294342, 0.2899198532104492, 0.29040080308914185, 0.2908817529678345, 0.2913627326488495, 0.2918436825275421, 0.29232466220855713, 0.29280561208724976, 0.2932865619659424, 0.2937675416469574, 0.29424849152565, 0.29472947120666504, 0.29521042108535767, 0.2956913709640503, 0.2961723506450653, 0.29665330052375793, 0.29713428020477295, 0.2976152300834656, 0.2980961799621582, 0.2985771596431732, 0.29905810952186584, 0.29953908920288086, 0.3000200390815735, 0.3005009889602661, 0.30098196864128113, 0.30146291851997375, 0.30194389820098877, 0.3024248480796814, 0.302905797958374, 0.30338677763938904, 0.30386772751808167, 0.3043487071990967, 0.3048296570777893, 0.30531060695648193, 0.30579158663749695, 0.3062725365161896, 0.3067535161972046, 0.3072344660758972, 0.30771544575691223, 0.30819639563560486, 0.3086773455142975, 0.3091583251953125, 0.3096392750740051, 0.31012025475502014, 0.31060120463371277, 0.3110821545124054, 0.3115631341934204, 0.31204408407211304, 0.31252506375312805, 0.3130060136318207, 0.3134869635105133, 0.3139679431915283, 0.31444889307022095, 0.31492987275123596, 0.3154108226299286, 0.3158917725086212, 0.31637275218963623, 0.31685370206832886, 0.31733468174934387, 0.3178156316280365, 0.3182965815067291, 0.31877756118774414, 0.31925851106643677, 0.3197394907474518, 0.3202204406261444, 0.32070139050483704, 0.32118237018585205, 0.3216633200645447, 0.3221442997455597, 0.3226252496242523, 0.32310619950294495, 0.32358717918395996, 0.3240681290626526, 0.3245491087436676, 0.32503005862236023, 0.32551100850105286, 0.32599198818206787, 0.3264729380607605, 0.3269539177417755, 0.32743486762046814, 0.32791581749916077, 0.3283967971801758, 0.3288777470588684, 0.3293587267398834, 0.32983967661857605, 0.3303206264972687, 0.3308016061782837, 0.3312825560569763, 0.33176353573799133, 0.33224448561668396, 0.332725465297699, 0.3332064151763916, 0.33368736505508423, 0.33416834473609924, 0.33464929461479187, 0.3351302742958069, 0.3356112241744995, 0.33609217405319214, 0.33657315373420715, 0.3370541036128998, 0.3375350832939148, 0.3380160331726074, 0.33849698305130005, 0.33897796273231506, 0.3394589126110077, 0.3399398922920227, 0.34042084217071533, 0.34090179204940796, 0.341382771730423, 0.3418637216091156, 0.3423447012901306, 0.34282565116882324, 0.34330660104751587, 0.3437875807285309, 0.3442685306072235, 0.3447495102882385, 0.34523046016693115, 0.3457114100456238, 0.3461923897266388, 0.3466733396053314, 0.34715431928634644, 0.34763526916503906, 0.3481162190437317, 0.3485971987247467, 0.34907814860343933, 0.34955912828445435, 0.350040078163147, 0.3505210280418396, 0.3510020077228546, 0.35148295760154724, 0.35196393728256226, 0.3524448871612549, 0.3529258370399475, 0.3534068167209625, 0.35388776659965515, 0.35436874628067017, 0.3548496961593628, 0.3553306758403778, 0.35581162571907043, 0.35629257559776306, 0.3567735552787781, 0.3572545051574707, 0.3577354848384857, 0.35821643471717834, 0.35869738459587097, 0.359178364276886, 0.3596593141555786, 0.36014029383659363, 0.36062124371528625, 0.3611021935939789, 0.3615831732749939, 0.3620641231536865, 0.36254510283470154, 0.36302605271339417, 0.3635070025920868, 0.3639879822731018, 0.36446893215179443, 0.36494991183280945, 0.3654308617115021, 0.3659118115901947, 0.3663927912712097, 0.36687374114990234, 0.36735472083091736, 0.36783567070961, 0.3683166205883026, 0.3687976002693176, 0.36927855014801025, 0.36975952982902527, 0.3702404797077179, 0.3707214295864105, 0.37120240926742554, 0.37168335914611816, 0.3721643388271332, 0.3726452887058258, 0.37312623858451843, 0.37360721826553345, 0.3740881681442261, 0.3745691478252411, 0.3750500977039337, 0.37553104758262634, 0.37601202726364136, 0.376492977142334, 0.376973956823349, 0.3774549067020416, 0.37793588638305664, 0.37841683626174927, 0.3788977861404419, 0.3793787658214569, 0.37985971570014954, 0.38034069538116455, 0.3808216452598572, 0.3813025951385498, 0.3817835748195648, 0.38226452469825745, 0.38274550437927246, 0.3832264542579651, 0.3837074041366577, 0.38418838381767273, 0.38466933369636536, 0.38515031337738037, 0.385631263256073, 0.3861122131347656, 0.38659319281578064, 0.38707414269447327, 0.3875551223754883, 0.3880360722541809, 0.38851702213287354, 0.38899800181388855, 0.3894789516925812, 0.3899599313735962, 0.3904408812522888, 0.39092183113098145, 0.39140281081199646, 0.3918837606906891, 0.3923647403717041, 0.39284569025039673, 0.39332664012908936, 0.39380761981010437, 0.394288569688797, 0.394769549369812, 0.39525049924850464, 0.39573144912719727, 0.3962124288082123, 0.3966933786869049, 0.3971743583679199, 0.39765530824661255, 0.3981362581253052, 0.3986172378063202, 0.3990981876850128, 0.39957916736602783, 0.40006011724472046, 0.4005410969257355, 0.4010220468044281, 0.4015029966831207, 0.40198397636413574, 0.40246492624282837, 0.4029459059238434, 0.403426855802536, 0.40390780568122864, 0.40438878536224365, 0.4048697352409363, 0.4053507149219513, 0.4058316648006439, 0.40631261467933655, 0.40679359436035156, 0.4072745442390442, 0.4077555239200592, 0.40823647379875183, 0.40871742367744446, 0.4091984033584595, 0.4096793532371521, 0.4101603329181671, 0.41064128279685974, 0.41112223267555237, 0.4116032123565674, 0.41208416223526, 0.412565141916275, 0.41304609179496765, 0.4135270416736603, 0.4140080213546753, 0.4144889712333679, 0.41496995091438293, 0.41545090079307556, 0.4159318506717682, 0.4164128303527832, 0.41689378023147583, 0.41737475991249084, 0.41785570979118347, 0.4183366596698761, 0.4188176393508911, 0.41929858922958374, 0.41977956891059875, 0.4202605187892914, 0.420741468667984, 0.421222448348999, 0.42170339822769165, 0.42218437790870667, 0.4226653277873993, 0.4231463074684143, 0.42362725734710693, 0.42410820722579956, 0.4245891869068146, 0.4250701367855072, 0.4255511164665222, 0.42603206634521484, 0.42651301622390747, 0.4269939959049225, 0.4274749457836151, 0.4279559254646301, 0.42843687534332275, 0.4289178252220154, 0.4293988049030304, 0.429879754781723, 0.43036073446273804, 0.43084168434143066, 0.4313226342201233, 0.4318036139011383, 0.43228456377983093, 0.43276554346084595, 0.4332464933395386, 0.4337274432182312, 0.4342084228992462, 0.43468937277793884, 0.43517035245895386, 0.4356513023376465, 0.4361322522163391, 0.4366132318973541, 0.43709418177604675, 0.43757516145706177, 0.4380561113357544, 0.438537061214447, 0.43901804089546204, 0.43949899077415466, 0.4399799704551697, 0.4404609203338623, 0.44094187021255493, 0.44142284989356995, 0.4419037997722626, 0.4423847794532776, 0.4428657293319702, 0.44334667921066284, 0.44382765889167786, 0.4443086087703705, 0.4447895884513855, 0.4452705383300781, 0.44575148820877075, 0.44623246788978577, 0.4467134177684784, 0.4471943974494934, 0.44767534732818604, 0.44815632700920105, 0.4486372768878937, 0.4491182267665863, 0.4495992064476013, 0.45008015632629395, 0.45056113600730896, 0.4510420858860016, 0.4515230357646942, 0.45200401544570923, 0.45248496532440186, 0.45296594500541687, 0.4534468948841095, 0.4539278447628021, 0.45440882444381714, 0.45488977432250977, 0.4553707540035248, 0.4558517038822174, 0.45633265376091003, 0.45681363344192505, 0.4572945833206177, 0.4577755630016327, 0.4582565128803253, 0.45873746275901794, 0.45921844244003296, 0.4596993923187256, 0.4601803719997406, 0.4606613218784332, 0.46114227175712585, 0.46162325143814087, 0.4621042013168335, 0.4625851809978485, 0.46306613087654114, 0.46354708075523376, 0.4640280604362488, 0.4645090103149414, 0.4649899899959564, 0.46547093987464905, 0.4659518897533417, 0.4664328694343567, 0.4669138193130493, 0.46739479899406433, 0.46787574887275696, 0.4683566987514496, 0.4688376784324646, 0.4693186283111572, 0.46979960799217224, 0.47028055787086487, 0.4707615375518799, 0.4712424874305725, 0.47172343730926514, 0.47220441699028015, 0.4726853668689728, 0.4731663465499878, 0.4736472964286804, 0.47412824630737305, 0.47460922598838806, 0.4750901758670807, 0.4755711555480957, 0.47605210542678833, 0.47653305530548096, 0.47701403498649597, 0.4774949848651886, 0.4779759645462036, 0.47845691442489624, 0.47893786430358887, 0.4794188439846039, 0.4798997938632965, 0.4803807735443115, 0.48086172342300415, 0.4813426733016968, 0.4818236529827118, 0.4823046028614044, 0.48278558254241943, 0.48326653242111206, 0.4837474822998047, 0.4842284619808197, 0.48470941185951233, 0.48519039154052734, 0.48567134141921997, 0.4861522912979126, 0.4866332709789276, 0.48711422085762024, 0.48759520053863525, 0.4880761504173279, 0.4885571002960205, 0.4890380799770355, 0.48951902985572815, 0.49000000953674316], "expected": [-1.0986123085021973, -1.0960488319396973, -1.0934885740280151, -1.0909316539764404, -1.0883779525756836, -1.0858274698257446, -1.0832802057266235, -1.0807361602783203, -1.078195333480835, -1.0756574869155884, -1.0731230974197388, -1.0705918073654175, -1.068063497543335, -1.0655382871627808, -1.0630161762237549, -1.0604972839355469, -1.0579814910888672, -1.0554686784744263, -1.0529589653015137, -1.0504521131515503, -1.0479484796524048, -1.0454479455947876, -1.04295015335083, -1.0404554605484009, -1.0379637479782104, -1.0354750156402588, -1.0329890251159668, -1.0305062532424927, -1.0280262231826782, -1.0255491733551025, -1.023074984550476, -1.0206036567687988, -1.0181353092193604, -1.0156697034835815, -1.013206958770752, -1.0107470750808716, -1.0082899332046509, -1.005835771560669, -1.0033842325210571, -1.0009355545043945, -0.9984896779060364, -0.9960463643074036, -0.9936060905456543, -0.9911683797836304, -0.9887334108352661, -0.9863011837005615, -0.9838714599609375, -0.981444776058197, -0.9790205955505371, -0.9765989780426025, -0.9741801619529724, -0.9717638492584229, -0.9693503379821777, -0.9669393301010132, -0.964530885219574, -0.9621252417564392, -0.9597218632698059, -0.9573213458061218, -0.9549233317375183, -0.9525277018547058, -0.950134813785553, -0.9477442502975464, -0.9453564882278442, -0.9429709911346436, -0.940588116645813, -0.938207745552063, -0.9358296990394592, -0.9334542751312256, -0.931081235408783, -0.9287105798721313, -0.9263424873352051, -0.923976719379425, -0.9216134548187256, -0.9192524552345276, -0.9168940186500549, -0.9145379662513733, -0.9121840596199036, -0.9098328351974487, -0.9074836373329163, -0.9051370024681091, -0.9027926921844482, -0.9004504680633545, -0.8981108665466309, -0.8957733511924744, -0.8934382796287537, -0.8911054134368896, -0.8887747526168823, -0.8864465951919556, -0.8841204047203064, -0.881796658039093, -0.8794751167297363, -0.877155601978302, -0.8748385906219482, -0.8725236058235168, -0.8702108860015869, -0.8679003715515137, -0.8655919432640076, -0.8632858395576477, -0.8609817028045654, -0.8586798906326294, -0.8563801646232605, -0.854082465171814, -0.8517870903015137, -0.8494936227798462, -0.8472024202346802, -0.8449133634567261, -0.8426260948181152, -0.840341329574585, -0.8380582332611084, -0.8357774615287781, -0.8334986567497253, -0.8312218189239502, -0.8289471864700317, -0.8266744017601013, -0.8244037628173828, -0.8221352100372314, -0.8198683857917786, -0.8176038861274719, -0.8153411149978638, -0.8130804300308228, -0.8108216524124146, -0.8085648417472839, -0.8063101172447205, -0.8040571212768555, -0.8018062710762024, -0.7995572090148926, -0.7973100543022156, -0.7950650453567505, -0.7928215861320496, -0.7905802726745605, -0.7883407473564148, -0.7861031293869019, -0.7838674783706665, -0.7816334366798401, -0.7794014811515808, -0.77717125415802, -0.7749428749084473, -0.7727164626121521, -0.7704917192459106, -0.768268883228302, -0.7660477757453918, -0.763828456401825, -0.7616111636161804, -0.7593953013420105, -0.7571814656257629, -0.7549692988395691, -0.7527589201927185, -0.750550389289856, -0.7483434081077576, -0.746138334274292, -0.7439349293708801, -0.741733193397522, -0.7395334243774414, -0.7373350262641907, -0.735138475894928, -0.7329436540603638, -0.7307504415512085, -0.7285590767860413, -0.7263692021369934, -0.7241811156272888, -0.7219945788383484, -0.7198097705841064, -0.7176267504692078, -0.7154451012611389, -0.7132651805877686, -0.7110869288444519, -0.7089101672172546, -0.7067353129386902, -0.7045617699623108, -0.7023899555206299, -0.7002196907997131, -0.6980509161949158, -0.6958838701248169, -0.6937183737754822, -0.6915544867515564, -0.6893919706344604, -0.6872310638427734, -0.6850717067718506, -0.6829140782356262, -0.6807578206062317, -0.6786031126976013, -0.6764498949050903, -0.674298107624054, -0.6721480488777161, -0.669999361038208, -0.6678521037101746, -0.6657063364982605, -0.6635621190071106, -0.6614193916320801, -0.659278154373169, -0.6571382880210876, -0.654999852180481, -0.6528627872467041, -0.6507273316383362, -0.6485933065414429, -0.6464606523513794, -0.6443293690681458, -0.6421995162963867, -0.6400710940361023, -0.637944221496582, -0.6358184814453125, -0.6336942315101624, -0.631571352481842, -0.6294499635696411, -0.6273298859596252, -0.6252111196517944, -0.6230936646461487, -0.6209776401519775, -0.618863046169281, -0.6167497634887695, -0.6146376729011536, -0.6125270128250122, -0.6104176044464111, -0.6083096265792847, -0.6062029600143433, -0.6040974855422974, -0.6019933223724365, -0.5998904705047607, -0.5977889895439148, -0.5956886410713196, -0.5935897827148438, -0.5914919972419739, -0.5893955230712891, -0.5873004198074341, -0.5852063298225403, -0.5831137895584106, -0.5810222625732422, -0.5789320468902588, -0.5768431425094604, -0.5747552514076233, -0.5726689100265503, -0.5705834627151489, -0.5684992671012878, -0.5664164423942566, -0.5643345713615417, -0.5622541308403015, -0.5601747632026672, -0.5580965876579285, -0.5560196042060852, -0.5539437532424927, -0.5518692135810852, -0.5497956275939941, -0.5477232336997986, -0.5456520915031433, -0.5435819029808044, -0.5415130853652954, -0.5394452810287476, -0.5373786091804504, -0.5353131294250488, -0.5332485437393188, -0.5311853885650635, -0.5291231274604797, -0.527061939239502, -0.5250019431114197, -0.5229429006576538, -0.5208851099014282, -0.5188283324241638, -0.5167726278305054, -0.5147179961204529, -0.5126643180847168, -0.5106119513511658, -0.5085604190826416, -0.5065100193023682, -0.5044606328010559, -0.5024121999740601, -0.5003650188446045, -0.498318612575531, -0.496273398399353, -0.49422916769981384, -0.4921858012676239, -0.490143746137619, -0.48810237646102905, -0.48606225848197937, -0.48402297496795654, -0.4819847047328949, -0.479947566986084, -0.477911114692688, -0.4758758246898651, -0.47384151816368103, -0.4718080759048462, -0.4697757363319397, -0.4677441716194153, -0.4657136797904968, -0.46368408203125, -0.46165528893470764, -0.45962777733802795, -0.4576008915901184, -0.45557498931884766, -0.4535501003265381, -0.451526015996933, -0.4495030343532562, -0.4474806785583496, -0.4454593360424042, -0.4434390068054199, -0.4414193332195282, -0.439400851726532, -0.43738293647766113, -0.43536612391471863, -0.4333500564098358, -0.43133485317230225, -0.42932069301605225, -0.4273070693016052, -0.4252946078777313, -0.4232828915119171, -0.4212718605995178, -0.41926196217536926, -0.41725265979766846, -0.41524434089660645, -0.4132367670536041, -0.4112299084663391, -0.40922409296035767, -0.40721890330314636, -0.4052145779132843, -0.4032110869884491, -0.40120837092399597, -0.3992065489292145, -0.3972053527832031, -0.3952050805091858, -0.3932054042816162, -0.3912065923213959, -0.38920873403549194, -0.3872113823890686, -0.3852149248123169, -0.3832192122936249, -0.3812241554260254, -0.3792301118373871, -0.3772364854812622, -0.37524378299713135, -0.3732517659664154, -0.37126049399375916, -0.36927008628845215, -0.36728009581565857, -0.365291029214859, -0.36330267786979675, -0.36131495237350464, -0.3593280613422394, -0.3573417365550995, -0.3553561866283417, -0.353371262550354, -0.35138705372810364, -0.3494037091732025, -0.3474207818508148, -0.3454386591911316, -0.3434571623802185, -0.34147632122039795, -0.33949628472328186, -0.3375166654586792, -0.3355378806591034, -0.33355966210365295, -0.33158212900161743, -0.3296053409576416, -0.3276289701461792, -0.32565343379974365, -0.3236783444881439, -0.3217039704322815, -0.31973040103912354, -0.31775715947151184, -0.31578466296195984, -0.3138127326965332, -0.3118413984775543, -0.3098706305027008, -0.30790066719055176, -0.3059311509132385, -0.30396220088005066, -0.30199381709098816, -0.300025999546051, -0.2980589270591736, -0.29609236121177673, -0.2941262722015381, -0.2921607792377472, -0.29019585251808167, -0.2882315516471863, -0.2862677276134491, -0.2843044698238373, -0.28234171867370605, -0.2803795039653778, -0.2784178853034973, -0.27645689249038696, -0.27449631690979004, -0.27253618836402893, -0.2705765962600708, -0.2686176598072052, -0.2666592001914978, -0.26470115780830383, -0.26274362206459045, -0.26078662276268005, -0.25883015990257263, -0.2568742036819458, -0.2549186646938324, -0.2529635727405548, -0.2510089874267578, -0.24905501306056976, -0.24710142612457275, -0.24514828622341156, -0.2431955337524414, -0.24124333262443542, -0.23929166793823242, -0.23734040558338165, -0.2353895604610443, -0.2334391176700592, -0.23148909211158752, -0.2295396327972412, -0.22759060561656952, -0.22564193606376648, -0.2236936092376709, -0.2217458188533783, -0.21979846060276031, -0.21785156428813934, -0.21590496599674225, -0.2139587551355362, -0.21201300621032715, -0.2100677192211151, -0.2081226259469986, -0.2061782330274582, -0.2042340189218521, -0.20229016244411469, -0.20034685730934143, -0.19840370118618011, -0.19646118581295013, -0.1945188194513321, -0.19257690012454987, -0.19063541293144226, -0.188694030046463, -0.18675337731838226, -0.18481284379959106, -0.18287262320518494, -0.180932879447937, -0.1789933145046234, -0.17705431580543518, -0.1751154363155365, -0.17317698895931244, -0.17123889923095703, -0.16930094361305237, -0.16736356914043427, -0.16542628407478333, -0.16348938643932343, -0.16155286133289337, -0.15961651504039764, -0.15768063068389893, -0.15574494004249573, -0.15380950272083282, -0.15187448263168335, -0.14993952214717865, -0.14800512790679932, -0.14607080817222595, -0.14413677155971527, -0.14220310747623444, -0.14026954770088196, -0.13833649456501007, -0.13640348613262177, -0.13447079062461853, -0.13253842294216156, -0.1306060552597046, -0.12867429852485657, -0.12674252688884735, -0.12481104582548141, -0.12287985533475876, -0.12094874680042267, -0.11901814490556717, -0.11708743870258331, -0.1151571124792099, -0.11322709918022156, -0.11129700392484665, -0.1093675047159195, -0.107437863945961, -0.10550857335329056, -0.1035795509815216, -0.10165048390626907, -0.09972190856933594, -0.09779322892427444, -0.0958649218082428, -0.09393678605556488, -0.09200863540172577, -0.09008099883794785, -0.0881531685590744, -0.086225725710392, -0.08429843187332153, -0.08237109333276749, -0.08044422417879105, -0.07851719856262207, -0.07659053057432175, -0.07466397434473038, -0.07273740321397781, -0.0708112046122551, -0.06888487935066223, -0.06695888191461563, -0.0650329664349556, -0.06310699880123138, -0.061181508004665375, -0.05925579369068146, -0.057330306619405746, -0.05540499463677406, -0.05347960814833641, -0.0515545979142189, -0.04962940141558647, -0.04770446568727493, -0.04577960819005966, -0.04385465011000633, -0.041930098086595535, -0.04000527039170265]} \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py new file mode 100644 index 000000000000..26cd5d0f1412 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py @@ -0,0 +1,80 @@ +#!/usr/bin/env python +# +# @license Apache-2.0 +# +# Copyright (c) 2018 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.special import logit + +# Get the file path: +FILE = os.path.realpath(__file__) + +# Extract the directory in which this file resides: +DIR = os.path.dirname(FILE) + + +def gen(x, name): + """Generate fixture data and writes them to file. + + # Arguments + + * `x`: domain + * `name::str`: output filename + + # Examples + + ``` python + python> x = linspace(0.0, 1.0, 2001).astype(np.float32) + python> gen(x, './data.json') + ``` + """ + y = logit(x).astype(np.float32) + + # Store data to be written to file as a dictionary: + data = { + "x": x.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.""" + x = np.linspace(0.0001, 0.25, 500).astype(np.float32) + gen(x, "small.json") + + x = np.linspace(0.25, 0.49, 500).astype(np.float32) + gen(x, "medium_below.json") + + x = np.linspace(0.5, 0.75, 500).astype(np.float32) + gen(x, "medium_above.json") + + x = np.linspace(0.75, 0.9999, 500).astype(np.float32) + gen(x, "large.json") + + +if __name__ == "__main__": + main() diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json new file mode 100644 index 000000000000..8fefbedac900 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json @@ -0,0 +1 @@ +{"x": [9.999999747378752e-05, 0.0006008016061969101, 0.0011016031494364142, 0.001602404867298901, 0.002103206468746066, 0.0026040079537779093, 0.003104809671640396, 0.0036056111566722393, 0.0041064126417040825, 0.004607214592397213, 0.005108016077429056, 0.005608817562460899, 0.0061096190474927425, 0.006610420998185873, 0.007111222483217716, 0.007612023968249559, 0.008112825453281403, 0.008613627403974533, 0.009114428423345089, 0.00961523037403822, 0.01011603232473135, 0.010616833344101906, 0.011117635294795036, 0.011618437245488167, 0.012119238264858723, 0.012620040215551853, 0.013120841234922409, 0.01362164318561554, 0.01412244513630867, 0.014623246155679226, 0.015124048106372356, 0.015624850057065487, 0.016125651076436043, 0.016626453027129173, 0.017127254977822304, 0.017628056928515434, 0.018128857016563416, 0.018629658967256546, 0.019130460917949677, 0.019631262868642807, 0.020132064819335938, 0.02063286490738392, 0.02113366685807705, 0.02163446880877018, 0.02213527075946331, 0.02263607271015644, 0.02313687466084957, 0.023637674748897552, 0.024138476699590683, 0.024639278650283813, 0.025140080600976944, 0.025640882551670074, 0.026141682639718056, 0.026642484590411186, 0.027143286541104317, 0.027644088491797447, 0.028144890442490578, 0.02864569053053856, 0.02914649248123169, 0.02964729443192482, 0.03014809638261795, 0.03064889833331108, 0.03114970028400421, 0.03165050223469734, 0.03215130418539047, 0.032652102410793304, 0.033152904361486435, 0.033653706312179565, 0.034154508262872696, 0.034655310213565826, 0.03515611216425896, 0.03565691411495209, 0.03615771606564522, 0.03665851801633835, 0.03715931996703148, 0.03766012191772461, 0.03816092014312744, 0.03866172209382057, 0.0391625240445137, 0.03966332599520683, 0.04016412794589996, 0.040664929896593094, 0.041165731847286224, 0.041666533797979355, 0.042167335748672485, 0.042668137699365616, 0.043168939650058746, 0.04366973787546158, 0.04417053982615471, 0.04467134177684784, 0.04517214372754097, 0.0456729456782341, 0.04617374762892723, 0.04667454957962036, 0.04717535153031349, 0.04767615348100662, 0.04817695543169975, 0.048677753657102585, 0.049178555607795715, 0.049679357558488846, 0.050180159509181976, 0.05068096145987511, 0.05118176341056824, 0.05168256536126137, 0.0521833673119545, 0.05268416926264763, 0.05318497121334076, 0.05368577316403389, 0.05418657138943672, 0.05468737334012985, 0.05518817529082298, 0.05568897724151611, 0.056189779192209244, 0.056690581142902374, 0.057191383093595505, 0.057692185044288635, 0.058192986994981766, 0.058693788945674896, 0.05919459089636803, 0.05969538912177086, 0.06019619107246399, 0.06069699302315712, 0.06119779497385025, 0.06169859692454338, 0.06219939887523651, 0.06270019710063934, 0.06320100277662277, 0.0637018010020256, 0.06420260667800903, 0.06470340490341187, 0.0652042105793953, 0.06570500880479813, 0.06620581448078156, 0.06670661270618439, 0.06720741838216782, 0.06770821660757065, 0.06820901483297348, 0.06870982050895691, 0.06921061873435974, 0.06971142441034317, 0.070212222635746, 0.07071302831172943, 0.07121382653713226, 0.07171463221311569, 0.07221543043851852, 0.07271623611450195, 0.07321703433990479, 0.07371783256530762, 0.07421863824129105, 0.07471943646669388, 0.07522024214267731, 0.07572104036808014, 0.07622184604406357, 0.0767226442694664, 0.07722344994544983, 0.07772424817085266, 0.0782250463962555, 0.07872585207223892, 0.07922665029764175, 0.07972745597362518, 0.08022825419902802, 0.08072905987501144, 0.08122985810041428, 0.0817306637763977, 0.08223146200180054, 0.08273226767778397, 0.0832330659031868, 0.08373386412858963, 0.08423466980457306, 0.08473546802997589, 0.08523627370595932, 0.08573707193136215, 0.08623787760734558, 0.08673867583274841, 0.08723948150873184, 0.08774027973413467, 0.0882410854101181, 0.08874188363552094, 0.08924268186092377, 0.0897434875369072, 0.09024428576231003, 0.09074509143829346, 0.09124588966369629, 0.09174669533967972, 0.09224749356508255, 0.09274829924106598, 0.09324909746646881, 0.09374990314245224, 0.09425070136785507, 0.0947514995932579, 0.09525230526924133, 0.09575310349464417, 0.0962539091706276, 0.09675470739603043, 0.09725551307201385, 0.09775631129741669, 0.09825711697340012, 0.09875791519880295, 0.09925872087478638, 0.09975951910018921, 0.10026031732559204, 0.10076112300157547, 0.1012619212269783, 0.10176272690296173, 0.10226352512836456, 0.10276433080434799, 0.10326512902975082, 0.10376593470573425, 0.10426673293113708, 0.10476753860712051, 0.10526833683252335, 0.10576913505792618, 0.1062699407339096, 0.10677073895931244, 0.10727154463529587, 0.1077723428606987, 0.10827314853668213, 0.10877394676208496, 0.10927475243806839, 0.10977555066347122, 0.11027635633945465, 0.11077715456485748, 0.11127795279026031, 0.11177875846624374, 0.11227955669164658, 0.11278036236763, 0.11328116059303284, 0.11378196626901627, 0.1142827644944191, 0.11478357017040253, 0.11528436839580536, 0.11578516662120819, 0.11628597229719162, 0.11678677052259445, 0.11728757619857788, 0.11778837442398071, 0.11828918009996414, 0.11878997832536697, 0.1192907840013504, 0.11979158222675323, 0.12029238790273666, 0.1207931861281395, 0.12129398435354233, 0.12179479002952576, 0.12229558825492859, 0.12279639393091202, 0.12329719215631485, 0.12379799783229828, 0.12429879605770111, 0.12479960173368454, 0.12530040740966797, 0.1258012056350708, 0.12630200386047363, 0.12680280208587646, 0.1273036003112793, 0.12780441343784332, 0.12830521166324615, 0.128806009888649, 0.12930680811405182, 0.12980762124061584, 0.13030841946601868, 0.1308092176914215, 0.13131001591682434, 0.13181082904338837, 0.1323116272687912, 0.13281242549419403, 0.13331322371959686, 0.1338140219449997, 0.13431483507156372, 0.13481563329696655, 0.13531643152236938, 0.13581722974777222, 0.13631804287433624, 0.13681884109973907, 0.1373196393251419, 0.13782043755054474, 0.13832123577594757, 0.1388220489025116, 0.13932284712791443, 0.13982364535331726, 0.1403244435787201, 0.14082525670528412, 0.14132605493068695, 0.14182685315608978, 0.14232765138149261, 0.14282844960689545, 0.14332926273345947, 0.1438300609588623, 0.14433085918426514, 0.14483165740966797, 0.145332470536232, 0.14583326876163483, 0.14633406698703766, 0.1468348652124405, 0.14733567833900452, 0.14783647656440735, 0.14833727478981018, 0.148838073015213, 0.14933887124061584, 0.14983968436717987, 0.1503404825925827, 0.15084128081798553, 0.15134207904338837, 0.1518428921699524, 0.15234369039535522, 0.15284448862075806, 0.1533452868461609, 0.15384608507156372, 0.15434689819812775, 0.15484769642353058, 0.1553484946489334, 0.15584929287433624, 0.15635010600090027, 0.1568509042263031, 0.15735170245170593, 0.15785250067710876, 0.1583533138036728, 0.15885411202907562, 0.15935491025447845, 0.1598557084798813, 0.16035650670528412, 0.16085731983184814, 0.16135811805725098, 0.1618589162826538, 0.16235971450805664, 0.16286052763462067, 0.1633613258600235, 0.16386212408542633, 0.16436292231082916, 0.164863720536232, 0.16536453366279602, 0.16586533188819885, 0.16636613011360168, 0.16686692833900452, 0.16736774146556854, 0.16786853969097137, 0.1683693379163742, 0.16887013614177704, 0.16937094926834106, 0.1698717474937439, 0.17037254571914673, 0.17087334394454956, 0.1713741421699524, 0.17187495529651642, 0.17237575352191925, 0.17287655174732208, 0.17337734997272491, 0.17387816309928894, 0.17437896132469177, 0.1748797595500946, 0.17538055777549744, 0.17588135600090027, 0.1763821691274643, 0.17688296735286713, 0.17738376557826996, 0.1778845638036728, 0.17838537693023682, 0.17888617515563965, 0.17938697338104248, 0.1798877716064453, 0.18038856983184814, 0.18088938295841217, 0.181390181183815, 0.18189097940921783, 0.18239177763462067, 0.1828925907611847, 0.18339338898658752, 0.18389418721199036, 0.1843949854373932, 0.18489579856395721, 0.18539659678936005, 0.18589739501476288, 0.1863981932401657, 0.18689899146556854, 0.18739980459213257, 0.1879006028175354, 0.18840140104293823, 0.18890219926834106, 0.1894030123949051, 0.18990381062030792, 0.19040460884571075, 0.1909054070711136, 0.19140620529651642, 0.19190701842308044, 0.19240781664848328, 0.1929086148738861, 0.19340941309928894, 0.19391022622585297, 0.1944110244512558, 0.19491182267665863, 0.19541262090206146, 0.1959134340286255, 0.19641423225402832, 0.19691503047943115, 0.19741582870483398, 0.19791662693023682, 0.19841744005680084, 0.19891823828220367, 0.1994190365076065, 0.19991983473300934, 0.20042064785957336, 0.2009214460849762, 0.20142224431037903, 0.20192304253578186, 0.2024238407611847, 0.20292465388774872, 0.20342545211315155, 0.20392625033855438, 0.20442704856395721, 0.20492786169052124, 0.20542865991592407, 0.2059294581413269, 0.20643025636672974, 0.20693106949329376, 0.2074318677186966, 0.20793266594409943, 0.20843346416950226, 0.2089342623949051, 0.20943507552146912, 0.20993587374687195, 0.21043667197227478, 0.2109374701976776, 0.21143828332424164, 0.21193908154964447, 0.2124398797750473, 0.21294067800045013, 0.21344147622585297, 0.213942289352417, 0.21444308757781982, 0.21494388580322266, 0.2154446840286255, 0.21594549715518951, 0.21644629538059235, 0.21694709360599518, 0.217447891831398, 0.21794869005680084, 0.21844950318336487, 0.2189503014087677, 0.21945109963417053, 0.21995189785957336, 0.2204527109861374, 0.22095350921154022, 0.22145430743694305, 0.2219551056623459, 0.2224559187889099, 0.22295671701431274, 0.22345751523971558, 0.2239583134651184, 0.22445911169052124, 0.22495992481708527, 0.2254607230424881, 0.22596152126789093, 0.22646231949329376, 0.2269631326198578, 0.22746393084526062, 0.22796472907066345, 0.22846552729606628, 0.22896632552146912, 0.22946713864803314, 0.22996793687343597, 0.2304687350988388, 0.23096953332424164, 0.23147034645080566, 0.2319711446762085, 0.23247194290161133, 0.23297274112701416, 0.23347355425357819, 0.23397435247898102, 0.23447515070438385, 0.23497594892978668, 0.23547674715518951, 0.23597756028175354, 0.23647835850715637, 0.2369791567325592, 0.23747995495796204, 0.23798076808452606, 0.2384815663099289, 0.23898236453533173, 0.23948316276073456, 0.2399839609861374, 0.24048477411270142, 0.24098557233810425, 0.24148637056350708, 0.2419871687889099, 0.24248798191547394, 0.24298878014087677, 0.2434895783662796, 0.24399037659168243, 0.24449118971824646, 0.2449919879436493, 0.24549278616905212, 0.24599358439445496, 0.2464943826198578, 0.24699519574642181, 0.24749599397182465, 0.24799679219722748, 0.2484975904226303, 0.24899840354919434, 0.24949920177459717, 0.25], "expected": [-9.210240364074707, -7.41664457321167, -6.809886455535889, -6.434646129608154, -6.162186622619629, -5.94809627532959, -5.771693229675293, -5.621652126312256, -5.491090774536133, -5.375514030456543, -5.271822929382324, -5.177790641784668, -5.091762542724609, -5.012475490570068, -4.938944339752197, -4.87038516998291, -4.806163311004639, -4.745759010314941, -4.688740253448486, -4.634745121002197, -4.583466053009033, -4.534640789031982, -4.488042831420898, -4.443475723266602, -4.400767803192139, -4.359768867492676, -4.320345878601074, -4.282380104064941, -4.245766639709473, -4.210411548614502, -4.176229476928711, -4.143144607543945, -4.111086845397949, -4.079994201660156, -4.049808502197266, -4.020478248596191, -3.991955041885376, -3.9641950130462646, -3.93715763092041, -3.9108054637908936, -3.885103940963745, -3.8600213527679443, -3.8355276584625244, -3.8115954399108887, -3.7881991863250732, -3.7653143405914307, -3.7429189682006836, -3.720991849899292, -3.6995136737823486, -3.6784656047821045, -3.657830238342285, -3.63759183883667, -3.617734670639038, -3.5982444286346436, -3.5791070461273193, -3.560309886932373, -3.5418407917022705, -3.523688316345215, -3.505841016769409, -3.488288640975952, -3.4710216522216797, -3.4540300369262695, -3.437305450439453, -3.4208390712738037, -3.404622793197632, -3.3886489868164062, -3.3729100227355957, -3.3573989868164062, -3.342109203338623, -3.3270342350006104, -3.3121678829193115, -3.29750394821167, -3.2830371856689453, -3.2687621116638184, -3.2546732425689697, -3.2407658100128174, -3.2270352840423584, -3.2134764194488525, -3.200084924697876, -3.186856985092163, -3.173788070678711, -3.160874366760254, -3.1481120586395264, -3.135497570037842, -3.1230273246765137, -3.1106977462768555, -3.0985054969787598, -3.0864479541778564, -3.074521541595459, -3.062723159790039, -3.0510504245758057, -3.0395002365112305, -3.0280702114105225, -3.0167572498321533, -3.0055594444274902, -2.994473934173584, -2.9834983348846436, -2.972630739212036, -2.9618687629699707, -2.9512100219726562, -2.94065260887146, -2.930194616317749, -2.9198338985443115, -2.9095687866210938, -2.899397134780884, -2.889317512512207, -2.8793277740478516, -2.869426727294922, -2.859612226486206, -2.8498828411102295, -2.8402371406555176, -2.8306734561920166, -2.821190118789673, -2.81178617477417, -2.802460193634033, -2.79321026802063, -2.7840354442596436, -2.7749345302581787, -2.7659060955047607, -2.7569491863250732, -2.7480621337890625, -2.739243984222412, -2.7304935455322266, -2.7218101024627686, -2.7131919860839844, -2.704638719558716, -2.696148633956909, -2.6877212524414062, -2.6793551445007324, -2.6710498332977295, -2.662804126739502, -2.6546170711517334, -2.6464877128601074, -2.638415575027466, -2.630399227142334, -2.622438430786133, -2.6145317554473877, -2.6066787242889404, -2.5988786220550537, -2.591130495071411, -2.5834338665008545, -2.5757877826690674, -2.5681915283203125, -2.5606443881988525, -2.5531458854675293, -2.5456948280334473, -2.5382914543151855, -2.5309340953826904, -2.523622751235962, -2.5163567066192627, -2.5091352462768555, -2.501957893371582, -2.494823932647705, -2.4877328872680664, -2.4806840419769287, -2.473676919937134, -2.4667112827301025, -2.4597859382629395, -2.4529011249542236, -2.4460558891296387, -2.4392497539520264, -2.4324822425842285, -2.425753116607666, -2.4190614223480225, -2.412407159805298, -2.405789613723755, -2.3992085456848145, -2.3926634788513184, -2.38615345954895, -2.379678964614868, -2.3732388019561768, -2.366832971572876, -2.3604607582092285, -2.3541221618652344, -2.3478164672851562, -2.341543674468994, -2.3353028297424316, -2.329094171524048, -2.3229169845581055, -2.3167710304260254, -2.3106558322906494, -2.3045711517333984, -2.2985167503356934, -2.292491912841797, -2.286496639251709, -2.2805304527282715, -2.2745933532714844, -2.2686846256256104, -2.2628042697906494, -2.2569518089294434, -2.251127004623413, -2.2453293800354004, -2.239558696746826, -2.2338151931762695, -2.228097915649414, -2.2224068641662598, -2.2167418003082275, -2.211102247238159, -2.2054882049560547, -2.199899435043335, -2.194335460662842, -2.188796043395996, -2.183281183242798, -2.177790403366089, -2.17232346534729, -2.1668803691864014, -2.1614606380462646, -2.1560637950897217, -2.1506903171539307, -2.1453394889831543, -2.1400110721588135, -2.1347053050994873, -2.1294212341308594, -2.124159336090088, -2.1189188957214355, -2.1137001514434814, -2.1085026264190674, -2.1033263206481934, -2.098170757293701, -2.093035936355591, -2.087921380996704, -2.08282732963562, -2.0777533054351807, -2.0726993083953857, -2.0676651000976562, -2.062650442123413, -2.057655096054077, -2.0526790618896484, -2.0477218627929688, -2.042783737182617, -2.0378644466400146, -2.032963514328003, -2.028080940246582, -2.023216962814331, -2.0183706283569336, -2.013542413711548, -2.0087318420410156, -2.003938913345337, -1.9991635084152222, -1.9944052696228027, -1.9896643161773682, -1.9849402904510498, -1.9802331924438477, -1.975542664527893, -1.9708689451217651, -1.9662114381790161, -1.961570382118225, -1.9569454193115234, -1.9523365497589111, -1.9477436542510986, -1.9431663751602173, -1.9386048316955566, -1.9340589046478271, -1.9295282363891602, -1.9250129461288452, -1.9205126762390137, -1.9160274267196655, -1.9115571975708008, -1.9071017503738403, -1.902660846710205, -1.8982346057891846, -1.8938227891921997, -1.889425277709961, -1.8850418329238892, -1.8806726932525635, -1.8763175010681152, -1.8719762563705444, -1.867648720741272, -1.8633347749710083, -1.859034538269043, -1.8547476530075073, -1.850474238395691, -1.846213936805725, -1.8419668674468994, -1.8377329111099243, -1.8335119485855103, -1.8293037414550781, -1.825108289718628, -1.8209255933761597, -1.8167554140090942, -1.8125978708267212, -1.8084524869918823, -1.8043195009231567, -1.8001989126205444, -1.7960902452468872, -1.7919938564300537, -1.7879091501235962, -1.7838363647460938, -1.7797755002975464, -1.775726318359375, -1.7716885805130005, -1.7676624059677124, -1.7636477947235107, -1.7596445083618164, -1.7556524276733398, -1.7516716718673706, -1.7477020025253296, -1.7437434196472168, -1.7397958040237427, -1.7358589172363281, -1.7319331169128418, -1.7280179262161255, -1.7241134643554688, -1.7202194929122925, -1.7163361310958862, -1.7124632596969604, -1.7086007595062256, -1.7047486305236816, -1.7009066343307495, -1.6970747709274292, -1.6932531595230103, -1.6894415616989136, -1.6856398582458496, -1.6818480491638184, -1.6780661344528198, -1.674294114112854, -1.6705316305160522, -1.6667789220809937, -1.6630357503890991, -1.659301996231079, -1.6555778980255127, -1.6518629789352417, -1.6481575965881348, -1.6444613933563232, -1.6407743692398071, -1.6370965242385864, -1.6334278583526611, -1.6297681331634521, -1.626117467880249, -1.6224757432937622, -1.6188427209854126, -1.6152187585830688, -1.6116033792495728, -1.6079967021942139, -1.6043986082077026, -1.6008092164993286, -1.5972284078598022, -1.593656063079834, -1.5900920629501343, -1.5865365266799927, -1.58298921585083, -1.5794503688812256, -1.5759196281433105, -1.572396993637085, -1.5688825845718384, -1.5653762817382812, -1.5618778467178345, -1.5583873987197876, -1.5549050569534302, -1.5514304637908936, -1.5479637384414673, -1.5445047616958618, -1.5410535335540771, -1.5376100540161133, -1.5341742038726807, -1.5307459831237793, -1.5273252725601196, -1.523911952972412, -1.5205062627792358, -1.5171079635620117, -1.5137170553207397, -1.5103334188461304, -1.5069571733474731, -1.503588080406189, -1.500226378440857, -1.4968715906143188, -1.4935239553451538, -1.4901835918426514, -1.4868500232696533, -1.4835234880447388, -1.4802039861679077, -1.4768915176391602, -1.473585844039917, -1.4702869653701782, -1.4669948816299438, -1.4637095928192139, -1.4604310989379883, -1.4571592807769775, -1.453894019126892, -1.450635313987732, -1.4473832845687866, -1.4441378116607666, -1.4408987760543823, -1.4376660585403442, -1.434440016746521, -1.431220293045044, -1.428006887435913, -1.4247997999191284, -1.42159903049469, -1.4184045791625977, -1.4152162075042725, -1.412034034729004, -1.408858060836792, -1.4056881666183472, -1.402524471282959, -1.3993667364120483, -1.3962148427963257, -1.3930691480636597, -1.3899294137954712, -1.3867955207824707, -1.3836674690246582, -1.3805452585220337, -1.3774290084838867, -1.3743184804916382, -1.371213674545288, -1.3681144714355469, -1.3650211095809937, -1.3619333505630493, -1.3588513135910034, -1.3557748794555664, -1.3527039289474487, -1.34963858127594, -1.34657883644104, -1.34352445602417, -1.3404755592346191, -1.3374321460723877, -1.334394097328186, -1.3313614130020142, -1.3283339738845825, -1.3253120183944702, -1.3222953081130981, -1.3192838430404663, -1.3162775039672852, -1.3132765293121338, -1.310280680656433, -1.307289958000183, -1.3043043613433838, -1.3013238906860352, -1.2983485460281372, -1.2953782081604004, -1.2924128770828247, -1.2894525527954102, -1.2864971160888672, -1.283546805381775, -1.2806012630462646, -1.2776607275009155, -1.2747249603271484, -1.271794080734253, -1.2688679695129395, -1.2659467458724976, -1.2630301713943481, -1.2601183652877808, -1.257211446762085, -1.254309058189392, -1.2514114379882812, -1.2485183477401733, -1.2456300258636475, -1.2427462339401245, -1.2398672103881836, -1.2369924783706665, -1.234122395515442, -1.2312568426132202, -1.2283958196640015, -1.2255390882492065, -1.222687005996704, -1.2198392152786255, -1.2169959545135498, -1.214156985282898, -1.2113224267959595, -1.2084922790527344, -1.205666422843933, -1.2028447389602661, -1.200027346611023, -1.1972143650054932, -1.1944055557250977, -1.1916009187698364, -1.1888004541397095, -1.1860041618347168, -1.183212161064148, -1.1804242134094238, -1.1776403188705444, -1.1748604774475098, -1.1720848083496094, -1.1693131923675537, -1.1665456295013428, -1.1637818813323975, -1.161022424697876, -1.1582667827606201, -1.155515193939209, -1.1527674198150635, -1.1500235795974731, -1.1472837924957275, -1.144547700881958, -1.1418156623840332, -1.1390873193740845, -1.136362910270691, -1.1336421966552734, -1.1309252977371216, -1.1282120943069458, -1.1255028247833252, -1.1227972507476807, -1.1200953722000122, -1.1173971891403198, -1.1147027015686035, -1.1120119094848633, -1.1093248128890991, -1.106641173362732, -1.1039612293243408, -1.1012849807739258, -1.0986123085021973]} \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js new file mode 100644 index 000000000000..17e7e8281393 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -0,0 +1,164 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2018 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var absf = require( '@stdlib/math/base/special/absf' ); +var logitf = require( './../lib' ); + + +// FIXTURES // + +var small = require( './fixtures/python/small.json' ); +var mediumBelow = require( './fixtures/python/medium_below.json' ); +var mediumAbove = require( './fixtures/python/medium_above.json' ); +var large = require( './fixtures/python/large.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof logitf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns `NaN` when provided `NaN`', function test( t ) { + var y = logitf( NaN ); + t.equal( isnan( y ), true, 'returns NaN' ); + t.end(); +}); + +tape( 'the function returns `NaN` when provided a number outside `[0,1]`', function test( t ) { + var y = logitf( 1.2 ); + t.equal( isnan( y ), true, 'returns NaN' ); + y = logitf( -0.1 ); + t.equal( isnan( y ), true, 'returns NaN' ); + t.end(); +}); + +tape( 'the function returns `-Infinity` when provided `0`', function test( t ) { + var y = logitf( 0.0 ); + t.equal( y, NINF, 'returns -Infinity' ); + t.end(); +}); + +tape( 'the function returns `+Infinity` when provided `1`', function test( t ) { + var y = logitf( 1.0 ); + t.equal( y, PINF, 'returns +Infinity' ); + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = small.expected; + x = small.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = mediumBelow.expected; + x = mediumBelow.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * 15 * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = mediumAbove.expected; + x = mediumAbove.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * 15 * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = large.expected; + x = large.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js new file mode 100644 index 000000000000..a501f814b1f0 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -0,0 +1,173 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2022 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 isnan = require( '@stdlib/math/base/assert/is-nan' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var absf = require( '@stdlib/math/base/special/absf' ); +var tryRequire = require( '@stdlib/utils/try-require' ); + + +// FIXTURES // + +var small = require( './fixtures/python/small.json' ); +var mediumBelow = require( './fixtures/python/medium_below.json' ); +var mediumAbove = require( './fixtures/python/medium_above.json' ); +var large = require( './fixtures/python/large.json' ); + + +// VARIABLES // + +var logitf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( logitf instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof logitf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function returns `NaN` when provided `NaN`', function test( t ) { + var y = logitf( NaN ); + t.equal( isnan( y ), true, 'returns NaN' ); + t.end(); +}); + +tape( 'the function returns `NaN` when provided a number outside `[0,1]`', function test( t ) { + var y = logitf( 1.2 ); + t.equal( isnan( y ), true, 'returns NaN' ); + y = logitf( -0.1 ); + t.equal( isnan( y ), true, 'returns NaN' ); + t.end(); +}); + +tape( 'the function returns `-Infinity` when provided `0`', function test( t ) { + var y = logitf( 0.0 ); + t.equal( y, NINF, 'returns -Infinity' ); + t.end(); +}); + +tape( 'the function returns `+Infinity` when provided `1`', function test( t ) { + var y = logitf( 1.0 ); + t.equal( y, PINF, 'returns +Infinity' ); + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = small.expected; + x = small.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = mediumBelow.expected; + x = mediumBelow.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * 15 * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = mediumAbove.expected; + x = mediumAbove.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * 15 * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = large.expected; + x = large.x; + for ( i = 0; i < x.length; i++ ) { + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); From 92cc9c6cff531171c4887364969077d09655e159 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sat, 7 Dec 2024 19:32:04 +0000 Subject: [PATCH 02/18] chore: update copyright years --- lib/node_modules/@stdlib/math/base/special/logitf/README.md | 2 +- .../@stdlib/math/base/special/logitf/benchmark/benchmark.js | 2 +- .../math/base/special/logitf/benchmark/benchmark.native.js | 2 +- .../@stdlib/math/base/special/logitf/benchmark/c/Makefile | 2 +- .../@stdlib/math/base/special/logitf/benchmark/c/benchmark.c | 2 +- .../math/base/special/logitf/benchmark/c/native/Makefile | 2 +- .../math/base/special/logitf/benchmark/c/native/benchmark.c | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp | 2 +- .../@stdlib/math/base/special/logitf/docs/types/index.d.ts | 2 +- .../@stdlib/math/base/special/logitf/docs/types/test.ts | 2 +- .../@stdlib/math/base/special/logitf/examples/c/Makefile | 2 +- .../@stdlib/math/base/special/logitf/examples/c/example.c | 2 +- .../@stdlib/math/base/special/logitf/examples/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/include.gypi | 2 +- .../special/logitf/include/stdlib/math/base/special/logitf.h | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/src/main.c | 2 +- .../math/base/special/logitf/test/fixtures/python/runner.py | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/test/test.js | 2 +- .../@stdlib/math/base/special/logitf/test/test.native.js | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index f7a472b48947..7b4aa7294e42 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -2,7 +2,7 @@ @license Apache-2.0 -Copyright (c) 2022 The Stdlib Authors. +Copyright (c) 2024 The Stdlib Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js index 10b46477f289..bec560d57cd4 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js index cd9b3067e717..64a6ce659356 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile index e64c0050f3da..e85bfcccdd04 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2018 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c index ca8ba4abc453..3672cf13f1a7 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile index d6b58c7f5d3e..f69e9da2b4d3 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2022 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c index a350286d5e2a..456ff423683f 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp index 1058b57bab16..ec3992233442 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp +++ b/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp @@ -1,6 +1,6 @@ # @license Apache-2.0 # -# Copyright (c) 2022 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts index 131234d147e2..abc45c87c690 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2019 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts index 0bedb0974a58..e372cc2717d8 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2019 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile index 91d364d19fc3..6aed70daf167 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2022 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c index 52f0728384ff..81e696ff098d 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js index 0a2b2a4f7b2f..07c430f90e00 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi b/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi index 3b437d524797..575cb043c0bf 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi @@ -1,6 +1,6 @@ # @license Apache-2.0 # -# Copyright (c) 2022 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h index f002accb9de2..7c59b94f2873 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js index d94d0e76d3cd..8a1bca217fd0 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js index 0c684a5d0ea9..aefbd4f0a835 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js index 29cdd779e383..c4ad93f8bb75 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile index f79b87238713..bcf18aa46655 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2022 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c index 4b0fe367a447..d547aeec8a50 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index 9ca2bc3a7525..f2eb949630c6 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py index 26cd5d0f1412..da4f5a7896d2 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py @@ -2,7 +2,7 @@ # # @license Apache-2.0 # -# Copyright (c) 2018 The Stdlib Authors. +# Copyright (c) 2024 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index 17e7e8281393..1d10ff3bcd0f 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index a501f814b1f0..213e420d9624 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2024 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From 501ef9887e601538113c6c98848a96a093d969fc Mon Sep 17 00:00:00 2001 From: vivek maurya Date: Sat, 18 Jan 2025 14:16:22 +0000 Subject: [PATCH 03/18] add math/base/special/logitf --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: passed - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: passed - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: passed - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: passed --- --- .../math/base/special/logitf/README.md | 15 ++++++---- .../special/logitf/benchmark/benchmark.js | 20 +++++++++---- .../logitf/benchmark/benchmark.native.js | 20 +++++++++---- .../logitf/benchmark/c/native/benchmark.c | 7 ++++- .../base/special/logitf/examples/index.js | 11 ++++--- .../math/base/special/logitf/lib/main.js | 8 ++--- .../math/base/special/logitf/manifest.json | 12 ++++---- .../math/base/special/logitf/src/main.c | 8 ++--- .../math/base/special/logitf/test/test.js | 12 ++++---- .../base/special/logitf/test/test.native.js | 30 +++++++++---------- 10 files changed, 85 insertions(+), 58 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index 7b4aa7294e42..1a6d8e99e031 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -39,7 +39,7 @@ The [logit][logit] function is defined as the logarithm of the odds `p / (1-p)`; -The [logit][logit] function is the inverse of the [standard logistic][standard-logistic] function, sometimes also called the sigmoid function. +The [logit][logit] function is the inverse of the [standard logistic][standard-logistic] function, sometimes also called the sigmoid function. @@ -86,15 +86,18 @@ v = logitf( -0.2 ); ```javascript -var randu = require( '@stdlib/random/base/randu' ); +var uniform = require( '@stdlib/random/array/uniform' ); var logitf = require( '@stdlib/math/base/special/logitf' ); -var p; +var len = 100; +var opts = { + 'dtype': 'float32' +}; +var p = uniform( len, 0, 1, opts ); var i; for ( i = 0; i < 100; i++ ) { - p = randu(); - console.log( 'logitf(%d) = %f', p, logitf( p ) ); + console.log( 'logitf(%f) = %f', p[ i ], logitf( p[ i ] ) ); } ``` @@ -145,7 +148,7 @@ The function accepts the following arguments: - **p**: `[in] float` input value. ```c -float stdlib_base_logitf( const float p ); +float stdlib_base_logitf( const float p ); ``` diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js index bec560d57cd4..f5aa0d9fd2b8 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -21,8 +21,8 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var randu = require( '@stdlib/random/base/randu' ); -var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var pkg = require( './../package.json' ).name; var logitf = require( './../lib' ); @@ -30,20 +30,28 @@ var logitf = require( './../lib' ); // MAIN // bench( pkg, function benchmark( b ) { + var opts; + var len; var x; var y; var i; + opts = { + 'dtype': 'float32' + }; + + len = 100; + x = uniform( len, 0, 1, opts ); + b.tic(); for ( i = 0; i < b.iterations; i++ ) { - x = randu(); - y = logitf( x ); - if ( isnan( y ) ) { + y = logitf( x[ i % len ] ); + if ( isnanf( y ) ) { b.fail( 'should not return NaN' ); } } b.toc(); - if ( isnan( y ) ) { + if ( isnanf( y ) ) { b.fail( 'should not return NaN' ); } b.pass( 'benchmark finished' ); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js index 64a6ce659356..d420b39e1bf4 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -22,8 +22,8 @@ var resolve = require( 'path' ).resolve; var bench = require( '@stdlib/bench' ); -var randu = require( '@stdlib/random/base/randu' ); -var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var tryRequire = require( '@stdlib/utils/try-require' ); var pkg = require( './../package.json' ).name; @@ -39,20 +39,28 @@ var opts = { // MAIN // bench( pkg+'::native', opts, function benchmark( b ) { + var opts; + var len; var x; var y; var i; + opts = { + 'dtype': 'float32' + }; + + len = 100; + x = uniform( len, 0, 1, opts ); + b.tic(); for ( i = 0; i < b.iterations; i++ ) { - x = randu(); - y = logitf( x ); - if ( isnan( y ) ) { + y = logitf( x[ i % len ] ); + if ( isnanf( y ) ) { b.fail( 'should not return NaN' ); } } b.toc(); - if ( isnan( y ) ) { + if ( isnanf( y ) ) { b.fail( 'should not return NaN' ); } b.pass( 'benchmark finished' ); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c index 456ff423683f..2e8c69775c2e 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c @@ -91,13 +91,18 @@ static float rand_float( void ) { */ static double benchmark( void ) { double elapsed; + float x[ 100 ]; float y; double t; int i; + for ( i = 0; i < 100; i++ ) { + x[ i ] = rand_float(); + } + t = tic(); for ( i = 0; i < ITERATIONS; i++ ) { - y = stdlib_base_logitf( rand_float() ); + y = stdlib_base_logitf( x[ i % 100 ] ); if ( y != y ) { printf( "should not return NaN\n" ); break; diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js index 07c430f90e00..c92ce8581d4b 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -18,13 +18,16 @@ 'use strict'; -var randu = require( '@stdlib/random/base/randu' ); +var uniform = require( '@stdlib/random/array/uniform' ); var logitf = require( './../lib' ); -var p; +var len = 100; +var opts = { + 'dtype': 'float32' +}; +var p = uniform( len, 0, 1, opts ); var i; for ( i = 0; i < 100; i++ ) { - p = randu(); - console.log( 'logitf(%d) = %f', p, logitf( p ) ); + console.log( 'logitf(%f) = %f', p[ i ], logitf( p[ i ] ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js index aefbd4f0a835..4d11d556ba40 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js @@ -20,8 +20,8 @@ // MODULES // -var isProbability = require( '@stdlib/math/base/assert/is-probability' ); -var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var isProbabilityf = require( '@stdlib/math/base/assert/is-probabilityf' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var lnf = require( '@stdlib/math/base/special/lnf' ); var PINF = require( '@stdlib/constants/float32/pinf' ); var NINF = require( '@stdlib/constants/float32/ninf' ); @@ -56,10 +56,10 @@ var NINF = require( '@stdlib/constants/float32/ninf' ); * // returns NaN */ function logitf( p ) { - if ( isnan( p ) ) { + if ( isnanf( p ) ) { return p; } - if ( !isProbability( p ) ) { + if ( !isProbabilityf( p ) ) { return NaN; } if ( p === 0.0 ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/manifest.json b/lib/node_modules/@stdlib/math/base/special/logitf/manifest.json index eddea345220d..52984ce1271b 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/manifest.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/manifest.json @@ -38,8 +38,8 @@ "dependencies": [ "@stdlib/math/base/napi/unary", "@stdlib/math/base/special/lnf", - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/assert/is-probability", + "@stdlib/math/base/assert/is-nanf", + "@stdlib/math/base/assert/is-probabilityf", "@stdlib/constants/float32/pinf", "@stdlib/constants/float32/ninf" ] @@ -56,8 +56,8 @@ "libpath": [], "dependencies": [ "@stdlib/math/base/special/lnf", - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/assert/is-probability", + "@stdlib/math/base/assert/is-nanf", + "@stdlib/math/base/assert/is-probabilityf", "@stdlib/constants/float32/pinf", "@stdlib/constants/float32/ninf" ] @@ -74,8 +74,8 @@ "libpath": [], "dependencies": [ "@stdlib/math/base/special/lnf", - "@stdlib/math/base/assert/is-nan", - "@stdlib/math/base/assert/is-probability", + "@stdlib/math/base/assert/is-nanf", + "@stdlib/math/base/assert/is-probabilityf", "@stdlib/constants/float32/pinf", "@stdlib/constants/float32/ninf" ] diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index f2eb949630c6..6d4772535049 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -17,8 +17,8 @@ */ #include "stdlib/math/base/special/logitf.h" -#include "stdlib/math/base/assert/is_probability.h" -#include "stdlib/math/base/assert/is_nan.h" +#include "stdlib/math/base/assert/is_probabilityf.h" +#include "stdlib/math/base/assert/is_nanf.h" #include "stdlib/math/base/special/lnf.h" #include "stdlib/constants/float32/pinf.h" #include "stdlib/constants/float32/ninf.h" @@ -34,10 +34,10 @@ * // returns ~-1.386 */ float stdlib_base_logitf( const float p ) { - if ( stdlib_base_is_nan( p ) ) { + if ( stdlib_base_is_nanf( p ) ) { return 0.0 / 0.0; // NaN } - if ( !stdlib_base_is_probability( p ) ) { + if ( !stdlib_base_is_probabilityf( p ) ) { return 0.0 / 0.0; // NaN } if ( p == 0.0 ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index 1d10ff3bcd0f..8315658b382e 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -21,7 +21,7 @@ // MODULES // var tape = require( 'tape' ); -var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var PINF = require( '@stdlib/constants/float32/pinf' ); var NINF = require( '@stdlib/constants/float32/ninf' ); var EPS = require( '@stdlib/constants/float32/eps' ); @@ -47,27 +47,27 @@ tape( 'main export is a function', function test( t ) { tape( 'the function returns `NaN` when provided `NaN`', function test( t ) { var y = logitf( NaN ); - t.equal( isnan( y ), true, 'returns NaN' ); + t.equal( isnanf( y ), true, 'returns expected value' ); t.end(); }); tape( 'the function returns `NaN` when provided a number outside `[0,1]`', function test( t ) { var y = logitf( 1.2 ); - t.equal( isnan( y ), true, 'returns NaN' ); + t.equal( isnanf( y ), true, 'returns expected value' ); y = logitf( -0.1 ); - t.equal( isnan( y ), true, 'returns NaN' ); + t.equal( isnanf( y ), true, 'returns expected value' ); t.end(); }); tape( 'the function returns `-Infinity` when provided `0`', function test( t ) { var y = logitf( 0.0 ); - t.equal( y, NINF, 'returns -Infinity' ); + t.equal( y, NINF, 'returns expected value' ); t.end(); }); tape( 'the function returns `+Infinity` when provided `1`', function test( t ) { var y = logitf( 1.0 ); - t.equal( y, PINF, 'returns +Infinity' ); + t.equal( y, PINF, 'returns expected value' ); t.end(); }); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index 213e420d9624..0671c1108892 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -22,7 +22,7 @@ var resolve = require( 'path' ).resolve; var tape = require( 'tape' ); -var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var PINF = require( '@stdlib/constants/float32/pinf' ); var NINF = require( '@stdlib/constants/float32/ninf' ); var EPS = require( '@stdlib/constants/float32/eps' ); @@ -48,39 +48,39 @@ var opts = { // TESTS // -tape( 'main export is a function', function test( t ) { +tape( 'main export is a function', opts, function test( t ) { t.ok( true, __filename ); t.strictEqual( typeof logitf, 'function', 'main export is a function' ); t.end(); }); -tape( 'the function returns `NaN` when provided `NaN`', function test( t ) { +tape( 'the function returns `NaN` when provided `NaN`', opts, function test( t ) { var y = logitf( NaN ); - t.equal( isnan( y ), true, 'returns NaN' ); + t.equal( isnanf( y ), true, 'returns expected value' ); t.end(); }); -tape( 'the function returns `NaN` when provided a number outside `[0,1]`', function test( t ) { +tape( 'the function returns `NaN` when provided a number outside `[0,1]`', opts, function test( t ) { var y = logitf( 1.2 ); - t.equal( isnan( y ), true, 'returns NaN' ); + t.equal( isnanf( y ), true, 'returns expected value' ); y = logitf( -0.1 ); - t.equal( isnan( y ), true, 'returns NaN' ); + t.equal( isnanf( y ), true, 'returns expected value' ); t.end(); }); -tape( 'the function returns `-Infinity` when provided `0`', function test( t ) { +tape( 'the function returns `-Infinity` when provided `0`', opts, function test( t ) { var y = logitf( 0.0 ); - t.equal( y, NINF, 'returns -Infinity' ); + t.equal( y, NINF, 'returns expected value' ); t.end(); }); -tape( 'the function returns `+Infinity` when provided `1`', function test( t ) { +tape( 'the function returns `+Infinity` when provided `1`', opts, function test( t ) { var y = logitf( 1.0 ); - t.equal( y, PINF, 'returns +Infinity' ); + t.equal( y, PINF, 'returns expected value' ); t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', function test( t ) { +tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', opts, function test( t ) { var expected; var delta; var tol; @@ -103,7 +103,7 @@ tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', fu t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', function test( t ) { +tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', opts, function test( t ) { var expected; var delta; var tol; @@ -126,7 +126,7 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', function test( t ) { +tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', opts, function test( t ) { var expected; var delta; var tol; @@ -149,7 +149,7 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', function test( t ) { +tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', opts, function test( t ) { var expected; var delta; var tol; From 2e3dce04d2dd27946aca30332e46d8257afaf4f5 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sat, 18 Jan 2025 14:18:13 +0000 Subject: [PATCH 04/18] chore: update copyright years --- lib/node_modules/@stdlib/math/base/special/logitf/README.md | 2 +- .../@stdlib/math/base/special/logitf/benchmark/benchmark.js | 2 +- .../math/base/special/logitf/benchmark/benchmark.native.js | 2 +- .../@stdlib/math/base/special/logitf/benchmark/c/Makefile | 2 +- .../@stdlib/math/base/special/logitf/benchmark/c/benchmark.c | 2 +- .../math/base/special/logitf/benchmark/c/native/Makefile | 2 +- .../math/base/special/logitf/benchmark/c/native/benchmark.c | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp | 2 +- .../@stdlib/math/base/special/logitf/docs/types/index.d.ts | 2 +- .../@stdlib/math/base/special/logitf/docs/types/test.ts | 2 +- .../@stdlib/math/base/special/logitf/examples/c/Makefile | 2 +- .../@stdlib/math/base/special/logitf/examples/c/example.c | 2 +- .../@stdlib/math/base/special/logitf/examples/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/include.gypi | 2 +- .../special/logitf/include/stdlib/math/base/special/logitf.h | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/src/main.c | 2 +- .../math/base/special/logitf/test/fixtures/python/runner.py | 2 +- lib/node_modules/@stdlib/math/base/special/logitf/test/test.js | 2 +- .../@stdlib/math/base/special/logitf/test/test.native.js | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index 1a6d8e99e031..792374d842c0 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -2,7 +2,7 @@ @license Apache-2.0 -Copyright (c) 2024 The Stdlib Authors. +Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js index f5aa0d9fd2b8..02aa02c411a0 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js index d420b39e1bf4..1bb38998d9d5 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile index e85bfcccdd04..d564e8b2d6f9 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c index 3672cf13f1a7..aedc45c04e1a 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile index f69e9da2b4d3..a4bd7b38fd74 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c index 2e8c69775c2e..3e822a3b1fbe 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp index ec3992233442..68a1ca11d160 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp +++ b/lib/node_modules/@stdlib/math/base/special/logitf/binding.gyp @@ -1,6 +1,6 @@ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts index abc45c87c690..0c358cfeb482 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts index e372cc2717d8..f89ccde6a18c 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/test.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile index 6aed70daf167..25ced822f96a 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c index 81e696ff098d..515f05b95402 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js index c92ce8581d4b..d0d6e70ab2b3 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi b/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi index 575cb043c0bf..ecfaf82a3279 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include.gypi @@ -1,6 +1,6 @@ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h index 7c59b94f2873..5076b0d45989 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js index 8a1bca217fd0..cf1adcd60263 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js index 4d11d556ba40..d0b6fb64ffed 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js index c4ad93f8bb75..690a777564fd 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile index bcf18aa46655..7733b6180cb4 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c index d547aeec8a50..95597b67da66 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index 6d4772535049..c0d056ed47a6 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py index da4f5a7896d2..7966c40ab3e1 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py @@ -2,7 +2,7 @@ # # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index 8315658b382e..bbc6d5579ee6 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index 0671c1108892..c4f9a3004159 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2025 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. From 1b0a660854f2c8c61a5c7c19a2c7d99cee326863 Mon Sep 17 00:00:00 2001 From: vivek maurya Date: Sat, 18 Jan 2025 14:29:37 +0000 Subject: [PATCH 05/18] add math/base/special/logitf --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na --- --- .../math/base/special/logitf/docs/repl.txt | 4 +-- .../base/special/logitf/examples/c/example.c | 16 ++++++------ .../math/base/special/logitf/src/main.c | 26 +++++++++---------- .../logitf/test/fixtures/python/large.json | 2 +- .../test/fixtures/python/medium_above.json | 2 +- .../test/fixtures/python/medium_below.json | 2 +- .../logitf/test/fixtures/python/small.json | 2 +- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt index 12e7243453eb..599979fe4567 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt @@ -15,7 +15,8 @@ Returns ------- y: number - Function value. + Function value. + Examples -------- @@ -32,4 +33,3 @@ See Also -------- - diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c index 81e696ff098d..7d54d5293be7 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/c/example.c @@ -21,13 +21,13 @@ #include int main( void ) { - float x; - float v; - int i; + float x; + float v; + int i; - for ( i = 0; i < 100; i++ ) { - x = (float)rand() / (float)RAND_MAX; - v = stdlib_base_logitf( x ); - printf( "logitf(%f) = %f\n", x, v ); - } + for ( i = 0; i < 100; i++ ) { + x = (float)rand() / (float)RAND_MAX; + v = stdlib_base_logitf( x ); + printf( "logitf(%f) = %f\n", x, v ); + } } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index 6d4772535049..7e34d89e6d72 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -34,17 +34,17 @@ * // returns ~-1.386 */ float stdlib_base_logitf( const float p ) { - if ( stdlib_base_is_nanf( p ) ) { - return 0.0 / 0.0; // NaN - } - if ( !stdlib_base_is_probabilityf( p ) ) { - return 0.0 / 0.0; // NaN - } - if ( p == 0.0 ) { - return STDLIB_CONSTANT_FLOAT32_NINF; - } - if ( p == 1.0 ) { - return STDLIB_CONSTANT_FLOAT32_PINF; - } - return stdlib_base_lnf( p / ( 1.0 - p ) ); + if ( stdlib_base_is_nanf( p ) ) { + return 0.0 / 0.0; // NaN + } + if ( !stdlib_base_is_probabilityf( p ) ) { + return 0.0 / 0.0; // NaN + } + if ( p == 0.0 ) { + return STDLIB_CONSTANT_FLOAT32_NINF; + } + if ( p == 1.0 ) { + return STDLIB_CONSTANT_FLOAT32_PINF; + } + return stdlib_base_lnf( p / ( 1.0 - p ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json index c1b48141b2cc..c271bbda595e 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json @@ -1 +1 @@ -{"x": [0.75, 0.7505007982254028, 0.7510015964508057, 0.7515023946762085, 0.7520031929016113, 0.7525039911270142, 0.753004789352417, 0.7535055875778198, 0.7540063858032227, 0.7545072436332703, 0.7550080418586731, 0.7555088400840759, 0.7560096383094788, 0.7565104365348816, 0.7570112347602844, 0.7575120329856873, 0.7580128312110901, 0.7585136294364929, 0.7590144276618958, 0.7595152258872986, 0.7600160241127014, 0.7605168223381042, 0.7610176205635071, 0.7615184187889099, 0.7620192170143127, 0.7625200152397156, 0.7630208134651184, 0.763521671295166, 0.7640224695205688, 0.7645232677459717, 0.7650240659713745, 0.7655248641967773, 0.7660256624221802, 0.766526460647583, 0.7670272588729858, 0.7675280570983887, 0.7680288553237915, 0.7685296535491943, 0.7690304517745972, 0.76953125, 0.7700320482254028, 0.7705328464508057, 0.7710336446762085, 0.7715344429016113, 0.7720352411270142, 0.7725360989570618, 0.7730368971824646, 0.7735376954078674, 0.7740384936332703, 0.7745392918586731, 0.7750400900840759, 0.7755408883094788, 0.7760416865348816, 0.7765424847602844, 0.7770432829856873, 0.7775440812110901, 0.7780448794364929, 0.7785456776618958, 0.7790464758872986, 0.7795472741127014, 0.7800480723381042, 0.7805488705635071, 0.7810497283935547, 0.7815505266189575, 0.7820513248443604, 0.7825521230697632, 0.783052921295166, 0.7835537195205688, 0.7840545177459717, 0.7845553159713745, 0.7850561141967773, 0.7855569124221802, 0.786057710647583, 0.7865585088729858, 0.7870593070983887, 0.7875601053237915, 0.7880609035491943, 0.7885617017745972, 0.7890625, 0.7895632982254028, 0.7900641560554504, 0.7905649542808533, 0.7910657525062561, 0.7915665507316589, 0.7920673489570618, 0.7925681471824646, 0.7930689454078674, 0.7935697436332703, 0.7940705418586731, 0.7945713400840759, 0.7950721383094788, 0.7955729365348816, 0.7960737347602844, 0.7965745329856873, 0.7970753312110901, 0.7975761294364929, 0.7980769276618958, 0.7985777258872986, 0.7990785837173462, 0.799579381942749, 0.8000801801681519, 0.8005809783935547, 0.8010817766189575, 0.8015825748443604, 0.8020833730697632, 0.802584171295166, 0.8030849695205688, 0.8035857677459717, 0.8040865659713745, 0.8045873641967773, 0.8050881624221802, 0.805588960647583, 0.8060897588729858, 0.8065905570983887, 0.8070913553237915, 0.8075922131538391, 0.8080930113792419, 0.8085938096046448, 0.8090946078300476, 0.8095954060554504, 0.8100962042808533, 0.8105970025062561, 0.8110978007316589, 0.8115985989570618, 0.8120993971824646, 0.8126001954078674, 0.8131009936332703, 0.8136017918586731, 0.8141025900840759, 0.8146033883094788, 0.8151041865348816, 0.8156049847602844, 0.8161057829856873, 0.8166066408157349, 0.8171074390411377, 0.8176082372665405, 0.8181090354919434, 0.8186098337173462, 0.819110631942749, 0.8196114301681519, 0.8201122283935547, 0.8206130266189575, 0.8211138248443604, 0.8216146230697632, 0.822115421295166, 0.8226162195205688, 0.8231170177459717, 0.8236178159713745, 0.8241186141967773, 0.8246194124221802, 0.8251202702522278, 0.8256210684776306, 0.8261218667030334, 0.8266226649284363, 0.8271234631538391, 0.8276242613792419, 0.8281250596046448, 0.8286258578300476, 0.8291266560554504, 0.8296274542808533, 0.8301282525062561, 0.8306290507316589, 0.8311298489570618, 0.8316306471824646, 0.8321314454078674, 0.8326322436332703, 0.8331330418586731, 0.8336338400840759, 0.8341346979141235, 0.8346354961395264, 0.8351362943649292, 0.835637092590332, 0.8361378908157349, 0.8366386890411377, 0.8371394872665405, 0.8376402854919434, 0.8381410837173462, 0.838641881942749, 0.8391426801681519, 0.8396434783935547, 0.8401442766189575, 0.8406450748443604, 0.8411458730697632, 0.841646671295166, 0.8421474695205688, 0.8426482677459717, 0.8431491255760193, 0.8436499238014221, 0.844150722026825, 0.8446515202522278, 0.8451523184776306, 0.8456531167030334, 0.8461539149284363, 0.8466547131538391, 0.8471555113792419, 0.8476563096046448, 0.8481571078300476, 0.8486579060554504, 0.8491587042808533, 0.8496595025062561, 0.8501603007316589, 0.8506610989570618, 0.8511618971824646, 0.8516627550125122, 0.852163553237915, 0.8526643514633179, 0.8531651496887207, 0.8536659479141235, 0.8541667461395264, 0.8546675443649292, 0.855168342590332, 0.8556691408157349, 0.8561699390411377, 0.8566707372665405, 0.8571715354919434, 0.8576723337173462, 0.858173131942749, 0.8586739301681519, 0.8591747283935547, 0.8596755266189575, 0.8601763248443604, 0.860677182674408, 0.8611779808998108, 0.8616787791252136, 0.8621795773506165, 0.8626803755760193, 0.8631811738014221, 0.863681972026825, 0.8641827702522278, 0.8646835684776306, 0.8651843667030334, 0.8656851649284363, 0.8661859631538391, 0.8666867613792419, 0.8671875596046448, 0.8676883578300476, 0.8681891560554504, 0.8686899542808533, 0.8691907525062561, 0.8696916103363037, 0.8701924085617065, 0.8706932067871094, 0.8711940050125122, 0.871694803237915, 0.8721956014633179, 0.8726963996887207, 0.8731971979141235, 0.8736979961395264, 0.8741987943649292, 0.874699592590332, 0.8752003908157349, 0.8757011890411377, 0.8762019872665405, 0.8767027854919434, 0.8772035837173462, 0.877704381942749, 0.8782052397727966, 0.8787060379981995, 0.8792068362236023, 0.8797076344490051, 0.880208432674408, 0.8807092308998108, 0.8812100291252136, 0.8817108273506165, 0.8822116255760193, 0.8827124238014221, 0.883213222026825, 0.8837140202522278, 0.8842148184776306, 0.8847156167030334, 0.8852164149284363, 0.8857172131538391, 0.8862180113792419, 0.8867188096046448, 0.8872196674346924, 0.8877204656600952, 0.888221263885498, 0.8887220621109009, 0.8892228603363037, 0.8897236585617065, 0.8902244567871094, 0.8907252550125122, 0.891226053237915, 0.8917268514633179, 0.8922276496887207, 0.8927284479141235, 0.8932292461395264, 0.8937300443649292, 0.894230842590332, 0.8947316408157349, 0.8952324390411377, 0.8957332372665405, 0.8962340950965881, 0.896734893321991, 0.8972356915473938, 0.8977364897727966, 0.8982372879981995, 0.8987380862236023, 0.8992388844490051, 0.899739682674408, 0.9002404808998108, 0.9007412791252136, 0.9012420773506165, 0.9017428755760193, 0.9022436738014221, 0.902744472026825, 0.9032452702522278, 0.9037460684776306, 0.9042468667030334, 0.904747724533081, 0.9052485227584839, 0.9057493209838867, 0.9062501192092896, 0.9067509174346924, 0.9072517156600952, 0.907752513885498, 0.9082533121109009, 0.9087541103363037, 0.9092549085617065, 0.9097557067871094, 0.9102565050125122, 0.910757303237915, 0.9112581014633179, 0.9117588996887207, 0.9122596979141235, 0.9127604961395264, 0.9132612943649292, 0.9137621521949768, 0.9142629504203796, 0.9147637486457825, 0.9152645468711853, 0.9157653450965881, 0.916266143321991, 0.9167669415473938, 0.9172677397727966, 0.9177685379981995, 0.9182693362236023, 0.9187701344490051, 0.919270932674408, 0.9197717308998108, 0.9202725291252136, 0.9207733273506165, 0.9212741255760193, 0.9217749238014221, 0.922275722026825, 0.9227765798568726, 0.9232773780822754, 0.9237781763076782, 0.924278974533081, 0.9247797727584839, 0.9252805709838867, 0.9257813692092896, 0.9262821674346924, 0.9267829656600952, 0.927283763885498, 0.9277845621109009, 0.9282853603363037, 0.9287861585617065, 0.9292869567871094, 0.9297877550125122, 0.930288553237915, 0.9307893514633179, 0.9312902092933655, 0.9317910075187683, 0.9322918057441711, 0.932792603969574, 0.9332934021949768, 0.9337942004203796, 0.9342949986457825, 0.9347957968711853, 0.9352965950965881, 0.935797393321991, 0.9362981915473938, 0.9367989897727966, 0.9372997879981995, 0.9378005862236023, 0.9383013844490051, 0.938802182674408, 0.9393029808998108, 0.9398037791252136, 0.9403046369552612, 0.9408054351806641, 0.9413062334060669, 0.9418070316314697, 0.9423078298568726, 0.9428086280822754, 0.9433094263076782, 0.943810224533081, 0.9443110227584839, 0.9448118209838867, 0.9453126192092896, 0.9458134174346924, 0.9463142156600952, 0.946815013885498, 0.9473158121109009, 0.9478166103363037, 0.9483174085617065, 0.9488182067871094, 0.949319064617157, 0.9498198628425598, 0.9503206610679626, 0.9508214592933655, 0.9513222575187683, 0.9518230557441711, 0.952323853969574, 0.9528246521949768, 0.9533254504203796, 0.9538262486457825, 0.9543270468711853, 0.9548278450965881, 0.955328643321991, 0.9558294415473938, 0.9563302397727966, 0.9568310379981995, 0.9573318362236023, 0.9578326940536499, 0.9583334922790527, 0.9588342905044556, 0.9593350887298584, 0.9598358869552612, 0.9603366851806641, 0.9608374834060669, 0.9613382816314697, 0.9618390798568726, 0.9623398780822754, 0.9628406763076782, 0.963341474533081, 0.9638422727584839, 0.9643430709838867, 0.9648438692092896, 0.9653446674346924, 0.9658454656600952, 0.966346263885498, 0.9668471217155457, 0.9673479199409485, 0.9678487181663513, 0.9683495163917542, 0.968850314617157, 0.9693511128425598, 0.9698519110679626, 0.9703527092933655, 0.9708535075187683, 0.9713543057441711, 0.971855103969574, 0.9723559021949768, 0.9728567004203796, 0.9733574986457825, 0.9738582968711853, 0.9743590950965881, 0.974859893321991, 0.9753607511520386, 0.9758615493774414, 0.9763623476028442, 0.9768631458282471, 0.9773639440536499, 0.9778647422790527, 0.9783655405044556, 0.9788663387298584, 0.9793671369552612, 0.9798679351806641, 0.9803687334060669, 0.9808695316314697, 0.9813703298568726, 0.9818711280822754, 0.9823719263076782, 0.982872724533081, 0.9833735227584839, 0.9838743209838867, 0.9843751788139343, 0.9848759770393372, 0.98537677526474, 0.9858775734901428, 0.9863783717155457, 0.9868791699409485, 0.9873799681663513, 0.9878807663917542, 0.988381564617157, 0.9888823628425598, 0.9893831610679626, 0.9898839592933655, 0.9903847575187683, 0.9908855557441711, 0.991386353969574, 0.9918871521949768, 0.9923879504203796, 0.9928887486457825, 0.9933896064758301, 0.9938904047012329, 0.9943912029266357, 0.9948920011520386, 0.9953927993774414, 0.9958935976028442, 0.9963943958282471, 0.9968951940536499, 0.9973959922790527, 0.9978967905044556, 0.9983975887298584, 0.9988983869552612, 0.9993991851806641, 0.9998999834060669], "expected": [1.0986123085021973, 1.1012849807739258, 1.1039612293243408, 1.106641173362732, 1.1093246936798096, 1.1120117902755737, 1.114702582359314, 1.1173970699310303, 1.1200952529907227, 1.1227973699569702, 1.1255030632019043, 1.128212332725525, 1.1309254169464111, 1.1336421966552734, 1.136362910270691, 1.1390873193740845, 1.1418156623840332, 1.144547700881958, 1.147283673286438, 1.1500235795974731, 1.1527674198150635, 1.1555150747299194, 1.1582666635513306, 1.1610223054885864, 1.1637818813323975, 1.1665453910827637, 1.1693130731582642, 1.172084927558899, 1.1748605966567993, 1.1776403188705444, 1.1804242134094238, 1.183212161064148, 1.1860042810440063, 1.1888004541397095, 1.1916009187698364, 1.194405436515808, 1.1972142457962036, 1.200027346611023, 1.2028447389602661, 1.2056663036346436, 1.2084921598434448, 1.21132230758667, 1.2141568660736084, 1.2169958353042603, 1.219839096069336, 1.2226872444152832, 1.2255393266677856, 1.228395938873291, 1.2312569618225098, 1.2341225147247314, 1.2369924783706665, 1.239867091178894, 1.242746353149414, 1.2456300258636475, 1.2485183477401733, 1.2514114379882812, 1.2543089389801025, 1.2572113275527954, 1.2601183652877808, 1.2630300521850586, 1.2659465074539185, 1.26886785030365, 1.2717941999435425, 1.274725079536438, 1.2776607275009155, 1.2806013822555542, 1.283546805381775, 1.2864972352981567, 1.2894525527954102, 1.2924128770828247, 1.2953782081604004, 1.2983485460281372, 1.3013238906860352, 1.3043043613433838, 1.3072898387908936, 1.3102805614471436, 1.3132764101028442, 1.3162775039672852, 1.3192836046218872, 1.322295069694519, 1.3253121376037598, 1.3283342123031616, 1.3313615322113037, 1.3343942165374756, 1.3374321460723877, 1.3404756784439087, 1.34352445602417, 1.34657883644104, 1.3496387004852295, 1.3527039289474487, 1.3557748794555664, 1.3588513135910034, 1.3619333505630493, 1.365020990371704, 1.3681143522262573, 1.371213436126709, 1.374318242073059, 1.3774287700653076, 1.3805454969406128, 1.3836675882339478, 1.3867955207824707, 1.3899294137954712, 1.3930692672729492, 1.3962149620056152, 1.3993667364120483, 1.4025243520736694, 1.4056881666183472, 1.408858060836792, 1.412034034729004, 1.415216088294983, 1.418404459953308, 1.4215989112854004, 1.4247997999191284, 1.4280067682266235, 1.4312200546264648, 1.4344402551651, 1.437666416168213, 1.4408988952636719, 1.4441379308700562, 1.4473834037780762, 1.4506354331970215, 1.453894019126892, 1.457159161567688, 1.4604310989379883, 1.4637097120285034, 1.4669948816299438, 1.4702869653701782, 1.473585844039917, 1.4768913984298706, 1.4802039861679077, 1.4835233688354492, 1.4868499040603638, 1.4901833534240723, 1.493524193763733, 1.4968717098236084, 1.500226378440857, 1.5035881996154785, 1.5069572925567627, 1.51033353805542, 1.5137171745300293, 1.5171079635620117, 1.5205062627792358, 1.5239120721817017, 1.52732515335083, 1.5307458639144897, 1.5341742038726807, 1.5376100540161133, 1.5410535335540771, 1.5445046424865723, 1.5479635000228882, 1.5514307022094727, 1.5549051761627197, 1.5583876371383667, 1.561877965927124, 1.5653762817382812, 1.568882703781128, 1.5723971128463745, 1.5759196281433105, 1.579450249671936, 1.58298921585083, 1.5865365266799927, 1.5900919437408447, 1.5936559438705444, 1.5972282886505127, 1.600809097290039, 1.604398488998413, 1.6079965829849243, 1.611603021621704, 1.6152188777923584, 1.6188429594039917, 1.6224758625030518, 1.6261175870895386, 1.6297682523727417, 1.6334278583526611, 1.637096643447876, 1.6407744884490967, 1.6444613933563232, 1.6481574773788452, 1.6518629789352417, 1.6555777788162231, 1.659301996231079, 1.66303551197052, 1.666778802871704, 1.6705315113067627, 1.674293875694275, 1.6780660152435303, 1.681848406791687, 1.6856400966644287, 1.6894416809082031, 1.6932532787322998, 1.6970748901367188, 1.7009066343307495, 1.7047486305236816, 1.7086007595062256, 1.7124632596969604, 1.7163361310958862, 1.7202194929122925, 1.7241133451461792, 1.728017807006836, 1.7319329977035522, 1.7358587980270386, 1.7397955656051636, 1.7437431812286377, 1.7477022409439087, 1.7516719102859497, 1.755652666091919, 1.759644627571106, 1.7636479139328003, 1.767662525177002, 1.7716885805130005, 1.7757261991500854, 1.7797755002975464, 1.7838364839553833, 1.7879091501235962, 1.7919937372207642, 1.7960902452468872, 1.8001987934112549, 1.8043195009231567, 1.8084524869918823, 1.812597632408142, 1.8167551755905151, 1.8209258317947388, 1.825108528137207, 1.8293038606643677, 1.8335120677947998, 1.8377330303192139, 1.841966986656189, 1.8462140560150146, 1.8504741191864014, 1.8547476530075073, 1.8590344190597534, 1.8633346557617188, 1.8676486015319824, 1.8719761371612549, 1.8763173818588257, 1.880672574043274, 1.8850417137145996, 1.8894249200820923, 1.8938225507736206, 1.8982347249984741, 1.9026610851287842, 1.9071018695831299, 1.9115573167800903, 1.9160276651382446, 1.9205126762390137, 1.9250129461288452, 1.9295282363891602, 1.9340589046478271, 1.9386048316955566, 1.9431663751602173, 1.947743535041809, 1.9523365497589111, 1.9569453001022339, 1.961570143699646, 1.966211199760437, 1.970868706703186, 1.9755429029464722, 1.9802333116531372, 1.9849404096603394, 1.9896644353866577, 1.9944055080413818, 1.9991636276245117, 2.003938913345337, 2.0087318420410156, 2.013542413711548, 2.0183706283569336, 2.023216724395752, 2.028080940246582, 2.032963514328003, 2.0378642082214355, 2.042783737182617, 2.0477218627929688, 2.0526788234710693, 2.057654857635498, 2.062650680541992, 2.0676653385162354, 2.072699546813965, 2.0777535438537598, 2.08282732963562, 2.087921619415283, 2.093035936355591, 2.098170757293701, 2.1033263206481934, 2.1085026264190674, 2.1137001514434814, 2.1189188957214355, 2.124159336090088, 2.1294212341308594, 2.134705066680908, 2.1400110721588135, 2.145339250564575, 2.1506900787353516, 2.156064033508301, 2.1614606380462646, 2.1668803691864014, 2.172323703765869, 2.177790641784668, 2.183281421661377, 2.188796281814575, 2.194335460662842, 2.199899435043335, 2.2054882049560547, 2.211102247238159, 2.2167415618896484, 2.2224066257476807, 2.228097677230835, 2.2338149547576904, 2.239558696746826, 2.2453291416168213, 2.251127243041992, 2.2569520473480225, 2.2628045082092285, 2.2686848640441895, 2.2745935916900635, 2.2805306911468506, 2.286496639251709, 2.292491912841797, 2.2985165119171143, 2.3045711517333984, 2.3106555938720703, 2.3167707920074463, 2.3229167461395264, 2.3290939331054688, 2.3353028297424316, 2.341543436050415, 2.347816228866577, 2.354121685028076, 2.3604612350463867, 2.366833209991455, 2.373239040374756, 2.379678964614868, 2.3861536979675293, 2.3926634788513184, 2.3992085456848145, 2.405789852142334, 2.412407159805298, 2.4190614223480225, 2.425753116607666, 2.4324822425842285, 2.4392495155334473, 2.4460556507110596, 2.4529008865356445, 2.4597856998443604, 2.4667108058929443, 2.4736764430999756, 2.480684280395508, 2.4877331256866455, 2.494824171066284, 2.501958131790161, 2.5091354846954346, 2.516356945037842, 2.523622989654541, 2.5309340953826904, 2.5382912158966064, 2.5456948280334473, 2.55314564704895, 2.5606443881988525, 2.5681912899017334, 2.5757875442504883, 2.5834336280822754, 2.591130256652832, 2.5988781452178955, 2.6066792011260986, 2.614532232284546, 2.622438669204712, 2.630399465560913, 2.638415813446045, 2.6464879512786865, 2.6546170711517334, 2.662804126739502, 2.6710498332977295, 2.6793551445007324, 2.687721014022827, 2.69614839553833, 2.7046384811401367, 2.7131917476654053, 2.7218096256256104, 2.7304933071136475, 2.739243507385254, 2.748061418533325, 2.7569494247436523, 2.765906572341919, 2.774935007095337, 2.7840359210968018, 2.793210506439209, 2.802460193634033, 2.811786413192749, 2.821190357208252, 2.8306734561920166, 2.8402369022369385, 2.8498826026916504, 2.859611988067627, 2.8694264888763428, 2.8793275356292725, 2.889317274093628, 2.8993966579437256, 2.9095683097839355, 2.9198334217071533, 2.9301950931549072, 2.940653085708618, 2.9512102603912354, 2.96186900138855, 2.9726309776306152, 2.9834985733032227, 2.994473934173584, 3.0055594444274902, 3.0167572498321533, 3.0280699729919434, 3.0395002365112305, 3.0510501861572266, 3.06272292137146, 3.074521064758301, 3.0864474773406982, 3.0985050201416016, 3.110697031021118, 3.123028039932251, 3.135498285293579, 3.1481125354766846, 3.160874843597412, 3.17378830909729, 3.186857223510742, 3.200085163116455, 3.2134764194488525, 3.2270352840423584, 3.2407658100128174, 3.2546732425689697, 3.2687618732452393, 3.283036947250366, 3.297503709793091, 3.312167167663574, 3.327033519744873, 3.3421084880828857, 3.35739803314209, 3.372910976409912, 3.3886497020721436, 3.404623508453369, 3.420839786529541, 3.4373059272766113, 3.4540305137634277, 3.471021890640259, 3.4882888793945312, 3.505841016769409, 3.5236880779266357, 3.5418407917022705, 3.560309648513794, 3.579106569290161, 3.5982437133789062, 3.617733955383301, 3.6375908851623535, 3.6578292846679688, 3.678466796875, 3.699514627456665, 3.7209928035736084, 3.742919921875, 3.765315055847168, 3.7881996631622314, 3.811595916748047, 3.8355281352996826, 3.8600213527679443, 3.885103940963745, 3.9108052253723145, 3.937157154083252, 3.9641942977905273, 3.9919543266296387, 4.020477294921875, 4.049807548522949, 4.079992771148682, 4.111085414886475, 4.143146514892578, 4.176231384277344, 4.210412979125977, 4.245768070220947, 4.282381057739258, 4.320346355438232, 4.359769821166992, 4.400768280029297, 4.443475723266602, 4.48804235458374, 4.534640312194824, 4.583465576171875, 4.634744167327881, 4.688738822937012, 4.74575662612915, 4.8061604499816895, 4.870381832122803, 4.938940525054932, 5.012479782104492, 5.091766357421875, 5.177794456481934, 5.271826267242432, 5.375516891479492, 5.491093158721924, 5.621654033660889, 5.771694660186768, 5.94809627532959, 6.162185192108154, 6.4346418380737305, 6.809877395629883, 7.416622638702393, 9.210074424743652]} \ No newline at end of file +{"x": [0.75, 0.7505007982254028, 0.7510015964508057, 0.7515023946762085, 0.7520031929016113, 0.7525039911270142, 0.753004789352417, 0.7535055875778198, 0.7540063858032227, 0.7545072436332703, 0.7550080418586731, 0.7555088400840759, 0.7560096383094788, 0.7565104365348816, 0.7570112347602844, 0.7575120329856873, 0.7580128312110901, 0.7585136294364929, 0.7590144276618958, 0.7595152258872986, 0.7600160241127014, 0.7605168223381042, 0.7610176205635071, 0.7615184187889099, 0.7620192170143127, 0.7625200152397156, 0.7630208134651184, 0.763521671295166, 0.7640224695205688, 0.7645232677459717, 0.7650240659713745, 0.7655248641967773, 0.7660256624221802, 0.766526460647583, 0.7670272588729858, 0.7675280570983887, 0.7680288553237915, 0.7685296535491943, 0.7690304517745972, 0.76953125, 0.7700320482254028, 0.7705328464508057, 0.7710336446762085, 0.7715344429016113, 0.7720352411270142, 0.7725360989570618, 0.7730368971824646, 0.7735376954078674, 0.7740384936332703, 0.7745392918586731, 0.7750400900840759, 0.7755408883094788, 0.7760416865348816, 0.7765424847602844, 0.7770432829856873, 0.7775440812110901, 0.7780448794364929, 0.7785456776618958, 0.7790464758872986, 0.7795472741127014, 0.7800480723381042, 0.7805488705635071, 0.7810497283935547, 0.7815505266189575, 0.7820513248443604, 0.7825521230697632, 0.783052921295166, 0.7835537195205688, 0.7840545177459717, 0.7845553159713745, 0.7850561141967773, 0.7855569124221802, 0.786057710647583, 0.7865585088729858, 0.7870593070983887, 0.7875601053237915, 0.7880609035491943, 0.7885617017745972, 0.7890625, 0.7895632982254028, 0.7900641560554504, 0.7905649542808533, 0.7910657525062561, 0.7915665507316589, 0.7920673489570618, 0.7925681471824646, 0.7930689454078674, 0.7935697436332703, 0.7940705418586731, 0.7945713400840759, 0.7950721383094788, 0.7955729365348816, 0.7960737347602844, 0.7965745329856873, 0.7970753312110901, 0.7975761294364929, 0.7980769276618958, 0.7985777258872986, 0.7990785837173462, 0.799579381942749, 0.8000801801681519, 0.8005809783935547, 0.8010817766189575, 0.8015825748443604, 0.8020833730697632, 0.802584171295166, 0.8030849695205688, 0.8035857677459717, 0.8040865659713745, 0.8045873641967773, 0.8050881624221802, 0.805588960647583, 0.8060897588729858, 0.8065905570983887, 0.8070913553237915, 0.8075922131538391, 0.8080930113792419, 0.8085938096046448, 0.8090946078300476, 0.8095954060554504, 0.8100962042808533, 0.8105970025062561, 0.8110978007316589, 0.8115985989570618, 0.8120993971824646, 0.8126001954078674, 0.8131009936332703, 0.8136017918586731, 0.8141025900840759, 0.8146033883094788, 0.8151041865348816, 0.8156049847602844, 0.8161057829856873, 0.8166066408157349, 0.8171074390411377, 0.8176082372665405, 0.8181090354919434, 0.8186098337173462, 0.819110631942749, 0.8196114301681519, 0.8201122283935547, 0.8206130266189575, 0.8211138248443604, 0.8216146230697632, 0.822115421295166, 0.8226162195205688, 0.8231170177459717, 0.8236178159713745, 0.8241186141967773, 0.8246194124221802, 0.8251202702522278, 0.8256210684776306, 0.8261218667030334, 0.8266226649284363, 0.8271234631538391, 0.8276242613792419, 0.8281250596046448, 0.8286258578300476, 0.8291266560554504, 0.8296274542808533, 0.8301282525062561, 0.8306290507316589, 0.8311298489570618, 0.8316306471824646, 0.8321314454078674, 0.8326322436332703, 0.8331330418586731, 0.8336338400840759, 0.8341346979141235, 0.8346354961395264, 0.8351362943649292, 0.835637092590332, 0.8361378908157349, 0.8366386890411377, 0.8371394872665405, 0.8376402854919434, 0.8381410837173462, 0.838641881942749, 0.8391426801681519, 0.8396434783935547, 0.8401442766189575, 0.8406450748443604, 0.8411458730697632, 0.841646671295166, 0.8421474695205688, 0.8426482677459717, 0.8431491255760193, 0.8436499238014221, 0.844150722026825, 0.8446515202522278, 0.8451523184776306, 0.8456531167030334, 0.8461539149284363, 0.8466547131538391, 0.8471555113792419, 0.8476563096046448, 0.8481571078300476, 0.8486579060554504, 0.8491587042808533, 0.8496595025062561, 0.8501603007316589, 0.8506610989570618, 0.8511618971824646, 0.8516627550125122, 0.852163553237915, 0.8526643514633179, 0.8531651496887207, 0.8536659479141235, 0.8541667461395264, 0.8546675443649292, 0.855168342590332, 0.8556691408157349, 0.8561699390411377, 0.8566707372665405, 0.8571715354919434, 0.8576723337173462, 0.858173131942749, 0.8586739301681519, 0.8591747283935547, 0.8596755266189575, 0.8601763248443604, 0.860677182674408, 0.8611779808998108, 0.8616787791252136, 0.8621795773506165, 0.8626803755760193, 0.8631811738014221, 0.863681972026825, 0.8641827702522278, 0.8646835684776306, 0.8651843667030334, 0.8656851649284363, 0.8661859631538391, 0.8666867613792419, 0.8671875596046448, 0.8676883578300476, 0.8681891560554504, 0.8686899542808533, 0.8691907525062561, 0.8696916103363037, 0.8701924085617065, 0.8706932067871094, 0.8711940050125122, 0.871694803237915, 0.8721956014633179, 0.8726963996887207, 0.8731971979141235, 0.8736979961395264, 0.8741987943649292, 0.874699592590332, 0.8752003908157349, 0.8757011890411377, 0.8762019872665405, 0.8767027854919434, 0.8772035837173462, 0.877704381942749, 0.8782052397727966, 0.8787060379981995, 0.8792068362236023, 0.8797076344490051, 0.880208432674408, 0.8807092308998108, 0.8812100291252136, 0.8817108273506165, 0.8822116255760193, 0.8827124238014221, 0.883213222026825, 0.8837140202522278, 0.8842148184776306, 0.8847156167030334, 0.8852164149284363, 0.8857172131538391, 0.8862180113792419, 0.8867188096046448, 0.8872196674346924, 0.8877204656600952, 0.888221263885498, 0.8887220621109009, 0.8892228603363037, 0.8897236585617065, 0.8902244567871094, 0.8907252550125122, 0.891226053237915, 0.8917268514633179, 0.8922276496887207, 0.8927284479141235, 0.8932292461395264, 0.8937300443649292, 0.894230842590332, 0.8947316408157349, 0.8952324390411377, 0.8957332372665405, 0.8962340950965881, 0.896734893321991, 0.8972356915473938, 0.8977364897727966, 0.8982372879981995, 0.8987380862236023, 0.8992388844490051, 0.899739682674408, 0.9002404808998108, 0.9007412791252136, 0.9012420773506165, 0.9017428755760193, 0.9022436738014221, 0.902744472026825, 0.9032452702522278, 0.9037460684776306, 0.9042468667030334, 0.904747724533081, 0.9052485227584839, 0.9057493209838867, 0.9062501192092896, 0.9067509174346924, 0.9072517156600952, 0.907752513885498, 0.9082533121109009, 0.9087541103363037, 0.9092549085617065, 0.9097557067871094, 0.9102565050125122, 0.910757303237915, 0.9112581014633179, 0.9117588996887207, 0.9122596979141235, 0.9127604961395264, 0.9132612943649292, 0.9137621521949768, 0.9142629504203796, 0.9147637486457825, 0.9152645468711853, 0.9157653450965881, 0.916266143321991, 0.9167669415473938, 0.9172677397727966, 0.9177685379981995, 0.9182693362236023, 0.9187701344490051, 0.919270932674408, 0.9197717308998108, 0.9202725291252136, 0.9207733273506165, 0.9212741255760193, 0.9217749238014221, 0.922275722026825, 0.9227765798568726, 0.9232773780822754, 0.9237781763076782, 0.924278974533081, 0.9247797727584839, 0.9252805709838867, 0.9257813692092896, 0.9262821674346924, 0.9267829656600952, 0.927283763885498, 0.9277845621109009, 0.9282853603363037, 0.9287861585617065, 0.9292869567871094, 0.9297877550125122, 0.930288553237915, 0.9307893514633179, 0.9312902092933655, 0.9317910075187683, 0.9322918057441711, 0.932792603969574, 0.9332934021949768, 0.9337942004203796, 0.9342949986457825, 0.9347957968711853, 0.9352965950965881, 0.935797393321991, 0.9362981915473938, 0.9367989897727966, 0.9372997879981995, 0.9378005862236023, 0.9383013844490051, 0.938802182674408, 0.9393029808998108, 0.9398037791252136, 0.9403046369552612, 0.9408054351806641, 0.9413062334060669, 0.9418070316314697, 0.9423078298568726, 0.9428086280822754, 0.9433094263076782, 0.943810224533081, 0.9443110227584839, 0.9448118209838867, 0.9453126192092896, 0.9458134174346924, 0.9463142156600952, 0.946815013885498, 0.9473158121109009, 0.9478166103363037, 0.9483174085617065, 0.9488182067871094, 0.949319064617157, 0.9498198628425598, 0.9503206610679626, 0.9508214592933655, 0.9513222575187683, 0.9518230557441711, 0.952323853969574, 0.9528246521949768, 0.9533254504203796, 0.9538262486457825, 0.9543270468711853, 0.9548278450965881, 0.955328643321991, 0.9558294415473938, 0.9563302397727966, 0.9568310379981995, 0.9573318362236023, 0.9578326940536499, 0.9583334922790527, 0.9588342905044556, 0.9593350887298584, 0.9598358869552612, 0.9603366851806641, 0.9608374834060669, 0.9613382816314697, 0.9618390798568726, 0.9623398780822754, 0.9628406763076782, 0.963341474533081, 0.9638422727584839, 0.9643430709838867, 0.9648438692092896, 0.9653446674346924, 0.9658454656600952, 0.966346263885498, 0.9668471217155457, 0.9673479199409485, 0.9678487181663513, 0.9683495163917542, 0.968850314617157, 0.9693511128425598, 0.9698519110679626, 0.9703527092933655, 0.9708535075187683, 0.9713543057441711, 0.971855103969574, 0.9723559021949768, 0.9728567004203796, 0.9733574986457825, 0.9738582968711853, 0.9743590950965881, 0.974859893321991, 0.9753607511520386, 0.9758615493774414, 0.9763623476028442, 0.9768631458282471, 0.9773639440536499, 0.9778647422790527, 0.9783655405044556, 0.9788663387298584, 0.9793671369552612, 0.9798679351806641, 0.9803687334060669, 0.9808695316314697, 0.9813703298568726, 0.9818711280822754, 0.9823719263076782, 0.982872724533081, 0.9833735227584839, 0.9838743209838867, 0.9843751788139343, 0.9848759770393372, 0.98537677526474, 0.9858775734901428, 0.9863783717155457, 0.9868791699409485, 0.9873799681663513, 0.9878807663917542, 0.988381564617157, 0.9888823628425598, 0.9893831610679626, 0.9898839592933655, 0.9903847575187683, 0.9908855557441711, 0.991386353969574, 0.9918871521949768, 0.9923879504203796, 0.9928887486457825, 0.9933896064758301, 0.9938904047012329, 0.9943912029266357, 0.9948920011520386, 0.9953927993774414, 0.9958935976028442, 0.9963943958282471, 0.9968951940536499, 0.9973959922790527, 0.9978967905044556, 0.9983975887298584, 0.9988983869552612, 0.9993991851806641, 0.9998999834060669], "expected": [1.0986123085021973, 1.1012849807739258, 1.1039612293243408, 1.106641173362732, 1.1093246936798096, 1.1120117902755737, 1.114702582359314, 1.1173970699310303, 1.1200952529907227, 1.1227973699569702, 1.1255030632019043, 1.128212332725525, 1.1309254169464111, 1.1336421966552734, 1.136362910270691, 1.1390873193740845, 1.1418156623840332, 1.144547700881958, 1.147283673286438, 1.1500235795974731, 1.1527674198150635, 1.1555150747299194, 1.1582666635513306, 1.1610223054885864, 1.1637818813323975, 1.1665453910827637, 1.1693130731582642, 1.172084927558899, 1.1748605966567993, 1.1776403188705444, 1.1804242134094238, 1.183212161064148, 1.1860042810440063, 1.1888004541397095, 1.1916009187698364, 1.194405436515808, 1.1972142457962036, 1.200027346611023, 1.2028447389602661, 1.2056663036346436, 1.2084921598434448, 1.21132230758667, 1.2141568660736084, 1.2169958353042603, 1.219839096069336, 1.2226872444152832, 1.2255393266677856, 1.228395938873291, 1.2312569618225098, 1.2341225147247314, 1.2369924783706665, 1.239867091178894, 1.242746353149414, 1.2456300258636475, 1.2485183477401733, 1.2514114379882812, 1.2543089389801025, 1.2572113275527954, 1.2601183652877808, 1.2630300521850586, 1.2659465074539185, 1.26886785030365, 1.2717941999435425, 1.274725079536438, 1.2776607275009155, 1.2806013822555542, 1.283546805381775, 1.2864972352981567, 1.2894525527954102, 1.2924128770828247, 1.2953782081604004, 1.2983485460281372, 1.3013238906860352, 1.3043043613433838, 1.3072898387908936, 1.3102805614471436, 1.3132764101028442, 1.3162775039672852, 1.3192836046218872, 1.322295069694519, 1.3253121376037598, 1.3283342123031616, 1.3313615322113037, 1.3343942165374756, 1.3374321460723877, 1.3404756784439087, 1.34352445602417, 1.34657883644104, 1.3496387004852295, 1.3527039289474487, 1.3557748794555664, 1.3588513135910034, 1.3619333505630493, 1.365020990371704, 1.3681143522262573, 1.371213436126709, 1.374318242073059, 1.3774287700653076, 1.3805454969406128, 1.3836675882339478, 1.3867955207824707, 1.3899294137954712, 1.3930692672729492, 1.3962149620056152, 1.3993667364120483, 1.4025243520736694, 1.4056881666183472, 1.408858060836792, 1.412034034729004, 1.415216088294983, 1.418404459953308, 1.4215989112854004, 1.4247997999191284, 1.4280067682266235, 1.4312200546264648, 1.4344402551651, 1.437666416168213, 1.4408988952636719, 1.4441379308700562, 1.4473834037780762, 1.4506354331970215, 1.453894019126892, 1.457159161567688, 1.4604310989379883, 1.4637097120285034, 1.4669948816299438, 1.4702869653701782, 1.473585844039917, 1.4768913984298706, 1.4802039861679077, 1.4835233688354492, 1.4868499040603638, 1.4901833534240723, 1.493524193763733, 1.4968717098236084, 1.500226378440857, 1.5035881996154785, 1.5069572925567627, 1.51033353805542, 1.5137171745300293, 1.5171079635620117, 1.5205062627792358, 1.5239120721817017, 1.52732515335083, 1.5307458639144897, 1.5341742038726807, 1.5376100540161133, 1.5410535335540771, 1.5445046424865723, 1.5479635000228882, 1.5514307022094727, 1.5549051761627197, 1.5583876371383667, 1.561877965927124, 1.5653762817382812, 1.568882703781128, 1.5723971128463745, 1.5759196281433105, 1.579450249671936, 1.58298921585083, 1.5865365266799927, 1.5900919437408447, 1.5936559438705444, 1.5972282886505127, 1.600809097290039, 1.604398488998413, 1.6079965829849243, 1.611603021621704, 1.6152188777923584, 1.6188429594039917, 1.6224758625030518, 1.6261175870895386, 1.6297682523727417, 1.6334278583526611, 1.637096643447876, 1.6407744884490967, 1.6444613933563232, 1.6481574773788452, 1.6518629789352417, 1.6555777788162231, 1.659301996231079, 1.66303551197052, 1.666778802871704, 1.6705315113067627, 1.674293875694275, 1.6780660152435303, 1.681848406791687, 1.6856400966644287, 1.6894416809082031, 1.6932532787322998, 1.6970748901367188, 1.7009066343307495, 1.7047486305236816, 1.7086007595062256, 1.7124632596969604, 1.7163361310958862, 1.7202194929122925, 1.7241133451461792, 1.728017807006836, 1.7319329977035522, 1.7358587980270386, 1.7397955656051636, 1.7437431812286377, 1.7477022409439087, 1.7516719102859497, 1.755652666091919, 1.759644627571106, 1.7636479139328003, 1.767662525177002, 1.7716885805130005, 1.7757261991500854, 1.7797755002975464, 1.7838364839553833, 1.7879091501235962, 1.7919937372207642, 1.7960902452468872, 1.8001987934112549, 1.8043195009231567, 1.8084524869918823, 1.812597632408142, 1.8167551755905151, 1.8209258317947388, 1.825108528137207, 1.8293038606643677, 1.8335120677947998, 1.8377330303192139, 1.841966986656189, 1.8462140560150146, 1.8504741191864014, 1.8547476530075073, 1.8590344190597534, 1.8633346557617188, 1.8676486015319824, 1.8719761371612549, 1.8763173818588257, 1.880672574043274, 1.8850417137145996, 1.8894249200820923, 1.8938225507736206, 1.8982347249984741, 1.9026610851287842, 1.9071018695831299, 1.9115573167800903, 1.9160276651382446, 1.9205126762390137, 1.9250129461288452, 1.9295282363891602, 1.9340589046478271, 1.9386048316955566, 1.9431663751602173, 1.947743535041809, 1.9523365497589111, 1.9569453001022339, 1.961570143699646, 1.966211199760437, 1.970868706703186, 1.9755429029464722, 1.9802333116531372, 1.9849404096603394, 1.9896644353866577, 1.9944055080413818, 1.9991636276245117, 2.003938913345337, 2.0087318420410156, 2.013542413711548, 2.0183706283569336, 2.023216724395752, 2.028080940246582, 2.032963514328003, 2.0378642082214355, 2.042783737182617, 2.0477218627929688, 2.0526788234710693, 2.057654857635498, 2.062650680541992, 2.0676653385162354, 2.072699546813965, 2.0777535438537598, 2.08282732963562, 2.087921619415283, 2.093035936355591, 2.098170757293701, 2.1033263206481934, 2.1085026264190674, 2.1137001514434814, 2.1189188957214355, 2.124159336090088, 2.1294212341308594, 2.134705066680908, 2.1400110721588135, 2.145339250564575, 2.1506900787353516, 2.156064033508301, 2.1614606380462646, 2.1668803691864014, 2.172323703765869, 2.177790641784668, 2.183281421661377, 2.188796281814575, 2.194335460662842, 2.199899435043335, 2.2054882049560547, 2.211102247238159, 2.2167415618896484, 2.2224066257476807, 2.228097677230835, 2.2338149547576904, 2.239558696746826, 2.2453291416168213, 2.251127243041992, 2.2569520473480225, 2.2628045082092285, 2.2686848640441895, 2.2745935916900635, 2.2805306911468506, 2.286496639251709, 2.292491912841797, 2.2985165119171143, 2.3045711517333984, 2.3106555938720703, 2.3167707920074463, 2.3229167461395264, 2.3290939331054688, 2.3353028297424316, 2.341543436050415, 2.347816228866577, 2.354121685028076, 2.3604612350463867, 2.366833209991455, 2.373239040374756, 2.379678964614868, 2.3861536979675293, 2.3926634788513184, 2.3992085456848145, 2.405789852142334, 2.412407159805298, 2.4190614223480225, 2.425753116607666, 2.4324822425842285, 2.4392495155334473, 2.4460556507110596, 2.4529008865356445, 2.4597856998443604, 2.4667108058929443, 2.4736764430999756, 2.480684280395508, 2.4877331256866455, 2.494824171066284, 2.501958131790161, 2.5091354846954346, 2.516356945037842, 2.523622989654541, 2.5309340953826904, 2.5382912158966064, 2.5456948280334473, 2.55314564704895, 2.5606443881988525, 2.5681912899017334, 2.5757875442504883, 2.5834336280822754, 2.591130256652832, 2.5988781452178955, 2.6066792011260986, 2.614532232284546, 2.622438669204712, 2.630399465560913, 2.638415813446045, 2.6464879512786865, 2.6546170711517334, 2.662804126739502, 2.6710498332977295, 2.6793551445007324, 2.687721014022827, 2.69614839553833, 2.7046384811401367, 2.7131917476654053, 2.7218096256256104, 2.7304933071136475, 2.739243507385254, 2.748061418533325, 2.7569494247436523, 2.765906572341919, 2.774935007095337, 2.7840359210968018, 2.793210506439209, 2.802460193634033, 2.811786413192749, 2.821190357208252, 2.8306734561920166, 2.8402369022369385, 2.8498826026916504, 2.859611988067627, 2.8694264888763428, 2.8793275356292725, 2.889317274093628, 2.8993966579437256, 2.9095683097839355, 2.9198334217071533, 2.9301950931549072, 2.940653085708618, 2.9512102603912354, 2.96186900138855, 2.9726309776306152, 2.9834985733032227, 2.994473934173584, 3.0055594444274902, 3.0167572498321533, 3.0280699729919434, 3.0395002365112305, 3.0510501861572266, 3.06272292137146, 3.074521064758301, 3.0864474773406982, 3.0985050201416016, 3.110697031021118, 3.123028039932251, 3.135498285293579, 3.1481125354766846, 3.160874843597412, 3.17378830909729, 3.186857223510742, 3.200085163116455, 3.2134764194488525, 3.2270352840423584, 3.2407658100128174, 3.2546732425689697, 3.2687618732452393, 3.283036947250366, 3.297503709793091, 3.312167167663574, 3.327033519744873, 3.3421084880828857, 3.35739803314209, 3.372910976409912, 3.3886497020721436, 3.404623508453369, 3.420839786529541, 3.4373059272766113, 3.4540305137634277, 3.471021890640259, 3.4882888793945312, 3.505841016769409, 3.5236880779266357, 3.5418407917022705, 3.560309648513794, 3.579106569290161, 3.5982437133789062, 3.617733955383301, 3.6375908851623535, 3.6578292846679688, 3.678466796875, 3.699514627456665, 3.7209928035736084, 3.742919921875, 3.765315055847168, 3.7881996631622314, 3.811595916748047, 3.8355281352996826, 3.8600213527679443, 3.885103940963745, 3.9108052253723145, 3.937157154083252, 3.9641942977905273, 3.9919543266296387, 4.020477294921875, 4.049807548522949, 4.079992771148682, 4.111085414886475, 4.143146514892578, 4.176231384277344, 4.210412979125977, 4.245768070220947, 4.282381057739258, 4.320346355438232, 4.359769821166992, 4.400768280029297, 4.443475723266602, 4.48804235458374, 4.534640312194824, 4.583465576171875, 4.634744167327881, 4.688738822937012, 4.74575662612915, 4.8061604499816895, 4.870381832122803, 4.938940525054932, 5.012479782104492, 5.091766357421875, 5.177794456481934, 5.271826267242432, 5.375516891479492, 5.491093158721924, 5.621654033660889, 5.771694660186768, 5.94809627532959, 6.162185192108154, 6.4346418380737305, 6.809877395629883, 7.416622638702393, 9.210074424743652]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json index 47bcc1278e42..ccdf4e04782a 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json @@ -1 +1 @@ -{"x": [0.5, 0.5005009770393372, 0.5010020136833191, 0.5015029907226562, 0.5020040273666382, 0.5025050044059753, 0.5030060410499573, 0.5035070180892944, 0.5040079951286316, 0.5045090317726135, 0.5050100088119507, 0.5055110454559326, 0.5060120224952698, 0.5065129995346069, 0.5070140361785889, 0.507515013217926, 0.508016049861908, 0.5085170269012451, 0.509018063545227, 0.5095190405845642, 0.5100200176239014, 0.5105210542678833, 0.5110220313072205, 0.5115230679512024, 0.5120240449905396, 0.5125250220298767, 0.5130260586738586, 0.5135270357131958, 0.5140280723571777, 0.5145290493965149, 0.5150300860404968, 0.515531063079834, 0.5160320401191711, 0.5165330767631531, 0.5170340538024902, 0.5175350904464722, 0.5180360674858093, 0.5185370445251465, 0.5190380811691284, 0.5195390582084656, 0.5200400948524475, 0.5205410718917847, 0.5210421085357666, 0.5215430855751038, 0.5220440626144409, 0.5225450992584229, 0.52304607629776, 0.5235471129417419, 0.5240480899810791, 0.524549126625061, 0.5250501036643982, 0.5255510807037354, 0.5260521173477173, 0.5265530943870544, 0.5270541310310364, 0.5275551080703735, 0.5280560851097107, 0.5285571217536926, 0.5290580987930298, 0.5295591354370117, 0.5300601124763489, 0.5305611491203308, 0.531062126159668, 0.5315631031990051, 0.5320641398429871, 0.5325651168823242, 0.5330661535263062, 0.5335671305656433, 0.5340681076049805, 0.5345691442489624, 0.5350701212882996, 0.5355711579322815, 0.5360721349716187, 0.5365731716156006, 0.5370741486549377, 0.5375751256942749, 0.5380761623382568, 0.538577139377594, 0.5390781760215759, 0.5395791530609131, 0.540080189704895, 0.5405811667442322, 0.5410821437835693, 0.5415831804275513, 0.5420841574668884, 0.5425851941108704, 0.5430861711502075, 0.5435871481895447, 0.5440881848335266, 0.5445891618728638, 0.5450901985168457, 0.5455911755561829, 0.5460922122001648, 0.546593189239502, 0.5470941662788391, 0.547595202922821, 0.5480961799621582, 0.5485972166061401, 0.5490981936454773, 0.5495991706848145, 0.5501002073287964, 0.5506011843681335, 0.5511022210121155, 0.5516031980514526, 0.5521042346954346, 0.5526052117347717, 0.5531061887741089, 0.5536072254180908, 0.554108202457428, 0.5546092391014099, 0.5551102161407471, 0.5556111931800842, 0.5561122298240662, 0.5566132068634033, 0.5571142435073853, 0.5576152205467224, 0.5581162571907043, 0.5586172342300415, 0.5591182112693787, 0.5596192479133606, 0.5601202249526978, 0.5606212615966797, 0.5611222386360168, 0.5616232752799988, 0.5621242523193359, 0.5626252293586731, 0.563126266002655, 0.5636272430419922, 0.5641282796859741, 0.5646292567253113, 0.5651302337646484, 0.5656312704086304, 0.5661322474479675, 0.5666332840919495, 0.5671342611312866, 0.5676352977752686, 0.5681362748146057, 0.5686372518539429, 0.5691382884979248, 0.569639265537262, 0.5701403021812439, 0.570641279220581, 0.5711422562599182, 0.5716432929039001, 0.5721442699432373, 0.5726453065872192, 0.5731462836265564, 0.5736473202705383, 0.5741482973098755, 0.5746492743492126, 0.5751503109931946, 0.5756512880325317, 0.5761523246765137, 0.5766533017158508, 0.5771543383598328, 0.5776553153991699, 0.5781562924385071, 0.578657329082489, 0.5791583061218262, 0.5796593427658081, 0.5801603198051453, 0.5806612968444824, 0.5811623334884644, 0.5816633105278015, 0.5821643471717834, 0.5826653242111206, 0.5831663608551025, 0.5836673378944397, 0.5841683149337769, 0.5846693515777588, 0.585170328617096, 0.5856713652610779, 0.586172342300415, 0.5866733193397522, 0.5871743559837341, 0.5876753330230713, 0.5881763696670532, 0.5886773467063904, 0.5891783833503723, 0.5896793603897095, 0.5901803374290466, 0.5906813740730286, 0.5911823511123657, 0.5916833877563477, 0.5921843647956848, 0.592685341835022, 0.5931863784790039, 0.5936873555183411, 0.594188392162323, 0.5946893692016602, 0.5951904058456421, 0.5956913828849792, 0.5961923599243164, 0.5966933965682983, 0.5971943736076355, 0.5976954102516174, 0.5981963872909546, 0.5986974239349365, 0.5991984009742737, 0.5996993780136108, 0.6002004146575928, 0.6007013916969299, 0.6012024283409119, 0.601703405380249, 0.6022043824195862, 0.6027054190635681, 0.6032063961029053, 0.6037074327468872, 0.6042084097862244, 0.6047094464302063, 0.6052104234695435, 0.6057114005088806, 0.6062124371528625, 0.6067134141921997, 0.6072144508361816, 0.6077154278755188, 0.608216404914856, 0.6087174415588379, 0.609218418598175, 0.609719455242157, 0.6102204322814941, 0.6107214689254761, 0.6112224459648132, 0.6117234230041504, 0.6122244596481323, 0.6127254366874695, 0.6132264733314514, 0.6137274503707886, 0.6142284274101257, 0.6147294640541077, 0.6152304410934448, 0.6157314777374268, 0.6162324547767639, 0.6167334914207458, 0.617234468460083, 0.6177354454994202, 0.6182364821434021, 0.6187374591827393, 0.6192384958267212, 0.6197394728660583, 0.6202405095100403, 0.6207414865493774, 0.6212424635887146, 0.6217435002326965, 0.6222444772720337, 0.6227455139160156, 0.6232464909553528, 0.6237474679946899, 0.6242485046386719, 0.624749481678009, 0.625250518321991, 0.6257514953613281, 0.6262525320053101, 0.6267535090446472, 0.6272544860839844, 0.6277555227279663, 0.6282564997673035, 0.6287575364112854, 0.6292585134506226, 0.6297594904899597, 0.6302605271339417, 0.6307615041732788, 0.6312625408172607, 0.6317635178565979, 0.6322645545005798, 0.632765531539917, 0.6332665085792542, 0.6337675452232361, 0.6342685222625732, 0.6347695589065552, 0.6352705359458923, 0.6357715725898743, 0.6362725496292114, 0.6367735266685486, 0.6372745633125305, 0.6377755403518677, 0.6382765769958496, 0.6387775540351868, 0.6392785310745239, 0.6397795677185059, 0.640280544757843, 0.640781581401825, 0.6412825584411621, 0.641783595085144, 0.6422845721244812, 0.6427855491638184, 0.6432865858078003, 0.6437875628471375, 0.6442885994911194, 0.6447895765304565, 0.6452905535697937, 0.6457915902137756, 0.6462925672531128, 0.6467936038970947, 0.6472945809364319, 0.6477956175804138, 0.648296594619751, 0.6487975716590881, 0.6492986083030701, 0.6497995853424072, 0.6503006219863892, 0.6508015990257263, 0.6513025760650635, 0.6518036127090454, 0.6523045897483826, 0.6528056263923645, 0.6533066034317017, 0.6538076400756836, 0.6543086171150208, 0.6548095941543579, 0.6553106307983398, 0.655811607837677, 0.6563126444816589, 0.6568136215209961, 0.657314658164978, 0.6578156352043152, 0.6583166122436523, 0.6588176488876343, 0.6593186259269714, 0.6598196625709534, 0.6603206396102905, 0.6608216166496277, 0.6613226532936096, 0.6618236303329468, 0.6623246669769287, 0.6628256440162659, 0.6633266806602478, 0.663827657699585, 0.6643286347389221, 0.664829671382904, 0.6653306484222412, 0.6658316850662231, 0.6663326621055603, 0.6668336391448975, 0.6673346757888794, 0.6678356528282166, 0.6683366894721985, 0.6688376665115356, 0.6693387031555176, 0.6698396801948547, 0.6703406572341919, 0.6708416938781738, 0.671342670917511, 0.6718437075614929, 0.6723446846008301, 0.6728456616401672, 0.6733466982841492, 0.6738476753234863, 0.6743487119674683, 0.6748496890068054, 0.6753507256507874, 0.6758517026901245, 0.6763526797294617, 0.6768537163734436, 0.6773546934127808, 0.6778557300567627, 0.6783567070960999, 0.6788577437400818, 0.679358720779419, 0.6798596978187561, 0.680360734462738, 0.6808617115020752, 0.6813627481460571, 0.6818637251853943, 0.6823647022247314, 0.6828657388687134, 0.6833667159080505, 0.6838677525520325, 0.6843687295913696, 0.6848697662353516, 0.6853707432746887, 0.6858717203140259, 0.6863727569580078, 0.686873733997345, 0.6873747706413269, 0.6878757476806641, 0.6883767247200012, 0.6888777613639832, 0.6893787384033203, 0.6898797750473022, 0.6903807520866394, 0.6908817887306213, 0.6913827657699585, 0.6918837428092957, 0.6923847794532776, 0.6928857564926147, 0.6933867931365967, 0.6938877701759338, 0.6943888068199158, 0.6948897838592529, 0.6953907608985901, 0.695891797542572, 0.6963927745819092, 0.6968938112258911, 0.6973947882652283, 0.6978957653045654, 0.6983968019485474, 0.6988977789878845, 0.6993988156318665, 0.6998997926712036, 0.7004008293151855, 0.7009018063545227, 0.7014027833938599, 0.7019038200378418, 0.702404797077179, 0.7029058337211609, 0.703406810760498, 0.7039077877998352, 0.7044088244438171, 0.7049098014831543, 0.7054108381271362, 0.7059118151664734, 0.7064128518104553, 0.7069138288497925, 0.7074148058891296, 0.7079158425331116, 0.7084168195724487, 0.7089178562164307, 0.7094188332557678, 0.709919810295105, 0.7104208469390869, 0.7109218239784241, 0.711422860622406, 0.7119238376617432, 0.7124248743057251, 0.7129258513450623, 0.7134268283843994, 0.7139278650283813, 0.7144288420677185, 0.7149298787117004, 0.7154308557510376, 0.7159318923950195, 0.7164328694343567, 0.7169338464736938, 0.7174348831176758, 0.7179358601570129, 0.7184368968009949, 0.718937873840332, 0.7194388508796692, 0.7199398875236511, 0.7204408645629883, 0.7209419012069702, 0.7214428782463074, 0.7219439148902893, 0.7224448919296265, 0.7229458689689636, 0.7234469056129456, 0.7239478826522827, 0.7244489192962646, 0.7249498963356018, 0.725450873374939, 0.7259519100189209, 0.7264528870582581, 0.72695392370224, 0.7274549007415771, 0.7279559373855591, 0.7284569144248962, 0.7289578914642334, 0.7294589281082153, 0.7299599051475525, 0.7304609417915344, 0.7309619188308716, 0.7314629554748535, 0.7319639325141907, 0.7324649095535278, 0.7329659461975098, 0.7334669232368469, 0.7339679598808289, 0.734468936920166, 0.7349699139595032, 0.7354709506034851, 0.7359719276428223, 0.7364729642868042, 0.7369739413261414, 0.7374749779701233, 0.7379759550094604, 0.7384769320487976, 0.7389779686927795, 0.7394789457321167, 0.7399799823760986, 0.7404809594154358, 0.740981936454773, 0.7414829730987549, 0.741983950138092, 0.742484986782074, 0.7429859638214111, 0.7434870004653931, 0.7439879775047302, 0.7444889545440674, 0.7449899911880493, 0.7454909682273865, 0.7459920048713684, 0.7464929819107056, 0.7469939589500427, 0.7474949955940247, 0.7479959726333618, 0.7484970092773438, 0.7489979863166809, 0.7494990229606628, 0.75], "expected": [0.0, 0.002003925619646907, 0.004008117597550154, 0.006011974532157183, 0.008016199804842472, 0.010020074434578419, 0.01202429924160242, 0.01402827724814415, 0.016032353043556213, 0.01803663559257984, 0.02004064805805683, 0.022045083343982697, 0.02404923364520073, 0.02605343982577324, 0.028058042749762535, 0.03006233647465706, 0.032066892832517624, 0.03407135605812073, 0.036076176911592484, 0.03808077424764633, 0.04008548706769943, 0.042090415954589844, 0.04409532621502876, 0.0461004339158535, 0.04810550808906555, 0.05011054128408432, 0.052115969359874725, 0.054121341556310654, 0.05612697824835777, 0.05813254043459892, 0.06013846769928932, 0.06214429810643196, 0.0641501396894455, 0.06615642458200455, 0.06816259026527405, 0.07016918808221817, 0.0721755400300026, 0.0741821825504303, 0.07618912309408188, 0.07819601148366928, 0.08020339161157608, 0.08221058547496796, 0.08421815186738968, 0.08622574061155319, 0.08823344856500626, 0.09024160355329514, 0.09224964678287506, 0.09425821900367737, 0.09626667201519012, 0.09827551990747452, 0.10028433799743652, 0.10229342430830002, 0.10430289059877396, 0.10631240159273148, 0.10832227021455765, 0.11033226549625397, 0.11234238743782043, 0.11435294151306152, 0.11636348813772202, 0.11837456375360489, 0.12038561701774597, 0.12239716202020645, 0.12440867722034454, 0.12642055749893188, 0.12843281030654907, 0.13044510781764984, 0.1324579417705536, 0.13447080552577972, 0.13648389279842377, 0.1384975016117096, 0.14051121473312378, 0.14252541959285736, 0.1445396989583969, 0.14655445516109467, 0.1485692858695984, 0.1505843698978424, 0.15260009467601776, 0.1546158641576767, 0.15663215517997742, 0.1586485654115677, 0.16066548228263855, 0.16268250346183777, 0.16469989717006683, 0.1667177826166153, 0.1687358319759369, 0.17075443267822266, 0.17277318239212036, 0.17479227483272552, 0.17681188881397247, 0.17883172631263733, 0.18085215985774994, 0.1828726828098297, 0.18489380180835724, 0.1869150847196579, 0.1889367401599884, 0.19095894694328308, 0.19298139214515686, 0.19500446319580078, 0.19702766835689545, 0.19905127584934235, 0.20107556879520416, 0.2031000554561615, 0.2051251083612442, 0.20715034008026123, 0.20917631685733795, 0.2112024426460266, 0.2132290005683899, 0.21525625884532928, 0.21728363633155823, 0.21931178867816925, 0.221340149641037, 0.22336888313293457, 0.22539836168289185, 0.22742809355258942, 0.22945845127105713, 0.2314891368150711, 0.23352043330669403, 0.23555204272270203, 0.23758412897586823, 0.2396169751882553, 0.24165000021457672, 0.24368377029895782, 0.2457178831100464, 0.2477526068687439, 0.24978776276111603, 0.2518233060836792, 0.25385963916778564, 0.25589632987976074, 0.25793367624282837, 0.25997141003608704, 0.26200956106185913, 0.26404860615730286, 0.2660878896713257, 0.26812803745269775, 0.2701684832572937, 0.27220970392227173, 0.27425119280815125, 0.2762933075428009, 0.27833622694015503, 0.2803794741630554, 0.28242358565330505, 0.28446802496910095, 0.2865130603313446, 0.2885589003562927, 0.2906050980091095, 0.2926521897315979, 0.29469963908195496, 0.2967478632926941, 0.29879650473594666, 0.30084583163261414, 0.3028959333896637, 0.30494654178619385, 0.3069979250431061, 0.3090497851371765, 0.3111024796962738, 0.3131555914878845, 0.31520935893058777, 0.31726405024528503, 0.31931912899017334, 0.32137516140937805, 0.3234315514564514, 0.3254886269569397, 0.32754671573638916, 0.32960522174835205, 0.3316646218299866, 0.3337244987487793, 0.3357853293418884, 0.3378466069698334, 0.33990857005119324, 0.3419715166091919, 0.34403496980667114, 0.3460994064807892, 0.34816429018974304, 0.3502298593521118, 0.35229647159576416, 0.3543635904788971, 0.3564316928386688, 0.35850027203559875, 0.36056992411613464, 0.36263999342918396, 0.3647109568119049, 0.3667828142642975, 0.3688552677631378, 0.3709287941455841, 0.3730028569698334, 0.37507760524749756, 0.3771534860134125, 0.37922996282577515, 0.3813073933124542, 0.38338541984558105, 0.3854645788669586, 0.3875442445278168, 0.3896247148513794, 0.39170631766319275, 0.39378851652145386, 0.39587175846099854, 0.39795565605163574, 0.4000406265258789, 0.4021262228488922, 0.40421271324157715, 0.40630024671554565, 0.4083884656429291, 0.41047775745391846, 0.412567675113678, 0.4146585762500763, 0.41675055027008057, 0.41884317994117737, 0.4209369719028473, 0.42303141951560974, 0.4251269996166229, 0.4272233247756958, 0.42932048439979553, 0.43141889572143555, 0.4335179328918457, 0.43561822175979614, 0.4377192258834839, 0.4398210942745209, 0.4419242739677429, 0.4440280795097351, 0.4461331367492676, 0.4482388496398926, 0.45034584403038025, 0.4524536728858948, 0.45456233620643616, 0.4566722810268402, 0.45878300070762634, 0.46089500188827515, 0.46300771832466125, 0.46512144804000854, 0.4672364592552185, 0.4693523347377777, 0.47146937251091003, 0.4735872149467468, 0.47570642828941345, 0.477826327085495, 0.47994735836982727, 0.4820697009563446, 0.48419278860092163, 0.48631730675697327, 0.4884425699710846, 0.49056920409202576, 0.492696613073349, 0.49482518434524536, 0.49695509672164917, 0.49908584356307983, 0.5012179613113403, 0.5033509135246277, 0.5054850578308105, 0.5076205730438232, 0.509756863117218, 0.5118946433067322, 0.514033317565918, 0.5161733627319336, 0.5183143019676208, 0.5204564332962036, 0.5225999355316162, 0.52474445104599, 0.5268903374671936, 0.5290371179580688, 0.5311852097511292, 0.5333346724510193, 0.535485029220581, 0.537636935710907, 0.5397897958755493, 0.541944146156311, 0.5440994501113892, 0.5462559461593628, 0.5484139323234558, 0.5505729913711548, 0.5527335405349731, 0.5548951029777527, 0.5570580959320068, 0.5592221617698669, 0.5613874793052673, 0.5635544061660767, 0.5657223463058472, 0.5678918361663818, 0.5700623393058777, 0.5722341537475586, 0.5744075775146484, 0.5765820145606995, 0.5787580013275146, 0.5809351801872253, 0.5831138491630554, 0.585293710231781, 0.5874748826026917, 0.5896576046943665, 0.5918415188789368, 0.5940269827842712, 0.596213698387146, 0.5984017252922058, 0.6005913615226746, 0.6027821898460388, 0.6049746870994568, 0.6071683168411255, 0.6093636155128479, 0.6115601062774658, 0.6137579679489136, 0.6159575581550598, 0.6181583404541016, 0.6203608512878418, 0.6225646138191223, 0.6247697472572327, 0.6269766688346863, 0.6291847825050354, 0.631394624710083, 0.6336057186126709, 0.635818600654602, 0.6380326747894287, 0.6402483582496643, 0.6424657106399536, 0.6446844339370728, 0.6469048261642456, 0.6491265892982483, 0.6513501405715942, 0.6535750031471252, 0.6558014750480652, 0.6580297350883484, 0.6602592468261719, 0.6624906659126282, 0.6647233963012695, 0.6669577360153198, 0.6691939830780029, 0.6714315414428711, 0.6736710071563721, 0.6759117841720581, 0.6781545281410217, 0.6803985834121704, 0.6826443672180176, 0.6848920583724976, 0.6871411204338074, 0.6893921494483948, 0.691644549369812, 0.693898618221283, 0.6961547136306763, 0.6984122395515442, 0.7006717920303345, 0.7029327154159546, 0.7051956057548523, 0.7074599862098694, 0.7097261548042297, 0.7119943499565125, 0.7142640948295593, 0.716535747051239, 0.7188088893890381, 0.7210839986801147, 0.7233609557151794, 0.7256395220756531, 0.7279201745986938, 0.7302024364471436, 0.7324867248535156, 0.7347725033760071, 0.7370601892471313, 0.7393500804901123, 0.7416415214538574, 0.7439349293708801, 0.7462301850318909, 0.748527467250824, 0.750826358795166, 0.7531271576881409, 0.7554300427436829, 0.7577347159385681, 0.7600415349006653, 0.7623499631881714, 0.7646603584289551, 0.7669730186462402, 0.7692873477935791, 0.7716038823127747, 0.7739222049713135, 0.776242733001709, 0.778564989566803, 0.7808891534805298, 0.7832157015800476, 0.7855439782142639, 0.7878745198249817, 0.790206789970398, 0.7925412654876709, 0.7948779463768005, 0.7972164750099182, 0.7995573282241821, 0.8018999099731445, 0.8042449951171875, 0.8065917491912842, 0.8089407682418823, 0.8112921118736267, 0.8136453628540039, 0.8160009384155273, 0.8183583617210388, 0.8207183480262756, 0.8230801820755005, 0.825444221496582, 0.8278106451034546, 0.8301790356636047, 0.8325498700141907, 0.8349226713180542, 0.8372976779937744, 0.8396751880645752, 0.8420546650886536, 0.8444367051124573, 0.8468207120895386, 0.8492072820663452, 0.8515958189964294, 0.8539867401123047, 0.8563801646232605, 0.8587757349014282, 0.8611738085746765, 0.8635739684104919, 0.8659764528274536, 0.8683815598487854, 0.8707888126373291, 0.8731986284255981, 0.8756106495857239, 0.8780253529548645, 0.8804421424865723, 0.8828613758087158, 0.8852832317352295, 0.8877072930335999, 0.8901340961456299, 0.8925631642341614, 0.8949946165084839, 0.8974289298057556, 0.8998653292655945, 0.9023045301437378, 0.9047459959983826, 0.9071903228759766, 0.909636914730072, 0.912086009979248, 0.9145379662513733, 0.9169921875, 0.9194492697715759, 0.9219086766242981, 0.9243710041046143, 0.9268357157707214, 0.929302990436554, 0.9317731261253357, 0.9342457056045532, 0.9367212653160095, 0.9391991496086121, 0.9416797757148743, 0.94416344165802, 0.9466494917869568, 0.9491385817527771, 0.9516300559043884, 0.9541245698928833, 0.9566216468811035, 0.9591214060783386, 0.9616243243217468, 0.9641297459602356, 0.9666382670402527, 0.9691492319107056, 0.9716631770133972, 0.9741802215576172, 0.976699709892273, 0.9792225360870361, 0.9817478656768799, 0.9842764735221863, 0.986807644367218, 0.9893417954444885, 0.9918791651725769, 0.9944191575050354, 0.9969624876976013, 0.9995084404945374, 1.002057671546936, 1.0046097040176392, 1.007164716720581, 1.0097230672836304, 1.0122841596603394, 1.0148485898971558, 1.0174158811569214, 1.0199862718582153, 1.0225600004196167, 1.0251365900039673, 1.0277165174484253, 1.030299425125122, 1.0328857898712158, 1.0354750156402588, 1.03806734085083, 1.0406633615493774, 1.0432621240615845, 1.0458645820617676, 1.0484697818756104, 1.05107843875885, 1.0536906719207764, 1.0563057661056519, 1.058924674987793, 1.0615464448928833, 1.0641719102859497, 1.0668004751205444, 1.0694323778152466, 1.0720679759979248, 1.0747066736221313, 1.0773491859436035, 1.0799946784973145, 1.082643747329712, 1.0852965116500854, 1.0879524946212769, 1.0906122922897339, 1.0932753086090088, 1.0959421396255493, 1.0986123085021973]} \ No newline at end of file +{"x": [0.5, 0.5005009770393372, 0.5010020136833191, 0.5015029907226562, 0.5020040273666382, 0.5025050044059753, 0.5030060410499573, 0.5035070180892944, 0.5040079951286316, 0.5045090317726135, 0.5050100088119507, 0.5055110454559326, 0.5060120224952698, 0.5065129995346069, 0.5070140361785889, 0.507515013217926, 0.508016049861908, 0.5085170269012451, 0.509018063545227, 0.5095190405845642, 0.5100200176239014, 0.5105210542678833, 0.5110220313072205, 0.5115230679512024, 0.5120240449905396, 0.5125250220298767, 0.5130260586738586, 0.5135270357131958, 0.5140280723571777, 0.5145290493965149, 0.5150300860404968, 0.515531063079834, 0.5160320401191711, 0.5165330767631531, 0.5170340538024902, 0.5175350904464722, 0.5180360674858093, 0.5185370445251465, 0.5190380811691284, 0.5195390582084656, 0.5200400948524475, 0.5205410718917847, 0.5210421085357666, 0.5215430855751038, 0.5220440626144409, 0.5225450992584229, 0.52304607629776, 0.5235471129417419, 0.5240480899810791, 0.524549126625061, 0.5250501036643982, 0.5255510807037354, 0.5260521173477173, 0.5265530943870544, 0.5270541310310364, 0.5275551080703735, 0.5280560851097107, 0.5285571217536926, 0.5290580987930298, 0.5295591354370117, 0.5300601124763489, 0.5305611491203308, 0.531062126159668, 0.5315631031990051, 0.5320641398429871, 0.5325651168823242, 0.5330661535263062, 0.5335671305656433, 0.5340681076049805, 0.5345691442489624, 0.5350701212882996, 0.5355711579322815, 0.5360721349716187, 0.5365731716156006, 0.5370741486549377, 0.5375751256942749, 0.5380761623382568, 0.538577139377594, 0.5390781760215759, 0.5395791530609131, 0.540080189704895, 0.5405811667442322, 0.5410821437835693, 0.5415831804275513, 0.5420841574668884, 0.5425851941108704, 0.5430861711502075, 0.5435871481895447, 0.5440881848335266, 0.5445891618728638, 0.5450901985168457, 0.5455911755561829, 0.5460922122001648, 0.546593189239502, 0.5470941662788391, 0.547595202922821, 0.5480961799621582, 0.5485972166061401, 0.5490981936454773, 0.5495991706848145, 0.5501002073287964, 0.5506011843681335, 0.5511022210121155, 0.5516031980514526, 0.5521042346954346, 0.5526052117347717, 0.5531061887741089, 0.5536072254180908, 0.554108202457428, 0.5546092391014099, 0.5551102161407471, 0.5556111931800842, 0.5561122298240662, 0.5566132068634033, 0.5571142435073853, 0.5576152205467224, 0.5581162571907043, 0.5586172342300415, 0.5591182112693787, 0.5596192479133606, 0.5601202249526978, 0.5606212615966797, 0.5611222386360168, 0.5616232752799988, 0.5621242523193359, 0.5626252293586731, 0.563126266002655, 0.5636272430419922, 0.5641282796859741, 0.5646292567253113, 0.5651302337646484, 0.5656312704086304, 0.5661322474479675, 0.5666332840919495, 0.5671342611312866, 0.5676352977752686, 0.5681362748146057, 0.5686372518539429, 0.5691382884979248, 0.569639265537262, 0.5701403021812439, 0.570641279220581, 0.5711422562599182, 0.5716432929039001, 0.5721442699432373, 0.5726453065872192, 0.5731462836265564, 0.5736473202705383, 0.5741482973098755, 0.5746492743492126, 0.5751503109931946, 0.5756512880325317, 0.5761523246765137, 0.5766533017158508, 0.5771543383598328, 0.5776553153991699, 0.5781562924385071, 0.578657329082489, 0.5791583061218262, 0.5796593427658081, 0.5801603198051453, 0.5806612968444824, 0.5811623334884644, 0.5816633105278015, 0.5821643471717834, 0.5826653242111206, 0.5831663608551025, 0.5836673378944397, 0.5841683149337769, 0.5846693515777588, 0.585170328617096, 0.5856713652610779, 0.586172342300415, 0.5866733193397522, 0.5871743559837341, 0.5876753330230713, 0.5881763696670532, 0.5886773467063904, 0.5891783833503723, 0.5896793603897095, 0.5901803374290466, 0.5906813740730286, 0.5911823511123657, 0.5916833877563477, 0.5921843647956848, 0.592685341835022, 0.5931863784790039, 0.5936873555183411, 0.594188392162323, 0.5946893692016602, 0.5951904058456421, 0.5956913828849792, 0.5961923599243164, 0.5966933965682983, 0.5971943736076355, 0.5976954102516174, 0.5981963872909546, 0.5986974239349365, 0.5991984009742737, 0.5996993780136108, 0.6002004146575928, 0.6007013916969299, 0.6012024283409119, 0.601703405380249, 0.6022043824195862, 0.6027054190635681, 0.6032063961029053, 0.6037074327468872, 0.6042084097862244, 0.6047094464302063, 0.6052104234695435, 0.6057114005088806, 0.6062124371528625, 0.6067134141921997, 0.6072144508361816, 0.6077154278755188, 0.608216404914856, 0.6087174415588379, 0.609218418598175, 0.609719455242157, 0.6102204322814941, 0.6107214689254761, 0.6112224459648132, 0.6117234230041504, 0.6122244596481323, 0.6127254366874695, 0.6132264733314514, 0.6137274503707886, 0.6142284274101257, 0.6147294640541077, 0.6152304410934448, 0.6157314777374268, 0.6162324547767639, 0.6167334914207458, 0.617234468460083, 0.6177354454994202, 0.6182364821434021, 0.6187374591827393, 0.6192384958267212, 0.6197394728660583, 0.6202405095100403, 0.6207414865493774, 0.6212424635887146, 0.6217435002326965, 0.6222444772720337, 0.6227455139160156, 0.6232464909553528, 0.6237474679946899, 0.6242485046386719, 0.624749481678009, 0.625250518321991, 0.6257514953613281, 0.6262525320053101, 0.6267535090446472, 0.6272544860839844, 0.6277555227279663, 0.6282564997673035, 0.6287575364112854, 0.6292585134506226, 0.6297594904899597, 0.6302605271339417, 0.6307615041732788, 0.6312625408172607, 0.6317635178565979, 0.6322645545005798, 0.632765531539917, 0.6332665085792542, 0.6337675452232361, 0.6342685222625732, 0.6347695589065552, 0.6352705359458923, 0.6357715725898743, 0.6362725496292114, 0.6367735266685486, 0.6372745633125305, 0.6377755403518677, 0.6382765769958496, 0.6387775540351868, 0.6392785310745239, 0.6397795677185059, 0.640280544757843, 0.640781581401825, 0.6412825584411621, 0.641783595085144, 0.6422845721244812, 0.6427855491638184, 0.6432865858078003, 0.6437875628471375, 0.6442885994911194, 0.6447895765304565, 0.6452905535697937, 0.6457915902137756, 0.6462925672531128, 0.6467936038970947, 0.6472945809364319, 0.6477956175804138, 0.648296594619751, 0.6487975716590881, 0.6492986083030701, 0.6497995853424072, 0.6503006219863892, 0.6508015990257263, 0.6513025760650635, 0.6518036127090454, 0.6523045897483826, 0.6528056263923645, 0.6533066034317017, 0.6538076400756836, 0.6543086171150208, 0.6548095941543579, 0.6553106307983398, 0.655811607837677, 0.6563126444816589, 0.6568136215209961, 0.657314658164978, 0.6578156352043152, 0.6583166122436523, 0.6588176488876343, 0.6593186259269714, 0.6598196625709534, 0.6603206396102905, 0.6608216166496277, 0.6613226532936096, 0.6618236303329468, 0.6623246669769287, 0.6628256440162659, 0.6633266806602478, 0.663827657699585, 0.6643286347389221, 0.664829671382904, 0.6653306484222412, 0.6658316850662231, 0.6663326621055603, 0.6668336391448975, 0.6673346757888794, 0.6678356528282166, 0.6683366894721985, 0.6688376665115356, 0.6693387031555176, 0.6698396801948547, 0.6703406572341919, 0.6708416938781738, 0.671342670917511, 0.6718437075614929, 0.6723446846008301, 0.6728456616401672, 0.6733466982841492, 0.6738476753234863, 0.6743487119674683, 0.6748496890068054, 0.6753507256507874, 0.6758517026901245, 0.6763526797294617, 0.6768537163734436, 0.6773546934127808, 0.6778557300567627, 0.6783567070960999, 0.6788577437400818, 0.679358720779419, 0.6798596978187561, 0.680360734462738, 0.6808617115020752, 0.6813627481460571, 0.6818637251853943, 0.6823647022247314, 0.6828657388687134, 0.6833667159080505, 0.6838677525520325, 0.6843687295913696, 0.6848697662353516, 0.6853707432746887, 0.6858717203140259, 0.6863727569580078, 0.686873733997345, 0.6873747706413269, 0.6878757476806641, 0.6883767247200012, 0.6888777613639832, 0.6893787384033203, 0.6898797750473022, 0.6903807520866394, 0.6908817887306213, 0.6913827657699585, 0.6918837428092957, 0.6923847794532776, 0.6928857564926147, 0.6933867931365967, 0.6938877701759338, 0.6943888068199158, 0.6948897838592529, 0.6953907608985901, 0.695891797542572, 0.6963927745819092, 0.6968938112258911, 0.6973947882652283, 0.6978957653045654, 0.6983968019485474, 0.6988977789878845, 0.6993988156318665, 0.6998997926712036, 0.7004008293151855, 0.7009018063545227, 0.7014027833938599, 0.7019038200378418, 0.702404797077179, 0.7029058337211609, 0.703406810760498, 0.7039077877998352, 0.7044088244438171, 0.7049098014831543, 0.7054108381271362, 0.7059118151664734, 0.7064128518104553, 0.7069138288497925, 0.7074148058891296, 0.7079158425331116, 0.7084168195724487, 0.7089178562164307, 0.7094188332557678, 0.709919810295105, 0.7104208469390869, 0.7109218239784241, 0.711422860622406, 0.7119238376617432, 0.7124248743057251, 0.7129258513450623, 0.7134268283843994, 0.7139278650283813, 0.7144288420677185, 0.7149298787117004, 0.7154308557510376, 0.7159318923950195, 0.7164328694343567, 0.7169338464736938, 0.7174348831176758, 0.7179358601570129, 0.7184368968009949, 0.718937873840332, 0.7194388508796692, 0.7199398875236511, 0.7204408645629883, 0.7209419012069702, 0.7214428782463074, 0.7219439148902893, 0.7224448919296265, 0.7229458689689636, 0.7234469056129456, 0.7239478826522827, 0.7244489192962646, 0.7249498963356018, 0.725450873374939, 0.7259519100189209, 0.7264528870582581, 0.72695392370224, 0.7274549007415771, 0.7279559373855591, 0.7284569144248962, 0.7289578914642334, 0.7294589281082153, 0.7299599051475525, 0.7304609417915344, 0.7309619188308716, 0.7314629554748535, 0.7319639325141907, 0.7324649095535278, 0.7329659461975098, 0.7334669232368469, 0.7339679598808289, 0.734468936920166, 0.7349699139595032, 0.7354709506034851, 0.7359719276428223, 0.7364729642868042, 0.7369739413261414, 0.7374749779701233, 0.7379759550094604, 0.7384769320487976, 0.7389779686927795, 0.7394789457321167, 0.7399799823760986, 0.7404809594154358, 0.740981936454773, 0.7414829730987549, 0.741983950138092, 0.742484986782074, 0.7429859638214111, 0.7434870004653931, 0.7439879775047302, 0.7444889545440674, 0.7449899911880493, 0.7454909682273865, 0.7459920048713684, 0.7464929819107056, 0.7469939589500427, 0.7474949955940247, 0.7479959726333618, 0.7484970092773438, 0.7489979863166809, 0.7494990229606628, 0.75], "expected": [0.0, 0.002003925619646907, 0.004008117597550154, 0.006011974532157183, 0.008016199804842472, 0.010020074434578419, 0.01202429924160242, 0.01402827724814415, 0.016032353043556213, 0.01803663559257984, 0.02004064805805683, 0.022045083343982697, 0.02404923364520073, 0.02605343982577324, 0.028058042749762535, 0.03006233647465706, 0.032066892832517624, 0.03407135605812073, 0.036076176911592484, 0.03808077424764633, 0.04008548706769943, 0.042090415954589844, 0.04409532621502876, 0.0461004339158535, 0.04810550808906555, 0.05011054128408432, 0.052115969359874725, 0.054121341556310654, 0.05612697824835777, 0.05813254043459892, 0.06013846769928932, 0.06214429810643196, 0.0641501396894455, 0.06615642458200455, 0.06816259026527405, 0.07016918808221817, 0.0721755400300026, 0.0741821825504303, 0.07618912309408188, 0.07819601148366928, 0.08020339161157608, 0.08221058547496796, 0.08421815186738968, 0.08622574061155319, 0.08823344856500626, 0.09024160355329514, 0.09224964678287506, 0.09425821900367737, 0.09626667201519012, 0.09827551990747452, 0.10028433799743652, 0.10229342430830002, 0.10430289059877396, 0.10631240159273148, 0.10832227021455765, 0.11033226549625397, 0.11234238743782043, 0.11435294151306152, 0.11636348813772202, 0.11837456375360489, 0.12038561701774597, 0.12239716202020645, 0.12440867722034454, 0.12642055749893188, 0.12843281030654907, 0.13044510781764984, 0.1324579417705536, 0.13447080552577972, 0.13648389279842377, 0.1384975016117096, 0.14051121473312378, 0.14252541959285736, 0.1445396989583969, 0.14655445516109467, 0.1485692858695984, 0.1505843698978424, 0.15260009467601776, 0.1546158641576767, 0.15663215517997742, 0.1586485654115677, 0.16066548228263855, 0.16268250346183777, 0.16469989717006683, 0.1667177826166153, 0.1687358319759369, 0.17075443267822266, 0.17277318239212036, 0.17479227483272552, 0.17681188881397247, 0.17883172631263733, 0.18085215985774994, 0.1828726828098297, 0.18489380180835724, 0.1869150847196579, 0.1889367401599884, 0.19095894694328308, 0.19298139214515686, 0.19500446319580078, 0.19702766835689545, 0.19905127584934235, 0.20107556879520416, 0.2031000554561615, 0.2051251083612442, 0.20715034008026123, 0.20917631685733795, 0.2112024426460266, 0.2132290005683899, 0.21525625884532928, 0.21728363633155823, 0.21931178867816925, 0.221340149641037, 0.22336888313293457, 0.22539836168289185, 0.22742809355258942, 0.22945845127105713, 0.2314891368150711, 0.23352043330669403, 0.23555204272270203, 0.23758412897586823, 0.2396169751882553, 0.24165000021457672, 0.24368377029895782, 0.2457178831100464, 0.2477526068687439, 0.24978776276111603, 0.2518233060836792, 0.25385963916778564, 0.25589632987976074, 0.25793367624282837, 0.25997141003608704, 0.26200956106185913, 0.26404860615730286, 0.2660878896713257, 0.26812803745269775, 0.2701684832572937, 0.27220970392227173, 0.27425119280815125, 0.2762933075428009, 0.27833622694015503, 0.2803794741630554, 0.28242358565330505, 0.28446802496910095, 0.2865130603313446, 0.2885589003562927, 0.2906050980091095, 0.2926521897315979, 0.29469963908195496, 0.2967478632926941, 0.29879650473594666, 0.30084583163261414, 0.3028959333896637, 0.30494654178619385, 0.3069979250431061, 0.3090497851371765, 0.3111024796962738, 0.3131555914878845, 0.31520935893058777, 0.31726405024528503, 0.31931912899017334, 0.32137516140937805, 0.3234315514564514, 0.3254886269569397, 0.32754671573638916, 0.32960522174835205, 0.3316646218299866, 0.3337244987487793, 0.3357853293418884, 0.3378466069698334, 0.33990857005119324, 0.3419715166091919, 0.34403496980667114, 0.3460994064807892, 0.34816429018974304, 0.3502298593521118, 0.35229647159576416, 0.3543635904788971, 0.3564316928386688, 0.35850027203559875, 0.36056992411613464, 0.36263999342918396, 0.3647109568119049, 0.3667828142642975, 0.3688552677631378, 0.3709287941455841, 0.3730028569698334, 0.37507760524749756, 0.3771534860134125, 0.37922996282577515, 0.3813073933124542, 0.38338541984558105, 0.3854645788669586, 0.3875442445278168, 0.3896247148513794, 0.39170631766319275, 0.39378851652145386, 0.39587175846099854, 0.39795565605163574, 0.4000406265258789, 0.4021262228488922, 0.40421271324157715, 0.40630024671554565, 0.4083884656429291, 0.41047775745391846, 0.412567675113678, 0.4146585762500763, 0.41675055027008057, 0.41884317994117737, 0.4209369719028473, 0.42303141951560974, 0.4251269996166229, 0.4272233247756958, 0.42932048439979553, 0.43141889572143555, 0.4335179328918457, 0.43561822175979614, 0.4377192258834839, 0.4398210942745209, 0.4419242739677429, 0.4440280795097351, 0.4461331367492676, 0.4482388496398926, 0.45034584403038025, 0.4524536728858948, 0.45456233620643616, 0.4566722810268402, 0.45878300070762634, 0.46089500188827515, 0.46300771832466125, 0.46512144804000854, 0.4672364592552185, 0.4693523347377777, 0.47146937251091003, 0.4735872149467468, 0.47570642828941345, 0.477826327085495, 0.47994735836982727, 0.4820697009563446, 0.48419278860092163, 0.48631730675697327, 0.4884425699710846, 0.49056920409202576, 0.492696613073349, 0.49482518434524536, 0.49695509672164917, 0.49908584356307983, 0.5012179613113403, 0.5033509135246277, 0.5054850578308105, 0.5076205730438232, 0.509756863117218, 0.5118946433067322, 0.514033317565918, 0.5161733627319336, 0.5183143019676208, 0.5204564332962036, 0.5225999355316162, 0.52474445104599, 0.5268903374671936, 0.5290371179580688, 0.5311852097511292, 0.5333346724510193, 0.535485029220581, 0.537636935710907, 0.5397897958755493, 0.541944146156311, 0.5440994501113892, 0.5462559461593628, 0.5484139323234558, 0.5505729913711548, 0.5527335405349731, 0.5548951029777527, 0.5570580959320068, 0.5592221617698669, 0.5613874793052673, 0.5635544061660767, 0.5657223463058472, 0.5678918361663818, 0.5700623393058777, 0.5722341537475586, 0.5744075775146484, 0.5765820145606995, 0.5787580013275146, 0.5809351801872253, 0.5831138491630554, 0.585293710231781, 0.5874748826026917, 0.5896576046943665, 0.5918415188789368, 0.5940269827842712, 0.596213698387146, 0.5984017252922058, 0.6005913615226746, 0.6027821898460388, 0.6049746870994568, 0.6071683168411255, 0.6093636155128479, 0.6115601062774658, 0.6137579679489136, 0.6159575581550598, 0.6181583404541016, 0.6203608512878418, 0.6225646138191223, 0.6247697472572327, 0.6269766688346863, 0.6291847825050354, 0.631394624710083, 0.6336057186126709, 0.635818600654602, 0.6380326747894287, 0.6402483582496643, 0.6424657106399536, 0.6446844339370728, 0.6469048261642456, 0.6491265892982483, 0.6513501405715942, 0.6535750031471252, 0.6558014750480652, 0.6580297350883484, 0.6602592468261719, 0.6624906659126282, 0.6647233963012695, 0.6669577360153198, 0.6691939830780029, 0.6714315414428711, 0.6736710071563721, 0.6759117841720581, 0.6781545281410217, 0.6803985834121704, 0.6826443672180176, 0.6848920583724976, 0.6871411204338074, 0.6893921494483948, 0.691644549369812, 0.693898618221283, 0.6961547136306763, 0.6984122395515442, 0.7006717920303345, 0.7029327154159546, 0.7051956057548523, 0.7074599862098694, 0.7097261548042297, 0.7119943499565125, 0.7142640948295593, 0.716535747051239, 0.7188088893890381, 0.7210839986801147, 0.7233609557151794, 0.7256395220756531, 0.7279201745986938, 0.7302024364471436, 0.7324867248535156, 0.7347725033760071, 0.7370601892471313, 0.7393500804901123, 0.7416415214538574, 0.7439349293708801, 0.7462301850318909, 0.748527467250824, 0.750826358795166, 0.7531271576881409, 0.7554300427436829, 0.7577347159385681, 0.7600415349006653, 0.7623499631881714, 0.7646603584289551, 0.7669730186462402, 0.7692873477935791, 0.7716038823127747, 0.7739222049713135, 0.776242733001709, 0.778564989566803, 0.7808891534805298, 0.7832157015800476, 0.7855439782142639, 0.7878745198249817, 0.790206789970398, 0.7925412654876709, 0.7948779463768005, 0.7972164750099182, 0.7995573282241821, 0.8018999099731445, 0.8042449951171875, 0.8065917491912842, 0.8089407682418823, 0.8112921118736267, 0.8136453628540039, 0.8160009384155273, 0.8183583617210388, 0.8207183480262756, 0.8230801820755005, 0.825444221496582, 0.8278106451034546, 0.8301790356636047, 0.8325498700141907, 0.8349226713180542, 0.8372976779937744, 0.8396751880645752, 0.8420546650886536, 0.8444367051124573, 0.8468207120895386, 0.8492072820663452, 0.8515958189964294, 0.8539867401123047, 0.8563801646232605, 0.8587757349014282, 0.8611738085746765, 0.8635739684104919, 0.8659764528274536, 0.8683815598487854, 0.8707888126373291, 0.8731986284255981, 0.8756106495857239, 0.8780253529548645, 0.8804421424865723, 0.8828613758087158, 0.8852832317352295, 0.8877072930335999, 0.8901340961456299, 0.8925631642341614, 0.8949946165084839, 0.8974289298057556, 0.8998653292655945, 0.9023045301437378, 0.9047459959983826, 0.9071903228759766, 0.909636914730072, 0.912086009979248, 0.9145379662513733, 0.9169921875, 0.9194492697715759, 0.9219086766242981, 0.9243710041046143, 0.9268357157707214, 0.929302990436554, 0.9317731261253357, 0.9342457056045532, 0.9367212653160095, 0.9391991496086121, 0.9416797757148743, 0.94416344165802, 0.9466494917869568, 0.9491385817527771, 0.9516300559043884, 0.9541245698928833, 0.9566216468811035, 0.9591214060783386, 0.9616243243217468, 0.9641297459602356, 0.9666382670402527, 0.9691492319107056, 0.9716631770133972, 0.9741802215576172, 0.976699709892273, 0.9792225360870361, 0.9817478656768799, 0.9842764735221863, 0.986807644367218, 0.9893417954444885, 0.9918791651725769, 0.9944191575050354, 0.9969624876976013, 0.9995084404945374, 1.002057671546936, 1.0046097040176392, 1.007164716720581, 1.0097230672836304, 1.0122841596603394, 1.0148485898971558, 1.0174158811569214, 1.0199862718582153, 1.0225600004196167, 1.0251365900039673, 1.0277165174484253, 1.030299425125122, 1.0328857898712158, 1.0354750156402588, 1.03806734085083, 1.0406633615493774, 1.0432621240615845, 1.0458645820617676, 1.0484697818756104, 1.05107843875885, 1.0536906719207764, 1.0563057661056519, 1.058924674987793, 1.0615464448928833, 1.0641719102859497, 1.0668004751205444, 1.0694323778152466, 1.0720679759979248, 1.0747066736221313, 1.0773491859436035, 1.0799946784973145, 1.082643747329712, 1.0852965116500854, 1.0879524946212769, 1.0906122922897339, 1.0932753086090088, 1.0959421396255493, 1.0986123085021973]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json index 02e8cf0100d0..aed9004dabd3 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json @@ -1 +1 @@ -{"x": [0.25, 0.2504809498786926, 0.25096192955970764, 0.25144287943840027, 0.2519238591194153, 0.2524048089981079, 0.25288575887680054, 0.25336673855781555, 0.2538476884365082, 0.2543286681175232, 0.2548096179962158, 0.25529056787490845, 0.25577154755592346, 0.2562524974346161, 0.2567334771156311, 0.25721442699432373, 0.25769537687301636, 0.25817635655403137, 0.258657306432724, 0.259138286113739, 0.25961923599243164, 0.26010018587112427, 0.2605811655521393, 0.2610621154308319, 0.2615430951118469, 0.26202404499053955, 0.26250502467155457, 0.2629859745502472, 0.2634669244289398, 0.26394790410995483, 0.26442885398864746, 0.2649098336696625, 0.2653907835483551, 0.26587173342704773, 0.26635271310806274, 0.26683366298675537, 0.2673146426677704, 0.267795592546463, 0.26827654242515564, 0.26875752210617065, 0.2692384719848633, 0.2697194516658783, 0.2702004015445709, 0.27068135142326355, 0.27116233110427856, 0.2716432809829712, 0.2721242606639862, 0.27260521054267883, 0.27308616042137146, 0.2735671401023865, 0.2740480899810791, 0.2745290696620941, 0.27501001954078674, 0.27549096941947937, 0.2759719491004944, 0.276452898979187, 0.276933878660202, 0.27741482853889465, 0.2778957784175873, 0.2783767580986023, 0.2788577079772949, 0.27933868765830994, 0.27981963753700256, 0.2803005874156952, 0.2807815670967102, 0.28126251697540283, 0.28174349665641785, 0.2822244465351105, 0.2827053964138031, 0.2831863760948181, 0.28366732597351074, 0.28414830565452576, 0.2846292555332184, 0.2851102352142334, 0.285591185092926, 0.28607213497161865, 0.28655311465263367, 0.2870340645313263, 0.2875150442123413, 0.28799599409103394, 0.28847694396972656, 0.2889579236507416, 0.2894388735294342, 0.2899198532104492, 0.29040080308914185, 0.2908817529678345, 0.2913627326488495, 0.2918436825275421, 0.29232466220855713, 0.29280561208724976, 0.2932865619659424, 0.2937675416469574, 0.29424849152565, 0.29472947120666504, 0.29521042108535767, 0.2956913709640503, 0.2961723506450653, 0.29665330052375793, 0.29713428020477295, 0.2976152300834656, 0.2980961799621582, 0.2985771596431732, 0.29905810952186584, 0.29953908920288086, 0.3000200390815735, 0.3005009889602661, 0.30098196864128113, 0.30146291851997375, 0.30194389820098877, 0.3024248480796814, 0.302905797958374, 0.30338677763938904, 0.30386772751808167, 0.3043487071990967, 0.3048296570777893, 0.30531060695648193, 0.30579158663749695, 0.3062725365161896, 0.3067535161972046, 0.3072344660758972, 0.30771544575691223, 0.30819639563560486, 0.3086773455142975, 0.3091583251953125, 0.3096392750740051, 0.31012025475502014, 0.31060120463371277, 0.3110821545124054, 0.3115631341934204, 0.31204408407211304, 0.31252506375312805, 0.3130060136318207, 0.3134869635105133, 0.3139679431915283, 0.31444889307022095, 0.31492987275123596, 0.3154108226299286, 0.3158917725086212, 0.31637275218963623, 0.31685370206832886, 0.31733468174934387, 0.3178156316280365, 0.3182965815067291, 0.31877756118774414, 0.31925851106643677, 0.3197394907474518, 0.3202204406261444, 0.32070139050483704, 0.32118237018585205, 0.3216633200645447, 0.3221442997455597, 0.3226252496242523, 0.32310619950294495, 0.32358717918395996, 0.3240681290626526, 0.3245491087436676, 0.32503005862236023, 0.32551100850105286, 0.32599198818206787, 0.3264729380607605, 0.3269539177417755, 0.32743486762046814, 0.32791581749916077, 0.3283967971801758, 0.3288777470588684, 0.3293587267398834, 0.32983967661857605, 0.3303206264972687, 0.3308016061782837, 0.3312825560569763, 0.33176353573799133, 0.33224448561668396, 0.332725465297699, 0.3332064151763916, 0.33368736505508423, 0.33416834473609924, 0.33464929461479187, 0.3351302742958069, 0.3356112241744995, 0.33609217405319214, 0.33657315373420715, 0.3370541036128998, 0.3375350832939148, 0.3380160331726074, 0.33849698305130005, 0.33897796273231506, 0.3394589126110077, 0.3399398922920227, 0.34042084217071533, 0.34090179204940796, 0.341382771730423, 0.3418637216091156, 0.3423447012901306, 0.34282565116882324, 0.34330660104751587, 0.3437875807285309, 0.3442685306072235, 0.3447495102882385, 0.34523046016693115, 0.3457114100456238, 0.3461923897266388, 0.3466733396053314, 0.34715431928634644, 0.34763526916503906, 0.3481162190437317, 0.3485971987247467, 0.34907814860343933, 0.34955912828445435, 0.350040078163147, 0.3505210280418396, 0.3510020077228546, 0.35148295760154724, 0.35196393728256226, 0.3524448871612549, 0.3529258370399475, 0.3534068167209625, 0.35388776659965515, 0.35436874628067017, 0.3548496961593628, 0.3553306758403778, 0.35581162571907043, 0.35629257559776306, 0.3567735552787781, 0.3572545051574707, 0.3577354848384857, 0.35821643471717834, 0.35869738459587097, 0.359178364276886, 0.3596593141555786, 0.36014029383659363, 0.36062124371528625, 0.3611021935939789, 0.3615831732749939, 0.3620641231536865, 0.36254510283470154, 0.36302605271339417, 0.3635070025920868, 0.3639879822731018, 0.36446893215179443, 0.36494991183280945, 0.3654308617115021, 0.3659118115901947, 0.3663927912712097, 0.36687374114990234, 0.36735472083091736, 0.36783567070961, 0.3683166205883026, 0.3687976002693176, 0.36927855014801025, 0.36975952982902527, 0.3702404797077179, 0.3707214295864105, 0.37120240926742554, 0.37168335914611816, 0.3721643388271332, 0.3726452887058258, 0.37312623858451843, 0.37360721826553345, 0.3740881681442261, 0.3745691478252411, 0.3750500977039337, 0.37553104758262634, 0.37601202726364136, 0.376492977142334, 0.376973956823349, 0.3774549067020416, 0.37793588638305664, 0.37841683626174927, 0.3788977861404419, 0.3793787658214569, 0.37985971570014954, 0.38034069538116455, 0.3808216452598572, 0.3813025951385498, 0.3817835748195648, 0.38226452469825745, 0.38274550437927246, 0.3832264542579651, 0.3837074041366577, 0.38418838381767273, 0.38466933369636536, 0.38515031337738037, 0.385631263256073, 0.3861122131347656, 0.38659319281578064, 0.38707414269447327, 0.3875551223754883, 0.3880360722541809, 0.38851702213287354, 0.38899800181388855, 0.3894789516925812, 0.3899599313735962, 0.3904408812522888, 0.39092183113098145, 0.39140281081199646, 0.3918837606906891, 0.3923647403717041, 0.39284569025039673, 0.39332664012908936, 0.39380761981010437, 0.394288569688797, 0.394769549369812, 0.39525049924850464, 0.39573144912719727, 0.3962124288082123, 0.3966933786869049, 0.3971743583679199, 0.39765530824661255, 0.3981362581253052, 0.3986172378063202, 0.3990981876850128, 0.39957916736602783, 0.40006011724472046, 0.4005410969257355, 0.4010220468044281, 0.4015029966831207, 0.40198397636413574, 0.40246492624282837, 0.4029459059238434, 0.403426855802536, 0.40390780568122864, 0.40438878536224365, 0.4048697352409363, 0.4053507149219513, 0.4058316648006439, 0.40631261467933655, 0.40679359436035156, 0.4072745442390442, 0.4077555239200592, 0.40823647379875183, 0.40871742367744446, 0.4091984033584595, 0.4096793532371521, 0.4101603329181671, 0.41064128279685974, 0.41112223267555237, 0.4116032123565674, 0.41208416223526, 0.412565141916275, 0.41304609179496765, 0.4135270416736603, 0.4140080213546753, 0.4144889712333679, 0.41496995091438293, 0.41545090079307556, 0.4159318506717682, 0.4164128303527832, 0.41689378023147583, 0.41737475991249084, 0.41785570979118347, 0.4183366596698761, 0.4188176393508911, 0.41929858922958374, 0.41977956891059875, 0.4202605187892914, 0.420741468667984, 0.421222448348999, 0.42170339822769165, 0.42218437790870667, 0.4226653277873993, 0.4231463074684143, 0.42362725734710693, 0.42410820722579956, 0.4245891869068146, 0.4250701367855072, 0.4255511164665222, 0.42603206634521484, 0.42651301622390747, 0.4269939959049225, 0.4274749457836151, 0.4279559254646301, 0.42843687534332275, 0.4289178252220154, 0.4293988049030304, 0.429879754781723, 0.43036073446273804, 0.43084168434143066, 0.4313226342201233, 0.4318036139011383, 0.43228456377983093, 0.43276554346084595, 0.4332464933395386, 0.4337274432182312, 0.4342084228992462, 0.43468937277793884, 0.43517035245895386, 0.4356513023376465, 0.4361322522163391, 0.4366132318973541, 0.43709418177604675, 0.43757516145706177, 0.4380561113357544, 0.438537061214447, 0.43901804089546204, 0.43949899077415466, 0.4399799704551697, 0.4404609203338623, 0.44094187021255493, 0.44142284989356995, 0.4419037997722626, 0.4423847794532776, 0.4428657293319702, 0.44334667921066284, 0.44382765889167786, 0.4443086087703705, 0.4447895884513855, 0.4452705383300781, 0.44575148820877075, 0.44623246788978577, 0.4467134177684784, 0.4471943974494934, 0.44767534732818604, 0.44815632700920105, 0.4486372768878937, 0.4491182267665863, 0.4495992064476013, 0.45008015632629395, 0.45056113600730896, 0.4510420858860016, 0.4515230357646942, 0.45200401544570923, 0.45248496532440186, 0.45296594500541687, 0.4534468948841095, 0.4539278447628021, 0.45440882444381714, 0.45488977432250977, 0.4553707540035248, 0.4558517038822174, 0.45633265376091003, 0.45681363344192505, 0.4572945833206177, 0.4577755630016327, 0.4582565128803253, 0.45873746275901794, 0.45921844244003296, 0.4596993923187256, 0.4601803719997406, 0.4606613218784332, 0.46114227175712585, 0.46162325143814087, 0.4621042013168335, 0.4625851809978485, 0.46306613087654114, 0.46354708075523376, 0.4640280604362488, 0.4645090103149414, 0.4649899899959564, 0.46547093987464905, 0.4659518897533417, 0.4664328694343567, 0.4669138193130493, 0.46739479899406433, 0.46787574887275696, 0.4683566987514496, 0.4688376784324646, 0.4693186283111572, 0.46979960799217224, 0.47028055787086487, 0.4707615375518799, 0.4712424874305725, 0.47172343730926514, 0.47220441699028015, 0.4726853668689728, 0.4731663465499878, 0.4736472964286804, 0.47412824630737305, 0.47460922598838806, 0.4750901758670807, 0.4755711555480957, 0.47605210542678833, 0.47653305530548096, 0.47701403498649597, 0.4774949848651886, 0.4779759645462036, 0.47845691442489624, 0.47893786430358887, 0.4794188439846039, 0.4798997938632965, 0.4803807735443115, 0.48086172342300415, 0.4813426733016968, 0.4818236529827118, 0.4823046028614044, 0.48278558254241943, 0.48326653242111206, 0.4837474822998047, 0.4842284619808197, 0.48470941185951233, 0.48519039154052734, 0.48567134141921997, 0.4861522912979126, 0.4866332709789276, 0.48711422085762024, 0.48759520053863525, 0.4880761504173279, 0.4885571002960205, 0.4890380799770355, 0.48951902985572815, 0.49000000953674316], "expected": [-1.0986123085021973, -1.0960488319396973, -1.0934885740280151, -1.0909316539764404, -1.0883779525756836, -1.0858274698257446, -1.0832802057266235, -1.0807361602783203, -1.078195333480835, -1.0756574869155884, -1.0731230974197388, -1.0705918073654175, -1.068063497543335, -1.0655382871627808, -1.0630161762237549, -1.0604972839355469, -1.0579814910888672, -1.0554686784744263, -1.0529589653015137, -1.0504521131515503, -1.0479484796524048, -1.0454479455947876, -1.04295015335083, -1.0404554605484009, -1.0379637479782104, -1.0354750156402588, -1.0329890251159668, -1.0305062532424927, -1.0280262231826782, -1.0255491733551025, -1.023074984550476, -1.0206036567687988, -1.0181353092193604, -1.0156697034835815, -1.013206958770752, -1.0107470750808716, -1.0082899332046509, -1.005835771560669, -1.0033842325210571, -1.0009355545043945, -0.9984896779060364, -0.9960463643074036, -0.9936060905456543, -0.9911683797836304, -0.9887334108352661, -0.9863011837005615, -0.9838714599609375, -0.981444776058197, -0.9790205955505371, -0.9765989780426025, -0.9741801619529724, -0.9717638492584229, -0.9693503379821777, -0.9669393301010132, -0.964530885219574, -0.9621252417564392, -0.9597218632698059, -0.9573213458061218, -0.9549233317375183, -0.9525277018547058, -0.950134813785553, -0.9477442502975464, -0.9453564882278442, -0.9429709911346436, -0.940588116645813, -0.938207745552063, -0.9358296990394592, -0.9334542751312256, -0.931081235408783, -0.9287105798721313, -0.9263424873352051, -0.923976719379425, -0.9216134548187256, -0.9192524552345276, -0.9168940186500549, -0.9145379662513733, -0.9121840596199036, -0.9098328351974487, -0.9074836373329163, -0.9051370024681091, -0.9027926921844482, -0.9004504680633545, -0.8981108665466309, -0.8957733511924744, -0.8934382796287537, -0.8911054134368896, -0.8887747526168823, -0.8864465951919556, -0.8841204047203064, -0.881796658039093, -0.8794751167297363, -0.877155601978302, -0.8748385906219482, -0.8725236058235168, -0.8702108860015869, -0.8679003715515137, -0.8655919432640076, -0.8632858395576477, -0.8609817028045654, -0.8586798906326294, -0.8563801646232605, -0.854082465171814, -0.8517870903015137, -0.8494936227798462, -0.8472024202346802, -0.8449133634567261, -0.8426260948181152, -0.840341329574585, -0.8380582332611084, -0.8357774615287781, -0.8334986567497253, -0.8312218189239502, -0.8289471864700317, -0.8266744017601013, -0.8244037628173828, -0.8221352100372314, -0.8198683857917786, -0.8176038861274719, -0.8153411149978638, -0.8130804300308228, -0.8108216524124146, -0.8085648417472839, -0.8063101172447205, -0.8040571212768555, -0.8018062710762024, -0.7995572090148926, -0.7973100543022156, -0.7950650453567505, -0.7928215861320496, -0.7905802726745605, -0.7883407473564148, -0.7861031293869019, -0.7838674783706665, -0.7816334366798401, -0.7794014811515808, -0.77717125415802, -0.7749428749084473, -0.7727164626121521, -0.7704917192459106, -0.768268883228302, -0.7660477757453918, -0.763828456401825, -0.7616111636161804, -0.7593953013420105, -0.7571814656257629, -0.7549692988395691, -0.7527589201927185, -0.750550389289856, -0.7483434081077576, -0.746138334274292, -0.7439349293708801, -0.741733193397522, -0.7395334243774414, -0.7373350262641907, -0.735138475894928, -0.7329436540603638, -0.7307504415512085, -0.7285590767860413, -0.7263692021369934, -0.7241811156272888, -0.7219945788383484, -0.7198097705841064, -0.7176267504692078, -0.7154451012611389, -0.7132651805877686, -0.7110869288444519, -0.7089101672172546, -0.7067353129386902, -0.7045617699623108, -0.7023899555206299, -0.7002196907997131, -0.6980509161949158, -0.6958838701248169, -0.6937183737754822, -0.6915544867515564, -0.6893919706344604, -0.6872310638427734, -0.6850717067718506, -0.6829140782356262, -0.6807578206062317, -0.6786031126976013, -0.6764498949050903, -0.674298107624054, -0.6721480488777161, -0.669999361038208, -0.6678521037101746, -0.6657063364982605, -0.6635621190071106, -0.6614193916320801, -0.659278154373169, -0.6571382880210876, -0.654999852180481, -0.6528627872467041, -0.6507273316383362, -0.6485933065414429, -0.6464606523513794, -0.6443293690681458, -0.6421995162963867, -0.6400710940361023, -0.637944221496582, -0.6358184814453125, -0.6336942315101624, -0.631571352481842, -0.6294499635696411, -0.6273298859596252, -0.6252111196517944, -0.6230936646461487, -0.6209776401519775, -0.618863046169281, -0.6167497634887695, -0.6146376729011536, -0.6125270128250122, -0.6104176044464111, -0.6083096265792847, -0.6062029600143433, -0.6040974855422974, -0.6019933223724365, -0.5998904705047607, -0.5977889895439148, -0.5956886410713196, -0.5935897827148438, -0.5914919972419739, -0.5893955230712891, -0.5873004198074341, -0.5852063298225403, -0.5831137895584106, -0.5810222625732422, -0.5789320468902588, -0.5768431425094604, -0.5747552514076233, -0.5726689100265503, -0.5705834627151489, -0.5684992671012878, -0.5664164423942566, -0.5643345713615417, -0.5622541308403015, -0.5601747632026672, -0.5580965876579285, -0.5560196042060852, -0.5539437532424927, -0.5518692135810852, -0.5497956275939941, -0.5477232336997986, -0.5456520915031433, -0.5435819029808044, -0.5415130853652954, -0.5394452810287476, -0.5373786091804504, -0.5353131294250488, -0.5332485437393188, -0.5311853885650635, -0.5291231274604797, -0.527061939239502, -0.5250019431114197, -0.5229429006576538, -0.5208851099014282, -0.5188283324241638, -0.5167726278305054, -0.5147179961204529, -0.5126643180847168, -0.5106119513511658, -0.5085604190826416, -0.5065100193023682, -0.5044606328010559, -0.5024121999740601, -0.5003650188446045, -0.498318612575531, -0.496273398399353, -0.49422916769981384, -0.4921858012676239, -0.490143746137619, -0.48810237646102905, -0.48606225848197937, -0.48402297496795654, -0.4819847047328949, -0.479947566986084, -0.477911114692688, -0.4758758246898651, -0.47384151816368103, -0.4718080759048462, -0.4697757363319397, -0.4677441716194153, -0.4657136797904968, -0.46368408203125, -0.46165528893470764, -0.45962777733802795, -0.4576008915901184, -0.45557498931884766, -0.4535501003265381, -0.451526015996933, -0.4495030343532562, -0.4474806785583496, -0.4454593360424042, -0.4434390068054199, -0.4414193332195282, -0.439400851726532, -0.43738293647766113, -0.43536612391471863, -0.4333500564098358, -0.43133485317230225, -0.42932069301605225, -0.4273070693016052, -0.4252946078777313, -0.4232828915119171, -0.4212718605995178, -0.41926196217536926, -0.41725265979766846, -0.41524434089660645, -0.4132367670536041, -0.4112299084663391, -0.40922409296035767, -0.40721890330314636, -0.4052145779132843, -0.4032110869884491, -0.40120837092399597, -0.3992065489292145, -0.3972053527832031, -0.3952050805091858, -0.3932054042816162, -0.3912065923213959, -0.38920873403549194, -0.3872113823890686, -0.3852149248123169, -0.3832192122936249, -0.3812241554260254, -0.3792301118373871, -0.3772364854812622, -0.37524378299713135, -0.3732517659664154, -0.37126049399375916, -0.36927008628845215, -0.36728009581565857, -0.365291029214859, -0.36330267786979675, -0.36131495237350464, -0.3593280613422394, -0.3573417365550995, -0.3553561866283417, -0.353371262550354, -0.35138705372810364, -0.3494037091732025, -0.3474207818508148, -0.3454386591911316, -0.3434571623802185, -0.34147632122039795, -0.33949628472328186, -0.3375166654586792, -0.3355378806591034, -0.33355966210365295, -0.33158212900161743, -0.3296053409576416, -0.3276289701461792, -0.32565343379974365, -0.3236783444881439, -0.3217039704322815, -0.31973040103912354, -0.31775715947151184, -0.31578466296195984, -0.3138127326965332, -0.3118413984775543, -0.3098706305027008, -0.30790066719055176, -0.3059311509132385, -0.30396220088005066, -0.30199381709098816, -0.300025999546051, -0.2980589270591736, -0.29609236121177673, -0.2941262722015381, -0.2921607792377472, -0.29019585251808167, -0.2882315516471863, -0.2862677276134491, -0.2843044698238373, -0.28234171867370605, -0.2803795039653778, -0.2784178853034973, -0.27645689249038696, -0.27449631690979004, -0.27253618836402893, -0.2705765962600708, -0.2686176598072052, -0.2666592001914978, -0.26470115780830383, -0.26274362206459045, -0.26078662276268005, -0.25883015990257263, -0.2568742036819458, -0.2549186646938324, -0.2529635727405548, -0.2510089874267578, -0.24905501306056976, -0.24710142612457275, -0.24514828622341156, -0.2431955337524414, -0.24124333262443542, -0.23929166793823242, -0.23734040558338165, -0.2353895604610443, -0.2334391176700592, -0.23148909211158752, -0.2295396327972412, -0.22759060561656952, -0.22564193606376648, -0.2236936092376709, -0.2217458188533783, -0.21979846060276031, -0.21785156428813934, -0.21590496599674225, -0.2139587551355362, -0.21201300621032715, -0.2100677192211151, -0.2081226259469986, -0.2061782330274582, -0.2042340189218521, -0.20229016244411469, -0.20034685730934143, -0.19840370118618011, -0.19646118581295013, -0.1945188194513321, -0.19257690012454987, -0.19063541293144226, -0.188694030046463, -0.18675337731838226, -0.18481284379959106, -0.18287262320518494, -0.180932879447937, -0.1789933145046234, -0.17705431580543518, -0.1751154363155365, -0.17317698895931244, -0.17123889923095703, -0.16930094361305237, -0.16736356914043427, -0.16542628407478333, -0.16348938643932343, -0.16155286133289337, -0.15961651504039764, -0.15768063068389893, -0.15574494004249573, -0.15380950272083282, -0.15187448263168335, -0.14993952214717865, -0.14800512790679932, -0.14607080817222595, -0.14413677155971527, -0.14220310747623444, -0.14026954770088196, -0.13833649456501007, -0.13640348613262177, -0.13447079062461853, -0.13253842294216156, -0.1306060552597046, -0.12867429852485657, -0.12674252688884735, -0.12481104582548141, -0.12287985533475876, -0.12094874680042267, -0.11901814490556717, -0.11708743870258331, -0.1151571124792099, -0.11322709918022156, -0.11129700392484665, -0.1093675047159195, -0.107437863945961, -0.10550857335329056, -0.1035795509815216, -0.10165048390626907, -0.09972190856933594, -0.09779322892427444, -0.0958649218082428, -0.09393678605556488, -0.09200863540172577, -0.09008099883794785, -0.0881531685590744, -0.086225725710392, -0.08429843187332153, -0.08237109333276749, -0.08044422417879105, -0.07851719856262207, -0.07659053057432175, -0.07466397434473038, -0.07273740321397781, -0.0708112046122551, -0.06888487935066223, -0.06695888191461563, -0.0650329664349556, -0.06310699880123138, -0.061181508004665375, -0.05925579369068146, -0.057330306619405746, -0.05540499463677406, -0.05347960814833641, -0.0515545979142189, -0.04962940141558647, -0.04770446568727493, -0.04577960819005966, -0.04385465011000633, -0.041930098086595535, -0.04000527039170265]} \ No newline at end of file +{"x": [0.25, 0.2504809498786926, 0.25096192955970764, 0.25144287943840027, 0.2519238591194153, 0.2524048089981079, 0.25288575887680054, 0.25336673855781555, 0.2538476884365082, 0.2543286681175232, 0.2548096179962158, 0.25529056787490845, 0.25577154755592346, 0.2562524974346161, 0.2567334771156311, 0.25721442699432373, 0.25769537687301636, 0.25817635655403137, 0.258657306432724, 0.259138286113739, 0.25961923599243164, 0.26010018587112427, 0.2605811655521393, 0.2610621154308319, 0.2615430951118469, 0.26202404499053955, 0.26250502467155457, 0.2629859745502472, 0.2634669244289398, 0.26394790410995483, 0.26442885398864746, 0.2649098336696625, 0.2653907835483551, 0.26587173342704773, 0.26635271310806274, 0.26683366298675537, 0.2673146426677704, 0.267795592546463, 0.26827654242515564, 0.26875752210617065, 0.2692384719848633, 0.2697194516658783, 0.2702004015445709, 0.27068135142326355, 0.27116233110427856, 0.2716432809829712, 0.2721242606639862, 0.27260521054267883, 0.27308616042137146, 0.2735671401023865, 0.2740480899810791, 0.2745290696620941, 0.27501001954078674, 0.27549096941947937, 0.2759719491004944, 0.276452898979187, 0.276933878660202, 0.27741482853889465, 0.2778957784175873, 0.2783767580986023, 0.2788577079772949, 0.27933868765830994, 0.27981963753700256, 0.2803005874156952, 0.2807815670967102, 0.28126251697540283, 0.28174349665641785, 0.2822244465351105, 0.2827053964138031, 0.2831863760948181, 0.28366732597351074, 0.28414830565452576, 0.2846292555332184, 0.2851102352142334, 0.285591185092926, 0.28607213497161865, 0.28655311465263367, 0.2870340645313263, 0.2875150442123413, 0.28799599409103394, 0.28847694396972656, 0.2889579236507416, 0.2894388735294342, 0.2899198532104492, 0.29040080308914185, 0.2908817529678345, 0.2913627326488495, 0.2918436825275421, 0.29232466220855713, 0.29280561208724976, 0.2932865619659424, 0.2937675416469574, 0.29424849152565, 0.29472947120666504, 0.29521042108535767, 0.2956913709640503, 0.2961723506450653, 0.29665330052375793, 0.29713428020477295, 0.2976152300834656, 0.2980961799621582, 0.2985771596431732, 0.29905810952186584, 0.29953908920288086, 0.3000200390815735, 0.3005009889602661, 0.30098196864128113, 0.30146291851997375, 0.30194389820098877, 0.3024248480796814, 0.302905797958374, 0.30338677763938904, 0.30386772751808167, 0.3043487071990967, 0.3048296570777893, 0.30531060695648193, 0.30579158663749695, 0.3062725365161896, 0.3067535161972046, 0.3072344660758972, 0.30771544575691223, 0.30819639563560486, 0.3086773455142975, 0.3091583251953125, 0.3096392750740051, 0.31012025475502014, 0.31060120463371277, 0.3110821545124054, 0.3115631341934204, 0.31204408407211304, 0.31252506375312805, 0.3130060136318207, 0.3134869635105133, 0.3139679431915283, 0.31444889307022095, 0.31492987275123596, 0.3154108226299286, 0.3158917725086212, 0.31637275218963623, 0.31685370206832886, 0.31733468174934387, 0.3178156316280365, 0.3182965815067291, 0.31877756118774414, 0.31925851106643677, 0.3197394907474518, 0.3202204406261444, 0.32070139050483704, 0.32118237018585205, 0.3216633200645447, 0.3221442997455597, 0.3226252496242523, 0.32310619950294495, 0.32358717918395996, 0.3240681290626526, 0.3245491087436676, 0.32503005862236023, 0.32551100850105286, 0.32599198818206787, 0.3264729380607605, 0.3269539177417755, 0.32743486762046814, 0.32791581749916077, 0.3283967971801758, 0.3288777470588684, 0.3293587267398834, 0.32983967661857605, 0.3303206264972687, 0.3308016061782837, 0.3312825560569763, 0.33176353573799133, 0.33224448561668396, 0.332725465297699, 0.3332064151763916, 0.33368736505508423, 0.33416834473609924, 0.33464929461479187, 0.3351302742958069, 0.3356112241744995, 0.33609217405319214, 0.33657315373420715, 0.3370541036128998, 0.3375350832939148, 0.3380160331726074, 0.33849698305130005, 0.33897796273231506, 0.3394589126110077, 0.3399398922920227, 0.34042084217071533, 0.34090179204940796, 0.341382771730423, 0.3418637216091156, 0.3423447012901306, 0.34282565116882324, 0.34330660104751587, 0.3437875807285309, 0.3442685306072235, 0.3447495102882385, 0.34523046016693115, 0.3457114100456238, 0.3461923897266388, 0.3466733396053314, 0.34715431928634644, 0.34763526916503906, 0.3481162190437317, 0.3485971987247467, 0.34907814860343933, 0.34955912828445435, 0.350040078163147, 0.3505210280418396, 0.3510020077228546, 0.35148295760154724, 0.35196393728256226, 0.3524448871612549, 0.3529258370399475, 0.3534068167209625, 0.35388776659965515, 0.35436874628067017, 0.3548496961593628, 0.3553306758403778, 0.35581162571907043, 0.35629257559776306, 0.3567735552787781, 0.3572545051574707, 0.3577354848384857, 0.35821643471717834, 0.35869738459587097, 0.359178364276886, 0.3596593141555786, 0.36014029383659363, 0.36062124371528625, 0.3611021935939789, 0.3615831732749939, 0.3620641231536865, 0.36254510283470154, 0.36302605271339417, 0.3635070025920868, 0.3639879822731018, 0.36446893215179443, 0.36494991183280945, 0.3654308617115021, 0.3659118115901947, 0.3663927912712097, 0.36687374114990234, 0.36735472083091736, 0.36783567070961, 0.3683166205883026, 0.3687976002693176, 0.36927855014801025, 0.36975952982902527, 0.3702404797077179, 0.3707214295864105, 0.37120240926742554, 0.37168335914611816, 0.3721643388271332, 0.3726452887058258, 0.37312623858451843, 0.37360721826553345, 0.3740881681442261, 0.3745691478252411, 0.3750500977039337, 0.37553104758262634, 0.37601202726364136, 0.376492977142334, 0.376973956823349, 0.3774549067020416, 0.37793588638305664, 0.37841683626174927, 0.3788977861404419, 0.3793787658214569, 0.37985971570014954, 0.38034069538116455, 0.3808216452598572, 0.3813025951385498, 0.3817835748195648, 0.38226452469825745, 0.38274550437927246, 0.3832264542579651, 0.3837074041366577, 0.38418838381767273, 0.38466933369636536, 0.38515031337738037, 0.385631263256073, 0.3861122131347656, 0.38659319281578064, 0.38707414269447327, 0.3875551223754883, 0.3880360722541809, 0.38851702213287354, 0.38899800181388855, 0.3894789516925812, 0.3899599313735962, 0.3904408812522888, 0.39092183113098145, 0.39140281081199646, 0.3918837606906891, 0.3923647403717041, 0.39284569025039673, 0.39332664012908936, 0.39380761981010437, 0.394288569688797, 0.394769549369812, 0.39525049924850464, 0.39573144912719727, 0.3962124288082123, 0.3966933786869049, 0.3971743583679199, 0.39765530824661255, 0.3981362581253052, 0.3986172378063202, 0.3990981876850128, 0.39957916736602783, 0.40006011724472046, 0.4005410969257355, 0.4010220468044281, 0.4015029966831207, 0.40198397636413574, 0.40246492624282837, 0.4029459059238434, 0.403426855802536, 0.40390780568122864, 0.40438878536224365, 0.4048697352409363, 0.4053507149219513, 0.4058316648006439, 0.40631261467933655, 0.40679359436035156, 0.4072745442390442, 0.4077555239200592, 0.40823647379875183, 0.40871742367744446, 0.4091984033584595, 0.4096793532371521, 0.4101603329181671, 0.41064128279685974, 0.41112223267555237, 0.4116032123565674, 0.41208416223526, 0.412565141916275, 0.41304609179496765, 0.4135270416736603, 0.4140080213546753, 0.4144889712333679, 0.41496995091438293, 0.41545090079307556, 0.4159318506717682, 0.4164128303527832, 0.41689378023147583, 0.41737475991249084, 0.41785570979118347, 0.4183366596698761, 0.4188176393508911, 0.41929858922958374, 0.41977956891059875, 0.4202605187892914, 0.420741468667984, 0.421222448348999, 0.42170339822769165, 0.42218437790870667, 0.4226653277873993, 0.4231463074684143, 0.42362725734710693, 0.42410820722579956, 0.4245891869068146, 0.4250701367855072, 0.4255511164665222, 0.42603206634521484, 0.42651301622390747, 0.4269939959049225, 0.4274749457836151, 0.4279559254646301, 0.42843687534332275, 0.4289178252220154, 0.4293988049030304, 0.429879754781723, 0.43036073446273804, 0.43084168434143066, 0.4313226342201233, 0.4318036139011383, 0.43228456377983093, 0.43276554346084595, 0.4332464933395386, 0.4337274432182312, 0.4342084228992462, 0.43468937277793884, 0.43517035245895386, 0.4356513023376465, 0.4361322522163391, 0.4366132318973541, 0.43709418177604675, 0.43757516145706177, 0.4380561113357544, 0.438537061214447, 0.43901804089546204, 0.43949899077415466, 0.4399799704551697, 0.4404609203338623, 0.44094187021255493, 0.44142284989356995, 0.4419037997722626, 0.4423847794532776, 0.4428657293319702, 0.44334667921066284, 0.44382765889167786, 0.4443086087703705, 0.4447895884513855, 0.4452705383300781, 0.44575148820877075, 0.44623246788978577, 0.4467134177684784, 0.4471943974494934, 0.44767534732818604, 0.44815632700920105, 0.4486372768878937, 0.4491182267665863, 0.4495992064476013, 0.45008015632629395, 0.45056113600730896, 0.4510420858860016, 0.4515230357646942, 0.45200401544570923, 0.45248496532440186, 0.45296594500541687, 0.4534468948841095, 0.4539278447628021, 0.45440882444381714, 0.45488977432250977, 0.4553707540035248, 0.4558517038822174, 0.45633265376091003, 0.45681363344192505, 0.4572945833206177, 0.4577755630016327, 0.4582565128803253, 0.45873746275901794, 0.45921844244003296, 0.4596993923187256, 0.4601803719997406, 0.4606613218784332, 0.46114227175712585, 0.46162325143814087, 0.4621042013168335, 0.4625851809978485, 0.46306613087654114, 0.46354708075523376, 0.4640280604362488, 0.4645090103149414, 0.4649899899959564, 0.46547093987464905, 0.4659518897533417, 0.4664328694343567, 0.4669138193130493, 0.46739479899406433, 0.46787574887275696, 0.4683566987514496, 0.4688376784324646, 0.4693186283111572, 0.46979960799217224, 0.47028055787086487, 0.4707615375518799, 0.4712424874305725, 0.47172343730926514, 0.47220441699028015, 0.4726853668689728, 0.4731663465499878, 0.4736472964286804, 0.47412824630737305, 0.47460922598838806, 0.4750901758670807, 0.4755711555480957, 0.47605210542678833, 0.47653305530548096, 0.47701403498649597, 0.4774949848651886, 0.4779759645462036, 0.47845691442489624, 0.47893786430358887, 0.4794188439846039, 0.4798997938632965, 0.4803807735443115, 0.48086172342300415, 0.4813426733016968, 0.4818236529827118, 0.4823046028614044, 0.48278558254241943, 0.48326653242111206, 0.4837474822998047, 0.4842284619808197, 0.48470941185951233, 0.48519039154052734, 0.48567134141921997, 0.4861522912979126, 0.4866332709789276, 0.48711422085762024, 0.48759520053863525, 0.4880761504173279, 0.4885571002960205, 0.4890380799770355, 0.48951902985572815, 0.49000000953674316], "expected": [-1.0986123085021973, -1.0960488319396973, -1.0934885740280151, -1.0909316539764404, -1.0883779525756836, -1.0858274698257446, -1.0832802057266235, -1.0807361602783203, -1.078195333480835, -1.0756574869155884, -1.0731230974197388, -1.0705918073654175, -1.068063497543335, -1.0655382871627808, -1.0630161762237549, -1.0604972839355469, -1.0579814910888672, -1.0554686784744263, -1.0529589653015137, -1.0504521131515503, -1.0479484796524048, -1.0454479455947876, -1.04295015335083, -1.0404554605484009, -1.0379637479782104, -1.0354750156402588, -1.0329890251159668, -1.0305062532424927, -1.0280262231826782, -1.0255491733551025, -1.023074984550476, -1.0206036567687988, -1.0181353092193604, -1.0156697034835815, -1.013206958770752, -1.0107470750808716, -1.0082899332046509, -1.005835771560669, -1.0033842325210571, -1.0009355545043945, -0.9984896779060364, -0.9960463643074036, -0.9936060905456543, -0.9911683797836304, -0.9887334108352661, -0.9863011837005615, -0.9838714599609375, -0.981444776058197, -0.9790205955505371, -0.9765989780426025, -0.9741801619529724, -0.9717638492584229, -0.9693503379821777, -0.9669393301010132, -0.964530885219574, -0.9621252417564392, -0.9597218632698059, -0.9573213458061218, -0.9549233317375183, -0.9525277018547058, -0.950134813785553, -0.9477442502975464, -0.9453564882278442, -0.9429709911346436, -0.940588116645813, -0.938207745552063, -0.9358296990394592, -0.9334542751312256, -0.931081235408783, -0.9287105798721313, -0.9263424873352051, -0.923976719379425, -0.9216134548187256, -0.9192524552345276, -0.9168940186500549, -0.9145379662513733, -0.9121840596199036, -0.9098328351974487, -0.9074836373329163, -0.9051370024681091, -0.9027926921844482, -0.9004504680633545, -0.8981108665466309, -0.8957733511924744, -0.8934382796287537, -0.8911054134368896, -0.8887747526168823, -0.8864465951919556, -0.8841204047203064, -0.881796658039093, -0.8794751167297363, -0.877155601978302, -0.8748385906219482, -0.8725236058235168, -0.8702108860015869, -0.8679003715515137, -0.8655919432640076, -0.8632858395576477, -0.8609817028045654, -0.8586798906326294, -0.8563801646232605, -0.854082465171814, -0.8517870903015137, -0.8494936227798462, -0.8472024202346802, -0.8449133634567261, -0.8426260948181152, -0.840341329574585, -0.8380582332611084, -0.8357774615287781, -0.8334986567497253, -0.8312218189239502, -0.8289471864700317, -0.8266744017601013, -0.8244037628173828, -0.8221352100372314, -0.8198683857917786, -0.8176038861274719, -0.8153411149978638, -0.8130804300308228, -0.8108216524124146, -0.8085648417472839, -0.8063101172447205, -0.8040571212768555, -0.8018062710762024, -0.7995572090148926, -0.7973100543022156, -0.7950650453567505, -0.7928215861320496, -0.7905802726745605, -0.7883407473564148, -0.7861031293869019, -0.7838674783706665, -0.7816334366798401, -0.7794014811515808, -0.77717125415802, -0.7749428749084473, -0.7727164626121521, -0.7704917192459106, -0.768268883228302, -0.7660477757453918, -0.763828456401825, -0.7616111636161804, -0.7593953013420105, -0.7571814656257629, -0.7549692988395691, -0.7527589201927185, -0.750550389289856, -0.7483434081077576, -0.746138334274292, -0.7439349293708801, -0.741733193397522, -0.7395334243774414, -0.7373350262641907, -0.735138475894928, -0.7329436540603638, -0.7307504415512085, -0.7285590767860413, -0.7263692021369934, -0.7241811156272888, -0.7219945788383484, -0.7198097705841064, -0.7176267504692078, -0.7154451012611389, -0.7132651805877686, -0.7110869288444519, -0.7089101672172546, -0.7067353129386902, -0.7045617699623108, -0.7023899555206299, -0.7002196907997131, -0.6980509161949158, -0.6958838701248169, -0.6937183737754822, -0.6915544867515564, -0.6893919706344604, -0.6872310638427734, -0.6850717067718506, -0.6829140782356262, -0.6807578206062317, -0.6786031126976013, -0.6764498949050903, -0.674298107624054, -0.6721480488777161, -0.669999361038208, -0.6678521037101746, -0.6657063364982605, -0.6635621190071106, -0.6614193916320801, -0.659278154373169, -0.6571382880210876, -0.654999852180481, -0.6528627872467041, -0.6507273316383362, -0.6485933065414429, -0.6464606523513794, -0.6443293690681458, -0.6421995162963867, -0.6400710940361023, -0.637944221496582, -0.6358184814453125, -0.6336942315101624, -0.631571352481842, -0.6294499635696411, -0.6273298859596252, -0.6252111196517944, -0.6230936646461487, -0.6209776401519775, -0.618863046169281, -0.6167497634887695, -0.6146376729011536, -0.6125270128250122, -0.6104176044464111, -0.6083096265792847, -0.6062029600143433, -0.6040974855422974, -0.6019933223724365, -0.5998904705047607, -0.5977889895439148, -0.5956886410713196, -0.5935897827148438, -0.5914919972419739, -0.5893955230712891, -0.5873004198074341, -0.5852063298225403, -0.5831137895584106, -0.5810222625732422, -0.5789320468902588, -0.5768431425094604, -0.5747552514076233, -0.5726689100265503, -0.5705834627151489, -0.5684992671012878, -0.5664164423942566, -0.5643345713615417, -0.5622541308403015, -0.5601747632026672, -0.5580965876579285, -0.5560196042060852, -0.5539437532424927, -0.5518692135810852, -0.5497956275939941, -0.5477232336997986, -0.5456520915031433, -0.5435819029808044, -0.5415130853652954, -0.5394452810287476, -0.5373786091804504, -0.5353131294250488, -0.5332485437393188, -0.5311853885650635, -0.5291231274604797, -0.527061939239502, -0.5250019431114197, -0.5229429006576538, -0.5208851099014282, -0.5188283324241638, -0.5167726278305054, -0.5147179961204529, -0.5126643180847168, -0.5106119513511658, -0.5085604190826416, -0.5065100193023682, -0.5044606328010559, -0.5024121999740601, -0.5003650188446045, -0.498318612575531, -0.496273398399353, -0.49422916769981384, -0.4921858012676239, -0.490143746137619, -0.48810237646102905, -0.48606225848197937, -0.48402297496795654, -0.4819847047328949, -0.479947566986084, -0.477911114692688, -0.4758758246898651, -0.47384151816368103, -0.4718080759048462, -0.4697757363319397, -0.4677441716194153, -0.4657136797904968, -0.46368408203125, -0.46165528893470764, -0.45962777733802795, -0.4576008915901184, -0.45557498931884766, -0.4535501003265381, -0.451526015996933, -0.4495030343532562, -0.4474806785583496, -0.4454593360424042, -0.4434390068054199, -0.4414193332195282, -0.439400851726532, -0.43738293647766113, -0.43536612391471863, -0.4333500564098358, -0.43133485317230225, -0.42932069301605225, -0.4273070693016052, -0.4252946078777313, -0.4232828915119171, -0.4212718605995178, -0.41926196217536926, -0.41725265979766846, -0.41524434089660645, -0.4132367670536041, -0.4112299084663391, -0.40922409296035767, -0.40721890330314636, -0.4052145779132843, -0.4032110869884491, -0.40120837092399597, -0.3992065489292145, -0.3972053527832031, -0.3952050805091858, -0.3932054042816162, -0.3912065923213959, -0.38920873403549194, -0.3872113823890686, -0.3852149248123169, -0.3832192122936249, -0.3812241554260254, -0.3792301118373871, -0.3772364854812622, -0.37524378299713135, -0.3732517659664154, -0.37126049399375916, -0.36927008628845215, -0.36728009581565857, -0.365291029214859, -0.36330267786979675, -0.36131495237350464, -0.3593280613422394, -0.3573417365550995, -0.3553561866283417, -0.353371262550354, -0.35138705372810364, -0.3494037091732025, -0.3474207818508148, -0.3454386591911316, -0.3434571623802185, -0.34147632122039795, -0.33949628472328186, -0.3375166654586792, -0.3355378806591034, -0.33355966210365295, -0.33158212900161743, -0.3296053409576416, -0.3276289701461792, -0.32565343379974365, -0.3236783444881439, -0.3217039704322815, -0.31973040103912354, -0.31775715947151184, -0.31578466296195984, -0.3138127326965332, -0.3118413984775543, -0.3098706305027008, -0.30790066719055176, -0.3059311509132385, -0.30396220088005066, -0.30199381709098816, -0.300025999546051, -0.2980589270591736, -0.29609236121177673, -0.2941262722015381, -0.2921607792377472, -0.29019585251808167, -0.2882315516471863, -0.2862677276134491, -0.2843044698238373, -0.28234171867370605, -0.2803795039653778, -0.2784178853034973, -0.27645689249038696, -0.27449631690979004, -0.27253618836402893, -0.2705765962600708, -0.2686176598072052, -0.2666592001914978, -0.26470115780830383, -0.26274362206459045, -0.26078662276268005, -0.25883015990257263, -0.2568742036819458, -0.2549186646938324, -0.2529635727405548, -0.2510089874267578, -0.24905501306056976, -0.24710142612457275, -0.24514828622341156, -0.2431955337524414, -0.24124333262443542, -0.23929166793823242, -0.23734040558338165, -0.2353895604610443, -0.2334391176700592, -0.23148909211158752, -0.2295396327972412, -0.22759060561656952, -0.22564193606376648, -0.2236936092376709, -0.2217458188533783, -0.21979846060276031, -0.21785156428813934, -0.21590496599674225, -0.2139587551355362, -0.21201300621032715, -0.2100677192211151, -0.2081226259469986, -0.2061782330274582, -0.2042340189218521, -0.20229016244411469, -0.20034685730934143, -0.19840370118618011, -0.19646118581295013, -0.1945188194513321, -0.19257690012454987, -0.19063541293144226, -0.188694030046463, -0.18675337731838226, -0.18481284379959106, -0.18287262320518494, -0.180932879447937, -0.1789933145046234, -0.17705431580543518, -0.1751154363155365, -0.17317698895931244, -0.17123889923095703, -0.16930094361305237, -0.16736356914043427, -0.16542628407478333, -0.16348938643932343, -0.16155286133289337, -0.15961651504039764, -0.15768063068389893, -0.15574494004249573, -0.15380950272083282, -0.15187448263168335, -0.14993952214717865, -0.14800512790679932, -0.14607080817222595, -0.14413677155971527, -0.14220310747623444, -0.14026954770088196, -0.13833649456501007, -0.13640348613262177, -0.13447079062461853, -0.13253842294216156, -0.1306060552597046, -0.12867429852485657, -0.12674252688884735, -0.12481104582548141, -0.12287985533475876, -0.12094874680042267, -0.11901814490556717, -0.11708743870258331, -0.1151571124792099, -0.11322709918022156, -0.11129700392484665, -0.1093675047159195, -0.107437863945961, -0.10550857335329056, -0.1035795509815216, -0.10165048390626907, -0.09972190856933594, -0.09779322892427444, -0.0958649218082428, -0.09393678605556488, -0.09200863540172577, -0.09008099883794785, -0.0881531685590744, -0.086225725710392, -0.08429843187332153, -0.08237109333276749, -0.08044422417879105, -0.07851719856262207, -0.07659053057432175, -0.07466397434473038, -0.07273740321397781, -0.0708112046122551, -0.06888487935066223, -0.06695888191461563, -0.0650329664349556, -0.06310699880123138, -0.061181508004665375, -0.05925579369068146, -0.057330306619405746, -0.05540499463677406, -0.05347960814833641, -0.0515545979142189, -0.04962940141558647, -0.04770446568727493, -0.04577960819005966, -0.04385465011000633, -0.041930098086595535, -0.04000527039170265]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json index 8fefbedac900..4f0c913a0683 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json @@ -1 +1 @@ -{"x": [9.999999747378752e-05, 0.0006008016061969101, 0.0011016031494364142, 0.001602404867298901, 0.002103206468746066, 0.0026040079537779093, 0.003104809671640396, 0.0036056111566722393, 0.0041064126417040825, 0.004607214592397213, 0.005108016077429056, 0.005608817562460899, 0.0061096190474927425, 0.006610420998185873, 0.007111222483217716, 0.007612023968249559, 0.008112825453281403, 0.008613627403974533, 0.009114428423345089, 0.00961523037403822, 0.01011603232473135, 0.010616833344101906, 0.011117635294795036, 0.011618437245488167, 0.012119238264858723, 0.012620040215551853, 0.013120841234922409, 0.01362164318561554, 0.01412244513630867, 0.014623246155679226, 0.015124048106372356, 0.015624850057065487, 0.016125651076436043, 0.016626453027129173, 0.017127254977822304, 0.017628056928515434, 0.018128857016563416, 0.018629658967256546, 0.019130460917949677, 0.019631262868642807, 0.020132064819335938, 0.02063286490738392, 0.02113366685807705, 0.02163446880877018, 0.02213527075946331, 0.02263607271015644, 0.02313687466084957, 0.023637674748897552, 0.024138476699590683, 0.024639278650283813, 0.025140080600976944, 0.025640882551670074, 0.026141682639718056, 0.026642484590411186, 0.027143286541104317, 0.027644088491797447, 0.028144890442490578, 0.02864569053053856, 0.02914649248123169, 0.02964729443192482, 0.03014809638261795, 0.03064889833331108, 0.03114970028400421, 0.03165050223469734, 0.03215130418539047, 0.032652102410793304, 0.033152904361486435, 0.033653706312179565, 0.034154508262872696, 0.034655310213565826, 0.03515611216425896, 0.03565691411495209, 0.03615771606564522, 0.03665851801633835, 0.03715931996703148, 0.03766012191772461, 0.03816092014312744, 0.03866172209382057, 0.0391625240445137, 0.03966332599520683, 0.04016412794589996, 0.040664929896593094, 0.041165731847286224, 0.041666533797979355, 0.042167335748672485, 0.042668137699365616, 0.043168939650058746, 0.04366973787546158, 0.04417053982615471, 0.04467134177684784, 0.04517214372754097, 0.0456729456782341, 0.04617374762892723, 0.04667454957962036, 0.04717535153031349, 0.04767615348100662, 0.04817695543169975, 0.048677753657102585, 0.049178555607795715, 0.049679357558488846, 0.050180159509181976, 0.05068096145987511, 0.05118176341056824, 0.05168256536126137, 0.0521833673119545, 0.05268416926264763, 0.05318497121334076, 0.05368577316403389, 0.05418657138943672, 0.05468737334012985, 0.05518817529082298, 0.05568897724151611, 0.056189779192209244, 0.056690581142902374, 0.057191383093595505, 0.057692185044288635, 0.058192986994981766, 0.058693788945674896, 0.05919459089636803, 0.05969538912177086, 0.06019619107246399, 0.06069699302315712, 0.06119779497385025, 0.06169859692454338, 0.06219939887523651, 0.06270019710063934, 0.06320100277662277, 0.0637018010020256, 0.06420260667800903, 0.06470340490341187, 0.0652042105793953, 0.06570500880479813, 0.06620581448078156, 0.06670661270618439, 0.06720741838216782, 0.06770821660757065, 0.06820901483297348, 0.06870982050895691, 0.06921061873435974, 0.06971142441034317, 0.070212222635746, 0.07071302831172943, 0.07121382653713226, 0.07171463221311569, 0.07221543043851852, 0.07271623611450195, 0.07321703433990479, 0.07371783256530762, 0.07421863824129105, 0.07471943646669388, 0.07522024214267731, 0.07572104036808014, 0.07622184604406357, 0.0767226442694664, 0.07722344994544983, 0.07772424817085266, 0.0782250463962555, 0.07872585207223892, 0.07922665029764175, 0.07972745597362518, 0.08022825419902802, 0.08072905987501144, 0.08122985810041428, 0.0817306637763977, 0.08223146200180054, 0.08273226767778397, 0.0832330659031868, 0.08373386412858963, 0.08423466980457306, 0.08473546802997589, 0.08523627370595932, 0.08573707193136215, 0.08623787760734558, 0.08673867583274841, 0.08723948150873184, 0.08774027973413467, 0.0882410854101181, 0.08874188363552094, 0.08924268186092377, 0.0897434875369072, 0.09024428576231003, 0.09074509143829346, 0.09124588966369629, 0.09174669533967972, 0.09224749356508255, 0.09274829924106598, 0.09324909746646881, 0.09374990314245224, 0.09425070136785507, 0.0947514995932579, 0.09525230526924133, 0.09575310349464417, 0.0962539091706276, 0.09675470739603043, 0.09725551307201385, 0.09775631129741669, 0.09825711697340012, 0.09875791519880295, 0.09925872087478638, 0.09975951910018921, 0.10026031732559204, 0.10076112300157547, 0.1012619212269783, 0.10176272690296173, 0.10226352512836456, 0.10276433080434799, 0.10326512902975082, 0.10376593470573425, 0.10426673293113708, 0.10476753860712051, 0.10526833683252335, 0.10576913505792618, 0.1062699407339096, 0.10677073895931244, 0.10727154463529587, 0.1077723428606987, 0.10827314853668213, 0.10877394676208496, 0.10927475243806839, 0.10977555066347122, 0.11027635633945465, 0.11077715456485748, 0.11127795279026031, 0.11177875846624374, 0.11227955669164658, 0.11278036236763, 0.11328116059303284, 0.11378196626901627, 0.1142827644944191, 0.11478357017040253, 0.11528436839580536, 0.11578516662120819, 0.11628597229719162, 0.11678677052259445, 0.11728757619857788, 0.11778837442398071, 0.11828918009996414, 0.11878997832536697, 0.1192907840013504, 0.11979158222675323, 0.12029238790273666, 0.1207931861281395, 0.12129398435354233, 0.12179479002952576, 0.12229558825492859, 0.12279639393091202, 0.12329719215631485, 0.12379799783229828, 0.12429879605770111, 0.12479960173368454, 0.12530040740966797, 0.1258012056350708, 0.12630200386047363, 0.12680280208587646, 0.1273036003112793, 0.12780441343784332, 0.12830521166324615, 0.128806009888649, 0.12930680811405182, 0.12980762124061584, 0.13030841946601868, 0.1308092176914215, 0.13131001591682434, 0.13181082904338837, 0.1323116272687912, 0.13281242549419403, 0.13331322371959686, 0.1338140219449997, 0.13431483507156372, 0.13481563329696655, 0.13531643152236938, 0.13581722974777222, 0.13631804287433624, 0.13681884109973907, 0.1373196393251419, 0.13782043755054474, 0.13832123577594757, 0.1388220489025116, 0.13932284712791443, 0.13982364535331726, 0.1403244435787201, 0.14082525670528412, 0.14132605493068695, 0.14182685315608978, 0.14232765138149261, 0.14282844960689545, 0.14332926273345947, 0.1438300609588623, 0.14433085918426514, 0.14483165740966797, 0.145332470536232, 0.14583326876163483, 0.14633406698703766, 0.1468348652124405, 0.14733567833900452, 0.14783647656440735, 0.14833727478981018, 0.148838073015213, 0.14933887124061584, 0.14983968436717987, 0.1503404825925827, 0.15084128081798553, 0.15134207904338837, 0.1518428921699524, 0.15234369039535522, 0.15284448862075806, 0.1533452868461609, 0.15384608507156372, 0.15434689819812775, 0.15484769642353058, 0.1553484946489334, 0.15584929287433624, 0.15635010600090027, 0.1568509042263031, 0.15735170245170593, 0.15785250067710876, 0.1583533138036728, 0.15885411202907562, 0.15935491025447845, 0.1598557084798813, 0.16035650670528412, 0.16085731983184814, 0.16135811805725098, 0.1618589162826538, 0.16235971450805664, 0.16286052763462067, 0.1633613258600235, 0.16386212408542633, 0.16436292231082916, 0.164863720536232, 0.16536453366279602, 0.16586533188819885, 0.16636613011360168, 0.16686692833900452, 0.16736774146556854, 0.16786853969097137, 0.1683693379163742, 0.16887013614177704, 0.16937094926834106, 0.1698717474937439, 0.17037254571914673, 0.17087334394454956, 0.1713741421699524, 0.17187495529651642, 0.17237575352191925, 0.17287655174732208, 0.17337734997272491, 0.17387816309928894, 0.17437896132469177, 0.1748797595500946, 0.17538055777549744, 0.17588135600090027, 0.1763821691274643, 0.17688296735286713, 0.17738376557826996, 0.1778845638036728, 0.17838537693023682, 0.17888617515563965, 0.17938697338104248, 0.1798877716064453, 0.18038856983184814, 0.18088938295841217, 0.181390181183815, 0.18189097940921783, 0.18239177763462067, 0.1828925907611847, 0.18339338898658752, 0.18389418721199036, 0.1843949854373932, 0.18489579856395721, 0.18539659678936005, 0.18589739501476288, 0.1863981932401657, 0.18689899146556854, 0.18739980459213257, 0.1879006028175354, 0.18840140104293823, 0.18890219926834106, 0.1894030123949051, 0.18990381062030792, 0.19040460884571075, 0.1909054070711136, 0.19140620529651642, 0.19190701842308044, 0.19240781664848328, 0.1929086148738861, 0.19340941309928894, 0.19391022622585297, 0.1944110244512558, 0.19491182267665863, 0.19541262090206146, 0.1959134340286255, 0.19641423225402832, 0.19691503047943115, 0.19741582870483398, 0.19791662693023682, 0.19841744005680084, 0.19891823828220367, 0.1994190365076065, 0.19991983473300934, 0.20042064785957336, 0.2009214460849762, 0.20142224431037903, 0.20192304253578186, 0.2024238407611847, 0.20292465388774872, 0.20342545211315155, 0.20392625033855438, 0.20442704856395721, 0.20492786169052124, 0.20542865991592407, 0.2059294581413269, 0.20643025636672974, 0.20693106949329376, 0.2074318677186966, 0.20793266594409943, 0.20843346416950226, 0.2089342623949051, 0.20943507552146912, 0.20993587374687195, 0.21043667197227478, 0.2109374701976776, 0.21143828332424164, 0.21193908154964447, 0.2124398797750473, 0.21294067800045013, 0.21344147622585297, 0.213942289352417, 0.21444308757781982, 0.21494388580322266, 0.2154446840286255, 0.21594549715518951, 0.21644629538059235, 0.21694709360599518, 0.217447891831398, 0.21794869005680084, 0.21844950318336487, 0.2189503014087677, 0.21945109963417053, 0.21995189785957336, 0.2204527109861374, 0.22095350921154022, 0.22145430743694305, 0.2219551056623459, 0.2224559187889099, 0.22295671701431274, 0.22345751523971558, 0.2239583134651184, 0.22445911169052124, 0.22495992481708527, 0.2254607230424881, 0.22596152126789093, 0.22646231949329376, 0.2269631326198578, 0.22746393084526062, 0.22796472907066345, 0.22846552729606628, 0.22896632552146912, 0.22946713864803314, 0.22996793687343597, 0.2304687350988388, 0.23096953332424164, 0.23147034645080566, 0.2319711446762085, 0.23247194290161133, 0.23297274112701416, 0.23347355425357819, 0.23397435247898102, 0.23447515070438385, 0.23497594892978668, 0.23547674715518951, 0.23597756028175354, 0.23647835850715637, 0.2369791567325592, 0.23747995495796204, 0.23798076808452606, 0.2384815663099289, 0.23898236453533173, 0.23948316276073456, 0.2399839609861374, 0.24048477411270142, 0.24098557233810425, 0.24148637056350708, 0.2419871687889099, 0.24248798191547394, 0.24298878014087677, 0.2434895783662796, 0.24399037659168243, 0.24449118971824646, 0.2449919879436493, 0.24549278616905212, 0.24599358439445496, 0.2464943826198578, 0.24699519574642181, 0.24749599397182465, 0.24799679219722748, 0.2484975904226303, 0.24899840354919434, 0.24949920177459717, 0.25], "expected": [-9.210240364074707, -7.41664457321167, -6.809886455535889, -6.434646129608154, -6.162186622619629, -5.94809627532959, -5.771693229675293, -5.621652126312256, -5.491090774536133, -5.375514030456543, -5.271822929382324, -5.177790641784668, -5.091762542724609, -5.012475490570068, -4.938944339752197, -4.87038516998291, -4.806163311004639, -4.745759010314941, -4.688740253448486, -4.634745121002197, -4.583466053009033, -4.534640789031982, -4.488042831420898, -4.443475723266602, -4.400767803192139, -4.359768867492676, -4.320345878601074, -4.282380104064941, -4.245766639709473, -4.210411548614502, -4.176229476928711, -4.143144607543945, -4.111086845397949, -4.079994201660156, -4.049808502197266, -4.020478248596191, -3.991955041885376, -3.9641950130462646, -3.93715763092041, -3.9108054637908936, -3.885103940963745, -3.8600213527679443, -3.8355276584625244, -3.8115954399108887, -3.7881991863250732, -3.7653143405914307, -3.7429189682006836, -3.720991849899292, -3.6995136737823486, -3.6784656047821045, -3.657830238342285, -3.63759183883667, -3.617734670639038, -3.5982444286346436, -3.5791070461273193, -3.560309886932373, -3.5418407917022705, -3.523688316345215, -3.505841016769409, -3.488288640975952, -3.4710216522216797, -3.4540300369262695, -3.437305450439453, -3.4208390712738037, -3.404622793197632, -3.3886489868164062, -3.3729100227355957, -3.3573989868164062, -3.342109203338623, -3.3270342350006104, -3.3121678829193115, -3.29750394821167, -3.2830371856689453, -3.2687621116638184, -3.2546732425689697, -3.2407658100128174, -3.2270352840423584, -3.2134764194488525, -3.200084924697876, -3.186856985092163, -3.173788070678711, -3.160874366760254, -3.1481120586395264, -3.135497570037842, -3.1230273246765137, -3.1106977462768555, -3.0985054969787598, -3.0864479541778564, -3.074521541595459, -3.062723159790039, -3.0510504245758057, -3.0395002365112305, -3.0280702114105225, -3.0167572498321533, -3.0055594444274902, -2.994473934173584, -2.9834983348846436, -2.972630739212036, -2.9618687629699707, -2.9512100219726562, -2.94065260887146, -2.930194616317749, -2.9198338985443115, -2.9095687866210938, -2.899397134780884, -2.889317512512207, -2.8793277740478516, -2.869426727294922, -2.859612226486206, -2.8498828411102295, -2.8402371406555176, -2.8306734561920166, -2.821190118789673, -2.81178617477417, -2.802460193634033, -2.79321026802063, -2.7840354442596436, -2.7749345302581787, -2.7659060955047607, -2.7569491863250732, -2.7480621337890625, -2.739243984222412, -2.7304935455322266, -2.7218101024627686, -2.7131919860839844, -2.704638719558716, -2.696148633956909, -2.6877212524414062, -2.6793551445007324, -2.6710498332977295, -2.662804126739502, -2.6546170711517334, -2.6464877128601074, -2.638415575027466, -2.630399227142334, -2.622438430786133, -2.6145317554473877, -2.6066787242889404, -2.5988786220550537, -2.591130495071411, -2.5834338665008545, -2.5757877826690674, -2.5681915283203125, -2.5606443881988525, -2.5531458854675293, -2.5456948280334473, -2.5382914543151855, -2.5309340953826904, -2.523622751235962, -2.5163567066192627, -2.5091352462768555, -2.501957893371582, -2.494823932647705, -2.4877328872680664, -2.4806840419769287, -2.473676919937134, -2.4667112827301025, -2.4597859382629395, -2.4529011249542236, -2.4460558891296387, -2.4392497539520264, -2.4324822425842285, -2.425753116607666, -2.4190614223480225, -2.412407159805298, -2.405789613723755, -2.3992085456848145, -2.3926634788513184, -2.38615345954895, -2.379678964614868, -2.3732388019561768, -2.366832971572876, -2.3604607582092285, -2.3541221618652344, -2.3478164672851562, -2.341543674468994, -2.3353028297424316, -2.329094171524048, -2.3229169845581055, -2.3167710304260254, -2.3106558322906494, -2.3045711517333984, -2.2985167503356934, -2.292491912841797, -2.286496639251709, -2.2805304527282715, -2.2745933532714844, -2.2686846256256104, -2.2628042697906494, -2.2569518089294434, -2.251127004623413, -2.2453293800354004, -2.239558696746826, -2.2338151931762695, -2.228097915649414, -2.2224068641662598, -2.2167418003082275, -2.211102247238159, -2.2054882049560547, -2.199899435043335, -2.194335460662842, -2.188796043395996, -2.183281183242798, -2.177790403366089, -2.17232346534729, -2.1668803691864014, -2.1614606380462646, -2.1560637950897217, -2.1506903171539307, -2.1453394889831543, -2.1400110721588135, -2.1347053050994873, -2.1294212341308594, -2.124159336090088, -2.1189188957214355, -2.1137001514434814, -2.1085026264190674, -2.1033263206481934, -2.098170757293701, -2.093035936355591, -2.087921380996704, -2.08282732963562, -2.0777533054351807, -2.0726993083953857, -2.0676651000976562, -2.062650442123413, -2.057655096054077, -2.0526790618896484, -2.0477218627929688, -2.042783737182617, -2.0378644466400146, -2.032963514328003, -2.028080940246582, -2.023216962814331, -2.0183706283569336, -2.013542413711548, -2.0087318420410156, -2.003938913345337, -1.9991635084152222, -1.9944052696228027, -1.9896643161773682, -1.9849402904510498, -1.9802331924438477, -1.975542664527893, -1.9708689451217651, -1.9662114381790161, -1.961570382118225, -1.9569454193115234, -1.9523365497589111, -1.9477436542510986, -1.9431663751602173, -1.9386048316955566, -1.9340589046478271, -1.9295282363891602, -1.9250129461288452, -1.9205126762390137, -1.9160274267196655, -1.9115571975708008, -1.9071017503738403, -1.902660846710205, -1.8982346057891846, -1.8938227891921997, -1.889425277709961, -1.8850418329238892, -1.8806726932525635, -1.8763175010681152, -1.8719762563705444, -1.867648720741272, -1.8633347749710083, -1.859034538269043, -1.8547476530075073, -1.850474238395691, -1.846213936805725, -1.8419668674468994, -1.8377329111099243, -1.8335119485855103, -1.8293037414550781, -1.825108289718628, -1.8209255933761597, -1.8167554140090942, -1.8125978708267212, -1.8084524869918823, -1.8043195009231567, -1.8001989126205444, -1.7960902452468872, -1.7919938564300537, -1.7879091501235962, -1.7838363647460938, -1.7797755002975464, -1.775726318359375, -1.7716885805130005, -1.7676624059677124, -1.7636477947235107, -1.7596445083618164, -1.7556524276733398, -1.7516716718673706, -1.7477020025253296, -1.7437434196472168, -1.7397958040237427, -1.7358589172363281, -1.7319331169128418, -1.7280179262161255, -1.7241134643554688, -1.7202194929122925, -1.7163361310958862, -1.7124632596969604, -1.7086007595062256, -1.7047486305236816, -1.7009066343307495, -1.6970747709274292, -1.6932531595230103, -1.6894415616989136, -1.6856398582458496, -1.6818480491638184, -1.6780661344528198, -1.674294114112854, -1.6705316305160522, -1.6667789220809937, -1.6630357503890991, -1.659301996231079, -1.6555778980255127, -1.6518629789352417, -1.6481575965881348, -1.6444613933563232, -1.6407743692398071, -1.6370965242385864, -1.6334278583526611, -1.6297681331634521, -1.626117467880249, -1.6224757432937622, -1.6188427209854126, -1.6152187585830688, -1.6116033792495728, -1.6079967021942139, -1.6043986082077026, -1.6008092164993286, -1.5972284078598022, -1.593656063079834, -1.5900920629501343, -1.5865365266799927, -1.58298921585083, -1.5794503688812256, -1.5759196281433105, -1.572396993637085, -1.5688825845718384, -1.5653762817382812, -1.5618778467178345, -1.5583873987197876, -1.5549050569534302, -1.5514304637908936, -1.5479637384414673, -1.5445047616958618, -1.5410535335540771, -1.5376100540161133, -1.5341742038726807, -1.5307459831237793, -1.5273252725601196, -1.523911952972412, -1.5205062627792358, -1.5171079635620117, -1.5137170553207397, -1.5103334188461304, -1.5069571733474731, -1.503588080406189, -1.500226378440857, -1.4968715906143188, -1.4935239553451538, -1.4901835918426514, -1.4868500232696533, -1.4835234880447388, -1.4802039861679077, -1.4768915176391602, -1.473585844039917, -1.4702869653701782, -1.4669948816299438, -1.4637095928192139, -1.4604310989379883, -1.4571592807769775, -1.453894019126892, -1.450635313987732, -1.4473832845687866, -1.4441378116607666, -1.4408987760543823, -1.4376660585403442, -1.434440016746521, -1.431220293045044, -1.428006887435913, -1.4247997999191284, -1.42159903049469, -1.4184045791625977, -1.4152162075042725, -1.412034034729004, -1.408858060836792, -1.4056881666183472, -1.402524471282959, -1.3993667364120483, -1.3962148427963257, -1.3930691480636597, -1.3899294137954712, -1.3867955207824707, -1.3836674690246582, -1.3805452585220337, -1.3774290084838867, -1.3743184804916382, -1.371213674545288, -1.3681144714355469, -1.3650211095809937, -1.3619333505630493, -1.3588513135910034, -1.3557748794555664, -1.3527039289474487, -1.34963858127594, -1.34657883644104, -1.34352445602417, -1.3404755592346191, -1.3374321460723877, -1.334394097328186, -1.3313614130020142, -1.3283339738845825, -1.3253120183944702, -1.3222953081130981, -1.3192838430404663, -1.3162775039672852, -1.3132765293121338, -1.310280680656433, -1.307289958000183, -1.3043043613433838, -1.3013238906860352, -1.2983485460281372, -1.2953782081604004, -1.2924128770828247, -1.2894525527954102, -1.2864971160888672, -1.283546805381775, -1.2806012630462646, -1.2776607275009155, -1.2747249603271484, -1.271794080734253, -1.2688679695129395, -1.2659467458724976, -1.2630301713943481, -1.2601183652877808, -1.257211446762085, -1.254309058189392, -1.2514114379882812, -1.2485183477401733, -1.2456300258636475, -1.2427462339401245, -1.2398672103881836, -1.2369924783706665, -1.234122395515442, -1.2312568426132202, -1.2283958196640015, -1.2255390882492065, -1.222687005996704, -1.2198392152786255, -1.2169959545135498, -1.214156985282898, -1.2113224267959595, -1.2084922790527344, -1.205666422843933, -1.2028447389602661, -1.200027346611023, -1.1972143650054932, -1.1944055557250977, -1.1916009187698364, -1.1888004541397095, -1.1860041618347168, -1.183212161064148, -1.1804242134094238, -1.1776403188705444, -1.1748604774475098, -1.1720848083496094, -1.1693131923675537, -1.1665456295013428, -1.1637818813323975, -1.161022424697876, -1.1582667827606201, -1.155515193939209, -1.1527674198150635, -1.1500235795974731, -1.1472837924957275, -1.144547700881958, -1.1418156623840332, -1.1390873193740845, -1.136362910270691, -1.1336421966552734, -1.1309252977371216, -1.1282120943069458, -1.1255028247833252, -1.1227972507476807, -1.1200953722000122, -1.1173971891403198, -1.1147027015686035, -1.1120119094848633, -1.1093248128890991, -1.106641173362732, -1.1039612293243408, -1.1012849807739258, -1.0986123085021973]} \ No newline at end of file +{"x": [9.999999747378752e-05, 0.0006008016061969101, 0.0011016031494364142, 0.001602404867298901, 0.002103206468746066, 0.0026040079537779093, 0.003104809671640396, 0.0036056111566722393, 0.0041064126417040825, 0.004607214592397213, 0.005108016077429056, 0.005608817562460899, 0.0061096190474927425, 0.006610420998185873, 0.007111222483217716, 0.007612023968249559, 0.008112825453281403, 0.008613627403974533, 0.009114428423345089, 0.00961523037403822, 0.01011603232473135, 0.010616833344101906, 0.011117635294795036, 0.011618437245488167, 0.012119238264858723, 0.012620040215551853, 0.013120841234922409, 0.01362164318561554, 0.01412244513630867, 0.014623246155679226, 0.015124048106372356, 0.015624850057065487, 0.016125651076436043, 0.016626453027129173, 0.017127254977822304, 0.017628056928515434, 0.018128857016563416, 0.018629658967256546, 0.019130460917949677, 0.019631262868642807, 0.020132064819335938, 0.02063286490738392, 0.02113366685807705, 0.02163446880877018, 0.02213527075946331, 0.02263607271015644, 0.02313687466084957, 0.023637674748897552, 0.024138476699590683, 0.024639278650283813, 0.025140080600976944, 0.025640882551670074, 0.026141682639718056, 0.026642484590411186, 0.027143286541104317, 0.027644088491797447, 0.028144890442490578, 0.02864569053053856, 0.02914649248123169, 0.02964729443192482, 0.03014809638261795, 0.03064889833331108, 0.03114970028400421, 0.03165050223469734, 0.03215130418539047, 0.032652102410793304, 0.033152904361486435, 0.033653706312179565, 0.034154508262872696, 0.034655310213565826, 0.03515611216425896, 0.03565691411495209, 0.03615771606564522, 0.03665851801633835, 0.03715931996703148, 0.03766012191772461, 0.03816092014312744, 0.03866172209382057, 0.0391625240445137, 0.03966332599520683, 0.04016412794589996, 0.040664929896593094, 0.041165731847286224, 0.041666533797979355, 0.042167335748672485, 0.042668137699365616, 0.043168939650058746, 0.04366973787546158, 0.04417053982615471, 0.04467134177684784, 0.04517214372754097, 0.0456729456782341, 0.04617374762892723, 0.04667454957962036, 0.04717535153031349, 0.04767615348100662, 0.04817695543169975, 0.048677753657102585, 0.049178555607795715, 0.049679357558488846, 0.050180159509181976, 0.05068096145987511, 0.05118176341056824, 0.05168256536126137, 0.0521833673119545, 0.05268416926264763, 0.05318497121334076, 0.05368577316403389, 0.05418657138943672, 0.05468737334012985, 0.05518817529082298, 0.05568897724151611, 0.056189779192209244, 0.056690581142902374, 0.057191383093595505, 0.057692185044288635, 0.058192986994981766, 0.058693788945674896, 0.05919459089636803, 0.05969538912177086, 0.06019619107246399, 0.06069699302315712, 0.06119779497385025, 0.06169859692454338, 0.06219939887523651, 0.06270019710063934, 0.06320100277662277, 0.0637018010020256, 0.06420260667800903, 0.06470340490341187, 0.0652042105793953, 0.06570500880479813, 0.06620581448078156, 0.06670661270618439, 0.06720741838216782, 0.06770821660757065, 0.06820901483297348, 0.06870982050895691, 0.06921061873435974, 0.06971142441034317, 0.070212222635746, 0.07071302831172943, 0.07121382653713226, 0.07171463221311569, 0.07221543043851852, 0.07271623611450195, 0.07321703433990479, 0.07371783256530762, 0.07421863824129105, 0.07471943646669388, 0.07522024214267731, 0.07572104036808014, 0.07622184604406357, 0.0767226442694664, 0.07722344994544983, 0.07772424817085266, 0.0782250463962555, 0.07872585207223892, 0.07922665029764175, 0.07972745597362518, 0.08022825419902802, 0.08072905987501144, 0.08122985810041428, 0.0817306637763977, 0.08223146200180054, 0.08273226767778397, 0.0832330659031868, 0.08373386412858963, 0.08423466980457306, 0.08473546802997589, 0.08523627370595932, 0.08573707193136215, 0.08623787760734558, 0.08673867583274841, 0.08723948150873184, 0.08774027973413467, 0.0882410854101181, 0.08874188363552094, 0.08924268186092377, 0.0897434875369072, 0.09024428576231003, 0.09074509143829346, 0.09124588966369629, 0.09174669533967972, 0.09224749356508255, 0.09274829924106598, 0.09324909746646881, 0.09374990314245224, 0.09425070136785507, 0.0947514995932579, 0.09525230526924133, 0.09575310349464417, 0.0962539091706276, 0.09675470739603043, 0.09725551307201385, 0.09775631129741669, 0.09825711697340012, 0.09875791519880295, 0.09925872087478638, 0.09975951910018921, 0.10026031732559204, 0.10076112300157547, 0.1012619212269783, 0.10176272690296173, 0.10226352512836456, 0.10276433080434799, 0.10326512902975082, 0.10376593470573425, 0.10426673293113708, 0.10476753860712051, 0.10526833683252335, 0.10576913505792618, 0.1062699407339096, 0.10677073895931244, 0.10727154463529587, 0.1077723428606987, 0.10827314853668213, 0.10877394676208496, 0.10927475243806839, 0.10977555066347122, 0.11027635633945465, 0.11077715456485748, 0.11127795279026031, 0.11177875846624374, 0.11227955669164658, 0.11278036236763, 0.11328116059303284, 0.11378196626901627, 0.1142827644944191, 0.11478357017040253, 0.11528436839580536, 0.11578516662120819, 0.11628597229719162, 0.11678677052259445, 0.11728757619857788, 0.11778837442398071, 0.11828918009996414, 0.11878997832536697, 0.1192907840013504, 0.11979158222675323, 0.12029238790273666, 0.1207931861281395, 0.12129398435354233, 0.12179479002952576, 0.12229558825492859, 0.12279639393091202, 0.12329719215631485, 0.12379799783229828, 0.12429879605770111, 0.12479960173368454, 0.12530040740966797, 0.1258012056350708, 0.12630200386047363, 0.12680280208587646, 0.1273036003112793, 0.12780441343784332, 0.12830521166324615, 0.128806009888649, 0.12930680811405182, 0.12980762124061584, 0.13030841946601868, 0.1308092176914215, 0.13131001591682434, 0.13181082904338837, 0.1323116272687912, 0.13281242549419403, 0.13331322371959686, 0.1338140219449997, 0.13431483507156372, 0.13481563329696655, 0.13531643152236938, 0.13581722974777222, 0.13631804287433624, 0.13681884109973907, 0.1373196393251419, 0.13782043755054474, 0.13832123577594757, 0.1388220489025116, 0.13932284712791443, 0.13982364535331726, 0.1403244435787201, 0.14082525670528412, 0.14132605493068695, 0.14182685315608978, 0.14232765138149261, 0.14282844960689545, 0.14332926273345947, 0.1438300609588623, 0.14433085918426514, 0.14483165740966797, 0.145332470536232, 0.14583326876163483, 0.14633406698703766, 0.1468348652124405, 0.14733567833900452, 0.14783647656440735, 0.14833727478981018, 0.148838073015213, 0.14933887124061584, 0.14983968436717987, 0.1503404825925827, 0.15084128081798553, 0.15134207904338837, 0.1518428921699524, 0.15234369039535522, 0.15284448862075806, 0.1533452868461609, 0.15384608507156372, 0.15434689819812775, 0.15484769642353058, 0.1553484946489334, 0.15584929287433624, 0.15635010600090027, 0.1568509042263031, 0.15735170245170593, 0.15785250067710876, 0.1583533138036728, 0.15885411202907562, 0.15935491025447845, 0.1598557084798813, 0.16035650670528412, 0.16085731983184814, 0.16135811805725098, 0.1618589162826538, 0.16235971450805664, 0.16286052763462067, 0.1633613258600235, 0.16386212408542633, 0.16436292231082916, 0.164863720536232, 0.16536453366279602, 0.16586533188819885, 0.16636613011360168, 0.16686692833900452, 0.16736774146556854, 0.16786853969097137, 0.1683693379163742, 0.16887013614177704, 0.16937094926834106, 0.1698717474937439, 0.17037254571914673, 0.17087334394454956, 0.1713741421699524, 0.17187495529651642, 0.17237575352191925, 0.17287655174732208, 0.17337734997272491, 0.17387816309928894, 0.17437896132469177, 0.1748797595500946, 0.17538055777549744, 0.17588135600090027, 0.1763821691274643, 0.17688296735286713, 0.17738376557826996, 0.1778845638036728, 0.17838537693023682, 0.17888617515563965, 0.17938697338104248, 0.1798877716064453, 0.18038856983184814, 0.18088938295841217, 0.181390181183815, 0.18189097940921783, 0.18239177763462067, 0.1828925907611847, 0.18339338898658752, 0.18389418721199036, 0.1843949854373932, 0.18489579856395721, 0.18539659678936005, 0.18589739501476288, 0.1863981932401657, 0.18689899146556854, 0.18739980459213257, 0.1879006028175354, 0.18840140104293823, 0.18890219926834106, 0.1894030123949051, 0.18990381062030792, 0.19040460884571075, 0.1909054070711136, 0.19140620529651642, 0.19190701842308044, 0.19240781664848328, 0.1929086148738861, 0.19340941309928894, 0.19391022622585297, 0.1944110244512558, 0.19491182267665863, 0.19541262090206146, 0.1959134340286255, 0.19641423225402832, 0.19691503047943115, 0.19741582870483398, 0.19791662693023682, 0.19841744005680084, 0.19891823828220367, 0.1994190365076065, 0.19991983473300934, 0.20042064785957336, 0.2009214460849762, 0.20142224431037903, 0.20192304253578186, 0.2024238407611847, 0.20292465388774872, 0.20342545211315155, 0.20392625033855438, 0.20442704856395721, 0.20492786169052124, 0.20542865991592407, 0.2059294581413269, 0.20643025636672974, 0.20693106949329376, 0.2074318677186966, 0.20793266594409943, 0.20843346416950226, 0.2089342623949051, 0.20943507552146912, 0.20993587374687195, 0.21043667197227478, 0.2109374701976776, 0.21143828332424164, 0.21193908154964447, 0.2124398797750473, 0.21294067800045013, 0.21344147622585297, 0.213942289352417, 0.21444308757781982, 0.21494388580322266, 0.2154446840286255, 0.21594549715518951, 0.21644629538059235, 0.21694709360599518, 0.217447891831398, 0.21794869005680084, 0.21844950318336487, 0.2189503014087677, 0.21945109963417053, 0.21995189785957336, 0.2204527109861374, 0.22095350921154022, 0.22145430743694305, 0.2219551056623459, 0.2224559187889099, 0.22295671701431274, 0.22345751523971558, 0.2239583134651184, 0.22445911169052124, 0.22495992481708527, 0.2254607230424881, 0.22596152126789093, 0.22646231949329376, 0.2269631326198578, 0.22746393084526062, 0.22796472907066345, 0.22846552729606628, 0.22896632552146912, 0.22946713864803314, 0.22996793687343597, 0.2304687350988388, 0.23096953332424164, 0.23147034645080566, 0.2319711446762085, 0.23247194290161133, 0.23297274112701416, 0.23347355425357819, 0.23397435247898102, 0.23447515070438385, 0.23497594892978668, 0.23547674715518951, 0.23597756028175354, 0.23647835850715637, 0.2369791567325592, 0.23747995495796204, 0.23798076808452606, 0.2384815663099289, 0.23898236453533173, 0.23948316276073456, 0.2399839609861374, 0.24048477411270142, 0.24098557233810425, 0.24148637056350708, 0.2419871687889099, 0.24248798191547394, 0.24298878014087677, 0.2434895783662796, 0.24399037659168243, 0.24449118971824646, 0.2449919879436493, 0.24549278616905212, 0.24599358439445496, 0.2464943826198578, 0.24699519574642181, 0.24749599397182465, 0.24799679219722748, 0.2484975904226303, 0.24899840354919434, 0.24949920177459717, 0.25], "expected": [-9.210240364074707, -7.41664457321167, -6.809886455535889, -6.434646129608154, -6.162186622619629, -5.94809627532959, -5.771693229675293, -5.621652126312256, -5.491090774536133, -5.375514030456543, -5.271822929382324, -5.177790641784668, -5.091762542724609, -5.012475490570068, -4.938944339752197, -4.87038516998291, -4.806163311004639, -4.745759010314941, -4.688740253448486, -4.634745121002197, -4.583466053009033, -4.534640789031982, -4.488042831420898, -4.443475723266602, -4.400767803192139, -4.359768867492676, -4.320345878601074, -4.282380104064941, -4.245766639709473, -4.210411548614502, -4.176229476928711, -4.143144607543945, -4.111086845397949, -4.079994201660156, -4.049808502197266, -4.020478248596191, -3.991955041885376, -3.9641950130462646, -3.93715763092041, -3.9108054637908936, -3.885103940963745, -3.8600213527679443, -3.8355276584625244, -3.8115954399108887, -3.7881991863250732, -3.7653143405914307, -3.7429189682006836, -3.720991849899292, -3.6995136737823486, -3.6784656047821045, -3.657830238342285, -3.63759183883667, -3.617734670639038, -3.5982444286346436, -3.5791070461273193, -3.560309886932373, -3.5418407917022705, -3.523688316345215, -3.505841016769409, -3.488288640975952, -3.4710216522216797, -3.4540300369262695, -3.437305450439453, -3.4208390712738037, -3.404622793197632, -3.3886489868164062, -3.3729100227355957, -3.3573989868164062, -3.342109203338623, -3.3270342350006104, -3.3121678829193115, -3.29750394821167, -3.2830371856689453, -3.2687621116638184, -3.2546732425689697, -3.2407658100128174, -3.2270352840423584, -3.2134764194488525, -3.200084924697876, -3.186856985092163, -3.173788070678711, -3.160874366760254, -3.1481120586395264, -3.135497570037842, -3.1230273246765137, -3.1106977462768555, -3.0985054969787598, -3.0864479541778564, -3.074521541595459, -3.062723159790039, -3.0510504245758057, -3.0395002365112305, -3.0280702114105225, -3.0167572498321533, -3.0055594444274902, -2.994473934173584, -2.9834983348846436, -2.972630739212036, -2.9618687629699707, -2.9512100219726562, -2.94065260887146, -2.930194616317749, -2.9198338985443115, -2.9095687866210938, -2.899397134780884, -2.889317512512207, -2.8793277740478516, -2.869426727294922, -2.859612226486206, -2.8498828411102295, -2.8402371406555176, -2.8306734561920166, -2.821190118789673, -2.81178617477417, -2.802460193634033, -2.79321026802063, -2.7840354442596436, -2.7749345302581787, -2.7659060955047607, -2.7569491863250732, -2.7480621337890625, -2.739243984222412, -2.7304935455322266, -2.7218101024627686, -2.7131919860839844, -2.704638719558716, -2.696148633956909, -2.6877212524414062, -2.6793551445007324, -2.6710498332977295, -2.662804126739502, -2.6546170711517334, -2.6464877128601074, -2.638415575027466, -2.630399227142334, -2.622438430786133, -2.6145317554473877, -2.6066787242889404, -2.5988786220550537, -2.591130495071411, -2.5834338665008545, -2.5757877826690674, -2.5681915283203125, -2.5606443881988525, -2.5531458854675293, -2.5456948280334473, -2.5382914543151855, -2.5309340953826904, -2.523622751235962, -2.5163567066192627, -2.5091352462768555, -2.501957893371582, -2.494823932647705, -2.4877328872680664, -2.4806840419769287, -2.473676919937134, -2.4667112827301025, -2.4597859382629395, -2.4529011249542236, -2.4460558891296387, -2.4392497539520264, -2.4324822425842285, -2.425753116607666, -2.4190614223480225, -2.412407159805298, -2.405789613723755, -2.3992085456848145, -2.3926634788513184, -2.38615345954895, -2.379678964614868, -2.3732388019561768, -2.366832971572876, -2.3604607582092285, -2.3541221618652344, -2.3478164672851562, -2.341543674468994, -2.3353028297424316, -2.329094171524048, -2.3229169845581055, -2.3167710304260254, -2.3106558322906494, -2.3045711517333984, -2.2985167503356934, -2.292491912841797, -2.286496639251709, -2.2805304527282715, -2.2745933532714844, -2.2686846256256104, -2.2628042697906494, -2.2569518089294434, -2.251127004623413, -2.2453293800354004, -2.239558696746826, -2.2338151931762695, -2.228097915649414, -2.2224068641662598, -2.2167418003082275, -2.211102247238159, -2.2054882049560547, -2.199899435043335, -2.194335460662842, -2.188796043395996, -2.183281183242798, -2.177790403366089, -2.17232346534729, -2.1668803691864014, -2.1614606380462646, -2.1560637950897217, -2.1506903171539307, -2.1453394889831543, -2.1400110721588135, -2.1347053050994873, -2.1294212341308594, -2.124159336090088, -2.1189188957214355, -2.1137001514434814, -2.1085026264190674, -2.1033263206481934, -2.098170757293701, -2.093035936355591, -2.087921380996704, -2.08282732963562, -2.0777533054351807, -2.0726993083953857, -2.0676651000976562, -2.062650442123413, -2.057655096054077, -2.0526790618896484, -2.0477218627929688, -2.042783737182617, -2.0378644466400146, -2.032963514328003, -2.028080940246582, -2.023216962814331, -2.0183706283569336, -2.013542413711548, -2.0087318420410156, -2.003938913345337, -1.9991635084152222, -1.9944052696228027, -1.9896643161773682, -1.9849402904510498, -1.9802331924438477, -1.975542664527893, -1.9708689451217651, -1.9662114381790161, -1.961570382118225, -1.9569454193115234, -1.9523365497589111, -1.9477436542510986, -1.9431663751602173, -1.9386048316955566, -1.9340589046478271, -1.9295282363891602, -1.9250129461288452, -1.9205126762390137, -1.9160274267196655, -1.9115571975708008, -1.9071017503738403, -1.902660846710205, -1.8982346057891846, -1.8938227891921997, -1.889425277709961, -1.8850418329238892, -1.8806726932525635, -1.8763175010681152, -1.8719762563705444, -1.867648720741272, -1.8633347749710083, -1.859034538269043, -1.8547476530075073, -1.850474238395691, -1.846213936805725, -1.8419668674468994, -1.8377329111099243, -1.8335119485855103, -1.8293037414550781, -1.825108289718628, -1.8209255933761597, -1.8167554140090942, -1.8125978708267212, -1.8084524869918823, -1.8043195009231567, -1.8001989126205444, -1.7960902452468872, -1.7919938564300537, -1.7879091501235962, -1.7838363647460938, -1.7797755002975464, -1.775726318359375, -1.7716885805130005, -1.7676624059677124, -1.7636477947235107, -1.7596445083618164, -1.7556524276733398, -1.7516716718673706, -1.7477020025253296, -1.7437434196472168, -1.7397958040237427, -1.7358589172363281, -1.7319331169128418, -1.7280179262161255, -1.7241134643554688, -1.7202194929122925, -1.7163361310958862, -1.7124632596969604, -1.7086007595062256, -1.7047486305236816, -1.7009066343307495, -1.6970747709274292, -1.6932531595230103, -1.6894415616989136, -1.6856398582458496, -1.6818480491638184, -1.6780661344528198, -1.674294114112854, -1.6705316305160522, -1.6667789220809937, -1.6630357503890991, -1.659301996231079, -1.6555778980255127, -1.6518629789352417, -1.6481575965881348, -1.6444613933563232, -1.6407743692398071, -1.6370965242385864, -1.6334278583526611, -1.6297681331634521, -1.626117467880249, -1.6224757432937622, -1.6188427209854126, -1.6152187585830688, -1.6116033792495728, -1.6079967021942139, -1.6043986082077026, -1.6008092164993286, -1.5972284078598022, -1.593656063079834, -1.5900920629501343, -1.5865365266799927, -1.58298921585083, -1.5794503688812256, -1.5759196281433105, -1.572396993637085, -1.5688825845718384, -1.5653762817382812, -1.5618778467178345, -1.5583873987197876, -1.5549050569534302, -1.5514304637908936, -1.5479637384414673, -1.5445047616958618, -1.5410535335540771, -1.5376100540161133, -1.5341742038726807, -1.5307459831237793, -1.5273252725601196, -1.523911952972412, -1.5205062627792358, -1.5171079635620117, -1.5137170553207397, -1.5103334188461304, -1.5069571733474731, -1.503588080406189, -1.500226378440857, -1.4968715906143188, -1.4935239553451538, -1.4901835918426514, -1.4868500232696533, -1.4835234880447388, -1.4802039861679077, -1.4768915176391602, -1.473585844039917, -1.4702869653701782, -1.4669948816299438, -1.4637095928192139, -1.4604310989379883, -1.4571592807769775, -1.453894019126892, -1.450635313987732, -1.4473832845687866, -1.4441378116607666, -1.4408987760543823, -1.4376660585403442, -1.434440016746521, -1.431220293045044, -1.428006887435913, -1.4247997999191284, -1.42159903049469, -1.4184045791625977, -1.4152162075042725, -1.412034034729004, -1.408858060836792, -1.4056881666183472, -1.402524471282959, -1.3993667364120483, -1.3962148427963257, -1.3930691480636597, -1.3899294137954712, -1.3867955207824707, -1.3836674690246582, -1.3805452585220337, -1.3774290084838867, -1.3743184804916382, -1.371213674545288, -1.3681144714355469, -1.3650211095809937, -1.3619333505630493, -1.3588513135910034, -1.3557748794555664, -1.3527039289474487, -1.34963858127594, -1.34657883644104, -1.34352445602417, -1.3404755592346191, -1.3374321460723877, -1.334394097328186, -1.3313614130020142, -1.3283339738845825, -1.3253120183944702, -1.3222953081130981, -1.3192838430404663, -1.3162775039672852, -1.3132765293121338, -1.310280680656433, -1.307289958000183, -1.3043043613433838, -1.3013238906860352, -1.2983485460281372, -1.2953782081604004, -1.2924128770828247, -1.2894525527954102, -1.2864971160888672, -1.283546805381775, -1.2806012630462646, -1.2776607275009155, -1.2747249603271484, -1.271794080734253, -1.2688679695129395, -1.2659467458724976, -1.2630301713943481, -1.2601183652877808, -1.257211446762085, -1.254309058189392, -1.2514114379882812, -1.2485183477401733, -1.2456300258636475, -1.2427462339401245, -1.2398672103881836, -1.2369924783706665, -1.234122395515442, -1.2312568426132202, -1.2283958196640015, -1.2255390882492065, -1.222687005996704, -1.2198392152786255, -1.2169959545135498, -1.214156985282898, -1.2113224267959595, -1.2084922790527344, -1.205666422843933, -1.2028447389602661, -1.200027346611023, -1.1972143650054932, -1.1944055557250977, -1.1916009187698364, -1.1888004541397095, -1.1860041618347168, -1.183212161064148, -1.1804242134094238, -1.1776403188705444, -1.1748604774475098, -1.1720848083496094, -1.1693131923675537, -1.1665456295013428, -1.1637818813323975, -1.161022424697876, -1.1582667827606201, -1.155515193939209, -1.1527674198150635, -1.1500235795974731, -1.1472837924957275, -1.144547700881958, -1.1418156623840332, -1.1390873193740845, -1.136362910270691, -1.1336421966552734, -1.1309252977371216, -1.1282120943069458, -1.1255028247833252, -1.1227972507476807, -1.1200953722000122, -1.1173971891403198, -1.1147027015686035, -1.1120119094848633, -1.1093248128890991, -1.106641173362732, -1.1039612293243408, -1.1012849807739258, -1.0986123085021973]} From 5a0da6c4b3c09a7c27088a9a1153fd75b99e0cee Mon Sep 17 00:00:00 2001 From: vivek maurya Date: Sat, 18 Jan 2025 16:27:05 +0000 Subject: [PATCH 06/18] add math/base/special/logitf --- .../@stdlib/math/base/special/logitf/src/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index 0b0bf6d987c5..42e63be00254 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -35,16 +35,16 @@ */ float stdlib_base_logitf( const float p ) { if ( stdlib_base_is_nanf( p ) ) { - return 0.0 / 0.0; // NaN + return 0.0f / 0.0f; // NaN } if ( !stdlib_base_is_probabilityf( p ) ) { - return 0.0 / 0.0; // NaN + return 0.0f / 0.0f; // NaN } - if ( p == 0.0 ) { + if ( p == 0.0f ) { return STDLIB_CONSTANT_FLOAT32_NINF; } - if ( p == 1.0 ) { + if ( p == 1.0f ) { return STDLIB_CONSTANT_FLOAT32_PINF; } - return stdlib_base_lnf( p / ( 1.0 - p ) ); + return stdlib_base_lnf( p / ( 1.0f - p ) ); } From b60035824095daac5cf1c313457601a266425f32 Mon Sep 17 00:00:00 2001 From: vivek maurya Date: Sat, 18 Jan 2025 16:30:34 +0000 Subject: [PATCH 07/18] add math/base/special/logitf --- .../math/base/special/logitf/README.md | 2 +- .../math/base/special/logitf/lib/main.js | 2 +- .../math/base/special/logitf/test/test.js | 48 +++++++++---------- .../base/special/logitf/test/test.native.js | 48 +++++++++---------- 4 files changed, 50 insertions(+), 50 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index 792374d842c0..7cd81d16589a 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -180,7 +180,7 @@ int main( void ) { int i; for ( i = 0; i < 100; i++ ) { - x = (float)rand() / (float)RAND_MAX; + x = ( float )rand() / ( float )RAND_MAX; v = stdlib_base_logitf( x ); printf( "logitf(%f) = %f\n", x, v ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js index d0b6fb64ffed..0b60afb671b5 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js @@ -68,7 +68,7 @@ function logitf( p ) { if ( p === 1.0 ) { return PINF; } - return lnf( p / ( 1.0-p ) ); + return lnf( p / ( 1.0 - p ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index bbc6d5579ee6..7b6b3529bf6d 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -82,13 +82,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', fu expected = small.expected; x = small.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); @@ -105,13 +105,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', expected = mediumBelow.expected; x = mediumBelow.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * 15 * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * 15 * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); @@ -128,13 +128,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', expected = mediumAbove.expected; x = mediumAbove.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * 15 * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * 15 * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); @@ -151,13 +151,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', fu expected = large.expected; x = large.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index c4f9a3004159..60f43dc45d03 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -91,13 +91,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', op expected = small.expected; x = small.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); @@ -114,13 +114,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', expected = mediumBelow.expected; x = mediumBelow.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * 15 * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * 15 * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); @@ -137,13 +137,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', expected = mediumAbove.expected; x = mediumAbove.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * 15 * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * 15 * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); @@ -160,13 +160,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', op expected = large.expected; x = large.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[i] ); - if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + y = logitf( x[ i ] ); + if ( y === expected[ i ] ) { + t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); } else { - delta = absf( y - expected[i] ); - tol = EPS * absf( expected[i] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[ i ] ); + tol = EPS * absf( expected[ i ] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); From 41a7874b74ee3e7f52136a9ddba93812cc75e42f Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Fri, 7 Mar 2025 12:59:18 +0530 Subject: [PATCH 08/18] Apply suggestions from code review Signed-off-by: Gunj Joshi --- .../math/base/special/logitf/README.md | 20 +++++++++---------- .../special/logitf/benchmark/benchmark.js | 2 +- .../logitf/benchmark/benchmark.native.js | 2 +- .../special/logitf/benchmark/c/benchmark.c | 8 ++++---- .../logitf/benchmark/c/native/benchmark.c | 2 +- .../math/base/special/logitf/docs/repl.txt | 2 +- .../base/special/logitf/examples/index.js | 4 ++-- .../include/stdlib/math/base/special/logitf.h | 2 +- .../math/base/special/logitf/lib/index.js | 2 +- .../math/base/special/logitf/lib/main.js | 2 +- .../math/base/special/logitf/lib/native.js | 2 +- .../math/base/special/logitf/src/main.c | 8 ++++---- 12 files changed, 28 insertions(+), 28 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index 7cd81d16589a..7adb0e2717b8 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -20,7 +20,7 @@ limitations under the License. # logitf -> Compute the [logit][logit] function for single precision-floating point number. +> Compute the [logit][logit] function for a single-precision floating-point number.
@@ -55,7 +55,7 @@ var logitf = require( '@stdlib/math/base/special/logitf' ); #### logitf( p ) -Computes the [logit][logit] function for single precision-floating point number. +Computes the [logit][logit] function for a single-precision floating-point number. ```javascript var v = logitf( 0.2 ); @@ -93,11 +93,11 @@ var len = 100; var opts = { 'dtype': 'float32' }; -var p = uniform( len, 0, 1, opts ); +var p = uniform( len, 0.0, 1.0, opts ); var i; for ( i = 0; i < 100; i++ ) { - console.log( 'logitf(%f) = %f', p[ i ], logitf( p[ i ] ) ); + console.log( 'logitf(%d) = %d', p[ i ], logitf( p[ i ] ) ); } ``` @@ -133,14 +133,14 @@ for ( i = 0; i < 100; i++ ) { #### stdlib_base_logitf( p ) -Computes the [logit][logit] function for single precision-floating point number. +Computes the [logit][logit] function for a single-precision floating-point number. ```c -float out = stdlib_base_logitf( 0.2 ); -// returns ~-1.386 +float out = stdlib_base_logitf( 0.2f ); +// returns ~-1.386f -out = stdlib_base_logitf( 0.9 ); -// returns ~2.197 +out = stdlib_base_logitf( 0.9f ); +// returns ~2.197f ``` The function accepts the following arguments: @@ -180,7 +180,7 @@ int main( void ) { int i; for ( i = 0; i < 100; i++ ) { - x = ( float )rand() / ( float )RAND_MAX; + x = (float)rand() / (float)RAND_MAX; v = stdlib_base_logitf( x ); printf( "logitf(%f) = %f\n", x, v ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js index 02aa02c411a0..52ccc7608b21 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) { }; len = 100; - x = uniform( len, 0, 1, opts ); + x = uniform( len, 0.0, 1.0, opts ); b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js index 1bb38998d9d5..b90f39e5639f 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -50,7 +50,7 @@ bench( pkg+'::native', opts, function benchmark( b ) { }; len = 100; - x = uniform( len, 0, 1, opts ); + x = uniform( len, 0.0, 1.0, opts ); b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c index aedc45c04e1a..c60a310fd772 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c @@ -22,7 +22,7 @@ #include #include -#define NAME "logit" +#define NAME "logitf" #define ITERATIONS 1000000 #define REPEATS 3 @@ -78,13 +78,13 @@ static double tic( void ) { * * @return random number */ -static double rand_double( void ) { +static float rand_float( void ) { int r = rand(); - return (double)r / ( (double)RAND_MAX + 1.0 ); + return (float)r / ( (float)RAND_MAX + 1.0f ); } /** -* Evaluates the logit function. +* Computes the logit function for a single-precision floating-point number. * * @param x input value * @return result diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c index 3e822a3b1fbe..f1b694a84bba 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c @@ -92,8 +92,8 @@ static float rand_float( void ) { static double benchmark( void ) { double elapsed; float x[ 100 ]; - float y; double t; + float y; int i; for ( i = 0; i < 100; i++ ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt index 599979fe4567..55d7a9473cbd 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt @@ -1,6 +1,6 @@ {{alias}}( p ) - Evaluates the logit function for single precision-floating point number. + Evaluates the logit function for a single-precision floating-point number. Let `p` be the probability of some event. The logit function is defined as the logarithm of the odds `p / (1-p)`. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js index d0d6e70ab2b3..3554b51d47fe 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -25,9 +25,9 @@ var len = 100; var opts = { 'dtype': 'float32' }; -var p = uniform( len, 0, 1, opts ); +var p = uniform( len, 0.0, 1.0, opts ); var i; for ( i = 0; i < 100; i++ ) { - console.log( 'logitf(%f) = %f', p[ i ], logitf( p[ i ] ) ); + console.log( 'logitf(%d) = %d', p[ i ], logitf( p[ i ] ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h index 5076b0d45989..7d3d53a11d36 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h @@ -27,7 +27,7 @@ extern "C" { #endif /** -* Evaluates the logit function for single precision-floating point number. +* Evaluates the logit function for a single-precision floating-point number. */ float stdlib_base_logitf( const float p ); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js index cf1adcd60263..51e44880d226 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Evaluate the logit function for single precision-floating point number. +* Evaluate the logit function for single-precision floating-point number. * * @module @stdlib/math/base/special/logitf * diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js index 0b60afb671b5..7e1cd776724f 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js @@ -30,7 +30,7 @@ var NINF = require( '@stdlib/constants/float32/ninf' ); // MAIN // /** -* Evaluates the logit function for single precision-floating point number. +* Evaluates the logit function for a single-precision floating-point number. * * @param {Probability} p - input value * @returns {number} function value diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js index 690a777564fd..c57d7e341544 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Evaluates the logit function for single precision-floating point number. +* Evaluates the logit function for a single-precision floating-point number. * * @private * @param {Probability} p - input value diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index 42e63be00254..5798a05f79b6 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -24,14 +24,14 @@ #include "stdlib/constants/float32/ninf.h" /** -* Evaluates the logit function for single precision-floating point number. +* Evaluates the logit function for a single-precision floating-point number. * * @param x input value -* @return output value +* @return output value * * @example -* float out = stdlib_base_logitf( 0.2 ); -* // returns ~-1.386 +* float out = stdlib_base_logitf( 0.2f ); +* // returns ~-1.386f */ float stdlib_base_logitf( const float p ) { if ( stdlib_base_is_nanf( p ) ) { From 43487207b3f12894fc79a12debf1600f90528102 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Fri, 7 Mar 2025 12:59:48 +0530 Subject: [PATCH 09/18] Update lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts Signed-off-by: Gunj Joshi --- .../@stdlib/math/base/special/logitf/docs/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts index 0c358cfeb482..fc3d607446c7 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts @@ -19,7 +19,7 @@ // TypeScript Version: 4.1 /** -* Evaluates the logit function for single precision-floating point number. +* Evaluates the logit function for a single-precision floating-point number. * * ## Notes * From 7049e2ff6afaf9ad8a11093d021089de4c03b10b Mon Sep 17 00:00:00 2001 From: Vivek Maurya Date: Sat, 8 Mar 2025 14:30:26 +0000 Subject: [PATCH 10/18] feat: add math/base/special/logitf --- 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: na - task: lint_javascript_src status: na - 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: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: missing_dependencies - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/logitf/README.md | 7 +- .../special/logitf/benchmark/benchmark.js | 9 +-- .../logitf/benchmark/benchmark.native.js | 9 +-- .../special/logitf/benchmark/c/benchmark.c | 12 +-- .../base/special/logitf/examples/index.js | 7 +- .../math/base/special/logitf/package.json | 2 +- .../logitf/test/fixtures/python/large.json | 2 +- .../logitf/test/fixtures/python/medium.json | 1 + .../test/fixtures/python/medium_above.json | 1 - .../test/fixtures/python/medium_below.json | 1 - .../logitf/test/fixtures/python/runner.py | 7 +- .../logitf/test/fixtures/python/small.json | 2 +- .../math/base/special/logitf/test/test.js | 74 +++++++------------ .../base/special/logitf/test/test.native.js | 74 +++++++------------ 14 files changed, 74 insertions(+), 134 deletions(-) create mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium.json delete mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json delete mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index 7adb0e2717b8..45d0a65fa345 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -90,12 +90,11 @@ var uniform = require( '@stdlib/random/array/uniform' ); var logitf = require( '@stdlib/math/base/special/logitf' ); var len = 100; -var opts = { +var p = uniform( len, 0.0, 1.0, { 'dtype': 'float32' -}; -var p = uniform( len, 0.0, 1.0, opts ); -var i; +}); +var i; for ( i = 0; i < 100; i++ ) { console.log( 'logitf(%d) = %d', p[ i ], logitf( p[ i ] ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js index 52ccc7608b21..b8e6359e1521 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -30,18 +30,15 @@ var logitf = require( './../lib' ); // MAIN // bench( pkg, function benchmark( b ) { - var opts; var len; var x; var y; var i; - opts = { - 'dtype': 'float32' - }; - len = 100; - x = uniform( len, 0.0, 1.0, opts ); + x = uniform( len, 0.0, 1.0, { + 'dtype': 'float32' + }); b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js index b90f39e5639f..a76d1552afc8 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -39,18 +39,15 @@ var opts = { // MAIN // bench( pkg+'::native', opts, function benchmark( b ) { - var opts; var len; var x; var y; var i; - opts = { - 'dtype': 'float32' - }; - len = 100; - x = uniform( len, 0.0, 1.0, opts ); + x = uniform( len, 0.0, 1.0, { + 'dtype': 'float32' + }); b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c index c60a310fd772..ff26891440fd 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c @@ -89,20 +89,20 @@ static float rand_float( void ) { * @param x input value * @return result */ -double logit( double x ) { +double logitf( double x ) { if ( x != x ) { return x; } - if ( x < 0.0 || x > 1.0 ) { + if ( x < 0.0f || x > 1.0f ) { return NAN; } - if ( x == 0.0 ) { + if ( x == 0.0f ) { return -HUGE_VAL; } - if ( x == 1.0 ) { + if ( x == 1.0f ) { return HUGE_VAL; } - return log( x / ( 1.0 - x ) ); + return log( x / ( 1.0f - x ) ); } /** @@ -118,7 +118,7 @@ static double benchmark( void ) { t = tic(); for ( i = 0; i < ITERATIONS; i++ ) { - y = logit( rand_double() ); + y = logitf( rand_float() ); if ( y != y ) { printf( "should not return NaN\n" ); break; diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js index 3554b51d47fe..7f3a6b89c28e 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -22,12 +22,11 @@ var uniform = require( '@stdlib/random/array/uniform' ); var logitf = require( './../lib' ); var len = 100; -var opts = { +var p = uniform( len, 0.0, 1.0, { 'dtype': 'float32' -}; -var p = uniform( len, 0.0, 1.0, opts ); -var i; +}); +var i; for ( i = 0; i < 100; i++ ) { console.log( 'logitf(%d) = %d', p[ i ], logitf( p[ i ] ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/package.json b/lib/node_modules/@stdlib/math/base/special/logitf/package.json index b632bb54fb36..541beab5136c 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/logitf", "version": "0.0.0", - "description": "Logit function for single precision-floating point number.", + "description": "Evaluates the logit function for a single-precision floating-point number.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json index c271bbda595e..915bf4855106 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/large.json @@ -1 +1 @@ -{"x": [0.75, 0.7505007982254028, 0.7510015964508057, 0.7515023946762085, 0.7520031929016113, 0.7525039911270142, 0.753004789352417, 0.7535055875778198, 0.7540063858032227, 0.7545072436332703, 0.7550080418586731, 0.7555088400840759, 0.7560096383094788, 0.7565104365348816, 0.7570112347602844, 0.7575120329856873, 0.7580128312110901, 0.7585136294364929, 0.7590144276618958, 0.7595152258872986, 0.7600160241127014, 0.7605168223381042, 0.7610176205635071, 0.7615184187889099, 0.7620192170143127, 0.7625200152397156, 0.7630208134651184, 0.763521671295166, 0.7640224695205688, 0.7645232677459717, 0.7650240659713745, 0.7655248641967773, 0.7660256624221802, 0.766526460647583, 0.7670272588729858, 0.7675280570983887, 0.7680288553237915, 0.7685296535491943, 0.7690304517745972, 0.76953125, 0.7700320482254028, 0.7705328464508057, 0.7710336446762085, 0.7715344429016113, 0.7720352411270142, 0.7725360989570618, 0.7730368971824646, 0.7735376954078674, 0.7740384936332703, 0.7745392918586731, 0.7750400900840759, 0.7755408883094788, 0.7760416865348816, 0.7765424847602844, 0.7770432829856873, 0.7775440812110901, 0.7780448794364929, 0.7785456776618958, 0.7790464758872986, 0.7795472741127014, 0.7800480723381042, 0.7805488705635071, 0.7810497283935547, 0.7815505266189575, 0.7820513248443604, 0.7825521230697632, 0.783052921295166, 0.7835537195205688, 0.7840545177459717, 0.7845553159713745, 0.7850561141967773, 0.7855569124221802, 0.786057710647583, 0.7865585088729858, 0.7870593070983887, 0.7875601053237915, 0.7880609035491943, 0.7885617017745972, 0.7890625, 0.7895632982254028, 0.7900641560554504, 0.7905649542808533, 0.7910657525062561, 0.7915665507316589, 0.7920673489570618, 0.7925681471824646, 0.7930689454078674, 0.7935697436332703, 0.7940705418586731, 0.7945713400840759, 0.7950721383094788, 0.7955729365348816, 0.7960737347602844, 0.7965745329856873, 0.7970753312110901, 0.7975761294364929, 0.7980769276618958, 0.7985777258872986, 0.7990785837173462, 0.799579381942749, 0.8000801801681519, 0.8005809783935547, 0.8010817766189575, 0.8015825748443604, 0.8020833730697632, 0.802584171295166, 0.8030849695205688, 0.8035857677459717, 0.8040865659713745, 0.8045873641967773, 0.8050881624221802, 0.805588960647583, 0.8060897588729858, 0.8065905570983887, 0.8070913553237915, 0.8075922131538391, 0.8080930113792419, 0.8085938096046448, 0.8090946078300476, 0.8095954060554504, 0.8100962042808533, 0.8105970025062561, 0.8110978007316589, 0.8115985989570618, 0.8120993971824646, 0.8126001954078674, 0.8131009936332703, 0.8136017918586731, 0.8141025900840759, 0.8146033883094788, 0.8151041865348816, 0.8156049847602844, 0.8161057829856873, 0.8166066408157349, 0.8171074390411377, 0.8176082372665405, 0.8181090354919434, 0.8186098337173462, 0.819110631942749, 0.8196114301681519, 0.8201122283935547, 0.8206130266189575, 0.8211138248443604, 0.8216146230697632, 0.822115421295166, 0.8226162195205688, 0.8231170177459717, 0.8236178159713745, 0.8241186141967773, 0.8246194124221802, 0.8251202702522278, 0.8256210684776306, 0.8261218667030334, 0.8266226649284363, 0.8271234631538391, 0.8276242613792419, 0.8281250596046448, 0.8286258578300476, 0.8291266560554504, 0.8296274542808533, 0.8301282525062561, 0.8306290507316589, 0.8311298489570618, 0.8316306471824646, 0.8321314454078674, 0.8326322436332703, 0.8331330418586731, 0.8336338400840759, 0.8341346979141235, 0.8346354961395264, 0.8351362943649292, 0.835637092590332, 0.8361378908157349, 0.8366386890411377, 0.8371394872665405, 0.8376402854919434, 0.8381410837173462, 0.838641881942749, 0.8391426801681519, 0.8396434783935547, 0.8401442766189575, 0.8406450748443604, 0.8411458730697632, 0.841646671295166, 0.8421474695205688, 0.8426482677459717, 0.8431491255760193, 0.8436499238014221, 0.844150722026825, 0.8446515202522278, 0.8451523184776306, 0.8456531167030334, 0.8461539149284363, 0.8466547131538391, 0.8471555113792419, 0.8476563096046448, 0.8481571078300476, 0.8486579060554504, 0.8491587042808533, 0.8496595025062561, 0.8501603007316589, 0.8506610989570618, 0.8511618971824646, 0.8516627550125122, 0.852163553237915, 0.8526643514633179, 0.8531651496887207, 0.8536659479141235, 0.8541667461395264, 0.8546675443649292, 0.855168342590332, 0.8556691408157349, 0.8561699390411377, 0.8566707372665405, 0.8571715354919434, 0.8576723337173462, 0.858173131942749, 0.8586739301681519, 0.8591747283935547, 0.8596755266189575, 0.8601763248443604, 0.860677182674408, 0.8611779808998108, 0.8616787791252136, 0.8621795773506165, 0.8626803755760193, 0.8631811738014221, 0.863681972026825, 0.8641827702522278, 0.8646835684776306, 0.8651843667030334, 0.8656851649284363, 0.8661859631538391, 0.8666867613792419, 0.8671875596046448, 0.8676883578300476, 0.8681891560554504, 0.8686899542808533, 0.8691907525062561, 0.8696916103363037, 0.8701924085617065, 0.8706932067871094, 0.8711940050125122, 0.871694803237915, 0.8721956014633179, 0.8726963996887207, 0.8731971979141235, 0.8736979961395264, 0.8741987943649292, 0.874699592590332, 0.8752003908157349, 0.8757011890411377, 0.8762019872665405, 0.8767027854919434, 0.8772035837173462, 0.877704381942749, 0.8782052397727966, 0.8787060379981995, 0.8792068362236023, 0.8797076344490051, 0.880208432674408, 0.8807092308998108, 0.8812100291252136, 0.8817108273506165, 0.8822116255760193, 0.8827124238014221, 0.883213222026825, 0.8837140202522278, 0.8842148184776306, 0.8847156167030334, 0.8852164149284363, 0.8857172131538391, 0.8862180113792419, 0.8867188096046448, 0.8872196674346924, 0.8877204656600952, 0.888221263885498, 0.8887220621109009, 0.8892228603363037, 0.8897236585617065, 0.8902244567871094, 0.8907252550125122, 0.891226053237915, 0.8917268514633179, 0.8922276496887207, 0.8927284479141235, 0.8932292461395264, 0.8937300443649292, 0.894230842590332, 0.8947316408157349, 0.8952324390411377, 0.8957332372665405, 0.8962340950965881, 0.896734893321991, 0.8972356915473938, 0.8977364897727966, 0.8982372879981995, 0.8987380862236023, 0.8992388844490051, 0.899739682674408, 0.9002404808998108, 0.9007412791252136, 0.9012420773506165, 0.9017428755760193, 0.9022436738014221, 0.902744472026825, 0.9032452702522278, 0.9037460684776306, 0.9042468667030334, 0.904747724533081, 0.9052485227584839, 0.9057493209838867, 0.9062501192092896, 0.9067509174346924, 0.9072517156600952, 0.907752513885498, 0.9082533121109009, 0.9087541103363037, 0.9092549085617065, 0.9097557067871094, 0.9102565050125122, 0.910757303237915, 0.9112581014633179, 0.9117588996887207, 0.9122596979141235, 0.9127604961395264, 0.9132612943649292, 0.9137621521949768, 0.9142629504203796, 0.9147637486457825, 0.9152645468711853, 0.9157653450965881, 0.916266143321991, 0.9167669415473938, 0.9172677397727966, 0.9177685379981995, 0.9182693362236023, 0.9187701344490051, 0.919270932674408, 0.9197717308998108, 0.9202725291252136, 0.9207733273506165, 0.9212741255760193, 0.9217749238014221, 0.922275722026825, 0.9227765798568726, 0.9232773780822754, 0.9237781763076782, 0.924278974533081, 0.9247797727584839, 0.9252805709838867, 0.9257813692092896, 0.9262821674346924, 0.9267829656600952, 0.927283763885498, 0.9277845621109009, 0.9282853603363037, 0.9287861585617065, 0.9292869567871094, 0.9297877550125122, 0.930288553237915, 0.9307893514633179, 0.9312902092933655, 0.9317910075187683, 0.9322918057441711, 0.932792603969574, 0.9332934021949768, 0.9337942004203796, 0.9342949986457825, 0.9347957968711853, 0.9352965950965881, 0.935797393321991, 0.9362981915473938, 0.9367989897727966, 0.9372997879981995, 0.9378005862236023, 0.9383013844490051, 0.938802182674408, 0.9393029808998108, 0.9398037791252136, 0.9403046369552612, 0.9408054351806641, 0.9413062334060669, 0.9418070316314697, 0.9423078298568726, 0.9428086280822754, 0.9433094263076782, 0.943810224533081, 0.9443110227584839, 0.9448118209838867, 0.9453126192092896, 0.9458134174346924, 0.9463142156600952, 0.946815013885498, 0.9473158121109009, 0.9478166103363037, 0.9483174085617065, 0.9488182067871094, 0.949319064617157, 0.9498198628425598, 0.9503206610679626, 0.9508214592933655, 0.9513222575187683, 0.9518230557441711, 0.952323853969574, 0.9528246521949768, 0.9533254504203796, 0.9538262486457825, 0.9543270468711853, 0.9548278450965881, 0.955328643321991, 0.9558294415473938, 0.9563302397727966, 0.9568310379981995, 0.9573318362236023, 0.9578326940536499, 0.9583334922790527, 0.9588342905044556, 0.9593350887298584, 0.9598358869552612, 0.9603366851806641, 0.9608374834060669, 0.9613382816314697, 0.9618390798568726, 0.9623398780822754, 0.9628406763076782, 0.963341474533081, 0.9638422727584839, 0.9643430709838867, 0.9648438692092896, 0.9653446674346924, 0.9658454656600952, 0.966346263885498, 0.9668471217155457, 0.9673479199409485, 0.9678487181663513, 0.9683495163917542, 0.968850314617157, 0.9693511128425598, 0.9698519110679626, 0.9703527092933655, 0.9708535075187683, 0.9713543057441711, 0.971855103969574, 0.9723559021949768, 0.9728567004203796, 0.9733574986457825, 0.9738582968711853, 0.9743590950965881, 0.974859893321991, 0.9753607511520386, 0.9758615493774414, 0.9763623476028442, 0.9768631458282471, 0.9773639440536499, 0.9778647422790527, 0.9783655405044556, 0.9788663387298584, 0.9793671369552612, 0.9798679351806641, 0.9803687334060669, 0.9808695316314697, 0.9813703298568726, 0.9818711280822754, 0.9823719263076782, 0.982872724533081, 0.9833735227584839, 0.9838743209838867, 0.9843751788139343, 0.9848759770393372, 0.98537677526474, 0.9858775734901428, 0.9863783717155457, 0.9868791699409485, 0.9873799681663513, 0.9878807663917542, 0.988381564617157, 0.9888823628425598, 0.9893831610679626, 0.9898839592933655, 0.9903847575187683, 0.9908855557441711, 0.991386353969574, 0.9918871521949768, 0.9923879504203796, 0.9928887486457825, 0.9933896064758301, 0.9938904047012329, 0.9943912029266357, 0.9948920011520386, 0.9953927993774414, 0.9958935976028442, 0.9963943958282471, 0.9968951940536499, 0.9973959922790527, 0.9978967905044556, 0.9983975887298584, 0.9988983869552612, 0.9993991851806641, 0.9998999834060669], "expected": [1.0986123085021973, 1.1012849807739258, 1.1039612293243408, 1.106641173362732, 1.1093246936798096, 1.1120117902755737, 1.114702582359314, 1.1173970699310303, 1.1200952529907227, 1.1227973699569702, 1.1255030632019043, 1.128212332725525, 1.1309254169464111, 1.1336421966552734, 1.136362910270691, 1.1390873193740845, 1.1418156623840332, 1.144547700881958, 1.147283673286438, 1.1500235795974731, 1.1527674198150635, 1.1555150747299194, 1.1582666635513306, 1.1610223054885864, 1.1637818813323975, 1.1665453910827637, 1.1693130731582642, 1.172084927558899, 1.1748605966567993, 1.1776403188705444, 1.1804242134094238, 1.183212161064148, 1.1860042810440063, 1.1888004541397095, 1.1916009187698364, 1.194405436515808, 1.1972142457962036, 1.200027346611023, 1.2028447389602661, 1.2056663036346436, 1.2084921598434448, 1.21132230758667, 1.2141568660736084, 1.2169958353042603, 1.219839096069336, 1.2226872444152832, 1.2255393266677856, 1.228395938873291, 1.2312569618225098, 1.2341225147247314, 1.2369924783706665, 1.239867091178894, 1.242746353149414, 1.2456300258636475, 1.2485183477401733, 1.2514114379882812, 1.2543089389801025, 1.2572113275527954, 1.2601183652877808, 1.2630300521850586, 1.2659465074539185, 1.26886785030365, 1.2717941999435425, 1.274725079536438, 1.2776607275009155, 1.2806013822555542, 1.283546805381775, 1.2864972352981567, 1.2894525527954102, 1.2924128770828247, 1.2953782081604004, 1.2983485460281372, 1.3013238906860352, 1.3043043613433838, 1.3072898387908936, 1.3102805614471436, 1.3132764101028442, 1.3162775039672852, 1.3192836046218872, 1.322295069694519, 1.3253121376037598, 1.3283342123031616, 1.3313615322113037, 1.3343942165374756, 1.3374321460723877, 1.3404756784439087, 1.34352445602417, 1.34657883644104, 1.3496387004852295, 1.3527039289474487, 1.3557748794555664, 1.3588513135910034, 1.3619333505630493, 1.365020990371704, 1.3681143522262573, 1.371213436126709, 1.374318242073059, 1.3774287700653076, 1.3805454969406128, 1.3836675882339478, 1.3867955207824707, 1.3899294137954712, 1.3930692672729492, 1.3962149620056152, 1.3993667364120483, 1.4025243520736694, 1.4056881666183472, 1.408858060836792, 1.412034034729004, 1.415216088294983, 1.418404459953308, 1.4215989112854004, 1.4247997999191284, 1.4280067682266235, 1.4312200546264648, 1.4344402551651, 1.437666416168213, 1.4408988952636719, 1.4441379308700562, 1.4473834037780762, 1.4506354331970215, 1.453894019126892, 1.457159161567688, 1.4604310989379883, 1.4637097120285034, 1.4669948816299438, 1.4702869653701782, 1.473585844039917, 1.4768913984298706, 1.4802039861679077, 1.4835233688354492, 1.4868499040603638, 1.4901833534240723, 1.493524193763733, 1.4968717098236084, 1.500226378440857, 1.5035881996154785, 1.5069572925567627, 1.51033353805542, 1.5137171745300293, 1.5171079635620117, 1.5205062627792358, 1.5239120721817017, 1.52732515335083, 1.5307458639144897, 1.5341742038726807, 1.5376100540161133, 1.5410535335540771, 1.5445046424865723, 1.5479635000228882, 1.5514307022094727, 1.5549051761627197, 1.5583876371383667, 1.561877965927124, 1.5653762817382812, 1.568882703781128, 1.5723971128463745, 1.5759196281433105, 1.579450249671936, 1.58298921585083, 1.5865365266799927, 1.5900919437408447, 1.5936559438705444, 1.5972282886505127, 1.600809097290039, 1.604398488998413, 1.6079965829849243, 1.611603021621704, 1.6152188777923584, 1.6188429594039917, 1.6224758625030518, 1.6261175870895386, 1.6297682523727417, 1.6334278583526611, 1.637096643447876, 1.6407744884490967, 1.6444613933563232, 1.6481574773788452, 1.6518629789352417, 1.6555777788162231, 1.659301996231079, 1.66303551197052, 1.666778802871704, 1.6705315113067627, 1.674293875694275, 1.6780660152435303, 1.681848406791687, 1.6856400966644287, 1.6894416809082031, 1.6932532787322998, 1.6970748901367188, 1.7009066343307495, 1.7047486305236816, 1.7086007595062256, 1.7124632596969604, 1.7163361310958862, 1.7202194929122925, 1.7241133451461792, 1.728017807006836, 1.7319329977035522, 1.7358587980270386, 1.7397955656051636, 1.7437431812286377, 1.7477022409439087, 1.7516719102859497, 1.755652666091919, 1.759644627571106, 1.7636479139328003, 1.767662525177002, 1.7716885805130005, 1.7757261991500854, 1.7797755002975464, 1.7838364839553833, 1.7879091501235962, 1.7919937372207642, 1.7960902452468872, 1.8001987934112549, 1.8043195009231567, 1.8084524869918823, 1.812597632408142, 1.8167551755905151, 1.8209258317947388, 1.825108528137207, 1.8293038606643677, 1.8335120677947998, 1.8377330303192139, 1.841966986656189, 1.8462140560150146, 1.8504741191864014, 1.8547476530075073, 1.8590344190597534, 1.8633346557617188, 1.8676486015319824, 1.8719761371612549, 1.8763173818588257, 1.880672574043274, 1.8850417137145996, 1.8894249200820923, 1.8938225507736206, 1.8982347249984741, 1.9026610851287842, 1.9071018695831299, 1.9115573167800903, 1.9160276651382446, 1.9205126762390137, 1.9250129461288452, 1.9295282363891602, 1.9340589046478271, 1.9386048316955566, 1.9431663751602173, 1.947743535041809, 1.9523365497589111, 1.9569453001022339, 1.961570143699646, 1.966211199760437, 1.970868706703186, 1.9755429029464722, 1.9802333116531372, 1.9849404096603394, 1.9896644353866577, 1.9944055080413818, 1.9991636276245117, 2.003938913345337, 2.0087318420410156, 2.013542413711548, 2.0183706283569336, 2.023216724395752, 2.028080940246582, 2.032963514328003, 2.0378642082214355, 2.042783737182617, 2.0477218627929688, 2.0526788234710693, 2.057654857635498, 2.062650680541992, 2.0676653385162354, 2.072699546813965, 2.0777535438537598, 2.08282732963562, 2.087921619415283, 2.093035936355591, 2.098170757293701, 2.1033263206481934, 2.1085026264190674, 2.1137001514434814, 2.1189188957214355, 2.124159336090088, 2.1294212341308594, 2.134705066680908, 2.1400110721588135, 2.145339250564575, 2.1506900787353516, 2.156064033508301, 2.1614606380462646, 2.1668803691864014, 2.172323703765869, 2.177790641784668, 2.183281421661377, 2.188796281814575, 2.194335460662842, 2.199899435043335, 2.2054882049560547, 2.211102247238159, 2.2167415618896484, 2.2224066257476807, 2.228097677230835, 2.2338149547576904, 2.239558696746826, 2.2453291416168213, 2.251127243041992, 2.2569520473480225, 2.2628045082092285, 2.2686848640441895, 2.2745935916900635, 2.2805306911468506, 2.286496639251709, 2.292491912841797, 2.2985165119171143, 2.3045711517333984, 2.3106555938720703, 2.3167707920074463, 2.3229167461395264, 2.3290939331054688, 2.3353028297424316, 2.341543436050415, 2.347816228866577, 2.354121685028076, 2.3604612350463867, 2.366833209991455, 2.373239040374756, 2.379678964614868, 2.3861536979675293, 2.3926634788513184, 2.3992085456848145, 2.405789852142334, 2.412407159805298, 2.4190614223480225, 2.425753116607666, 2.4324822425842285, 2.4392495155334473, 2.4460556507110596, 2.4529008865356445, 2.4597856998443604, 2.4667108058929443, 2.4736764430999756, 2.480684280395508, 2.4877331256866455, 2.494824171066284, 2.501958131790161, 2.5091354846954346, 2.516356945037842, 2.523622989654541, 2.5309340953826904, 2.5382912158966064, 2.5456948280334473, 2.55314564704895, 2.5606443881988525, 2.5681912899017334, 2.5757875442504883, 2.5834336280822754, 2.591130256652832, 2.5988781452178955, 2.6066792011260986, 2.614532232284546, 2.622438669204712, 2.630399465560913, 2.638415813446045, 2.6464879512786865, 2.6546170711517334, 2.662804126739502, 2.6710498332977295, 2.6793551445007324, 2.687721014022827, 2.69614839553833, 2.7046384811401367, 2.7131917476654053, 2.7218096256256104, 2.7304933071136475, 2.739243507385254, 2.748061418533325, 2.7569494247436523, 2.765906572341919, 2.774935007095337, 2.7840359210968018, 2.793210506439209, 2.802460193634033, 2.811786413192749, 2.821190357208252, 2.8306734561920166, 2.8402369022369385, 2.8498826026916504, 2.859611988067627, 2.8694264888763428, 2.8793275356292725, 2.889317274093628, 2.8993966579437256, 2.9095683097839355, 2.9198334217071533, 2.9301950931549072, 2.940653085708618, 2.9512102603912354, 2.96186900138855, 2.9726309776306152, 2.9834985733032227, 2.994473934173584, 3.0055594444274902, 3.0167572498321533, 3.0280699729919434, 3.0395002365112305, 3.0510501861572266, 3.06272292137146, 3.074521064758301, 3.0864474773406982, 3.0985050201416016, 3.110697031021118, 3.123028039932251, 3.135498285293579, 3.1481125354766846, 3.160874843597412, 3.17378830909729, 3.186857223510742, 3.200085163116455, 3.2134764194488525, 3.2270352840423584, 3.2407658100128174, 3.2546732425689697, 3.2687618732452393, 3.283036947250366, 3.297503709793091, 3.312167167663574, 3.327033519744873, 3.3421084880828857, 3.35739803314209, 3.372910976409912, 3.3886497020721436, 3.404623508453369, 3.420839786529541, 3.4373059272766113, 3.4540305137634277, 3.471021890640259, 3.4882888793945312, 3.505841016769409, 3.5236880779266357, 3.5418407917022705, 3.560309648513794, 3.579106569290161, 3.5982437133789062, 3.617733955383301, 3.6375908851623535, 3.6578292846679688, 3.678466796875, 3.699514627456665, 3.7209928035736084, 3.742919921875, 3.765315055847168, 3.7881996631622314, 3.811595916748047, 3.8355281352996826, 3.8600213527679443, 3.885103940963745, 3.9108052253723145, 3.937157154083252, 3.9641942977905273, 3.9919543266296387, 4.020477294921875, 4.049807548522949, 4.079992771148682, 4.111085414886475, 4.143146514892578, 4.176231384277344, 4.210412979125977, 4.245768070220947, 4.282381057739258, 4.320346355438232, 4.359769821166992, 4.400768280029297, 4.443475723266602, 4.48804235458374, 4.534640312194824, 4.583465576171875, 4.634744167327881, 4.688738822937012, 4.74575662612915, 4.8061604499816895, 4.870381832122803, 4.938940525054932, 5.012479782104492, 5.091766357421875, 5.177794456481934, 5.271826267242432, 5.375516891479492, 5.491093158721924, 5.621654033660889, 5.771694660186768, 5.94809627532959, 6.162185192108154, 6.4346418380737305, 6.809877395629883, 7.416622638702393, 9.210074424743652]} +{"x": [0.75, 0.7505007982254028, 0.7510015964508057, 0.7515023946762085, 0.7520031929016113, 0.7525039911270142, 0.753004789352417, 0.7535055875778198, 0.7540063858032227, 0.7545072436332703, 0.7550080418586731, 0.7555088400840759, 0.7560096383094788, 0.7565104365348816, 0.7570112347602844, 0.7575120329856873, 0.7580128312110901, 0.7585136294364929, 0.7590144276618958, 0.7595152258872986, 0.7600160241127014, 0.7605168223381042, 0.7610176205635071, 0.7615184187889099, 0.7620192170143127, 0.7625200152397156, 0.7630208134651184, 0.763521671295166, 0.7640224695205688, 0.7645232677459717, 0.7650240659713745, 0.7655248641967773, 0.7660256624221802, 0.766526460647583, 0.7670272588729858, 0.7675280570983887, 0.7680288553237915, 0.7685296535491943, 0.7690304517745972, 0.76953125, 0.7700320482254028, 0.7705328464508057, 0.7710336446762085, 0.7715344429016113, 0.7720352411270142, 0.7725360989570618, 0.7730368971824646, 0.7735376954078674, 0.7740384936332703, 0.7745392918586731, 0.7750400900840759, 0.7755408883094788, 0.7760416865348816, 0.7765424847602844, 0.7770432829856873, 0.7775440812110901, 0.7780448794364929, 0.7785456776618958, 0.7790464758872986, 0.7795472741127014, 0.7800480723381042, 0.7805488705635071, 0.7810497283935547, 0.7815505266189575, 0.7820513248443604, 0.7825521230697632, 0.783052921295166, 0.7835537195205688, 0.7840545177459717, 0.7845553159713745, 0.7850561141967773, 0.7855569124221802, 0.786057710647583, 0.7865585088729858, 0.7870593070983887, 0.7875601053237915, 0.7880609035491943, 0.7885617017745972, 0.7890625, 0.7895632982254028, 0.7900641560554504, 0.7905649542808533, 0.7910657525062561, 0.7915665507316589, 0.7920673489570618, 0.7925681471824646, 0.7930689454078674, 0.7935697436332703, 0.7940705418586731, 0.7945713400840759, 0.7950721383094788, 0.7955729365348816, 0.7960737347602844, 0.7965745329856873, 0.7970753312110901, 0.7975761294364929, 0.7980769276618958, 0.7985777258872986, 0.7990785837173462, 0.799579381942749, 0.8000801801681519, 0.8005809783935547, 0.8010817766189575, 0.8015825748443604, 0.8020833730697632, 0.802584171295166, 0.8030849695205688, 0.8035857677459717, 0.8040865659713745, 0.8045873641967773, 0.8050881624221802, 0.805588960647583, 0.8060897588729858, 0.8065905570983887, 0.8070913553237915, 0.8075922131538391, 0.8080930113792419, 0.8085938096046448, 0.8090946078300476, 0.8095954060554504, 0.8100962042808533, 0.8105970025062561, 0.8110978007316589, 0.8115985989570618, 0.8120993971824646, 0.8126001954078674, 0.8131009936332703, 0.8136017918586731, 0.8141025900840759, 0.8146033883094788, 0.8151041865348816, 0.8156049847602844, 0.8161057829856873, 0.8166066408157349, 0.8171074390411377, 0.8176082372665405, 0.8181090354919434, 0.8186098337173462, 0.819110631942749, 0.8196114301681519, 0.8201122283935547, 0.8206130266189575, 0.8211138248443604, 0.8216146230697632, 0.822115421295166, 0.8226162195205688, 0.8231170177459717, 0.8236178159713745, 0.8241186141967773, 0.8246194124221802, 0.8251202702522278, 0.8256210684776306, 0.8261218667030334, 0.8266226649284363, 0.8271234631538391, 0.8276242613792419, 0.8281250596046448, 0.8286258578300476, 0.8291266560554504, 0.8296274542808533, 0.8301282525062561, 0.8306290507316589, 0.8311298489570618, 0.8316306471824646, 0.8321314454078674, 0.8326322436332703, 0.8331330418586731, 0.8336338400840759, 0.8341346979141235, 0.8346354961395264, 0.8351362943649292, 0.835637092590332, 0.8361378908157349, 0.8366386890411377, 0.8371394872665405, 0.8376402854919434, 0.8381410837173462, 0.838641881942749, 0.8391426801681519, 0.8396434783935547, 0.8401442766189575, 0.8406450748443604, 0.8411458730697632, 0.841646671295166, 0.8421474695205688, 0.8426482677459717, 0.8431491255760193, 0.8436499238014221, 0.844150722026825, 0.8446515202522278, 0.8451523184776306, 0.8456531167030334, 0.8461539149284363, 0.8466547131538391, 0.8471555113792419, 0.8476563096046448, 0.8481571078300476, 0.8486579060554504, 0.8491587042808533, 0.8496595025062561, 0.8501603007316589, 0.8506610989570618, 0.8511618971824646, 0.8516627550125122, 0.852163553237915, 0.8526643514633179, 0.8531651496887207, 0.8536659479141235, 0.8541667461395264, 0.8546675443649292, 0.855168342590332, 0.8556691408157349, 0.8561699390411377, 0.8566707372665405, 0.8571715354919434, 0.8576723337173462, 0.858173131942749, 0.8586739301681519, 0.8591747283935547, 0.8596755266189575, 0.8601763248443604, 0.860677182674408, 0.8611779808998108, 0.8616787791252136, 0.8621795773506165, 0.8626803755760193, 0.8631811738014221, 0.863681972026825, 0.8641827702522278, 0.8646835684776306, 0.8651843667030334, 0.8656851649284363, 0.8661859631538391, 0.8666867613792419, 0.8671875596046448, 0.8676883578300476, 0.8681891560554504, 0.8686899542808533, 0.8691907525062561, 0.8696916103363037, 0.8701924085617065, 0.8706932067871094, 0.8711940050125122, 0.871694803237915, 0.8721956014633179, 0.8726963996887207, 0.8731971979141235, 0.8736979961395264, 0.8741987943649292, 0.874699592590332, 0.8752003908157349, 0.8757011890411377, 0.8762019872665405, 0.8767027854919434, 0.8772035837173462, 0.877704381942749, 0.8782052397727966, 0.8787060379981995, 0.8792068362236023, 0.8797076344490051, 0.880208432674408, 0.8807092308998108, 0.8812100291252136, 0.8817108273506165, 0.8822116255760193, 0.8827124238014221, 0.883213222026825, 0.8837140202522278, 0.8842148184776306, 0.8847156167030334, 0.8852164149284363, 0.8857172131538391, 0.8862180113792419, 0.8867188096046448, 0.8872196674346924, 0.8877204656600952, 0.888221263885498, 0.8887220621109009, 0.8892228603363037, 0.8897236585617065, 0.8902244567871094, 0.8907252550125122, 0.891226053237915, 0.8917268514633179, 0.8922276496887207, 0.8927284479141235, 0.8932292461395264, 0.8937300443649292, 0.894230842590332, 0.8947316408157349, 0.8952324390411377, 0.8957332372665405, 0.8962340950965881, 0.896734893321991, 0.8972356915473938, 0.8977364897727966, 0.8982372879981995, 0.8987380862236023, 0.8992388844490051, 0.899739682674408, 0.9002404808998108, 0.9007412791252136, 0.9012420773506165, 0.9017428755760193, 0.9022436738014221, 0.902744472026825, 0.9032452702522278, 0.9037460684776306, 0.9042468667030334, 0.904747724533081, 0.9052485227584839, 0.9057493209838867, 0.9062501192092896, 0.9067509174346924, 0.9072517156600952, 0.907752513885498, 0.9082533121109009, 0.9087541103363037, 0.9092549085617065, 0.9097557067871094, 0.9102565050125122, 0.910757303237915, 0.9112581014633179, 0.9117588996887207, 0.9122596979141235, 0.9127604961395264, 0.9132612943649292, 0.9137621521949768, 0.9142629504203796, 0.9147637486457825, 0.9152645468711853, 0.9157653450965881, 0.916266143321991, 0.9167669415473938, 0.9172677397727966, 0.9177685379981995, 0.9182693362236023, 0.9187701344490051, 0.919270932674408, 0.9197717308998108, 0.9202725291252136, 0.9207733273506165, 0.9212741255760193, 0.9217749238014221, 0.922275722026825, 0.9227765798568726, 0.9232773780822754, 0.9237781763076782, 0.924278974533081, 0.9247797727584839, 0.9252805709838867, 0.9257813692092896, 0.9262821674346924, 0.9267829656600952, 0.927283763885498, 0.9277845621109009, 0.9282853603363037, 0.9287861585617065, 0.9292869567871094, 0.9297877550125122, 0.930288553237915, 0.9307893514633179, 0.9312902092933655, 0.9317910075187683, 0.9322918057441711, 0.932792603969574, 0.9332934021949768, 0.9337942004203796, 0.9342949986457825, 0.9347957968711853, 0.9352965950965881, 0.935797393321991, 0.9362981915473938, 0.9367989897727966, 0.9372997879981995, 0.9378005862236023, 0.9383013844490051, 0.938802182674408, 0.9393029808998108, 0.9398037791252136, 0.9403046369552612, 0.9408054351806641, 0.9413062334060669, 0.9418070316314697, 0.9423078298568726, 0.9428086280822754, 0.9433094263076782, 0.943810224533081, 0.9443110227584839, 0.9448118209838867, 0.9453126192092896, 0.9458134174346924, 0.9463142156600952, 0.946815013885498, 0.9473158121109009, 0.9478166103363037, 0.9483174085617065, 0.9488182067871094, 0.949319064617157, 0.9498198628425598, 0.9503206610679626, 0.9508214592933655, 0.9513222575187683, 0.9518230557441711, 0.952323853969574, 0.9528246521949768, 0.9533254504203796, 0.9538262486457825, 0.9543270468711853, 0.9548278450965881, 0.955328643321991, 0.9558294415473938, 0.9563302397727966, 0.9568310379981995, 0.9573318362236023, 0.9578326940536499, 0.9583334922790527, 0.9588342905044556, 0.9593350887298584, 0.9598358869552612, 0.9603366851806641, 0.9608374834060669, 0.9613382816314697, 0.9618390798568726, 0.9623398780822754, 0.9628406763076782, 0.963341474533081, 0.9638422727584839, 0.9643430709838867, 0.9648438692092896, 0.9653446674346924, 0.9658454656600952, 0.966346263885498, 0.9668471217155457, 0.9673479199409485, 0.9678487181663513, 0.9683495163917542, 0.968850314617157, 0.9693511128425598, 0.9698519110679626, 0.9703527092933655, 0.9708535075187683, 0.9713543057441711, 0.971855103969574, 0.9723559021949768, 0.9728567004203796, 0.9733574986457825, 0.9738582968711853, 0.9743590950965881, 0.974859893321991, 0.9753607511520386, 0.9758615493774414, 0.9763623476028442, 0.9768631458282471, 0.9773639440536499, 0.9778647422790527, 0.9783655405044556, 0.9788663387298584, 0.9793671369552612, 0.9798679351806641, 0.9803687334060669, 0.9808695316314697, 0.9813703298568726, 0.9818711280822754, 0.9823719263076782, 0.982872724533081, 0.9833735227584839, 0.9838743209838867, 0.9843751788139343, 0.9848759770393372, 0.98537677526474, 0.9858775734901428, 0.9863783717155457, 0.9868791699409485, 0.9873799681663513, 0.9878807663917542, 0.988381564617157, 0.9888823628425598, 0.9893831610679626, 0.9898839592933655, 0.9903847575187683, 0.9908855557441711, 0.991386353969574, 0.9918871521949768, 0.9923879504203796, 0.9928887486457825, 0.9933896064758301, 0.9938904047012329, 0.9943912029266357, 0.9948920011520386, 0.9953927993774414, 0.9958935976028442, 0.9963943958282471, 0.9968951940536499, 0.9973959922790527, 0.9978967905044556, 0.9983975887298584, 0.9988983869552612, 0.9993991851806641, 0.9998999834060669], "expected": [1.0986123085021973, 1.1012849807739258, 1.1039612293243408, 1.106641173362732, 1.1093246936798096, 1.1120117902755737, 1.114702582359314, 1.1173970699310303, 1.1200952529907227, 1.1227973699569702, 1.1255030632019043, 1.128212332725525, 1.1309254169464111, 1.1336421966552734, 1.136362910270691, 1.1390873193740845, 1.1418156623840332, 1.144547700881958, 1.147283673286438, 1.1500235795974731, 1.1527674198150635, 1.1555150747299194, 1.1582666635513306, 1.1610223054885864, 1.1637818813323975, 1.1665453910827637, 1.1693130731582642, 1.172084927558899, 1.1748605966567993, 1.1776403188705444, 1.1804242134094238, 1.183212161064148, 1.1860042810440063, 1.1888004541397095, 1.1916009187698364, 1.194405436515808, 1.1972142457962036, 1.200027346611023, 1.2028447389602661, 1.2056663036346436, 1.2084921598434448, 1.21132230758667, 1.2141568660736084, 1.2169958353042603, 1.219839096069336, 1.2226872444152832, 1.2255393266677856, 1.228395938873291, 1.2312569618225098, 1.2341225147247314, 1.2369924783706665, 1.239867091178894, 1.242746353149414, 1.2456300258636475, 1.2485183477401733, 1.2514114379882812, 1.2543089389801025, 1.2572113275527954, 1.2601183652877808, 1.2630300521850586, 1.2659465074539185, 1.26886785030365, 1.2717941999435425, 1.274725079536438, 1.2776607275009155, 1.2806013822555542, 1.283546805381775, 1.2864972352981567, 1.2894525527954102, 1.2924128770828247, 1.2953782081604004, 1.2983485460281372, 1.3013238906860352, 1.3043043613433838, 1.3072898387908936, 1.3102805614471436, 1.3132764101028442, 1.3162775039672852, 1.3192836046218872, 1.322295069694519, 1.3253121376037598, 1.3283342123031616, 1.3313615322113037, 1.3343942165374756, 1.3374321460723877, 1.3404756784439087, 1.34352445602417, 1.34657883644104, 1.3496387004852295, 1.3527039289474487, 1.3557748794555664, 1.3588513135910034, 1.3619333505630493, 1.365020990371704, 1.3681143522262573, 1.371213436126709, 1.374318242073059, 1.3774287700653076, 1.3805454969406128, 1.3836675882339478, 1.3867955207824707, 1.3899294137954712, 1.3930692672729492, 1.3962149620056152, 1.3993667364120483, 1.4025243520736694, 1.4056881666183472, 1.408858060836792, 1.412034034729004, 1.415216088294983, 1.418404459953308, 1.4215989112854004, 1.4247997999191284, 1.4280067682266235, 1.4312200546264648, 1.4344402551651, 1.437666416168213, 1.4408988952636719, 1.4441379308700562, 1.4473834037780762, 1.4506354331970215, 1.453894019126892, 1.457159161567688, 1.4604310989379883, 1.4637097120285034, 1.4669948816299438, 1.4702869653701782, 1.473585844039917, 1.4768913984298706, 1.4802039861679077, 1.4835233688354492, 1.4868499040603638, 1.4901833534240723, 1.493524193763733, 1.4968717098236084, 1.500226378440857, 1.5035881996154785, 1.5069572925567627, 1.51033353805542, 1.5137171745300293, 1.5171079635620117, 1.5205062627792358, 1.5239120721817017, 1.52732515335083, 1.5307458639144897, 1.5341742038726807, 1.5376100540161133, 1.5410535335540771, 1.5445046424865723, 1.5479635000228882, 1.5514307022094727, 1.5549051761627197, 1.5583876371383667, 1.561877965927124, 1.5653762817382812, 1.568882703781128, 1.5723971128463745, 1.5759196281433105, 1.579450249671936, 1.58298921585083, 1.5865365266799927, 1.5900919437408447, 1.5936559438705444, 1.5972282886505127, 1.600809097290039, 1.604398488998413, 1.6079965829849243, 1.611603021621704, 1.6152188777923584, 1.6188429594039917, 1.6224758625030518, 1.6261175870895386, 1.6297682523727417, 1.6334278583526611, 1.637096643447876, 1.6407744884490967, 1.6444613933563232, 1.6481574773788452, 1.6518629789352417, 1.6555777788162231, 1.659301996231079, 1.66303551197052, 1.666778802871704, 1.6705315113067627, 1.674293875694275, 1.6780660152435303, 1.681848406791687, 1.6856400966644287, 1.6894416809082031, 1.6932532787322998, 1.6970748901367188, 1.7009066343307495, 1.7047486305236816, 1.7086007595062256, 1.7124632596969604, 1.7163361310958862, 1.7202194929122925, 1.7241133451461792, 1.728017807006836, 1.7319329977035522, 1.7358587980270386, 1.7397955656051636, 1.7437431812286377, 1.7477022409439087, 1.7516719102859497, 1.755652666091919, 1.759644627571106, 1.7636479139328003, 1.767662525177002, 1.7716885805130005, 1.7757261991500854, 1.7797755002975464, 1.7838364839553833, 1.7879091501235962, 1.7919937372207642, 1.7960902452468872, 1.8001987934112549, 1.8043195009231567, 1.8084524869918823, 1.812597632408142, 1.8167551755905151, 1.8209258317947388, 1.825108528137207, 1.8293038606643677, 1.8335120677947998, 1.8377330303192139, 1.841966986656189, 1.8462140560150146, 1.8504741191864014, 1.8547476530075073, 1.8590344190597534, 1.8633346557617188, 1.8676486015319824, 1.8719761371612549, 1.8763173818588257, 1.880672574043274, 1.8850417137145996, 1.8894249200820923, 1.8938225507736206, 1.8982347249984741, 1.9026610851287842, 1.9071018695831299, 1.9115573167800903, 1.9160276651382446, 1.9205126762390137, 1.9250129461288452, 1.9295282363891602, 1.9340589046478271, 1.9386048316955566, 1.9431663751602173, 1.947743535041809, 1.9523365497589111, 1.9569453001022339, 1.961570143699646, 1.966211199760437, 1.970868706703186, 1.9755429029464722, 1.9802333116531372, 1.9849404096603394, 1.9896644353866577, 1.9944055080413818, 1.9991636276245117, 2.003938913345337, 2.0087318420410156, 2.013542413711548, 2.0183706283569336, 2.023216724395752, 2.028080940246582, 2.032963514328003, 2.0378642082214355, 2.042783737182617, 2.0477218627929688, 2.0526788234710693, 2.057654857635498, 2.062650680541992, 2.0676653385162354, 2.072699546813965, 2.0777535438537598, 2.08282732963562, 2.087921619415283, 2.093035936355591, 2.098170757293701, 2.1033263206481934, 2.1085026264190674, 2.1137001514434814, 2.1189188957214355, 2.124159336090088, 2.1294212341308594, 2.134705066680908, 2.1400110721588135, 2.145339250564575, 2.1506900787353516, 2.156064033508301, 2.1614606380462646, 2.1668803691864014, 2.172323703765869, 2.177790641784668, 2.183281421661377, 2.188796281814575, 2.194335460662842, 2.199899435043335, 2.2054882049560547, 2.211102247238159, 2.2167415618896484, 2.2224066257476807, 2.228097677230835, 2.2338149547576904, 2.239558696746826, 2.2453291416168213, 2.251127243041992, 2.2569520473480225, 2.2628045082092285, 2.2686848640441895, 2.2745935916900635, 2.2805306911468506, 2.286496639251709, 2.292491912841797, 2.2985165119171143, 2.3045711517333984, 2.3106558322906494, 2.3167707920074463, 2.3229167461395264, 2.3290939331054688, 2.3353028297424316, 2.341543436050415, 2.347816228866577, 2.354121685028076, 2.3604612350463867, 2.366833209991455, 2.373239040374756, 2.379678964614868, 2.3861536979675293, 2.3926634788513184, 2.3992085456848145, 2.405789852142334, 2.412407159805298, 2.4190614223480225, 2.425753116607666, 2.4324822425842285, 2.4392495155334473, 2.4460556507110596, 2.4529008865356445, 2.4597856998443604, 2.4667108058929443, 2.4736764430999756, 2.480684280395508, 2.4877331256866455, 2.494824171066284, 2.501958131790161, 2.5091354846954346, 2.516356945037842, 2.523622989654541, 2.5309340953826904, 2.5382912158966064, 2.5456948280334473, 2.55314564704895, 2.5606443881988525, 2.5681912899017334, 2.5757875442504883, 2.5834336280822754, 2.591130256652832, 2.5988781452178955, 2.6066792011260986, 2.614532232284546, 2.622438669204712, 2.630399465560913, 2.638415813446045, 2.6464879512786865, 2.6546170711517334, 2.662804126739502, 2.6710498332977295, 2.6793551445007324, 2.687721014022827, 2.69614839553833, 2.7046384811401367, 2.7131917476654053, 2.7218096256256104, 2.7304933071136475, 2.739243507385254, 2.748061418533325, 2.7569494247436523, 2.765906572341919, 2.774935007095337, 2.7840359210968018, 2.793210506439209, 2.802460193634033, 2.811786413192749, 2.821190357208252, 2.8306734561920166, 2.8402369022369385, 2.8498826026916504, 2.859611988067627, 2.8694264888763428, 2.8793275356292725, 2.889317274093628, 2.8993966579437256, 2.9095683097839355, 2.9198334217071533, 2.9301950931549072, 2.940653085708618, 2.9512102603912354, 2.96186900138855, 2.9726309776306152, 2.9834985733032227, 2.994473934173584, 3.0055594444274902, 3.0167572498321533, 3.0280699729919434, 3.0395002365112305, 3.0510501861572266, 3.06272292137146, 3.074521064758301, 3.0864474773406982, 3.0985050201416016, 3.110697031021118, 3.123028039932251, 3.135498285293579, 3.1481125354766846, 3.160874843597412, 3.17378830909729, 3.186857223510742, 3.200085163116455, 3.2134764194488525, 3.2270352840423584, 3.2407658100128174, 3.2546732425689697, 3.2687618732452393, 3.283036947250366, 3.297503709793091, 3.312167167663574, 3.327033519744873, 3.3421084880828857, 3.35739803314209, 3.372910976409912, 3.3886497020721436, 3.404623508453369, 3.420839786529541, 3.4373059272766113, 3.4540305137634277, 3.471021890640259, 3.4882888793945312, 3.505841016769409, 3.5236880779266357, 3.5418407917022705, 3.560309648513794, 3.579106569290161, 3.5982437133789062, 3.617733955383301, 3.6375908851623535, 3.6578292846679688, 3.678466796875, 3.699514627456665, 3.7209928035736084, 3.742919921875, 3.765315055847168, 3.7881996631622314, 3.811595916748047, 3.8355281352996826, 3.8600213527679443, 3.885103940963745, 3.9108052253723145, 3.937157154083252, 3.9641942977905273, 3.9919543266296387, 4.020477294921875, 4.049807548522949, 4.079992771148682, 4.111085414886475, 4.143146514892578, 4.176231384277344, 4.210412979125977, 4.245768070220947, 4.282381057739258, 4.320346355438232, 4.359769821166992, 4.400768280029297, 4.443475723266602, 4.48804235458374, 4.534640312194824, 4.583465576171875, 4.634744167327881, 4.688738822937012, 4.74575662612915, 4.8061604499816895, 4.870381832122803, 4.938940525054932, 5.012479782104492, 5.091766357421875, 5.177794456481934, 5.271826267242432, 5.375516891479492, 5.491093158721924, 5.621654033660889, 5.771694660186768, 5.94809627532959, 6.162185192108154, 6.4346418380737305, 6.809877395629883, 7.416622638702393, 9.210074424743652]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium.json new file mode 100644 index 000000000000..16fcc842cdcf --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium.json @@ -0,0 +1 @@ +{"x": [0.25, 0.2510020136833191, 0.2520039975643158, 0.2530060112476349, 0.254008024930954, 0.2550100088119507, 0.2560120224952698, 0.25701403617858887, 0.25801602005958557, 0.25901803374290466, 0.26002004742622375, 0.26102203130722046, 0.26202404499053955, 0.26302605867385864, 0.26402804255485535, 0.26503005623817444, 0.26603206992149353, 0.26703405380249023, 0.2680360674858093, 0.2690380811691284, 0.2700400948524475, 0.2710420787334442, 0.2720440924167633, 0.2730461061000824, 0.2740480899810791, 0.2750501036643982, 0.2760521173477173, 0.277054101228714, 0.2780561149120331, 0.2790581285953522, 0.2800601124763489, 0.28106212615966797, 0.28206413984298706, 0.28306612372398376, 0.28406813740730286, 0.28507015109062195, 0.28607213497161865, 0.28707414865493774, 0.28807616233825684, 0.28907814621925354, 0.29008015990257263, 0.2910821735858917, 0.2920841574668884, 0.2930861711502075, 0.2940881848335266, 0.2950901687145233, 0.2960921823978424, 0.2970941960811615, 0.2980961799621582, 0.2990981936454773, 0.3001002073287964, 0.3011021912097931, 0.3021042048931122, 0.3031062185764313, 0.304108202457428, 0.30511021614074707, 0.30611222982406616, 0.30711421370506287, 0.30811622738838196, 0.30911824107170105, 0.31012025475502014, 0.31112223863601685, 0.31212425231933594, 0.31312626600265503, 0.31412824988365173, 0.3151302635669708, 0.3161322772502899, 0.3171342611312866, 0.3181362748146057, 0.3191382884979248, 0.3201402723789215, 0.3211422860622406, 0.3221442997455597, 0.3231462836265564, 0.3241482973098755, 0.3251503109931946, 0.3261522948741913, 0.3271543085575104, 0.32815632224082947, 0.32915830612182617, 0.33016031980514526, 0.33116233348846436, 0.33216431736946106, 0.33316633105278015, 0.33416834473609924, 0.33517032861709595, 0.33617234230041504, 0.33717435598373413, 0.33817633986473083, 0.3391783535480499, 0.340180367231369, 0.3411823511123657, 0.3421843647956848, 0.3431863784790039, 0.3441883623600006, 0.3451903760433197, 0.3461923897266388, 0.3471944034099579, 0.3481963872909546, 0.3491984009742737, 0.3502004146575928, 0.3512023985385895, 0.35220441222190857, 0.35320642590522766, 0.35420840978622437, 0.35521042346954346, 0.35621243715286255, 0.35721442103385925, 0.35821643471717834, 0.35921844840049744, 0.36022043228149414, 0.36122244596481323, 0.3622244596481323, 0.36322644352912903, 0.3642284572124481, 0.3652304708957672, 0.3662324547767639, 0.367234468460083, 0.3682364821434021, 0.3692384660243988, 0.3702404797077179, 0.371242493391037, 0.3722444772720337, 0.3732464909553528, 0.3742485046386719, 0.3752504885196686, 0.37625250220298767, 0.37725451588630676, 0.37825649976730347, 0.37925851345062256, 0.38026052713394165, 0.38126251101493835, 0.38226452469825745, 0.38326653838157654, 0.38426852226257324, 0.38527053594589233, 0.3862725496292114, 0.3872745633125305, 0.3882765471935272, 0.3892785608768463, 0.3902805745601654, 0.3912825584411621, 0.3922845721244812, 0.3932865858078003, 0.394288569688797, 0.3952905833721161, 0.3962925970554352, 0.3972945809364319, 0.398296594619751, 0.39929860830307007, 0.4003005921840668, 0.40130260586738586, 0.40230461955070496, 0.40330660343170166, 0.40430861711502075, 0.40531063079833984, 0.40631261467933655, 0.40731462836265564, 0.40831664204597473, 0.40931862592697144, 0.4103206396102905, 0.4113226532936096, 0.4123246371746063, 0.4133266508579254, 0.4143286645412445, 0.4153306484222412, 0.4163326621055603, 0.4173346757888794, 0.4183366596698761, 0.4193386733531952, 0.4203406870365143, 0.421342670917511, 0.4223446846008301, 0.42334669828414917, 0.42434871196746826, 0.42535069584846497, 0.42635270953178406, 0.42735472321510315, 0.42835670709609985, 0.42935872077941895, 0.43036073446273804, 0.43136271834373474, 0.43236473202705383, 0.4333667457103729, 0.43436872959136963, 0.4353707432746887, 0.4363727569580078, 0.4373747408390045, 0.4383767545223236, 0.4393787682056427, 0.4403807520866394, 0.4413827657699585, 0.4423847794532776, 0.4433867633342743, 0.4443887770175934, 0.4453907907009125, 0.4463927745819092, 0.44739478826522827, 0.44839680194854736, 0.44939878582954407, 0.45040079951286316, 0.45140281319618225, 0.45240479707717896, 0.45340681076049805, 0.45440882444381714, 0.45541080832481384, 0.45641282200813293, 0.457414835691452, 0.45841681957244873, 0.4594188332557678, 0.4604208469390869, 0.4614228308200836, 0.4624248445034027, 0.4634268581867218, 0.4644288718700409, 0.4654308557510376, 0.4664328694343567, 0.4674348831176758, 0.4684368669986725, 0.4694388806819916, 0.47044089436531067, 0.4714428782463074, 0.47244489192962646, 0.47344690561294556, 0.47444888949394226, 0.47545090317726135, 0.47645291686058044, 0.47745490074157715, 0.47845691442489624, 0.47945892810821533, 0.48046091198921204, 0.48146292567253113, 0.4824649393558502, 0.4834669232368469, 0.484468936920166, 0.4854709506034851, 0.4864729344844818, 0.4874749481678009, 0.48847696185112, 0.4894789457321167, 0.4904809594154358, 0.4914829730987549, 0.4924849569797516, 0.4934869706630707, 0.49448898434638977, 0.4954909682273865, 0.49649298191070557, 0.49749499559402466, 0.49849697947502136, 0.49949899315834045, 0.5005009770393372, 0.5015029907226562, 0.5025050044059753, 0.5035070180892944, 0.5045090317726135, 0.5055110454559326, 0.5065129995346069, 0.507515013217926, 0.5085170269012451, 0.5095190405845642, 0.5105210542678833, 0.5115230679512024, 0.5125250220298767, 0.5135270357131958, 0.5145290493965149, 0.515531063079834, 0.5165330767631531, 0.5175350904464722, 0.5185370445251465, 0.5195390582084656, 0.5205410718917847, 0.5215430855751038, 0.5225450992584229, 0.5235471129417419, 0.524549126625061, 0.5255510807037354, 0.5265530943870544, 0.5275551080703735, 0.5285571217536926, 0.5295591354370117, 0.5305611491203308, 0.5315631031990051, 0.5325651168823242, 0.5335671305656433, 0.5345691442489624, 0.5355711579322815, 0.5365731716156006, 0.5375751256942749, 0.538577139377594, 0.5395791530609131, 0.5405811667442322, 0.5415831804275513, 0.5425851941108704, 0.5435871481895447, 0.5445891618728638, 0.5455911755561829, 0.546593189239502, 0.547595202922821, 0.5485972166061401, 0.5495991706848145, 0.5506011843681335, 0.5516031980514526, 0.5526052117347717, 0.5536072254180908, 0.5546092391014099, 0.5556111931800842, 0.5566132068634033, 0.5576152205467224, 0.5586172342300415, 0.5596192479133606, 0.5606212615966797, 0.5616232752799988, 0.5626252293586731, 0.5636272430419922, 0.5646292567253113, 0.5656312704086304, 0.5666332840919495, 0.5676352977752686, 0.5686372518539429, 0.569639265537262, 0.570641279220581, 0.5716432929039001, 0.5726453065872192, 0.5736473202705383, 0.5746492743492126, 0.5756512880325317, 0.5766533017158508, 0.5776553153991699, 0.578657329082489, 0.5796593427658081, 0.5806612968444824, 0.5816633105278015, 0.5826653242111206, 0.5836673378944397, 0.5846693515777588, 0.5856713652610779, 0.5866733193397522, 0.5876753330230713, 0.5886773467063904, 0.5896793603897095, 0.5906813740730286, 0.5916833877563477, 0.592685341835022, 0.5936873555183411, 0.5946893692016602, 0.5956913828849792, 0.5966933965682983, 0.5976954102516174, 0.5986974239349365, 0.5996993780136108, 0.6007013916969299, 0.601703405380249, 0.6027054190635681, 0.6037074327468872, 0.6047094464302063, 0.6057114005088806, 0.6067134141921997, 0.6077154278755188, 0.6087174415588379, 0.609719455242157, 0.6107214689254761, 0.6117234230041504, 0.6127254366874695, 0.6137274503707886, 0.6147294640541077, 0.6157314777374268, 0.6167334914207458, 0.6177354454994202, 0.6187374591827393, 0.6197394728660583, 0.6207414865493774, 0.6217435002326965, 0.6227455139160156, 0.6237474679946899, 0.624749481678009, 0.6257514953613281, 0.6267535090446472, 0.6277555227279663, 0.6287575364112854, 0.6297594904899597, 0.6307615041732788, 0.6317635178565979, 0.632765531539917, 0.6337675452232361, 0.6347695589065552, 0.6357715725898743, 0.6367735266685486, 0.6377755403518677, 0.6387775540351868, 0.6397795677185059, 0.640781581401825, 0.641783595085144, 0.6427855491638184, 0.6437875628471375, 0.6447895765304565, 0.6457915902137756, 0.6467936038970947, 0.6477956175804138, 0.6487975716590881, 0.6497995853424072, 0.6508015990257263, 0.6518036127090454, 0.6528056263923645, 0.6538076400756836, 0.6548095941543579, 0.655811607837677, 0.6568136215209961, 0.6578156352043152, 0.6588176488876343, 0.6598196625709534, 0.6608216166496277, 0.6618236303329468, 0.6628256440162659, 0.663827657699585, 0.664829671382904, 0.6658316850662231, 0.6668336391448975, 0.6678356528282166, 0.6688376665115356, 0.6698396801948547, 0.6708416938781738, 0.6718437075614929, 0.6728456616401672, 0.6738476753234863, 0.6748496890068054, 0.6758517026901245, 0.6768537163734436, 0.6778557300567627, 0.6788577437400818, 0.6798596978187561, 0.6808617115020752, 0.6818637251853943, 0.6828657388687134, 0.6838677525520325, 0.6848697662353516, 0.6858717203140259, 0.686873733997345, 0.6878757476806641, 0.6888777613639832, 0.6898797750473022, 0.6908817887306213, 0.6918837428092957, 0.6928857564926147, 0.6938877701759338, 0.6948897838592529, 0.695891797542572, 0.6968938112258911, 0.6978957653045654, 0.6988977789878845, 0.6998997926712036, 0.7009018063545227, 0.7019038200378418, 0.7029058337211609, 0.7039077877998352, 0.7049098014831543, 0.7059118151664734, 0.7069138288497925, 0.7079158425331116, 0.7089178562164307, 0.709919810295105, 0.7109218239784241, 0.7119238376617432, 0.7129258513450623, 0.7139278650283813, 0.7149298787117004, 0.7159318923950195, 0.7169338464736938, 0.7179358601570129, 0.718937873840332, 0.7199398875236511, 0.7209419012069702, 0.7219439148902893, 0.7229458689689636, 0.7239478826522827, 0.7249498963356018, 0.7259519100189209, 0.72695392370224, 0.7279559373855591, 0.7289578914642334, 0.7299599051475525, 0.7309619188308716, 0.7319639325141907, 0.7329659461975098, 0.7339679598808289, 0.7349699139595032, 0.7359719276428223, 0.7369739413261414, 0.7379759550094604, 0.7389779686927795, 0.7399799823760986, 0.740981936454773, 0.741983950138092, 0.7429859638214111, 0.7439879775047302, 0.7449899911880493, 0.7459920048713684, 0.7469939589500427, 0.7479959726333618, 0.7489979863166809, 0.75], "expected": [-1.0986123085021973, -1.0932753086090088, -1.0879526138305664, -1.082643985748291, -1.0773489475250244, -1.0720679759979248, -1.0668004751205444, -1.0615464448928833, -1.056306004524231, -1.0510785579681396, -1.0458643436431885, -1.040663242340088, -1.0354750156402588, -1.030299425125122, -1.0251367092132568, -1.0199863910675049, -1.0148484706878662, -1.0097230672836304, -1.0046097040176392, -0.9995084404945374, -0.9944191575050354, -0.9893418550491333, -0.9842763543128967, -0.9792223572731018, -0.9741801619529724, -0.9691492319107056, -0.9641297459602356, -0.9591216444969177, -0.9541244506835938, -0.9491384625434875, -0.94416344165802, -0.9391992688179016, -0.934245765209198, -0.9293030500411987, -0.9243709444999695, -0.9194490909576416, -0.9145379662513733, -0.9096368551254272, -0.9047460556030273, -0.8998655080795288, -0.8949947357177734, -0.8901340365409851, -0.8852832317352295, -0.8804421424865723, -0.8756106495857239, -0.8707888722419739, -0.8659765720367432, -0.8611736297607422, -0.8563801646232605, -0.8515958786010742, -0.8468207120895386, -0.8420548439025879, -0.8372977375984192, -0.8325497508049011, -0.8278105854988098, -0.8230801820755005, -0.8183584213256836, -0.8136454224586487, -0.8089410066604614, -0.8042448163032532, -0.7995572090148926, -0.7948779463768005, -0.7902069091796875, -0.7855439782142639, -0.7808892726898193, -0.7762425541877747, -0.7716037034988403, -0.7669730186462402, -0.7623499631881714, -0.7577347159385681, -0.7531273365020752, -0.7485272288322449, -0.7439349293708801, -0.7393500804901123, -0.7347725629806519, -0.7302023768424988, -0.7256396412849426, -0.7210840582847595, -0.7165355682373047, -0.7119943499565125, -0.7074600458145142, -0.7029327154159546, -0.6984124183654785, -0.6938987374305725, -0.6893919706344604, -0.6848919987678528, -0.6803986430168152, -0.6759117841720581, -0.6714316010475159, -0.6669579744338989, -0.6624905467033386, -0.6580297350883484, -0.6535750031471252, -0.6491265892982483, -0.6446845531463623, -0.6402483582496643, -0.6358184814453125, -0.6313945055007935, -0.6269766688346863, -0.6225645542144775, -0.6181584000587463, -0.6137581467628479, -0.6093633770942688, -0.6049745082855225, -0.6005913615226746, -0.596213698387146, -0.5918415188789368, -0.5874748826026917, -0.5831137895584106, -0.5787578821182251, -0.5744075179100037, -0.5700623393058777, -0.5657222867012024, -0.5613877177238464, -0.5570579171180725, -0.5527334213256836, -0.5484139919281006, -0.5440993905067444, -0.5397897362709045, -0.5354852080345154, -0.5311853885650635, -0.5268900990486145, -0.522599995136261, -0.5183142423629761, -0.5140332579612732, -0.5097570419311523, -0.5054851174354553, -0.5012179017066956, -0.4969550669193268, -0.4926966428756714, -0.488442599773407, -0.48419293761253357, -0.479947566986084, -0.4757062494754791, -0.47146934270858765, -0.4672364592552185, -0.46300768852233887, -0.45878303050994873, -0.4545624554157257, -0.45034587383270264, -0.4461328983306885, -0.44192418456077576, -0.4377191662788391, -0.4335179626941681, -0.42932069301605225, -0.4251268208026886, -0.42093685269355774, -0.4167505204677582, -0.41256770491600037, -0.4083884060382843, -0.40421274304389954, -0.40004056692123413, -0.395871639251709, -0.39170628786087036, -0.3875442445278168, -0.38338544964790344, -0.3792301118373871, -0.3750776946544647, -0.37092867493629456, -0.36678287386894226, -0.3626400828361511, -0.35850027203559875, -0.3543636202812195, -0.35023003816604614, -0.3460991382598877, -0.3419714868068695, -0.3378466069698334, -0.3337244987487793, -0.3296053409576416, -0.32548877596855164, -0.3213750422000885, -0.31726399064064026, -0.3131555914878845, -0.3090497851371765, -0.30494657158851624, -0.3008459806442261, -0.29674774408340454, -0.29265207052230835, -0.28855887055397034, -0.28446802496910095, -0.2803795039653778, -0.27629339694976807, -0.2722095847129822, -0.2681278884410858, -0.26404857635498047, -0.25997141003608704, -0.25589630007743835, -0.2518234848976135, -0.24775250256061554, -0.24368374049663544, -0.23961693048477173, -0.23555202782154083, -0.23148909211158752, -0.227428138256073, -0.22336909174919128, -0.21931160986423492, -0.2152562439441681, -0.211202472448349, -0.207150399684906, -0.20310021936893463, -0.1990513950586319, -0.195004403591156, -0.19095900654792786, -0.18691504001617432, -0.18287262320518494, -0.1788317859172821, -0.17479245364665985, -0.1707543134689331, -0.16671784222126007, -0.16268251836299896, -0.1586485207080841, -0.15461599826812744, -0.15058448910713196, -0.1465543955564499, -0.14252522587776184, -0.13849756121635437, -0.13447079062461853, -0.13044509291648865, -0.12642066180706024, -0.12239699810743332, -0.11837449669837952, -0.11435294151306152, -0.11033225059509277, -0.10631241649389267, -0.10229349136352539, -0.09827546030282974, -0.09425798803567886, -0.09024158865213394, -0.086225725710392, -0.08221052587032318, -0.07819623500108719, -0.07418227195739746, -0.07016906887292862, -0.06615643203258514, -0.06214423477649689, -0.0581325888633728, -0.054121434688568115, -0.05011076107621193, -0.046100255101919174, -0.042090412229299545, -0.03808073699474335, -0.034071408212184906, -0.030062485486268997, -0.026053544133901596, -0.022045010700821877, -0.01803664304316044, -0.014028319157660007, -0.010020103305578232, -0.006012058351188898, -0.0020040671806782484, 0.002003925619646907, 0.006011974532157183, 0.010020074434578419, 0.01402827724814415, 0.01803663559257984, 0.022045083343982697, 0.02605343982577324, 0.03006233461201191, 0.03407135605812073, 0.03808077424764633, 0.042090415954589844, 0.0461004339158535, 0.05011054128408432, 0.054121341556310654, 0.05813254043459892, 0.06214429810643196, 0.06615642458200455, 0.07016918808221817, 0.0741821825504303, 0.07819601148366928, 0.08221058547496796, 0.08622574061155319, 0.09024160355329514, 0.09425821900367737, 0.09827551990747452, 0.10229342430830002, 0.10631240159273148, 0.11033226549625397, 0.11435294151306152, 0.11837456375360489, 0.12239716202020645, 0.12642055749893188, 0.13044510781764984, 0.13447080552577972, 0.1384975016117096, 0.14252541959285736, 0.14655445516109467, 0.1505843698978424, 0.1546158641576767, 0.1586485654115677, 0.16268250346183777, 0.1667177826166153, 0.17075443267822266, 0.17479227483272552, 0.17883172631263733, 0.1828726828098297, 0.1869150847196579, 0.19095894694328308, 0.19500446319580078, 0.19905127584934235, 0.2031000554561615, 0.20715034008026123, 0.2112024426460266, 0.21525625884532928, 0.21931178867816925, 0.22336888313293457, 0.22742809355258942, 0.2314891368150711, 0.23555204272270203, 0.2396169751882553, 0.24368377029895782, 0.2477526068687439, 0.2518233060836792, 0.25589632987976074, 0.25997141003608704, 0.26404860615730286, 0.26812803745269775, 0.27220970392227173, 0.2762933075428009, 0.2803794741630554, 0.28446802496910095, 0.2885589003562927, 0.2926521897315979, 0.2967478632926941, 0.30084583163261414, 0.30494654178619385, 0.3090497851371765, 0.3131555914878845, 0.31726405024528503, 0.32137516140937805, 0.3254886269569397, 0.32960522174835205, 0.3337244987487793, 0.3378466069698334, 0.3419715166091919, 0.3460994064807892, 0.3502298593521118, 0.3543635904788971, 0.35850027203559875, 0.36263999342918396, 0.3667828142642975, 0.3709287941455841, 0.37507760524749756, 0.37922996282577515, 0.38338541984558105, 0.3875442445278168, 0.39170631766319275, 0.39587175846099854, 0.4000406265258789, 0.40421271324157715, 0.4083884656429291, 0.412567675113678, 0.41675055027008057, 0.4209369719028473, 0.4251269996166229, 0.42932048439979553, 0.4335179328918457, 0.4377192258834839, 0.4419242739677429, 0.4461331367492676, 0.45034584403038025, 0.45456233620643616, 0.45878300070762634, 0.46300771832466125, 0.4672364592552185, 0.47146937251091003, 0.47570642828941345, 0.47994735836982727, 0.48419278860092163, 0.4884425699710846, 0.492696613073349, 0.49695509672164917, 0.5012179613113403, 0.5054850578308105, 0.509756863117218, 0.514033317565918, 0.5183143019676208, 0.5225999355316162, 0.5268903374671936, 0.5311852097511292, 0.535485029220581, 0.5397897958755493, 0.5440994501113892, 0.5484139323234558, 0.5527335405349731, 0.5570580959320068, 0.5613874793052673, 0.5657223463058472, 0.5700623393058777, 0.5744075775146484, 0.5787580013275146, 0.5831138491630554, 0.5874748826026917, 0.5918415188789368, 0.596213698387146, 0.6005913615226746, 0.6049746870994568, 0.6093636155128479, 0.6137579679489136, 0.6181583404541016, 0.6225646138191223, 0.6269766688346863, 0.631394624710083, 0.635818600654602, 0.6402483582496643, 0.6446844339370728, 0.6491265892982483, 0.6535750031471252, 0.6580297350883484, 0.6624906659126282, 0.6669577360153198, 0.6714315414428711, 0.6759117841720581, 0.6803985834121704, 0.6848920583724976, 0.6893921494483948, 0.693898618221283, 0.6984122395515442, 0.7029327154159546, 0.7074599862098694, 0.7119943499565125, 0.716535747051239, 0.7210839986801147, 0.7256395220756531, 0.7302024364471436, 0.7347725033760071, 0.7393500804901123, 0.7439349293708801, 0.748527467250824, 0.7531271576881409, 0.7577347159385681, 0.7623499631881714, 0.7669730186462402, 0.7716038823127747, 0.776242733001709, 0.7808891534805298, 0.7855439782142639, 0.790206789970398, 0.7948779463768005, 0.7995573282241821, 0.8042449951171875, 0.8089407682418823, 0.8136453628540039, 0.8183583617210388, 0.8230801820755005, 0.8278106451034546, 0.8325498700141907, 0.8372976779937744, 0.8420546650886536, 0.8468207120895386, 0.8515958189964294, 0.8563801646232605, 0.8611738085746765, 0.8659764528274536, 0.8707888126373291, 0.8756106495857239, 0.8804421424865723, 0.8852832317352295, 0.8901340961456299, 0.8949946165084839, 0.8998653292655945, 0.9047459959983826, 0.909636914730072, 0.9145379662513733, 0.9194492697715759, 0.9243710041046143, 0.929302990436554, 0.9342457056045532, 0.9391991496086121, 0.94416344165802, 0.9491385817527771, 0.9541245698928833, 0.9591214060783386, 0.9641297459602356, 0.9691492319107056, 0.9741802215576172, 0.9792225360870361, 0.9842764735221863, 0.9893417954444885, 0.9944191575050354, 0.9995084404945374, 1.0046097040176392, 1.0097230672836304, 1.0148485898971558, 1.0199862718582153, 1.0251365900039673, 1.030299425125122, 1.0354750156402588, 1.0406633615493774, 1.0458645820617676, 1.05107843875885, 1.0563057661056519, 1.0615464448928833, 1.0668004751205444, 1.0720679759979248, 1.0773491859436035, 1.082643747329712, 1.0879524946212769, 1.0932753086090088, 1.0986123085021973]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json deleted file mode 100644 index ccdf4e04782a..000000000000 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_above.json +++ /dev/null @@ -1 +0,0 @@ -{"x": [0.5, 0.5005009770393372, 0.5010020136833191, 0.5015029907226562, 0.5020040273666382, 0.5025050044059753, 0.5030060410499573, 0.5035070180892944, 0.5040079951286316, 0.5045090317726135, 0.5050100088119507, 0.5055110454559326, 0.5060120224952698, 0.5065129995346069, 0.5070140361785889, 0.507515013217926, 0.508016049861908, 0.5085170269012451, 0.509018063545227, 0.5095190405845642, 0.5100200176239014, 0.5105210542678833, 0.5110220313072205, 0.5115230679512024, 0.5120240449905396, 0.5125250220298767, 0.5130260586738586, 0.5135270357131958, 0.5140280723571777, 0.5145290493965149, 0.5150300860404968, 0.515531063079834, 0.5160320401191711, 0.5165330767631531, 0.5170340538024902, 0.5175350904464722, 0.5180360674858093, 0.5185370445251465, 0.5190380811691284, 0.5195390582084656, 0.5200400948524475, 0.5205410718917847, 0.5210421085357666, 0.5215430855751038, 0.5220440626144409, 0.5225450992584229, 0.52304607629776, 0.5235471129417419, 0.5240480899810791, 0.524549126625061, 0.5250501036643982, 0.5255510807037354, 0.5260521173477173, 0.5265530943870544, 0.5270541310310364, 0.5275551080703735, 0.5280560851097107, 0.5285571217536926, 0.5290580987930298, 0.5295591354370117, 0.5300601124763489, 0.5305611491203308, 0.531062126159668, 0.5315631031990051, 0.5320641398429871, 0.5325651168823242, 0.5330661535263062, 0.5335671305656433, 0.5340681076049805, 0.5345691442489624, 0.5350701212882996, 0.5355711579322815, 0.5360721349716187, 0.5365731716156006, 0.5370741486549377, 0.5375751256942749, 0.5380761623382568, 0.538577139377594, 0.5390781760215759, 0.5395791530609131, 0.540080189704895, 0.5405811667442322, 0.5410821437835693, 0.5415831804275513, 0.5420841574668884, 0.5425851941108704, 0.5430861711502075, 0.5435871481895447, 0.5440881848335266, 0.5445891618728638, 0.5450901985168457, 0.5455911755561829, 0.5460922122001648, 0.546593189239502, 0.5470941662788391, 0.547595202922821, 0.5480961799621582, 0.5485972166061401, 0.5490981936454773, 0.5495991706848145, 0.5501002073287964, 0.5506011843681335, 0.5511022210121155, 0.5516031980514526, 0.5521042346954346, 0.5526052117347717, 0.5531061887741089, 0.5536072254180908, 0.554108202457428, 0.5546092391014099, 0.5551102161407471, 0.5556111931800842, 0.5561122298240662, 0.5566132068634033, 0.5571142435073853, 0.5576152205467224, 0.5581162571907043, 0.5586172342300415, 0.5591182112693787, 0.5596192479133606, 0.5601202249526978, 0.5606212615966797, 0.5611222386360168, 0.5616232752799988, 0.5621242523193359, 0.5626252293586731, 0.563126266002655, 0.5636272430419922, 0.5641282796859741, 0.5646292567253113, 0.5651302337646484, 0.5656312704086304, 0.5661322474479675, 0.5666332840919495, 0.5671342611312866, 0.5676352977752686, 0.5681362748146057, 0.5686372518539429, 0.5691382884979248, 0.569639265537262, 0.5701403021812439, 0.570641279220581, 0.5711422562599182, 0.5716432929039001, 0.5721442699432373, 0.5726453065872192, 0.5731462836265564, 0.5736473202705383, 0.5741482973098755, 0.5746492743492126, 0.5751503109931946, 0.5756512880325317, 0.5761523246765137, 0.5766533017158508, 0.5771543383598328, 0.5776553153991699, 0.5781562924385071, 0.578657329082489, 0.5791583061218262, 0.5796593427658081, 0.5801603198051453, 0.5806612968444824, 0.5811623334884644, 0.5816633105278015, 0.5821643471717834, 0.5826653242111206, 0.5831663608551025, 0.5836673378944397, 0.5841683149337769, 0.5846693515777588, 0.585170328617096, 0.5856713652610779, 0.586172342300415, 0.5866733193397522, 0.5871743559837341, 0.5876753330230713, 0.5881763696670532, 0.5886773467063904, 0.5891783833503723, 0.5896793603897095, 0.5901803374290466, 0.5906813740730286, 0.5911823511123657, 0.5916833877563477, 0.5921843647956848, 0.592685341835022, 0.5931863784790039, 0.5936873555183411, 0.594188392162323, 0.5946893692016602, 0.5951904058456421, 0.5956913828849792, 0.5961923599243164, 0.5966933965682983, 0.5971943736076355, 0.5976954102516174, 0.5981963872909546, 0.5986974239349365, 0.5991984009742737, 0.5996993780136108, 0.6002004146575928, 0.6007013916969299, 0.6012024283409119, 0.601703405380249, 0.6022043824195862, 0.6027054190635681, 0.6032063961029053, 0.6037074327468872, 0.6042084097862244, 0.6047094464302063, 0.6052104234695435, 0.6057114005088806, 0.6062124371528625, 0.6067134141921997, 0.6072144508361816, 0.6077154278755188, 0.608216404914856, 0.6087174415588379, 0.609218418598175, 0.609719455242157, 0.6102204322814941, 0.6107214689254761, 0.6112224459648132, 0.6117234230041504, 0.6122244596481323, 0.6127254366874695, 0.6132264733314514, 0.6137274503707886, 0.6142284274101257, 0.6147294640541077, 0.6152304410934448, 0.6157314777374268, 0.6162324547767639, 0.6167334914207458, 0.617234468460083, 0.6177354454994202, 0.6182364821434021, 0.6187374591827393, 0.6192384958267212, 0.6197394728660583, 0.6202405095100403, 0.6207414865493774, 0.6212424635887146, 0.6217435002326965, 0.6222444772720337, 0.6227455139160156, 0.6232464909553528, 0.6237474679946899, 0.6242485046386719, 0.624749481678009, 0.625250518321991, 0.6257514953613281, 0.6262525320053101, 0.6267535090446472, 0.6272544860839844, 0.6277555227279663, 0.6282564997673035, 0.6287575364112854, 0.6292585134506226, 0.6297594904899597, 0.6302605271339417, 0.6307615041732788, 0.6312625408172607, 0.6317635178565979, 0.6322645545005798, 0.632765531539917, 0.6332665085792542, 0.6337675452232361, 0.6342685222625732, 0.6347695589065552, 0.6352705359458923, 0.6357715725898743, 0.6362725496292114, 0.6367735266685486, 0.6372745633125305, 0.6377755403518677, 0.6382765769958496, 0.6387775540351868, 0.6392785310745239, 0.6397795677185059, 0.640280544757843, 0.640781581401825, 0.6412825584411621, 0.641783595085144, 0.6422845721244812, 0.6427855491638184, 0.6432865858078003, 0.6437875628471375, 0.6442885994911194, 0.6447895765304565, 0.6452905535697937, 0.6457915902137756, 0.6462925672531128, 0.6467936038970947, 0.6472945809364319, 0.6477956175804138, 0.648296594619751, 0.6487975716590881, 0.6492986083030701, 0.6497995853424072, 0.6503006219863892, 0.6508015990257263, 0.6513025760650635, 0.6518036127090454, 0.6523045897483826, 0.6528056263923645, 0.6533066034317017, 0.6538076400756836, 0.6543086171150208, 0.6548095941543579, 0.6553106307983398, 0.655811607837677, 0.6563126444816589, 0.6568136215209961, 0.657314658164978, 0.6578156352043152, 0.6583166122436523, 0.6588176488876343, 0.6593186259269714, 0.6598196625709534, 0.6603206396102905, 0.6608216166496277, 0.6613226532936096, 0.6618236303329468, 0.6623246669769287, 0.6628256440162659, 0.6633266806602478, 0.663827657699585, 0.6643286347389221, 0.664829671382904, 0.6653306484222412, 0.6658316850662231, 0.6663326621055603, 0.6668336391448975, 0.6673346757888794, 0.6678356528282166, 0.6683366894721985, 0.6688376665115356, 0.6693387031555176, 0.6698396801948547, 0.6703406572341919, 0.6708416938781738, 0.671342670917511, 0.6718437075614929, 0.6723446846008301, 0.6728456616401672, 0.6733466982841492, 0.6738476753234863, 0.6743487119674683, 0.6748496890068054, 0.6753507256507874, 0.6758517026901245, 0.6763526797294617, 0.6768537163734436, 0.6773546934127808, 0.6778557300567627, 0.6783567070960999, 0.6788577437400818, 0.679358720779419, 0.6798596978187561, 0.680360734462738, 0.6808617115020752, 0.6813627481460571, 0.6818637251853943, 0.6823647022247314, 0.6828657388687134, 0.6833667159080505, 0.6838677525520325, 0.6843687295913696, 0.6848697662353516, 0.6853707432746887, 0.6858717203140259, 0.6863727569580078, 0.686873733997345, 0.6873747706413269, 0.6878757476806641, 0.6883767247200012, 0.6888777613639832, 0.6893787384033203, 0.6898797750473022, 0.6903807520866394, 0.6908817887306213, 0.6913827657699585, 0.6918837428092957, 0.6923847794532776, 0.6928857564926147, 0.6933867931365967, 0.6938877701759338, 0.6943888068199158, 0.6948897838592529, 0.6953907608985901, 0.695891797542572, 0.6963927745819092, 0.6968938112258911, 0.6973947882652283, 0.6978957653045654, 0.6983968019485474, 0.6988977789878845, 0.6993988156318665, 0.6998997926712036, 0.7004008293151855, 0.7009018063545227, 0.7014027833938599, 0.7019038200378418, 0.702404797077179, 0.7029058337211609, 0.703406810760498, 0.7039077877998352, 0.7044088244438171, 0.7049098014831543, 0.7054108381271362, 0.7059118151664734, 0.7064128518104553, 0.7069138288497925, 0.7074148058891296, 0.7079158425331116, 0.7084168195724487, 0.7089178562164307, 0.7094188332557678, 0.709919810295105, 0.7104208469390869, 0.7109218239784241, 0.711422860622406, 0.7119238376617432, 0.7124248743057251, 0.7129258513450623, 0.7134268283843994, 0.7139278650283813, 0.7144288420677185, 0.7149298787117004, 0.7154308557510376, 0.7159318923950195, 0.7164328694343567, 0.7169338464736938, 0.7174348831176758, 0.7179358601570129, 0.7184368968009949, 0.718937873840332, 0.7194388508796692, 0.7199398875236511, 0.7204408645629883, 0.7209419012069702, 0.7214428782463074, 0.7219439148902893, 0.7224448919296265, 0.7229458689689636, 0.7234469056129456, 0.7239478826522827, 0.7244489192962646, 0.7249498963356018, 0.725450873374939, 0.7259519100189209, 0.7264528870582581, 0.72695392370224, 0.7274549007415771, 0.7279559373855591, 0.7284569144248962, 0.7289578914642334, 0.7294589281082153, 0.7299599051475525, 0.7304609417915344, 0.7309619188308716, 0.7314629554748535, 0.7319639325141907, 0.7324649095535278, 0.7329659461975098, 0.7334669232368469, 0.7339679598808289, 0.734468936920166, 0.7349699139595032, 0.7354709506034851, 0.7359719276428223, 0.7364729642868042, 0.7369739413261414, 0.7374749779701233, 0.7379759550094604, 0.7384769320487976, 0.7389779686927795, 0.7394789457321167, 0.7399799823760986, 0.7404809594154358, 0.740981936454773, 0.7414829730987549, 0.741983950138092, 0.742484986782074, 0.7429859638214111, 0.7434870004653931, 0.7439879775047302, 0.7444889545440674, 0.7449899911880493, 0.7454909682273865, 0.7459920048713684, 0.7464929819107056, 0.7469939589500427, 0.7474949955940247, 0.7479959726333618, 0.7484970092773438, 0.7489979863166809, 0.7494990229606628, 0.75], "expected": [0.0, 0.002003925619646907, 0.004008117597550154, 0.006011974532157183, 0.008016199804842472, 0.010020074434578419, 0.01202429924160242, 0.01402827724814415, 0.016032353043556213, 0.01803663559257984, 0.02004064805805683, 0.022045083343982697, 0.02404923364520073, 0.02605343982577324, 0.028058042749762535, 0.03006233647465706, 0.032066892832517624, 0.03407135605812073, 0.036076176911592484, 0.03808077424764633, 0.04008548706769943, 0.042090415954589844, 0.04409532621502876, 0.0461004339158535, 0.04810550808906555, 0.05011054128408432, 0.052115969359874725, 0.054121341556310654, 0.05612697824835777, 0.05813254043459892, 0.06013846769928932, 0.06214429810643196, 0.0641501396894455, 0.06615642458200455, 0.06816259026527405, 0.07016918808221817, 0.0721755400300026, 0.0741821825504303, 0.07618912309408188, 0.07819601148366928, 0.08020339161157608, 0.08221058547496796, 0.08421815186738968, 0.08622574061155319, 0.08823344856500626, 0.09024160355329514, 0.09224964678287506, 0.09425821900367737, 0.09626667201519012, 0.09827551990747452, 0.10028433799743652, 0.10229342430830002, 0.10430289059877396, 0.10631240159273148, 0.10832227021455765, 0.11033226549625397, 0.11234238743782043, 0.11435294151306152, 0.11636348813772202, 0.11837456375360489, 0.12038561701774597, 0.12239716202020645, 0.12440867722034454, 0.12642055749893188, 0.12843281030654907, 0.13044510781764984, 0.1324579417705536, 0.13447080552577972, 0.13648389279842377, 0.1384975016117096, 0.14051121473312378, 0.14252541959285736, 0.1445396989583969, 0.14655445516109467, 0.1485692858695984, 0.1505843698978424, 0.15260009467601776, 0.1546158641576767, 0.15663215517997742, 0.1586485654115677, 0.16066548228263855, 0.16268250346183777, 0.16469989717006683, 0.1667177826166153, 0.1687358319759369, 0.17075443267822266, 0.17277318239212036, 0.17479227483272552, 0.17681188881397247, 0.17883172631263733, 0.18085215985774994, 0.1828726828098297, 0.18489380180835724, 0.1869150847196579, 0.1889367401599884, 0.19095894694328308, 0.19298139214515686, 0.19500446319580078, 0.19702766835689545, 0.19905127584934235, 0.20107556879520416, 0.2031000554561615, 0.2051251083612442, 0.20715034008026123, 0.20917631685733795, 0.2112024426460266, 0.2132290005683899, 0.21525625884532928, 0.21728363633155823, 0.21931178867816925, 0.221340149641037, 0.22336888313293457, 0.22539836168289185, 0.22742809355258942, 0.22945845127105713, 0.2314891368150711, 0.23352043330669403, 0.23555204272270203, 0.23758412897586823, 0.2396169751882553, 0.24165000021457672, 0.24368377029895782, 0.2457178831100464, 0.2477526068687439, 0.24978776276111603, 0.2518233060836792, 0.25385963916778564, 0.25589632987976074, 0.25793367624282837, 0.25997141003608704, 0.26200956106185913, 0.26404860615730286, 0.2660878896713257, 0.26812803745269775, 0.2701684832572937, 0.27220970392227173, 0.27425119280815125, 0.2762933075428009, 0.27833622694015503, 0.2803794741630554, 0.28242358565330505, 0.28446802496910095, 0.2865130603313446, 0.2885589003562927, 0.2906050980091095, 0.2926521897315979, 0.29469963908195496, 0.2967478632926941, 0.29879650473594666, 0.30084583163261414, 0.3028959333896637, 0.30494654178619385, 0.3069979250431061, 0.3090497851371765, 0.3111024796962738, 0.3131555914878845, 0.31520935893058777, 0.31726405024528503, 0.31931912899017334, 0.32137516140937805, 0.3234315514564514, 0.3254886269569397, 0.32754671573638916, 0.32960522174835205, 0.3316646218299866, 0.3337244987487793, 0.3357853293418884, 0.3378466069698334, 0.33990857005119324, 0.3419715166091919, 0.34403496980667114, 0.3460994064807892, 0.34816429018974304, 0.3502298593521118, 0.35229647159576416, 0.3543635904788971, 0.3564316928386688, 0.35850027203559875, 0.36056992411613464, 0.36263999342918396, 0.3647109568119049, 0.3667828142642975, 0.3688552677631378, 0.3709287941455841, 0.3730028569698334, 0.37507760524749756, 0.3771534860134125, 0.37922996282577515, 0.3813073933124542, 0.38338541984558105, 0.3854645788669586, 0.3875442445278168, 0.3896247148513794, 0.39170631766319275, 0.39378851652145386, 0.39587175846099854, 0.39795565605163574, 0.4000406265258789, 0.4021262228488922, 0.40421271324157715, 0.40630024671554565, 0.4083884656429291, 0.41047775745391846, 0.412567675113678, 0.4146585762500763, 0.41675055027008057, 0.41884317994117737, 0.4209369719028473, 0.42303141951560974, 0.4251269996166229, 0.4272233247756958, 0.42932048439979553, 0.43141889572143555, 0.4335179328918457, 0.43561822175979614, 0.4377192258834839, 0.4398210942745209, 0.4419242739677429, 0.4440280795097351, 0.4461331367492676, 0.4482388496398926, 0.45034584403038025, 0.4524536728858948, 0.45456233620643616, 0.4566722810268402, 0.45878300070762634, 0.46089500188827515, 0.46300771832466125, 0.46512144804000854, 0.4672364592552185, 0.4693523347377777, 0.47146937251091003, 0.4735872149467468, 0.47570642828941345, 0.477826327085495, 0.47994735836982727, 0.4820697009563446, 0.48419278860092163, 0.48631730675697327, 0.4884425699710846, 0.49056920409202576, 0.492696613073349, 0.49482518434524536, 0.49695509672164917, 0.49908584356307983, 0.5012179613113403, 0.5033509135246277, 0.5054850578308105, 0.5076205730438232, 0.509756863117218, 0.5118946433067322, 0.514033317565918, 0.5161733627319336, 0.5183143019676208, 0.5204564332962036, 0.5225999355316162, 0.52474445104599, 0.5268903374671936, 0.5290371179580688, 0.5311852097511292, 0.5333346724510193, 0.535485029220581, 0.537636935710907, 0.5397897958755493, 0.541944146156311, 0.5440994501113892, 0.5462559461593628, 0.5484139323234558, 0.5505729913711548, 0.5527335405349731, 0.5548951029777527, 0.5570580959320068, 0.5592221617698669, 0.5613874793052673, 0.5635544061660767, 0.5657223463058472, 0.5678918361663818, 0.5700623393058777, 0.5722341537475586, 0.5744075775146484, 0.5765820145606995, 0.5787580013275146, 0.5809351801872253, 0.5831138491630554, 0.585293710231781, 0.5874748826026917, 0.5896576046943665, 0.5918415188789368, 0.5940269827842712, 0.596213698387146, 0.5984017252922058, 0.6005913615226746, 0.6027821898460388, 0.6049746870994568, 0.6071683168411255, 0.6093636155128479, 0.6115601062774658, 0.6137579679489136, 0.6159575581550598, 0.6181583404541016, 0.6203608512878418, 0.6225646138191223, 0.6247697472572327, 0.6269766688346863, 0.6291847825050354, 0.631394624710083, 0.6336057186126709, 0.635818600654602, 0.6380326747894287, 0.6402483582496643, 0.6424657106399536, 0.6446844339370728, 0.6469048261642456, 0.6491265892982483, 0.6513501405715942, 0.6535750031471252, 0.6558014750480652, 0.6580297350883484, 0.6602592468261719, 0.6624906659126282, 0.6647233963012695, 0.6669577360153198, 0.6691939830780029, 0.6714315414428711, 0.6736710071563721, 0.6759117841720581, 0.6781545281410217, 0.6803985834121704, 0.6826443672180176, 0.6848920583724976, 0.6871411204338074, 0.6893921494483948, 0.691644549369812, 0.693898618221283, 0.6961547136306763, 0.6984122395515442, 0.7006717920303345, 0.7029327154159546, 0.7051956057548523, 0.7074599862098694, 0.7097261548042297, 0.7119943499565125, 0.7142640948295593, 0.716535747051239, 0.7188088893890381, 0.7210839986801147, 0.7233609557151794, 0.7256395220756531, 0.7279201745986938, 0.7302024364471436, 0.7324867248535156, 0.7347725033760071, 0.7370601892471313, 0.7393500804901123, 0.7416415214538574, 0.7439349293708801, 0.7462301850318909, 0.748527467250824, 0.750826358795166, 0.7531271576881409, 0.7554300427436829, 0.7577347159385681, 0.7600415349006653, 0.7623499631881714, 0.7646603584289551, 0.7669730186462402, 0.7692873477935791, 0.7716038823127747, 0.7739222049713135, 0.776242733001709, 0.778564989566803, 0.7808891534805298, 0.7832157015800476, 0.7855439782142639, 0.7878745198249817, 0.790206789970398, 0.7925412654876709, 0.7948779463768005, 0.7972164750099182, 0.7995573282241821, 0.8018999099731445, 0.8042449951171875, 0.8065917491912842, 0.8089407682418823, 0.8112921118736267, 0.8136453628540039, 0.8160009384155273, 0.8183583617210388, 0.8207183480262756, 0.8230801820755005, 0.825444221496582, 0.8278106451034546, 0.8301790356636047, 0.8325498700141907, 0.8349226713180542, 0.8372976779937744, 0.8396751880645752, 0.8420546650886536, 0.8444367051124573, 0.8468207120895386, 0.8492072820663452, 0.8515958189964294, 0.8539867401123047, 0.8563801646232605, 0.8587757349014282, 0.8611738085746765, 0.8635739684104919, 0.8659764528274536, 0.8683815598487854, 0.8707888126373291, 0.8731986284255981, 0.8756106495857239, 0.8780253529548645, 0.8804421424865723, 0.8828613758087158, 0.8852832317352295, 0.8877072930335999, 0.8901340961456299, 0.8925631642341614, 0.8949946165084839, 0.8974289298057556, 0.8998653292655945, 0.9023045301437378, 0.9047459959983826, 0.9071903228759766, 0.909636914730072, 0.912086009979248, 0.9145379662513733, 0.9169921875, 0.9194492697715759, 0.9219086766242981, 0.9243710041046143, 0.9268357157707214, 0.929302990436554, 0.9317731261253357, 0.9342457056045532, 0.9367212653160095, 0.9391991496086121, 0.9416797757148743, 0.94416344165802, 0.9466494917869568, 0.9491385817527771, 0.9516300559043884, 0.9541245698928833, 0.9566216468811035, 0.9591214060783386, 0.9616243243217468, 0.9641297459602356, 0.9666382670402527, 0.9691492319107056, 0.9716631770133972, 0.9741802215576172, 0.976699709892273, 0.9792225360870361, 0.9817478656768799, 0.9842764735221863, 0.986807644367218, 0.9893417954444885, 0.9918791651725769, 0.9944191575050354, 0.9969624876976013, 0.9995084404945374, 1.002057671546936, 1.0046097040176392, 1.007164716720581, 1.0097230672836304, 1.0122841596603394, 1.0148485898971558, 1.0174158811569214, 1.0199862718582153, 1.0225600004196167, 1.0251365900039673, 1.0277165174484253, 1.030299425125122, 1.0328857898712158, 1.0354750156402588, 1.03806734085083, 1.0406633615493774, 1.0432621240615845, 1.0458645820617676, 1.0484697818756104, 1.05107843875885, 1.0536906719207764, 1.0563057661056519, 1.058924674987793, 1.0615464448928833, 1.0641719102859497, 1.0668004751205444, 1.0694323778152466, 1.0720679759979248, 1.0747066736221313, 1.0773491859436035, 1.0799946784973145, 1.082643747329712, 1.0852965116500854, 1.0879524946212769, 1.0906122922897339, 1.0932753086090088, 1.0959421396255493, 1.0986123085021973]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json deleted file mode 100644 index aed9004dabd3..000000000000 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/medium_below.json +++ /dev/null @@ -1 +0,0 @@ -{"x": [0.25, 0.2504809498786926, 0.25096192955970764, 0.25144287943840027, 0.2519238591194153, 0.2524048089981079, 0.25288575887680054, 0.25336673855781555, 0.2538476884365082, 0.2543286681175232, 0.2548096179962158, 0.25529056787490845, 0.25577154755592346, 0.2562524974346161, 0.2567334771156311, 0.25721442699432373, 0.25769537687301636, 0.25817635655403137, 0.258657306432724, 0.259138286113739, 0.25961923599243164, 0.26010018587112427, 0.2605811655521393, 0.2610621154308319, 0.2615430951118469, 0.26202404499053955, 0.26250502467155457, 0.2629859745502472, 0.2634669244289398, 0.26394790410995483, 0.26442885398864746, 0.2649098336696625, 0.2653907835483551, 0.26587173342704773, 0.26635271310806274, 0.26683366298675537, 0.2673146426677704, 0.267795592546463, 0.26827654242515564, 0.26875752210617065, 0.2692384719848633, 0.2697194516658783, 0.2702004015445709, 0.27068135142326355, 0.27116233110427856, 0.2716432809829712, 0.2721242606639862, 0.27260521054267883, 0.27308616042137146, 0.2735671401023865, 0.2740480899810791, 0.2745290696620941, 0.27501001954078674, 0.27549096941947937, 0.2759719491004944, 0.276452898979187, 0.276933878660202, 0.27741482853889465, 0.2778957784175873, 0.2783767580986023, 0.2788577079772949, 0.27933868765830994, 0.27981963753700256, 0.2803005874156952, 0.2807815670967102, 0.28126251697540283, 0.28174349665641785, 0.2822244465351105, 0.2827053964138031, 0.2831863760948181, 0.28366732597351074, 0.28414830565452576, 0.2846292555332184, 0.2851102352142334, 0.285591185092926, 0.28607213497161865, 0.28655311465263367, 0.2870340645313263, 0.2875150442123413, 0.28799599409103394, 0.28847694396972656, 0.2889579236507416, 0.2894388735294342, 0.2899198532104492, 0.29040080308914185, 0.2908817529678345, 0.2913627326488495, 0.2918436825275421, 0.29232466220855713, 0.29280561208724976, 0.2932865619659424, 0.2937675416469574, 0.29424849152565, 0.29472947120666504, 0.29521042108535767, 0.2956913709640503, 0.2961723506450653, 0.29665330052375793, 0.29713428020477295, 0.2976152300834656, 0.2980961799621582, 0.2985771596431732, 0.29905810952186584, 0.29953908920288086, 0.3000200390815735, 0.3005009889602661, 0.30098196864128113, 0.30146291851997375, 0.30194389820098877, 0.3024248480796814, 0.302905797958374, 0.30338677763938904, 0.30386772751808167, 0.3043487071990967, 0.3048296570777893, 0.30531060695648193, 0.30579158663749695, 0.3062725365161896, 0.3067535161972046, 0.3072344660758972, 0.30771544575691223, 0.30819639563560486, 0.3086773455142975, 0.3091583251953125, 0.3096392750740051, 0.31012025475502014, 0.31060120463371277, 0.3110821545124054, 0.3115631341934204, 0.31204408407211304, 0.31252506375312805, 0.3130060136318207, 0.3134869635105133, 0.3139679431915283, 0.31444889307022095, 0.31492987275123596, 0.3154108226299286, 0.3158917725086212, 0.31637275218963623, 0.31685370206832886, 0.31733468174934387, 0.3178156316280365, 0.3182965815067291, 0.31877756118774414, 0.31925851106643677, 0.3197394907474518, 0.3202204406261444, 0.32070139050483704, 0.32118237018585205, 0.3216633200645447, 0.3221442997455597, 0.3226252496242523, 0.32310619950294495, 0.32358717918395996, 0.3240681290626526, 0.3245491087436676, 0.32503005862236023, 0.32551100850105286, 0.32599198818206787, 0.3264729380607605, 0.3269539177417755, 0.32743486762046814, 0.32791581749916077, 0.3283967971801758, 0.3288777470588684, 0.3293587267398834, 0.32983967661857605, 0.3303206264972687, 0.3308016061782837, 0.3312825560569763, 0.33176353573799133, 0.33224448561668396, 0.332725465297699, 0.3332064151763916, 0.33368736505508423, 0.33416834473609924, 0.33464929461479187, 0.3351302742958069, 0.3356112241744995, 0.33609217405319214, 0.33657315373420715, 0.3370541036128998, 0.3375350832939148, 0.3380160331726074, 0.33849698305130005, 0.33897796273231506, 0.3394589126110077, 0.3399398922920227, 0.34042084217071533, 0.34090179204940796, 0.341382771730423, 0.3418637216091156, 0.3423447012901306, 0.34282565116882324, 0.34330660104751587, 0.3437875807285309, 0.3442685306072235, 0.3447495102882385, 0.34523046016693115, 0.3457114100456238, 0.3461923897266388, 0.3466733396053314, 0.34715431928634644, 0.34763526916503906, 0.3481162190437317, 0.3485971987247467, 0.34907814860343933, 0.34955912828445435, 0.350040078163147, 0.3505210280418396, 0.3510020077228546, 0.35148295760154724, 0.35196393728256226, 0.3524448871612549, 0.3529258370399475, 0.3534068167209625, 0.35388776659965515, 0.35436874628067017, 0.3548496961593628, 0.3553306758403778, 0.35581162571907043, 0.35629257559776306, 0.3567735552787781, 0.3572545051574707, 0.3577354848384857, 0.35821643471717834, 0.35869738459587097, 0.359178364276886, 0.3596593141555786, 0.36014029383659363, 0.36062124371528625, 0.3611021935939789, 0.3615831732749939, 0.3620641231536865, 0.36254510283470154, 0.36302605271339417, 0.3635070025920868, 0.3639879822731018, 0.36446893215179443, 0.36494991183280945, 0.3654308617115021, 0.3659118115901947, 0.3663927912712097, 0.36687374114990234, 0.36735472083091736, 0.36783567070961, 0.3683166205883026, 0.3687976002693176, 0.36927855014801025, 0.36975952982902527, 0.3702404797077179, 0.3707214295864105, 0.37120240926742554, 0.37168335914611816, 0.3721643388271332, 0.3726452887058258, 0.37312623858451843, 0.37360721826553345, 0.3740881681442261, 0.3745691478252411, 0.3750500977039337, 0.37553104758262634, 0.37601202726364136, 0.376492977142334, 0.376973956823349, 0.3774549067020416, 0.37793588638305664, 0.37841683626174927, 0.3788977861404419, 0.3793787658214569, 0.37985971570014954, 0.38034069538116455, 0.3808216452598572, 0.3813025951385498, 0.3817835748195648, 0.38226452469825745, 0.38274550437927246, 0.3832264542579651, 0.3837074041366577, 0.38418838381767273, 0.38466933369636536, 0.38515031337738037, 0.385631263256073, 0.3861122131347656, 0.38659319281578064, 0.38707414269447327, 0.3875551223754883, 0.3880360722541809, 0.38851702213287354, 0.38899800181388855, 0.3894789516925812, 0.3899599313735962, 0.3904408812522888, 0.39092183113098145, 0.39140281081199646, 0.3918837606906891, 0.3923647403717041, 0.39284569025039673, 0.39332664012908936, 0.39380761981010437, 0.394288569688797, 0.394769549369812, 0.39525049924850464, 0.39573144912719727, 0.3962124288082123, 0.3966933786869049, 0.3971743583679199, 0.39765530824661255, 0.3981362581253052, 0.3986172378063202, 0.3990981876850128, 0.39957916736602783, 0.40006011724472046, 0.4005410969257355, 0.4010220468044281, 0.4015029966831207, 0.40198397636413574, 0.40246492624282837, 0.4029459059238434, 0.403426855802536, 0.40390780568122864, 0.40438878536224365, 0.4048697352409363, 0.4053507149219513, 0.4058316648006439, 0.40631261467933655, 0.40679359436035156, 0.4072745442390442, 0.4077555239200592, 0.40823647379875183, 0.40871742367744446, 0.4091984033584595, 0.4096793532371521, 0.4101603329181671, 0.41064128279685974, 0.41112223267555237, 0.4116032123565674, 0.41208416223526, 0.412565141916275, 0.41304609179496765, 0.4135270416736603, 0.4140080213546753, 0.4144889712333679, 0.41496995091438293, 0.41545090079307556, 0.4159318506717682, 0.4164128303527832, 0.41689378023147583, 0.41737475991249084, 0.41785570979118347, 0.4183366596698761, 0.4188176393508911, 0.41929858922958374, 0.41977956891059875, 0.4202605187892914, 0.420741468667984, 0.421222448348999, 0.42170339822769165, 0.42218437790870667, 0.4226653277873993, 0.4231463074684143, 0.42362725734710693, 0.42410820722579956, 0.4245891869068146, 0.4250701367855072, 0.4255511164665222, 0.42603206634521484, 0.42651301622390747, 0.4269939959049225, 0.4274749457836151, 0.4279559254646301, 0.42843687534332275, 0.4289178252220154, 0.4293988049030304, 0.429879754781723, 0.43036073446273804, 0.43084168434143066, 0.4313226342201233, 0.4318036139011383, 0.43228456377983093, 0.43276554346084595, 0.4332464933395386, 0.4337274432182312, 0.4342084228992462, 0.43468937277793884, 0.43517035245895386, 0.4356513023376465, 0.4361322522163391, 0.4366132318973541, 0.43709418177604675, 0.43757516145706177, 0.4380561113357544, 0.438537061214447, 0.43901804089546204, 0.43949899077415466, 0.4399799704551697, 0.4404609203338623, 0.44094187021255493, 0.44142284989356995, 0.4419037997722626, 0.4423847794532776, 0.4428657293319702, 0.44334667921066284, 0.44382765889167786, 0.4443086087703705, 0.4447895884513855, 0.4452705383300781, 0.44575148820877075, 0.44623246788978577, 0.4467134177684784, 0.4471943974494934, 0.44767534732818604, 0.44815632700920105, 0.4486372768878937, 0.4491182267665863, 0.4495992064476013, 0.45008015632629395, 0.45056113600730896, 0.4510420858860016, 0.4515230357646942, 0.45200401544570923, 0.45248496532440186, 0.45296594500541687, 0.4534468948841095, 0.4539278447628021, 0.45440882444381714, 0.45488977432250977, 0.4553707540035248, 0.4558517038822174, 0.45633265376091003, 0.45681363344192505, 0.4572945833206177, 0.4577755630016327, 0.4582565128803253, 0.45873746275901794, 0.45921844244003296, 0.4596993923187256, 0.4601803719997406, 0.4606613218784332, 0.46114227175712585, 0.46162325143814087, 0.4621042013168335, 0.4625851809978485, 0.46306613087654114, 0.46354708075523376, 0.4640280604362488, 0.4645090103149414, 0.4649899899959564, 0.46547093987464905, 0.4659518897533417, 0.4664328694343567, 0.4669138193130493, 0.46739479899406433, 0.46787574887275696, 0.4683566987514496, 0.4688376784324646, 0.4693186283111572, 0.46979960799217224, 0.47028055787086487, 0.4707615375518799, 0.4712424874305725, 0.47172343730926514, 0.47220441699028015, 0.4726853668689728, 0.4731663465499878, 0.4736472964286804, 0.47412824630737305, 0.47460922598838806, 0.4750901758670807, 0.4755711555480957, 0.47605210542678833, 0.47653305530548096, 0.47701403498649597, 0.4774949848651886, 0.4779759645462036, 0.47845691442489624, 0.47893786430358887, 0.4794188439846039, 0.4798997938632965, 0.4803807735443115, 0.48086172342300415, 0.4813426733016968, 0.4818236529827118, 0.4823046028614044, 0.48278558254241943, 0.48326653242111206, 0.4837474822998047, 0.4842284619808197, 0.48470941185951233, 0.48519039154052734, 0.48567134141921997, 0.4861522912979126, 0.4866332709789276, 0.48711422085762024, 0.48759520053863525, 0.4880761504173279, 0.4885571002960205, 0.4890380799770355, 0.48951902985572815, 0.49000000953674316], "expected": [-1.0986123085021973, -1.0960488319396973, -1.0934885740280151, -1.0909316539764404, -1.0883779525756836, -1.0858274698257446, -1.0832802057266235, -1.0807361602783203, -1.078195333480835, -1.0756574869155884, -1.0731230974197388, -1.0705918073654175, -1.068063497543335, -1.0655382871627808, -1.0630161762237549, -1.0604972839355469, -1.0579814910888672, -1.0554686784744263, -1.0529589653015137, -1.0504521131515503, -1.0479484796524048, -1.0454479455947876, -1.04295015335083, -1.0404554605484009, -1.0379637479782104, -1.0354750156402588, -1.0329890251159668, -1.0305062532424927, -1.0280262231826782, -1.0255491733551025, -1.023074984550476, -1.0206036567687988, -1.0181353092193604, -1.0156697034835815, -1.013206958770752, -1.0107470750808716, -1.0082899332046509, -1.005835771560669, -1.0033842325210571, -1.0009355545043945, -0.9984896779060364, -0.9960463643074036, -0.9936060905456543, -0.9911683797836304, -0.9887334108352661, -0.9863011837005615, -0.9838714599609375, -0.981444776058197, -0.9790205955505371, -0.9765989780426025, -0.9741801619529724, -0.9717638492584229, -0.9693503379821777, -0.9669393301010132, -0.964530885219574, -0.9621252417564392, -0.9597218632698059, -0.9573213458061218, -0.9549233317375183, -0.9525277018547058, -0.950134813785553, -0.9477442502975464, -0.9453564882278442, -0.9429709911346436, -0.940588116645813, -0.938207745552063, -0.9358296990394592, -0.9334542751312256, -0.931081235408783, -0.9287105798721313, -0.9263424873352051, -0.923976719379425, -0.9216134548187256, -0.9192524552345276, -0.9168940186500549, -0.9145379662513733, -0.9121840596199036, -0.9098328351974487, -0.9074836373329163, -0.9051370024681091, -0.9027926921844482, -0.9004504680633545, -0.8981108665466309, -0.8957733511924744, -0.8934382796287537, -0.8911054134368896, -0.8887747526168823, -0.8864465951919556, -0.8841204047203064, -0.881796658039093, -0.8794751167297363, -0.877155601978302, -0.8748385906219482, -0.8725236058235168, -0.8702108860015869, -0.8679003715515137, -0.8655919432640076, -0.8632858395576477, -0.8609817028045654, -0.8586798906326294, -0.8563801646232605, -0.854082465171814, -0.8517870903015137, -0.8494936227798462, -0.8472024202346802, -0.8449133634567261, -0.8426260948181152, -0.840341329574585, -0.8380582332611084, -0.8357774615287781, -0.8334986567497253, -0.8312218189239502, -0.8289471864700317, -0.8266744017601013, -0.8244037628173828, -0.8221352100372314, -0.8198683857917786, -0.8176038861274719, -0.8153411149978638, -0.8130804300308228, -0.8108216524124146, -0.8085648417472839, -0.8063101172447205, -0.8040571212768555, -0.8018062710762024, -0.7995572090148926, -0.7973100543022156, -0.7950650453567505, -0.7928215861320496, -0.7905802726745605, -0.7883407473564148, -0.7861031293869019, -0.7838674783706665, -0.7816334366798401, -0.7794014811515808, -0.77717125415802, -0.7749428749084473, -0.7727164626121521, -0.7704917192459106, -0.768268883228302, -0.7660477757453918, -0.763828456401825, -0.7616111636161804, -0.7593953013420105, -0.7571814656257629, -0.7549692988395691, -0.7527589201927185, -0.750550389289856, -0.7483434081077576, -0.746138334274292, -0.7439349293708801, -0.741733193397522, -0.7395334243774414, -0.7373350262641907, -0.735138475894928, -0.7329436540603638, -0.7307504415512085, -0.7285590767860413, -0.7263692021369934, -0.7241811156272888, -0.7219945788383484, -0.7198097705841064, -0.7176267504692078, -0.7154451012611389, -0.7132651805877686, -0.7110869288444519, -0.7089101672172546, -0.7067353129386902, -0.7045617699623108, -0.7023899555206299, -0.7002196907997131, -0.6980509161949158, -0.6958838701248169, -0.6937183737754822, -0.6915544867515564, -0.6893919706344604, -0.6872310638427734, -0.6850717067718506, -0.6829140782356262, -0.6807578206062317, -0.6786031126976013, -0.6764498949050903, -0.674298107624054, -0.6721480488777161, -0.669999361038208, -0.6678521037101746, -0.6657063364982605, -0.6635621190071106, -0.6614193916320801, -0.659278154373169, -0.6571382880210876, -0.654999852180481, -0.6528627872467041, -0.6507273316383362, -0.6485933065414429, -0.6464606523513794, -0.6443293690681458, -0.6421995162963867, -0.6400710940361023, -0.637944221496582, -0.6358184814453125, -0.6336942315101624, -0.631571352481842, -0.6294499635696411, -0.6273298859596252, -0.6252111196517944, -0.6230936646461487, -0.6209776401519775, -0.618863046169281, -0.6167497634887695, -0.6146376729011536, -0.6125270128250122, -0.6104176044464111, -0.6083096265792847, -0.6062029600143433, -0.6040974855422974, -0.6019933223724365, -0.5998904705047607, -0.5977889895439148, -0.5956886410713196, -0.5935897827148438, -0.5914919972419739, -0.5893955230712891, -0.5873004198074341, -0.5852063298225403, -0.5831137895584106, -0.5810222625732422, -0.5789320468902588, -0.5768431425094604, -0.5747552514076233, -0.5726689100265503, -0.5705834627151489, -0.5684992671012878, -0.5664164423942566, -0.5643345713615417, -0.5622541308403015, -0.5601747632026672, -0.5580965876579285, -0.5560196042060852, -0.5539437532424927, -0.5518692135810852, -0.5497956275939941, -0.5477232336997986, -0.5456520915031433, -0.5435819029808044, -0.5415130853652954, -0.5394452810287476, -0.5373786091804504, -0.5353131294250488, -0.5332485437393188, -0.5311853885650635, -0.5291231274604797, -0.527061939239502, -0.5250019431114197, -0.5229429006576538, -0.5208851099014282, -0.5188283324241638, -0.5167726278305054, -0.5147179961204529, -0.5126643180847168, -0.5106119513511658, -0.5085604190826416, -0.5065100193023682, -0.5044606328010559, -0.5024121999740601, -0.5003650188446045, -0.498318612575531, -0.496273398399353, -0.49422916769981384, -0.4921858012676239, -0.490143746137619, -0.48810237646102905, -0.48606225848197937, -0.48402297496795654, -0.4819847047328949, -0.479947566986084, -0.477911114692688, -0.4758758246898651, -0.47384151816368103, -0.4718080759048462, -0.4697757363319397, -0.4677441716194153, -0.4657136797904968, -0.46368408203125, -0.46165528893470764, -0.45962777733802795, -0.4576008915901184, -0.45557498931884766, -0.4535501003265381, -0.451526015996933, -0.4495030343532562, -0.4474806785583496, -0.4454593360424042, -0.4434390068054199, -0.4414193332195282, -0.439400851726532, -0.43738293647766113, -0.43536612391471863, -0.4333500564098358, -0.43133485317230225, -0.42932069301605225, -0.4273070693016052, -0.4252946078777313, -0.4232828915119171, -0.4212718605995178, -0.41926196217536926, -0.41725265979766846, -0.41524434089660645, -0.4132367670536041, -0.4112299084663391, -0.40922409296035767, -0.40721890330314636, -0.4052145779132843, -0.4032110869884491, -0.40120837092399597, -0.3992065489292145, -0.3972053527832031, -0.3952050805091858, -0.3932054042816162, -0.3912065923213959, -0.38920873403549194, -0.3872113823890686, -0.3852149248123169, -0.3832192122936249, -0.3812241554260254, -0.3792301118373871, -0.3772364854812622, -0.37524378299713135, -0.3732517659664154, -0.37126049399375916, -0.36927008628845215, -0.36728009581565857, -0.365291029214859, -0.36330267786979675, -0.36131495237350464, -0.3593280613422394, -0.3573417365550995, -0.3553561866283417, -0.353371262550354, -0.35138705372810364, -0.3494037091732025, -0.3474207818508148, -0.3454386591911316, -0.3434571623802185, -0.34147632122039795, -0.33949628472328186, -0.3375166654586792, -0.3355378806591034, -0.33355966210365295, -0.33158212900161743, -0.3296053409576416, -0.3276289701461792, -0.32565343379974365, -0.3236783444881439, -0.3217039704322815, -0.31973040103912354, -0.31775715947151184, -0.31578466296195984, -0.3138127326965332, -0.3118413984775543, -0.3098706305027008, -0.30790066719055176, -0.3059311509132385, -0.30396220088005066, -0.30199381709098816, -0.300025999546051, -0.2980589270591736, -0.29609236121177673, -0.2941262722015381, -0.2921607792377472, -0.29019585251808167, -0.2882315516471863, -0.2862677276134491, -0.2843044698238373, -0.28234171867370605, -0.2803795039653778, -0.2784178853034973, -0.27645689249038696, -0.27449631690979004, -0.27253618836402893, -0.2705765962600708, -0.2686176598072052, -0.2666592001914978, -0.26470115780830383, -0.26274362206459045, -0.26078662276268005, -0.25883015990257263, -0.2568742036819458, -0.2549186646938324, -0.2529635727405548, -0.2510089874267578, -0.24905501306056976, -0.24710142612457275, -0.24514828622341156, -0.2431955337524414, -0.24124333262443542, -0.23929166793823242, -0.23734040558338165, -0.2353895604610443, -0.2334391176700592, -0.23148909211158752, -0.2295396327972412, -0.22759060561656952, -0.22564193606376648, -0.2236936092376709, -0.2217458188533783, -0.21979846060276031, -0.21785156428813934, -0.21590496599674225, -0.2139587551355362, -0.21201300621032715, -0.2100677192211151, -0.2081226259469986, -0.2061782330274582, -0.2042340189218521, -0.20229016244411469, -0.20034685730934143, -0.19840370118618011, -0.19646118581295013, -0.1945188194513321, -0.19257690012454987, -0.19063541293144226, -0.188694030046463, -0.18675337731838226, -0.18481284379959106, -0.18287262320518494, -0.180932879447937, -0.1789933145046234, -0.17705431580543518, -0.1751154363155365, -0.17317698895931244, -0.17123889923095703, -0.16930094361305237, -0.16736356914043427, -0.16542628407478333, -0.16348938643932343, -0.16155286133289337, -0.15961651504039764, -0.15768063068389893, -0.15574494004249573, -0.15380950272083282, -0.15187448263168335, -0.14993952214717865, -0.14800512790679932, -0.14607080817222595, -0.14413677155971527, -0.14220310747623444, -0.14026954770088196, -0.13833649456501007, -0.13640348613262177, -0.13447079062461853, -0.13253842294216156, -0.1306060552597046, -0.12867429852485657, -0.12674252688884735, -0.12481104582548141, -0.12287985533475876, -0.12094874680042267, -0.11901814490556717, -0.11708743870258331, -0.1151571124792099, -0.11322709918022156, -0.11129700392484665, -0.1093675047159195, -0.107437863945961, -0.10550857335329056, -0.1035795509815216, -0.10165048390626907, -0.09972190856933594, -0.09779322892427444, -0.0958649218082428, -0.09393678605556488, -0.09200863540172577, -0.09008099883794785, -0.0881531685590744, -0.086225725710392, -0.08429843187332153, -0.08237109333276749, -0.08044422417879105, -0.07851719856262207, -0.07659053057432175, -0.07466397434473038, -0.07273740321397781, -0.0708112046122551, -0.06888487935066223, -0.06695888191461563, -0.0650329664349556, -0.06310699880123138, -0.061181508004665375, -0.05925579369068146, -0.057330306619405746, -0.05540499463677406, -0.05347960814833641, -0.0515545979142189, -0.04962940141558647, -0.04770446568727493, -0.04577960819005966, -0.04385465011000633, -0.041930098086595535, -0.04000527039170265]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py index 7966c40ab3e1..c3b9c882cba5 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/runner.py @@ -66,11 +66,8 @@ def main(): x = np.linspace(0.0001, 0.25, 500).astype(np.float32) gen(x, "small.json") - x = np.linspace(0.25, 0.49, 500).astype(np.float32) - gen(x, "medium_below.json") - - x = np.linspace(0.5, 0.75, 500).astype(np.float32) - gen(x, "medium_above.json") + x = np.linspace(0.25, 0.75, 500).astype(np.float32) + gen(x, "medium.json") x = np.linspace(0.75, 0.9999, 500).astype(np.float32) gen(x, "large.json") diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json index 4f0c913a0683..7af5f351f969 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/fixtures/python/small.json @@ -1 +1 @@ -{"x": [9.999999747378752e-05, 0.0006008016061969101, 0.0011016031494364142, 0.001602404867298901, 0.002103206468746066, 0.0026040079537779093, 0.003104809671640396, 0.0036056111566722393, 0.0041064126417040825, 0.004607214592397213, 0.005108016077429056, 0.005608817562460899, 0.0061096190474927425, 0.006610420998185873, 0.007111222483217716, 0.007612023968249559, 0.008112825453281403, 0.008613627403974533, 0.009114428423345089, 0.00961523037403822, 0.01011603232473135, 0.010616833344101906, 0.011117635294795036, 0.011618437245488167, 0.012119238264858723, 0.012620040215551853, 0.013120841234922409, 0.01362164318561554, 0.01412244513630867, 0.014623246155679226, 0.015124048106372356, 0.015624850057065487, 0.016125651076436043, 0.016626453027129173, 0.017127254977822304, 0.017628056928515434, 0.018128857016563416, 0.018629658967256546, 0.019130460917949677, 0.019631262868642807, 0.020132064819335938, 0.02063286490738392, 0.02113366685807705, 0.02163446880877018, 0.02213527075946331, 0.02263607271015644, 0.02313687466084957, 0.023637674748897552, 0.024138476699590683, 0.024639278650283813, 0.025140080600976944, 0.025640882551670074, 0.026141682639718056, 0.026642484590411186, 0.027143286541104317, 0.027644088491797447, 0.028144890442490578, 0.02864569053053856, 0.02914649248123169, 0.02964729443192482, 0.03014809638261795, 0.03064889833331108, 0.03114970028400421, 0.03165050223469734, 0.03215130418539047, 0.032652102410793304, 0.033152904361486435, 0.033653706312179565, 0.034154508262872696, 0.034655310213565826, 0.03515611216425896, 0.03565691411495209, 0.03615771606564522, 0.03665851801633835, 0.03715931996703148, 0.03766012191772461, 0.03816092014312744, 0.03866172209382057, 0.0391625240445137, 0.03966332599520683, 0.04016412794589996, 0.040664929896593094, 0.041165731847286224, 0.041666533797979355, 0.042167335748672485, 0.042668137699365616, 0.043168939650058746, 0.04366973787546158, 0.04417053982615471, 0.04467134177684784, 0.04517214372754097, 0.0456729456782341, 0.04617374762892723, 0.04667454957962036, 0.04717535153031349, 0.04767615348100662, 0.04817695543169975, 0.048677753657102585, 0.049178555607795715, 0.049679357558488846, 0.050180159509181976, 0.05068096145987511, 0.05118176341056824, 0.05168256536126137, 0.0521833673119545, 0.05268416926264763, 0.05318497121334076, 0.05368577316403389, 0.05418657138943672, 0.05468737334012985, 0.05518817529082298, 0.05568897724151611, 0.056189779192209244, 0.056690581142902374, 0.057191383093595505, 0.057692185044288635, 0.058192986994981766, 0.058693788945674896, 0.05919459089636803, 0.05969538912177086, 0.06019619107246399, 0.06069699302315712, 0.06119779497385025, 0.06169859692454338, 0.06219939887523651, 0.06270019710063934, 0.06320100277662277, 0.0637018010020256, 0.06420260667800903, 0.06470340490341187, 0.0652042105793953, 0.06570500880479813, 0.06620581448078156, 0.06670661270618439, 0.06720741838216782, 0.06770821660757065, 0.06820901483297348, 0.06870982050895691, 0.06921061873435974, 0.06971142441034317, 0.070212222635746, 0.07071302831172943, 0.07121382653713226, 0.07171463221311569, 0.07221543043851852, 0.07271623611450195, 0.07321703433990479, 0.07371783256530762, 0.07421863824129105, 0.07471943646669388, 0.07522024214267731, 0.07572104036808014, 0.07622184604406357, 0.0767226442694664, 0.07722344994544983, 0.07772424817085266, 0.0782250463962555, 0.07872585207223892, 0.07922665029764175, 0.07972745597362518, 0.08022825419902802, 0.08072905987501144, 0.08122985810041428, 0.0817306637763977, 0.08223146200180054, 0.08273226767778397, 0.0832330659031868, 0.08373386412858963, 0.08423466980457306, 0.08473546802997589, 0.08523627370595932, 0.08573707193136215, 0.08623787760734558, 0.08673867583274841, 0.08723948150873184, 0.08774027973413467, 0.0882410854101181, 0.08874188363552094, 0.08924268186092377, 0.0897434875369072, 0.09024428576231003, 0.09074509143829346, 0.09124588966369629, 0.09174669533967972, 0.09224749356508255, 0.09274829924106598, 0.09324909746646881, 0.09374990314245224, 0.09425070136785507, 0.0947514995932579, 0.09525230526924133, 0.09575310349464417, 0.0962539091706276, 0.09675470739603043, 0.09725551307201385, 0.09775631129741669, 0.09825711697340012, 0.09875791519880295, 0.09925872087478638, 0.09975951910018921, 0.10026031732559204, 0.10076112300157547, 0.1012619212269783, 0.10176272690296173, 0.10226352512836456, 0.10276433080434799, 0.10326512902975082, 0.10376593470573425, 0.10426673293113708, 0.10476753860712051, 0.10526833683252335, 0.10576913505792618, 0.1062699407339096, 0.10677073895931244, 0.10727154463529587, 0.1077723428606987, 0.10827314853668213, 0.10877394676208496, 0.10927475243806839, 0.10977555066347122, 0.11027635633945465, 0.11077715456485748, 0.11127795279026031, 0.11177875846624374, 0.11227955669164658, 0.11278036236763, 0.11328116059303284, 0.11378196626901627, 0.1142827644944191, 0.11478357017040253, 0.11528436839580536, 0.11578516662120819, 0.11628597229719162, 0.11678677052259445, 0.11728757619857788, 0.11778837442398071, 0.11828918009996414, 0.11878997832536697, 0.1192907840013504, 0.11979158222675323, 0.12029238790273666, 0.1207931861281395, 0.12129398435354233, 0.12179479002952576, 0.12229558825492859, 0.12279639393091202, 0.12329719215631485, 0.12379799783229828, 0.12429879605770111, 0.12479960173368454, 0.12530040740966797, 0.1258012056350708, 0.12630200386047363, 0.12680280208587646, 0.1273036003112793, 0.12780441343784332, 0.12830521166324615, 0.128806009888649, 0.12930680811405182, 0.12980762124061584, 0.13030841946601868, 0.1308092176914215, 0.13131001591682434, 0.13181082904338837, 0.1323116272687912, 0.13281242549419403, 0.13331322371959686, 0.1338140219449997, 0.13431483507156372, 0.13481563329696655, 0.13531643152236938, 0.13581722974777222, 0.13631804287433624, 0.13681884109973907, 0.1373196393251419, 0.13782043755054474, 0.13832123577594757, 0.1388220489025116, 0.13932284712791443, 0.13982364535331726, 0.1403244435787201, 0.14082525670528412, 0.14132605493068695, 0.14182685315608978, 0.14232765138149261, 0.14282844960689545, 0.14332926273345947, 0.1438300609588623, 0.14433085918426514, 0.14483165740966797, 0.145332470536232, 0.14583326876163483, 0.14633406698703766, 0.1468348652124405, 0.14733567833900452, 0.14783647656440735, 0.14833727478981018, 0.148838073015213, 0.14933887124061584, 0.14983968436717987, 0.1503404825925827, 0.15084128081798553, 0.15134207904338837, 0.1518428921699524, 0.15234369039535522, 0.15284448862075806, 0.1533452868461609, 0.15384608507156372, 0.15434689819812775, 0.15484769642353058, 0.1553484946489334, 0.15584929287433624, 0.15635010600090027, 0.1568509042263031, 0.15735170245170593, 0.15785250067710876, 0.1583533138036728, 0.15885411202907562, 0.15935491025447845, 0.1598557084798813, 0.16035650670528412, 0.16085731983184814, 0.16135811805725098, 0.1618589162826538, 0.16235971450805664, 0.16286052763462067, 0.1633613258600235, 0.16386212408542633, 0.16436292231082916, 0.164863720536232, 0.16536453366279602, 0.16586533188819885, 0.16636613011360168, 0.16686692833900452, 0.16736774146556854, 0.16786853969097137, 0.1683693379163742, 0.16887013614177704, 0.16937094926834106, 0.1698717474937439, 0.17037254571914673, 0.17087334394454956, 0.1713741421699524, 0.17187495529651642, 0.17237575352191925, 0.17287655174732208, 0.17337734997272491, 0.17387816309928894, 0.17437896132469177, 0.1748797595500946, 0.17538055777549744, 0.17588135600090027, 0.1763821691274643, 0.17688296735286713, 0.17738376557826996, 0.1778845638036728, 0.17838537693023682, 0.17888617515563965, 0.17938697338104248, 0.1798877716064453, 0.18038856983184814, 0.18088938295841217, 0.181390181183815, 0.18189097940921783, 0.18239177763462067, 0.1828925907611847, 0.18339338898658752, 0.18389418721199036, 0.1843949854373932, 0.18489579856395721, 0.18539659678936005, 0.18589739501476288, 0.1863981932401657, 0.18689899146556854, 0.18739980459213257, 0.1879006028175354, 0.18840140104293823, 0.18890219926834106, 0.1894030123949051, 0.18990381062030792, 0.19040460884571075, 0.1909054070711136, 0.19140620529651642, 0.19190701842308044, 0.19240781664848328, 0.1929086148738861, 0.19340941309928894, 0.19391022622585297, 0.1944110244512558, 0.19491182267665863, 0.19541262090206146, 0.1959134340286255, 0.19641423225402832, 0.19691503047943115, 0.19741582870483398, 0.19791662693023682, 0.19841744005680084, 0.19891823828220367, 0.1994190365076065, 0.19991983473300934, 0.20042064785957336, 0.2009214460849762, 0.20142224431037903, 0.20192304253578186, 0.2024238407611847, 0.20292465388774872, 0.20342545211315155, 0.20392625033855438, 0.20442704856395721, 0.20492786169052124, 0.20542865991592407, 0.2059294581413269, 0.20643025636672974, 0.20693106949329376, 0.2074318677186966, 0.20793266594409943, 0.20843346416950226, 0.2089342623949051, 0.20943507552146912, 0.20993587374687195, 0.21043667197227478, 0.2109374701976776, 0.21143828332424164, 0.21193908154964447, 0.2124398797750473, 0.21294067800045013, 0.21344147622585297, 0.213942289352417, 0.21444308757781982, 0.21494388580322266, 0.2154446840286255, 0.21594549715518951, 0.21644629538059235, 0.21694709360599518, 0.217447891831398, 0.21794869005680084, 0.21844950318336487, 0.2189503014087677, 0.21945109963417053, 0.21995189785957336, 0.2204527109861374, 0.22095350921154022, 0.22145430743694305, 0.2219551056623459, 0.2224559187889099, 0.22295671701431274, 0.22345751523971558, 0.2239583134651184, 0.22445911169052124, 0.22495992481708527, 0.2254607230424881, 0.22596152126789093, 0.22646231949329376, 0.2269631326198578, 0.22746393084526062, 0.22796472907066345, 0.22846552729606628, 0.22896632552146912, 0.22946713864803314, 0.22996793687343597, 0.2304687350988388, 0.23096953332424164, 0.23147034645080566, 0.2319711446762085, 0.23247194290161133, 0.23297274112701416, 0.23347355425357819, 0.23397435247898102, 0.23447515070438385, 0.23497594892978668, 0.23547674715518951, 0.23597756028175354, 0.23647835850715637, 0.2369791567325592, 0.23747995495796204, 0.23798076808452606, 0.2384815663099289, 0.23898236453533173, 0.23948316276073456, 0.2399839609861374, 0.24048477411270142, 0.24098557233810425, 0.24148637056350708, 0.2419871687889099, 0.24248798191547394, 0.24298878014087677, 0.2434895783662796, 0.24399037659168243, 0.24449118971824646, 0.2449919879436493, 0.24549278616905212, 0.24599358439445496, 0.2464943826198578, 0.24699519574642181, 0.24749599397182465, 0.24799679219722748, 0.2484975904226303, 0.24899840354919434, 0.24949920177459717, 0.25], "expected": [-9.210240364074707, -7.41664457321167, -6.809886455535889, -6.434646129608154, -6.162186622619629, -5.94809627532959, -5.771693229675293, -5.621652126312256, -5.491090774536133, -5.375514030456543, -5.271822929382324, -5.177790641784668, -5.091762542724609, -5.012475490570068, -4.938944339752197, -4.87038516998291, -4.806163311004639, -4.745759010314941, -4.688740253448486, -4.634745121002197, -4.583466053009033, -4.534640789031982, -4.488042831420898, -4.443475723266602, -4.400767803192139, -4.359768867492676, -4.320345878601074, -4.282380104064941, -4.245766639709473, -4.210411548614502, -4.176229476928711, -4.143144607543945, -4.111086845397949, -4.079994201660156, -4.049808502197266, -4.020478248596191, -3.991955041885376, -3.9641950130462646, -3.93715763092041, -3.9108054637908936, -3.885103940963745, -3.8600213527679443, -3.8355276584625244, -3.8115954399108887, -3.7881991863250732, -3.7653143405914307, -3.7429189682006836, -3.720991849899292, -3.6995136737823486, -3.6784656047821045, -3.657830238342285, -3.63759183883667, -3.617734670639038, -3.5982444286346436, -3.5791070461273193, -3.560309886932373, -3.5418407917022705, -3.523688316345215, -3.505841016769409, -3.488288640975952, -3.4710216522216797, -3.4540300369262695, -3.437305450439453, -3.4208390712738037, -3.404622793197632, -3.3886489868164062, -3.3729100227355957, -3.3573989868164062, -3.342109203338623, -3.3270342350006104, -3.3121678829193115, -3.29750394821167, -3.2830371856689453, -3.2687621116638184, -3.2546732425689697, -3.2407658100128174, -3.2270352840423584, -3.2134764194488525, -3.200084924697876, -3.186856985092163, -3.173788070678711, -3.160874366760254, -3.1481120586395264, -3.135497570037842, -3.1230273246765137, -3.1106977462768555, -3.0985054969787598, -3.0864479541778564, -3.074521541595459, -3.062723159790039, -3.0510504245758057, -3.0395002365112305, -3.0280702114105225, -3.0167572498321533, -3.0055594444274902, -2.994473934173584, -2.9834983348846436, -2.972630739212036, -2.9618687629699707, -2.9512100219726562, -2.94065260887146, -2.930194616317749, -2.9198338985443115, -2.9095687866210938, -2.899397134780884, -2.889317512512207, -2.8793277740478516, -2.869426727294922, -2.859612226486206, -2.8498828411102295, -2.8402371406555176, -2.8306734561920166, -2.821190118789673, -2.81178617477417, -2.802460193634033, -2.79321026802063, -2.7840354442596436, -2.7749345302581787, -2.7659060955047607, -2.7569491863250732, -2.7480621337890625, -2.739243984222412, -2.7304935455322266, -2.7218101024627686, -2.7131919860839844, -2.704638719558716, -2.696148633956909, -2.6877212524414062, -2.6793551445007324, -2.6710498332977295, -2.662804126739502, -2.6546170711517334, -2.6464877128601074, -2.638415575027466, -2.630399227142334, -2.622438430786133, -2.6145317554473877, -2.6066787242889404, -2.5988786220550537, -2.591130495071411, -2.5834338665008545, -2.5757877826690674, -2.5681915283203125, -2.5606443881988525, -2.5531458854675293, -2.5456948280334473, -2.5382914543151855, -2.5309340953826904, -2.523622751235962, -2.5163567066192627, -2.5091352462768555, -2.501957893371582, -2.494823932647705, -2.4877328872680664, -2.4806840419769287, -2.473676919937134, -2.4667112827301025, -2.4597859382629395, -2.4529011249542236, -2.4460558891296387, -2.4392497539520264, -2.4324822425842285, -2.425753116607666, -2.4190614223480225, -2.412407159805298, -2.405789613723755, -2.3992085456848145, -2.3926634788513184, -2.38615345954895, -2.379678964614868, -2.3732388019561768, -2.366832971572876, -2.3604607582092285, -2.3541221618652344, -2.3478164672851562, -2.341543674468994, -2.3353028297424316, -2.329094171524048, -2.3229169845581055, -2.3167710304260254, -2.3106558322906494, -2.3045711517333984, -2.2985167503356934, -2.292491912841797, -2.286496639251709, -2.2805304527282715, -2.2745933532714844, -2.2686846256256104, -2.2628042697906494, -2.2569518089294434, -2.251127004623413, -2.2453293800354004, -2.239558696746826, -2.2338151931762695, -2.228097915649414, -2.2224068641662598, -2.2167418003082275, -2.211102247238159, -2.2054882049560547, -2.199899435043335, -2.194335460662842, -2.188796043395996, -2.183281183242798, -2.177790403366089, -2.17232346534729, -2.1668803691864014, -2.1614606380462646, -2.1560637950897217, -2.1506903171539307, -2.1453394889831543, -2.1400110721588135, -2.1347053050994873, -2.1294212341308594, -2.124159336090088, -2.1189188957214355, -2.1137001514434814, -2.1085026264190674, -2.1033263206481934, -2.098170757293701, -2.093035936355591, -2.087921380996704, -2.08282732963562, -2.0777533054351807, -2.0726993083953857, -2.0676651000976562, -2.062650442123413, -2.057655096054077, -2.0526790618896484, -2.0477218627929688, -2.042783737182617, -2.0378644466400146, -2.032963514328003, -2.028080940246582, -2.023216962814331, -2.0183706283569336, -2.013542413711548, -2.0087318420410156, -2.003938913345337, -1.9991635084152222, -1.9944052696228027, -1.9896643161773682, -1.9849402904510498, -1.9802331924438477, -1.975542664527893, -1.9708689451217651, -1.9662114381790161, -1.961570382118225, -1.9569454193115234, -1.9523365497589111, -1.9477436542510986, -1.9431663751602173, -1.9386048316955566, -1.9340589046478271, -1.9295282363891602, -1.9250129461288452, -1.9205126762390137, -1.9160274267196655, -1.9115571975708008, -1.9071017503738403, -1.902660846710205, -1.8982346057891846, -1.8938227891921997, -1.889425277709961, -1.8850418329238892, -1.8806726932525635, -1.8763175010681152, -1.8719762563705444, -1.867648720741272, -1.8633347749710083, -1.859034538269043, -1.8547476530075073, -1.850474238395691, -1.846213936805725, -1.8419668674468994, -1.8377329111099243, -1.8335119485855103, -1.8293037414550781, -1.825108289718628, -1.8209255933761597, -1.8167554140090942, -1.8125978708267212, -1.8084524869918823, -1.8043195009231567, -1.8001989126205444, -1.7960902452468872, -1.7919938564300537, -1.7879091501235962, -1.7838363647460938, -1.7797755002975464, -1.775726318359375, -1.7716885805130005, -1.7676624059677124, -1.7636477947235107, -1.7596445083618164, -1.7556524276733398, -1.7516716718673706, -1.7477020025253296, -1.7437434196472168, -1.7397958040237427, -1.7358589172363281, -1.7319331169128418, -1.7280179262161255, -1.7241134643554688, -1.7202194929122925, -1.7163361310958862, -1.7124632596969604, -1.7086007595062256, -1.7047486305236816, -1.7009066343307495, -1.6970747709274292, -1.6932531595230103, -1.6894415616989136, -1.6856398582458496, -1.6818480491638184, -1.6780661344528198, -1.674294114112854, -1.6705316305160522, -1.6667789220809937, -1.6630357503890991, -1.659301996231079, -1.6555778980255127, -1.6518629789352417, -1.6481575965881348, -1.6444613933563232, -1.6407743692398071, -1.6370965242385864, -1.6334278583526611, -1.6297681331634521, -1.626117467880249, -1.6224757432937622, -1.6188427209854126, -1.6152187585830688, -1.6116033792495728, -1.6079967021942139, -1.6043986082077026, -1.6008092164993286, -1.5972284078598022, -1.593656063079834, -1.5900920629501343, -1.5865365266799927, -1.58298921585083, -1.5794503688812256, -1.5759196281433105, -1.572396993637085, -1.5688825845718384, -1.5653762817382812, -1.5618778467178345, -1.5583873987197876, -1.5549050569534302, -1.5514304637908936, -1.5479637384414673, -1.5445047616958618, -1.5410535335540771, -1.5376100540161133, -1.5341742038726807, -1.5307459831237793, -1.5273252725601196, -1.523911952972412, -1.5205062627792358, -1.5171079635620117, -1.5137170553207397, -1.5103334188461304, -1.5069571733474731, -1.503588080406189, -1.500226378440857, -1.4968715906143188, -1.4935239553451538, -1.4901835918426514, -1.4868500232696533, -1.4835234880447388, -1.4802039861679077, -1.4768915176391602, -1.473585844039917, -1.4702869653701782, -1.4669948816299438, -1.4637095928192139, -1.4604310989379883, -1.4571592807769775, -1.453894019126892, -1.450635313987732, -1.4473832845687866, -1.4441378116607666, -1.4408987760543823, -1.4376660585403442, -1.434440016746521, -1.431220293045044, -1.428006887435913, -1.4247997999191284, -1.42159903049469, -1.4184045791625977, -1.4152162075042725, -1.412034034729004, -1.408858060836792, -1.4056881666183472, -1.402524471282959, -1.3993667364120483, -1.3962148427963257, -1.3930691480636597, -1.3899294137954712, -1.3867955207824707, -1.3836674690246582, -1.3805452585220337, -1.3774290084838867, -1.3743184804916382, -1.371213674545288, -1.3681144714355469, -1.3650211095809937, -1.3619333505630493, -1.3588513135910034, -1.3557748794555664, -1.3527039289474487, -1.34963858127594, -1.34657883644104, -1.34352445602417, -1.3404755592346191, -1.3374321460723877, -1.334394097328186, -1.3313614130020142, -1.3283339738845825, -1.3253120183944702, -1.3222953081130981, -1.3192838430404663, -1.3162775039672852, -1.3132765293121338, -1.310280680656433, -1.307289958000183, -1.3043043613433838, -1.3013238906860352, -1.2983485460281372, -1.2953782081604004, -1.2924128770828247, -1.2894525527954102, -1.2864971160888672, -1.283546805381775, -1.2806012630462646, -1.2776607275009155, -1.2747249603271484, -1.271794080734253, -1.2688679695129395, -1.2659467458724976, -1.2630301713943481, -1.2601183652877808, -1.257211446762085, -1.254309058189392, -1.2514114379882812, -1.2485183477401733, -1.2456300258636475, -1.2427462339401245, -1.2398672103881836, -1.2369924783706665, -1.234122395515442, -1.2312568426132202, -1.2283958196640015, -1.2255390882492065, -1.222687005996704, -1.2198392152786255, -1.2169959545135498, -1.214156985282898, -1.2113224267959595, -1.2084922790527344, -1.205666422843933, -1.2028447389602661, -1.200027346611023, -1.1972143650054932, -1.1944055557250977, -1.1916009187698364, -1.1888004541397095, -1.1860041618347168, -1.183212161064148, -1.1804242134094238, -1.1776403188705444, -1.1748604774475098, -1.1720848083496094, -1.1693131923675537, -1.1665456295013428, -1.1637818813323975, -1.161022424697876, -1.1582667827606201, -1.155515193939209, -1.1527674198150635, -1.1500235795974731, -1.1472837924957275, -1.144547700881958, -1.1418156623840332, -1.1390873193740845, -1.136362910270691, -1.1336421966552734, -1.1309252977371216, -1.1282120943069458, -1.1255028247833252, -1.1227972507476807, -1.1200953722000122, -1.1173971891403198, -1.1147027015686035, -1.1120119094848633, -1.1093248128890991, -1.106641173362732, -1.1039612293243408, -1.1012849807739258, -1.0986123085021973]} +{"x": [9.999999747378752e-05, 0.0006008016061969101, 0.0011016031494364142, 0.001602404867298901, 0.002103206468746066, 0.0026040079537779093, 0.003104809671640396, 0.0036056111566722393, 0.0041064126417040825, 0.004607214592397213, 0.005108016077429056, 0.005608817562460899, 0.0061096190474927425, 0.006610420998185873, 0.007111222483217716, 0.007612023968249559, 0.008112825453281403, 0.008613627403974533, 0.009114428423345089, 0.00961523037403822, 0.01011603232473135, 0.010616833344101906, 0.011117635294795036, 0.011618437245488167, 0.012119238264858723, 0.012620040215551853, 0.013120841234922409, 0.01362164318561554, 0.01412244513630867, 0.014623246155679226, 0.015124048106372356, 0.015624850057065487, 0.016125651076436043, 0.016626453027129173, 0.017127254977822304, 0.017628056928515434, 0.018128857016563416, 0.018629658967256546, 0.019130460917949677, 0.019631262868642807, 0.020132064819335938, 0.02063286490738392, 0.02113366685807705, 0.02163446880877018, 0.02213527075946331, 0.02263607271015644, 0.02313687466084957, 0.023637674748897552, 0.024138476699590683, 0.024639278650283813, 0.025140080600976944, 0.025640882551670074, 0.026141682639718056, 0.026642484590411186, 0.027143286541104317, 0.027644088491797447, 0.028144890442490578, 0.02864569053053856, 0.02914649248123169, 0.02964729443192482, 0.03014809638261795, 0.03064889833331108, 0.03114970028400421, 0.03165050223469734, 0.03215130418539047, 0.032652102410793304, 0.033152904361486435, 0.033653706312179565, 0.034154508262872696, 0.034655310213565826, 0.03515611216425896, 0.03565691411495209, 0.03615771606564522, 0.03665851801633835, 0.03715931996703148, 0.03766012191772461, 0.03816092014312744, 0.03866172209382057, 0.0391625240445137, 0.03966332599520683, 0.04016412794589996, 0.040664929896593094, 0.041165731847286224, 0.041666533797979355, 0.042167335748672485, 0.042668137699365616, 0.043168939650058746, 0.04366973787546158, 0.04417053982615471, 0.04467134177684784, 0.04517214372754097, 0.0456729456782341, 0.04617374762892723, 0.04667454957962036, 0.04717535153031349, 0.04767615348100662, 0.04817695543169975, 0.048677753657102585, 0.049178555607795715, 0.049679357558488846, 0.050180159509181976, 0.05068096145987511, 0.05118176341056824, 0.05168256536126137, 0.0521833673119545, 0.05268416926264763, 0.05318497121334076, 0.05368577316403389, 0.05418657138943672, 0.05468737334012985, 0.05518817529082298, 0.05568897724151611, 0.056189779192209244, 0.056690581142902374, 0.057191383093595505, 0.057692185044288635, 0.058192986994981766, 0.058693788945674896, 0.05919459089636803, 0.05969538912177086, 0.06019619107246399, 0.06069699302315712, 0.06119779497385025, 0.06169859692454338, 0.06219939887523651, 0.06270019710063934, 0.06320100277662277, 0.0637018010020256, 0.06420260667800903, 0.06470340490341187, 0.0652042105793953, 0.06570500880479813, 0.06620581448078156, 0.06670661270618439, 0.06720741838216782, 0.06770821660757065, 0.06820901483297348, 0.06870982050895691, 0.06921061873435974, 0.06971142441034317, 0.070212222635746, 0.07071302831172943, 0.07121382653713226, 0.07171463221311569, 0.07221543043851852, 0.07271623611450195, 0.07321703433990479, 0.07371783256530762, 0.07421863824129105, 0.07471943646669388, 0.07522024214267731, 0.07572104036808014, 0.07622184604406357, 0.0767226442694664, 0.07722344994544983, 0.07772424817085266, 0.0782250463962555, 0.07872585207223892, 0.07922665029764175, 0.07972745597362518, 0.08022825419902802, 0.08072905987501144, 0.08122985810041428, 0.0817306637763977, 0.08223146200180054, 0.08273226767778397, 0.0832330659031868, 0.08373386412858963, 0.08423466980457306, 0.08473546802997589, 0.08523627370595932, 0.08573707193136215, 0.08623787760734558, 0.08673867583274841, 0.08723948150873184, 0.08774027973413467, 0.0882410854101181, 0.08874188363552094, 0.08924268186092377, 0.0897434875369072, 0.09024428576231003, 0.09074509143829346, 0.09124588966369629, 0.09174669533967972, 0.09224749356508255, 0.09274829924106598, 0.09324909746646881, 0.09374990314245224, 0.09425070136785507, 0.0947514995932579, 0.09525230526924133, 0.09575310349464417, 0.0962539091706276, 0.09675470739603043, 0.09725551307201385, 0.09775631129741669, 0.09825711697340012, 0.09875791519880295, 0.09925872087478638, 0.09975951910018921, 0.10026031732559204, 0.10076112300157547, 0.1012619212269783, 0.10176272690296173, 0.10226352512836456, 0.10276433080434799, 0.10326512902975082, 0.10376593470573425, 0.10426673293113708, 0.10476753860712051, 0.10526833683252335, 0.10576913505792618, 0.1062699407339096, 0.10677073895931244, 0.10727154463529587, 0.1077723428606987, 0.10827314853668213, 0.10877394676208496, 0.10927475243806839, 0.10977555066347122, 0.11027635633945465, 0.11077715456485748, 0.11127795279026031, 0.11177875846624374, 0.11227955669164658, 0.11278036236763, 0.11328116059303284, 0.11378196626901627, 0.1142827644944191, 0.11478357017040253, 0.11528436839580536, 0.11578516662120819, 0.11628597229719162, 0.11678677052259445, 0.11728757619857788, 0.11778837442398071, 0.11828918009996414, 0.11878997832536697, 0.1192907840013504, 0.11979158222675323, 0.12029238790273666, 0.1207931861281395, 0.12129398435354233, 0.12179479002952576, 0.12229558825492859, 0.12279639393091202, 0.12329719215631485, 0.12379799783229828, 0.12429879605770111, 0.12479960173368454, 0.12530040740966797, 0.1258012056350708, 0.12630200386047363, 0.12680280208587646, 0.1273036003112793, 0.12780441343784332, 0.12830521166324615, 0.128806009888649, 0.12930680811405182, 0.12980762124061584, 0.13030841946601868, 0.1308092176914215, 0.13131001591682434, 0.13181082904338837, 0.1323116272687912, 0.13281242549419403, 0.13331322371959686, 0.1338140219449997, 0.13431483507156372, 0.13481563329696655, 0.13531643152236938, 0.13581722974777222, 0.13631804287433624, 0.13681884109973907, 0.1373196393251419, 0.13782043755054474, 0.13832123577594757, 0.1388220489025116, 0.13932284712791443, 0.13982364535331726, 0.1403244435787201, 0.14082525670528412, 0.14132605493068695, 0.14182685315608978, 0.14232765138149261, 0.14282844960689545, 0.14332926273345947, 0.1438300609588623, 0.14433085918426514, 0.14483165740966797, 0.145332470536232, 0.14583326876163483, 0.14633406698703766, 0.1468348652124405, 0.14733567833900452, 0.14783647656440735, 0.14833727478981018, 0.148838073015213, 0.14933887124061584, 0.14983968436717987, 0.1503404825925827, 0.15084128081798553, 0.15134207904338837, 0.1518428921699524, 0.15234369039535522, 0.15284448862075806, 0.1533452868461609, 0.15384608507156372, 0.15434689819812775, 0.15484769642353058, 0.1553484946489334, 0.15584929287433624, 0.15635010600090027, 0.1568509042263031, 0.15735170245170593, 0.15785250067710876, 0.1583533138036728, 0.15885411202907562, 0.15935491025447845, 0.1598557084798813, 0.16035650670528412, 0.16085731983184814, 0.16135811805725098, 0.1618589162826538, 0.16235971450805664, 0.16286052763462067, 0.1633613258600235, 0.16386212408542633, 0.16436292231082916, 0.164863720536232, 0.16536453366279602, 0.16586533188819885, 0.16636613011360168, 0.16686692833900452, 0.16736774146556854, 0.16786853969097137, 0.1683693379163742, 0.16887013614177704, 0.16937094926834106, 0.1698717474937439, 0.17037254571914673, 0.17087334394454956, 0.1713741421699524, 0.17187495529651642, 0.17237575352191925, 0.17287655174732208, 0.17337734997272491, 0.17387816309928894, 0.17437896132469177, 0.1748797595500946, 0.17538055777549744, 0.17588135600090027, 0.1763821691274643, 0.17688296735286713, 0.17738376557826996, 0.1778845638036728, 0.17838537693023682, 0.17888617515563965, 0.17938697338104248, 0.1798877716064453, 0.18038856983184814, 0.18088938295841217, 0.181390181183815, 0.18189097940921783, 0.18239177763462067, 0.1828925907611847, 0.18339338898658752, 0.18389418721199036, 0.1843949854373932, 0.18489579856395721, 0.18539659678936005, 0.18589739501476288, 0.1863981932401657, 0.18689899146556854, 0.18739980459213257, 0.1879006028175354, 0.18840140104293823, 0.18890219926834106, 0.1894030123949051, 0.18990381062030792, 0.19040460884571075, 0.1909054070711136, 0.19140620529651642, 0.19190701842308044, 0.19240781664848328, 0.1929086148738861, 0.19340941309928894, 0.19391022622585297, 0.1944110244512558, 0.19491182267665863, 0.19541262090206146, 0.1959134340286255, 0.19641423225402832, 0.19691503047943115, 0.19741582870483398, 0.19791662693023682, 0.19841744005680084, 0.19891823828220367, 0.1994190365076065, 0.19991983473300934, 0.20042064785957336, 0.2009214460849762, 0.20142224431037903, 0.20192304253578186, 0.2024238407611847, 0.20292465388774872, 0.20342545211315155, 0.20392625033855438, 0.20442704856395721, 0.20492786169052124, 0.20542865991592407, 0.2059294581413269, 0.20643025636672974, 0.20693106949329376, 0.2074318677186966, 0.20793266594409943, 0.20843346416950226, 0.2089342623949051, 0.20943507552146912, 0.20993587374687195, 0.21043667197227478, 0.2109374701976776, 0.21143828332424164, 0.21193908154964447, 0.2124398797750473, 0.21294067800045013, 0.21344147622585297, 0.213942289352417, 0.21444308757781982, 0.21494388580322266, 0.2154446840286255, 0.21594549715518951, 0.21644629538059235, 0.21694709360599518, 0.217447891831398, 0.21794869005680084, 0.21844950318336487, 0.2189503014087677, 0.21945109963417053, 0.21995189785957336, 0.2204527109861374, 0.22095350921154022, 0.22145430743694305, 0.2219551056623459, 0.2224559187889099, 0.22295671701431274, 0.22345751523971558, 0.2239583134651184, 0.22445911169052124, 0.22495992481708527, 0.2254607230424881, 0.22596152126789093, 0.22646231949329376, 0.2269631326198578, 0.22746393084526062, 0.22796472907066345, 0.22846552729606628, 0.22896632552146912, 0.22946713864803314, 0.22996793687343597, 0.2304687350988388, 0.23096953332424164, 0.23147034645080566, 0.2319711446762085, 0.23247194290161133, 0.23297274112701416, 0.23347355425357819, 0.23397435247898102, 0.23447515070438385, 0.23497594892978668, 0.23547674715518951, 0.23597756028175354, 0.23647835850715637, 0.2369791567325592, 0.23747995495796204, 0.23798076808452606, 0.2384815663099289, 0.23898236453533173, 0.23948316276073456, 0.2399839609861374, 0.24048477411270142, 0.24098557233810425, 0.24148637056350708, 0.2419871687889099, 0.24248798191547394, 0.24298878014087677, 0.2434895783662796, 0.24399037659168243, 0.24449118971824646, 0.2449919879436493, 0.24549278616905212, 0.24599358439445496, 0.2464943826198578, 0.24699519574642181, 0.24749599397182465, 0.24799679219722748, 0.2484975904226303, 0.24899840354919434, 0.24949920177459717, 0.25], "expected": [-9.210240364074707, -7.41664457321167, -6.809886455535889, -6.434646129608154, -6.162186622619629, -5.94809627532959, -5.771693229675293, -5.621652126312256, -5.491090774536133, -5.375514030456543, -5.271822929382324, -5.177790641784668, -5.091762542724609, -5.012475490570068, -4.938944339752197, -4.87038516998291, -4.806163311004639, -4.745759010314941, -4.688740253448486, -4.634745121002197, -4.583466053009033, -4.534640789031982, -4.488042831420898, -4.443475723266602, -4.400767803192139, -4.359768867492676, -4.320345878601074, -4.282380104064941, -4.245766639709473, -4.210411548614502, -4.176229476928711, -4.143144607543945, -4.111086845397949, -4.079994201660156, -4.049808502197266, -4.020478248596191, -3.991955041885376, -3.9641950130462646, -3.93715763092041, -3.9108054637908936, -3.885103940963745, -3.8600213527679443, -3.8355276584625244, -3.8115954399108887, -3.7881991863250732, -3.7653143405914307, -3.7429189682006836, -3.720991849899292, -3.6995136737823486, -3.6784656047821045, -3.657830238342285, -3.63759183883667, -3.617734670639038, -3.5982444286346436, -3.5791070461273193, -3.560309886932373, -3.5418407917022705, -3.523688316345215, -3.505841016769409, -3.488288640975952, -3.4710216522216797, -3.4540300369262695, -3.437305450439453, -3.4208390712738037, -3.404622793197632, -3.3886489868164062, -3.3729100227355957, -3.3573989868164062, -3.342109203338623, -3.3270342350006104, -3.3121678829193115, -3.29750394821167, -3.2830371856689453, -3.2687621116638184, -3.2546732425689697, -3.2407658100128174, -3.2270352840423584, -3.2134764194488525, -3.200084924697876, -3.186856985092163, -3.173788070678711, -3.160874366760254, -3.1481120586395264, -3.135497570037842, -3.1230273246765137, -3.1106977462768555, -3.0985054969787598, -3.0864479541778564, -3.074521541595459, -3.062723159790039, -3.0510504245758057, -3.0395002365112305, -3.0280702114105225, -3.0167572498321533, -3.0055594444274902, -2.994473934173584, -2.9834983348846436, -2.972630739212036, -2.9618687629699707, -2.9512100219726562, -2.94065260887146, -2.930194616317749, -2.9198338985443115, -2.9095687866210938, -2.899397134780884, -2.889317512512207, -2.8793277740478516, -2.869426727294922, -2.859612226486206, -2.8498828411102295, -2.8402371406555176, -2.8306734561920166, -2.821190118789673, -2.81178617477417, -2.802460193634033, -2.79321026802063, -2.7840354442596436, -2.7749345302581787, -2.7659060955047607, -2.7569491863250732, -2.7480621337890625, -2.739243984222412, -2.7304935455322266, -2.7218101024627686, -2.7131919860839844, -2.704638719558716, -2.696148633956909, -2.6877212524414062, -2.6793551445007324, -2.6710498332977295, -2.662804126739502, -2.6546170711517334, -2.6464877128601074, -2.638415575027466, -2.630399227142334, -2.622438430786133, -2.6145317554473877, -2.6066787242889404, -2.5988786220550537, -2.591130495071411, -2.5834338665008545, -2.5757877826690674, -2.5681915283203125, -2.5606443881988525, -2.5531458854675293, -2.5456948280334473, -2.5382914543151855, -2.5309340953826904, -2.523622751235962, -2.5163567066192627, -2.5091352462768555, -2.501957893371582, -2.494823932647705, -2.4877328872680664, -2.4806840419769287, -2.473676919937134, -2.4667112827301025, -2.4597859382629395, -2.4529011249542236, -2.4460558891296387, -2.4392497539520264, -2.4324822425842285, -2.425753116607666, -2.4190614223480225, -2.412407159805298, -2.405789613723755, -2.3992085456848145, -2.3926634788513184, -2.38615345954895, -2.379678964614868, -2.3732388019561768, -2.366832971572876, -2.3604607582092285, -2.3541221618652344, -2.3478164672851562, -2.341543674468994, -2.3353028297424316, -2.329094171524048, -2.3229169845581055, -2.3167710304260254, -2.3106558322906494, -2.3045711517333984, -2.2985167503356934, -2.292491912841797, -2.286496639251709, -2.2805304527282715, -2.2745933532714844, -2.2686846256256104, -2.2628042697906494, -2.2569518089294434, -2.251127004623413, -2.2453293800354004, -2.239558696746826, -2.2338151931762695, -2.228097915649414, -2.2224068641662598, -2.2167418003082275, -2.211102247238159, -2.2054882049560547, -2.199899435043335, -2.194335460662842, -2.188796043395996, -2.183281183242798, -2.177790403366089, -2.17232346534729, -2.1668803691864014, -2.1614606380462646, -2.1560637950897217, -2.1506903171539307, -2.1453394889831543, -2.1400110721588135, -2.1347053050994873, -2.1294212341308594, -2.124159336090088, -2.1189188957214355, -2.1137001514434814, -2.1085026264190674, -2.1033263206481934, -2.098170757293701, -2.093035936355591, -2.087921380996704, -2.08282732963562, -2.0777533054351807, -2.0726993083953857, -2.0676651000976562, -2.062650442123413, -2.057655096054077, -2.0526790618896484, -2.0477218627929688, -2.042783737182617, -2.0378644466400146, -2.032963514328003, -2.028080940246582, -2.023216962814331, -2.0183706283569336, -2.013542413711548, -2.0087318420410156, -2.003938913345337, -1.9991635084152222, -1.9944052696228027, -1.9896643161773682, -1.9849402904510498, -1.9802331924438477, -1.975542664527893, -1.9708689451217651, -1.9662114381790161, -1.961570382118225, -1.9569454193115234, -1.9523365497589111, -1.9477436542510986, -1.9431663751602173, -1.9386048316955566, -1.9340589046478271, -1.9295282363891602, -1.9250129461288452, -1.9205126762390137, -1.9160274267196655, -1.9115571975708008, -1.9071017503738403, -1.902660846710205, -1.8982346057891846, -1.8938227891921997, -1.889425277709961, -1.8850418329238892, -1.8806726932525635, -1.8763175010681152, -1.8719762563705444, -1.867648720741272, -1.8633347749710083, -1.859034538269043, -1.8547476530075073, -1.850474238395691, -1.846213936805725, -1.8419668674468994, -1.8377329111099243, -1.8335119485855103, -1.8293037414550781, -1.825108289718628, -1.8209255933761597, -1.8167554140090942, -1.8125978708267212, -1.8084524869918823, -1.8043195009231567, -1.8001989126205444, -1.7960902452468872, -1.7919938564300537, -1.7879091501235962, -1.7838363647460938, -1.7797755002975464, -1.775726318359375, -1.7716885805130005, -1.7676624059677124, -1.7636477947235107, -1.7596445083618164, -1.7556524276733398, -1.7516716718673706, -1.7477020025253296, -1.7437434196472168, -1.7397958040237427, -1.7358589172363281, -1.7319331169128418, -1.7280179262161255, -1.7241134643554688, -1.7202194929122925, -1.7163361310958862, -1.7124632596969604, -1.7086007595062256, -1.7047486305236816, -1.7009066343307495, -1.6970747709274292, -1.6932531595230103, -1.6894415616989136, -1.6856398582458496, -1.6818480491638184, -1.6780661344528198, -1.674294114112854, -1.6705316305160522, -1.6667789220809937, -1.6630357503890991, -1.659301996231079, -1.6555778980255127, -1.6518629789352417, -1.6481575965881348, -1.6444613933563232, -1.6407743692398071, -1.6370965242385864, -1.6334278583526611, -1.6297681331634521, -1.626117467880249, -1.6224757432937622, -1.6188427209854126, -1.6152187585830688, -1.6116033792495728, -1.6079967021942139, -1.6043986082077026, -1.6008092164993286, -1.5972284078598022, -1.593656063079834, -1.5900920629501343, -1.5865365266799927, -1.58298921585083, -1.5794503688812256, -1.5759196281433105, -1.572396993637085, -1.5688825845718384, -1.5653762817382812, -1.5618778467178345, -1.5583873987197876, -1.5549050569534302, -1.5514304637908936, -1.5479637384414673, -1.5445047616958618, -1.5410535335540771, -1.5376100540161133, -1.5341742038726807, -1.5307459831237793, -1.5273252725601196, -1.523911952972412, -1.5205062627792358, -1.5171079635620117, -1.5137170553207397, -1.5103334188461304, -1.5069571733474731, -1.5035881996154785, -1.500226378440857, -1.4968715906143188, -1.4935239553451538, -1.4901835918426514, -1.4868500232696533, -1.4835234880447388, -1.4802039861679077, -1.4768915176391602, -1.473585844039917, -1.4702869653701782, -1.4669948816299438, -1.4637095928192139, -1.4604310989379883, -1.4571592807769775, -1.453894019126892, -1.450635313987732, -1.4473832845687866, -1.4441378116607666, -1.4408987760543823, -1.4376660585403442, -1.434440016746521, -1.431220293045044, -1.428006887435913, -1.4247997999191284, -1.42159903049469, -1.4184045791625977, -1.4152162075042725, -1.412034034729004, -1.408858060836792, -1.4056881666183472, -1.402524471282959, -1.3993667364120483, -1.3962148427963257, -1.3930691480636597, -1.3899294137954712, -1.3867955207824707, -1.3836674690246582, -1.3805452585220337, -1.3774290084838867, -1.3743184804916382, -1.371213674545288, -1.3681144714355469, -1.3650211095809937, -1.3619333505630493, -1.3588513135910034, -1.3557748794555664, -1.3527039289474487, -1.34963858127594, -1.34657883644104, -1.34352445602417, -1.3404755592346191, -1.3374321460723877, -1.334394097328186, -1.3313614130020142, -1.3283339738845825, -1.3253120183944702, -1.3222953081130981, -1.3192838430404663, -1.3162775039672852, -1.3132765293121338, -1.310280680656433, -1.307289958000183, -1.3043043613433838, -1.3013238906860352, -1.2983485460281372, -1.2953782081604004, -1.2924128770828247, -1.2894525527954102, -1.2864971160888672, -1.283546805381775, -1.2806012630462646, -1.2776607275009155, -1.2747249603271484, -1.271794080734253, -1.2688679695129395, -1.2659467458724976, -1.2630301713943481, -1.2601183652877808, -1.257211446762085, -1.254309058189392, -1.2514114379882812, -1.2485183477401733, -1.2456300258636475, -1.2427462339401245, -1.2398672103881836, -1.2369924783706665, -1.234122395515442, -1.2312568426132202, -1.2283958196640015, -1.2255390882492065, -1.222687005996704, -1.2198392152786255, -1.2169959545135498, -1.214156985282898, -1.2113224267959595, -1.2084922790527344, -1.205666422843933, -1.2028447389602661, -1.200027346611023, -1.1972143650054932, -1.1944055557250977, -1.1916009187698364, -1.1888004541397095, -1.1860041618347168, -1.183212161064148, -1.1804242134094238, -1.1776403188705444, -1.1748604774475098, -1.1720848083496094, -1.1693131923675537, -1.1665456295013428, -1.1637818813323975, -1.161022424697876, -1.1582667827606201, -1.155515193939209, -1.1527674198150635, -1.1500235795974731, -1.1472837924957275, -1.144547700881958, -1.1418156623840332, -1.1390873193740845, -1.136362910270691, -1.1336421966552734, -1.1309252977371216, -1.1282120943069458, -1.1255028247833252, -1.1227972507476807, -1.1200953722000122, -1.1173971891403198, -1.1147027015686035, -1.1120119094848633, -1.1093248128890991, -1.106641173362732, -1.1039612293243408, -1.1012849807739258, -1.0986123085021973]} diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index 7b6b3529bf6d..da8791f40065 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2018 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. @@ -32,8 +32,7 @@ var logitf = require( './../lib' ); // FIXTURES // var small = require( './fixtures/python/small.json' ); -var mediumBelow = require( './fixtures/python/medium_below.json' ); -var mediumAbove = require( './fixtures/python/medium_above.json' ); +var medium = require( './fixtures/python/medium.json' ); var large = require( './fixtures/python/large.json' ); @@ -71,7 +70,7 @@ tape( 'the function returns `+Infinity` when provided `1`', function test( t ) { t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', function test( t ) { +tape( 'the function evaluates the logit of `x` for the interval `(0,0.25]`', function test( t ) { var expected; var delta; var tol; @@ -82,19 +81,19 @@ tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', fu expected = small.expected; x = small.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { - delta = absf( y - expected[ i ] ); - tol = EPS * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', function test( t ) { +tape( 'the function evaluates the logit of `x` for the interval `[0.25,0.75]`', function test( t ) { var expected; var delta; var tol; @@ -102,45 +101,22 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', var y; var i; - expected = mediumBelow.expected; - x = mediumBelow.x; + expected = medium.expected; + x = medium.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { - delta = absf( y - expected[ i ] ); - tol = EPS * 15 * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[i] ); + tol = 250 * EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', function test( t ) { - var expected; - var delta; - var tol; - var x; - var y; - var i; - - expected = mediumAbove.expected; - x = mediumAbove.x; - for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); - } else { - delta = absf( y - expected[ i ] ); - tol = EPS * 15 * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); - } - } - t.end(); -}); - -tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', function test( t ) { +tape( 'the function evaluates the logit of `x` for the interval `[0.75,1)`', function test( t ) { var expected; var delta; var tol; @@ -151,13 +127,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', fu expected = large.expected; x = large.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { - delta = absf( y - expected[ i ] ); - tol = EPS * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index 60f43dc45d03..5216c1447d0a 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2025 The Stdlib Authors. +* Copyright (c) 2022 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. @@ -33,8 +33,7 @@ var tryRequire = require( '@stdlib/utils/try-require' ); // FIXTURES // var small = require( './fixtures/python/small.json' ); -var mediumBelow = require( './fixtures/python/medium_below.json' ); -var mediumAbove = require( './fixtures/python/medium_above.json' ); +var medium = require( './fixtures/python/medium.json' ); var large = require( './fixtures/python/large.json' ); @@ -80,7 +79,7 @@ tape( 'the function returns `+Infinity` when provided `1`', opts, function test( t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', opts, function test( t ) { +tape( 'the function evaluates the logit of `x` for the interval `(0,0.25]`', opts, function test( t ) { var expected; var delta; var tol; @@ -91,19 +90,19 @@ tape( 'the function evaluates the logitf of `x` for the interval `(0,0.25]`', op expected = small.expected; x = small.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { - delta = absf( y - expected[ i ] ); - tol = EPS * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', opts, function test( t ) { +tape( 'the function evaluates the logit of `x` for the interval `[0.25,0.75]`', opts, function test( t ) { var expected; var delta; var tol; @@ -111,45 +110,22 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.25,0.49]`', var y; var i; - expected = mediumBelow.expected; - x = mediumBelow.x; + expected = medium.expected; + x = medium.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { - delta = absf( y - expected[ i ] ); - tol = EPS * 15 * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); }); -tape( 'the function evaluates the logitf of `x` for the interval `[0.5,0.75]`', opts, function test( t ) { - var expected; - var delta; - var tol; - var x; - var y; - var i; - - expected = mediumAbove.expected; - x = mediumAbove.x; - for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); - } else { - delta = absf( y - expected[ i ] ); - tol = EPS * 15 * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); - } - } - t.end(); -}); - -tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', opts, function test( t ) { +tape( 'the function evaluates the logit of `x` for the interval `[0.75,1)`', opts, function test( t ) { var expected; var delta; var tol; @@ -160,13 +136,13 @@ tape( 'the function evaluates the logitf of `x` for the interval `[0.75,1)`', op expected = large.expected; x = large.x; for ( i = 0; i < x.length; i++ ) { - y = logitf( x[ i ] ); - if ( y === expected[ i ] ) { - t.equal( y, expected[ i ], 'x: '+x[ i ]+', y: '+y+', expected: '+expected[ i ] ); + y = logitf( x[i] ); + if ( y === expected[i] ) { + t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { - delta = absf( y - expected[ i ] ); - tol = EPS * absf( expected[ i ] ); - t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. v: '+y+'. E: '+expected[ i ]+' Δ: '+delta+'. tol: '+tol ); + delta = absf( y - expected[i] ); + tol = EPS * absf( expected[i] ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } t.end(); From 3327eed86678080d81d4658f5c93efdb4a2e9cbb Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sat, 8 Mar 2025 14:35:49 +0000 Subject: [PATCH 11/18] chore: update copyright years --- lib/node_modules/@stdlib/math/base/special/logitf/test/test.js | 2 +- .../@stdlib/math/base/special/logitf/test/test.native.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index da8791f40065..90cd01c2dd3a 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2025 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. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index 5216c1447d0a..6a42c7a1f8c9 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2025 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. From ae813a0165268cba43bd1bed7eb34b49da665eb1 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:17:25 -0700 Subject: [PATCH 12/18] chore: clean-up --- 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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../docs/img/equation_logit_function.svg | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg b/lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg deleted file mode 100644 index 36ac68e225ea..000000000000 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/img/equation_logit_function.svg +++ /dev/null @@ -1,49 +0,0 @@ - -l o g i t left-parenthesis p right-parenthesis equals log left-parenthesis StartFraction p Over 1 minus p EndFraction right-parenthesis - - - \ No newline at end of file From abbfe91277408fef866005edd795f85c3de762fc Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:18:48 -0700 Subject: [PATCH 13/18] docs: fix function descriptions --- 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: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/logitf/README.md | 21 ++++++++----------- .../math/base/special/logitf/docs/repl.txt | 2 +- .../base/special/logitf/docs/types/index.d.ts | 2 +- .../include/stdlib/math/base/special/logitf.h | 2 +- .../math/base/special/logitf/lib/index.js | 2 +- .../math/base/special/logitf/lib/native.js | 2 +- .../math/base/special/logitf/package.json | 3 ++- .../math/base/special/logitf/src/main.c | 4 ++-- 8 files changed, 18 insertions(+), 20 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/README.md b/lib/node_modules/@stdlib/math/base/special/logitf/README.md index 45d0a65fa345..580b980538db 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/logitf/README.md @@ -32,11 +32,6 @@ The [logit][logit] function is defined as the logarithm of the odds `p / (1-p)`; \mathop{\mathrm{logitf}}(p)=\log \left({\frac {p}{1-p}}\right) ``` - - The [logit][logit] function is the inverse of the [standard logistic][standard-logistic] function, sometimes also called the sigmoid function. @@ -87,17 +82,15 @@ v = logitf( -0.2 ); ```javascript var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); var logitf = require( '@stdlib/math/base/special/logitf' ); -var len = 100; -var p = uniform( len, 0.0, 1.0, { +var opts = { 'dtype': 'float32' -}); +}; +var p = uniform( 100, 0.0, 1.0, opts ); -var i; -for ( i = 0; i < 100; i++ ) { - console.log( 'logitf(%d) = %d', p[ i ], logitf( p[ i ] ) ); -} +logEachMap( 'logitf(%0.4f) = %0.4f', p, logitf ); ```
@@ -210,6 +203,10 @@ int main( void ) { [standard-logistic]: https://en.wikipedia.org/wiki/Logistic_function + + + + diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt index 55d7a9473cbd..e75d24b12640 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/repl.txt @@ -1,6 +1,6 @@ {{alias}}( p ) - Evaluates the logit function for a single-precision floating-point number. + Computes the logit function for a single-precision floating-point number. Let `p` be the probability of some event. The logit function is defined as the logarithm of the odds `p / (1-p)`. diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts index fc3d607446c7..dc3ad2cc86d9 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/special/logitf/docs/types/index.d.ts @@ -19,7 +19,7 @@ // TypeScript Version: 4.1 /** -* Evaluates the logit function for a single-precision floating-point number. +* Computes the logit function for a single-precision floating-point number. * * ## Notes * diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h index 7d3d53a11d36..e6c1d34169f5 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h +++ b/lib/node_modules/@stdlib/math/base/special/logitf/include/stdlib/math/base/special/logitf.h @@ -27,7 +27,7 @@ extern "C" { #endif /** -* Evaluates the logit function for a single-precision floating-point number. +* Computes the logit function for a single-precision floating-point number. */ float stdlib_base_logitf( const float p ); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js index 51e44880d226..264dfe6c39a4 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Evaluate the logit function for single-precision floating-point number. +* Compute the logit function for a single-precision floating-point number. * * @module @stdlib/math/base/special/logitf * diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js index c57d7e341544..1271a405f6c8 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Evaluates the logit function for a single-precision floating-point number. +* Computes the logit function for a single-precision floating-point number. * * @private * @param {Probability} p - input value diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/package.json b/lib/node_modules/@stdlib/math/base/special/logitf/package.json index 541beab5136c..9e95940b8933 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/logitf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/logitf", "version": "0.0.0", - "description": "Evaluates the logit function for a single-precision floating-point number.", + "description": "Logit function for a single-precision floating-point number.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", @@ -56,6 +56,7 @@ "stdmath", "mathematics", "math", + "logit", "logitf", "proportion", "log-odds", diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c index 5798a05f79b6..0fef2776845c 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/main.c @@ -24,7 +24,7 @@ #include "stdlib/constants/float32/ninf.h" /** -* Evaluates the logit function for a single-precision floating-point number. +* Computes the logit function for a single-precision floating-point number. * * @param x input value * @return output value @@ -46,5 +46,5 @@ float stdlib_base_logitf( const float p ) { if ( p == 1.0f ) { return STDLIB_CONSTANT_FLOAT32_PINF; } - return stdlib_base_lnf( p / ( 1.0f - p ) ); + return stdlib_base_lnf( p / ( 1.0f-p ) ); } From cb908ea01148c19664dac1a63d78176d08381c52 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:22:04 -0700 Subject: [PATCH 14/18] bench: follow code conventions and fix function return types --- 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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/logitf/benchmark/benchmark.js | 6 ++---- .../special/logitf/benchmark/benchmark.native.js | 6 ++---- .../base/special/logitf/benchmark/c/benchmark.c | 13 +++++++++---- .../special/logitf/benchmark/c/native/benchmark.c | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js index b8e6359e1521..61a99011eaa5 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.js @@ -30,19 +30,17 @@ var logitf = require( './../lib' ); // MAIN // bench( pkg, function benchmark( b ) { - var len; var x; var y; var i; - len = 100; - x = uniform( len, 0.0, 1.0, { + x = uniform( 100, 0.0, 1.0, { 'dtype': 'float32' }); b.tic(); for ( i = 0; i < b.iterations; i++ ) { - y = logitf( x[ i % len ] ); + y = logitf( x[ i%x.length ] ); if ( isnanf( y ) ) { b.fail( 'should not return NaN' ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js index a76d1552afc8..1cec5f0cb4ad 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/benchmark.native.js @@ -39,19 +39,17 @@ var opts = { // MAIN // bench( pkg+'::native', opts, function benchmark( b ) { - var len; var x; var y; var i; - len = 100; - x = uniform( len, 0.0, 1.0, { + x = uniform( 100, 0.0, 1.0, { 'dtype': 'float32' }); b.tic(); for ( i = 0; i < b.iterations; i++ ) { - y = logitf( x[ i % len ] ); + y = logitf( x[ i%x.length ] ); if ( isnanf( y ) ) { b.fail( 'should not return NaN' ); } diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c index ff26891440fd..08079c0969e3 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/benchmark.c @@ -89,7 +89,7 @@ static float rand_float( void ) { * @param x input value * @return result */ -double logitf( double x ) { +float logitf( float x ) { if ( x != x ) { return x; } @@ -102,7 +102,7 @@ double logitf( double x ) { if ( x == 1.0f ) { return HUGE_VAL; } - return log( x / ( 1.0f - x ) ); + return logf( x / ( 1.0f - x ) ); } /** @@ -112,13 +112,18 @@ double logitf( double x ) { */ static double benchmark( void ) { double elapsed; - double y; + float x[ 100 ]; double t; + float y; int i; + for ( i = 0; i < 100; i++ ) { + x[ i ] = rand_float(); + } + t = tic(); for ( i = 0; i < ITERATIONS; i++ ) { - y = logitf( rand_float() ); + y = logitf( x[ i%100 ] ); if ( y != y ) { printf( "should not return NaN\n" ); break; diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c index f1b694a84bba..9ef0deab4520 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/benchmark/c/native/benchmark.c @@ -102,7 +102,7 @@ static double benchmark( void ) { t = tic(); for ( i = 0; i < ITERATIONS; i++ ) { - y = stdlib_base_logitf( x[ i % 100 ] ); + y = stdlib_base_logitf( x[ i%100 ] ); if ( y != y ) { printf( "should not return NaN\n" ); break; From 5c8a985801774882b5911d2bbfeab0df873ce634 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:23:17 -0700 Subject: [PATCH 15/18] docs: replace manual for loop in examples --- 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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/logitf/examples/index.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js index 7f3a6b89c28e..d0f85977980c 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/examples/index.js @@ -19,14 +19,12 @@ 'use strict'; var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); var logitf = require( './../lib' ); -var len = 100; -var p = uniform( len, 0.0, 1.0, { +var opts = { 'dtype': 'float32' -}); +}; +var p = uniform( 100, 0.0, 1.0, opts ); -var i; -for ( i = 0; i < 100; i++ ) { - console.log( 'logitf(%d) = %d', p[ i ], logitf( p[ i ] ) ); -} +logEachMap( 'logitf(%0.4f) = %0.4f', p, logitf ); From ff84d08aeaf7f96cde885cd9a42ee5c14629bb7e Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:23:45 -0700 Subject: [PATCH 16/18] chore: re-enable lint rule --- 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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c index 95597b67da66..83613eef1f7d 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c +++ b/lib/node_modules/@stdlib/math/base/special/logitf/src/addon.c @@ -19,5 +19,4 @@ #include "stdlib/math/base/special/logitf.h" #include "stdlib/math/base/napi/unary.h" -// cppcheck-suppress shadowFunction STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_logitf ) From 4d5d7aad8d139aaa68442b3b81611589506da855 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:25:19 -0700 Subject: [PATCH 17/18] fix: use float64ToFloat32 to avoid elevated precision --- 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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/math/base/special/logitf/lib/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js index 7e1cd776724f..a2732d56d19f 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/lib/main.js @@ -23,6 +23,7 @@ var isProbabilityf = require( '@stdlib/math/base/assert/is-probabilityf' ); var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var lnf = require( '@stdlib/math/base/special/lnf' ); +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); var PINF = require( '@stdlib/constants/float32/pinf' ); var NINF = require( '@stdlib/constants/float32/ninf' ); @@ -30,7 +31,7 @@ var NINF = require( '@stdlib/constants/float32/ninf' ); // MAIN // /** -* Evaluates the logit function for a single-precision floating-point number. +* Computes the logit function for a single-precision floating-point number. * * @param {Probability} p - input value * @returns {number} function value @@ -68,7 +69,7 @@ function logitf( p ) { if ( p === 1.0 ) { return PINF; } - return lnf( p / ( 1.0 - p ) ); + return lnf( float64ToFloat32( p / float64ToFloat32( 1.0-p ) ) ); } From dc07f16191295aeced15032949422fe726b72515 Mon Sep 17 00:00:00 2001 From: Karan Anand Date: Thu, 17 Apr 2025 02:25:52 -0700 Subject: [PATCH 18/18] test: replace equal with strictEqual --- 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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/logitf/test/test.js | 18 +++++++++--------- .../base/special/logitf/test/test.native.js | 16 ++++++++-------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js index 90cd01c2dd3a..c2f30e4d9fb5 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.js @@ -46,27 +46,27 @@ tape( 'main export is a function', function test( t ) { tape( 'the function returns `NaN` when provided `NaN`', function test( t ) { var y = logitf( NaN ); - t.equal( isnanf( y ), true, 'returns expected value' ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); t.end(); }); tape( 'the function returns `NaN` when provided a number outside `[0,1]`', function test( t ) { var y = logitf( 1.2 ); - t.equal( isnanf( y ), true, 'returns expected value' ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); y = logitf( -0.1 ); - t.equal( isnanf( y ), true, 'returns expected value' ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); t.end(); }); tape( 'the function returns `-Infinity` when provided `0`', function test( t ) { var y = logitf( 0.0 ); - t.equal( y, NINF, 'returns expected value' ); + t.strictEqual( y, NINF, 'returns expected value' ); t.end(); }); tape( 'the function returns `+Infinity` when provided `1`', function test( t ) { var y = logitf( 1.0 ); - t.equal( y, PINF, 'returns expected value' ); + t.strictEqual( y, PINF, 'returns expected value' ); t.end(); }); @@ -83,7 +83,7 @@ tape( 'the function evaluates the logit of `x` for the interval `(0,0.25]`', fun for ( i = 0; i < x.length; i++ ) { y = logitf( x[i] ); if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = absf( y - expected[i] ); tol = EPS * absf( expected[i] ); @@ -106,10 +106,10 @@ tape( 'the function evaluates the logit of `x` for the interval `[0.25,0.75]`', for ( i = 0; i < x.length; i++ ) { y = logitf( x[i] ); if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = absf( y - expected[i] ); - tol = 250 * EPS * absf( expected[i] ); + tol = EPS * absf( expected[i] ); t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. v: '+y+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol ); } } @@ -129,7 +129,7 @@ tape( 'the function evaluates the logit of `x` for the interval `[0.75,1)`', fun for ( i = 0; i < x.length; i++ ) { y = logitf( x[i] ); if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = absf( y - expected[i] ); tol = EPS * absf( expected[i] ); diff --git a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js index 6a42c7a1f8c9..adc7901af844 100644 --- a/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/logitf/test/test.native.js @@ -55,27 +55,27 @@ tape( 'main export is a function', opts, function test( t ) { tape( 'the function returns `NaN` when provided `NaN`', opts, function test( t ) { var y = logitf( NaN ); - t.equal( isnanf( y ), true, 'returns expected value' ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); t.end(); }); tape( 'the function returns `NaN` when provided a number outside `[0,1]`', opts, function test( t ) { var y = logitf( 1.2 ); - t.equal( isnanf( y ), true, 'returns expected value' ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); y = logitf( -0.1 ); - t.equal( isnanf( y ), true, 'returns expected value' ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); t.end(); }); tape( 'the function returns `-Infinity` when provided `0`', opts, function test( t ) { var y = logitf( 0.0 ); - t.equal( y, NINF, 'returns expected value' ); + t.strictEqual( y, NINF, 'returns expected value' ); t.end(); }); tape( 'the function returns `+Infinity` when provided `1`', opts, function test( t ) { var y = logitf( 1.0 ); - t.equal( y, PINF, 'returns expected value' ); + t.strictEqual( y, PINF, 'returns expected value' ); t.end(); }); @@ -92,7 +92,7 @@ tape( 'the function evaluates the logit of `x` for the interval `(0,0.25]`', opt for ( i = 0; i < x.length; i++ ) { y = logitf( x[i] ); if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = absf( y - expected[i] ); tol = EPS * absf( expected[i] ); @@ -115,7 +115,7 @@ tape( 'the function evaluates the logit of `x` for the interval `[0.25,0.75]`', for ( i = 0; i < x.length; i++ ) { y = logitf( x[i] ); if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = absf( y - expected[i] ); tol = EPS * absf( expected[i] ); @@ -138,7 +138,7 @@ tape( 'the function evaluates the logit of `x` for the interval `[0.75,1)`', opt for ( i = 0; i < x.length; i++ ) { y = logitf( x[i] ); if ( y === expected[i] ) { - t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); } else { delta = absf( y - expected[i] ); tol = EPS * absf( expected[i] );