From 4b40066a0dbde480f7ffdad1cd7b4ba291d445ea Mon Sep 17 00:00:00 2001 From: Vishal Gaikwad Date: Fri, 27 Feb 2026 03:22:29 +0530 Subject: [PATCH 1/3] feat: add math/base/special/erfinvf --- 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: passed - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../stdlib/math/base/special/erfinvf.h | 38 ++++ .../math/base/special/erfinvf/lib/index.js | 58 ++++++ .../math/base/special/erfinvf/lib/main.js | 166 ++++++++++++++++++ .../math/base/special/erfinvf/lib/native.js | 42 +++++ .../base/special/erfinvf/lib/rational_p1q1.js | 64 +++++++ .../base/special/erfinvf/lib/rational_p2q2.js | 64 +++++++ .../base/special/erfinvf/lib/rational_p3q3.js | 64 +++++++ .../base/special/erfinvf/lib/rational_p4q4.js | 64 +++++++ .../base/special/erfinvf/lib/rational_p5q5.js | 64 +++++++ .../math/base/special/erfinvf/package.json | 142 +++++++++++++++ 10 files changed, 766 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/package.json diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h b/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h new file mode 100644 index 000000000000..283fdb01592a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h @@ -0,0 +1,38 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#ifndef STDLIB_MATH_BASE_SPECIAL_ERFINVF_H +#define STDLIB_MATH_BASE_SPECIAL_ERFINVF_H + +/* +* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler. +*/ +#ifdef __cplusplus +extern "C" { +#endif + +/** +* Evaluates the inverse error function (single-precision). +*/ +float stdlib_base_erfinvf( const float x ); + +#ifdef __cplusplus +} +#endif + +#endif // !STDLIB_MATH_BASE_SPECIAL_ERFINVF_H diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js new file mode 100644 index 000000000000..774183c53163 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js @@ -0,0 +1,58 @@ +/** +* @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'; + +/** +* Evaluate the inverse error function (single-precision). +* +* @module @stdlib/math/base/special/erfinvf +* +* @example +* var erfinvf = require( '@stdlib/math/base/special/erfinvf' ); +* +* var y = erfinvf( 0.5 ); +* // returns ~0.4769 +* +* y = erfinvf( 0.8 ); +* // returns ~0.9062 +* +* y = erfinvf( 0.0 ); +* // returns 0.0 +* +* y = erfinvf( -0.0 ); +* // returns -0.0 +* +* y = erfinvf( -1.0 ); +* // returns -Infinity +* +* y = erfinvf( 1.0 ); +* // returns Infinity +* +* y = erfinvf( NaN ); +* // returns NaN +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js new file mode 100644 index 000000000000..122ea5b7e2bf --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js @@ -0,0 +1,166 @@ +/** +* @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. +* +* ## Notice +* +* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_48_0/boost/math/special_functions/detail/erf_inv.hpp}. This implementation follows the original, but has been modified for JavaScript. +* +* ```text +* (C) Copyright John Maddock 2006. +* +* Use, modification and distribution are subject to the +* Boost Software License, Version 1.0. (See accompanying file +* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) +* ``` +*/ + +'use strict'; + +// MODULES // + +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var sqrtf = require( '@stdlib/math/base/special/sqrtf' ); +var lnf = require( '@stdlib/math/base/special/lnf' ); +var PINF = require( '@stdlib/constants/float64/pinf' ); +var NINF = require( '@stdlib/constants/float64/ninf' ); +var rationalFcnR1 = require( './rational_p1q1.js' ); +var rationalFcnR2 = require( './rational_p2q2.js' ); +var rationalFcnR3 = require( './rational_p3q3.js' ); +var rationalFcnR4 = require( './rational_p4q4.js' ); +var rationalFcnR5 = require( './rational_p5q5.js' ); + + +// VARIABLES // + +var Y1 = 8.91314744949340820313e-2; +var Y2 = 2.249481201171875; +var Y3 = 8.07220458984375e-1; +var Y4 = 9.3995571136474609375e-1; +var Y5 = 9.8362827301025390625e-1; + + +// MAIN // + +/** +* Evaluates the inverse error function (single-precision). +* +* @param {number} x - input value +* @returns {number} function value +* +* @example +* var y = erfinvf( 0.5 ); +* // returns ~0.4769 +* +* @example +* var y = erfinvf( 0.8 ); +* // returns ~0.9062 +* +* @example +* var y = erfinvf( 0.0 ); +* // returns 0.0 +* +* @example +* var y = erfinvf( -0.0 ); +* // returns -0.0 +* +* @example +* var y = erfinvf( -1.0 ); +* // returns -Infinity +* +* @example +* var y = erfinvf( 1.0 ); +* // returns Infinity +* +* @example +* var y = erfinvf( NaN ); +* // returns NaN +*/ +function erfinvf( x ) { + var sign; + var ax; + var qs; + var q; + var g; + var r; + + // Special case: NaN + if ( isnanf( x ) ) { + return NaN; + } + // Special case: 1 + if ( x === 1.0 ) { + return PINF; + } + // Special case: -1 + if ( x === -1.0 ) { + return NINF; + } + // Special case: +-0 + if ( x === 0.0 ) { + return x; + } + // Special case: |x| > 1 (range error) + if ( x > 1.0 || x < -1.0 ) { + return NaN; + } + // Argument reduction (reduce to interval [0,1]). If `x` is negative, we can safely negate the value, taking advantage of the error function being an odd function; i.e., `erf(-x) = -erf(x)`. + if ( x < 0.0 ) { + sign = -1.0; + ax = -x; + } else { + sign = 1.0; + ax = x; + } + q = 1.0 - ax; + + // |x| <= 0.5 + if ( ax <= 0.5 ) { + g = ax * ( ax + 10.0 ); + r = rationalFcnR1( ax ); + return sign * ( (g*Y1) + (g*r) ); + } + // 1-|x| >= 0.25 + if ( q >= 0.25 ) { + g = sqrtf( -2.0 * lnf(q) ); + q -= 0.25; + r = rationalFcnR2( q ); + return sign * ( g / (Y2+r) ); + } + q = sqrtf( -lnf( q ) ); + + // q < 3 + if ( q < 3.0 ) { + qs = q - 1.125; + r = rationalFcnR3( qs ); + return sign * ( (Y3*q) + (r*q) ); + } + // q < 6 + if ( q < 6.0 ) { + qs = q - 3.0; + r = rationalFcnR4( qs ); + return sign * ( (Y4*q) + (r*q) ); + } + // q < 18 + qs = q - 6.0; + r = rationalFcnR5( qs ); + return sign * ( (Y5*q) + (r*q) ); +} + + +// EXPORTS // + +module.exports = erfinvf; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js new file mode 100644 index 000000000000..e72be98beebf --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js @@ -0,0 +1,42 @@ +/** +* @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 addon = require( './../src/addon.node' ); + + +// MAIN // + +/** +* Evaluates the inverse error function (single-precision). +* +* @private +* @param {number} x - input value +* @returns {number} evaluated inverse error function +*/ +function erfinvf( x ) { + return addon( x ); +} + + +// EXPORTS // + +module.exports = erfinvf; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js new file mode 100644 index 000000000000..b2efa93ed4c5 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js @@ -0,0 +1,64 @@ +/** +* @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. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.0005087819496582806; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = -0.0005087819496582806 + (x * (-0.008368748197417368 + (x * (0.03348066254097446 + (x * (-0.012692614766297404 + (x * (-0.03656379714117627 + (x * (0.02198786811111689 + (x * (0.008226878746769157 + (x * (-0.005387729650712429 + (x * (0.0 + (x * 0.0))))))))))))))))); // eslint-disable-line max-len + s2 = 1.0 + (x * (-0.9700050433032906 + (x * (-1.5657455823417585 + (x * (1.5622155839842302 + (x * (0.662328840472003 + (x * (-0.7122890234154284 + (x * (-0.05273963823400997 + (x * (0.07952836873415717 + (x * (-0.0023339375937419 + (x * 0.0008862163904564247))))))))))))))))); // eslint-disable-line max-len + } else { + x = 1.0 / x; + s1 = 0.0 + (x * (0.0 + (x * (-0.005387729650712429 + (x * (0.008226878746769157 + (x * (0.02198786811111689 + (x * (-0.03656379714117627 + (x * (-0.012692614766297404 + (x * (0.03348066254097446 + (x * (-0.008368748197417368 + (x * -0.0005087819496582806))))))))))))))))); // eslint-disable-line max-len + s2 = 0.0008862163904564247 + (x * (-0.0023339375937419 + (x * (0.07952836873415717 + (x * (-0.05273963823400997 + (x * (-0.7122890234154284 + (x * (0.662328840472003 + (x * (1.5622155839842302 + (x * (-1.5657455823417585 + (x * (-0.9700050433032906 + (x * 1.0))))))))))))))))); // eslint-disable-line max-len + } + return s1 / s2; +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js new file mode 100644 index 000000000000..4a8f2b5fc65a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js @@ -0,0 +1,64 @@ +/** +* @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. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.20243350835593876; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = -0.20243350835593876 + (x * (0.10526468069939171 + (x * (8.3705032834312 + (x * (17.644729840837403 + (x * (-18.851064805871424 + (x * (-44.6382324441787 + (x * (17.445385985570866 + (x * (21.12946554483405 + (x * -3.6719225470772936))))))))))))))); // eslint-disable-line max-len + s2 = 1.0 + (x * (6.242641248542475 + (x * (3.971343795334387 + (x * (-28.66081804998 + (x * (-20.14326346804852 + (x * (48.560921310873994 + (x * (10.826866735546016 + (x * (-22.643693341313973 + (x * 1.7211476576120028))))))))))))))); // eslint-disable-line max-len + } else { + x = 1.0 / x; + s1 = -3.6719225470772936 + (x * (21.12946554483405 + (x * (17.445385985570866 + (x * (-44.6382324441787 + (x * (-18.851064805871424 + (x * (17.644729840837403 + (x * (8.3705032834312 + (x * (0.10526468069939171 + (x * -0.20243350835593876))))))))))))))); // eslint-disable-line max-len + s2 = 1.7211476576120028 + (x * (-22.643693341313973 + (x * (10.826866735546016 + (x * (48.560921310873994 + (x * (-20.14326346804852 + (x * (-28.66081804998 + (x * (3.971343795334387 + (x * (6.242641248542475 + (x * 1.0))))))))))))))); // eslint-disable-line max-len + } + return s1 / s2; +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js new file mode 100644 index 000000000000..d663453bfcee --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js @@ -0,0 +1,64 @@ +/** +* @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. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.1311027816799519; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = -0.1311027816799519 + (x * (-0.16379404719331705 + (x * (0.11703015634199525 + (x * (0.38707973897260434 + (x * (0.3377855389120359 + (x * (0.14286953440815717 + (x * (0.029015791000532906 + (x * (0.0021455899538880526 + (x * (-6.794655751811263e-7 + (x * (2.8522533178221704e-8 + (x * -6.81149956853777e-10))))))))))))))))))); // eslint-disable-line max-len + s2 = 1.0 + (x * (3.4662540724256723 + (x * (5.381683457070069 + (x * (4.778465929458438 + (x * (2.5930192162362027 + (x * (0.848854343457902 + (x * (0.15226433829533179 + (x * (0.011059242293464892 + (x * (0.0 + (x * (0.0 + (x * 0.0))))))))))))))))))); // eslint-disable-line max-len + } else { + x = 1.0 / x; + s1 = -6.81149956853777e-10 + (x * (2.8522533178221704e-8 + (x * (-6.794655751811263e-7 + (x * (0.0021455899538880526 + (x * (0.029015791000532906 + (x * (0.14286953440815717 + (x * (0.3377855389120359 + (x * (0.38707973897260434 + (x * (0.11703015634199525 + (x * (-0.16379404719331705 + (x * -0.1311027816799519))))))))))))))))))); // eslint-disable-line max-len + s2 = 0.0 + (x * (0.0 + (x * (0.0 + (x * (0.011059242293464892 + (x * (0.15226433829533179 + (x * (0.848854343457902 + (x * (2.5930192162362027 + (x * (4.778465929458438 + (x * (5.381683457070069 + (x * (3.4662540724256723 + (x * 1.0))))))))))))))))))); // eslint-disable-line max-len + } + return s1 / s2; +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js new file mode 100644 index 000000000000..3cc8919fc59f --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js @@ -0,0 +1,64 @@ +/** +* @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. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.0350353787183178; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = -0.0350353787183178 + (x * (-0.0022242652921344794 + (x * (0.018557330651423107 + (x * (0.009508047013259196 + (x * (0.0018712349281955923 + (x * (0.00015754461742496055 + (x * (0.00000460469890584318 + (x * (-2.304047769118826e-10 + (x * 2.6633922742578204e-12))))))))))))))); // eslint-disable-line max-len + s2 = 1.0 + (x * (1.3653349817554064 + (x * (0.7620591645536234 + (x * (0.22009110576413124 + (x * (0.03415891436709477 + (x * (0.00263861676657016 + (x * (0.00007646752923027944 + (x * (0.0 + (x * 0.0))))))))))))))); // eslint-disable-line max-len + } else { + x = 1.0 / x; + s1 = 2.6633922742578204e-12 + (x * (-2.304047769118826e-10 + (x * (0.00000460469890584318 + (x * (0.00015754461742496055 + (x * (0.0018712349281955923 + (x * (0.009508047013259196 + (x * (0.018557330651423107 + (x * (-0.0022242652921344794 + (x * -0.0350353787183178))))))))))))))); // eslint-disable-line max-len + s2 = 0.0 + (x * (0.0 + (x * (0.00007646752923027944 + (x * (0.00263861676657016 + (x * (0.03415891436709477 + (x * (0.22009110576413124 + (x * (0.7620591645536234 + (x * (1.3653349817554064 + (x * 1.0))))))))))))))); // eslint-disable-line max-len + } + return s1 / s2; +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js new file mode 100644 index 000000000000..00e5c1dd3d2b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js @@ -0,0 +1,64 @@ +/** +* @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. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.016743100507663373; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = -0.016743100507663373 + (x * (-0.0011295143874558028 + (x * (0.001056288621524929 + (x * (0.00020938631748758808 + (x * (0.000014962478375834237 + (x * (4.4969678992770644e-7 + (x * (4.625961635228786e-9 + (x * (-2.811287356288318e-14 + (x * 9.905570997331033e-17))))))))))))))); // eslint-disable-line max-len + s2 = 1.0 + (x * (0.5914293448864175 + (x * (0.1381518657490833 + (x * (0.016074608709367652 + (x * (0.0009640118070051656 + (x * (0.000027533547476472603 + (x * (2.82243172016108e-7 + (x * (0.0 + (x * 0.0))))))))))))))); // eslint-disable-line max-len + } else { + x = 1.0 / x; + s1 = 9.905570997331033e-17 + (x * (-2.811287356288318e-14 + (x * (4.625961635228786e-9 + (x * (4.4969678992770644e-7 + (x * (0.000014962478375834237 + (x * (0.00020938631748758808 + (x * (0.001056288621524929 + (x * (-0.0011295143874558028 + (x * -0.016743100507663373))))))))))))))); // eslint-disable-line max-len + s2 = 0.0 + (x * (0.0 + (x * (2.82243172016108e-7 + (x * (0.000027533547476472603 + (x * (0.0009640118070051656 + (x * (0.016074608709367652 + (x * (0.1381518657490833 + (x * (0.5914293448864175 + (x * 1.0))))))))))))))); // eslint-disable-line max-len + } + return s1 / s2; +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json new file mode 100644 index 000000000000..c650844e4ec9 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json @@ -0,0 +1,142 @@ +{ + "name": "@stdlib/math/base/special/erfinvf", + "version": "0.0.0", + "description": "Inverse error function (single-precision).", + "license": "Apache-2.0 AND BSL-1.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "gypfile": true, + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "include": "./include", + "lib": "./lib", + "scripts": "./scripts", + "src": "./src", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "mathematics", + "math", + "erf", + "erfinv", + "inverse", + "error", + "function", + "special", + "number" + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "erfinv", + "alias": "erfinv", + "pkg_desc": "evaluate the inverse error function for a double-precision floating-point number", + "desc": "evaluates the inverse error function for a double-precision floating-point number", + "short_desc": "inverse error function", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": -1, + "max": 1 + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -0.9, + 0.75 + ] + }, + "example_values": [ + -0.841, + 0.736, + -0.512, + 0.183, + -0.927, + 0.264, + -0.376, + 0.918, + -0.152, + 0.587, + -0.698, + 0.311, + -0.045, + 0.829, + -0.619, + 0.472, + -0.298, + 0.105, + -0.771, + 0.946 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "erf", + "erfinv", + "inverse", + "error" + ], + "extra_keywords": [] + } + } +} From c72ba8f4b7242736b8ae0cd8094a8935248f796f Mon Sep 17 00:00:00 2001 From: Vishal Gaikwad Date: Wed, 11 Mar 2026 13:56:21 +0530 Subject: [PATCH 2/3] feat: add math/base/special/erfinvf --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: missing_dependencies - task: lint_c_examples status: missing_dependencies - task: lint_c_benchmarks status: missing_dependencies - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../@stdlib/math/base/special/erfinvf/LICENSE | 209 +++++++++++ .../math/base/special/erfinvf/README.md | 263 ++++++++++++++ .../special/erfinvf/benchmark/benchmark.js | 54 +++ .../erfinvf/benchmark/benchmark.native.js | 64 ++++ .../erfinvf/benchmark/c/native/Makefile | 146 ++++++++ .../erfinvf/benchmark/c/native/benchmark.c | 136 +++++++ .../math/base/special/erfinvf/binding.gyp | 170 +++++++++ .../img/equation_inverse_error_function.svg | 84 +++++ ...rse_error_function_series_coefficients.svg | 151 ++++++++ .../math/base/special/erfinvf/docs/repl.txt | 41 +++ .../special/erfinvf/docs/types/index.d.ts | 65 ++++ .../base/special/erfinvf/docs/types/test.ts | 44 +++ .../base/special/erfinvf/examples/c/Makefile | 146 ++++++++ .../base/special/erfinvf/examples/c/example.c | 31 ++ .../base/special/erfinvf/examples/index.js | 31 ++ .../math/base/special/erfinvf/include.gypi | 53 +++ .../math/base/special/erfinvf/lib/main.js | 131 +++++-- .../base/special/erfinvf/lib/rational_p1q1.js | 21 +- .../base/special/erfinvf/lib/rational_p2q2.js | 21 +- .../base/special/erfinvf/lib/rational_p3q3.js | 21 +- .../base/special/erfinvf/lib/rational_p4q4.js | 21 +- .../base/special/erfinvf/lib/rational_p5q5.js | 21 +- .../math/base/special/erfinvf/manifest.json | 84 +++++ .../math/base/special/erfinvf/package.json | 31 +- .../special/erfinvf/scripts/evalrational.js | 269 ++++++++++++++ .../math/base/special/erfinvf/src/Makefile | 70 ++++ .../math/base/special/erfinvf/src/addon.c | 22 ++ .../math/base/special/erfinvf/src/main.c | 334 ++++++++++++++++++ .../erfinvf/test/fixtures/julia/REQUIRE | 3 + .../erfinvf/test/fixtures/julia/runner.jl | 86 +++++ .../test/fixtures/julia/x_-0.5_-0.75.json | 1 + .../test/fixtures/julia/x_-0.5_0.5.json | 1 + .../test/fixtures/julia/x_0.5_0.75.json | 1 + .../test/fixtures/julia/x_0.75_0.9998.json | 1 + .../fixtures/julia/x_0.9998_0.9999..8.json | 1 + .../test/fixtures/julia/x_0.9999..8_1.json | 1 + .../math/base/special/erfinvf/test/test.js | 255 +++++++++++++ .../base/special/erfinvf/test/test.native.js | 264 ++++++++++++++ 38 files changed, 3267 insertions(+), 81 deletions(-) create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/LICENSE create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/README.md create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function.svg create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function_series_coefficients.svg create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/manifest.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/REQUIRE create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_-0.75.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_0.5.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.5_0.75.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.75_0.9998.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9998_0.9999..8.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9999..8_1.json create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.js create mode 100644 lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.native.js diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/LICENSE b/lib/node_modules/@stdlib/math/base/special/erfinvf/LICENSE new file mode 100644 index 000000000000..05757b1b8026 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/LICENSE @@ -0,0 +1,209 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + +DEPENDENCIES & ATTRIBUTION + +The library links against the following external libraries or contains +implementations from the following external libraries, which have their own +licenses: + +* Boost + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md b/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md new file mode 100644 index 000000000000..73db1b5b18ee --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md @@ -0,0 +1,263 @@ + + +# erfinvf + +> [Inverse error function][inverse-error-function] (single-precision). + +
+ +The [inverse error function][inverse-error-function] is defined in terms of the [Maclaurin series][maclaurin-series] + + + +```math +\mathop{\mathrm{erf}_f}^{-1}(z)=\sum_{k=0}^\infty\frac{c_k}{2k+1}\left (\frac{\sqrt{\pi}}{2}z\right )^{2k+1} +``` + + + + + +where `c_0 = 1` and + + + +```math +c_k=\sum_{m=0}^{k-1}\frac{c_m c_{k-1-m}}{(m+1)(2m+1)} = \left\{1,1,\frac{7}{6},\frac{127}{90},\frac{4369}{2520},\frac{34807}{16200},\ldots\right\} +``` + + + + + +
+ + + +
+ +## Usage + +```javascript +var erfinvf = require( '@stdlib/math/base/special/erfinvf' ); +``` + +#### erfinvf( x ) + +Evaluates the [inverse error function][inverse-error-function] (single-precision). + +```javascript +var y = erfinvf( 0.5 ); +// returns ~0.4769 + +y = erfinvf( 0.8 ); +// returns ~0.9062 + +y = erfinvf( -1.0 ); +// returns -Infinity + +y = erfinvf( 1.0 ); +// returns Infinity +``` + +The domain of `x` is restricted to `[-1,1]`. If `|x| > 1`, the function returns `NaN`. + +```javascript +var y = erfinvf( -3.14 ); +// returns NaN +``` + +If provided `NaN`, the function returns `NaN`. + +```javascript +var y = erfinvf( NaN ); +// returns NaN +``` + +The [inverse error function][inverse-error-function] is an [odd function][odd-function]; i.e., `erfinvf(-x) = -erfinvf(x)`. Thus, in accordance with the [IEEE 754][ieee754] standard, if provided `-0`, the function returns `-0`. + +```javascript +var y = erfinvf( -0.0 ); +// returns -0.0 +``` + +
+ + + +
+ +## Examples + + + +```javascript +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var erfinvf = require( '@stdlib/math/base/special/erfinvf' ); + +var opts = { + 'dtype': 'float32' +}; +var x = uniform( 100, -1.0, 1.0, opts ); + +logEachMap( 'x: %0.4f, erfinvf(x): %0.4f', x, erfinvf ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/erfinvf.h" +``` + +#### stdlib_base_erfinvf( x ) + +Evaluates the [inverse error function][inverse-error-function] (single-precision). + +```c +float out = stdlib_base_erfinvf( 0.5f ); +// returns ~0.4769f + +out = stdlib_base_erfinvf( 0.8f ); +// returns ~0.9062f +``` + +The function accepts the following arguments: + +- **x**: `[in] float` input value. + +```c +float stdlib_base_erfinvf( const float x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/erfinvf.h" +#include +#include + +int main( void ) { + const float x[] = { -1.0f, -0.78f, -0.56f, -0.33f, -0.11f, 0.11f, 0.33f, 0.56f, 0.78f, 1.0f }; + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_erfinvf( x[ i ] ); + printf( "x: %f, erfinvf(x): %f\n", x[ i ], v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js new file mode 100644 index 000000000000..f186bb884713 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js @@ -0,0 +1,54 @@ +/** +* @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 uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var pkg = require( './../package.json' ).name; +var erfinvf = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, -1.0, 1.0, { + 'dtype': 'float32' + }); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = erfinvf( x[ i % x.length ] ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js new file mode 100644 index 000000000000..55918a989add --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js @@ -0,0 +1,64 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var format = require( '@stdlib/string/format' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var erfinvf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( erfinvf instanceof Error ) +}; + + +// MAIN // + +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, -1.0, 1.0, { + 'dtype': 'float32' + }); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = erfinvf( x[ i%x.length ] ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile new file mode 100644 index 000000000000..31c8ce908095 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# 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/erfinvf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..58d9015da086 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c @@ -0,0 +1,136 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/math/base/special/erfinvf.h" +#include +#include +#include +#include +#include + +#define NAME "erfinvf" +#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 x[ 100 ]; + float y; + double t; + int i; + + for ( i = 0; i < 100; i++ ) { + x[ i ] = ( 2.0f * rand_float() ) - 1.0f; + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = stdlib_base_erfinvf( x[ i%100 ] ); + if ( y != y ) { + printf( "should not return NaN\n" ); + break; + } + } + elapsed = tic() - t; + if ( y != y ) { + printf( "should not return NaN\n" ); + } + return elapsed; +} + +/** +* Main execution sequence. +*/ +int main( void ) { + double elapsed; + int i; + + // Use the current time to seed the random number generator: + srand( time( NULL ) ); + + print_version(); + for ( i = 0; i < REPEATS; i++ ) { + printf( "# c::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/erfinvf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp new file mode 100644 index 000000000000..ec3992233442 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp @@ -0,0 +1,170 @@ +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# 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/erfinvf/docs/img/equation_inverse_error_function.svg b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function.svg new file mode 100644 index 000000000000..996eafcc06ed --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function.svg @@ -0,0 +1,84 @@ + +e r f Subscript f Superscript negative 1 Baseline left-parenthesis z right-parenthesis equals sigma-summation Underscript k equals 0 Overscript normal infinity Endscripts StartFraction c Subscript k Baseline Over 2 k plus 1 EndFraction left-parenthesis StartFraction StartRoot pi EndRoot Over 2 EndFraction z right-parenthesis Superscript 2 k plus 1 + + + \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function_series_coefficients.svg b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function_series_coefficients.svg new file mode 100644 index 000000000000..14499b9d5e6a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/img/equation_inverse_error_function_series_coefficients.svg @@ -0,0 +1,151 @@ + +e r f Subscript f inverse function series coefficients: c Subscript k Baseline equals sigma-summation Underscript m equals 0 Overscript k minus 1 Endscripts StartFraction c Subscript m Baseline c Subscript k minus 1 minus m Baseline Over left-parenthesis m plus 1 right-parenthesis left-parenthesis 2 m plus 1 right-parenthesis EndFraction equals StartSet 1 comma 1 comma seven-sixths comma StartFraction 127 Over 90 EndFraction comma StartFraction 4369 Over 2520 EndFraction comma StartFraction 34807 Over 16200 EndFraction comma ellipsis EndSet + + + \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/repl.txt new file mode 100644 index 000000000000..f0abc6684c28 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/repl.txt @@ -0,0 +1,41 @@ + +{{alias}}( x ) + Evaluates the inverse error function. + + If `|x| > 1`, the function returns `NaN`. + + If provided `NaN`, the function returns `NaN`. + + As the inverse error function is an odd function (i.e., `erfinv(-x) == + -erfinv(x)`), if provided `-0`, the function returns `-0`. + + Parameters + ---------- + x: number + Input value. + + Returns + ------- + y: number + Function value. + + Examples + -------- + > var y = {{alias}}( 0.5 ) + ~0.4769 + > y = {{alias}}( 0.8 ) + ~0.9062 + > y = {{alias}}( 0.0 ) + 0.0 + > y = {{alias}}( -0.0 ) + -0.0 + > y = {{alias}}( -1.0 ) + -Infinity + > y = {{alias}}( 1.0 ) + Infinity + > y = {{alias}}( NaN ) + NaN + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts new file mode 100644 index 000000000000..a03720e534df --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts @@ -0,0 +1,65 @@ +/* +* @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 inverse error function (single-precision). +* +* ## Notes +* +* - If `|x| > 1`, the function returns `NaN`. +* - As the inverse error function is an odd function (i.e., `erfinvf(-x) == -erfinvf(x)`), if provided `-0`, the function returns `-0`. +* +* @param x - input value +* @returns function value +* +* @example +* var y = erfinvf( 0.5 ); +* // returns ~0.4769 +* +* @example +* var y = erfinvf( 0.8 ); +* // returns ~0.9062 +* +* @example +* var y = erfinvf( 0.0 ); +* // returns 0.0 +* +* @example +* var y = erfinvf( -0.0 ); +* // returns -0.0 +* +* @example +* var y = erfinvf( -1.0 ); +* // returns -Infinity +* +* @example +* var y = erfinvf( 1.0 ); +* // returns Infinity +* +* @example +* var y = erfinvf( NaN ); +* // returns NaN +*/ +declare function erfinvf( x: number ): number; + + +// EXPORTS // + +export = erfinvf; diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts new file mode 100644 index 000000000000..8dd4698eb794 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/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 erfinvf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + erfinvf( 0.5 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + erfinvf( true ); // $ExpectError + erfinvf( false ); // $ExpectError + erfinvf( null ); // $ExpectError + erfinvf( undefined ); // $ExpectError + erfinvf( '5' ); // $ExpectError + erfinvf( [] ); // $ExpectError + erfinvf( {} ); // $ExpectError + erfinvf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + erfinvf(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile new file mode 100644 index 000000000000..a764d1413a1a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# 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/erfinvf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c new file mode 100644 index 000000000000..036dbcfb87ba --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c @@ -0,0 +1,31 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/math/base/special/erfinvf.h" +#include +#include + +int main() { + const float x[] = { -1.0f, -0.78f, -0.56f, -0.33f, -0.11f, 0.11f, 0.33f, 0.56f, 0.78f, 1.0f }; + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_erfinvf( x[ i ] ); + printf( "x: %f, erfinvf(x): %f\n", x[ i ], v ); + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js new file mode 100644 index 000000000000..7a326434b1f9 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js @@ -0,0 +1,31 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var erfinvf = require( './../lib' ); + +var x; +var y; +var i; + +for ( i = 0; i < 100; i++ ) { + x = (i/50.0) - 1.0; // Range from -1.0 to 1.0 + y = erfinvf( x ); + console.log( 'erfinvf( %d ) = %d', x.toFixed( 3 ), y.toFixed( 3 ) ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi b/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi new file mode 100644 index 000000000000..575cb043c0bf --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# 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': [ + ' --> +* +* Max error \\(2.001849\mbox{e-}18\\). Maximum deviation found (error term at infinite precision) \\(8.030\mbox{e-}21\\). +* +* +* +* 2. For \\(0.5 > 1-|x| \geq 0\\), we evaluate the inverse error function using the rational approximation +* +* ```tex +* \operatorname{erf^{-1}_f} = \frac{\sqrt{-2 \cdot \ln(1-x)}}{\mathrm{Y} + \operatorname{R}(1-x)} +* ``` +* +* where \\(Y\\) is a constant, and \\(\operatorname{R}(q)\\) is optimized for a low absolute error compared to \\(Y\\). +* +* +* +* Max error \\(7.403372\mbox{e-}17\\). Maximum deviation found (error term at infinite precision) \\(4.811\mbox{e-}20\\). +* +* +* +* 3. For \\(1-|x| < 0.25\\), we have a series of rational approximations all of the general form +* +* ```tex +* p = \sqrt{-\ln(1-x)} +* ``` +* +* Accordingly, the result is given by +* +* ```tex +* \operatorname{erf^{-1}_f}(x) = p(\mathrm{Y} + \operatorname{R}(p-B)) +* ``` +* +* where \\(Y\\) is a constant, \\(B\\) is the lowest value of \\(p\\) for which the approximation is valid, and \\(\operatorname{R}(x-B)\\) is optimized for a low absolute error compared to \\(Y\\). +* +* +* +* Almost all code will only go through the first or maybe second approximation. After that we are dealing with very small input values. +* +* - If \\(p < 3\\), max error \\(1.089051\mbox{e-}20\\). +* - If \\(p < 6\\), max error \\(8.389174\mbox{e-}21\\). +* - If \\(p < 18\\), max error \\(1.481312\mbox{e-}19\\). +* - If \\(p < 44\\), max error \\(5.697761\mbox{e-}20\\). +* - If \\(p \geq 44\\), max error \\(1.279746\mbox{e-}20\\). +* +* +* +* +* +* The Boost library can accommodate \\(80\\) and \\(128\\) bit long doubles. JavaScript only supports a \\(64\\) bit double (IEEE 754). Accordingly, the smallest \\(p\\) (in JavaScript at the time of this writing) is \\(\sqrt{-\ln(\sim5\mbox{e-}324)} = 27.284429111150214\\). +* +* +* * @param {number} x - input value * @returns {number} function value * @@ -97,67 +165,70 @@ function erfinvf( x ) { var g; var r; + // Convert to float32 for consistent precision + x = f32( x ); + // Special case: NaN if ( isnanf( x ) ) { return NaN; } // Special case: 1 - if ( x === 1.0 ) { + if ( x === ONE ) { return PINF; } // Special case: -1 - if ( x === -1.0 ) { + if ( x === f32( -1.0 ) ) { return NINF; } // Special case: +-0 - if ( x === 0.0 ) { + if ( x === ZERO ) { return x; } // Special case: |x| > 1 (range error) - if ( x > 1.0 || x < -1.0 ) { + if ( x > ONE || x < f32( -1.0 ) ) { return NaN; } // Argument reduction (reduce to interval [0,1]). If `x` is negative, we can safely negate the value, taking advantage of the error function being an odd function; i.e., `erf(-x) = -erf(x)`. - if ( x < 0.0 ) { - sign = -1.0; - ax = -x; + if ( x < ZERO ) { + sign = f32( -1.0 ); + ax = f32( -x ); } else { - sign = 1.0; + sign = ONE; ax = x; } - q = 1.0 - ax; + q = f32( ONE - ax ); // |x| <= 0.5 - if ( ax <= 0.5 ) { - g = ax * ( ax + 10.0 ); + if ( ax <= HALF ) { + g = f32( ax * f32( ax + f32( 10.0 ) ) ); r = rationalFcnR1( ax ); - return sign * ( (g*Y1) + (g*r) ); + return f32( sign * f32( g * f32( Y1 + r ) ) ); } // 1-|x| >= 0.25 - if ( q >= 0.25 ) { - g = sqrtf( -2.0 * lnf(q) ); - q -= 0.25; + if ( q >= QUARTER ) { + g = sqrtf( f32( -2.0 * lnf( q ) ) ); + q = f32( q - QUARTER ); r = rationalFcnR2( q ); - return sign * ( g / (Y2+r) ); + return f32( sign * f32( g / f32( Y2 + r ) ) ); } - q = sqrtf( -lnf( q ) ); + q = sqrtf( f32( -lnf( q ) ) ); // q < 3 - if ( q < 3.0 ) { - qs = q - 1.125; + if ( q < f32( 3.0 ) ) { + qs = f32( q - f32( 1.125 ) ); r = rationalFcnR3( qs ); - return sign * ( (Y3*q) + (r*q) ); + return f32( sign * f32( q * f32( Y3 + r ) ) ); } // q < 6 - if ( q < 6.0 ) { - qs = q - 3.0; + if ( q < f32( 6.0 ) ) { + qs = f32( q - f32( 3.0 ) ); r = rationalFcnR4( qs ); - return sign * ( (Y4*q) + (r*q) ); + return f32( sign * f32( q * f32( Y4 + r ) ) ); } // q < 18 - qs = q - 6.0; + qs = f32( q - f32( 6.0 ) ); r = rationalFcnR5( qs ); - return sign * ( (Y5*q) + (r*q) ); + return f32( sign * f32( q * f32( Y5 + r ) ) ); } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js index b2efa93ed4c5..f06948690f3b 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p1q1.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,11 @@ /* This is a generated file. Do not edit directly. */ 'use strict'; +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + // MAIN // /** @@ -40,7 +45,7 @@ function evalrational( x ) { var s1; var s2; if ( x === 0.0 ) { - return -0.0005087819496582806; + return -0.0005087819299660623; } if ( x < 0.0 ) { ax = -x; @@ -48,14 +53,14 @@ function evalrational( x ) { ax = x; } if ( ax <= 1.0 ) { - s1 = -0.0005087819496582806 + (x * (-0.008368748197417368 + (x * (0.03348066254097446 + (x * (-0.012692614766297404 + (x * (-0.03656379714117627 + (x * (0.02198786811111689 + (x * (0.008226878746769157 + (x * (-0.005387729650712429 + (x * (0.0 + (x * 0.0))))))))))))))))); // eslint-disable-line max-len - s2 = 1.0 + (x * (-0.9700050433032906 + (x * (-1.5657455823417585 + (x * (1.5622155839842302 + (x * (0.662328840472003 + (x * (-0.7122890234154284 + (x * (-0.05273963823400997 + (x * (0.07952836873415717 + (x * (-0.0023339375937419 + (x * 0.0008862163904564247))))))))))))))))); // eslint-disable-line max-len + s1 = float64ToFloat32(-0.0005087819299660623 + float64ToFloat32(x * float64ToFloat32(-0.008368748240172863 + float64ToFloat32(x * float64ToFloat32(0.03348066285252571 + float64ToFloat32(x * float64ToFloat32(-0.012692615389823914 + float64ToFloat32(x * float64ToFloat32(-0.036563798785209656 + float64ToFloat32(x * float64ToFloat32(0.02198786847293377 + float64ToFloat32(x * float64ToFloat32(0.008226878941059113 + float64ToFloat32(x * float64ToFloat32(-0.005387729499489069 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(-0.9700050354003906 + float64ToFloat32(x * float64ToFloat32(-1.56574547290802 + float64ToFloat32(x * float64ToFloat32(1.5622155666351318 + float64ToFloat32(x * float64ToFloat32(0.6622884273529053 + float64ToFloat32(x * float64ToFloat32(-0.712289035320282 + float64ToFloat32(x * float64ToFloat32(-0.05273963883519173 + float64ToFloat32(x * float64ToFloat32(0.07952836900949478 + float64ToFloat32(x * float64ToFloat32(-0.0023339376784861088 + float64ToFloat32(x * 0.0008862164104357362)))))))))))))))))); // eslint-disable-line max-len } else { - x = 1.0 / x; - s1 = 0.0 + (x * (0.0 + (x * (-0.005387729650712429 + (x * (0.008226878746769157 + (x * (0.02198786811111689 + (x * (-0.03656379714117627 + (x * (-0.012692614766297404 + (x * (0.03348066254097446 + (x * (-0.008368748197417368 + (x * -0.0005087819496582806))))))))))))))))); // eslint-disable-line max-len - s2 = 0.0008862163904564247 + (x * (-0.0023339375937419 + (x * (0.07952836873415717 + (x * (-0.05273963823400997 + (x * (-0.7122890234154284 + (x * (0.662328840472003 + (x * (1.5622155839842302 + (x * (-1.5657455823417585 + (x * (-0.9700050433032906 + (x * 1.0))))))))))))))))); // eslint-disable-line max-len + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(-0.005387729499489069 + float64ToFloat32(x * float64ToFloat32(0.008226878941059113 + float64ToFloat32(x * float64ToFloat32(0.02198786847293377 + float64ToFloat32(x * float64ToFloat32(-0.036563798785209656 + float64ToFloat32(x * float64ToFloat32(-0.012692615389823914 + float64ToFloat32(x * float64ToFloat32(0.03348066285252571 + float64ToFloat32(x * float64ToFloat32(-0.008368748240172863 + float64ToFloat32(x * -0.0005087819299660623)))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0008862164104357362 + float64ToFloat32(x * float64ToFloat32(-0.0023339376784861088 + float64ToFloat32(x * float64ToFloat32(0.07952836900949478 + float64ToFloat32(x * float64ToFloat32(-0.05273963883519173 + float64ToFloat32(x * float64ToFloat32(-0.712289035320282 + float64ToFloat32(x * float64ToFloat32(0.6622884273529053 + float64ToFloat32(x * float64ToFloat32(1.5622155666351318 + float64ToFloat32(x * float64ToFloat32(-1.56574547290802 + float64ToFloat32(x * float64ToFloat32(-0.9700050354003906 + float64ToFloat32(x * 1.0)))))))))))))))))); // eslint-disable-line max-len } - return s1 / s2; + return float64ToFloat32( s1 / s2 ); } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js index 4a8f2b5fc65a..e8f76ccde358 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p2q2.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,11 @@ /* This is a generated file. Do not edit directly. */ 'use strict'; +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + // MAIN // /** @@ -40,7 +45,7 @@ function evalrational( x ) { var s1; var s2; if ( x === 0.0 ) { - return -0.20243350835593876; + return -0.2024334967136383; } if ( x < 0.0 ) { ax = -x; @@ -48,14 +53,14 @@ function evalrational( x ) { ax = x; } if ( ax <= 1.0 ) { - s1 = -0.20243350835593876 + (x * (0.10526468069939171 + (x * (8.3705032834312 + (x * (17.644729840837403 + (x * (-18.851064805871424 + (x * (-44.6382324441787 + (x * (17.445385985570866 + (x * (21.12946554483405 + (x * -3.6719225470772936))))))))))))))); // eslint-disable-line max-len - s2 = 1.0 + (x * (6.242641248542475 + (x * (3.971343795334387 + (x * (-28.66081804998 + (x * (-20.14326346804852 + (x * (48.560921310873994 + (x * (10.826866735546016 + (x * (-22.643693341313973 + (x * 1.7211476576120028))))))))))))))); // eslint-disable-line max-len + s1 = float64ToFloat32(-0.2024334967136383 + float64ToFloat32(x * float64ToFloat32(0.10526470094919205 + float64ToFloat32(x * float64ToFloat32(8.370503425598145 + float64ToFloat32(x * float64ToFloat32(17.644729614257812 + float64ToFloat32(x * float64ToFloat32(-18.851064682006836 + float64ToFloat32(x * float64ToFloat32(-44.63823318481445 + float64ToFloat32(x * float64ToFloat32(17.44538688659668 + float64ToFloat32(x * float64ToFloat32(21.129465103149414 + float64ToFloat32(x * -3.671922445297241)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(6.242640972137451 + float64ToFloat32(x * float64ToFloat32(3.971343755722046 + float64ToFloat32(x * float64ToFloat32(-28.660818099975586 + float64ToFloat32(x * float64ToFloat32(-20.14326286315918 + float64ToFloat32(x * float64ToFloat32(48.56092071533203 + float64ToFloat32(x * float64ToFloat32(10.82686710357666 + float64ToFloat32(x * float64ToFloat32(-22.643693923950195 + float64ToFloat32(x * 1.7211476564407349)))))))))))))))); // eslint-disable-line max-len } else { - x = 1.0 / x; - s1 = -3.6719225470772936 + (x * (21.12946554483405 + (x * (17.445385985570866 + (x * (-44.6382324441787 + (x * (-18.851064805871424 + (x * (17.644729840837403 + (x * (8.3705032834312 + (x * (0.10526468069939171 + (x * -0.20243350835593876))))))))))))))); // eslint-disable-line max-len - s2 = 1.7211476576120028 + (x * (-22.643693341313973 + (x * (10.826866735546016 + (x * (48.560921310873994 + (x * (-20.14326346804852 + (x * (-28.66081804998 + (x * (3.971343795334387 + (x * (6.242641248542475 + (x * 1.0))))))))))))))); // eslint-disable-line max-len + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(-3.671922445297241 + float64ToFloat32(x * float64ToFloat32(21.129465103149414 + float64ToFloat32(x * float64ToFloat32(17.44538688659668 + float64ToFloat32(x * float64ToFloat32(-44.63823318481445 + float64ToFloat32(x * float64ToFloat32(-18.851064682006836 + float64ToFloat32(x * float64ToFloat32(17.644729614257812 + float64ToFloat32(x * float64ToFloat32(8.370503425598145 + float64ToFloat32(x * float64ToFloat32(0.10526470094919205 + float64ToFloat32(x * -0.2024334967136383)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.7211476564407349 + float64ToFloat32(x * float64ToFloat32(-22.643693923950195 + float64ToFloat32(x * float64ToFloat32(10.82686710357666 + float64ToFloat32(x * float64ToFloat32(48.56092071533203 + float64ToFloat32(x * float64ToFloat32(-20.14326286315918 + float64ToFloat32(x * float64ToFloat32(-28.660818099975586 + float64ToFloat32(x * float64ToFloat32(3.971343755722046 + float64ToFloat32(x * float64ToFloat32(6.242640972137451 + float64ToFloat32(x * 1.0)))))))))))))))); // eslint-disable-line max-len } - return s1 / s2; + return float64ToFloat32( s1 / s2 ); } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js index d663453bfcee..118e1aff38f5 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p3q3.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,11 @@ /* This is a generated file. Do not edit directly. */ 'use strict'; +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + // MAIN // /** @@ -40,7 +45,7 @@ function evalrational( x ) { var s1; var s2; if ( x === 0.0 ) { - return -0.1311027816799519; + return -0.1311028003692627; } if ( x < 0.0 ) { ax = -x; @@ -48,14 +53,14 @@ function evalrational( x ) { ax = x; } if ( ax <= 1.0 ) { - s1 = -0.1311027816799519 + (x * (-0.16379404719331705 + (x * (0.11703015634199525 + (x * (0.38707973897260434 + (x * (0.3377855389120359 + (x * (0.14286953440815717 + (x * (0.029015791000532906 + (x * (0.0021455899538880526 + (x * (-6.794655751811263e-7 + (x * (2.8522533178221704e-8 + (x * -6.81149956853777e-10))))))))))))))))))); // eslint-disable-line max-len - s2 = 1.0 + (x * (3.4662540724256723 + (x * (5.381683457070069 + (x * (4.778465929458438 + (x * (2.5930192162362027 + (x * (0.848854343457902 + (x * (0.15226433829533179 + (x * (0.011059242293464892 + (x * (0.0 + (x * (0.0 + (x * 0.0))))))))))))))))))); // eslint-disable-line max-len + s1 = float64ToFloat32(-0.1311028003692627 + float64ToFloat32(x * float64ToFloat32(-0.16379399597644806 + float64ToFloat32(x * float64ToFloat32(0.11703020334243774 + float64ToFloat32(x * float64ToFloat32(0.3870796859264374 + float64ToFloat32(x * float64ToFloat32(0.3377855122089386 + float64ToFloat32(x * float64ToFloat32(0.1428695023059845 + float64ToFloat32(x * float64ToFloat32(0.029015790671110153 + float64ToFloat32(x * float64ToFloat32(0.002145590027794242 + float64ToFloat32(x * float64ToFloat32(-6.794655860176135e-7 + float64ToFloat32(x * float64ToFloat32(2.8522530115537847e-8 + float64ToFloat32(x * -6.81150025272359e-10)))))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(3.4662539958953857 + float64ToFloat32(x * float64ToFloat32(5.381682872772217 + float64ToFloat32(x * float64ToFloat32(4.77846622467041 + float64ToFloat32(x * float64ToFloat32(2.5930190086364746 + float64ToFloat32(x * float64ToFloat32(0.8488543033599854 + float64ToFloat32(x * float64ToFloat32(0.1522642970085144 + float64ToFloat32(x * float64ToFloat32(0.011059240438044071 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))))))))); // eslint-disable-line max-len } else { - x = 1.0 / x; - s1 = -6.81149956853777e-10 + (x * (2.8522533178221704e-8 + (x * (-6.794655751811263e-7 + (x * (0.0021455899538880526 + (x * (0.029015791000532906 + (x * (0.14286953440815717 + (x * (0.3377855389120359 + (x * (0.38707973897260434 + (x * (0.11703015634199525 + (x * (-0.16379404719331705 + (x * -0.1311027816799519))))))))))))))))))); // eslint-disable-line max-len - s2 = 0.0 + (x * (0.0 + (x * (0.0 + (x * (0.011059242293464892 + (x * (0.15226433829533179 + (x * (0.848854343457902 + (x * (2.5930192162362027 + (x * (4.778465929458438 + (x * (5.381683457070069 + (x * (3.4662540724256723 + (x * 1.0))))))))))))))))))); // eslint-disable-line max-len + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(-6.81150025272359e-10 + float64ToFloat32(x * float64ToFloat32(2.8522530115537847e-8 + float64ToFloat32(x * float64ToFloat32(-6.794655860176135e-7 + float64ToFloat32(x * float64ToFloat32(0.002145590027794242 + float64ToFloat32(x * float64ToFloat32(0.029015790671110153 + float64ToFloat32(x * float64ToFloat32(0.1428695023059845 + float64ToFloat32(x * float64ToFloat32(0.3377855122089386 + float64ToFloat32(x * float64ToFloat32(0.3870796859264374 + float64ToFloat32(x * float64ToFloat32(0.11703020334243774 + float64ToFloat32(x * float64ToFloat32(-0.16379399597644806 + float64ToFloat32(x * -0.1311028003692627)))))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.011059240438044071 + float64ToFloat32(x * float64ToFloat32(0.1522642970085144 + float64ToFloat32(x * float64ToFloat32(0.8488543033599854 + float64ToFloat32(x * float64ToFloat32(2.5930190086364746 + float64ToFloat32(x * float64ToFloat32(4.77846622467041 + float64ToFloat32(x * float64ToFloat32(5.381682872772217 + float64ToFloat32(x * float64ToFloat32(3.4662539958953857 + float64ToFloat32(x * 1.0)))))))))))))))))))); // eslint-disable-line max-len } - return s1 / s2; + return float64ToFloat32( s1 / s2 ); } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js index 3cc8919fc59f..5246c1d8e597 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p4q4.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,11 @@ /* This is a generated file. Do not edit directly. */ 'use strict'; +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + // MAIN // /** @@ -40,7 +45,7 @@ function evalrational( x ) { var s1; var s2; if ( x === 0.0 ) { - return -0.0350353787183178; + return -0.035035375505685806; } if ( x < 0.0 ) { ax = -x; @@ -48,14 +53,14 @@ function evalrational( x ) { ax = x; } if ( ax <= 1.0 ) { - s1 = -0.0350353787183178 + (x * (-0.0022242652921344794 + (x * (0.018557330651423107 + (x * (0.009508047013259196 + (x * (0.0018712349281955923 + (x * (0.00015754461742496055 + (x * (0.00000460469890584318 + (x * (-2.304047769118826e-10 + (x * 2.6633922742578204e-12))))))))))))))); // eslint-disable-line max-len - s2 = 1.0 + (x * (1.3653349817554064 + (x * (0.7620591645536234 + (x * (0.22009110576413124 + (x * (0.03415891436709477 + (x * (0.00263861676657016 + (x * (0.00007646752923027944 + (x * (0.0 + (x * 0.0))))))))))))))); // eslint-disable-line max-len + s1 = float64ToFloat32(-0.035035375505685806 + float64ToFloat32(x * float64ToFloat32(-0.0022242648992687464 + float64ToFloat32(x * float64ToFloat32(0.01855733059346676 + float64ToFloat32(x * float64ToFloat32(0.009508047252893448 + float64ToFloat32(x * float64ToFloat32(0.0018712349701672792 + float64ToFloat32(x * float64ToFloat32(0.00015754459309391677 + float64ToFloat32(x * float64ToFloat32(4.6046991220016764e-10 + float64ToFloat32(x * 2.663392076329707e-12)))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(1.3653349876403809 + float64ToFloat32(x * float64ToFloat32(0.762059211730957 + float64ToFloat32(x * float64ToFloat32(0.2200911045074463 + float64ToFloat32(x * float64ToFloat32(0.03415891155600548 + float64ToFloat32(x * float64ToFloat32(0.0026386170648038387 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))); // eslint-disable-line max-len } else { - x = 1.0 / x; - s1 = 2.6633922742578204e-12 + (x * (-2.304047769118826e-10 + (x * (0.00000460469890584318 + (x * (0.00015754461742496055 + (x * (0.0018712349281955923 + (x * (0.009508047013259196 + (x * (0.018557330651423107 + (x * (-0.0022242652921344794 + (x * -0.0350353787183178))))))))))))))); // eslint-disable-line max-len - s2 = 0.0 + (x * (0.0 + (x * (0.00007646752923027944 + (x * (0.00263861676657016 + (x * (0.03415891436709477 + (x * (0.22009110576413124 + (x * (0.7620591645536234 + (x * (1.3653349817554064 + (x * 1.0))))))))))))))); // eslint-disable-line max-len + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(2.663392076329707e-12 + float64ToFloat32(x * float64ToFloat32(4.6046991220016764e-10 + float64ToFloat32(x * float64ToFloat32(0.00015754459309391677 + float64ToFloat32(x * float64ToFloat32(0.0018712349701672792 + float64ToFloat32(x * float64ToFloat32(0.009508047252893448 + float64ToFloat32(x * float64ToFloat32(0.01855733059346676 + float64ToFloat32(x * float64ToFloat32(-0.0022242648992687464 + float64ToFloat32(x * -0.035035375505685806)))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0026386170648038387 + float64ToFloat32(x * float64ToFloat32(0.03415891155600548 + float64ToFloat32(x * float64ToFloat32(0.2200911045074463 + float64ToFloat32(x * float64ToFloat32(0.762059211730957 + float64ToFloat32(x * float64ToFloat32(1.3653349876403809 + float64ToFloat32(x * 1.0)))))))))))))); // eslint-disable-line max-len } - return s1 / s2; + return float64ToFloat32( s1 / s2 ); } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js index 00e5c1dd3d2b..0ad10981c62a 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/rational_p5q5.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2022 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,11 @@ /* This is a generated file. Do not edit directly. */ 'use strict'; +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + // MAIN // /** @@ -40,7 +45,7 @@ function evalrational( x ) { var s1; var s2; if ( x === 0.0 ) { - return -0.016743100507663373; + return -0.016743101179599762; } if ( x < 0.0 ) { ax = -x; @@ -48,14 +53,14 @@ function evalrational( x ) { ax = x; } if ( ax <= 1.0 ) { - s1 = -0.016743100507663373 + (x * (-0.0011295143874558028 + (x * (0.001056288621524929 + (x * (0.00020938631748758808 + (x * (0.000014962478375834237 + (x * (4.4969678992770644e-7 + (x * (4.625961635228786e-9 + (x * (-2.811287356288318e-14 + (x * 9.905570997331033e-17))))))))))))))); // eslint-disable-line max-len - s2 = 1.0 + (x * (0.5914293448864175 + (x * (0.1381518657490833 + (x * (0.016074608709367652 + (x * (0.0009640118070051656 + (x * (0.000027533547476472603 + (x * (2.82243172016108e-7 + (x * (0.0 + (x * 0.0))))))))))))))); // eslint-disable-line max-len + s1 = float64ToFloat32(-0.016743101179599762 + float64ToFloat32(x * float64ToFloat32(-0.0011295144213363528 + float64ToFloat32(x * float64ToFloat32(0.0010562886018306017 + float64ToFloat32(x * float64ToFloat32(0.00020938630041200668 + float64ToFloat32(x * float64ToFloat32(0.000014962500245019328 + float64ToFloat32(x * float64ToFloat32(4.4969999635213753e-7 + float64ToFloat32(x * float64ToFloat32(4.599999936516497e-9 + float64ToFloat32(x * float64ToFloat32(-2.811287444157151e-14 + float64ToFloat32(x * 9.905571215128252e-17)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(0.5914293527603149 + float64ToFloat32(x * float64ToFloat32(0.1381518691778183 + float64ToFloat32(x * float64ToFloat32(0.016074609011411667 + float64ToFloat32(x * float64ToFloat32(0.0009640118223614991 + float64ToFloat32(x * float64ToFloat32(0.000027533500542631373 + float64ToFloat32(x * float64ToFloat32(2.822000055857643e-7 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))))); // eslint-disable-line max-len } else { - x = 1.0 / x; - s1 = 9.905570997331033e-17 + (x * (-2.811287356288318e-14 + (x * (4.625961635228786e-9 + (x * (4.4969678992770644e-7 + (x * (0.000014962478375834237 + (x * (0.00020938631748758808 + (x * (0.001056288621524929 + (x * (-0.0011295143874558028 + (x * -0.016743100507663373))))))))))))))); // eslint-disable-line max-len - s2 = 0.0 + (x * (0.0 + (x * (2.82243172016108e-7 + (x * (0.000027533547476472603 + (x * (0.0009640118070051656 + (x * (0.016074608709367652 + (x * (0.1381518657490833 + (x * (0.5914293448864175 + (x * 1.0))))))))))))))); // eslint-disable-line max-len + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(9.905571215128252e-17 + float64ToFloat32(x * float64ToFloat32(-2.811287444157151e-14 + float64ToFloat32(x * float64ToFloat32(4.599999936516497e-9 + float64ToFloat32(x * float64ToFloat32(4.4969999635213753e-7 + float64ToFloat32(x * float64ToFloat32(0.000014962500245019328 + float64ToFloat32(x * float64ToFloat32(0.00020938630041200668 + float64ToFloat32(x * float64ToFloat32(0.0010562886018306017 + float64ToFloat32(x * float64ToFloat32(-0.0011295144213363528 + float64ToFloat32(x * -0.016743101179599762)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(2.822000055857643e-7 + float64ToFloat32(x * float64ToFloat32(0.000027533500542631373 + float64ToFloat32(x * float64ToFloat32(0.0009640118223614991 + float64ToFloat32(x * float64ToFloat32(0.016074609011411667 + float64ToFloat32(x * float64ToFloat32(0.1381518691778183 + float64ToFloat32(x * float64ToFloat32(0.5914293527603149 + float64ToFloat32(x * 1.0)))))))))))))))); // eslint-disable-line max-len } - return s1 / s2; + return float64ToFloat32( s1 / s2 ); } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/manifest.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/manifest.json new file mode 100644 index 000000000000..a48206503e3a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/manifest.json @@ -0,0 +1,84 @@ +{ + "options": { + "task": "build" + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "task": "build", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/unary", + "@stdlib/math/base/assert/is-nanf", + "@stdlib/math/base/special/sqrtf", + "@stdlib/math/base/special/lnf", + "@stdlib/constants/float32/pinf", + "@stdlib/constants/float32/ninf" + ] + }, + { + "task": "benchmark", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nanf", + "@stdlib/math/base/special/sqrtf", + "@stdlib/math/base/special/lnf", + "@stdlib/constants/float32/pinf", + "@stdlib/constants/float32/ninf" + ] + }, + { + "task": "examples", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nanf", + "@stdlib/math/base/special/sqrtf", + "@stdlib/math/base/special/lnf", + "@stdlib/constants/float32/pinf", + "@stdlib/constants/float32/ninf" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json index c650844e4ec9..8a55a7c82c92 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/package.json @@ -63,16 +63,19 @@ "error", "function", "special", - "number" + "scalar", + "number", + "single-precision", + "float32" ], "__stdlib__": { "scaffold": { "$schema": "math/base@v1.0", - "base_alias": "erfinv", - "alias": "erfinv", - "pkg_desc": "evaluate the inverse error function for a double-precision floating-point number", - "desc": "evaluates the inverse error function for a double-precision floating-point number", - "short_desc": "inverse error function", + "base_alias": "erfinvf", + "alias": "erfinvf", + "pkg_desc": "evaluate the inverse error function for a single-precision floating-point number", + "desc": "evaluates the inverse error function for a single-precision floating-point number", + "short_desc": "inverse error function (single-precision)", "parameters": [ { "name": "x", @@ -80,8 +83,8 @@ "type": { "javascript": "number", "jsdoc": "number", - "c": "double", - "dtype": "float64" + "c": "float", + "dtype": "float32" }, "domain": [ { @@ -126,15 +129,21 @@ "type": { "javascript": "number", "jsdoc": "number", - "c": "double", - "dtype": "float64" + "c": "float", + "dtype": "float32" } }, "keywords": [ "erf", "erfinv", "inverse", - "error" + "error", + "function", + "special", + "scalar", + "number", + "single-precision", + "float32" ], "extra_keywords": [] } diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js new file mode 100644 index 000000000000..1ca1aec67913 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js @@ -0,0 +1,269 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* +* This script compiles modules for evaluating polynomial functions. If any polynomial coefficients change, this script should be rerun to update the compiled files. +*/ +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var readFileSync = require( '@stdlib/fs/read-file' ).sync; +var writeFileSync = require( '@stdlib/fs/write-file' ).sync; +var currentYear = require( '@stdlib/time/current-year' ); +var substringBefore = require( '@stdlib/string/substring-before' ); +var substringAfter = require( '@stdlib/string/substring-after' ); +var format = require( '@stdlib/string/format' ); +var licenseHeader = require( '@stdlib/_tools/licenses/header' ); +var compile = require( '@stdlib/math/base/tools/evalrational-compile' ); +var compileC = require( '@stdlib/math/base/tools/evalrational-compile-c' ); + + +// VARIABLES // + +// Polynomial coefficients ordered in ascending degree... + +// Coefficients for erfinvf on [0, 0.5]: +var P1 = [ + -5.0878195e-4, + -8.3687482e-3, + 3.3480663e-2, + -1.2692615e-2, + -3.6563797e-2, + 2.1987868e-2, + 8.2268787e-3, + -5.3877297e-3, + 0.0, + 0.0 +]; +var Q1 = [ + 1.0, + -9.7000504e-1, + -1.5657455, + 1.5622156, + 6.6228840e-1, + -7.1228902e-1, + -5.2739638e-2, + 7.9528369e-2, + -2.3339376e-3, + 8.8621639e-4 +]; + +// Coefficients for erfinvf for 0.5 > 1-x >= 0: +var P2 = [ + -0.2024335, + 0.1052647, + 8.3705033, + 17.6447298, + -18.8510648, + -44.6382324, + 17.4453860, + 21.1294655, + -3.6719225 +]; +var Q2 = [ + 1.0, + 6.2426412, + 3.9713438, + -28.6608180, + -20.1432635, + 48.5609213, + 10.8268667, + -22.6436933, + 1.7211477 +]; + +// Coefficients for erfinvf for sqrt( -log(1-x) ): +var P3 = [ + -0.1311028, + -0.163794, + 0.1170302, + 0.3870797, + 0.3377855, + 0.1428695, + 0.02901579, + 0.00214559, + -6.794656e-7, + 2.852253e-8, + -6.8115e-10 +]; +var Q3 = [ + 1.0, + 3.466254, + 5.381683, + 4.778466, + 2.593019, + 0.8488543, + 0.1522643, + 0.01105924, + 0.0, + 0.0, + 0.0 +]; + +var P4 = [ + -3.5035375e-2, + -2.2242649e-3, + 1.8557330e-2, + 9.5080472e-3, + 1.8712350e-3, + 1.5754459e-4, + 4.6046991e-10, + 2.6633921e-12 +]; +var Q4 = [ + 1.0, + 1.365335, + 0.7620592, + 0.2200911, + 0.03415891, + 0.002638617, + 0.0, + 0.0 +]; + +var P5 = [ + -0.0167431005, + -0.0011295144, + 0.0010562886, + 0.0002093863, + 0.0000149625, + 0.0000004497, + 0.0000000046, + -2.8112874e-14, + 9.9055710e-17 +]; +var Q5 = [ + 1.0, + 0.59142934, + 0.13815187, + 0.016074609, + 0.0009640118, + 0.0000275335, + 0.0000002822, + 0.0, + 0.0 +]; + +// Header to add to output files: +var header = licenseHeader( 'Apache-2.0', 'js', { + 'year': currentYear(), + 'copyright': 'The Stdlib Authors' +}); +header += '\n/* This is a generated file. Do not edit directly. */\n'; + + +// FUNCTIONS // + +/** +* Inserts a compiled function into file content. +* +* @private +* @param {string} text - source content +* @param {string} id - function identifier +* @param {string} str - function string +* @returns {string} updated content +*/ +function insert( text, id, str ) { + var before; + var after; + var begin; + var end; + + begin = '// BEGIN: '+id; + end = '// END: '+id; + + before = substringBefore( text, begin ); + after = substringAfter( text, end ); + + return format( '%s// BEGIN: %s\n\n%s\n%s%s', before, id, str, end, after ); +} + + +// MAIN // + +/** +* Main execution sequence. +* +* @private +*/ +function main() { + var fpath; + var copts; + var opts; + var file; + var str; + + opts = { + 'encoding': 'utf8', + 'dtype': 'float32' + }; + + fpath = resolve( __dirname, '..', 'lib', 'rational_p1q1.js' ); + str = header + compile( P1, Q1, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p2q2.js' ); + str = header + compile( P2, Q2, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p3q3.js' ); + str = header + compile( P3, Q3, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p4q4.js' ); + str = header + compile( P4, Q4, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p5q5.js' ); + str = header + compile( P5, Q5, opts ); + writeFileSync( fpath, str, opts ); + + copts = { + 'dtype': 'float', + 'name': '' + }; + + fpath = resolve( __dirname, '..', 'src', 'main.c' ); + file = readFileSync( fpath, opts ); + + copts.name = 'rational_p1q1'; + str = compileC( P1, Q1, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p2q2'; + str = compileC( P2, Q2, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p3q3'; + str = compileC( P3, Q3, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p4q4'; + str = compileC( P4, Q4, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p5q5'; + str = compileC( P5, Q5, copts ); + file = insert( file, copts.name, str ); + + writeFileSync( fpath, file, opts ); +} + +main(); diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile new file mode 100644 index 000000000000..bcf18aa46655 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# 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/erfinvf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c new file mode 100644 index 000000000000..b73b65452676 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c @@ -0,0 +1,22 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/math/base/special/erfinvf.h" +#include "stdlib/math/base/napi/unary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_erfinvf ) diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c new file mode 100644 index 000000000000..da265632d689 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c @@ -0,0 +1,334 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* +* ## Notice +* +* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_48_0/boost/math/special_functions/detail/erf_inv.hpp}. This implementation follows the original, but has been modified for JavaScript. +* +* ```text +* (C) Copyright John Maddock 2006. +* +* Use, modification and distribution are subject to the +* Boost Software License, Version 1.0. (See accompanying file +* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) +* ``` +*/ + +#include "stdlib/math/base/special/erfinvf.h" +#include "stdlib/math/base/assert/is_nanf.h" +#include "stdlib/math/base/special/sqrtf.h" +#include "stdlib/math/base/special/lnf.h" +#include "stdlib/constants/float32/pinf.h" +#include "stdlib/constants/float32/ninf.h" +#include + +static const float Y1 = 8.91314744949340820313e-2f; +static const float Y2 = 2.249481201171875f; +static const float Y3 = 8.07220458984375e-1f; +static const float Y4 = 9.3995571136474609375e-1f; +static const float Y5 = 9.8362827301025390625e-1f; + +/* Begin auto-generated functions. The following functions are auto-generated. Do not edit directly. */ + +// BEGIN: rational_p1q1 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p1q1( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.00050878195f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.00050878195f + (x * (-0.0083687482f + (x * (0.033480663f + (x * (-0.012692615f + (x * (-0.036563797f + (x * (0.021987868f + (x * (0.0082268787f + (x * (-0.0053877297f + (x * (0.0f + (x * 0.0f))))))))))))))))); + s2 = 1.0f + (x * (-0.97000504f + (x * (-1.5657455f + (x * (1.5622156f + (x * (0.6622884f + (x * (-0.71228902f + (x * (-0.052739638f + (x * (0.079528369f + (x * (-0.0023339376f + (x * 0.00088621639f))))))))))))))))); + } else { + ix = 1.0f / x; + s1 = 0.0f + (ix * (0.0f + (ix * (-0.0053877297f + (ix * (0.0082268787f + (ix * (0.021987868f + (ix * (-0.036563797f + (ix * (-0.012692615f + (ix * (0.033480663f + (ix * (-0.0083687482f + (ix * -0.00050878195f))))))))))))))))); + s2 = 0.00088621639f + (ix * (-0.0023339376f + (ix * (0.079528369f + (ix * (-0.052739638f + (ix * (-0.71228902f + (ix * (0.6622884f + (ix * (1.5622156f + (ix * (-1.5657455f + (ix * (-0.97000504f + (ix * 1.0f))))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p1q1 + +// BEGIN: rational_p2q2 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p2q2( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.2024335f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.2024335f + (x * (0.1052647f + (x * (8.3705033f + (x * (17.6447298f + (x * (-18.8510648f + (x * (-44.6382324f + (x * (17.445386f + (x * (21.1294655f + (x * -3.6719225f))))))))))))))); + s2 = 1.0f + (x * (6.2426412f + (x * (3.9713438f + (x * (-28.660818f + (x * (-20.1432635f + (x * (48.5609213f + (x * (10.8268667f + (x * (-22.6436933f + (x * 1.7211477f))))))))))))))); + } else { + ix = 1.0f / x; + s1 = -3.6719225f + (ix * (21.1294655f + (ix * (17.445386f + (ix * (-44.6382324f + (ix * (-18.8510648f + (ix * (17.6447298f + (ix * (8.3705033f + (ix * (0.1052647f + (ix * -0.2024335f))))))))))))))); + s2 = 1.7211477f + (ix * (-22.6436933f + (ix * (10.8268667f + (ix * (48.5609213f + (ix * (-20.1432635f + (ix * (-28.660818f + (ix * (3.9713438f + (ix * (6.2426412f + (ix * 1.0f))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p2q2 + +// BEGIN: rational_p3q3 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p3q3( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.1311028f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.1311028f + (x * (-0.163794f + (x * (0.1170302f + (x * (0.3870797f + (x * (0.3377855f + (x * (0.1428695f + (x * (0.02901579f + (x * (0.00214559f + (x * (-6.794656e-7f + (x * (2.852253e-8f + (x * -6.8115e-10f))))))))))))))))))); + s2 = 1.0f + (x * (3.466254f + (x * (5.381683f + (x * (4.778466f + (x * (2.593019f + (x * (0.8488543f + (x * (0.1522643f + (x * (0.01105924f + (x * (0.0f + (x * (0.0f + (x * 0.0f))))))))))))))))))); + } else { + ix = 1.0f / x; + s1 = -6.8115e-10f + (ix * (2.852253e-8f + (ix * (-6.794656e-7f + (ix * (0.00214559f + (ix * (0.02901579f + (ix * (0.1428695f + (ix * (0.3377855f + (ix * (0.3870797f + (ix * (0.1170302f + (ix * (-0.163794f + (ix * -0.1311028f))))))))))))))))))); + s2 = 0.0f + (ix * (0.0f + (ix * (0.0f + (ix * (0.01105924f + (ix * (0.1522643f + (ix * (0.8488543f + (ix * (2.593019f + (ix * (4.778466f + (ix * (5.381683f + (ix * (3.466254f + (ix * 1.0f))))))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p3q3 + +// BEGIN: rational_p4q4 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p4q4( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.035035375f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.035035375f + (x * (-0.0022242649f + (x * (0.01855733f + (x * (0.0095080472f + (x * (0.001871235f + (x * (0.00015754459f + (x * (4.6046991e-10f + (x * 2.6633921e-12f))))))))))))); + s2 = 1.0f + (x * (1.365335f + (x * (0.7620592f + (x * (0.2200911f + (x * (0.03415891f + (x * (0.002638617f + (x * (0.0f + (x * 0.0f))))))))))))); + } else { + ix = 1.0f / x; + s1 = 2.6633921e-12f + (ix * (4.6046991e-10f + (ix * (0.00015754459f + (ix * (0.001871235f + (ix * (0.0095080472f + (ix * (0.01855733f + (ix * (-0.0022242649f + (ix * -0.035035375f))))))))))))); + s2 = 0.0f + (ix * (0.0f + (ix * (0.002638617f + (ix * (0.03415891f + (ix * (0.2200911f + (ix * (0.7620592f + (ix * (1.365335f + (ix * 1.0f))))))))))))); + } + return s1 / s2; +} + +// END: rational_p4q4 + +// BEGIN: rational_p5q5 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p5q5( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.0167431005f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.0167431005f + (x * (-0.0011295144f + (x * (0.0010562886f + (x * (0.0002093863f + (x * (0.0000149625f + (x * (4.497e-7f + (x * (4.6e-9f + (x * (-2.8112874e-14f + (x * 9.905571e-17f))))))))))))))); + s2 = 1.0f + (x * (0.59142934f + (x * (0.13815187f + (x * (0.016074609f + (x * (0.0009640118f + (x * (0.0000275335f + (x * (2.822e-7f + (x * (0.0f + (x * 0.0f))))))))))))))); + } else { + ix = 1.0f / x; + s1 = 9.905571e-17f + (ix * (-2.8112874e-14f + (ix * (4.6e-9f + (ix * (4.497e-7f + (ix * (0.0000149625f + (ix * (0.0002093863f + (ix * (0.0010562886f + (ix * (-0.0011295144f + (ix * -0.0167431005f))))))))))))))); + s2 = 0.0f + (ix * (0.0f + (ix * (2.822e-7f + (ix * (0.0000275335f + (ix * (0.0009640118f + (ix * (0.016074609f + (ix * (0.13815187f + (ix * (0.59142934f + (ix * 1.0f))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p5q5 + +/* End auto-generated functions. */ + +/** +* Evaluates the inverse error function (single-precision). +* +* @param x input value +* @return output value +* +* @example +* float y = stdlib_base_erfinvf( 0.5f ); +* // returns ~0.4769f +*/ +float stdlib_base_erfinvf( const float x ) { + float sign; + float ax; + float qs; + float q; + float g; + float r; + + // Special case: NaN + if ( stdlib_base_is_nanf( x ) ) { + return 0.0f / 0.0f; // NaN + } + // Special case: 1 + if ( x == 1.0f ) { + return STDLIB_CONSTANT_FLOAT32_PINF; + } + // Special case: -1 + if ( x == -1.0f ) { + return STDLIB_CONSTANT_FLOAT32_NINF; + } + // Special case: +-0 + if ( x == 0.0f ) { + return x; + } + // Special case: |x| > 1 (range error) + if ( x > 1.0f || x < -1.0f ) { + return 0.0f / 0.0f; // NaN + } + // Argument reduction (reduce to interval [0,1]). If `x` is negative, we can safely negate the value, taking advantage of the error function being an odd function; i.e., `erf(-x) = -erf(x)`. + if ( x < 0.0f ) { + sign = -1.0f; + ax = -x; + } else { + sign = 1.0f; + ax = x; + } + q = 1.0f - ax; + + // |x| <= 0.5 + if ( ax <= 0.5f ) { + g = ax * ( ax + 10.0f ); + r = rational_p1q1( ax ); + return sign * ( ( g * Y1 ) + ( g * r ) ); + } + // 1-|x| >= 0.25 + if ( q >= 0.25f ) { + g = stdlib_base_sqrtf( -2.0f * stdlib_base_lnf( q ) ); + q -= 0.25f; + r = rational_p2q2( q ); + return sign * ( g / ( Y2 + r ) ); + } + q = stdlib_base_sqrtf( -stdlib_base_lnf( q ) ); + + // q < 3 + if ( q < 3.0f ) { + qs = q - 1.125f; + r = rational_p3q3( qs ); + return sign * ( ( Y3 * q ) + ( r * q ) ); + } + // q < 6 + if ( q < 6.0f ) { + qs = q - 3.0f; + r = rational_p4q4( qs ); + return sign * ( ( Y4 * q ) + ( r * q ) ); + } + // q < 18 + qs = q - 6.0f; + r = rational_p5q5( qs ); + return sign * ( ( Y5 * q ) + ( r * q ) ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..06bfe7391215 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/REQUIRE @@ -0,0 +1,3 @@ +julia 1.5 +JSON 0.21 +SpecialFunctions 0.10.3 diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl new file mode 100644 index 000000000000..905a878e2258 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl @@ -0,0 +1,86 @@ +#!/usr/bin/env julia +# +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import JSON +using SpecialFunctions + +""" + gen( domain, name ) + +Generate fixture data and write to file. + +# Arguments + +* `domain`: domain +* `name::AbstractString`: output filename + +# Examples + +``` julia +julia> x = range( -0.99, stop = 0.99, length = 2003 ); +julia> gen( x, \"data.json\" ); +``` +""" +function gen( domain, name ) + x = collect( Float32.( domain ) ); + y = Float32.( erfinv.( x ) ); + + # Store data to be written to file as a collection: + data = Dict([ + ("x", x), + ("expected", y) + ]); + + # Based on the script directory, create an output filepath: + filepath = joinpath( dir, name ); + + # Write the data to the output filepath as JSON: + outfile = open( filepath, "w" ); + write( outfile, JSON.json(data) ); + write( outfile, "\n" ); + close( outfile ); +end + +# Get the filename: +file = @__FILE__; + +# Extract the directory in which this file resides: +dir = dirname( file ); + +# |x| <= 0.5 +x = range( -0.5, stop = 0.5, length = 3000 ); +gen( x, "x_-0.5_0.5.json" ); + +# 1-|x| > 0.25 +x = range( 0.5, stop = 0.75, length = 500 ); +gen( x, "x_0.5_0.75.json" ); + +x = range( -0.5, stop = -0.75, length = 500 ); +gen( x, "x_-0.5_-0.75.json" ); + +# 0.75 < |x| < 0.9998765901959134 +x = range( 0.75, stop = 0.9998, length = 500 ); +gen( x, "x_0.75_0.9998.json" ); + +# 0.9998765901959134 < |x| < 0.9999999999999998 (adjusted for float32) +x = range( 0.9998, stop = 0.99999, length = 500 ); +gen( x, "x_0.9998_0.9999..8.json" ); + +# 0.99999 < |x| < 1 (adjusted for float32) +x = range( 0.99999, stop = 0.999999, length = 500 ); +gen( x, "x_0.9999..8_1.json" ); diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_-0.75.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_-0.75.json new file mode 100644 index 000000000000..f2dc7de622cb --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_-0.75.json @@ -0,0 +1 @@ +{"expected":[-0.47693625,-0.47749382,-0.47805166,-0.4786098,-0.47916833,-0.479727,-0.48028612,-0.48084542,-0.48140505,-0.48196504,-0.48252526,-0.4830858,-0.4836467,-0.48420784,-0.4847693,-0.48533106,-0.4858932,-0.48645556,-0.48701832,-0.48758128,-0.48814455,-0.48870823,-0.48927212,-0.48983636,-0.4904009,-0.49096584,-0.49153104,-0.49209648,-0.49266234,-0.4932284,-0.49379492,-0.49436164,-0.49492872,-0.49549612,-0.4960639,-0.49663186,-0.49720025,-0.49776888,-0.49833792,-0.4989072,-0.4994769,-0.50004685,-0.5006172,-0.50118774,-0.5017587,-0.50233006,-0.5029017,-0.50347364,-0.5040459,-0.5046185,-0.5051914,-0.5057646,-0.50633824,-0.5069122,-0.50748646,-0.50806093,-0.5086359,-0.5092112,-0.5097868,-0.5103628,-0.510939,-0.51151574,-0.5120926,-0.51266986,-0.5132475,-0.51382554,-0.5144039,-0.5149825,-0.51556146,-0.51614094,-0.5167206,-0.51730067,-0.5178811,-0.5184619,-0.5190429,-0.51962435,-0.5202062,-0.5207884,-0.5213709,-0.52195376,-0.522537,-0.5231205,-0.5237044,-0.5242888,-0.52487344,-0.52545846,-0.5260438,-0.52662945,-0.5272156,-0.5278021,-0.52838886,-0.5289761,-0.5295636,-0.53015155,-0.5307398,-0.5313285,-0.53191745,-0.5325069,-0.5330966,-0.5336867,-0.53427726,-0.53486806,-0.53545934,-0.536051,-0.53664297,-0.5372353,-0.537828,-0.5384212,-0.5390147,-0.5396086,-0.54020286,-0.5407974,-0.54139256,-0.5419879,-0.54258376,-0.5431799,-0.5437765,-0.54437345,-0.54497075,-0.5455685,-0.54616666,-0.5467652,-0.5473641,-0.54796344,-0.54856306,-0.54916316,-0.5497637,-0.55036455,-0.55096585,-0.5515675,-0.55216956,-0.5527721,-0.5533749,-0.55397815,-0.5545819,-0.5551861,-0.5557904,-0.55639535,-0.5570007,-0.5576064,-0.5582126,-0.55881906,-0.55942595,-0.5600334,-0.56064117,-0.5612494,-0.56185794,-0.562467,-0.56307644,-0.56368625,-0.5642965,-0.5649073,-0.5655184,-0.5661299,-0.56674194,-0.56735426,-0.56796706,-0.5685804,-0.569194,-0.5698081,-0.5704226,-0.5710376,-0.571653,-0.5722688,-0.5728851,-0.57350177,-0.5741189,-0.57473654,-0.5753545,-0.5759729,-0.57659185,-0.57721126,-0.5778309,-0.5784511,-0.5790719,-0.57969296,-0.5803145,-0.5809365,-0.581559,-0.58218193,-0.5828053,-0.5834291,-0.5840533,-0.5846781,-0.58530325,-0.58592886,-0.586555,-0.58718157,-0.5878086,-0.588436,-0.58906406,-0.5896924,-0.59032124,-0.5909506,-0.5915804,-0.59221077,-0.59284145,-0.5934728,-0.59410447,-0.5947365,-0.59536916,-0.59600234,-0.59663594,-0.59727,-0.59790456,-0.59853965,-0.59917516,-0.59981114,-0.60044765,-0.60108465,-0.6017222,-0.6023601,-0.60299855,-0.60363746,-0.60427696,-0.60491693,-0.60555726,-0.6061982,-0.60683966,-0.60748166,-0.6081241,-0.60876703,-0.60941035,-0.6100543,-0.61069876,-0.61134374,-0.61198914,-0.61263514,-0.6132816,-0.61392856,-0.61457616,-0.6152242,-0.6158727,-0.6165218,-0.61717135,-0.6178214,-0.6184721,-0.6191232,-0.6197749,-0.6204271,-0.62107986,-0.62173307,-0.6223869,-0.62304115,-0.623696,-0.6243515,-0.62500733,-0.62566376,-0.6263208,-0.62697834,-0.62763655,-0.62829506,-0.6289543,-0.62961406,-0.6302743,-0.63093513,-0.63159645,-0.6322585,-0.6329209,-0.6335839,-0.63424754,-0.6349116,-0.6355764,-0.63624173,-0.6369076,-0.63757396,-0.6382409,-0.6389085,-0.6395765,-0.6402453,-0.6409145,-0.6415844,-0.64225477,-0.6429257,-0.64359736,-0.64426947,-0.6449423,-0.64561546,-0.64628935,-0.6469639,-0.647639,-0.64831465,-0.6489908,-0.6496678,-0.6503452,-0.6510232,-0.65170187,-0.6523811,-0.653061,-0.6537414,-0.6544224,-0.6551041,-0.6557864,-0.6564694,-0.6571528,-0.65783703,-0.6585217,-0.659207,-0.659893,-0.66057956,-0.6612668,-0.66195464,-0.66264313,-0.66333216,-0.6640219,-0.6647123,-0.66540325,-0.66609496,-0.6667872,-0.6674801,-0.6681736,-0.66886777,-0.6695627,-0.6702581,-0.67095435,-0.671651,-0.67234844,-0.67304665,-0.6737453,-0.6744448,-0.67514485,-0.6758455,-0.676547,-0.677249,-0.67795175,-0.6786551,-0.6793592,-0.6800639,-0.6807693,-0.6814754,-0.6821822,-0.6828897,-0.6835978,-0.6843067,-0.68501616,-0.6857264,-0.68643737,-0.6871489,-0.6878612,-0.68857425,-0.6892879,-0.69000226,-0.69071734,-0.6914332,-0.6921497,-0.69286686,-0.69358486,-0.69430345,-0.69502294,-0.695743,-0.6964639,-0.6971854,-0.6979076,-0.69863063,-0.69935435,-0.70007885,-0.70080405,-0.70153,-0.7022567,-0.70298404,-0.7037122,-0.70444113,-0.7051708,-0.7059012,-0.7066323,-0.7073643,-0.708097,-0.7088304,-0.7095646,-0.7102997,-0.7110353,-0.71177185,-0.71250916,-0.7132472,-0.7139861,-0.7147257,-0.715466,-0.7162072,-0.7169492,-0.71769196,-0.7184355,-0.71917987,-0.71992505,-0.720671,-0.7214177,-0.7221653,-0.7229136,-0.7236628,-0.7244129,-0.72516364,-0.72591525,-0.72666776,-0.7274209,-0.7281751,-0.72893,-0.72968566,-0.73044235,-0.73119974,-0.7319581,-0.7327171,-0.7334771,-0.73423785,-0.7349995,-0.73576206,-0.7365254,-0.7372897,-0.73805475,-0.7388207,-0.73958755,-0.74035513,-0.74112386,-0.7418932,-0.74266356,-0.7434347,-0.7442068,-0.7449798,-0.74575365,-0.7465285,-0.74730414,-0.74808055,-0.74885815,-0.7496364,-0.75041586,-0.75119597,-0.7519771,-0.7527591,-0.75354195,-0.75432587,-0.75511074,-0.75589645,-0.75668305,-0.7574707,-0.75825924,-0.7590487,-0.7598391,-0.7606305,-0.7614229,-0.7622162,-0.7630104,-0.7638057,-0.7646018,-0.76539904,-0.7661971,-0.7669963,-0.7677964,-0.7685974,-0.7693995,-0.7702025,-0.77100664,-0.77181166,-0.7726176,-0.77342474,-0.7742328,-0.77504194,-0.775852,-0.7766631,-0.77747524,-0.7782883,-0.77910256,-0.7799177,-0.7807341,-0.78155136,-0.78236973,-0.78318906,-0.7840095,-0.78483105,-0.7856536,-0.7864773,-0.787302,-0.7881277,-0.78895456,-0.7897825,-0.79061157,-0.7914416,-0.79227287,-0.7931051,-0.7939385,-0.79477304,-0.7956086,-0.79644537,-0.7972832,-0.7981221,-0.7989623,-0.79980344,-0.8006457,-0.8014893,-0.8023339,-0.8031796,-0.80402654,-0.8048746,-0.8057239,-0.8065743,-0.80742574,-0.80827844,-0.80913246,-0.8099875,-0.8108438,-0.8117013,-0.81256,-0.8134198],"x":[-0.5,-0.500501,-0.501002,-0.501503,-0.502004,-0.502505,-0.50300604,-0.503507,-0.504008,-0.50450903,-0.50501,-0.50551105,-0.506012,-0.506513,-0.50701404,-0.507515,-0.50801605,-0.508517,-0.50901806,-0.50951904,-0.51002,-0.51052105,-0.51102203,-0.51152307,-0.51202404,-0.512525,-0.51302606,-0.51352704,-0.5140281,-0.51452905,-0.5150301,-0.51553106,-0.51603204,-0.5165331,-0.51703405,-0.5175351,-0.51803607,-0.51853704,-0.5190381,-0.51953906,-0.5200401,-0.5205411,-0.5210421,-0.5215431,-0.52204406,-0.5225451,-0.5230461,-0.5235471,-0.5240481,-0.5245491,-0.5250501,-0.5255511,-0.5260521,-0.5265531,-0.52705413,-0.5275551,-0.5280561,-0.5285571,-0.5290581,-0.52955914,-0.5300601,-0.53056115,-0.5310621,-0.5315631,-0.53206414,-0.5325651,-0.53306615,-0.53356713,-0.5340681,-0.53456914,-0.5350701,-0.53557116,-0.53607213,-0.5365732,-0.53707415,-0.5375751,-0.53807616,-0.53857714,-0.5390782,-0.53957915,-0.5400802,-0.54058117,-0.54108214,-0.5415832,-0.54208416,-0.5425852,-0.5430862,-0.54358715,-0.5440882,-0.54458916,-0.5450902,-0.5455912,-0.5460922,-0.5465932,-0.54709417,-0.5475952,-0.5480962,-0.5485972,-0.5490982,-0.5495992,-0.5501002,-0.5506012,-0.5511022,-0.5516032,-0.55210423,-0.5526052,-0.5531062,-0.5536072,-0.5541082,-0.55460924,-0.5551102,-0.5556112,-0.55611223,-0.5566132,-0.55711424,-0.5576152,-0.55811626,-0.55861723,-0.5591182,-0.55961925,-0.5601202,-0.56062126,-0.56112224,-0.5616233,-0.56212425,-0.5626252,-0.56312627,-0.56362724,-0.5641283,-0.56462926,-0.56513023,-0.5656313,-0.56613225,-0.5666333,-0.56713426,-0.5676353,-0.5681363,-0.56863725,-0.5691383,-0.56963927,-0.5701403,-0.5706413,-0.57114226,-0.5716433,-0.57214427,-0.5726453,-0.5731463,-0.5736473,-0.5741483,-0.5746493,-0.5751503,-0.5756513,-0.5761523,-0.5766533,-0.57715434,-0.5776553,-0.5781563,-0.5786573,-0.5791583,-0.57965934,-0.5801603,-0.5806613,-0.58116233,-0.5816633,-0.58216435,-0.5826653,-0.58316636,-0.58366734,-0.5841683,-0.58466935,-0.5851703,-0.58567137,-0.58617234,-0.5866733,-0.58717436,-0.58767533,-0.58817637,-0.58867735,-0.5891784,-0.58967936,-0.59018034,-0.5906814,-0.59118235,-0.5916834,-0.59218436,-0.59268534,-0.5931864,-0.59368736,-0.5941884,-0.59468937,-0.5951904,-0.5956914,-0.59619236,-0.5966934,-0.5971944,-0.5976954,-0.5981964,-0.5986974,-0.5991984,-0.5996994,-0.6002004,-0.6007014,-0.6012024,-0.6017034,-0.6022044,-0.6027054,-0.6032064,-0.60370743,-0.6042084,-0.60470945,-0.6052104,-0.6057114,-0.60621244,-0.6067134,-0.60721445,-0.6077154,-0.6082164,-0.60871744,-0.6092184,-0.60971946,-0.61022043,-0.61072147,-0.61122245,-0.6117234,-0.61222446,-0.61272544,-0.6132265,-0.61372745,-0.6142284,-0.61472946,-0.61523044,-0.6157315,-0.61623245,-0.6167335,-0.61723447,-0.61773545,-0.6182365,-0.61873746,-0.6192385,-0.6197395,-0.6202405,-0.6207415,-0.62124246,-0.6217435,-0.6222445,-0.6227455,-0.6232465,-0.62374747,-0.6242485,-0.6247495,-0.6252505,-0.6257515,-0.62625253,-0.6267535,-0.6272545,-0.6277555,-0.6282565,-0.62875754,-0.6292585,-0.6297595,-0.6302605,-0.6307615,-0.63126254,-0.6317635,-0.63226455,-0.63276553,-0.6332665,-0.63376755,-0.6342685,-0.63476956,-0.63527054,-0.6357716,-0.63627255,-0.6367735,-0.63727456,-0.63777554,-0.6382766,-0.63877755,-0.63927853,-0.63977957,-0.64028054,-0.6407816,-0.64128256,-0.6417836,-0.6422846,-0.64278555,-0.6432866,-0.64378756,-0.6442886,-0.6447896,-0.64529055,-0.6457916,-0.64629257,-0.6467936,-0.6472946,-0.6477956,-0.6482966,-0.6487976,-0.6492986,-0.6497996,-0.6503006,-0.6508016,-0.6513026,-0.6518036,-0.6523046,-0.6528056,-0.6533066,-0.65380764,-0.6543086,-0.6548096,-0.65531063,-0.6558116,-0.65631264,-0.6568136,-0.65731466,-0.65781564,-0.6583166,-0.65881765,-0.6593186,-0.65981966,-0.66032064,-0.6608216,-0.66132265,-0.66182363,-0.66232467,-0.66282564,-0.6633267,-0.66382766,-0.66432863,-0.6648297,-0.66533065,-0.6658317,-0.66633266,-0.66683364,-0.6673347,-0.66783565,-0.6683367,-0.66883767,-0.6693387,-0.6698397,-0.67034066,-0.6708417,-0.6713427,-0.6718437,-0.6723447,-0.67284566,-0.6733467,-0.6738477,-0.6743487,-0.6748497,-0.6753507,-0.6758517,-0.6763527,-0.6768537,-0.6773547,-0.67785573,-0.6783567,-0.67885774,-0.6793587,-0.6798597,-0.68036073,-0.6808617,-0.68136275,-0.6818637,-0.6823647,-0.68286574,-0.6833667,-0.68386775,-0.6843687,-0.68486977,-0.68537074,-0.6858717,-0.68637276,-0.68687373,-0.6873748,-0.68787575,-0.6883767,-0.68887776,-0.68937874,-0.6898798,-0.69038075,-0.6908818,-0.69138277,-0.69188374,-0.6923848,-0.69288576,-0.6933868,-0.69388777,-0.6943888,-0.6948898,-0.69539076,-0.6958918,-0.6963928,-0.6968938,-0.6973948,-0.69789577,-0.6983968,-0.6988978,-0.6993988,-0.6998998,-0.7004008,-0.7009018,-0.7014028,-0.7019038,-0.7024048,-0.70290583,-0.7034068,-0.7039078,-0.7044088,-0.7049098,-0.70541084,-0.7059118,-0.70641285,-0.7069138,-0.7074148,-0.70791584,-0.7084168,-0.70891786,-0.70941883,-0.7099198,-0.71042085,-0.7109218,-0.71142286,-0.71192384,-0.7124249,-0.71292585,-0.7134268,-0.71392787,-0.71442884,-0.7149299,-0.71543086,-0.7159319,-0.71643287,-0.71693385,-0.7174349,-0.71793586,-0.7184369,-0.7189379,-0.71943885,-0.7199399,-0.72044086,-0.7209419,-0.7214429,-0.7219439,-0.7224449,-0.72294587,-0.7234469,-0.7239479,-0.7244489,-0.7249499,-0.7254509,-0.7259519,-0.7264529,-0.7269539,-0.7274549,-0.72795594,-0.7284569,-0.7289579,-0.7294589,-0.7299599,-0.73046094,-0.7309619,-0.73146296,-0.73196393,-0.7324649,-0.73296595,-0.7334669,-0.73396796,-0.73446894,-0.7349699,-0.73547095,-0.7359719,-0.73647296,-0.73697394,-0.737475,-0.73797596,-0.73847693,-0.73897797,-0.73947895,-0.73998,-0.74048096,-0.74098194,-0.741483,-0.74198395,-0.742485,-0.74298596,-0.743487,-0.743988,-0.74448895,-0.74499,-0.74549097,-0.745992,-0.746493,-0.74699396,-0.747495,-0.747996,-0.748497,-0.748998,-0.749499,-0.75]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_0.5.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_0.5.json new file mode 100644 index 000000000000..f289ee90681d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_-0.5_0.5.json @@ -0,0 +1 @@ +{"expected":[-0.47693625,-0.4765653,-0.47619456,-0.47582385,-0.47545338,-0.47508296,-0.47471273,-0.47434255,-0.4739726,-0.47360265,-0.47323292,-0.47286335,-0.47249383,-0.4721245,-0.4717552,-0.47138613,-0.47101715,-0.4706483,-0.4702796,-0.46991104,-0.4695426,-0.46917424,-0.468806,-0.46843797,-0.46807,-0.46770215,-0.46733445,-0.46696684,-0.46659943,-0.4662321,-0.46586493,-0.46549782,-0.46513093,-0.4647641,-0.46439737,-0.46403083,-0.46366438,-0.46329805,-0.46293184,-0.46256575,-0.46219984,-0.46183404,-0.46146834,-0.46110275,-0.4607373,-0.46037194,-0.46000674,-0.45964164,-0.4592767,-0.45891184,-0.45854715,-0.4581825,-0.4578181,-0.4574537,-0.45708945,-0.45672536,-0.4563614,-0.45599747,-0.45563376,-0.45527014,-0.45490658,-0.45454323,-0.45418,-0.4538168,-0.45345378,-0.4530909,-0.45272803,-0.45236546,-0.45200285,-0.4516405,-0.4512781,-0.450916,-0.45055383,-0.45019192,-0.44983006,-0.44946826,-0.44910672,-0.4487452,-0.44838387,-0.4480226,-0.44766146,-0.44730046,-0.4469396,-0.44657874,-0.44621807,-0.4458575,-0.44549713,-0.4451368,-0.44477656,-0.4444165,-0.44405648,-0.44369665,-0.44333687,-0.44297725,-0.44261774,-0.44225833,-0.44189903,-0.4415399,-0.44118077,-0.4408219,-0.440463,-0.4401043,-0.4397457,-0.4393872,-0.4390288,-0.43867055,-0.43831238,-0.4379544,-0.43759644,-0.43723863,-0.43688092,-0.43652332,-0.43616578,-0.43580842,-0.43545115,-0.43509403,-0.434737,-0.43438008,-0.43402323,-0.4336666,-0.43330994,-0.43295348,-0.4325971,-0.4322408,-0.43188468,-0.43152857,-0.43117264,-0.4308168,-0.4304611,-0.4301055,-0.42975,-0.4293946,-0.4290393,-0.42868412,-0.42832908,-0.42797413,-0.4276193,-0.42726448,-0.42690983,-0.42655534,-0.4262009,-0.42584658,-0.42549238,-0.4251383,-0.42478427,-0.4244304,-0.4240766,-0.42372292,-0.4233694,-0.42301595,-0.42266256,-0.42230925,-0.42195615,-0.42160308,-0.4212502,-0.42089733,-0.42054462,-0.42019194,-0.41983947,-0.41948706,-0.4191347,-0.41878256,-0.41843042,-0.41807842,-0.41772652,-0.4173747,-0.417023,-0.41667145,-0.41632,-0.41596863,-0.4156173,-0.41526616,-0.41491506,-0.4145641,-0.41421318,-0.41386247,-0.41351178,-0.4131612,-0.41281077,-0.4124604,-0.41211015,-0.41176,-0.41140994,-0.41106,-0.41071016,-0.41036034,-0.41001073,-0.40966114,-0.40931168,-0.40896237,-0.40861306,-0.4082639,-0.40791485,-0.40756592,-0.4072171,-0.4068683,-0.40651962,-0.40617108,-0.4058226,-0.4054743,-0.405126,-0.40477782,-0.40442976,-0.4040818,-0.4037339,-0.40338615,-0.40303847,-0.40269086,-0.40234342,-0.40199602,-0.40164873,-0.40130156,-0.40095446,-0.40060747,-0.40026054,-0.39991373,-0.39956704,-0.39922044,-0.3988739,-0.3985275,-0.39818117,-0.39783493,-0.3974888,-0.3971428,-0.3967968,-0.39645094,-0.3961052,-0.39575955,-0.39541396,-0.3950685,-0.39472315,-0.39437783,-0.39403266,-0.39368755,-0.39334258,-0.39299765,-0.39265284,-0.3923081,-0.39196348,-0.39161897,-0.3912745,-0.39093018,-0.3905859,-0.39024177,-0.38989767,-0.38955373,-0.38920978,-0.38886604,-0.3885223,-0.38817865,-0.38783517,-0.3874917,-0.38714844,-0.38680512,-0.386462,-0.38611895,-0.385776,-0.3854331,-0.38509032,-0.3847476,-0.38440505,-0.3840625,-0.38372,-0.3833777,-0.38303545,-0.38269332,-0.38235122,-0.38200924,-0.38166732,-0.38132557,-0.38098386,-0.38064224,-0.38030064,-0.37995923,-0.37961787,-0.3792766,-0.37893546,-0.37859428,-0.37825334,-0.3779124,-0.3775716,-0.37723085,-0.3768902,-0.3765496,-0.3762092,-0.37586874,-0.37552842,-0.3751882,-0.3748481,-0.37450805,-0.37416807,-0.37382823,-0.37348843,-0.3731487,-0.3728091,-0.37246957,-0.37213016,-0.3717908,-0.37145153,-0.37111232,-0.37077323,-0.3704342,-0.37009528,-0.36975643,-0.3694177,-0.36907896,-0.36874044,-0.3684019,-0.3680635,-0.36772516,-0.3673869,-0.36704877,-0.36671063,-0.36637267,-0.36603475,-0.3656969,-0.36535916,-0.3650215,-0.3646839,-0.36434644,-0.36400896,-0.36367166,-0.3633344,-0.3629972,-0.36266017,-0.3623231,-0.36198622,-0.3616494,-0.36131263,-0.36097595,-0.36063936,-0.36030284,-0.3599664,-0.35963008,-0.3592938,-0.35895765,-0.3586215,-0.35828546,-0.35794953,-0.35761368,-0.35727787,-0.3569422,-0.35660657,-0.35627106,-0.35593557,-0.3556002,-0.3552649,-0.3549297,-0.35459453,-0.35425946,-0.3539245,-0.35358956,-0.3532548,-0.35292003,-0.35258538,-0.35225075,-0.3519163,-0.3515818,-0.35124752,-0.35091323,-0.35057905,-0.35024494,-0.34991089,-0.34957692,-0.34924304,-0.34890923,-0.3485755,-0.34824187,-0.3479083,-0.3475748,-0.34724137,-0.3469081,-0.34657478,-0.3462416,-0.34590852,-0.34557548,-0.34524253,-0.34490964,-0.34457687,-0.34424412,-0.34391147,-0.3435789,-0.3432464,-0.342914,-0.34258166,-0.34224936,-0.34191722,-0.34158507,-0.34125298,-0.34092107,-0.34058917,-0.34025738,-0.3399256,-0.33959392,-0.33926234,-0.33893082,-0.33859938,-0.33826804,-0.33793673,-0.3376055,-0.33727437,-0.33694327,-0.33661228,-0.33628136,-0.33595052,-0.33561972,-0.33528906,-0.33495837,-0.33462787,-0.33429736,-0.33396694,-0.3336366,-0.3333063,-0.33297616,-0.33264604,-0.332316,-0.331986,-0.33165613,-0.3313263,-0.3309965,-0.3306668,-0.3303372,-0.33000767,-0.3296782,-0.3293488,-0.32901946,-0.3286902,-0.32836103,-0.3280319,-0.32770285,-0.3273739,-0.327045,-0.32671615,-0.3263874,-0.32605875,-0.3257301,-0.32540154,-0.32507306,-0.32474464,-0.3244163,-0.324088,-0.32375988,-0.32343173,-0.32310367,-0.32277566,-0.32244775,-0.3221199,-0.32179216,-0.3214644,-0.3211367,-0.3208092,-0.32048166,-0.32015425,-0.31982687,-0.31949958,-0.31917235,-0.31884518,-0.31851804,-0.31819108,-0.3178641,-0.31753722,-0.31721038,-0.3168836,-0.3165569,-0.3162303,-0.31590375,-0.31557727,-0.31525087,-0.31492448,-0.3145982,-0.314272,-0.31394586,-0.31361976,-0.31329376,-0.31296778,-0.3126419,-0.31231612,-0.31199032,-0.31166467,-0.31133905,-0.31101352,-0.310688,-0.3103626,-0.31003723,-0.30971193,-0.30938673,-0.30906156,-0.30873647,-0.30841142,-0.30808645,-0.30776158,-0.30743676,-0.30711195,-0.30678728,-0.30646262,-0.30613804,-0.30581355,-0.30548912,-0.30516475,-0.3048404,-0.30451617,-0.30419195,-0.30386785,-0.30354378,-0.3032198,-0.30289584,-0.30257198,-0.30224815,-0.30192444,-0.30160072,-0.30127716,-0.3009536,-0.30063006,-0.30030665,-0.29998326,-0.29966,-0.29933673,-0.29901358,-0.29869047,-0.2983674,-0.29804444,-0.29772153,-0.2973986,-0.29707584,-0.29675308,-0.2964304,-0.29610777,-0.29578522,-0.29546273,-0.2951403,-0.29481792,-0.2944956,-0.29417336,-0.29385117,-0.29352906,-0.29320696,-0.29288498,-0.29256302,-0.29224113,-0.29191935,-0.29159755,-0.29127586,-0.2909542,-0.29063264,-0.2903111,-0.28998965,-0.28966823,-0.28934693,-0.28902563,-0.28870437,-0.28838325,-0.28806213,-0.28774107,-0.2874201,-0.28709918,-0.28677827,-0.28645748,-0.28613678,-0.28581607,-0.28549543,-0.28517482,-0.28485432,-0.28453386,-0.28421348,-0.2838931,-0.28357288,-0.28325263,-0.2829325,-0.28261235,-0.28229234,-0.28197232,-0.2816524,-0.28133252,-0.28101268,-0.28069293,-0.28037325,-0.2800536,-0.279734,-0.2794145,-0.279095,-0.2787756,-0.2784562,-0.27813694,-0.27781767,-0.27749848,-0.27717933,-0.27686027,-0.27654123,-0.27622226,-0.27590337,-0.27558452,-0.27526575,-0.274947,-0.2746283,-0.27430964,-0.27399108,-0.27367255,-0.27335414,-0.27303573,-0.27271733,-0.2723991,-0.2720808,-0.27176264,-0.27144447,-0.27112645,-0.27080843,-0.27049044,-0.27017254,-0.2698547,-0.26953688,-0.26921913,-0.26890147,-0.26858377,-0.26826623,-0.26794866,-0.2676312,-0.26731375,-0.2669964,-0.2666791,-0.2663618,-0.26604462,-0.2657275,-0.26541036,-0.2650933,-0.26477632,-0.26445937,-0.26414248,-0.26382565,-0.26350886,-0.26319215,-0.26287544,-0.26255882,-0.2622423,-0.26192576,-0.26160932,-0.26129287,-0.2609765,-0.2606602,-0.2603439,-0.26002774,-0.25971156,-0.2593955,-0.2590794,-0.25876343,-0.25844747,-0.2581316,-0.25781578,-0.25749996,-0.25718424,-0.2568685,-0.2565529,-0.2562373,-0.25592178,-0.25560626,-0.25529087,-0.25497547,-0.25466016,-0.25434485,-0.25402963,-0.25371447,-0.2533993,-0.25308424,-0.2527692,-0.25245425,-0.2521393,-0.25182444,-0.2515096,-0.25119483,-0.2508801,-0.2505654,-0.25025076,-0.24993622,-0.24962167,-0.24930716,-0.24899274,-0.24867836,-0.24836402,-0.24804974,-0.24773552,-0.24742132,-0.2471072,-0.24679308,-0.24647908,-0.24616505,-0.24585111,-0.2455372,-0.24522339,-0.24490958,-0.24459583,-0.24428213,-0.24396847,-0.24365489,-0.2433413,-0.24302779,-0.24271433,-0.24240091,-0.24208754,-0.24177423,-0.24146096,-0.24114771,-0.24083456,-0.24052142,-0.24020837,-0.2398953,-0.23958232,-0.23926936,-0.23895648,-0.23864362,-0.23833083,-0.23801807,-0.23770535,-0.2373927,-0.2370801,-0.23676755,-0.23645498,-0.23614252,-0.23583007,-0.23551771,-0.23520535,-0.23489307,-0.23458081,-0.23426864,-0.23395647,-0.23364434,-0.23333228,-0.23302026,-0.23270829,-0.23239636,-0.23208448,-0.23177265,-0.23146085,-0.23114909,-0.23083742,-0.23052575,-0.23021415,-0.22990255,-0.22959103,-0.22927955,-0.2289681,-0.22865674,-0.22834536,-0.2280341,-0.22772282,-0.22741163,-0.22710043,-0.22678933,-0.22647825,-0.22616716,-0.22585618,-0.22554523,-0.22523434,-0.22492348,-0.22461264,-0.22430189,-0.22399113,-0.22368044,-0.22336979,-0.22305919,-0.22274864,-0.22243811,-0.22212765,-0.2218172,-0.22150682,-0.2211965,-0.2208862,-0.22057591,-0.22026569,-0.2199555,-0.2196454,-0.21933529,-0.21902524,-0.21871522,-0.21840528,-0.21809535,-0.21778545,-0.21747564,-0.21716583,-0.21685606,-0.21654633,-0.21623667,-0.21592705,-0.21561745,-0.21530789,-0.21499838,-0.21468893,-0.2143795,-0.21407011,-0.21376078,-0.21345147,-0.21314223,-0.21283299,-0.2125238,-0.21221465,-0.21190557,-0.2115965,-0.2112875,-0.21097852,-0.21066956,-0.21036066,-0.21005182,-0.20974298,-0.20943421,-0.20912549,-0.20881678,-0.20850812,-0.2081995,-0.20789093,-0.2075824,-0.20727392,-0.20696543,-0.20665702,-0.20634863,-0.2060403,-0.20573199,-0.20542371,-0.20511548,-0.2048073,-0.20449916,-0.20419104,-0.20388298,-0.20357497,-0.20326695,-0.202959,-0.20265108,-0.20234323,-0.20203538,-0.20172757,-0.2014198,-0.20111208,-0.2008044,-0.20049675,-0.20018913,-0.19988158,-0.19957405,-0.19926654,-0.19895908,-0.19865166,-0.19834428,-0.19803694,-0.19772965,-0.19742234,-0.19711512,-0.19680792,-0.19650075,-0.19619364,-0.19588654,-0.19557951,-0.1952725,-0.19496553,-0.19465859,-0.19435169,-0.19404483,-0.19373798,-0.1934312,-0.19312444,-0.19281772,-0.19251105,-0.19220439,-0.19189778,-0.19159123,-0.19128469,-0.19097817,-0.19067171,-0.19036527,-0.1900589,-0.18975253,-0.18944618,-0.1891399,-0.18883365,-0.18852744,-0.18822126,-0.18791512,-0.18760899,-0.18730293,-0.18699689,-0.18669087,-0.18638492,-0.18607897,-0.18577306,-0.18546721,-0.18516137,-0.18485557,-0.18454982,-0.18424408,-0.18393837,-0.18363273,-0.1833271,-0.18302153,-0.18271597,-0.18241043,-0.18210492,-0.18179947,-0.18149407,-0.18118867,-0.18088332,-0.180578,-0.18027273,-0.17996748,-0.17966224,-0.17935707,-0.17905192,-0.1787468,-0.17844175,-0.17813666,-0.17783165,-0.17752665,-0.1772217,-0.17691678,-0.17661189,-0.17630704,-0.17600222,-0.17569743,-0.17539267,-0.17508796,-0.17478327,-0.1744786,-0.17417398,-0.17386937,-0.17356482,-0.17326032,-0.1729558,-0.17265135,-0.1723469,-0.1720425,-0.17173815,-0.17143379,-0.1711295,-0.17082523,-0.17052096,-0.17021674,-0.16991259,-0.16960844,-0.16930431,-0.16900024,-0.16869618,-0.16839215,-0.16808818,-0.16778421,-0.16748029,-0.1671764,-0.16687252,-0.16656867,-0.16626488,-0.16596109,-0.16565736,-0.16535364,-0.16504996,-0.1647463,-0.16444269,-0.16413908,-0.16383554,-0.163532,-0.1632285,-0.16292502,-0.16262159,-0.16231814,-0.16201478,-0.16171144,-0.16140811,-0.16110483,-0.16080157,-0.16049832,-0.16019511,-0.15989196,-0.15958881,-0.15928568,-0.15898259,-0.15867953,-0.15837651,-0.15807351,-0.15777054,-0.1574676,-0.15716468,-0.15686181,-0.15655896,-0.15625614,-0.15595335,-0.15565056,-0.15534782,-0.1550451,-0.15474242,-0.15443976,-0.15413713,-0.15383455,-0.15353197,-0.15322946,-0.15292694,-0.15262446,-0.15232198,-0.15201956,-0.15171714,-0.15141478,-0.15111242,-0.15081011,-0.15050781,-0.15020554,-0.14990331,-0.1496011,-0.14929892,-0.14899677,-0.14869463,-0.14839256,-0.14809047,-0.14778842,-0.14748639,-0.1471844,-0.14688244,-0.1465805,-0.14627859,-0.1459767,-0.14567484,-0.14537302,-0.14507122,-0.14476943,-0.14446768,-0.14416596,-0.14386424,-0.14356256,-0.14326093,-0.1429593,-0.1426577,-0.14235614,-0.14205459,-0.14175309,-0.14145158,-0.14115012,-0.14084868,-0.14054725,-0.14024587,-0.13994451,-0.13964318,-0.13934185,-0.13904054,-0.1387393,-0.13843806,-0.13813686,-0.13783567,-0.1375345,-0.13723338,-0.13693225,-0.13663115,-0.13633008,-0.13602905,-0.13572805,-0.13542706,-0.13512608,-0.13482514,-0.13452423,-0.13422336,-0.13392249,-0.13362162,-0.13332082,-0.13302001,-0.13271923,-0.13241848,-0.13211776,-0.13181706,-0.1315164,-0.13121577,-0.1309151,-0.13061453,-0.13031393,-0.13001339,-0.12971285,-0.12941234,-0.12911184,-0.12881139,-0.12851095,-0.12821054,-0.12791014,-0.12760974,-0.12730943,-0.1270091,-0.1267088,-0.12640852,-0.12610826,-0.12580805,-0.12550782,-0.12520762,-0.12490746,-0.12460733,-0.1243072,-0.1240071,-0.12370703,-0.12340698,-0.12310696,-0.12280694,-0.12250695,-0.122206986,-0.121907026,-0.121607095,-0.12130721,-0.12100734,-0.120707475,-0.120407656,-0.12010783,-0.11980805,-0.11950827,-0.11920853,-0.11890881,-0.1186091,-0.118309416,-0.11800975,-0.117710106,-0.117410496,-0.11711089,-0.11681131,-0.116511755,-0.11621223,-0.115912706,-0.11561322,-0.11531374,-0.11501429,-0.11471486,-0.11441543,-0.11411605,-0.11381668,-0.11351732,-0.113217995,-0.11291869,-0.112619415,-0.11232014,-0.112020895,-0.111721665,-0.11142245,-0.11112326,-0.110824086,-0.110524945,-0.110225804,-0.1099267,-0.109627604,-0.109328546,-0.10902949,-0.10873046,-0.10843144,-0.10813246,-0.10783347,-0.10753453,-0.10723558,-0.10693667,-0.106637776,-0.106338896,-0.10604004,-0.1057412,-0.105442375,-0.10514358,-0.10484479,-0.10454603,-0.10424727,-0.10394856,-0.10364985,-0.10335116,-0.10305249,-0.10275384,-0.1024552,-0.10215658,-0.10185798,-0.1015594,-0.10126083,-0.10096229,-0.10066377,-0.10036526,-0.10006677,-0.099768296,-0.09946983,-0.09917141,-0.09887298,-0.098574586,-0.098276205,-0.09797784,-0.09767949,-0.09738115,-0.097082846,-0.09678455,-0.096486256,-0.09618801,-0.09588975,-0.09559152,-0.09529332,-0.09499512,-0.09469694,-0.094398774,-0.09410063,-0.09380251,-0.0935044,-0.0932063,-0.092908226,-0.092610165,-0.09231212,-0.09201409,-0.09171608,-0.09141809,-0.09112011,-0.090822145,-0.09052419,-0.09022626,-0.08992835,-0.089630455,-0.089332566,-0.0890347,-0.08873684,-0.08843902,-0.088141195,-0.087843396,-0.087545596,-0.087247826,-0.08695006,-0.08665232,-0.0863546,-0.08605689,-0.085759185,-0.08546151,-0.08516384,-0.0848662,-0.08456856,-0.08427094,-0.08397333,-0.083675735,-0.08337816,-0.0830806,-0.08278305,-0.08248553,-0.08218801,-0.0818905,-0.081593014,-0.081295535,-0.08099807,-0.08070063,-0.0804032,-0.08010578,-0.07980838,-0.079510994,-0.07921362,-0.07891626,-0.07861892,-0.07832158,-0.07802426,-0.07772695,-0.07742966,-0.07713238,-0.076835126,-0.07653788,-0.07624063,-0.0759434,-0.07564619,-0.07534901,-0.07505182,-0.07475465,-0.0744575,-0.07416035,-0.073863216,-0.073566094,-0.073269,-0.07297191,-0.072674826,-0.07237776,-0.07208071,-0.07178368,-0.071486644,-0.07118963,-0.07089262,-0.07059564,-0.07029866,-0.07000169,-0.069704734,-0.06940779,-0.06911087,-0.06881394,-0.068517044,-0.06822016,-0.06792328,-0.06762641,-0.06732955,-0.0670327,-0.06673587,-0.066439055,-0.066142246,-0.06584545,-0.06554866,-0.06525189,-0.06495512,-0.06465837,-0.06436164,-0.064064905,-0.063768186,-0.06347148,-0.063174784,-0.0628781,-0.062581435,-0.06228477,-0.06198812,-0.06169148,-0.06139485,-0.061098233,-0.060801625,-0.06050502,-0.06020844,-0.059911866,-0.059615303,-0.059318747,-0.059022207,-0.058725666,-0.058429148,-0.058132634,-0.057836134,-0.057539638,-0.05724316,-0.056946684,-0.05665022,-0.05635377,-0.056057326,-0.05576089,-0.055464473,-0.05516806,-0.05487166,-0.054575257,-0.054278877,-0.053982504,-0.053686135,-0.053389784,-0.053093437,-0.052797098,-0.05250077,-0.052204456,-0.051908143,-0.051611844,-0.05131555,-0.051019266,-0.050722994,-0.050426733,-0.050130475,-0.04983423,-0.049537994,-0.049241766,-0.04894554,-0.048649333,-0.048353128,-0.04805693,-0.047760747,-0.047464572,-0.047168396,-0.04687224,-0.046576083,-0.046279933,-0.045983803,-0.04568767,-0.045391552,-0.04509544,-0.04479933,-0.044503234,-0.04420715,-0.043911066,-0.043614987,-0.043318924,-0.04302286,-0.042726815,-0.04243077,-0.042134732,-0.041838706,-0.041542687,-0.04124667,-0.040950663,-0.040654656,-0.04035867,-0.040062692,-0.039766703,-0.039470732,-0.039174773,-0.038878813,-0.038582865,-0.038286917,-0.037990976,-0.037695047,-0.037399124,-0.037103206,-0.03680729,-0.036511388,-0.03621549,-0.0359196,-0.03562371,-0.03532783,-0.03503196,-0.034736097,-0.03444023,-0.03414438,-0.033848528,-0.03355268,-0.033256844,-0.03296102,-0.032665193,-0.032369368,-0.032073554,-0.031777747,-0.03148194,-0.031186145,-0.030890353,-0.030594563,-0.030298784,-0.030003008,-0.029707236,-0.02941147,-0.029115712,-0.028819954,-0.028524203,-0.028228458,-0.027932718,-0.027636983,-0.02734125,-0.027045526,-0.026749805,-0.026454091,-0.026158376,-0.025862668,-0.025566967,-0.025271265,-0.024975572,-0.024679886,-0.024384197,-0.024088517,-0.023792842,-0.023497166,-0.023201495,-0.02290583,-0.022610174,-0.022314519,-0.022018865,-0.021723216,-0.021427572,-0.021131929,-0.02083629,-0.020540657,-0.020245029,-0.019949399,-0.019653777,-0.019358156,-0.019062538,-0.018766927,-0.018471317,-0.01817571,-0.017880106,-0.017584506,-0.01728891,-0.016993314,-0.016697723,-0.016402137,-0.016106548,-0.015810966,-0.015515385,-0.015219807,-0.014924235,-0.014628664,-0.014333091,-0.014037527,-0.013741962,-0.013446399,-0.013150839,-0.012855283,-0.012559727,-0.012264175,-0.011968624,-0.011673075,-0.011377528,-0.011081983,-0.01078644,-0.010490899,-0.01019536,-0.009899823,-0.009604287,-0.0093087545,-0.009013221,-0.0087176915,-0.008422161,-0.008126634,-0.007831107,-0.0075355833,-0.0072400603,-0.0069445367,-0.0066490155,-0.006353495,-0.006057977,-0.005762459,-0.005466942,-0.0051714266,-0.0048759114,-0.0045803976,-0.004284884,-0.003989372,-0.00369386,-0.003398349,-0.003102838,-0.002807328,-0.002511819,-0.0022163098,-0.0019208009,-0.0016252925,-0.0013297843,-0.0010342764,-0.0007387688,-0.0004432612,-0.00014775373,0.00014775373,0.0004432612,0.0007387688,0.0010342764,0.0013297843,0.0016252925,0.0019208009,0.0022163098,0.002511819,0.002807328,0.003102838,0.003398349,0.00369386,0.003989372,0.004284884,0.0045803976,0.0048759114,0.0051714266,0.005466942,0.005762459,0.006057977,0.006353495,0.0066490155,0.0069445367,0.0072400603,0.0075355833,0.007831107,0.008126634,0.008422161,0.0087176915,0.009013221,0.0093087545,0.009604287,0.009899823,0.01019536,0.010490899,0.01078644,0.011081983,0.011377528,0.011673075,0.011968624,0.012264175,0.012559727,0.012855283,0.013150839,0.013446399,0.013741962,0.014037527,0.014333091,0.014628664,0.014924235,0.015219807,0.015515385,0.015810966,0.016106548,0.016402137,0.016697723,0.016993314,0.01728891,0.017584506,0.017880106,0.01817571,0.018471317,0.018766927,0.019062538,0.019358156,0.019653777,0.019949399,0.020245029,0.020540657,0.02083629,0.021131929,0.021427572,0.021723216,0.022018865,0.022314519,0.022610174,0.02290583,0.023201495,0.023497166,0.023792842,0.024088517,0.024384197,0.024679886,0.024975572,0.025271265,0.025566967,0.025862668,0.026158376,0.026454091,0.026749805,0.027045526,0.02734125,0.027636983,0.027932718,0.028228458,0.028524203,0.028819954,0.029115712,0.02941147,0.029707236,0.030003008,0.030298784,0.030594563,0.030890353,0.031186145,0.03148194,0.031777747,0.032073554,0.032369368,0.032665193,0.03296102,0.033256844,0.03355268,0.033848528,0.03414438,0.03444023,0.034736097,0.03503196,0.03532783,0.03562371,0.0359196,0.03621549,0.036511388,0.03680729,0.037103206,0.037399124,0.037695047,0.037990976,0.038286917,0.038582865,0.038878813,0.039174773,0.039470732,0.039766703,0.040062692,0.04035867,0.040654656,0.040950663,0.04124667,0.041542687,0.041838706,0.042134732,0.04243077,0.042726815,0.04302286,0.043318924,0.043614987,0.043911066,0.04420715,0.044503234,0.04479933,0.04509544,0.045391552,0.04568767,0.045983803,0.046279933,0.046576083,0.04687224,0.047168396,0.047464572,0.047760747,0.04805693,0.048353128,0.048649333,0.04894554,0.049241766,0.049537994,0.04983423,0.050130475,0.050426733,0.050722994,0.051019266,0.05131555,0.051611844,0.051908143,0.052204456,0.05250077,0.052797098,0.053093437,0.053389784,0.053686135,0.053982504,0.054278877,0.054575257,0.05487166,0.05516806,0.055464473,0.05576089,0.056057326,0.05635377,0.05665022,0.056946684,0.05724316,0.057539638,0.057836134,0.058132634,0.058429148,0.058725666,0.059022207,0.059318747,0.059615303,0.059911866,0.06020844,0.06050502,0.060801625,0.061098233,0.06139485,0.06169148,0.06198812,0.06228477,0.062581435,0.0628781,0.063174784,0.06347148,0.063768186,0.064064905,0.06436164,0.06465837,0.06495512,0.06525189,0.06554866,0.06584545,0.066142246,0.066439055,0.06673587,0.0670327,0.06732955,0.06762641,0.06792328,0.06822016,0.068517044,0.06881394,0.06911087,0.06940779,0.069704734,0.07000169,0.07029866,0.07059564,0.07089262,0.07118963,0.071486644,0.07178368,0.07208071,0.07237776,0.072674826,0.07297191,0.073269,0.073566094,0.073863216,0.07416035,0.0744575,0.07475465,0.07505182,0.07534901,0.07564619,0.0759434,0.07624063,0.07653788,0.076835126,0.07713238,0.07742966,0.07772695,0.07802426,0.07832158,0.07861892,0.07891626,0.07921362,0.079510994,0.07980838,0.08010578,0.0804032,0.08070063,0.08099807,0.081295535,0.081593014,0.0818905,0.08218801,0.08248553,0.08278305,0.0830806,0.08337816,0.083675735,0.08397333,0.08427094,0.08456856,0.0848662,0.08516384,0.08546151,0.085759185,0.08605689,0.0863546,0.08665232,0.08695006,0.087247826,0.087545596,0.087843396,0.088141195,0.08843902,0.08873684,0.0890347,0.089332566,0.089630455,0.08992835,0.09022626,0.09052419,0.090822145,0.09112011,0.09141809,0.09171608,0.09201409,0.09231212,0.092610165,0.092908226,0.0932063,0.0935044,0.09380251,0.09410063,0.094398774,0.09469694,0.09499512,0.09529332,0.09559152,0.09588975,0.09618801,0.096486256,0.09678455,0.097082846,0.09738115,0.09767949,0.09797784,0.098276205,0.098574586,0.09887298,0.09917141,0.09946983,0.099768296,0.10006677,0.10036526,0.10066377,0.10096229,0.10126083,0.1015594,0.10185798,0.10215658,0.1024552,0.10275384,0.10305249,0.10335116,0.10364985,0.10394856,0.10424727,0.10454603,0.10484479,0.10514358,0.105442375,0.1057412,0.10604004,0.106338896,0.106637776,0.10693667,0.10723558,0.10753453,0.10783347,0.10813246,0.10843144,0.10873046,0.10902949,0.109328546,0.109627604,0.1099267,0.110225804,0.110524945,0.110824086,0.11112326,0.11142245,0.111721665,0.112020895,0.11232014,0.112619415,0.11291869,0.113217995,0.11351732,0.11381668,0.11411605,0.11441543,0.11471486,0.11501429,0.11531374,0.11561322,0.115912706,0.11621223,0.116511755,0.11681131,0.11711089,0.117410496,0.117710106,0.11800975,0.118309416,0.1186091,0.11890881,0.11920853,0.11950827,0.11980805,0.12010783,0.120407656,0.120707475,0.12100734,0.12130721,0.121607095,0.121907026,0.122206986,0.12250695,0.12280694,0.12310696,0.12340698,0.12370703,0.1240071,0.1243072,0.12460733,0.12490746,0.12520762,0.12550782,0.12580805,0.12610826,0.12640852,0.1267088,0.1270091,0.12730943,0.12760974,0.12791014,0.12821054,0.12851095,0.12881139,0.12911184,0.12941234,0.12971285,0.13001339,0.13031393,0.13061453,0.1309151,0.13121577,0.1315164,0.13181706,0.13211776,0.13241848,0.13271923,0.13302001,0.13332082,0.13362162,0.13392249,0.13422336,0.13452423,0.13482514,0.13512608,0.13542706,0.13572805,0.13602905,0.13633008,0.13663115,0.13693225,0.13723338,0.1375345,0.13783567,0.13813686,0.13843806,0.1387393,0.13904054,0.13934185,0.13964318,0.13994451,0.14024587,0.14054725,0.14084868,0.14115012,0.14145158,0.14175309,0.14205459,0.14235614,0.1426577,0.1429593,0.14326093,0.14356256,0.14386424,0.14416596,0.14446768,0.14476943,0.14507122,0.14537302,0.14567484,0.1459767,0.14627859,0.1465805,0.14688244,0.1471844,0.14748639,0.14778842,0.14809047,0.14839256,0.14869463,0.14899677,0.14929892,0.1496011,0.14990331,0.15020554,0.15050781,0.15081011,0.15111242,0.15141478,0.15171714,0.15201956,0.15232198,0.15262446,0.15292694,0.15322946,0.15353197,0.15383455,0.15413713,0.15443976,0.15474242,0.1550451,0.15534782,0.15565056,0.15595335,0.15625614,0.15655896,0.15686181,0.15716468,0.1574676,0.15777054,0.15807351,0.15837651,0.15867953,0.15898259,0.15928568,0.15958881,0.15989196,0.16019511,0.16049832,0.16080157,0.16110483,0.16140811,0.16171144,0.16201478,0.16231814,0.16262159,0.16292502,0.1632285,0.163532,0.16383554,0.16413908,0.16444269,0.1647463,0.16504996,0.16535364,0.16565736,0.16596109,0.16626488,0.16656867,0.16687252,0.1671764,0.16748029,0.16778421,0.16808818,0.16839215,0.16869618,0.16900024,0.16930431,0.16960844,0.16991259,0.17021674,0.17052096,0.17082523,0.1711295,0.17143379,0.17173815,0.1720425,0.1723469,0.17265135,0.1729558,0.17326032,0.17356482,0.17386937,0.17417398,0.1744786,0.17478327,0.17508796,0.17539267,0.17569743,0.17600222,0.17630704,0.17661189,0.17691678,0.1772217,0.17752665,0.17783165,0.17813666,0.17844175,0.1787468,0.17905192,0.17935707,0.17966224,0.17996748,0.18027273,0.180578,0.18088332,0.18118867,0.18149407,0.18179947,0.18210492,0.18241043,0.18271597,0.18302153,0.1833271,0.18363273,0.18393837,0.18424408,0.18454982,0.18485557,0.18516137,0.18546721,0.18577306,0.18607897,0.18638492,0.18669087,0.18699689,0.18730293,0.18760899,0.18791512,0.18822126,0.18852744,0.18883365,0.1891399,0.18944618,0.18975253,0.1900589,0.19036527,0.19067171,0.19097817,0.19128469,0.19159123,0.19189778,0.19220439,0.19251105,0.19281772,0.19312444,0.1934312,0.19373798,0.19404483,0.19435169,0.19465859,0.19496553,0.1952725,0.19557951,0.19588654,0.19619364,0.19650075,0.19680792,0.19711512,0.19742234,0.19772965,0.19803694,0.19834428,0.19865166,0.19895908,0.19926654,0.19957405,0.19988158,0.20018913,0.20049675,0.2008044,0.20111208,0.2014198,0.20172757,0.20203538,0.20234323,0.20265108,0.202959,0.20326695,0.20357497,0.20388298,0.20419104,0.20449916,0.2048073,0.20511548,0.20542371,0.20573199,0.2060403,0.20634863,0.20665702,0.20696543,0.20727392,0.2075824,0.20789093,0.2081995,0.20850812,0.20881678,0.20912549,0.20943421,0.20974298,0.21005182,0.21036066,0.21066956,0.21097852,0.2112875,0.2115965,0.21190557,0.21221465,0.2125238,0.21283299,0.21314223,0.21345147,0.21376078,0.21407011,0.2143795,0.21468893,0.21499838,0.21530789,0.21561745,0.21592705,0.21623667,0.21654633,0.21685606,0.21716583,0.21747564,0.21778545,0.21809535,0.21840528,0.21871522,0.21902524,0.21933529,0.2196454,0.2199555,0.22026569,0.22057591,0.2208862,0.2211965,0.22150682,0.2218172,0.22212765,0.22243811,0.22274864,0.22305919,0.22336979,0.22368044,0.22399113,0.22430189,0.22461264,0.22492348,0.22523434,0.22554523,0.22585618,0.22616716,0.22647825,0.22678933,0.22710043,0.22741163,0.22772282,0.2280341,0.22834536,0.22865674,0.2289681,0.22927955,0.22959103,0.22990255,0.23021415,0.23052575,0.23083742,0.23114909,0.23146085,0.23177265,0.23208448,0.23239636,0.23270829,0.23302026,0.23333228,0.23364434,0.23395647,0.23426864,0.23458081,0.23489307,0.23520535,0.23551771,0.23583007,0.23614252,0.23645498,0.23676755,0.2370801,0.2373927,0.23770535,0.23801807,0.23833083,0.23864362,0.23895648,0.23926936,0.23958232,0.2398953,0.24020837,0.24052142,0.24083456,0.24114771,0.24146096,0.24177423,0.24208754,0.24240091,0.24271433,0.24302779,0.2433413,0.24365489,0.24396847,0.24428213,0.24459583,0.24490958,0.24522339,0.2455372,0.24585111,0.24616505,0.24647908,0.24679308,0.2471072,0.24742132,0.24773552,0.24804974,0.24836402,0.24867836,0.24899274,0.24930716,0.24962167,0.24993622,0.25025076,0.2505654,0.2508801,0.25119483,0.2515096,0.25182444,0.2521393,0.25245425,0.2527692,0.25308424,0.2533993,0.25371447,0.25402963,0.25434485,0.25466016,0.25497547,0.25529087,0.25560626,0.25592178,0.2562373,0.2565529,0.2568685,0.25718424,0.25749996,0.25781578,0.2581316,0.25844747,0.25876343,0.2590794,0.2593955,0.25971156,0.26002774,0.2603439,0.2606602,0.2609765,0.26129287,0.26160932,0.26192576,0.2622423,0.26255882,0.26287544,0.26319215,0.26350886,0.26382565,0.26414248,0.26445937,0.26477632,0.2650933,0.26541036,0.2657275,0.26604462,0.2663618,0.2666791,0.2669964,0.26731375,0.2676312,0.26794866,0.26826623,0.26858377,0.26890147,0.26921913,0.26953688,0.2698547,0.27017254,0.27049044,0.27080843,0.27112645,0.27144447,0.27176264,0.2720808,0.2723991,0.27271733,0.27303573,0.27335414,0.27367255,0.27399108,0.27430964,0.2746283,0.274947,0.27526575,0.27558452,0.27590337,0.27622226,0.27654123,0.27686027,0.27717933,0.27749848,0.27781767,0.27813694,0.2784562,0.2787756,0.279095,0.2794145,0.279734,0.2800536,0.28037325,0.28069293,0.28101268,0.28133252,0.2816524,0.28197232,0.28229234,0.28261235,0.2829325,0.28325263,0.28357288,0.2838931,0.28421348,0.28453386,0.28485432,0.28517482,0.28549543,0.28581607,0.28613678,0.28645748,0.28677827,0.28709918,0.2874201,0.28774107,0.28806213,0.28838325,0.28870437,0.28902563,0.28934693,0.28966823,0.28998965,0.2903111,0.29063264,0.2909542,0.29127586,0.29159755,0.29191935,0.29224113,0.29256302,0.29288498,0.29320696,0.29352906,0.29385117,0.29417336,0.2944956,0.29481792,0.2951403,0.29546273,0.29578522,0.29610777,0.2964304,0.29675308,0.29707584,0.2973986,0.29772153,0.29804444,0.2983674,0.29869047,0.29901358,0.29933673,0.29966,0.29998326,0.30030665,0.30063006,0.3009536,0.30127716,0.30160072,0.30192444,0.30224815,0.30257198,0.30289584,0.3032198,0.30354378,0.30386785,0.30419195,0.30451617,0.3048404,0.30516475,0.30548912,0.30581355,0.30613804,0.30646262,0.30678728,0.30711195,0.30743676,0.30776158,0.30808645,0.30841142,0.30873647,0.30906156,0.30938673,0.30971193,0.31003723,0.3103626,0.310688,0.31101352,0.31133905,0.31166467,0.31199032,0.31231612,0.3126419,0.31296778,0.31329376,0.31361976,0.31394586,0.314272,0.3145982,0.31492448,0.31525087,0.31557727,0.31590375,0.3162303,0.3165569,0.3168836,0.31721038,0.31753722,0.3178641,0.31819108,0.31851804,0.31884518,0.31917235,0.31949958,0.31982687,0.32015425,0.32048166,0.3208092,0.3211367,0.3214644,0.32179216,0.3221199,0.32244775,0.32277566,0.32310367,0.32343173,0.32375988,0.324088,0.3244163,0.32474464,0.32507306,0.32540154,0.3257301,0.32605875,0.3263874,0.32671615,0.327045,0.3273739,0.32770285,0.3280319,0.32836103,0.3286902,0.32901946,0.3293488,0.3296782,0.33000767,0.3303372,0.3306668,0.3309965,0.3313263,0.33165613,0.331986,0.332316,0.33264604,0.33297616,0.3333063,0.3336366,0.33396694,0.33429736,0.33462787,0.33495837,0.33528906,0.33561972,0.33595052,0.33628136,0.33661228,0.33694327,0.33727437,0.3376055,0.33793673,0.33826804,0.33859938,0.33893082,0.33926234,0.33959392,0.3399256,0.34025738,0.34058917,0.34092107,0.34125298,0.34158507,0.34191722,0.34224936,0.34258166,0.342914,0.3432464,0.3435789,0.34391147,0.34424412,0.34457687,0.34490964,0.34524253,0.34557548,0.34590852,0.3462416,0.34657478,0.3469081,0.34724137,0.3475748,0.3479083,0.34824187,0.3485755,0.34890923,0.34924304,0.34957692,0.34991089,0.35024494,0.35057905,0.35091323,0.35124752,0.3515818,0.3519163,0.35225075,0.35258538,0.35292003,0.3532548,0.35358956,0.3539245,0.35425946,0.35459453,0.3549297,0.3552649,0.3556002,0.35593557,0.35627106,0.35660657,0.3569422,0.35727787,0.35761368,0.35794953,0.35828546,0.3586215,0.35895765,0.3592938,0.35963008,0.3599664,0.36030284,0.36063936,0.36097595,0.36131263,0.3616494,0.36198622,0.3623231,0.36266017,0.3629972,0.3633344,0.36367166,0.36400896,0.36434644,0.3646839,0.3650215,0.36535916,0.3656969,0.36603475,0.36637267,0.36671063,0.36704877,0.3673869,0.36772516,0.3680635,0.3684019,0.36874044,0.36907896,0.3694177,0.36975643,0.37009528,0.3704342,0.37077323,0.37111232,0.37145153,0.3717908,0.37213016,0.37246957,0.3728091,0.3731487,0.37348843,0.37382823,0.37416807,0.37450805,0.3748481,0.3751882,0.37552842,0.37586874,0.3762092,0.3765496,0.3768902,0.37723085,0.3775716,0.3779124,0.37825334,0.37859428,0.37893546,0.3792766,0.37961787,0.37995923,0.38030064,0.38064224,0.38098386,0.38132557,0.38166732,0.38200924,0.38235122,0.38269332,0.38303545,0.3833777,0.38372,0.3840625,0.38440505,0.3847476,0.38509032,0.3854331,0.385776,0.38611895,0.386462,0.38680512,0.38714844,0.3874917,0.38783517,0.38817865,0.3885223,0.38886604,0.38920978,0.38955373,0.38989767,0.39024177,0.3905859,0.39093018,0.3912745,0.39161897,0.39196348,0.3923081,0.39265284,0.39299765,0.39334258,0.39368755,0.39403266,0.39437783,0.39472315,0.3950685,0.39541396,0.39575955,0.3961052,0.39645094,0.3967968,0.3971428,0.3974888,0.39783493,0.39818117,0.3985275,0.3988739,0.39922044,0.39956704,0.39991373,0.40026054,0.40060747,0.40095446,0.40130156,0.40164873,0.40199602,0.40234342,0.40269086,0.40303847,0.40338615,0.4037339,0.4040818,0.40442976,0.40477782,0.405126,0.4054743,0.4058226,0.40617108,0.40651962,0.4068683,0.4072171,0.40756592,0.40791485,0.4082639,0.40861306,0.40896237,0.40931168,0.40966114,0.41001073,0.41036034,0.41071016,0.41106,0.41140994,0.41176,0.41211015,0.4124604,0.41281077,0.4131612,0.41351178,0.41386247,0.41421318,0.4145641,0.41491506,0.41526616,0.4156173,0.41596863,0.41632,0.41667145,0.417023,0.4173747,0.41772652,0.41807842,0.41843042,0.41878256,0.4191347,0.41948706,0.41983947,0.42019194,0.42054462,0.42089733,0.4212502,0.42160308,0.42195615,0.42230925,0.42266256,0.42301595,0.4233694,0.42372292,0.4240766,0.4244304,0.42478427,0.4251383,0.42549238,0.42584658,0.4262009,0.42655534,0.42690983,0.42726448,0.4276193,0.42797413,0.42832908,0.42868412,0.4290393,0.4293946,0.42975,0.4301055,0.4304611,0.4308168,0.43117264,0.43152857,0.43188468,0.4322408,0.4325971,0.43295348,0.43330994,0.4336666,0.43402323,0.43438008,0.434737,0.43509403,0.43545115,0.43580842,0.43616578,0.43652332,0.43688092,0.43723863,0.43759644,0.4379544,0.43831238,0.43867055,0.4390288,0.4393872,0.4397457,0.4401043,0.440463,0.4408219,0.44118077,0.4415399,0.44189903,0.44225833,0.44261774,0.44297725,0.44333687,0.44369665,0.44405648,0.4444165,0.44477656,0.4451368,0.44549713,0.4458575,0.44621807,0.44657874,0.4469396,0.44730046,0.44766146,0.4480226,0.44838387,0.4487452,0.44910672,0.44946826,0.44983006,0.45019192,0.45055383,0.450916,0.4512781,0.4516405,0.45200285,0.45236546,0.45272803,0.4530909,0.45345378,0.4538168,0.45418,0.45454323,0.45490658,0.45527014,0.45563376,0.45599747,0.4563614,0.45672536,0.45708945,0.4574537,0.4578181,0.4581825,0.45854715,0.45891184,0.4592767,0.45964164,0.46000674,0.46037194,0.4607373,0.46110275,0.46146834,0.46183404,0.46219984,0.46256575,0.46293184,0.46329805,0.46366438,0.46403083,0.46439737,0.4647641,0.46513093,0.46549782,0.46586493,0.4662321,0.46659943,0.46696684,0.46733445,0.46770215,0.46807,0.46843797,0.468806,0.46917424,0.4695426,0.46991104,0.4702796,0.4706483,0.47101715,0.47138613,0.4717552,0.4721245,0.47249383,0.47286335,0.47323292,0.47360265,0.4739726,0.47434255,0.47471273,0.47508296,0.47545338,0.47582385,0.47619456,0.4765653,0.47693625],"x":[-0.5,-0.49966654,-0.4993331,-0.49899966,-0.49866623,-0.49833277,-0.49799934,-0.49766588,-0.49733245,-0.496999,-0.49666557,-0.4963321,-0.49599868,-0.49566522,-0.49533176,-0.49499834,-0.49466488,-0.49433145,-0.493998,-0.49366456,-0.4933311,-0.49299768,-0.49266422,-0.4923308,-0.49199733,-0.49166387,-0.49133044,-0.490997,-0.49066356,-0.4903301,-0.48999667,-0.4896632,-0.4893298,-0.48899633,-0.4886629,-0.48832944,-0.487996,-0.48766255,-0.4873291,-0.48699567,-0.4866622,-0.48632878,-0.48599532,-0.4856619,-0.48532844,-0.484995,-0.48466155,-0.48432812,-0.48399466,-0.48366123,-0.48332778,-0.48299432,-0.4826609,-0.48232743,-0.481994,-0.48166054,-0.48132712,-0.48099366,-0.48066023,-0.48032677,-0.47999334,-0.4796599,-0.47932646,-0.478993,-0.47865954,-0.4783261,-0.47799265,-0.47765923,-0.47732577,-0.47699234,-0.47665888,-0.47632545,-0.475992,-0.47565857,-0.4753251,-0.47499165,-0.47465822,-0.47432476,-0.47399133,-0.47365788,-0.47332445,-0.472991,-0.47265756,-0.4723241,-0.47199067,-0.47165722,-0.4713238,-0.47099033,-0.47065687,-0.47032344,-0.46999,-0.46965656,-0.4693231,-0.46898967,-0.4686562,-0.46832278,-0.46798933,-0.4676559,-0.46732244,-0.466989,-0.46665555,-0.4663221,-0.46598867,-0.4656552,-0.46532178,-0.46498832,-0.4646549,-0.46432143,-0.463988,-0.46365455,-0.46332112,-0.46298766,-0.4626542,-0.46232077,-0.46198732,-0.4616539,-0.46132043,-0.460987,-0.46065354,-0.46032012,-0.45998666,-0.45965323,-0.45931977,-0.45898634,-0.45865288,-0.45831943,-0.457986,-0.45765254,-0.4573191,-0.45698565,-0.45665222,-0.45631877,-0.45598534,-0.45565188,-0.45531845,-0.454985,-0.45465156,-0.4543181,-0.45398465,-0.45365122,-0.45331776,-0.45298433,-0.45265087,-0.45231745,-0.451984,-0.45165056,-0.4513171,-0.45098367,-0.45065022,-0.4503168,-0.44998333,-0.44964987,-0.44931644,-0.44898298,-0.44864956,-0.4483161,-0.44798267,-0.4476492,-0.44731578,-0.44698232,-0.4466489,-0.44631544,-0.44598198,-0.44564855,-0.4453151,-0.44498166,-0.4446482,-0.44431478,-0.44398132,-0.4436479,-0.44331443,-0.442981,-0.44264755,-0.44231412,-0.44198066,-0.4416472,-0.44131377,-0.44098032,-0.4406469,-0.44031343,-0.43998,-0.43964654,-0.4393131,-0.43897966,-0.43864623,-0.43831277,-0.43797934,-0.43764588,-0.43731242,-0.436979,-0.43664554,-0.4363121,-0.43597865,-0.43564522,-0.43531176,-0.43497834,-0.43464488,-0.43431145,-0.433978,-0.43364456,-0.4333111,-0.43297765,-0.43264422,-0.43231076,-0.43197733,-0.43164387,-0.43131045,-0.430977,-0.43064356,-0.4303101,-0.42997667,-0.4296432,-0.42930976,-0.42897633,-0.42864287,-0.42830944,-0.42797598,-0.42764255,-0.4273091,-0.42697567,-0.4266422,-0.42630878,-0.42597532,-0.4256419,-0.42530844,-0.42497498,-0.42464155,-0.4243081,-0.42397466,-0.4236412,-0.42330778,-0.42297432,-0.4226409,-0.42230743,-0.421974,-0.42164055,-0.42130712,-0.42097366,-0.4206402,-0.42030677,-0.4199733,-0.4196399,-0.41930643,-0.418973,-0.41863954,-0.4183061,-0.41797265,-0.41763923,-0.41730577,-0.4169723,-0.41663888,-0.41630542,-0.415972,-0.41563854,-0.4153051,-0.41497165,-0.41463822,-0.41430476,-0.41397133,-0.41363788,-0.41330445,-0.412971,-0.41263753,-0.4123041,-0.41197065,-0.41163722,-0.41130376,-0.41097033,-0.41063687,-0.41030344,-0.40997,-0.40963656,-0.4093031,-0.40896967,-0.4086362,-0.40830275,-0.40796933,-0.40763587,-0.40730244,-0.40696898,-0.40663555,-0.4063021,-0.40596867,-0.4056352,-0.40530178,-0.40496832,-0.4046349,-0.40430143,-0.40396798,-0.40363455,-0.4033011,-0.40296766,-0.4026342,-0.40230078,-0.40196732,-0.4016339,-0.40130043,-0.400967,-0.40063354,-0.4003001,-0.39996666,-0.3996332,-0.39929977,-0.3989663,-0.39863288,-0.39829943,-0.397966,-0.39763254,-0.3972991,-0.39696565,-0.39663222,-0.39629877,-0.3959653,-0.39563188,-0.39529842,-0.394965,-0.39463153,-0.3942981,-0.39396465,-0.39363122,-0.39329776,-0.39296433,-0.39263088,-0.39229745,-0.391964,-0.39163053,-0.3912971,-0.39096364,-0.39063022,-0.39029676,-0.38996333,-0.38962987,-0.38929644,-0.38896298,-0.38862956,-0.3882961,-0.38796264,-0.3876292,-0.38729575,-0.38696232,-0.38662887,-0.38629544,-0.38596198,-0.38562855,-0.3852951,-0.38496166,-0.3846282,-0.38429478,-0.38396132,-0.38362786,-0.38329443,-0.38296098,-0.38262755,-0.3822941,-0.38196066,-0.3816272,-0.38129377,-0.38096032,-0.3806269,-0.38029343,-0.37996,-0.37962654,-0.37929308,-0.37895966,-0.3786262,-0.37829277,-0.3779593,-0.37762588,-0.37729242,-0.376959,-0.37662554,-0.3762921,-0.37595865,-0.37562522,-0.37529176,-0.3749583,-0.37462488,-0.37429142,-0.373958,-0.37362453,-0.3732911,-0.37295765,-0.37262422,-0.37229076,-0.37195733,-0.37162387,-0.37129042,-0.370957,-0.37062353,-0.3702901,-0.36995664,-0.3696232,-0.36928976,-0.36895633,-0.36862287,-0.36828944,-0.36795598,-0.36762255,-0.3672891,-0.36695564,-0.3666222,-0.36628875,-0.36595532,-0.36562186,-0.36528844,-0.36495498,-0.36462155,-0.3642881,-0.36395466,-0.3636212,-0.36328778,-0.36295432,-0.36262086,-0.36228743,-0.36195397,-0.36162055,-0.3612871,-0.36095366,-0.3606202,-0.36028677,-0.3599533,-0.3596199,-0.35928643,-0.358953,-0.35861954,-0.35828608,-0.35795265,-0.3576192,-0.35728577,-0.3569523,-0.35661888,-0.35628542,-0.355952,-0.35561854,-0.3552851,-0.35495165,-0.3546182,-0.35428476,-0.3539513,-0.35361788,-0.35328442,-0.352951,-0.35261753,-0.3522841,-0.35195065,-0.35161722,-0.35128376,-0.35095033,-0.35061687,-0.3502834,-0.34995,-0.34961653,-0.3492831,-0.34894964,-0.3486162,-0.34828275,-0.34794933,-0.34761587,-0.34728244,-0.34694898,-0.34661555,-0.3462821,-0.34594864,-0.3456152,-0.34528175,-0.34494832,-0.34461486,-0.34428144,-0.34394798,-0.34361455,-0.3432811,-0.34294766,-0.3426142,-0.34228075,-0.34194732,-0.34161386,-0.34128043,-0.34094697,-0.34061354,-0.3402801,-0.33994666,-0.3396132,-0.33927977,-0.3389463,-0.33861288,-0.33827943,-0.33794597,-0.33761254,-0.33727908,-0.33694565,-0.3366122,-0.33627877,-0.3359453,-0.33561188,-0.33527842,-0.334945,-0.33461154,-0.3342781,-0.33394465,-0.3336112,-0.33327776,-0.3329443,-0.33261088,-0.33227742,-0.331944,-0.33161053,-0.3312771,-0.33094364,-0.33061022,-0.33027676,-0.32994333,-0.32960987,-0.3292764,-0.32894298,-0.32860953,-0.3282761,-0.32794264,-0.3276092,-0.32727575,-0.32694232,-0.32660887,-0.32627544,-0.32594198,-0.32560852,-0.3252751,-0.32494164,-0.3246082,-0.32427475,-0.32394132,-0.32360786,-0.32327443,-0.32294098,-0.32260755,-0.3222741,-0.32194066,-0.3216072,-0.32127374,-0.32094032,-0.32060686,-0.32027343,-0.31993997,-0.31960654,-0.31927308,-0.31893966,-0.3186062,-0.31827277,-0.3179393,-0.31760588,-0.31727242,-0.31693897,-0.31660554,-0.31627208,-0.31593865,-0.3156052,-0.31527176,-0.3149383,-0.31460488,-0.31427142,-0.313938,-0.31360453,-0.31327108,-0.31293765,-0.3126042,-0.31227076,-0.3119373,-0.31160387,-0.31127042,-0.310937,-0.31060353,-0.3102701,-0.30993664,-0.3096032,-0.30926976,-0.3089363,-0.30860287,-0.3082694,-0.30793598,-0.30760252,-0.3072691,-0.30693564,-0.3066022,-0.30626875,-0.30593532,-0.30560187,-0.30526844,-0.30493498,-0.30460152,-0.3042681,-0.30393463,-0.3036012,-0.30326775,-0.30293432,-0.30260086,-0.30226743,-0.30193397,-0.30160055,-0.3012671,-0.30093366,-0.3006002,-0.30026674,-0.2999333,-0.29959986,-0.29926643,-0.29893297,-0.29859954,-0.29826608,-0.29793265,-0.2975992,-0.29726577,-0.2969323,-0.29659885,-0.29626542,-0.29593197,-0.29559854,-0.29526508,-0.29493165,-0.2945982,-0.29426476,-0.2939313,-0.29359788,-0.29326442,-0.292931,-0.29259753,-0.29226407,-0.29193065,-0.2915972,-0.29126376,-0.2909303,-0.29059687,-0.2902634,-0.28993,-0.28959653,-0.2892631,-0.28892964,-0.2885962,-0.28826275,-0.2879293,-0.28759587,-0.2872624,-0.28692898,-0.28659552,-0.2862621,-0.28592864,-0.2855952,-0.28526175,-0.28492832,-0.28459486,-0.28426144,-0.28392798,-0.28359452,-0.2832611,-0.28292763,-0.2825942,-0.28226075,-0.28192732,-0.28159386,-0.28126043,-0.28092697,-0.28059354,-0.2802601,-0.27992663,-0.2795932,-0.27925974,-0.2789263,-0.27859285,-0.27825943,-0.27792597,-0.27759254,-0.27725908,-0.27692565,-0.2765922,-0.27625877,-0.2759253,-0.27559185,-0.27525842,-0.27492496,-0.27459154,-0.27425808,-0.27392465,-0.2735912,-0.27325776,-0.2729243,-0.27259088,-0.27225742,-0.271924,-0.27159053,-0.27125707,-0.27092364,-0.2705902,-0.27025676,-0.2699233,-0.26958987,-0.2692564,-0.26892298,-0.26858953,-0.2682561,-0.26792264,-0.26758918,-0.26725575,-0.2669223,-0.26658887,-0.2662554,-0.26592198,-0.26558852,-0.2652551,-0.26492164,-0.2645882,-0.26425475,-0.26392132,-0.26358786,-0.2632544,-0.26292098,-0.26258752,-0.2622541,-0.26192063,-0.2615872,-0.26125374,-0.26092032,-0.26058686,-0.26025343,-0.25991997,-0.25958654,-0.25925308,-0.25891963,-0.2585862,-0.25825274,-0.2579193,-0.25758585,-0.25725242,-0.25691897,-0.25658554,-0.25625208,-0.25591865,-0.2555852,-0.25525177,-0.2549183,-0.25458485,-0.25425142,-0.25391796,-0.25358453,-0.25325108,-0.25291765,-0.2525842,-0.25225076,-0.2519173,-0.25158387,-0.25125042,-0.25091696,-0.25058353,-0.25025007,-0.24991664,-0.2495832,-0.24924976,-0.2489163,-0.24858285,-0.24824941,-0.24791597,-0.24758253,-0.24724908,-0.24691564,-0.2465822,-0.24624875,-0.24591531,-0.24558187,-0.24524842,-0.24491498,-0.24458152,-0.24424808,-0.24391463,-0.24358119,-0.24324775,-0.2429143,-0.24258086,-0.24224742,-0.24191397,-0.24158053,-0.24124709,-0.24091364,-0.24058019,-0.24024674,-0.2399133,-0.23957986,-0.23924641,-0.23891297,-0.23857953,-0.23824608,-0.23791264,-0.2375792,-0.23724575,-0.23691231,-0.23657887,-0.23624541,-0.23591197,-0.23557852,-0.23524508,-0.23491164,-0.23457819,-0.23424475,-0.2339113,-0.23357786,-0.23324442,-0.23291098,-0.23257753,-0.23224407,-0.23191063,-0.23157719,-0.23124374,-0.2309103,-0.23057686,-0.23024341,-0.22990997,-0.22957653,-0.22924308,-0.22890964,-0.2285762,-0.22824275,-0.2279093,-0.22757585,-0.22724241,-0.22690897,-0.22657552,-0.22624208,-0.22590864,-0.2255752,-0.22524175,-0.2249083,-0.22457486,-0.22424142,-0.22390796,-0.22357452,-0.22324108,-0.22290763,-0.22257419,-0.22224075,-0.2219073,-0.22157386,-0.22124042,-0.22090697,-0.22057353,-0.22024009,-0.21990663,-0.21957318,-0.21923974,-0.2189063,-0.21857285,-0.21823941,-0.21790597,-0.21757253,-0.21723908,-0.21690564,-0.2165722,-0.21623875,-0.21590531,-0.21557185,-0.2152384,-0.21490496,-0.21457152,-0.21423808,-0.21390463,-0.21357119,-0.21323775,-0.2129043,-0.21257086,-0.21223742,-0.21190397,-0.21157052,-0.21123707,-0.21090363,-0.21057019,-0.21023674,-0.2099033,-0.20956986,-0.20923641,-0.20890297,-0.20856953,-0.20823608,-0.20790264,-0.2075692,-0.20723574,-0.2069023,-0.20656885,-0.20623541,-0.20590197,-0.20556852,-0.20523508,-0.20490164,-0.20456819,-0.20423475,-0.2039013,-0.20356786,-0.2032344,-0.20290096,-0.20256752,-0.20223407,-0.20190063,-0.20156719,-0.20123374,-0.2009003,-0.20056686,-0.20023341,-0.19989997,-0.19956653,-0.19923308,-0.19889963,-0.19856618,-0.19823274,-0.1978993,-0.19756585,-0.19723241,-0.19689897,-0.19656552,-0.19623208,-0.19589864,-0.1955652,-0.19523175,-0.19489829,-0.19456485,-0.1942314,-0.19389796,-0.19356452,-0.19323108,-0.19289763,-0.19256419,-0.19223075,-0.1918973,-0.19156386,-0.19123042,-0.19089697,-0.19056351,-0.19023007,-0.18989663,-0.18956318,-0.18922974,-0.1888963,-0.18856286,-0.18822941,-0.18789597,-0.18756253,-0.18722908,-0.18689564,-0.18656218,-0.18622874,-0.1858953,-0.18556185,-0.1852284,-0.18489496,-0.18456152,-0.18422808,-0.18389463,-0.18356119,-0.18322775,-0.1828943,-0.18256085,-0.1822274,-0.18189396,-0.18156052,-0.18122707,-0.18089363,-0.18056019,-0.18022674,-0.1798933,-0.17955986,-0.17922641,-0.17889297,-0.17855953,-0.17822607,-0.17789263,-0.17755918,-0.17722574,-0.1768923,-0.17655885,-0.17622541,-0.17589197,-0.17555852,-0.17522508,-0.17489164,-0.17455819,-0.17422473,-0.17389129,-0.17355785,-0.1732244,-0.17289096,-0.17255752,-0.17222407,-0.17189063,-0.17155719,-0.17122374,-0.1708903,-0.17055686,-0.17022341,-0.16988996,-0.16955651,-0.16922307,-0.16888963,-0.16855618,-0.16822274,-0.1678893,-0.16755585,-0.16722241,-0.16688897,-0.16655552,-0.16622208,-0.16588862,-0.16555518,-0.16522174,-0.1648883,-0.16455485,-0.1642214,-0.16388796,-0.16355452,-0.16322108,-0.16288763,-0.16255419,-0.16222075,-0.1618873,-0.16155384,-0.1612204,-0.16088696,-0.16055351,-0.16022007,-0.15988663,-0.15955319,-0.15921974,-0.1588863,-0.15855286,-0.15821941,-0.15788597,-0.15755251,-0.15721907,-0.15688562,-0.15655218,-0.15621874,-0.1558853,-0.15555185,-0.15521841,-0.15488496,-0.15455152,-0.15421808,-0.15388463,-0.15355119,-0.15321773,-0.15288429,-0.15255085,-0.1522174,-0.15188396,-0.15155052,-0.15121707,-0.15088363,-0.15055019,-0.15021674,-0.1498833,-0.14954986,-0.1492164,-0.14888296,-0.14854951,-0.14821607,-0.14788263,-0.14754918,-0.14721574,-0.1468823,-0.14654885,-0.14621541,-0.14588197,-0.14554852,-0.14521506,-0.14488162,-0.14454818,-0.14421473,-0.14388129,-0.14354785,-0.1432144,-0.14288096,-0.14254752,-0.14221407,-0.14188063,-0.14154719,-0.14121374,-0.14088029,-0.14054684,-0.1402134,-0.13987996,-0.13954651,-0.13921307,-0.13887963,-0.13854618,-0.13821274,-0.1378793,-0.13754585,-0.13721241,-0.13687895,-0.13654551,-0.13621207,-0.13587862,-0.13554518,-0.13521174,-0.1348783,-0.13454485,-0.1342114,-0.13387796,-0.13354452,-0.13321108,-0.13287763,-0.13254417,-0.13221073,-0.13187729,-0.13154384,-0.1312104,-0.13087696,-0.13054352,-0.13021007,-0.12987663,-0.12954319,-0.12920974,-0.1288763,-0.12854284,-0.1282094,-0.12787595,-0.12754251,-0.12720907,-0.12687562,-0.12654218,-0.12620874,-0.1258753,-0.12554185,-0.12520841,-0.12487496,-0.12454151,-0.12420807,-0.12387463,-0.123541184,-0.12320773,-0.12287429,-0.12254085,-0.1222074,-0.12187396,-0.12154052,-0.121207066,-0.12087362,-0.12054018,-0.120206736,-0.11987329,-0.11953985,-0.1192064,-0.118872955,-0.11853951,-0.11820607,-0.117872626,-0.11753918,-0.11720573,-0.11687229,-0.116538845,-0.1162054,-0.11587196,-0.115538515,-0.11520507,-0.11487162,-0.11453818,-0.114204735,-0.11387129,-0.11353785,-0.113204405,-0.112870954,-0.11253751,-0.11220407,-0.111870624,-0.11153718,-0.11120374,-0.11087029,-0.11053684,-0.1102034,-0.10986996,-0.10953651,-0.10920307,-0.10886962,-0.10853618,-0.10820273,-0.10786929,-0.10753585,-0.1072024,-0.10686896,-0.10653551,-0.106202066,-0.10586862,-0.10553518,-0.105201736,-0.10486829,-0.10453484,-0.1042014,-0.103867956,-0.10353451,-0.10320107,-0.102867626,-0.102534175,-0.10220073,-0.10186729,-0.101533845,-0.1012004,-0.10086696,-0.10053351,-0.100200064,-0.09986662,-0.09953318,-0.099199735,-0.09886629,-0.09853284,-0.0981994,-0.097865954,-0.09753251,-0.09719907,-0.096865624,-0.09653218,-0.09619873,-0.09586529,-0.09553184,-0.0951984,-0.09486496,-0.094531514,-0.09419806,-0.09386462,-0.09353118,-0.09319773,-0.09286429,-0.09253085,-0.092197396,-0.09186395,-0.09153051,-0.091197066,-0.09086362,-0.09053018,-0.09019673,-0.089863285,-0.08952984,-0.0891964,-0.088862956,-0.08852951,-0.08819607,-0.08786262,-0.087529175,-0.08719573,-0.08686229,-0.086528845,-0.0861954,-0.08586195,-0.08552851,-0.085195065,-0.08486162,-0.08452818,-0.084194735,-0.083861284,-0.08352784,-0.0831944,-0.082860954,-0.08252751,-0.08219407,-0.08186062,-0.08152717,-0.08119373,-0.08086029,-0.08052684,-0.0801934,-0.07985995,-0.07952651,-0.07919306,-0.07885962,-0.07852618,-0.07819273,-0.07785929,-0.07752584,-0.077192396,-0.07685895,-0.07652551,-0.076192066,-0.07585862,-0.07552517,-0.07519173,-0.074858285,-0.07452484,-0.0741914,-0.073857956,-0.073524505,-0.07319106,-0.07285762,-0.072524175,-0.07219073,-0.07185729,-0.07152384,-0.071190394,-0.07085695,-0.07052351,-0.070190065,-0.06985662,-0.06952318,-0.06918973,-0.068856284,-0.06852284,-0.0681894,-0.067855954,-0.06752251,-0.06718906,-0.06685562,-0.06652217,-0.06618873,-0.06585529,-0.065521844,-0.06518839,-0.06485495,-0.06452151,-0.06418806,-0.06385462,-0.06352118,-0.063187726,-0.06285428,-0.06252084,-0.062187396,-0.061853953,-0.061520506,-0.061187062,-0.06085362,-0.060520172,-0.06018673,-0.059853286,-0.05951984,-0.059186395,-0.058852952,-0.058519505,-0.05818606,-0.05785262,-0.05751917,-0.057185728,-0.056852285,-0.056518838,-0.056185395,-0.05585195,-0.055518508,-0.05518506,-0.054851618,-0.054518174,-0.054184727,-0.053851284,-0.05351784,-0.053184394,-0.05285095,-0.052517507,-0.05218406,-0.051850617,-0.051517174,-0.051183727,-0.050850283,-0.05051684,-0.050183393,-0.04984995,-0.049516506,-0.04918306,-0.048849616,-0.048516173,-0.048182726,-0.047849283,-0.04751584,-0.047182392,-0.04684895,-0.046515506,-0.046182062,-0.045848615,-0.045515172,-0.04518173,-0.044848282,-0.04451484,-0.044181395,-0.04384795,-0.043514505,-0.04318106,-0.042847615,-0.04251417,-0.04218073,-0.04184728,-0.041513838,-0.041180395,-0.040846948,-0.040513504,-0.04018006,-0.039846614,-0.03951317,-0.039179727,-0.03884628,-0.038512837,-0.038179394,-0.037845947,-0.037512504,-0.03717906,-0.036845617,-0.03651217,-0.036178727,-0.035845283,-0.035511836,-0.035178393,-0.03484495,-0.034511503,-0.03417806,-0.033844616,-0.03351117,-0.033177726,-0.032844283,-0.032510836,-0.032177392,-0.03184395,-0.031510502,-0.031177059,-0.030843614,-0.03051017,-0.030176725,-0.029843282,-0.029509837,-0.029176392,-0.028842948,-0.028509503,-0.028176058,-0.027842615,-0.02750917,-0.027175725,-0.026842281,-0.026508836,-0.02617539,-0.025841948,-0.025508502,-0.02517506,-0.024841614,-0.024508169,-0.024174726,-0.02384128,-0.023507835,-0.023174392,-0.022840947,-0.022507502,-0.022174058,-0.021840613,-0.021507168,-0.021173725,-0.02084028,-0.020506836,-0.020173391,-0.019839946,-0.019506503,-0.019173058,-0.018839613,-0.01850617,-0.018172724,-0.017839279,-0.017505836,-0.01717239,-0.016838945,-0.016505502,-0.016172057,-0.015838614,-0.015505169,-0.015171724,-0.014838279,-0.014504835,-0.014171391,-0.013837946,-0.013504501,-0.013171057,-0.012837613,-0.012504168,-0.012170724,-0.011837279,-0.011503834,-0.01117039,-0.010836946,-0.010503502,-0.0101700565,-0.009836612,-0.009503168,-0.009169723,-0.008836279,-0.0085028345,-0.00816939,-0.007835945,-0.007502501,-0.007169056,-0.006835612,-0.0065021673,-0.006168723,-0.0058352784,-0.0055018337,-0.0051683895,-0.004834945,-0.0045015006,-0.004168056,-0.0038346115,-0.003501167,-0.0031677226,-0.0028342782,-0.0025008337,-0.002167389,-0.0018339447,-0.0015005001,-0.0011670557,-0.0008336112,-0.00050016673,-0.00016672224,0.00016672224,0.00050016673,0.0008336112,0.0011670557,0.0015005001,0.0018339447,0.002167389,0.0025008337,0.0028342782,0.0031677226,0.003501167,0.0038346115,0.004168056,0.0045015006,0.004834945,0.0051683895,0.0055018337,0.0058352784,0.006168723,0.0065021673,0.006835612,0.007169056,0.007502501,0.007835945,0.00816939,0.0085028345,0.008836279,0.009169723,0.009503168,0.009836612,0.0101700565,0.010503502,0.010836946,0.01117039,0.011503834,0.011837279,0.012170724,0.012504168,0.012837613,0.013171057,0.013504501,0.013837946,0.014171391,0.014504835,0.014838279,0.015171724,0.015505169,0.015838614,0.016172057,0.016505502,0.016838945,0.01717239,0.017505836,0.017839279,0.018172724,0.01850617,0.018839613,0.019173058,0.019506503,0.019839946,0.020173391,0.020506836,0.02084028,0.021173725,0.021507168,0.021840613,0.022174058,0.022507502,0.022840947,0.023174392,0.023507835,0.02384128,0.024174726,0.024508169,0.024841614,0.02517506,0.025508502,0.025841948,0.02617539,0.026508836,0.026842281,0.027175725,0.02750917,0.027842615,0.028176058,0.028509503,0.028842948,0.029176392,0.029509837,0.029843282,0.030176725,0.03051017,0.030843614,0.031177059,0.031510502,0.03184395,0.032177392,0.032510836,0.032844283,0.033177726,0.03351117,0.033844616,0.03417806,0.034511503,0.03484495,0.035178393,0.035511836,0.035845283,0.036178727,0.03651217,0.036845617,0.03717906,0.037512504,0.037845947,0.038179394,0.038512837,0.03884628,0.039179727,0.03951317,0.039846614,0.04018006,0.040513504,0.040846948,0.041180395,0.041513838,0.04184728,0.04218073,0.04251417,0.042847615,0.04318106,0.043514505,0.04384795,0.044181395,0.04451484,0.044848282,0.04518173,0.045515172,0.045848615,0.046182062,0.046515506,0.04684895,0.047182392,0.04751584,0.047849283,0.048182726,0.048516173,0.048849616,0.04918306,0.049516506,0.04984995,0.050183393,0.05051684,0.050850283,0.051183727,0.051517174,0.051850617,0.05218406,0.052517507,0.05285095,0.053184394,0.05351784,0.053851284,0.054184727,0.054518174,0.054851618,0.05518506,0.055518508,0.05585195,0.056185395,0.056518838,0.056852285,0.057185728,0.05751917,0.05785262,0.05818606,0.058519505,0.058852952,0.059186395,0.05951984,0.059853286,0.06018673,0.060520172,0.06085362,0.061187062,0.061520506,0.061853953,0.062187396,0.06252084,0.06285428,0.063187726,0.06352118,0.06385462,0.06418806,0.06452151,0.06485495,0.06518839,0.065521844,0.06585529,0.06618873,0.06652217,0.06685562,0.06718906,0.06752251,0.067855954,0.0681894,0.06852284,0.068856284,0.06918973,0.06952318,0.06985662,0.070190065,0.07052351,0.07085695,0.071190394,0.07152384,0.07185729,0.07219073,0.072524175,0.07285762,0.07319106,0.073524505,0.073857956,0.0741914,0.07452484,0.074858285,0.07519173,0.07552517,0.07585862,0.076192066,0.07652551,0.07685895,0.077192396,0.07752584,0.07785929,0.07819273,0.07852618,0.07885962,0.07919306,0.07952651,0.07985995,0.0801934,0.08052684,0.08086029,0.08119373,0.08152717,0.08186062,0.08219407,0.08252751,0.082860954,0.0831944,0.08352784,0.083861284,0.084194735,0.08452818,0.08486162,0.085195065,0.08552851,0.08586195,0.0861954,0.086528845,0.08686229,0.08719573,0.087529175,0.08786262,0.08819607,0.08852951,0.088862956,0.0891964,0.08952984,0.089863285,0.09019673,0.09053018,0.09086362,0.091197066,0.09153051,0.09186395,0.092197396,0.09253085,0.09286429,0.09319773,0.09353118,0.09386462,0.09419806,0.094531514,0.09486496,0.0951984,0.09553184,0.09586529,0.09619873,0.09653218,0.096865624,0.09719907,0.09753251,0.097865954,0.0981994,0.09853284,0.09886629,0.099199735,0.09953318,0.09986662,0.100200064,0.10053351,0.10086696,0.1012004,0.101533845,0.10186729,0.10220073,0.102534175,0.102867626,0.10320107,0.10353451,0.103867956,0.1042014,0.10453484,0.10486829,0.105201736,0.10553518,0.10586862,0.106202066,0.10653551,0.10686896,0.1072024,0.10753585,0.10786929,0.10820273,0.10853618,0.10886962,0.10920307,0.10953651,0.10986996,0.1102034,0.11053684,0.11087029,0.11120374,0.11153718,0.111870624,0.11220407,0.11253751,0.112870954,0.113204405,0.11353785,0.11387129,0.114204735,0.11453818,0.11487162,0.11520507,0.115538515,0.11587196,0.1162054,0.116538845,0.11687229,0.11720573,0.11753918,0.117872626,0.11820607,0.11853951,0.118872955,0.1192064,0.11953985,0.11987329,0.120206736,0.12054018,0.12087362,0.121207066,0.12154052,0.12187396,0.1222074,0.12254085,0.12287429,0.12320773,0.123541184,0.12387463,0.12420807,0.12454151,0.12487496,0.12520841,0.12554185,0.1258753,0.12620874,0.12654218,0.12687562,0.12720907,0.12754251,0.12787595,0.1282094,0.12854284,0.1288763,0.12920974,0.12954319,0.12987663,0.13021007,0.13054352,0.13087696,0.1312104,0.13154384,0.13187729,0.13221073,0.13254417,0.13287763,0.13321108,0.13354452,0.13387796,0.1342114,0.13454485,0.1348783,0.13521174,0.13554518,0.13587862,0.13621207,0.13654551,0.13687895,0.13721241,0.13754585,0.1378793,0.13821274,0.13854618,0.13887963,0.13921307,0.13954651,0.13987996,0.1402134,0.14054684,0.14088029,0.14121374,0.14154719,0.14188063,0.14221407,0.14254752,0.14288096,0.1432144,0.14354785,0.14388129,0.14421473,0.14454818,0.14488162,0.14521506,0.14554852,0.14588197,0.14621541,0.14654885,0.1468823,0.14721574,0.14754918,0.14788263,0.14821607,0.14854951,0.14888296,0.1492164,0.14954986,0.1498833,0.15021674,0.15055019,0.15088363,0.15121707,0.15155052,0.15188396,0.1522174,0.15255085,0.15288429,0.15321773,0.15355119,0.15388463,0.15421808,0.15455152,0.15488496,0.15521841,0.15555185,0.1558853,0.15621874,0.15655218,0.15688562,0.15721907,0.15755251,0.15788597,0.15821941,0.15855286,0.1588863,0.15921974,0.15955319,0.15988663,0.16022007,0.16055351,0.16088696,0.1612204,0.16155384,0.1618873,0.16222075,0.16255419,0.16288763,0.16322108,0.16355452,0.16388796,0.1642214,0.16455485,0.1648883,0.16522174,0.16555518,0.16588862,0.16622208,0.16655552,0.16688897,0.16722241,0.16755585,0.1678893,0.16822274,0.16855618,0.16888963,0.16922307,0.16955651,0.16988996,0.17022341,0.17055686,0.1708903,0.17122374,0.17155719,0.17189063,0.17222407,0.17255752,0.17289096,0.1732244,0.17355785,0.17389129,0.17422473,0.17455819,0.17489164,0.17522508,0.17555852,0.17589197,0.17622541,0.17655885,0.1768923,0.17722574,0.17755918,0.17789263,0.17822607,0.17855953,0.17889297,0.17922641,0.17955986,0.1798933,0.18022674,0.18056019,0.18089363,0.18122707,0.18156052,0.18189396,0.1822274,0.18256085,0.1828943,0.18322775,0.18356119,0.18389463,0.18422808,0.18456152,0.18489496,0.1852284,0.18556185,0.1858953,0.18622874,0.18656218,0.18689564,0.18722908,0.18756253,0.18789597,0.18822941,0.18856286,0.1888963,0.18922974,0.18956318,0.18989663,0.19023007,0.19056351,0.19089697,0.19123042,0.19156386,0.1918973,0.19223075,0.19256419,0.19289763,0.19323108,0.19356452,0.19389796,0.1942314,0.19456485,0.19489829,0.19523175,0.1955652,0.19589864,0.19623208,0.19656552,0.19689897,0.19723241,0.19756585,0.1978993,0.19823274,0.19856618,0.19889963,0.19923308,0.19956653,0.19989997,0.20023341,0.20056686,0.2009003,0.20123374,0.20156719,0.20190063,0.20223407,0.20256752,0.20290096,0.2032344,0.20356786,0.2039013,0.20423475,0.20456819,0.20490164,0.20523508,0.20556852,0.20590197,0.20623541,0.20656885,0.2069023,0.20723574,0.2075692,0.20790264,0.20823608,0.20856953,0.20890297,0.20923641,0.20956986,0.2099033,0.21023674,0.21057019,0.21090363,0.21123707,0.21157052,0.21190397,0.21223742,0.21257086,0.2129043,0.21323775,0.21357119,0.21390463,0.21423808,0.21457152,0.21490496,0.2152384,0.21557185,0.21590531,0.21623875,0.2165722,0.21690564,0.21723908,0.21757253,0.21790597,0.21823941,0.21857285,0.2189063,0.21923974,0.21957318,0.21990663,0.22024009,0.22057353,0.22090697,0.22124042,0.22157386,0.2219073,0.22224075,0.22257419,0.22290763,0.22324108,0.22357452,0.22390796,0.22424142,0.22457486,0.2249083,0.22524175,0.2255752,0.22590864,0.22624208,0.22657552,0.22690897,0.22724241,0.22757585,0.2279093,0.22824275,0.2285762,0.22890964,0.22924308,0.22957653,0.22990997,0.23024341,0.23057686,0.2309103,0.23124374,0.23157719,0.23191063,0.23224407,0.23257753,0.23291098,0.23324442,0.23357786,0.2339113,0.23424475,0.23457819,0.23491164,0.23524508,0.23557852,0.23591197,0.23624541,0.23657887,0.23691231,0.23724575,0.2375792,0.23791264,0.23824608,0.23857953,0.23891297,0.23924641,0.23957986,0.2399133,0.24024674,0.24058019,0.24091364,0.24124709,0.24158053,0.24191397,0.24224742,0.24258086,0.2429143,0.24324775,0.24358119,0.24391463,0.24424808,0.24458152,0.24491498,0.24524842,0.24558187,0.24591531,0.24624875,0.2465822,0.24691564,0.24724908,0.24758253,0.24791597,0.24824941,0.24858285,0.2489163,0.24924976,0.2495832,0.24991664,0.25025007,0.25058353,0.25091696,0.25125042,0.25158387,0.2519173,0.25225076,0.2525842,0.25291765,0.25325108,0.25358453,0.25391796,0.25425142,0.25458485,0.2549183,0.25525177,0.2555852,0.25591865,0.25625208,0.25658554,0.25691897,0.25725242,0.25758585,0.2579193,0.25825274,0.2585862,0.25891963,0.25925308,0.25958654,0.25991997,0.26025343,0.26058686,0.26092032,0.26125374,0.2615872,0.26192063,0.2622541,0.26258752,0.26292098,0.2632544,0.26358786,0.26392132,0.26425475,0.2645882,0.26492164,0.2652551,0.26558852,0.26592198,0.2662554,0.26658887,0.2669223,0.26725575,0.26758918,0.26792264,0.2682561,0.26858953,0.26892298,0.2692564,0.26958987,0.2699233,0.27025676,0.2705902,0.27092364,0.27125707,0.27159053,0.271924,0.27225742,0.27259088,0.2729243,0.27325776,0.2735912,0.27392465,0.27425808,0.27459154,0.27492496,0.27525842,0.27559185,0.2759253,0.27625877,0.2765922,0.27692565,0.27725908,0.27759254,0.27792597,0.27825943,0.27859285,0.2789263,0.27925974,0.2795932,0.27992663,0.2802601,0.28059354,0.28092697,0.28126043,0.28159386,0.28192732,0.28226075,0.2825942,0.28292763,0.2832611,0.28359452,0.28392798,0.28426144,0.28459486,0.28492832,0.28526175,0.2855952,0.28592864,0.2862621,0.28659552,0.28692898,0.2872624,0.28759587,0.2879293,0.28826275,0.2885962,0.28892964,0.2892631,0.28959653,0.28993,0.2902634,0.29059687,0.2909303,0.29126376,0.2915972,0.29193065,0.29226407,0.29259753,0.292931,0.29326442,0.29359788,0.2939313,0.29426476,0.2945982,0.29493165,0.29526508,0.29559854,0.29593197,0.29626542,0.29659885,0.2969323,0.29726577,0.2975992,0.29793265,0.29826608,0.29859954,0.29893297,0.29926643,0.29959986,0.2999333,0.30026674,0.3006002,0.30093366,0.3012671,0.30160055,0.30193397,0.30226743,0.30260086,0.30293432,0.30326775,0.3036012,0.30393463,0.3042681,0.30460152,0.30493498,0.30526844,0.30560187,0.30593532,0.30626875,0.3066022,0.30693564,0.3072691,0.30760252,0.30793598,0.3082694,0.30860287,0.3089363,0.30926976,0.3096032,0.30993664,0.3102701,0.31060353,0.310937,0.31127042,0.31160387,0.3119373,0.31227076,0.3126042,0.31293765,0.31327108,0.31360453,0.313938,0.31427142,0.31460488,0.3149383,0.31527176,0.3156052,0.31593865,0.31627208,0.31660554,0.31693897,0.31727242,0.31760588,0.3179393,0.31827277,0.3186062,0.31893966,0.31927308,0.31960654,0.31993997,0.32027343,0.32060686,0.32094032,0.32127374,0.3216072,0.32194066,0.3222741,0.32260755,0.32294098,0.32327443,0.32360786,0.32394132,0.32427475,0.3246082,0.32494164,0.3252751,0.32560852,0.32594198,0.32627544,0.32660887,0.32694232,0.32727575,0.3276092,0.32794264,0.3282761,0.32860953,0.32894298,0.3292764,0.32960987,0.32994333,0.33027676,0.33061022,0.33094364,0.3312771,0.33161053,0.331944,0.33227742,0.33261088,0.3329443,0.33327776,0.3336112,0.33394465,0.3342781,0.33461154,0.334945,0.33527842,0.33561188,0.3359453,0.33627877,0.3366122,0.33694565,0.33727908,0.33761254,0.33794597,0.33827943,0.33861288,0.3389463,0.33927977,0.3396132,0.33994666,0.3402801,0.34061354,0.34094697,0.34128043,0.34161386,0.34194732,0.34228075,0.3426142,0.34294766,0.3432811,0.34361455,0.34394798,0.34428144,0.34461486,0.34494832,0.34528175,0.3456152,0.34594864,0.3462821,0.34661555,0.34694898,0.34728244,0.34761587,0.34794933,0.34828275,0.3486162,0.34894964,0.3492831,0.34961653,0.34995,0.3502834,0.35061687,0.35095033,0.35128376,0.35161722,0.35195065,0.3522841,0.35261753,0.352951,0.35328442,0.35361788,0.3539513,0.35428476,0.3546182,0.35495165,0.3552851,0.35561854,0.355952,0.35628542,0.35661888,0.3569523,0.35728577,0.3576192,0.35795265,0.35828608,0.35861954,0.358953,0.35928643,0.3596199,0.3599533,0.36028677,0.3606202,0.36095366,0.3612871,0.36162055,0.36195397,0.36228743,0.36262086,0.36295432,0.36328778,0.3636212,0.36395466,0.3642881,0.36462155,0.36495498,0.36528844,0.36562186,0.36595532,0.36628875,0.3666222,0.36695564,0.3672891,0.36762255,0.36795598,0.36828944,0.36862287,0.36895633,0.36928976,0.3696232,0.36995664,0.3702901,0.37062353,0.370957,0.37129042,0.37162387,0.37195733,0.37229076,0.37262422,0.37295765,0.3732911,0.37362453,0.373958,0.37429142,0.37462488,0.3749583,0.37529176,0.37562522,0.37595865,0.3762921,0.37662554,0.376959,0.37729242,0.37762588,0.3779593,0.37829277,0.3786262,0.37895966,0.37929308,0.37962654,0.37996,0.38029343,0.3806269,0.38096032,0.38129377,0.3816272,0.38196066,0.3822941,0.38262755,0.38296098,0.38329443,0.38362786,0.38396132,0.38429478,0.3846282,0.38496166,0.3852951,0.38562855,0.38596198,0.38629544,0.38662887,0.38696232,0.38729575,0.3876292,0.38796264,0.3882961,0.38862956,0.38896298,0.38929644,0.38962987,0.38996333,0.39029676,0.39063022,0.39096364,0.3912971,0.39163053,0.391964,0.39229745,0.39263088,0.39296433,0.39329776,0.39363122,0.39396465,0.3942981,0.39463153,0.394965,0.39529842,0.39563188,0.3959653,0.39629877,0.39663222,0.39696565,0.3972991,0.39763254,0.397966,0.39829943,0.39863288,0.3989663,0.39929977,0.3996332,0.39996666,0.4003001,0.40063354,0.400967,0.40130043,0.4016339,0.40196732,0.40230078,0.4026342,0.40296766,0.4033011,0.40363455,0.40396798,0.40430143,0.4046349,0.40496832,0.40530178,0.4056352,0.40596867,0.4063021,0.40663555,0.40696898,0.40730244,0.40763587,0.40796933,0.40830275,0.4086362,0.40896967,0.4093031,0.40963656,0.40997,0.41030344,0.41063687,0.41097033,0.41130376,0.41163722,0.41197065,0.4123041,0.41263753,0.412971,0.41330445,0.41363788,0.41397133,0.41430476,0.41463822,0.41497165,0.4153051,0.41563854,0.415972,0.41630542,0.41663888,0.4169723,0.41730577,0.41763923,0.41797265,0.4183061,0.41863954,0.418973,0.41930643,0.4196399,0.4199733,0.42030677,0.4206402,0.42097366,0.42130712,0.42164055,0.421974,0.42230743,0.4226409,0.42297432,0.42330778,0.4236412,0.42397466,0.4243081,0.42464155,0.42497498,0.42530844,0.4256419,0.42597532,0.42630878,0.4266422,0.42697567,0.4273091,0.42764255,0.42797598,0.42830944,0.42864287,0.42897633,0.42930976,0.4296432,0.42997667,0.4303101,0.43064356,0.430977,0.43131045,0.43164387,0.43197733,0.43231076,0.43264422,0.43297765,0.4333111,0.43364456,0.433978,0.43431145,0.43464488,0.43497834,0.43531176,0.43564522,0.43597865,0.4363121,0.43664554,0.436979,0.43731242,0.43764588,0.43797934,0.43831277,0.43864623,0.43897966,0.4393131,0.43964654,0.43998,0.44031343,0.4406469,0.44098032,0.44131377,0.4416472,0.44198066,0.44231412,0.44264755,0.442981,0.44331443,0.4436479,0.44398132,0.44431478,0.4446482,0.44498166,0.4453151,0.44564855,0.44598198,0.44631544,0.4466489,0.44698232,0.44731578,0.4476492,0.44798267,0.4483161,0.44864956,0.44898298,0.44931644,0.44964987,0.44998333,0.4503168,0.45065022,0.45098367,0.4513171,0.45165056,0.451984,0.45231745,0.45265087,0.45298433,0.45331776,0.45365122,0.45398465,0.4543181,0.45465156,0.454985,0.45531845,0.45565188,0.45598534,0.45631877,0.45665222,0.45698565,0.4573191,0.45765254,0.457986,0.45831943,0.45865288,0.45898634,0.45931977,0.45965323,0.45998666,0.46032012,0.46065354,0.460987,0.46132043,0.4616539,0.46198732,0.46232077,0.4626542,0.46298766,0.46332112,0.46365455,0.463988,0.46432143,0.4646549,0.46498832,0.46532178,0.4656552,0.46598867,0.4663221,0.46665555,0.466989,0.46732244,0.4676559,0.46798933,0.46832278,0.4686562,0.46898967,0.4693231,0.46965656,0.46999,0.47032344,0.47065687,0.47099033,0.4713238,0.47165722,0.47199067,0.4723241,0.47265756,0.472991,0.47332445,0.47365788,0.47399133,0.47432476,0.47465822,0.47499165,0.4753251,0.47565857,0.475992,0.47632545,0.47665888,0.47699234,0.47732577,0.47765923,0.47799265,0.4783261,0.47865954,0.478993,0.47932646,0.4796599,0.47999334,0.48032677,0.48066023,0.48099366,0.48132712,0.48166054,0.481994,0.48232743,0.4826609,0.48299432,0.48332778,0.48366123,0.48399466,0.48432812,0.48466155,0.484995,0.48532844,0.4856619,0.48599532,0.48632878,0.4866622,0.48699567,0.4873291,0.48766255,0.487996,0.48832944,0.4886629,0.48899633,0.4893298,0.4896632,0.48999667,0.4903301,0.49066356,0.490997,0.49133044,0.49166387,0.49199733,0.4923308,0.49266422,0.49299768,0.4933311,0.49366456,0.493998,0.49433145,0.49466488,0.49499834,0.49533176,0.49566522,0.49599868,0.4963321,0.49666557,0.496999,0.49733245,0.49766588,0.49799934,0.49833277,0.49866623,0.49899966,0.4993331,0.49966654,0.5]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.5_0.75.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.5_0.75.json new file mode 100644 index 000000000000..c3c1965930d3 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.5_0.75.json @@ -0,0 +1 @@ +{"expected":[0.47693625,0.47749382,0.47805166,0.4786098,0.47916833,0.479727,0.48028612,0.48084542,0.48140505,0.48196504,0.48252526,0.4830858,0.4836467,0.48420784,0.4847693,0.48533106,0.4858932,0.48645556,0.48701832,0.48758128,0.48814455,0.48870823,0.48927212,0.48983636,0.4904009,0.49096584,0.49153104,0.49209648,0.49266234,0.4932284,0.49379492,0.49436164,0.49492872,0.49549612,0.4960639,0.49663186,0.49720025,0.49776888,0.49833792,0.4989072,0.4994769,0.50004685,0.5006172,0.50118774,0.5017587,0.50233006,0.5029017,0.50347364,0.5040459,0.5046185,0.5051914,0.5057646,0.50633824,0.5069122,0.50748646,0.50806093,0.5086359,0.5092112,0.5097868,0.5103628,0.510939,0.51151574,0.5120926,0.51266986,0.5132475,0.51382554,0.5144039,0.5149825,0.51556146,0.51614094,0.5167206,0.51730067,0.5178811,0.5184619,0.5190429,0.51962435,0.5202062,0.5207884,0.5213709,0.52195376,0.522537,0.5231205,0.5237044,0.5242888,0.52487344,0.52545846,0.5260438,0.52662945,0.5272156,0.5278021,0.52838886,0.5289761,0.5295636,0.53015155,0.5307398,0.5313285,0.53191745,0.5325069,0.5330966,0.5336867,0.53427726,0.53486806,0.53545934,0.536051,0.53664297,0.5372353,0.537828,0.5384212,0.5390147,0.5396086,0.54020286,0.5407974,0.54139256,0.5419879,0.54258376,0.5431799,0.5437765,0.54437345,0.54497075,0.5455685,0.54616666,0.5467652,0.5473641,0.54796344,0.54856306,0.54916316,0.5497637,0.55036455,0.55096585,0.5515675,0.55216956,0.5527721,0.5533749,0.55397815,0.5545819,0.5551861,0.5557904,0.55639535,0.5570007,0.5576064,0.5582126,0.55881906,0.55942595,0.5600334,0.56064117,0.5612494,0.56185794,0.562467,0.56307644,0.56368625,0.5642965,0.5649073,0.5655184,0.5661299,0.56674194,0.56735426,0.56796706,0.5685804,0.569194,0.5698081,0.5704226,0.5710376,0.571653,0.5722688,0.5728851,0.57350177,0.5741189,0.57473654,0.5753545,0.5759729,0.57659185,0.57721126,0.5778309,0.5784511,0.5790719,0.57969296,0.5803145,0.5809365,0.581559,0.58218193,0.5828053,0.5834291,0.5840533,0.5846781,0.58530325,0.58592886,0.586555,0.58718157,0.5878086,0.588436,0.58906406,0.5896924,0.59032124,0.5909506,0.5915804,0.59221077,0.59284145,0.5934728,0.59410447,0.5947365,0.59536916,0.59600234,0.59663594,0.59727,0.59790456,0.59853965,0.59917516,0.59981114,0.60044765,0.60108465,0.6017222,0.6023601,0.60299855,0.60363746,0.60427696,0.60491693,0.60555726,0.6061982,0.60683966,0.60748166,0.6081241,0.60876703,0.60941035,0.6100543,0.61069876,0.61134374,0.61198914,0.61263514,0.6132816,0.61392856,0.61457616,0.6152242,0.6158727,0.6165218,0.61717135,0.6178214,0.6184721,0.6191232,0.6197749,0.6204271,0.62107986,0.62173307,0.6223869,0.62304115,0.623696,0.6243515,0.62500733,0.62566376,0.6263208,0.62697834,0.62763655,0.62829506,0.6289543,0.62961406,0.6302743,0.63093513,0.63159645,0.6322585,0.6329209,0.6335839,0.63424754,0.6349116,0.6355764,0.63624173,0.6369076,0.63757396,0.6382409,0.6389085,0.6395765,0.6402453,0.6409145,0.6415844,0.64225477,0.6429257,0.64359736,0.64426947,0.6449423,0.64561546,0.64628935,0.6469639,0.647639,0.64831465,0.6489908,0.6496678,0.6503452,0.6510232,0.65170187,0.6523811,0.653061,0.6537414,0.6544224,0.6551041,0.6557864,0.6564694,0.6571528,0.65783703,0.6585217,0.659207,0.659893,0.66057956,0.6612668,0.66195464,0.66264313,0.66333216,0.6640219,0.6647123,0.66540325,0.66609496,0.6667872,0.6674801,0.6681736,0.66886777,0.6695627,0.6702581,0.67095435,0.671651,0.67234844,0.67304665,0.6737453,0.6744448,0.67514485,0.6758455,0.676547,0.677249,0.67795175,0.6786551,0.6793592,0.6800639,0.6807693,0.6814754,0.6821822,0.6828897,0.6835978,0.6843067,0.68501616,0.6857264,0.68643737,0.6871489,0.6878612,0.68857425,0.6892879,0.69000226,0.69071734,0.6914332,0.6921497,0.69286686,0.69358486,0.69430345,0.69502294,0.695743,0.6964639,0.6971854,0.6979076,0.69863063,0.69935435,0.70007885,0.70080405,0.70153,0.7022567,0.70298404,0.7037122,0.70444113,0.7051708,0.7059012,0.7066323,0.7073643,0.708097,0.7088304,0.7095646,0.7102997,0.7110353,0.71177185,0.71250916,0.7132472,0.7139861,0.7147257,0.715466,0.7162072,0.7169492,0.71769196,0.7184355,0.71917987,0.71992505,0.720671,0.7214177,0.7221653,0.7229136,0.7236628,0.7244129,0.72516364,0.72591525,0.72666776,0.7274209,0.7281751,0.72893,0.72968566,0.73044235,0.73119974,0.7319581,0.7327171,0.7334771,0.73423785,0.7349995,0.73576206,0.7365254,0.7372897,0.73805475,0.7388207,0.73958755,0.74035513,0.74112386,0.7418932,0.74266356,0.7434347,0.7442068,0.7449798,0.74575365,0.7465285,0.74730414,0.74808055,0.74885815,0.7496364,0.75041586,0.75119597,0.7519771,0.7527591,0.75354195,0.75432587,0.75511074,0.75589645,0.75668305,0.7574707,0.75825924,0.7590487,0.7598391,0.7606305,0.7614229,0.7622162,0.7630104,0.7638057,0.7646018,0.76539904,0.7661971,0.7669963,0.7677964,0.7685974,0.7693995,0.7702025,0.77100664,0.77181166,0.7726176,0.77342474,0.7742328,0.77504194,0.775852,0.7766631,0.77747524,0.7782883,0.77910256,0.7799177,0.7807341,0.78155136,0.78236973,0.78318906,0.7840095,0.78483105,0.7856536,0.7864773,0.787302,0.7881277,0.78895456,0.7897825,0.79061157,0.7914416,0.79227287,0.7931051,0.7939385,0.79477304,0.7956086,0.79644537,0.7972832,0.7981221,0.7989623,0.79980344,0.8006457,0.8014893,0.8023339,0.8031796,0.80402654,0.8048746,0.8057239,0.8065743,0.80742574,0.80827844,0.80913246,0.8099875,0.8108438,0.8117013,0.81256,0.8134198],"x":[0.5,0.500501,0.501002,0.501503,0.502004,0.502505,0.50300604,0.503507,0.504008,0.50450903,0.50501,0.50551105,0.506012,0.506513,0.50701404,0.507515,0.50801605,0.508517,0.50901806,0.50951904,0.51002,0.51052105,0.51102203,0.51152307,0.51202404,0.512525,0.51302606,0.51352704,0.5140281,0.51452905,0.5150301,0.51553106,0.51603204,0.5165331,0.51703405,0.5175351,0.51803607,0.51853704,0.5190381,0.51953906,0.5200401,0.5205411,0.5210421,0.5215431,0.52204406,0.5225451,0.5230461,0.5235471,0.5240481,0.5245491,0.5250501,0.5255511,0.5260521,0.5265531,0.52705413,0.5275551,0.5280561,0.5285571,0.5290581,0.52955914,0.5300601,0.53056115,0.5310621,0.5315631,0.53206414,0.5325651,0.53306615,0.53356713,0.5340681,0.53456914,0.5350701,0.53557116,0.53607213,0.5365732,0.53707415,0.5375751,0.53807616,0.53857714,0.5390782,0.53957915,0.5400802,0.54058117,0.54108214,0.5415832,0.54208416,0.5425852,0.5430862,0.54358715,0.5440882,0.54458916,0.5450902,0.5455912,0.5460922,0.5465932,0.54709417,0.5475952,0.5480962,0.5485972,0.5490982,0.5495992,0.5501002,0.5506012,0.5511022,0.5516032,0.55210423,0.5526052,0.5531062,0.5536072,0.5541082,0.55460924,0.5551102,0.5556112,0.55611223,0.5566132,0.55711424,0.5576152,0.55811626,0.55861723,0.5591182,0.55961925,0.5601202,0.56062126,0.56112224,0.5616233,0.56212425,0.5626252,0.56312627,0.56362724,0.5641283,0.56462926,0.56513023,0.5656313,0.56613225,0.5666333,0.56713426,0.5676353,0.5681363,0.56863725,0.5691383,0.56963927,0.5701403,0.5706413,0.57114226,0.5716433,0.57214427,0.5726453,0.5731463,0.5736473,0.5741483,0.5746493,0.5751503,0.5756513,0.5761523,0.5766533,0.57715434,0.5776553,0.5781563,0.5786573,0.5791583,0.57965934,0.5801603,0.5806613,0.58116233,0.5816633,0.58216435,0.5826653,0.58316636,0.58366734,0.5841683,0.58466935,0.5851703,0.58567137,0.58617234,0.5866733,0.58717436,0.58767533,0.58817637,0.58867735,0.5891784,0.58967936,0.59018034,0.5906814,0.59118235,0.5916834,0.59218436,0.59268534,0.5931864,0.59368736,0.5941884,0.59468937,0.5951904,0.5956914,0.59619236,0.5966934,0.5971944,0.5976954,0.5981964,0.5986974,0.5991984,0.5996994,0.6002004,0.6007014,0.6012024,0.6017034,0.6022044,0.6027054,0.6032064,0.60370743,0.6042084,0.60470945,0.6052104,0.6057114,0.60621244,0.6067134,0.60721445,0.6077154,0.6082164,0.60871744,0.6092184,0.60971946,0.61022043,0.61072147,0.61122245,0.6117234,0.61222446,0.61272544,0.6132265,0.61372745,0.6142284,0.61472946,0.61523044,0.6157315,0.61623245,0.6167335,0.61723447,0.61773545,0.6182365,0.61873746,0.6192385,0.6197395,0.6202405,0.6207415,0.62124246,0.6217435,0.6222445,0.6227455,0.6232465,0.62374747,0.6242485,0.6247495,0.6252505,0.6257515,0.62625253,0.6267535,0.6272545,0.6277555,0.6282565,0.62875754,0.6292585,0.6297595,0.6302605,0.6307615,0.63126254,0.6317635,0.63226455,0.63276553,0.6332665,0.63376755,0.6342685,0.63476956,0.63527054,0.6357716,0.63627255,0.6367735,0.63727456,0.63777554,0.6382766,0.63877755,0.63927853,0.63977957,0.64028054,0.6407816,0.64128256,0.6417836,0.6422846,0.64278555,0.6432866,0.64378756,0.6442886,0.6447896,0.64529055,0.6457916,0.64629257,0.6467936,0.6472946,0.6477956,0.6482966,0.6487976,0.6492986,0.6497996,0.6503006,0.6508016,0.6513026,0.6518036,0.6523046,0.6528056,0.6533066,0.65380764,0.6543086,0.6548096,0.65531063,0.6558116,0.65631264,0.6568136,0.65731466,0.65781564,0.6583166,0.65881765,0.6593186,0.65981966,0.66032064,0.6608216,0.66132265,0.66182363,0.66232467,0.66282564,0.6633267,0.66382766,0.66432863,0.6648297,0.66533065,0.6658317,0.66633266,0.66683364,0.6673347,0.66783565,0.6683367,0.66883767,0.6693387,0.6698397,0.67034066,0.6708417,0.6713427,0.6718437,0.6723447,0.67284566,0.6733467,0.6738477,0.6743487,0.6748497,0.6753507,0.6758517,0.6763527,0.6768537,0.6773547,0.67785573,0.6783567,0.67885774,0.6793587,0.6798597,0.68036073,0.6808617,0.68136275,0.6818637,0.6823647,0.68286574,0.6833667,0.68386775,0.6843687,0.68486977,0.68537074,0.6858717,0.68637276,0.68687373,0.6873748,0.68787575,0.6883767,0.68887776,0.68937874,0.6898798,0.69038075,0.6908818,0.69138277,0.69188374,0.6923848,0.69288576,0.6933868,0.69388777,0.6943888,0.6948898,0.69539076,0.6958918,0.6963928,0.6968938,0.6973948,0.69789577,0.6983968,0.6988978,0.6993988,0.6998998,0.7004008,0.7009018,0.7014028,0.7019038,0.7024048,0.70290583,0.7034068,0.7039078,0.7044088,0.7049098,0.70541084,0.7059118,0.70641285,0.7069138,0.7074148,0.70791584,0.7084168,0.70891786,0.70941883,0.7099198,0.71042085,0.7109218,0.71142286,0.71192384,0.7124249,0.71292585,0.7134268,0.71392787,0.71442884,0.7149299,0.71543086,0.7159319,0.71643287,0.71693385,0.7174349,0.71793586,0.7184369,0.7189379,0.71943885,0.7199399,0.72044086,0.7209419,0.7214429,0.7219439,0.7224449,0.72294587,0.7234469,0.7239479,0.7244489,0.7249499,0.7254509,0.7259519,0.7264529,0.7269539,0.7274549,0.72795594,0.7284569,0.7289579,0.7294589,0.7299599,0.73046094,0.7309619,0.73146296,0.73196393,0.7324649,0.73296595,0.7334669,0.73396796,0.73446894,0.7349699,0.73547095,0.7359719,0.73647296,0.73697394,0.737475,0.73797596,0.73847693,0.73897797,0.73947895,0.73998,0.74048096,0.74098194,0.741483,0.74198395,0.742485,0.74298596,0.743487,0.743988,0.74448895,0.74499,0.74549097,0.745992,0.746493,0.74699396,0.747495,0.747996,0.748497,0.748998,0.749499,0.75]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.75_0.9998.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.75_0.9998.json new file mode 100644 index 000000000000..0211baa80a75 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.75_0.9998.json @@ -0,0 +1 @@ +{"expected":[0.8134198,0.81428033,0.81514174,0.81600463,0.8168687,0.8177339,0.81860036,0.81946814,0.82033706,0.8212071,0.8220785,0.82295126,0.8238252,0.8247003,0.82557684,0.82645446,0.82733357,0.8282139,0.8290955,0.8299782,0.83086234,0.83174795,0.83263445,0.8335227,0.83441204,0.8353026,0.83619475,0.83708817,0.8379827,0.83887887,0.83977634,0.84067506,0.841575,0.84247667,0.84337956,0.8442837,0.8451892,0.8460963,0.84700465,0.84791446,0.8488257,0.84973824,0.85065234,0.8515677,0.8524847,0.853403,0.8543227,0.8552439,0.85616654,0.85709065,0.85801625,0.8589433,0.85987186,0.86080194,0.86173344,0.8626663,0.86360097,0.86453706,0.8654745,0.8664136,0.86735415,0.8682964,0.86924,0.8701852,0.87113196,0.8720803,0.8730303,0.87398183,0.8749348,0.87588954,0.87684584,0.8778037,0.87876326,0.8797243,0.88068706,0.88165146,0.8826175,0.88358504,0.88455456,0.8855255,0.8864982,0.88747245,0.88844854,0.8894263,0.89040565,0.89138687,0.89236975,0.8933543,0.8943406,0.89532876,0.8963187,0.8973102,0.89830357,0.8992986,0.9002955,0.90129435,0.90229475,0.90329707,0.9043011,0.90530723,0.9063149,0.9073246,0.9083361,0.90934944,0.9103646,0.9113818,0.91240084,0.91342163,0.9144445,0.9154692,0.9164958,0.9175244,0.918555,0.9195874,0.9206219,0.9216582,0.9226968,0.92373705,0.9247795,0.92582387,0.92687035,0.92791873,0.9289693,0.93002194,0.9310766,0.93213326,0.93319213,0.9342529,0.9353159,0.93638104,0.9374482,0.9385177,0.93958926,0.9406629,0.94173884,0.9428168,0.943897,0.94497955,0.94606435,0.9471513,0.9482403,0.94933176,0.9504253,0.95152134,0.9526195,0.95372015,0.95482296,0.9559282,0.95703566,0.95814556,0.9592577,0.9603724,0.9614894,0.9626089,0.96373075,0.96485496,0.96598166,0.9671108,0.9682424,0.9693765,0.9705133,0.97165245,0.97279406,0.97393835,0.975085,0.9762344,0.97738624,0.9785407,0.97969794,0.9808576,0.9820201,0.9831852,0.98435277,0.9855233,0.9866964,0.9878724,0.9890509,0.9902322,0.9914166,0.99260324,0.993793,0.99498564,0.996181,0.99737924,0.9985803,0.9997841,1.0009912,1.0022011,1.0034138,1.0046295,1.0058482,1.0070698,1.0082946,1.0095222,1.010753,1.0119867,1.0132236,1.0144639,1.0157071,1.0169532,1.0182028,1.0194556,1.0207113,1.0219706,1.0232328,1.0244985,1.0257674,1.0270396,1.0283152,1.0295942,1.0308765,1.0321622,1.0334513,1.0347439,1.03604,1.0373394,1.0386424,1.039949,1.0412589,1.042573,1.0438904,1.045211,1.0465357,1.0478641,1.0491962,1.0505317,1.0518713,1.0532146,1.0545617,1.0559126,1.0572675,1.058626,1.0599886,1.0613554,1.0627259,1.0641004,1.0654789,1.0668616,1.0682484,1.0696393,1.0710342,1.0724334,1.0738368,1.0752444,1.0766562,1.0780724,1.0794932,1.0809181,1.0823473,1.083781,1.0852194,1.0866619,1.0881093,1.0895612,1.0910176,1.0924788,1.0939445,1.0954149,1.0968901,1.0983702,1.0998552,1.1013448,1.1028396,1.104339,1.1058435,1.1073532,1.1088679,1.1103876,1.1119125,1.1134427,1.1149781,1.1165184,1.1180645,1.1196158,1.1211723,1.1227345,1.1243021,1.1258752,1.1274539,1.1290385,1.1306286,1.1322243,1.133826,1.1354336,1.1370467,1.1386662,1.1402915,1.1419227,1.1435602,1.1452038,1.1468534,1.1485095,1.1501721,1.1518408,1.153516,1.1551977,1.1568861,1.1585809,1.1602825,1.1619908,1.1637058,1.1654279,1.167157,1.1688926,1.1706358,1.1723859,1.1741434,1.175908,1.17768,1.1794596,1.1812464,1.1830407,1.1848431,1.1866529,1.1884706,1.1902963,1.1921297,1.1939714,1.1958212,1.1976792,1.1995453,1.20142,1.2033033,1.2051948,1.2070953,1.2090045,1.2109224,1.2128494,1.2147855,1.2167304,1.2186849,1.2206488,1.222622,1.2246046,1.2265972,1.2285994,1.2306113,1.2326337,1.2346662,1.2367085,1.2387614,1.2408249,1.242899,1.2449836,1.2470793,1.249186,1.2513037,1.253433,1.2555735,1.2577254,1.2598892,1.262065,1.2642525,1.2664524,1.2686647,1.2708894,1.2731267,1.2753769,1.27764,1.279916,1.2822058,1.2845091,1.2868259,1.2891566,1.2915015,1.2938606,1.2962343,1.2986227,1.3010259,1.303444,1.3058778,1.3083271,1.310792,1.3132732,1.3157707,1.3182843,1.3208153,1.323363,1.3259281,1.3285104,1.331111,1.3337296,1.3363664,1.3390219,1.3416967,1.3443906,1.3471044,1.3498381,1.3525921,1.3553667,1.3581624,1.3609798,1.3638184,1.3666795,1.3695631,1.3724693,1.3753991,1.3783531,1.3813307,1.3843336,1.3873615,1.3904147,1.3934945,1.3966008,1.3997345,1.4028953,1.4060851,1.4093037,1.412551,1.4158292,1.4191378,1.4224775,1.4258494,1.4292545,1.4326928,1.436165,1.4396724,1.4432158,1.4467955,1.4504129,1.4540685,1.4577632,1.4614986,1.465275,1.4690934,1.4729555,1.4768622,1.4808142,1.4848127,1.4888598,1.4929563,1.4971029,1.5013021,1.5055552,1.5098627,1.5142275,1.5186508,1.5231338,1.5276794,1.5322891,1.5369648,1.5417082,1.5465225,1.5514095,1.5563713,1.5614113,1.5665323,1.571736,1.5770267,1.5824074,1.5878813,1.5934511,1.5991228,1.6048988,1.6107833,1.6167824,1.6228999,1.6291411,1.635512,1.6420188,1.6486666,1.655465,1.6624191,1.6695383,1.6768299,1.684305,1.6919733,1.6998452,1.7079341,1.716253,1.7248157,1.7336401,1.7427429,1.752143,1.7618644,1.7719305,1.7823694,1.7932103,1.8044913,1.8162509,1.8285345,1.8413968,1.8548992,1.8691123,1.8841248,1.900038,1.916976,1.9350889,1.9545702,1.9756588,1.9986637,2.0240037,2.0522447,2.0841916,2.121064,2.1647997,2.2188058,2.2900302,2.3966303,2.6297653],"x":[0.75,0.7505006,0.7510012,0.7515018,0.7520024,0.752503,0.7530036,0.7535042,0.75400484,0.7545054,0.755006,0.75550663,0.7560072,0.7565078,0.75700843,0.757509,0.7580096,0.75851023,0.75901085,0.7595114,0.76001203,0.76051265,0.7610132,0.7615138,0.76201445,0.762515,0.7630156,0.76351625,0.7640168,0.7645174,0.76501805,0.76551867,0.7660192,0.76651984,0.76702046,0.767521,0.76802164,0.76852226,0.7690228,0.76952344,0.77002406,0.7705246,0.77102524,0.77152586,0.7720265,0.77252704,0.77302766,0.7735283,0.77402884,0.77452946,0.7750301,0.77553064,0.77603126,0.7765319,0.7770325,0.77753305,0.7780337,0.7785343,0.77903485,0.7795355,0.7800361,0.78053665,0.7810373,0.7815379,0.78203845,0.78253907,0.7830397,0.7835403,0.78404087,0.7845415,0.7850421,0.78554267,0.7860433,0.7865439,0.78704447,0.7875451,0.7880457,0.78854626,0.7890469,0.7895475,0.7900481,0.7905487,0.7910493,0.7915499,0.7920505,0.7925511,0.7930517,0.7935523,0.7940529,0.7945535,0.79505414,0.7955547,0.7960553,0.79655594,0.7970565,0.7975571,0.79805773,0.7985583,0.7990589,0.79955953,0.8000601,0.8005607,0.80106133,0.80156195,0.8020625,0.80256313,0.80306375,0.8035643,0.8040649,0.80456555,0.8050661,0.8055667,0.80606735,0.8065679,0.8070685,0.80756915,0.80806977,0.8085703,0.80907094,0.80957156,0.8100721,0.81057274,0.81107336,0.8115739,0.81207454,0.81257516,0.8130758,0.81357634,0.81407696,0.8145776,0.81507814,0.81557876,0.8160794,0.81657994,0.81708056,0.8175812,0.81808174,0.81858236,0.819083,0.8195836,0.82008415,0.8205848,0.8210854,0.82158595,0.8220866,0.8225872,0.82308775,0.8235884,0.824089,0.82458955,0.82509017,0.8255908,0.8260914,0.82659197,0.8270926,0.8275932,0.82809377,0.8285944,0.829095,0.82959557,0.8300962,0.8305968,0.8310974,0.831598,0.8320986,0.8325992,0.8330998,0.8336004,0.834101,0.8346016,0.8351022,0.8356028,0.8361034,0.836604,0.8371046,0.83760524,0.8381058,0.8386064,0.83910704,0.8396076,0.8401082,0.84060884,0.8411094,0.84161,0.84211063,0.8426112,0.8431118,0.84361243,0.84411305,0.8446136,0.84511423,0.84561485,0.8461154,0.846616,0.84711665,0.8476172,0.8481178,0.84861845,0.84911907,0.8496196,0.85012025,0.85062087,0.8511214,0.85162205,0.85212266,0.8526232,0.85312384,0.85362446,0.854125,0.85462564,0.85512626,0.8556269,0.85612744,0.85662806,0.8571287,0.85762924,0.85812986,0.8586305,0.85913104,0.85963166,0.8601323,0.86063284,0.86113346,0.8616341,0.8621347,0.86263525,0.8631359,0.8636365,0.86413705,0.8646377,0.8651383,0.86563885,0.8661395,0.8666401,0.8671407,0.86764127,0.8681419,0.8686425,0.86914307,0.8696437,0.8701443,0.87064487,0.8711455,0.8716461,0.87214667,0.8726473,0.8731479,0.8736485,0.8741491,0.8746497,0.8751503,0.8756509,0.8761515,0.8766521,0.8771527,0.8776533,0.8781539,0.8786545,0.8791551,0.8796557,0.88015634,0.8806569,0.8811575,0.88165814,0.8821587,0.8826593,0.88315994,0.8836605,0.8841611,0.88466173,0.88516235,0.8856629,0.88616353,0.88666415,0.8871647,0.88766533,0.88816595,0.8886665,0.88916713,0.88966775,0.8901683,0.8906689,0.89116955,0.89167017,0.8921707,0.89267135,0.89317197,0.8936725,0.89417315,0.89467376,0.8951743,0.89567494,0.89617556,0.8966761,0.89717674,0.89767736,0.898178,0.89867854,0.89917916,0.8996798,0.90018034,0.90068096,0.9011816,0.90168214,0.90218276,0.9026834,0.903184,0.90368456,0.9041852,0.9046858,0.90518636,0.905687,0.9061876,0.90668815,0.9071888,0.9076894,0.90818995,0.9086906,0.9091912,0.9096918,0.9101924,0.910693,0.9111936,0.91169417,0.9121948,0.9126954,0.91319597,0.9136966,0.9141972,0.91469777,0.9151984,0.915699,0.9161996,0.9167002,0.9172008,0.9177014,0.918202,0.9187026,0.9192032,0.9197038,0.9202044,0.920705,0.92120564,0.9217062,0.9222068,0.92270744,0.923208,0.9237086,0.92420924,0.9247098,0.9252104,0.92571104,0.9262116,0.9267122,0.92721283,0.92771345,0.928214,0.92871463,0.92921525,0.9297158,0.93021643,0.93071705,0.9312176,0.93171823,0.93221885,0.9327194,0.93322,0.93372065,0.93422127,0.9347218,0.93522245,0.93572307,0.9362236,0.93672425,0.93722486,0.9377254,0.93822604,0.93872666,0.9392273,0.93972784,0.94022846,0.9407291,0.94122964,0.94173026,0.9422309,0.94273144,0.94323206,0.9437327,0.94423324,0.94473386,0.9452345,0.9457351,0.94623566,0.9467363,0.9472369,0.94773746,0.9482381,0.9487387,0.94923925,0.9497399,0.9502405,0.95074105,0.9512417,0.9517423,0.9522429,0.9527435,0.9532441,0.9537447,0.95424527,0.9547459,0.9552465,0.95574707,0.9562477,0.9567483,0.9572489,0.9577495,0.9582501,0.9587507,0.9592513,0.9597519,0.9602525,0.9607531,0.9612537,0.9617543,0.9622549,0.9627555,0.9632561,0.96375674,0.9642573,0.9647579,0.96525854,0.9657591,0.9662597,0.96676034,0.9672609,0.9677615,0.96826214,0.9687627,0.9692633,0.96976393,0.97026455,0.9707651,0.97126573,0.97176635,0.9722669,0.97276753,0.97326815,0.9737687,0.97426933,0.97476995,0.97527057,0.9757711,0.97627175,0.97677237,0.9772729,0.97777355,0.97827417,0.9787747,0.97927535,0.97977597,0.9802765,0.98077714,0.98127776,0.9817784,0.98227894,0.98277956,0.9832802,0.98378074,0.98428136,0.984782,0.98528254,0.98578316,0.9862838,0.98678434,0.98728496,0.9877856,0.9882862,0.98878676,0.9892874,0.989788,0.99028856,0.9907892,0.9912898,0.99179035,0.992291,0.9927916,0.9932922,0.9937928,0.9942934,0.994794,0.9952946,0.9957952,0.9962958,0.99679637,0.997297,0.9977976,0.99829817,0.9987988,0.9992994,0.9998]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9998_0.9999..8.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9998_0.9999..8.json new file mode 100644 index 000000000000..247145438614 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9998_0.9999..8.json @@ -0,0 +1 @@ +{"expected":[2.6297653,2.630085,2.6304057,2.6307797,2.6311011,2.631423,2.6317992,2.6321228,2.6325002,2.632825,2.6331496,2.6335292,2.6338553,2.6342363,2.6345642,2.634892,2.635275,2.6356046,2.6359887,2.6363194,2.6366503,2.6370368,2.6373694,2.6377022,2.6380908,2.638425,2.6388159,2.639151,2.6394868,2.63988,2.6402175,2.6406114,2.6409497,2.6412892,2.6416852,2.6420257,2.6424239,2.6427658,2.643108,2.6435084,2.643852,2.6441967,2.644599,2.6449451,2.6453495,2.645696,2.6460443,2.646451,2.6467998,2.647208,2.647559,2.6479099,2.6483207,2.6486735,2.6490853,2.649439,2.649794,2.6502092,2.650565,2.6509225,2.651339,2.6516976,2.6521165,2.6524765,2.6528375,2.6532586,2.6536202,2.654044,2.6544073,2.6547713,2.6551971,2.6555629,2.6559908,2.656358,2.656726,2.6571562,2.6575255,2.657896,2.6583295,2.658701,2.6591358,2.6595094,2.6598837,2.6603212,2.6606972,2.6611366,2.6615138,2.6618922,2.6623347,2.6627147,2.6630952,2.6635404,2.663923,2.6643698,2.664754,2.6651387,2.6655893,2.6659753,2.6664271,2.6668158,2.6672049,2.6676602,2.6680508,2.6685078,2.6689005,2.6692939,2.6697538,2.670149,2.6705456,2.6710088,2.6714065,2.6718721,2.6722717,2.6726725,2.673141,2.6735437,2.674014,2.6744187,2.674824,2.6752975,2.675705,2.676181,2.6765902,2.677,2.6774795,2.6778917,2.6783044,2.6787877,2.6792023,2.6796875,2.6801045,2.6805224,2.681011,2.6814306,2.6819217,2.6823437,2.6827662,2.683261,2.683686,2.684183,2.6846101,2.6850383,2.6855385,2.685969,2.6864002,2.6869042,2.6873376,2.6878445,2.68828,2.688717,2.6892276,2.6896663,2.6901793,2.6906207,2.6910627,2.6915798,2.6920242,2.6924694,2.6929908,2.6934385,2.6939623,2.6944127,2.694864,2.6953914,2.6958456,2.696376,2.6968322,2.6972892,2.697824,2.6982834,2.6988215,2.6992836,2.6997468,2.7002888,2.7007544,2.7012217,2.7017677,2.7022376,2.702787,2.7032588,2.7037323,2.704286,2.704762,2.705319,2.7057977,2.7062776,2.7068388,2.707322,2.707886,2.7083714,2.7088585,2.7094276,2.7099173,2.7104077,2.7109818,2.7114756,2.712053,2.7125497,2.7130475,2.71363,2.7141309,2.7147167,2.7152207,2.7157257,2.7163165,2.7168245,2.7174191,2.7179306,2.7184432,2.7190428,2.719559,2.7200756,2.720681,2.7212014,2.7218099,2.722334,2.7228587,2.723473,2.7240016,2.7246199,2.7251515,2.7256846,2.7263088,2.726845,2.7273831,2.728013,2.7285547,2.7291884,2.7297337,2.7302804,2.7309198,2.7314703,2.7321146,2.7326684,2.7332242,2.733874,2.7344334,2.7350883,2.735651,2.7362158,2.7368767,2.7374449,2.7380154,2.738683,2.739257,2.73993,2.7405078,2.7410874,2.7417665,2.7423503,2.7430341,2.743622,2.7442122,2.7449026,2.7454972,2.7461927,2.7467911,2.7473912,2.7480943,2.748699,2.7493052,2.7500157,2.7506266,2.751342,2.7519577,2.7525754,2.7532988,2.753921,2.7546496,2.7552764,2.7559056,2.7566423,2.757276,2.7580183,2.758657,2.759298,2.7600489,2.7606943,2.7613428,2.7621021,2.7627554,2.7635202,2.7641783,2.7648394,2.765613,2.7662797,2.7670598,2.7677312,2.768405,2.7691946,2.7698739,2.7705564,2.771355,2.7720428,2.7728481,2.7735417,2.7742376,2.7750533,2.7757552,2.7765775,2.7772853,2.7779963,2.7788286,2.7795455,2.7803857,2.7811084,2.7818344,2.7826853,2.7834175,2.7841525,2.7850149,2.7857568,2.7866266,2.7873752,2.788127,2.7890077,2.7897663,2.7906563,2.791422,2.792191,2.7930923,2.7938683,2.7947786,2.795562,2.7963493,2.797272,2.7980661,2.7988648,2.7998006,2.8006063,2.8015516,2.8023655,2.803183,2.8041418,2.8049676,2.8059363,2.8067706,2.8076086,2.8085918,2.8094385,2.8104315,2.811287,2.8121467,2.8131557,2.8140244,2.8148975,2.8159215,2.8168042,2.8178394,2.8187318,2.8196285,2.8206804,2.8215868,2.822651,2.8235676,2.8244889,2.8255699,2.8265023,2.8275964,2.828539,2.829487,2.8305993,2.8315585,2.8325226,2.8336544,2.83463,2.8357756,2.8367634,2.8377564,2.8389225,2.839928,2.8411083,2.8421266,2.8431506,2.8443532,2.84539,2.8464332,2.8476584,2.8487153,2.8499565,2.8510277,2.8521047,2.8533707,2.8544624,2.8557453,2.8568525,2.8579667,2.8592753,2.8604047,2.8617318,2.8628776,2.8640306,2.8653858,2.8665557,2.8677337,2.8691185,2.8703136,2.8717186,2.872932,2.8741536,2.8755906,2.876831,2.8782904,2.879551,2.8808203,2.882313,2.8836033,2.8851204,2.8864312,2.887753,2.8893068,2.8906503,2.8920043,2.8935971,2.8949747,2.8965955,2.8979967,2.8994095,2.9010725,2.9025111,2.9042048,2.9056697,2.9071474,2.9088874,2.910393,2.9121666,2.9137013,2.9152498,2.9170747,2.9186537,2.920248,2.922127,2.923754,2.9256725,2.9273336,2.929011,2.9309895,2.9327037,2.9347255,2.9364774,2.9382484,2.9403374,2.9421494,2.94398,2.9461417,2.9480164,2.95023,2.9521506,2.9540932,2.9563885,2.9583812,2.9607353,2.9627802,2.9648495,2.967297,2.9694233,2.9719384,2.9741242,2.976339,2.978961,2.9812405,2.9835525,2.9862897,2.9886723,2.9914956,2.993954,2.99645,2.999409,3.0019882,3.005048,3.0077167,3.0104284,3.01365,3.0164611,3.0198033,3.0227218,3.0256932,3.0292284,3.0323207,3.0354722,3.0392256,3.042513,3.0464332,3.0498695,3.0533793,3.0575714,3.0612526,3.0656545,3.0695248,3.0734892,3.0782397,3.082425,3.0874486,3.0918822,3.0964408,3.101927,3.1067834,3.11179,3.1178355,3.1232057],"x":[0.9998,0.9998004,0.99980074,0.99980116,0.9998015,0.9998019,0.9998023,0.99980265,0.99980307,0.9998034,0.9998038,0.9998042,0.99980456,0.999805,0.99980533,0.9998057,0.9998061,0.99980646,0.9998069,0.99980724,0.9998076,0.999808,0.9998084,0.9998087,0.99980915,0.9998095,0.9998099,0.9998103,0.99981064,0.99981105,0.9998114,0.9998118,0.9998122,0.99981254,0.99981296,0.9998133,0.99981374,0.9998141,0.99981445,0.99981487,0.9998152,0.9998156,0.999816,0.99981636,0.9998168,0.99981713,0.9998175,0.9998179,0.99981827,0.9998187,0.99981904,0.9998194,0.9998198,0.9998202,0.9998206,0.99982095,0.9998213,0.9998217,0.9998221,0.99982244,0.99982285,0.9998232,0.99982363,0.999824,0.99982435,0.99982476,0.9998251,0.99982554,0.9998259,0.99982625,0.99982667,0.999827,0.99982744,0.9998278,0.99982816,0.9998286,0.99982893,0.9998293,0.9998297,0.99983007,0.9998305,0.99983084,0.9998312,0.9998316,0.999832,0.9998324,0.99983275,0.9998331,0.9998335,0.9998339,0.99983424,0.99983466,0.999835,0.99983543,0.9998358,0.99983615,0.99983656,0.9998369,0.99983734,0.9998377,0.99983805,0.9998385,0.9998388,0.99983925,0.9998396,0.99983996,0.9998404,0.99984074,0.9998411,0.9998415,0.99984187,0.9998423,0.99984264,0.999843,0.9998434,0.9998438,0.9998442,0.99984455,0.9998449,0.9998453,0.9998457,0.9998461,0.99984646,0.9998468,0.99984723,0.9998476,0.99984795,0.99984837,0.9998487,0.99984914,0.9998495,0.99984986,0.9998503,0.99985063,0.99985105,0.9998514,0.99985176,0.9998522,0.99985254,0.99985296,0.9998533,0.9998537,0.9998541,0.99985445,0.9998548,0.9998552,0.9998556,0.999856,0.99985635,0.9998567,0.9998571,0.9998575,0.9998579,0.99985826,0.9998586,0.99985904,0.9998594,0.99985975,0.99986017,0.9998605,0.99986094,0.9998613,0.99986166,0.9998621,0.99986243,0.99986285,0.9998632,0.99986356,0.999864,0.99986434,0.99986476,0.9998651,0.9998655,0.9998659,0.99986625,0.9998666,0.999867,0.9998674,0.9998678,0.99986815,0.9998685,0.9998689,0.9998693,0.9998697,0.99987006,0.9998704,0.99987084,0.9998712,0.9998716,0.99987197,0.9998723,0.99987274,0.9998731,0.99987346,0.9998739,0.99987423,0.99987465,0.999875,0.99987537,0.9998758,0.99987614,0.99987656,0.9998769,0.9998773,0.9998777,0.99987805,0.99987847,0.9998788,0.9998792,0.9998796,0.99987996,0.9998803,0.99988073,0.9998811,0.9998815,0.99988186,0.9998822,0.99988264,0.999883,0.9998834,0.9998838,0.9998841,0.99988455,0.9998849,0.99988526,0.9998857,0.99988604,0.99988645,0.9998868,0.99988717,0.9998876,0.99988794,0.99988836,0.9998887,0.9998891,0.9998895,0.99988985,0.99989027,0.9998906,0.999891,0.9998914,0.99989176,0.9998921,0.99989253,0.9998929,0.9998933,0.99989367,0.999894,0.99989444,0.9998948,0.9998952,0.9998956,0.99989593,0.99989635,0.9998967,0.9998971,0.9998975,0.99989784,0.99989825,0.9998986,0.99989897,0.9998994,0.99989974,0.99990016,0.9999005,0.9999009,0.9999013,0.99990165,0.99990207,0.9999024,0.9999028,0.9999032,0.99990356,0.999904,0.99990433,0.9999047,0.9999051,0.99990547,0.9999058,0.99990624,0.9999066,0.999907,0.9999074,0.99990773,0.99990815,0.9999085,0.9999089,0.9999093,0.99990964,0.99991006,0.9999104,0.9999108,0.9999112,0.99991155,0.99991196,0.9999123,0.9999127,0.9999131,0.99991345,0.9999139,0.9999142,0.9999146,0.999915,0.99991536,0.9999158,0.99991614,0.9999165,0.9999169,0.99991727,0.9999176,0.99991804,0.9999184,0.9999188,0.9999192,0.99991953,0.99991995,0.9999203,0.9999207,0.9999211,0.99992144,0.99992186,0.9999222,0.99992263,0.999923,0.99992335,0.99992377,0.9999241,0.9999245,0.9999249,0.99992526,0.9999257,0.99992603,0.9999264,0.9999268,0.99992716,0.9999276,0.99992794,0.9999283,0.9999287,0.9999291,0.9999295,0.99992985,0.9999302,0.9999306,0.999931,0.99993134,0.99993175,0.9999321,0.9999325,0.9999329,0.99993324,0.99993366,0.999934,0.99993443,0.9999348,0.99993515,0.99993557,0.9999359,0.99993634,0.9999367,0.99993706,0.9999375,0.99993783,0.9999382,0.9999386,0.99993896,0.9999394,0.99993974,0.9999401,0.9999405,0.9999409,0.9999413,0.99994165,0.999942,0.9999424,0.9999428,0.99994314,0.99994355,0.9999439,0.9999443,0.9999447,0.99994504,0.99994546,0.9999458,0.99994624,0.9999466,0.99994695,0.99994737,0.9999477,0.99994814,0.9999485,0.99994886,0.9999493,0.99994963,0.99995,0.9999504,0.99995077,0.9999512,0.99995154,0.9999519,0.9999523,0.9999527,0.9999531,0.99995345,0.9999538,0.9999542,0.9999546,0.999955,0.99995536,0.9999557,0.99995613,0.9999565,0.99995685,0.99995726,0.9999576,0.99995804,0.9999584,0.99995875,0.9999592,0.9999595,0.99995995,0.9999603,0.99996066,0.9999611,0.99996144,0.99996185,0.9999622,0.99996257,0.999963,0.99996334,0.9999637,0.9999641,0.9999645,0.9999649,0.99996525,0.9999656,0.999966,0.9999664,0.9999668,0.99996716,0.9999675,0.99996793,0.9999683,0.99996865,0.99996907,0.9999694,0.99996984,0.9999702,0.99997056,0.999971,0.99997133,0.99997175,0.9999721,0.99997246,0.9999729,0.99997324,0.99997365,0.999974,0.99997437,0.9999748,0.99997514,0.9999755,0.9999759,0.9999763,0.9999767,0.99997705,0.9999774,0.9999778,0.9999782,0.9999786,0.99997896,0.9999793,0.99997973,0.9999801,0.9999805,0.99998087,0.9999812,0.99998164,0.999982,0.99998236,0.9999828,0.99998313,0.99998355,0.9999839,0.99998426,0.9999847,0.99998504,0.99998546,0.9999858,0.9999862,0.9999866,0.99998695,0.99998736,0.9999877,0.9999881,0.9999885,0.99998885,0.9999892,0.9999896,0.99999]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9999..8_1.json b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9999..8_1.json new file mode 100644 index 000000000000..1ad2d872eb4e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/x_0.9999..8_1.json @@ -0,0 +1 @@ +{"expected":[3.1232057,3.1241183,3.1241183,3.1241183,3.1241183,3.1250362,3.1250362,3.1250362,3.1259594,3.1259594,3.1259594,3.1268885,3.1268885,3.1268885,3.1268885,3.1278222,3.1278222,3.1278222,3.1287622,3.1287622,3.1287622,3.129707,3.129707,3.129707,3.129707,3.1306574,3.1306574,3.1306574,3.1316144,3.1316144,3.1316144,3.1325762,3.1325762,3.1325762,3.1335447,3.1335447,3.1335447,3.1335447,3.1345184,3.1345184,3.1345184,3.1354983,3.1354983,3.1354983,3.1364844,3.1364844,3.1364844,3.1364844,3.1374762,3.1374762,3.1374762,3.1384745,3.1384745,3.1384745,3.1394794,3.1394794,3.1394794,3.1394794,3.1404905,3.1404905,3.1404905,3.1415076,3.1415076,3.1415076,3.142532,3.142532,3.142532,3.1435626,3.1435626,3.1435626,3.1435626,3.1445997,3.1445997,3.1445997,3.145644,3.145644,3.145644,3.146695,3.146695,3.146695,3.146695,3.147753,3.147753,3.147753,3.1488183,3.1488183,3.1488183,3.1498904,3.1498904,3.1498904,3.1498904,3.1509702,3.1509702,3.1509702,3.1520574,3.1520574,3.1520574,3.153152,3.153152,3.153152,3.153152,3.1542542,3.1542542,3.1542542,3.155364,3.155364,3.155364,3.156482,3.156482,3.156482,3.1576073,3.1576073,3.1576073,3.1576073,3.1587415,3.1587415,3.1587415,3.159883,3.159883,3.159883,3.1610332,3.1610332,3.1610332,3.1610332,3.162192,3.162192,3.162192,3.163359,3.163359,3.163359,3.164535,3.164535,3.164535,3.164535,3.1657197,3.1657197,3.1657197,3.166913,3.166913,3.166913,3.168116,3.168116,3.168116,3.168116,3.1693277,3.1693277,3.1693277,3.1705492,3.1705492,3.1705492,3.1717796,3.1717796,3.1717796,3.1730208,3.1730208,3.1730208,3.1730208,3.174271,3.174271,3.174271,3.1755314,3.1755314,3.1755314,3.1768024,3.1768024,3.1768024,3.1768024,3.1780834,3.1780834,3.1780834,3.1793747,3.1793747,3.1793747,3.1806767,3.1806767,3.1806767,3.1806767,3.18199,3.18199,3.18199,3.1833138,3.1833138,3.1833138,3.184649,3.184649,3.184649,3.1859956,3.1859956,3.1859956,3.1859956,3.1873543,3.1873543,3.1873543,3.1887245,3.1887245,3.1887245,3.190107,3.190107,3.190107,3.190107,3.1915019,3.1915019,3.1915019,3.192909,3.192909,3.192909,3.1943285,3.1943285,3.1943285,3.1943285,3.1957612,3.1957612,3.1957612,3.197208,3.197208,3.197208,3.1986678,3.1986678,3.1986678,3.1986678,3.2001412,3.2001412,3.2001412,3.2016287,3.2016287,3.2016287,3.20313,3.20313,3.20313,3.204647,3.204647,3.204647,3.204647,3.2061782,3.2061782,3.2061782,3.2077246,3.2077246,3.2077246,3.2092865,3.2092865,3.2092865,3.2092865,3.2108648,3.2108648,3.2108648,3.2124584,3.2124584,3.2124584,3.2140691,3.2140691,3.2140691,3.2140691,3.2156963,3.2156963,3.2156963,3.217341,3.217341,3.217341,3.219003,3.219003,3.219003,3.2206826,3.2206826,3.2206826,3.2206826,3.2223814,3.2223814,3.2223814,3.2240987,3.2240987,3.2240987,3.2258348,3.2258348,3.2258348,3.2258348,3.227591,3.227591,3.227591,3.2293668,3.2293668,3.2293668,3.231164,3.231164,3.231164,3.231164,3.232982,3.232982,3.232982,3.2348218,3.2348218,3.2348218,3.2366838,3.2366838,3.2366838,3.2366838,3.238568,3.238568,3.238568,3.240476,3.240476,3.240476,3.2424076,3.2424076,3.2424076,3.2443635,3.2443635,3.2443635,3.2443635,3.2463448,3.2463448,3.2463448,3.248352,3.248352,3.248352,3.250386,3.250386,3.250386,3.250386,3.252447,3.252447,3.252447,3.2545354,3.2545354,3.2545354,3.2566528,3.2566528,3.2566528,3.2566528,3.2588005,3.2588005,3.2588005,3.2609782,3.2609782,3.2609782,3.2631872,3.2631872,3.2631872,3.265429,3.265429,3.265429,3.265429,3.2677038,3.2677038,3.2677038,3.2700126,3.2700126,3.2700126,3.2723575,3.2723575,3.2723575,3.2723575,3.274738,3.274738,3.274738,3.2771573,3.2771573,3.2771573,3.2796154,3.2796154,3.2796154,3.2796154,3.2821133,3.2821133,3.2821133,3.2846525,3.2846525,3.2846525,3.2872355,3.2872355,3.2872355,3.2872355,3.2898629,3.2898629,3.2898629,3.2925358,3.2925358,3.2925358,3.2952578,3.2952578,3.2952578,3.2980287,3.2980287,3.2980287,3.2980287,3.300852,3.300852,3.300852,3.3037286,3.3037286,3.3037286,3.3066604,3.3066604,3.3066604,3.3066604,3.3096504,3.3096504,3.3096504,3.312701,3.312701,3.312701,3.3158147,3.3158147,3.3158147,3.3158147,3.3189938,3.3189938,3.3189938,3.3222415,3.3222415,3.3222415,3.3255608,3.3255608,3.3255608,3.3289542,3.3289542,3.3289542,3.3289542,3.3324275,3.3324275,3.3324275,3.3359818,3.3359818,3.3359818,3.3396237,3.3396237,3.3396237,3.3396237,3.3433557,3.3433557,3.3433557,3.3471832,3.3471832,3.3471832,3.351112,3.351112,3.351112,3.351112,3.3551464,3.3551464,3.3551464,3.359293,3.359293,3.359293,3.3635583,3.3635583,3.3635583,3.3635583,3.36795,3.36795,3.36795,3.3724759,3.3724759,3.3724759,3.3771439,3.3771439,3.3771439,3.381964,3.381964,3.381964,3.381964,3.3869464,3.3869464,3.3869464,3.392103,3.392103,3.392103,3.3974464,3.3974464,3.3974464,3.3974464,3.4029913,3.4029913,3.4029913,3.4087536,3.4087536,3.4087536,3.4147513,3.4147513,3.4147513,3.4147513,3.421006,3.421006,3.421006,3.4275403,3.4275403,3.4275403,3.43438,3.43438,3.43438,3.43438,3.4415581,3.4415581,3.4415581,3.449109,3.449109,3.449109,3.4570744,3.4570744,3.4570744],"x":[0.99999,0.99999005,0.99999005,0.99999005,0.99999005,0.9999901,0.9999901,0.9999901,0.99999017,0.99999017,0.99999017,0.9999902,0.9999902,0.9999902,0.9999902,0.9999903,0.9999903,0.9999903,0.99999034,0.99999034,0.99999034,0.9999904,0.9999904,0.9999904,0.9999904,0.99999046,0.99999046,0.99999046,0.9999905,0.9999905,0.9999905,0.9999906,0.9999906,0.9999906,0.99999064,0.99999064,0.99999064,0.99999064,0.9999907,0.9999907,0.9999907,0.99999076,0.99999076,0.99999076,0.9999908,0.9999908,0.9999908,0.9999908,0.9999909,0.9999909,0.9999909,0.99999094,0.99999094,0.99999094,0.999991,0.999991,0.999991,0.999991,0.99999106,0.99999106,0.99999106,0.9999911,0.9999911,0.9999911,0.9999912,0.9999912,0.9999912,0.99999124,0.99999124,0.99999124,0.99999124,0.9999913,0.9999913,0.9999913,0.99999136,0.99999136,0.99999136,0.9999914,0.9999914,0.9999914,0.9999914,0.9999915,0.9999915,0.9999915,0.99999154,0.99999154,0.99999154,0.9999916,0.9999916,0.9999916,0.9999916,0.99999166,0.99999166,0.99999166,0.9999917,0.9999917,0.9999917,0.9999918,0.9999918,0.9999918,0.9999918,0.99999183,0.99999183,0.99999183,0.9999919,0.9999919,0.9999919,0.99999195,0.99999195,0.99999195,0.999992,0.999992,0.999992,0.999992,0.9999921,0.9999921,0.9999921,0.99999213,0.99999213,0.99999213,0.9999922,0.9999922,0.9999922,0.9999922,0.99999225,0.99999225,0.99999225,0.9999923,0.9999923,0.9999923,0.9999924,0.9999924,0.9999924,0.9999924,0.99999243,0.99999243,0.99999243,0.9999925,0.9999925,0.9999925,0.99999255,0.99999255,0.99999255,0.99999255,0.9999926,0.9999926,0.9999926,0.99999267,0.99999267,0.99999267,0.9999927,0.9999927,0.9999927,0.9999928,0.9999928,0.9999928,0.9999928,0.99999285,0.99999285,0.99999285,0.9999929,0.9999929,0.9999929,0.99999297,0.99999297,0.99999297,0.99999297,0.999993,0.999993,0.999993,0.9999931,0.9999931,0.9999931,0.99999315,0.99999315,0.99999315,0.99999315,0.9999932,0.9999932,0.9999932,0.99999326,0.99999326,0.99999326,0.9999933,0.9999933,0.9999933,0.9999934,0.9999934,0.9999934,0.9999934,0.99999344,0.99999344,0.99999344,0.9999935,0.9999935,0.9999935,0.99999356,0.99999356,0.99999356,0.99999356,0.9999936,0.9999936,0.9999936,0.9999937,0.9999937,0.9999937,0.99999374,0.99999374,0.99999374,0.99999374,0.9999938,0.9999938,0.9999938,0.99999386,0.99999386,0.99999386,0.9999939,0.9999939,0.9999939,0.9999939,0.999994,0.999994,0.999994,0.99999404,0.99999404,0.99999404,0.9999941,0.9999941,0.9999941,0.99999416,0.99999416,0.99999416,0.99999416,0.9999942,0.9999942,0.9999942,0.9999943,0.9999943,0.9999943,0.99999434,0.99999434,0.99999434,0.99999434,0.9999944,0.9999944,0.9999944,0.99999446,0.99999446,0.99999446,0.9999945,0.9999945,0.9999945,0.9999945,0.9999946,0.9999946,0.9999946,0.99999464,0.99999464,0.99999464,0.9999947,0.9999947,0.9999947,0.99999475,0.99999475,0.99999475,0.99999475,0.9999948,0.9999948,0.9999948,0.9999949,0.9999949,0.9999949,0.99999493,0.99999493,0.99999493,0.99999493,0.999995,0.999995,0.999995,0.99999505,0.99999505,0.99999505,0.9999951,0.9999951,0.9999951,0.9999951,0.9999952,0.9999952,0.9999952,0.99999523,0.99999523,0.99999523,0.9999953,0.9999953,0.9999953,0.9999953,0.99999535,0.99999535,0.99999535,0.9999954,0.9999954,0.9999954,0.99999547,0.99999547,0.99999547,0.9999955,0.9999955,0.9999955,0.9999955,0.9999956,0.9999956,0.9999956,0.99999565,0.99999565,0.99999565,0.9999957,0.9999957,0.9999957,0.9999957,0.99999577,0.99999577,0.99999577,0.9999958,0.9999958,0.9999958,0.9999959,0.9999959,0.9999959,0.9999959,0.99999595,0.99999595,0.99999595,0.999996,0.999996,0.999996,0.99999607,0.99999607,0.99999607,0.9999961,0.9999961,0.9999961,0.9999961,0.9999962,0.9999962,0.9999962,0.99999624,0.99999624,0.99999624,0.9999963,0.9999963,0.9999963,0.9999963,0.99999636,0.99999636,0.99999636,0.9999964,0.9999964,0.9999964,0.9999965,0.9999965,0.9999965,0.9999965,0.99999654,0.99999654,0.99999654,0.9999966,0.9999966,0.9999966,0.99999666,0.99999666,0.99999666,0.99999666,0.9999967,0.9999967,0.9999967,0.9999968,0.9999968,0.9999968,0.99999684,0.99999684,0.99999684,0.9999969,0.9999969,0.9999969,0.9999969,0.99999696,0.99999696,0.99999696,0.999997,0.999997,0.999997,0.9999971,0.9999971,0.9999971,0.9999971,0.99999714,0.99999714,0.99999714,0.9999972,0.9999972,0.9999972,0.99999726,0.99999726,0.99999726,0.99999726,0.9999973,0.9999973,0.9999973,0.9999974,0.9999974,0.9999974,0.99999744,0.99999744,0.99999744,0.9999975,0.9999975,0.9999975,0.9999975,0.99999756,0.99999756,0.99999756,0.9999976,0.9999976,0.9999976,0.9999977,0.9999977,0.9999977,0.9999977,0.99999774,0.99999774,0.99999774,0.9999978,0.9999978,0.9999978,0.99999785,0.99999785,0.99999785,0.99999785,0.9999979,0.9999979,0.9999979,0.999998,0.999998,0.999998,0.99999803,0.99999803,0.99999803,0.99999803,0.9999981,0.9999981,0.9999981,0.99999815,0.99999815,0.99999815,0.9999982,0.9999982,0.9999982,0.9999983,0.9999983,0.9999983,0.9999983,0.99999833,0.99999833,0.99999833,0.9999984,0.9999984,0.9999984,0.99999845,0.99999845,0.99999845,0.99999845,0.9999985,0.9999985,0.9999985,0.99999857,0.99999857,0.99999857,0.9999986,0.9999986,0.9999986,0.9999986,0.9999987,0.9999987,0.9999987,0.99999875,0.99999875,0.99999875,0.9999988,0.9999988,0.9999988,0.9999988,0.99999887,0.99999887,0.99999887,0.9999989,0.9999989,0.9999989,0.999999,0.999999,0.999999]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.js new file mode 100644 index 000000000000..b89acc5b6952 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.js @@ -0,0 +1,255 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); +var absf = require( '@stdlib/math/base/special/absf' ); +var isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' ); +var isPositiveZerof = require( '@stdlib/math/base/assert/is-positive-zerof' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var erfinvf = require( './../lib' ); + + +// FIXTURES // + +var x1 = require( './fixtures/julia/x_-0.5_0.5.json' ); +var x2 = require( './fixtures/julia/x_-0.5_-0.75.json' ); +var x3 = require( './fixtures/julia/x_0.5_0.75.json' ); +var x4 = require( './fixtures/julia/x_0.75_0.9998.json' ); +var x5 = require( './fixtures/julia/x_0.9998_0.9999..8.json' ); +var x6 = require( './fixtures/julia/x_0.9999..8_1.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof erfinvf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN`, the function returns `NaN`', function test( t ) { + var y = erfinvf( NaN ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `1`, the function returns `+infinity`', function test( t ) { + var y = erfinvf( f32( 1.0 ) ); + t.strictEqual( y, PINF, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `-1`, the function returns `-infinity`', function test( t ) { + var y = erfinvf( f32( -1.0 ) ); + t.strictEqual( y, NINF, 'returns expected value`' ); + t.end(); +}); + +tape( 'if provided `-0`, the function returns `-0`', function test( t ) { + var y = erfinvf( f32( -0.0 ) ); + t.strictEqual( isNegativeZerof( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `0`, the function returns `0`', function test( t ) { + var y = erfinvf( f32( 0.0 ) ); + t.strictEqual( isPositiveZerof( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided a value which is either less than `-1` or greater than `1`, the function returns `NaN`', function test( t ) { + var values; + var i; + var v; + + values = [ + f32( 3.14 ), + f32( -3.14 ), + f32( -1.1 ), + f32( 1.1 ), + PINF, + NINF + ]; + + for ( i = 0; i < values.length; i++ ) { + v = erfinvf( values[i] ); + t.strictEqual( isnanf( v ), true, 'returns expected value when provided '+values[i] ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[-0.5,0.5]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x1.expected; + x = x1.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 3.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[-0.5,-0.75]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x2.expected; + x = x2.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 2.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.5,0.75]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x3.expected; + x = x3.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 2.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.75,0.9998]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x4.expected; + x = x4.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 14.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.9998,0.9999..8]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x5.expected; + x = x5.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 9.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.9999..8,1]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x6.expected; + x = x6.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( expected[ i ] === null ) { + expected[ i ] = PINF; + } + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 3.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.native.js new file mode 100644 index 000000000000..547740fb651c --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/test.native.js @@ -0,0 +1,264 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var tape = require( 'tape' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' ); +var isPositiveZerof = require( '@stdlib/math/base/assert/is-positive-zerof' ); +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 x1 = require( './fixtures/julia/x_-0.5_0.5.json' ); +var x2 = require( './fixtures/julia/x_-0.5_-0.75.json' ); +var x3 = require( './fixtures/julia/x_0.5_0.75.json' ); +var x4 = require( './fixtures/julia/x_0.75_0.9998.json' ); +var x5 = require( './fixtures/julia/x_0.9998_0.9999..8.json' ); +var x6 = require( './fixtures/julia/x_0.9999..8_1.json' ); + + +// VARIABLES // + +var erfinvf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( erfinvf instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof erfinvf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN`, the function returns `NaN`', opts, function test( t ) { + var y = erfinvf( NaN ); + t.strictEqual( isnanf( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `1`, the function returns `+infinity`', opts, function test( t ) { + var y = erfinvf( f32( 1.0 ) ); + t.strictEqual( y, PINF, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `-1`, the function returns `-infinity`', opts, function test( t ) { + var y = erfinvf( f32( -1.0 ) ); + t.strictEqual( y, NINF, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `-0`, the function returns `-0`', opts, function test( t ) { + var y = erfinvf( f32( -0.0 ) ); + t.strictEqual( isNegativeZerof( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `0`, the function returns `0`', opts, function test( t ) { + var y = erfinvf( f32( 0.0 ) ); + t.strictEqual( isPositiveZerof( y ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided a value which is either less than `-1` or greater than `1`, the function returns `NaN`', opts, function test( t ) { + var values; + var i; + var v; + + values = [ + f32( 3.14 ), + f32( -3.14 ), + f32( -1.1 ), + f32( 1.1 ), + PINF, + NINF + ]; + + for ( i = 0; i < values.length; i++ ) { + v = erfinvf( values[i] ); + t.strictEqual( isnanf( v ), true, 'returns expected value when provided '+values[i] ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[-0.5,0.5]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x1.expected; + x = x1.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 3.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[-0.5,-0.75]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x2.expected; + x = x2.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 2.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.5,0.75]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x3.expected; + x = x3.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 2.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.75,0.9998]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x4.expected; + x = x4.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 20.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.9998,0.9999..8]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x5.expected; + x = x5.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 15.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse error function for `x` on the interval `[0.9999..8,1]', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + + expected = x6.expected; + x = x6.x; + for ( i = 0; i < x.length; i++ ) { + x[i] = f32( x[i] ); + expected[i] = f32( expected[i] ); + y = erfinvf( x[i] ); + if ( expected[ i ] === null ) { + expected[ i ] = PINF; + } + if ( y === expected[i] ) { + t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] ); + } else { + delta = absf( y - expected[ i ] ); + tol = f32( 3.0 * EPS * absf( expected[ i ] ) ); + t.ok( delta <= tol, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i]+'. Δ: '+delta+'. tol: '+tol ); + } + } + t.end(); +}); From 335ea4b000b6175f521474e6cc6dcd7cf8821243 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Wed, 11 Mar 2026 08:33:17 +0000 Subject: [PATCH 3/3] chore: update copyright years --- lib/node_modules/@stdlib/math/base/special/erfinvf/README.md | 2 +- .../@stdlib/math/base/special/erfinvf/benchmark/benchmark.js | 2 +- .../math/base/special/erfinvf/benchmark/benchmark.native.js | 2 +- .../math/base/special/erfinvf/benchmark/c/native/Makefile | 2 +- .../math/base/special/erfinvf/benchmark/c/native/benchmark.c | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp | 2 +- .../@stdlib/math/base/special/erfinvf/docs/types/index.d.ts | 2 +- .../@stdlib/math/base/special/erfinvf/docs/types/test.ts | 2 +- .../@stdlib/math/base/special/erfinvf/examples/c/Makefile | 2 +- .../@stdlib/math/base/special/erfinvf/examples/c/example.c | 2 +- .../@stdlib/math/base/special/erfinvf/examples/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi | 2 +- .../special/erfinvf/include/stdlib/math/base/special/erfinvf.h | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js | 2 +- .../@stdlib/math/base/special/erfinvf/lib/native.js | 2 +- .../@stdlib/math/base/special/erfinvf/scripts/evalrational.js | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c | 2 +- lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c | 2 +- .../math/base/special/erfinvf/test/fixtures/julia/runner.jl | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md b/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md index 73db1b5b18ee..d5251eb7710b 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/README.md @@ -2,7 +2,7 @@ @license Apache-2.0 -Copyright (c) 2018 The Stdlib Authors. +Copyright (c) 2026 The Stdlib Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js index f186bb884713..e0618b203951 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js index 55918a989add..b3b442cb3dde 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/benchmark.native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile index 31c8ce908095..a04b65100316 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2026 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c index 58d9015da086..01c730a730f2 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/benchmark/c/native/benchmark.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp index ec3992233442..0d6508a12e99 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/binding.gyp @@ -1,6 +1,6 @@ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2026 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts index a03720e534df..311b61711222 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/index.d.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2019 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts index 8dd4698eb794..c8a4eb201a43 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/docs/types/test.ts @@ -1,7 +1,7 @@ /* * @license Apache-2.0 * -* Copyright (c) 2019 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile index a764d1413a1a..6660f75b89f7 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2026 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c index 036dbcfb87ba..298930a7fc10 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/c/example.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js index 7a326434b1f9..ee6f35d3bafa 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/examples/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi b/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi index 575cb043c0bf..bee8d41a2caf 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/include.gypi @@ -1,6 +1,6 @@ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2026 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h b/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h index 283fdb01592a..a46488534ce8 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/include/stdlib/math/base/special/erfinvf.h @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js index 774183c53163..0413fb53950e 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/index.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js index 02613b975c7f..6d00e9bc0402 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/main.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js index e72be98beebf..1098ca814138 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2018 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js index 1ca1aec67913..fdc023d1691b 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/scripts/evalrational.js @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile index bcf18aa46655..2caf905cedbe 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/Makefile @@ -1,7 +1,7 @@ #/ # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2026 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c index b73b65452676..b6946549b0b5 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/addon.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c index da265632d689..1cf5874caf43 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/src/main.c @@ -1,7 +1,7 @@ /** * @license Apache-2.0 * -* Copyright (c) 2024 The Stdlib Authors. +* Copyright (c) 2026 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl index 905a878e2258..780721aa3c52 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/test/fixtures/julia/runner.jl @@ -2,7 +2,7 @@ # # @license Apache-2.0 # -# Copyright (c) 2024 The Stdlib Authors. +# Copyright (c) 2026 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.