From c323d3a0902e106f1fceebbc4827f07ac15699c5 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Wed, 20 May 2026 12:42:51 +0530 Subject: [PATCH 1/4] feat: add `ml/base/loss/float64/hinge-gradient` --- 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: passed - task: lint_c_examples status: passed - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../loss/float64/hinge-gradient/README.md | 235 ++++++++++++++++++ .../hinge-gradient/benchmark/benchmark.js | 61 +++++ .../benchmark/benchmark.native.js | 71 ++++++ .../benchmark/c/native/Makefile | 146 +++++++++++ .../benchmark/c/native/benchmark.c | 161 ++++++++++++ .../loss/float64/hinge-gradient/binding.gyp | 170 +++++++++++++ .../loss/float64/hinge-gradient/docs/repl.txt | 41 +++ .../hinge-gradient/docs/types/index.d.ts | 62 +++++ .../float64/hinge-gradient/docs/types/test.ts | 71 ++++++ .../hinge-gradient/examples/c/Makefile | 146 +++++++++++ .../hinge-gradient/examples/c/example.c | 33 +++ .../float64/hinge-gradient/examples/index.js | 36 +++ .../loss/float64/hinge-gradient/include.gypi | 53 ++++ .../ml/base/loss/float64/hinge_gradient.h | 38 +++ .../loss/float64/hinge-gradient/lib/index.js | 55 ++++ .../loss/float64/hinge-gradient/lib/main.js | 76 ++++++ .../loss/float64/hinge-gradient/lib/native.js | 68 +++++ .../loss/float64/hinge-gradient/manifest.json | 75 ++++++ .../loss/float64/hinge-gradient/package.json | 69 +++++ .../loss/float64/hinge-gradient/src/Makefile | 70 ++++++ .../loss/float64/hinge-gradient/src/addon.c | 22 ++ .../loss/float64/hinge-gradient/src/main.c | 46 ++++ .../test/fixtures/julia/REQUIRE | 2 + .../test/fixtures/julia/runner.jl | 91 +++++++ .../test/fixtures/julia/small_negative.json | 1 + .../test/fixtures/julia/small_positive.json | 1 + .../test/fixtures/julia/tiny_negative.json | 1 + .../test/fixtures/julia/tiny_positive.json | 1 + .../loss/float64/hinge-gradient/test/test.js | 147 +++++++++++ .../hinge-gradient/test/test.native.js | 156 ++++++++++++ 30 files changed, 2205 insertions(+) create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.native.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/Makefile create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/benchmark.c create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/binding.gyp create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/Makefile create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/example.c create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/index.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include.gypi create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include/stdlib/ml/base/loss/float64/hinge_gradient.h create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/index.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/main.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/native.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/manifest.json create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/package.json create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/Makefile create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/addon.c create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/REQUIRE create mode 100755 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/runner.jl create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js create mode 100644 lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md new file mode 100644 index 000000000000..ac8b4e52f227 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/README.md @@ -0,0 +1,235 @@ + + +# hingeGradient + +> Compute the [hinge loss gradient][hinge-loss-gradient] between two double-precision floating-point numbers. + +
+ +The [hinge loss gradient][hinge-loss-gradient] is defined as + + + +```math +\frac{\partial \ell}{\partial w_i} = +\begin{cases} +-yx_i & \text{if } yp < 1 \\ +0 & \text{otherwise} +\end{cases} +``` + + + +
+ + + +
+ +## Usage + +```javascript +var hingeGradient = require( '@stdlib/ml/base/loss/float64/hinge-gradient' ); +``` + +#### hingeGradient( x, y, p ) + +Computes the [hinge loss gradient][hinge-loss-gradient] between two double-precision floating-point numbers. + +```javascript +var v = hingeGradient( 3.0, 1.0, 0.782 ); +// returns -3.0 + +v = hingeGradient( -1.3, 1.0, -0.999 ); +// returns 1.3 +``` + +If any argument is `NaN`, the function returns `NaN`. + +```javascript +var v = hingeGradient( NaN, 1.0, 0.782 ); +// returns NaN + +v = hingeGradient( 1.0, NaN, 0.782 ); +// returns NaN + +v = hingeGradient( NaN, NaN, 0.782 ); +// returns NaN + +v = hingeGradient( NaN, NaN, NaN ); +// returns NaN +``` + +If `y` is not +1 or -1, the function returns `NaN`. + +```javascript +var v = hingeGradient( 3.0, -0.9, 1.0 ); +// returns NaN + +v = hingeGradient( 2.4, 0.453, 0.76 ); +// returns NaN +``` + +
+ + + +
+ +## Examples + + + +```javascript +var uniform = require( '@stdlib/random/array/uniform' ); +var sample = require( '@stdlib/random/sample' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var hingeGradient = require( '@stdlib/ml/base/loss/float64/hinge-gradient' ); + +var y = sample( [ -1.0, 1.0 ], { + 'size': 100 +}); +var x = uniform( 100, -100.0, 100.0, { + 'dtype': 'float64' +}); +var p = uniform( 100, -5.0, 5.0, { + 'dtype': 'float64' +}); + +logEachMap( 'hingeGradient(%0.4f, %0.4f, %0.4f) = %0.4f', x, y, p, hingeGradient ); + +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/ml/base/loss/float64/hinge_gradient.h" +``` + +#### stdlib_base_float64_hinge_gradient( x, y, p ) + +Computes the [hinge loss gradient][hinge-loss-gradient] between two double-precision floating-point numbers. + +```c +double out = stdlib_base_float64_hinge_gradient( 3.0, 1.0, 0.782 ); +// returns -3.0 +``` + +The function accepts the following arguments: + +- **x**: `[in] double` input value. +- **y**: `[in] double` true target value. +- **p**: `[in] double` predicted value. + +```c +double stdlib_base_float64_hinge_gradient( const double x, const double y, const double p ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/ml/base/loss/float64/hinge_gradient.h" +#include + +int main( void ) { + const double x[] = { -10.0, -9.56, -8.67, -7.78, -6.89, 6.89, 7.78, 8.67, 9.56, 10.0 }; + const double y[] = { -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }; + const double p[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 }; + + double v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_float64_hinge_gradient( x[ i ], y[ i ], p[ i ] ); + printf( "hingeGradient(%lf, %lf, %lf) = %lf\n", x[ i ], y[ i ], p[ i ], v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.js new file mode 100644 index 000000000000..09ef58274453 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.js @@ -0,0 +1,61 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var sample = require( '@stdlib/random/sample' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var pkg = require( './../package.json' ).name; +var hingeGradient = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var len; + var x; + var y; + var p; + var v; + var i; + + len = 100; + y = sample( [ -1.0, 1.0 ], { + 'size': len + }); + x = uniform( len, -100.0, 100.0 ); + p = uniform( len, -2.0, 2.0 ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = hingeGradient( x[ i%x.length ], y[ i%y.length ], p[ i%p.length ] ); + if ( isnan( v ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnan( v ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.native.js new file mode 100644 index 000000000000..90c9dedfc62b --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/benchmark.native.js @@ -0,0 +1,71 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var sample = require( '@stdlib/random/sample' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var format = require( '@stdlib/string/format' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var hingeGradient = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( hingeGradient instanceof Error ) +}; + + +// MAIN // + +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { + var len; + var x; + var y; + var p; + var v; + var i; + + len = 100; + y = sample( [ -1.0, 1.0 ], { + 'size': len + }); + x = uniform( len, -100.0, 100.0 ); + p = uniform( len, -2.0, 2.0 ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = hingeGradient( x[ i%x.length ], y[ i%y.length ], p[ i%p.length ] ); + if ( isnan( v ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnan( v ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/Makefile new file mode 100644 index 000000000000..979768abbcec --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + +# Define the program used for compiling C source files: +ifdef C_COMPILER + CC := $(C_COMPILER) +else + CC := gcc +endif + +# Define the command-line options when compiling C files: +CFLAGS ?= \ + -std=c99 \ + -O3 \ + -Wall \ + -pedantic + +# Determine whether to generate position independent code ([1][1], [2][2]). +# +# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options +# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option +ifeq ($(OS), WINNT) + fPIC ?= +else + fPIC ?= -fPIC +endif + +# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`): +INCLUDE ?= + +# List of source files: +SOURCE_FILES ?= + +# List of libraries (e.g., `-lopenblas -lpthread`): +LIBRARIES ?= + +# List of library paths (e.g., `-L /foo/bar -L /beep/boop`): +LIBPATH ?= + +# List of C targets: +c_targets := benchmark.out + + +# RULES # + +#/ +# Compiles source files. +# +# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`) +# @param {string} [CFLAGS] - C compiler options +# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`) +# @param {string} [SOURCE_FILES] - list of source files +# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`) +# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`) +# +# @example +# make +# +# @example +# make all +#/ +all: $(c_targets) + +.PHONY: all + +#/ +# Compiles C source files. +# +# @private +# @param {string} CC - C compiler (e.g., `gcc`) +# @param {string} CFLAGS - C compiler options +# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`) +# @param {string} SOURCE_FILES - list of source files +# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`) +# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`) +#/ +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES) + +#/ +# Runs compiled benchmarks. +# +# @example +# make run +#/ +run: $(c_targets) + $(QUIET) ./$< + +.PHONY: run + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: + $(QUIET) -rm -f *.o *.out + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..8454a965c7da --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/benchmark/c/native/benchmark.c @@ -0,0 +1,161 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/ml/base/loss/float64/hinge_gradient.h" +#include +#include +#include +#include +#include + +#define NAME "hinge_gradient" +#define ITERATIONS 1000000 +#define REPEATS 3 + +/** +* Prints the TAP version. +*/ +static void print_version( void ) { + printf( "TAP version 13\n" ); +} + +/** +* Prints the TAP summary. +* +* @param total total number of tests +* @param passing total number of passing tests +*/ +static void print_summary( int total, int passing ) { + printf( "#\n" ); + printf( "1..%d\n", total ); // TAP plan + printf( "# total %d\n", total ); + printf( "# pass %d\n", passing ); + printf( "#\n" ); + printf( "# ok\n" ); +} + +/** +* Prints benchmarks results. +* +* @param elapsed elapsed time in seconds +*/ +static void print_results( double elapsed ) { + double rate = (double)ITERATIONS / elapsed; + printf( " ---\n" ); + printf( " iterations: %d\n", ITERATIONS ); + printf( " elapsed: %0.9f\n", elapsed ); + printf( " rate: %0.9f\n", rate ); + printf( " ...\n" ); +} + +/** +* Returns a clock time. +* +* @return clock time +*/ +static double tic( void ) { + struct timeval now; + gettimeofday( &now, NULL ); + return (double)now.tv_sec + (double)now.tv_usec/1.0e6; +} + +/** +* Generates a random number on the interval [min,max). +* +* @param min minimum value (inclusive) +* @param max maximum value (exclusive) +* @return random number +*/ +static double random_uniform( const double min, const double max ) { + double v = (double)rand() / ( (double)RAND_MAX + 1.0 ); + return min + ( v*(max-min) ); +} + +/** +* Randomly samples either +1 or -1. +* +* @return randomly sampled value (+1 or -1) +*/ +static double random_sample( void ) { + double v = (double)rand() / ( (double)RAND_MAX ); + if ( v >= 0.5 ) { + return 1.0; + } + return -1.0; +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +static double benchmark( void ) { + double elapsed; + double *x; + double *p; + double *y; + double v; + double t; + int i; + + x = (double *) malloc( 100 * sizeof( double ) ); + p = (double *) malloc( 100 * sizeof( double ) ); + y = (double *) malloc( 100 * sizeof( double ) ); + for ( i = 0; i < 100; i++ ) { + y[ i ] = random_sample(); + x[ i ] = random_uniform( -100.0, 100.0 ); + p[ i ] = random_uniform( -2.0, 2.0 ); + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + v = stdlib_base_float64_hinge_gradient( x[ i%100 ], y[ i % 100 ], p[ i % 100 ] ); + if ( v != v ) { + printf( "should not return NaN\n" ); + break; + } + } + elapsed = tic() - t; + if ( v != v ) { + printf( "should not return NaN\n" ); + } + free( x ); + free( y ); + free( p ); + 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/ml/base/loss/float64/hinge-gradient/binding.gyp b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/binding.gyp new file mode 100644 index 000000000000..0d6508a12e99 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/binding.gyp @@ -0,0 +1,170 @@ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A `.gyp` file for building a Node.js native add-on. +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + # List of files to include in this file: + 'includes': [ + './include.gypi', + ], + + # Define variables to be used throughout the configuration for all targets: + 'variables': { + # Target name should match the add-on export name: + 'addon_target_name%': 'addon', + + # Set variables based on the host OS: + 'conditions': [ + [ + 'OS=="win"', + { + # Define the object file suffix: + 'obj': 'obj', + }, + { + # Define the object file suffix: + 'obj': 'o', + } + ], # end condition (OS=="win") + ], # end conditions + }, # end variables + + # Define compile targets: + 'targets': [ + + # Target to generate an add-on: + { + # The target name should match the add-on export name: + 'target_name': '<(addon_target_name)', + + # Define dependencies: + 'dependencies': [], + + # Define directories which contain relevant include headers: + 'include_dirs': [ + # Local include directory: + '<@(include_dirs)', + ], + + # List of source files: + 'sources': [ + '<@(src_files)', + ], + + # Settings which should be applied when a target's object files are used as linker input: + 'link_settings': { + # Define libraries: + 'libraries': [ + '<@(libraries)', + ], + + # Define library directories: + 'library_dirs': [ + '<@(library_dirs)', + ], + }, + + # C/C++ compiler flags: + 'cflags': [ + # Enable commonly used warning options: + '-Wall', + + # Aggressive optimization: + '-O3', + ], + + # C specific compiler flags: + 'cflags_c': [ + # Specify the C standard to which a program is expected to conform: + '-std=c99', + ], + + # C++ specific compiler flags: + 'cflags_cpp': [ + # Specify the C++ standard to which a program is expected to conform: + '-std=c++11', + ], + + # Linker flags: + 'ldflags': [], + + # Apply conditions based on the host OS: + 'conditions': [ + [ + 'OS=="mac"', + { + # Linker flags: + 'ldflags': [ + '-undefined dynamic_lookup', + '-Wl,-no-pie', + '-Wl,-search_paths_first', + ], + }, + ], # end condition (OS=="mac") + [ + 'OS!="win"', + { + # C/C++ flags: + 'cflags': [ + # Generate platform-independent code: + '-fPIC', + ], + }, + ], # end condition (OS!="win") + ], # end conditions + }, # end target <(addon_target_name) + + # Target to copy a generated add-on to a standard location: + { + 'target_name': 'copy_addon', + + # Declare that the output of this target is not linked: + 'type': 'none', + + # Define dependencies: + 'dependencies': [ + # Require that the add-on be generated before building this target: + '<(addon_target_name)', + ], + + # Define a list of actions: + 'actions': [ + { + 'action_name': 'copy_addon', + 'message': 'Copying addon...', + + # Explicitly list the inputs in the command-line invocation below: + 'inputs': [], + + # Declare the expected outputs: + 'outputs': [ + '<(addon_output_dir)/<(addon_target_name).node', + ], + + # Define the command-line invocation: + 'action': [ + 'cp', + '<(PRODUCT_DIR)/<(addon_target_name).node', + '<(addon_output_dir)/<(addon_target_name).node', + ], + }, + ], # end actions + }, # end target copy_addon + ], # end targets +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt new file mode 100644 index 000000000000..135e28817cbc --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt @@ -0,0 +1,41 @@ + +{{alias}}( x, y, p ) + Computes the hinge loss gradient between two double-precision floating-point + numbers. + + If any argument is `NaN`, the function returns `NaN`. + + If `y` is not +1 or -1, the function returns `NaN`. + + Parameters + ---------- + x: number + Input value. + + y: number + True target value. + + p: number + Predicted value. + + Returns + ------- + v: number + Hinge loss gradient. + + Examples + -------- + > var v = {{alias}}( 3.0, 1.0, 0.782 ) + -3.0 + > v = {{alias}}( 2.5, 1.0, 0.202 ) + -2.5 + > v = {{alias}}( -1.3, 1.0, -0.999 ) + 1.3 + > v = {{alias}}( -2.0, -1.0, 0.2 ) + -2.0 + > v = {{alias}}( NaN, 1.0, 0.987 ) + NaN + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts new file mode 100644 index 000000000000..c64dff038985 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts @@ -0,0 +1,62 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Computes the hinge loss gradient between two double-precision floating-point numbers. +* +* ## Notes +* +* - If `y` is not +1 or -1, the function returns `NaN`. +* +* @param x - input value +* @param y - true target value +* @param p - predicted value +* @returns hinge loss gradient +* +* @example +* var v = hingeGradient( 3.0, 1.0, 0.782 ); +* // returns -3.0 +* +* @example +* var v = hingeGradient( 2.5, 1.0, 0.202 ); +* // returns -2.5 +* +* @example +* var v = hingeGradient( -1.3, 1.0, -0.999 ); +* // returns 1.3 +* +* @example +* var v = hingeGradient( -2.0, -1.0, 0.234 ); +* // returns -2.0 +* +* @example +* var v = hingeGradient( -2.0, -1.0, 0.2 ); +* // returns -2.0 +* +* @example +* var v = hingeGradient( -1.3, 1.0, -0.9 ); +* // returns 1.3 +*/ +declare function hingeGradient( x: number, y: number, p: number ): number; + + +// EXPORTS // + +export = hingeGradient; diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/test.ts new file mode 100644 index 000000000000..f5f6263b9860 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/test.ts @@ -0,0 +1,71 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import hingeGradient = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + hingeGradient( 1.0, 0.5869, 0.782 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a first argument which is not a number... +{ + hingeGradient( true, 0.8975, 0.782 ); // $ExpectError + hingeGradient( false, 0.8975, 0.782 ); // $ExpectError + hingeGradient( null, 0.8975, 0.782 ); // $ExpectError + hingeGradient( undefined, 0.8975, 0.782 ); // $ExpectError + hingeGradient( '5', 0.8975, 0.782 ); // $ExpectError + hingeGradient( [], 0.8975, 0.782 ); // $ExpectError + hingeGradient( {}, 0.8975, 0.782 ); // $ExpectError + hingeGradient( ( x: number ): number => x, 0.8975, 0.782 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a second argument which is not a number... +{ + hingeGradient( 1.0, true, 0.782 ); // $ExpectError + hingeGradient( 1.0, false, 0.782 ); // $ExpectError + hingeGradient( 1.0, null, 0.782 ); // $ExpectError + hingeGradient( 1.0, undefined, 0.782 ); // $ExpectError + hingeGradient( 1.0, '5', 0.782 ); // $ExpectError + hingeGradient( 1.0, [], 0.782 ); // $ExpectError + hingeGradient( 1.0, {}, 0.782 ); // $ExpectError + hingeGradient( 1.0, ( x: number ): number => x, 0.782 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a third argument which is not a number... +{ + hingeGradient( 1.0, 0.8975, true ); // $ExpectError + hingeGradient( 1.0, 0.8975, false ); // $ExpectError + hingeGradient( 1.0, 0.8975, null ); // $ExpectError + hingeGradient( 1.0, 0.8975, undefined ); // $ExpectError + hingeGradient( 1.0, 0.8975, '5' ); // $ExpectError + hingeGradient( 1.0, 0.8975, [] ); // $ExpectError + hingeGradient( 1.0, 0.8975, {} ); // $ExpectError + hingeGradient( 1.0, 0.8975, ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + hingeGradient(); // $ExpectError + hingeGradient( 1.0 ); // $ExpectError + hingeGradient( 1.0, 0.900 ); // $ExpectError + hingeGradient( 1.0, 0.900, 0.787, 0.7873 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/Makefile new file mode 100644 index 000000000000..c8f8e9a1517b --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + +# Define the program used for compiling C source files: +ifdef C_COMPILER + CC := $(C_COMPILER) +else + CC := gcc +endif + +# Define the command-line options when compiling C files: +CFLAGS ?= \ + -std=c99 \ + -O3 \ + -Wall \ + -pedantic + +# Determine whether to generate position independent code ([1][1], [2][2]). +# +# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options +# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option +ifeq ($(OS), WINNT) + fPIC ?= +else + fPIC ?= -fPIC +endif + +# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`): +INCLUDE ?= + +# List of source files: +SOURCE_FILES ?= + +# List of libraries (e.g., `-lopenblas -lpthread`): +LIBRARIES ?= + +# List of library paths (e.g., `-L /foo/bar -L /beep/boop`): +LIBPATH ?= + +# List of C targets: +c_targets := example.out + + +# RULES # + +#/ +# Compiles source files. +# +# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`) +# @param {string} [CFLAGS] - C compiler options +# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`) +# @param {string} [SOURCE_FILES] - list of source files +# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`) +# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`) +# +# @example +# make +# +# @example +# make all +#/ +all: $(c_targets) + +.PHONY: all + +#/ +# Compiles C source files. +# +# @private +# @param {string} CC - C compiler (e.g., `gcc`) +# @param {string} CFLAGS - C compiler options +# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`) +# @param {string} SOURCE_FILES - list of source files +# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`) +# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`) +#/ +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES) + +#/ +# Runs compiled examples. +# +# @example +# make run +#/ +run: $(c_targets) + $(QUIET) ./$< + +.PHONY: run + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: + $(QUIET) -rm -f *.o *.out + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/example.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/example.c new file mode 100644 index 000000000000..beddef8aaa75 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/c/example.c @@ -0,0 +1,33 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/ml/base/loss/float64/hinge_gradient.h" +#include + +int main( void ) { + const double x[] = { -10.0, -9.56, -8.67, -7.78, -6.89, 6.89, 7.78, 8.67, 9.56, 10.0 }; + const double y[] = { -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }; + const double p[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 }; + + double v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_float64_hinge_gradient( x[ i ], y[ i ], p[ i ] ); + printf( "hingeGradient(%lf, %lf, %lf) = %lf\n", x[ i ], y[ i ], p[ i ], v ); + } +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/index.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/index.js new file mode 100644 index 000000000000..f2349974fa45 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/examples/index.js @@ -0,0 +1,36 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var uniform = require( '@stdlib/random/array/uniform' ); +var sample = require( '@stdlib/random/sample' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var hingeGradient = require( './../lib' ); + +var y = sample( [ -1.0, 1.0 ], { + 'size': 100 +}); +var x = uniform( 100, -100.0, 100.0, { + 'dtype': 'float64' +}); +var p = uniform( 100, -5.0, 5.0, { + 'dtype': 'float64' +}); + +logEachMap( 'hingeGradient(%0.4f, %0.4f, %0.4f) = %0.4f', x, y, p, hingeGradient ); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include.gypi b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include.gypi new file mode 100644 index 000000000000..bee8d41a2caf --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A GYP include file for building a Node.js native add-on. +# +# Main documentation: +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + # Define variables to be used throughout the configuration for all targets: + 'variables': { + # Source directory: + 'src_dir': './src', + + # Include directories: + 'include_dirs': [ + '=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "machine learning", + "ml", + "loss", + "float64", + "hinge", + "hinge loss", + "hinge gradient", + "gradient", + "double-precision", + "double", + "dbl" + ], + "__stdlib__": {} +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/Makefile new file mode 100644 index 000000000000..2caf905cedbe --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + + +# RULES # + +#/ +# Removes generated files for building an add-on. +# +# @example +# make clean-addon +#/ +clean-addon: + $(QUIET) -rm -f *.o *.node + +.PHONY: clean-addon + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: clean-addon + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/addon.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/addon.c new file mode 100644 index 000000000000..f3bb9edc0cc1 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/addon.c @@ -0,0 +1,22 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/ml/base/loss/float64/hinge_gradient.h" +#include "stdlib/math/base/napi/ternary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_DDD_D( stdlib_base_float64_hinge_gradient ) diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c new file mode 100644 index 000000000000..2d8c3a3419ab --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c @@ -0,0 +1,46 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/ml/base/loss/float64/hinge_gradient.h" +#include "stdlib/math/base/assert/is_nan.h" +#include "stdlib/constants/float64/nan.h" + +/** +* Computes the hinge loss gradient between two double-precision floating-point numbers. +* +* @param x input value +* @param y true target value +* @param p predicted value +* @return hinge loss gradient +* +* @example +* double out = stdlib_base_float64_hinge_gradient( 2.5, 1.0, 0.202 ); +* // returns -2.5 +*/ +double stdlib_base_float64_hinge_gradient( const double x, const double y, const double p ) { + if ( + stdlib_base_is_nan( x ) || stdlib_base_is_nan( y ) || stdlib_base_is_nan( p ) || + ( y != -1.0 && y != 1.0 ) + ) { + return STDLIB_CONSTANT_FLOAT64_NAN; + } + if ( y*p < 1.0 ) { + return -x*y; + } + return 0.0; +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..7c8193c06e65 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/REQUIRE @@ -0,0 +1,2 @@ +julia 1.4.2 +JSON 0.21.0 diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/runner.jl new file mode 100755 index 000000000000..36beac1a9ace --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/runner.jl @@ -0,0 +1,91 @@ +#!/usr/bin/env julia +# +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import JSON + +""" + gen( x, y, p, name ) + +Generate fixture data and write to file. + +# Arguments + +* `x`: input domain +* `y`: response domain +* `p`: prediction domain +* `name::AbstractString`: output filename + +# Examples + +``` julia +julia> x = range( -1000.0, 1000.0, 2001 ); +julia> y = rand( [-1.0, 1.0], 2001 ) +julia> p = range( -1000.0, 1000.0, 2001 ); +julia> gen( x, y, p, "data.json" ); +``` +""" +function gen( x, y, p, name ) + v = ifelse.( y .* p .< 1.0, -x .* y, 0.0 ); + + # Store data to be written to file as a collection: + data = Dict([ + ("x", x), + ("y", y), + ("p", p), + ("expected", v) + ]); + + # 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); + +# Positive tiny values: +y = rand( [ -1.0, 1.0 ], 503 ) +x = range( 0.0, stop=20e-20, length=503 ); +p = range( 0.0, stop=1e-20, length=503 ); +gen( x, y, p, "tiny_positive.json" ); + +# Small positive values: +y = rand( [ -1.0, 1.0 ], 503 ) +x = range( 0.0, stop=50, length=503 ); +p = range( 0.0, stop=2.0, length=503 ); +gen( x, y, p, "small_positive.json" ); + +# Negative tiny values: +y = rand( [ -1.0, 1.0 ], 503 ) +x = range( 0.0, stop=-20e-20, length=503 ); +p = range( -1e-20, stop=0.0, length=503 ); +gen( x, y, p, "tiny_negative.json" ); + +# Small negative values: +y = rand( [ -1.0, 1.0 ], 503 ) +x = range( 0.0, stop=-50, length=503 ); +p = range( -2.0, stop=0.0, length=503 ); +gen( x, y, p, "small_negative.json" ); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json new file mode 100644 index 000000000000..2f43c34c9917 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json @@ -0,0 +1 @@ +{"expected":[-1.0,-1.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,0.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,0.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,0.0,0.0,0.0,-1.0,0.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,-1.0,0.0,0.0,0.0,0.0,-1.0,-1.0,-1.0,-1.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,0.0,0.0,0.0,-1.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0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-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0],"p":[-2.0,-1.99601593625498,-1.9920318725099602,-1.9880478087649402,-1.9840637450199203,-1.9800796812749004,-1.9760956175298805,-1.9721115537848606,-1.9681274900398407,-1.9641434262948207,-1.9601593625498008,-1.956175298804781,-1.952191235059761,-1.948207171314741,-1.9442231075697212,-1.9402390438247012,-1.9362549800796813,-1.9322709163346614,-1.9282868525896415,-1.9243027888446216,-1.9203187250996017,-1.9163346613545817,-1.9123505976095618,-1.908366533864542,-1.904382470119522,-1.900398406374502,-1.8964143426294822,-1.8924302788844622,-1.8884462151394423,-1.8844621513944224,-1.8804780876494025,-1.8764940239043826,-1.8725099601593624,-1.8685258964143425,-1.8645418326693226,-1.8605577689243027,-1.8565737051792828,-1.8525896414342629,-1.848605577689243,-1.844621513944223,-1.840637450199203,-1.8366533864541832,-1.8326693227091633,-1.8286852589641434,-1.8247011952191234,-1.8207171314741035,-1.8167330677290836,-1.8127490039840637,-1.8087649402390438,-1.8047808764940239,-1.800796812749004,-1.796812749003984,-1.792828685258964,-1.7888446215139442,-1.7848605577689243,-1.7808764940239044,-1.7768924302788844,-1.7729083665338645,-1.7689243027888446,-1.7649402390438247,-1.7609561752988048,-1.7569721115537849,-1.752988047808765,-1.749003984063745,-1.745019920318725,-1.7410358565737052,-1.7370517928286853,-1.7330677290836654,-1.7290836653386454,-1.7250996015936255,-1.7211155378486056,-1.7171314741035857,-1.7131474103585658,-1.7091633466135459,-1.705179282868526,-1.701195219123506,-1.697211155378486,-1.6932270916334662,-1.6892430278884463,-1.6852589641434264,-1.6812749003984064,-1.6772908366533865,-1.6733067729083666,-1.6693227091633467,-1.6653386454183268,-1.6613545816733069,-1.657370517928287,-1.653386454183267,-1.649402390438247,-1.6454183266932272,-1.6414342629482073,-1.6374501992031874,-1.6334661354581674,-1.6294820717131475,-1.6254980079681276,-1.6215139442231075,-1.6175298804780875,-1.6135458167330676,-1.6095617529880477,-1.6055776892430278,-1.6015936254980079,-1.597609561752988,-1.593625498007968,-1.5896414342629481,-1.5856573705179282,-1.5816733067729083,-1.5776892430278884,-1.5737051792828685,-1.5697211155378485,-1.5657370517928286,-1.5617529880478087,-1.5577689243027888,-1.5537848605577689,-1.549800796812749,-1.545816733067729,-1.5418326693227091,-1.5378486055776892,-1.5338645418326693,-1.5298804780876494,-1.5258964143426295,-1.5219123505976095,-1.5179282868525896,-1.5139442231075697,-1.5099601593625498,-1.5059760956175299,-1.50199203187251,-1.49800796812749,-1.4940239043824701,-1.4900398406374502,-1.4860557768924303,-1.4820717131474104,-1.4780876494023905,-1.4741035856573705,-1.4701195219123506,-1.4661354581673307,-1.4621513944223108,-1.4581673306772909,-1.454183266932271,-1.450199203187251,-1.4462151394422311,-1.4422310756972112,-1.4382470119521913,-1.4342629482071714,-1.4302788844621515,-1.4262948207171315,-1.4223107569721116,-1.4183266932270917,-1.4143426294820718,-1.4103585657370519,-1.406374501992032,-1.402390438247012,-1.3984063745019921,-1.3944223107569722,-1.3904382470119523,-1.3864541832669324,-1.3824701195219125,-1.3784860557768925,-1.3745019920318724,-1.3705179282868525,-1.3665338645418326,-1.3625498007968126,-1.3585657370517927,-1.3545816733067728,-1.350597609561753,-1.346613545816733,-1.342629482071713,-1.3386454183266931,-1.3346613545816732,-1.3306772908366533,-1.3266932270916334,-1.3227091633466135,-1.3187250996015936,-1.3147410358565736,-1.3107569721115537,-1.3067729083665338,-1.302788844621514,-1.298804780876494,-1.294820717131474,-1.2908366533864541,-1.2868525896414342,-1.2828685258964143,-1.2788844621513944,-1.2749003984063745,-1.2709163346613546,-1.2669322709163346,-1.2629482071713147,-1.2589641434262948,-1.254980079681275,-1.250996015936255,-1.247011952191235,-1.2430278884462151,-1.2390438247011952,-1.2350597609561753,-1.2310756972111554,-1.2270916334661355,-1.2231075697211156,-1.2191235059760956,-1.2151394422310757,-1.2111553784860558,-1.207171314741036,-1.203187250996016,-1.199203187250996,-1.1952191235059761,-1.1912350597609562,-1.1872509960159363,-1.1832669322709164,-1.1792828685258965,-1.1752988047808766,-1.1713147410358566,-1.1673306772908367,-1.1633466135458168,-1.159362549800797,-1.155378486055777,-1.151394422310757,-1.1474103585657371,-1.1434262948207172,-1.1394422310756973,-1.1354581673306774,-1.1314741035856575,-1.1274900398406376,-1.1235059760956174,-1.1195219123505975,-1.1155378486055776,-1.1115537848605577,-1.1075697211155378,-1.1035856573705178,-1.099601593625498,-1.095617529880478,-1.091633466135458,-1.0876494023904382,-1.0836653386454183,-1.0796812749003983,-1.0756972111553784,-1.0717131474103585,-1.0677290836653386,-1.0637450199203187,-1.0597609561752988,-1.0557768924302788,-1.051792828685259,-1.047808764940239,-1.043824701195219,-1.0398406374501992,-1.0358565737051793,-1.0318725099601593,-1.0278884462151394,-1.0239043824701195,-1.0199203187250996,-1.0159362549800797,-1.0119521912350598,-1.0079681274900398,-1.00398406374502,-1.0,-0.9960159362549801,-0.9920318725099602,-0.9880478087649402,-0.9840637450199203,-0.9800796812749004,-0.9760956175298805,-0.9721115537848606,-0.9681274900398407,-0.9641434262948207,-0.9601593625498008,-0.9561752988047809,-0.952191235059761,-0.9482071713147411,-0.9442231075697212,-0.9402390438247012,-0.9362549800796812,-0.9322709163346613,-0.9282868525896414,-0.9243027888446215,-0.9203187250996016,-0.9163346613545816,-0.9123505976095617,-0.9083665338645418,-0.9043824701195219,-0.900398406374502,-0.896414342629482,-0.8924302788844621,-0.8884462151394422,-0.8844621513944223,-0.8804780876494024,-0.8764940239043825,-0.8725099601593626,-0.8685258964143426,-0.8645418326693227,-0.8605577689243028,-0.8565737051792829,-0.852589641434263,-0.848605577689243,-0.8446215139442231,-0.8406374501992032,-0.8366533864541833,-0.8326693227091634,-0.8286852589641435,-0.8247011952191236,-0.8207171314741036,-0.8167330677290837,-0.8127490039840638,-0.8087649402390438,-0.8047808764940239,-0.8007968127490039,-0.796812749003984,-0.7928286852589641,-0.7888446215139442,-0.7848605577689243,-0.7808764940239044,-0.7768924302788844,-0.7729083665338645,-0.7689243027888446,-0.7649402390438247,-0.7609561752988048,-0.7569721115537849,-0.7529880478087649,-0.749003984063745,-0.7450199203187251,-0.7410358565737052,-0.7370517928286853,-0.7330677290836654,-0.7290836653386454,-0.7250996015936255,-0.7211155378486056,-0.7171314741035857,-0.7131474103585658,-0.7091633466135459,-0.7051792828685259,-0.701195219123506,-0.6972111553784861,-0.6932270916334662,-0.6892430278884463,-0.6852589641434262,-0.6812749003984063,-0.6772908366533864,-0.6733067729083665,-0.6693227091633466,-0.6653386454183267,-0.6613545816733067,-0.6573705179282868,-0.6533864541832669,-0.649402390438247,-0.6454183266932271,-0.6414342629482072,-0.6374501992031872,-0.6334661354581673,-0.6294820717131474,-0.6254980079681275,-0.6215139442231076,-0.6175298804780877,-0.6135458167330677,-0.6095617529880478,-0.6055776892430279,-0.601593625498008,-0.5976095617529881,-0.5936254980079682,-0.5896414342629482,-0.5856573705179283,-0.5816733067729084,-0.5776892430278885,-0.5737051792828686,-0.5697211155378487,-0.5657370517928287,-0.5617529880478087,-0.5577689243027888,-0.5537848605577689,-0.549800796812749,-0.545816733067729,-0.5418326693227091,-0.5378486055776892,-0.5338645418326693,-0.5298804780876494,-0.5258964143426295,-0.5219123505976095,-0.5179282868525896,-0.5139442231075697,-0.5099601593625498,-0.5059760956175299,-0.50199203187251,-0.49800796812749004,-0.4940239043824701,-0.4900398406374502,-0.4860557768924303,-0.4820717131474104,-0.47808764940239046,-0.47410358565737054,-0.4701195219123506,-0.46613545816733065,-0.46215139442231074,-0.4581673306772908,-0.4541832669322709,-0.450199203187251,-0.44621513944223107,-0.44223107569721115,-0.43824701195219123,-0.4342629482071713,-0.4302788844621514,-0.4262948207171315,-0.42231075697211157,-0.41832669322709165,-0.41434262948207173,-0.4103585657370518,-0.4063745019920319,-0.40239043824701193,-0.398406374501992,-0.3944223107569721,-0.3904382470119522,-0.38645418326693226,-0.38247011952191234,-0.3784860557768924,-0.3745019920318725,-0.3705179282868526,-0.3665338645418327,-0.36254980079681276,-0.35856573705179284,-0.3545816733067729,-0.350597609561753,-0.3466135458167331,-0.3426294820717131,-0.3386454183266932,-0.3346613545816733,-0.33067729083665337,-0.32669322709163345,-0.32270916334661354,-0.3187250996015936,-0.3147410358565737,-0.3107569721115538,-0.30677290836653387,-0.30278884462151395,-0.29880478087649404,-0.2948207171314741,-0.2908366533864542,-0.2868525896414343,-0.28286852589641437,-0.2788844621513944,-0.2749003984063745,-0.27091633466135456,-0.26693227091633465,-0.26294820717131473,-0.2589641434262948,-0.2549800796812749,-0.250996015936255,-0.24701195219123506,-0.24302788844621515,-0.23904382470119523,-0.2350597609561753,-0.23107569721115537,-0.22709163346613545,-0.22310756972111553,-0.21912350597609562,-0.2151394422310757,-0.21115537848605578,-0.20717131474103587,-0.20318725099601595,-0.199203187250996,-0.1952191235059761,-0.19123505976095617,-0.18725099601593626,-0.18326693227091634,-0.17928286852589642,-0.1752988047808765,-0.17131474103585656,-0.16733067729083664,-0.16334661354581673,-0.1593625498007968,-0.1553784860557769,-0.15139442231075698,-0.14741035856573706,-0.14342629482071714,-0.1394422310756972,-0.13545816733067728,-0.13147410358565736,-0.12749003984063745,-0.12350597609561753,-0.11952191235059761,-0.11553784860557768,-0.11155378486055777,-0.10756972111553785,-0.10358565737051793,-0.099601593625498,-0.09561752988047809,-0.09163346613545817,-0.08764940239043825,-0.08366533864541832,-0.0796812749003984,-0.07569721115537849,-0.07171314741035857,-0.06772908366533864,-0.06374501992031872,-0.05976095617529881,-0.055776892430278883,-0.05179282868525897,-0.04780876494023904,-0.043824701195219126,-0.0398406374501992,-0.035856573705179286,-0.03187250996015936,-0.027888446215139442,-0.02390438247011952,-0.0199203187250996,-0.01593625498007968,-0.01195219123505976,-0.00796812749003984,-0.00398406374501992,0.0],"y":[1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1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.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json new file mode 100644 index 000000000000..2b14bf356e3e --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json @@ -0,0 +1 @@ +{"expected":[-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.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0.0,0.0,1.0,1.0],"p":[0.0,0.00398406374501992,0.00796812749003984,0.01195219123505976,0.01593625498007968,0.0199203187250996,0.02390438247011952,0.027888446215139442,0.03187250996015936,0.035856573705179286,0.0398406374501992,0.043824701195219126,0.04780876494023904,0.05179282868525897,0.055776892430278883,0.05976095617529881,0.06374501992031872,0.06772908366533864,0.07171314741035857,0.07569721115537849,0.0796812749003984,0.08366533864541832,0.08764940239043825,0.09163346613545817,0.09561752988047809,0.099601593625498,0.10358565737051793,0.10756972111553785,0.11155378486055777,0.11553784860557768,0.11952191235059761,0.12350597609561753,0.12749003984063745,0.13147410358565736,0.13545816733067728,0.1394422310756972,0.14342629482071714,0.14741035856573706,0.15139442231075698,0.1553784860557769,0.1593625498007968,0.16334661354581673,0.16733067729083664,0.17131474103585656,0.1752988047808765,0.17928286852589642,0.18326693227091634,0.18725099601593626,0.19123505976095617,0.1952191235059761,0.199203187250996,0.20318725099601595,0.20717131474103587,0.21115537848605578,0.2151394422310757,0.21912350597609562,0.22310756972111553,0.22709163346613545,0.23107569721115537,0.2350597609561753,0.23904382470119523,0.24302788844621515,0.24701195219123506,0.250996015936255,0.2549800796812749,0.2589641434262948,0.26294820717131473,0.26693227091633465,0.27091633466135456,0.2749003984063745,0.2788844621513944,0.28286852589641437,0.2868525896414343,0.2908366533864542,0.2948207171314741,0.29880478087649404,0.30278884462151395,0.30677290836653387,0.3107569721115538,0.3147410358565737,0.3187250996015936,0.32270916334661354,0.32669322709163345,0.33067729083665337,0.3346613545816733,0.3386454183266932,0.3426294820717131,0.3466135458167331,0.350597609561753,0.3545816733067729,0.35856573705179284,0.36254980079681276,0.3665338645418327,0.3705179282868526,0.3745019920318725,0.3784860557768924,0.38247011952191234,0.38645418326693226,0.3904382470119522,0.3944223107569721,0.398406374501992,0.40239043824701193,0.4063745019920319,0.4103585657370518,0.41434262948207173,0.41832669322709165,0.42231075697211157,0.4262948207171315,0.4302788844621514,0.4342629482071713,0.43824701195219123,0.44223107569721115,0.44621513944223107,0.450199203187251,0.4541832669322709,0.4581673306772908,0.46215139442231074,0.46613545816733065,0.4701195219123506,0.47410358565737054,0.47808764940239046,0.4820717131474104,0.4860557768924303,0.4900398406374502,0.4940239043824701,0.49800796812749004,0.50199203187251,0.5059760956175299,0.5099601593625498,0.5139442231075697,0.5179282868525896,0.5219123505976095,0.5258964143426295,0.5298804780876494,0.5338645418326693,0.5378486055776892,0.5418326693227091,0.545816733067729,0.549800796812749,0.5537848605577689,0.5577689243027888,0.5617529880478087,0.5657370517928287,0.5697211155378487,0.5737051792828686,0.5776892430278885,0.5816733067729084,0.5856573705179283,0.5896414342629482,0.5936254980079682,0.5976095617529881,0.601593625498008,0.6055776892430279,0.6095617529880478,0.6135458167330677,0.6175298804780877,0.6215139442231076,0.6254980079681275,0.6294820717131474,0.6334661354581673,0.6374501992031872,0.6414342629482072,0.6454183266932271,0.649402390438247,0.6533864541832669,0.6573705179282868,0.6613545816733067,0.6653386454183267,0.6693227091633466,0.6733067729083665,0.6772908366533864,0.6812749003984063,0.6852589641434262,0.6892430278884463,0.6932270916334662,0.6972111553784861,0.701195219123506,0.7051792828685259,0.7091633466135459,0.7131474103585658,0.7171314741035857,0.7211155378486056,0.7250996015936255,0.7290836653386454,0.7330677290836654,0.7370517928286853,0.7410358565737052,0.7450199203187251,0.749003984063745,0.7529880478087649,0.7569721115537849,0.7609561752988048,0.7649402390438247,0.7689243027888446,0.7729083665338645,0.7768924302788844,0.7808764940239044,0.7848605577689243,0.7888446215139442,0.7928286852589641,0.796812749003984,0.8007968127490039,0.8047808764940239,0.8087649402390438,0.8127490039840638,0.8167330677290837,0.8207171314741036,0.8247011952191236,0.8286852589641435,0.8326693227091634,0.8366533864541833,0.8406374501992032,0.8446215139442231,0.848605577689243,0.852589641434263,0.8565737051792829,0.8605577689243028,0.8645418326693227,0.8685258964143426,0.8725099601593626,0.8764940239043825,0.8804780876494024,0.8844621513944223,0.8884462151394422,0.8924302788844621,0.896414342629482,0.900398406374502,0.9043824701195219,0.9083665338645418,0.9123505976095617,0.9163346613545816,0.9203187250996016,0.9243027888446215,0.9282868525896414,0.9322709163346613,0.9362549800796812,0.9402390438247012,0.9442231075697212,0.9482071713147411,0.952191235059761,0.9561752988047809,0.9601593625498008,0.9641434262948207,0.9681274900398407,0.9721115537848606,0.9760956175298805,0.9800796812749004,0.9840637450199203,0.9880478087649402,0.9920318725099602,0.9960159362549801,1.0,1.00398406374502,1.0079681274900398,1.0119521912350598,1.0159362549800797,1.0199203187250996,1.0239043824701195,1.0278884462151394,1.0318725099601593,1.0358565737051793,1.0398406374501992,1.043824701195219,1.047808764940239,1.051792828685259,1.0557768924302788,1.0597609561752988,1.0637450199203187,1.0677290836653386,1.0717131474103585,1.0756972111553784,1.0796812749003983,1.0836653386454183,1.0876494023904382,1.091633466135458,1.095617529880478,1.099601593625498,1.1035856573705178,1.1075697211155378,1.1115537848605577,1.1155378486055776,1.1195219123505975,1.1235059760956174,1.1274900398406376,1.1314741035856575,1.1354581673306774,1.1394422310756973,1.1434262948207172,1.1474103585657371,1.151394422310757,1.155378486055777,1.159362549800797,1.1633466135458168,1.1673306772908367,1.1713147410358566,1.1752988047808766,1.1792828685258965,1.1832669322709164,1.1872509960159363,1.1912350597609562,1.1952191235059761,1.199203187250996,1.203187250996016,1.207171314741036,1.2111553784860558,1.2151394422310757,1.2191235059760956,1.2231075697211156,1.2270916334661355,1.2310756972111554,1.2350597609561753,1.2390438247011952,1.2430278884462151,1.247011952191235,1.250996015936255,1.254980079681275,1.2589641434262948,1.2629482071713147,1.2669322709163346,1.2709163346613546,1.2749003984063745,1.2788844621513944,1.2828685258964143,1.2868525896414342,1.2908366533864541,1.294820717131474,1.298804780876494,1.302788844621514,1.3067729083665338,1.3107569721115537,1.3147410358565736,1.3187250996015936,1.3227091633466135,1.3266932270916334,1.3306772908366533,1.3346613545816732,1.3386454183266931,1.342629482071713,1.346613545816733,1.350597609561753,1.3545816733067728,1.3585657370517927,1.3625498007968126,1.3665338645418326,1.3705179282868525,1.3745019920318724,1.3784860557768925,1.3824701195219125,1.3864541832669324,1.3904382470119523,1.3944223107569722,1.3984063745019921,1.402390438247012,1.406374501992032,1.4103585657370519,1.4143426294820718,1.4183266932270917,1.4223107569721116,1.4262948207171315,1.4302788844621515,1.4342629482071714,1.4382470119521913,1.4422310756972112,1.4462151394422311,1.450199203187251,1.454183266932271,1.4581673306772909,1.4621513944223108,1.4661354581673307,1.4701195219123506,1.4741035856573705,1.4780876494023905,1.4820717131474104,1.4860557768924303,1.4900398406374502,1.4940239043824701,1.49800796812749,1.50199203187251,1.5059760956175299,1.5099601593625498,1.5139442231075697,1.5179282868525896,1.5219123505976095,1.5258964143426295,1.5298804780876494,1.5338645418326693,1.5378486055776892,1.5418326693227091,1.545816733067729,1.549800796812749,1.5537848605577689,1.5577689243027888,1.5617529880478087,1.5657370517928286,1.5697211155378485,1.5737051792828685,1.5776892430278884,1.5816733067729083,1.5856573705179282,1.5896414342629481,1.593625498007968,1.597609561752988,1.6015936254980079,1.6055776892430278,1.6095617529880477,1.6135458167330676,1.6175298804780875,1.6215139442231075,1.6254980079681276,1.6294820717131475,1.6334661354581674,1.6374501992031874,1.6414342629482073,1.6454183266932272,1.649402390438247,1.653386454183267,1.657370517928287,1.6613545816733069,1.6653386454183268,1.6693227091633467,1.6733067729083666,1.6772908366533865,1.6812749003984064,1.6852589641434264,1.6892430278884463,1.6932270916334662,1.697211155378486,1.701195219123506,1.705179282868526,1.7091633466135459,1.7131474103585658,1.7171314741035857,1.7211155378486056,1.7250996015936255,1.7290836653386454,1.7330677290836654,1.7370517928286853,1.7410358565737052,1.745019920318725,1.749003984063745,1.752988047808765,1.7569721115537849,1.7609561752988048,1.7649402390438247,1.7689243027888446,1.7729083665338645,1.7768924302788844,1.7808764940239044,1.7848605577689243,1.7888446215139442,1.792828685258964,1.796812749003984,1.800796812749004,1.8047808764940239,1.8087649402390438,1.8127490039840637,1.8167330677290836,1.8207171314741035,1.8247011952191234,1.8286852589641434,1.8326693227091633,1.8366533864541832,1.840637450199203,1.844621513944223,1.848605577689243,1.8525896414342629,1.8565737051792828,1.8605577689243027,1.8645418326693226,1.8685258964143425,1.8725099601593624,1.8764940239043826,1.8804780876494025,1.8844621513944224,1.8884462151394423,1.8924302788844622,1.8964143426294822,1.900398406374502,1.904382470119522,1.908366533864542,1.9123505976095618,1.9163346613545817,1.9203187250996017,1.9243027888446216,1.9282868525896415,1.9322709163346614,1.9362549800796813,1.9402390438247012,1.9442231075697212,1.948207171314741,1.952191235059761,1.956175298804781,1.9601593625498008,1.9641434262948207,1.9681274900398407,1.9721115537848606,1.9760956175298805,1.9800796812749004,1.9840637450199203,1.9880478087649402,1.9920318725099602,1.99601593625498,2.0],"y":[1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.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.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json new file mode 100644 index 000000000000..8d3253005119 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json @@ -0,0 +1 @@ +{"expected":[1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1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-1.0,1.0,1.0],"p":[-1.0e-20,-9.9800796812749e-21,-9.9601593625498e-21,-9.940239043824701e-21,-9.9203187250996e-21,-9.900398406374502e-21,-9.880478087649401e-21,-9.860557768924302e-21,-9.840637450199203e-21,-9.820717131474103e-21,-9.800796812749004e-21,-9.780876494023904e-21,-9.760956175298805e-21,-9.741035856573704e-21,-9.721115537848605e-21,-9.701195219123505e-21,-9.681274900398406e-21,-9.661354581673307e-21,-9.641434262948206e-21,-9.621513944223107e-21,-9.601593625498007e-21,-9.581673306772908e-21,-9.561752988047808e-21,-9.541832669322709e-21,-9.52191235059761e-21,-9.50199203187251e-21,-9.48207171314741e-21,-9.46215139442231e-21,-9.442231075697211e-21,-9.42231075697211e-21,-9.402390438247012e-21,-9.382470119521911e-21,-9.362549800796812e-21,-9.342629482071713e-21,-9.322709163346613e-21,-9.302788844621514e-21,-9.282868525896413e-21,-9.262948207171314e-21,-9.243027888446214e-21,-9.223107569721115e-21,-9.203187250996016e-21,-9.183266932270916e-21,-9.163346613545817e-21,-9.143426294820716e-21,-9.123505976095617e-21,-9.103585657370517e-21,-9.083665338645418e-21,-9.063745019920317e-21,-9.043824701195219e-21,-9.02390438247012e-21,-9.003984063745019e-21,-8.98406374501992e-21,-8.96414342629482e-21,-8.944223107569721e-21,-8.92430278884462e-21,-8.904382470119521e-21,-8.884462151394422e-21,-8.864541832669322e-21,-8.844621513944223e-21,-8.824701195219123e-21,-8.804780876494024e-21,-8.784860557768923e-21,-8.764940239043824e-21,-8.745019920318725e-21,-8.725099601593625e-21,-8.705179282868526e-21,-8.685258964143426e-21,-8.665338645418327e-21,-8.645418326693226e-21,-8.625498007968127e-21,-8.605577689243027e-21,-8.585657370517928e-21,-8.565737051792829e-21,-8.545816733067728e-21,-8.52589641434263e-21,-8.505976095617529e-21,-8.48605577689243e-21,-8.46613545816733e-21,-8.44621513944223e-21,-8.426294820717132e-21,-8.406374501992031e-21,-8.386454183266932e-21,-8.366533864541832e-21,-8.346613545816733e-21,-8.326693227091632e-21,-8.306772908366534e-21,-8.286852589641433e-21,-8.266932270916334e-21,-8.247011952191235e-21,-8.227091633466135e-21,-8.207171314741036e-21,-8.187250996015935e-21,-8.167330677290836e-21,-8.147410358565736e-21,-8.127490039840637e-21,-8.107569721115538e-21,-8.087649402390438e-21,-8.067729083665339e-21,-8.047808764940238e-21,-8.02788844621514e-21,-8.007968127490039e-21,-7.98804780876494e-21,-7.968127490039841e-21,-7.94820717131474e-21,-7.928286852589642e-21,-7.908366533864541e-21,-7.888446215139442e-21,-7.868525896414342e-21,-7.848605577689243e-21,-7.828685258964142e-21,-7.808764940239043e-21,-7.788844621513944e-21,-7.768924302788844e-21,-7.749003984063745e-21,-7.729083665338645e-21,-7.709163346613546e-21,-7.689243027888445e-21,-7.669322709163346e-21,-7.649402390438247e-21,-7.629482071713147e-21,-7.609561752988048e-21,-7.589641434262947e-21,-7.569721115537849e-21,-7.549800796812748e-21,-7.529880478087649e-21,-7.509960159362549e-21,-7.49003984063745e-21,-7.470119521912351e-21,-7.45019920318725e-21,-7.430278884462151e-21,-7.410358565737051e-21,-7.390438247011952e-21,-7.370517928286852e-21,-7.350597609561753e-21,-7.330677290836654e-21,-7.310756972111553e-21,-7.290836653386454e-21,-7.270916334661354e-21,-7.250996015936255e-21,-7.231075697211154e-21,-7.211155378486055e-21,-7.191235059760955e-21,-7.171314741035856e-21,-7.151394422310757e-21,-7.131474103585657e-21,-7.111553784860558e-21,-7.091633466135457e-21,-7.071713147410358e-21,-7.051792828685258e-21,-7.031872509960159e-21,-7.01195219123506e-21,-6.99203187250996e-21,-6.97211155378486e-21,-6.95219123505976e-21,-6.932270916334661e-21,-6.912350597609561e-21,-6.892430278884462e-21,-6.872509960159363e-21,-6.852589641434262e-21,-6.832669322709164e-21,-6.812749003984063e-21,-6.792828685258964e-21,-6.7729083665338644e-21,-6.752988047808765e-21,-6.733067729083665e-21,-6.713147410358565e-21,-6.693227091633466e-21,-6.673306772908366e-21,-6.653386454183266e-21,-6.633466135458167e-21,-6.6135458167330676e-21,-6.593625498007968e-21,-6.573705179282868e-21,-6.5537848605577685e-21,-6.533864541832669e-21,-6.513944223107569e-21,-6.4940239043824694e-21,-6.4741035856573705e-21,-6.454183266932271e-21,-6.434262948207171e-21,-6.4143426294820714e-21,-6.394422310756972e-21,-6.374501992031872e-21,-6.354581673306772e-21,-6.3346613545816726e-21,-6.314741035856574e-21,-6.294820717131474e-21,-6.274900398406374e-21,-6.2549800796812746e-21,-6.235059760956175e-21,-6.215139442231075e-21,-6.1952191235059755e-21,-6.175298804780876e-21,-6.155378486055777e-21,-6.135458167330677e-21,-6.1155378486055775e-21,-6.095617529880478e-21,-6.075697211155378e-21,-6.055776892430278e-21,-6.035856573705179e-21,-6.015936254980079e-21,-5.99601593625498e-21,-5.97609561752988e-21,-5.956175298804781e-21,-5.936254980079681e-21,-5.916334661354581e-21,-5.8964143426294816e-21,-5.876494023904382e-21,-5.856573705179283e-21,-5.836653386454183e-21,-5.8167330677290835e-21,-5.796812749003984e-21,-5.776892430278884e-21,-5.7569721115537844e-21,-5.737051792828685e-21,-5.717131474103585e-21,-5.697211155378486e-21,-5.6772908366533864e-21,-5.657370517928287e-21,-5.637450199203187e-21,-5.617529880478087e-21,-5.5976095617529876e-21,-5.577689243027888e-21,-5.557768924302788e-21,-5.537848605577689e-21,-5.5179282868525896e-21,-5.49800796812749e-21,-5.47808764940239e-21,-5.4581673306772905e-21,-5.438247011952191e-21,-5.418326693227091e-21,-5.3984063745019914e-21,-5.3784860557768925e-21,-5.358565737051793e-21,-5.338645418326693e-21,-5.318725099601593e-21,-5.298804780876494e-21,-5.278884462151394e-21,-5.258964143426294e-21,-5.2390438247011946e-21,-5.219123505976096e-21,-5.199203187250996e-21,-5.179282868525896e-21,-5.1593625498007965e-21,-5.139442231075697e-21,-5.119521912350597e-21,-5.0996015936254975e-21,-5.079681274900398e-21,-5.059760956175299e-21,-5.039840637450199e-21,-5.0199203187250994e-21,-5.0e-21,-4.9800796812749e-21,-4.9601593625498e-21,-4.940239043824701e-21,-4.920318725099602e-21,-4.900398406374502e-21,-4.880478087649402e-21,-4.8605577689243026e-21,-4.840637450199203e-21,-4.820717131474103e-21,-4.8007968127490035e-21,-4.780876494023904e-21,-4.760956175298805e-21,-4.741035856573705e-21,-4.7211155378486055e-21,-4.701195219123506e-21,-4.681274900398406e-21,-4.6613545816733064e-21,-4.641434262948207e-21,-4.621513944223107e-21,-4.601593625498008e-21,-4.581673306772908e-21,-4.561752988047809e-21,-4.541832669322709e-21,-4.521912350597609e-21,-4.5019920318725096e-21,-4.48207171314741e-21,-4.46215139442231e-21,-4.442231075697211e-21,-4.4223107569721115e-21,-4.402390438247012e-21,-4.382470119521912e-21,-4.3625498007968124e-21,-4.342629482071713e-21,-4.322709163346613e-21,-4.302788844621513e-21,-4.2828685258964144e-21,-4.262948207171315e-21,-4.243027888446215e-21,-4.223107569721115e-21,-4.203187250996016e-21,-4.183266932270916e-21,-4.163346613545816e-21,-4.1434262948207165e-21,-4.1235059760956176e-21,-4.103585657370518e-21,-4.083665338645418e-21,-4.0637450199203185e-21,-4.043824701195219e-21,-4.023904382470119e-21,-4.0039840637450194e-21,-3.9840637450199205e-21,-3.964143426294821e-21,-3.944223107569721e-21,-3.9243027888446214e-21,-3.904382470119522e-21,-3.884462151394422e-21,-3.864541832669322e-21,-3.8446215139442226e-21,-3.824701195219124e-21,-3.804780876494024e-21,-3.784860557768924e-21,-3.7649402390438246e-21,-3.745019920318725e-21,-3.725099601593625e-21,-3.7051792828685255e-21,-3.685258964143426e-21,-3.665338645418327e-21,-3.645418326693227e-21,-3.6254980079681274e-21,-3.605577689243028e-21,-3.585657370517928e-21,-3.565737051792828e-21,-3.545816733067729e-21,-3.525896414342629e-21,-3.50597609561753e-21,-3.48605577689243e-21,-3.466135458167331e-21,-3.446215139442231e-21,-3.426294820717131e-21,-3.4063745019920315e-21,-3.3864541832669322e-21,-3.3665338645418325e-21,-3.346613545816733e-21,-3.326693227091633e-21,-3.3067729083665338e-21,-3.286852589641434e-21,-3.2669322709163344e-21,-3.2470119521912347e-21,-3.2270916334661354e-21,-3.2071713147410357e-21,-3.187250996015936e-21,-3.1673306772908363e-21,-3.147410358565737e-21,-3.1274900398406373e-21,-3.1075697211155376e-21,-3.087649402390438e-21,-3.0677290836653386e-21,-3.047808764940239e-21,-3.027888446215139e-21,-3.0079681274900395e-21,-2.98804780876494e-21,-2.9681274900398405e-21,-2.9482071713147408e-21,-2.9282868525896415e-21,-2.9083665338645418e-21,-2.888446215139442e-21,-2.8685258964143424e-21,-2.848605577689243e-21,-2.8286852589641433e-21,-2.8087649402390437e-21,-2.788844621513944e-21,-2.7689243027888446e-21,-2.749003984063745e-21,-2.7290836653386452e-21,-2.7091633466135455e-21,-2.6892430278884462e-21,-2.6693227091633465e-21,-2.649402390438247e-21,-2.629482071713147e-21,-2.609561752988048e-21,-2.589641434262948e-21,-2.5697211155378484e-21,-2.5498007968127487e-21,-2.5298804780876494e-21,-2.5099601593625497e-21,-2.49003984063745e-21,-2.4701195219123503e-21,-2.450199203187251e-21,-2.4302788844621513e-21,-2.4103585657370516e-21,-2.390438247011952e-21,-2.3705179282868526e-21,-2.350597609561753e-21,-2.3306772908366532e-21,-2.3107569721115535e-21,-2.290836653386454e-21,-2.2709163346613545e-21,-2.2509960159362548e-21,-2.231075697211155e-21,-2.2111553784860558e-21,-2.191235059760956e-21,-2.1713147410358564e-21,-2.1513944223107567e-21,-2.1314741035856574e-21,-2.1115537848605577e-21,-2.091633466135458e-21,-2.0717131474103583e-21,-2.051792828685259e-21,-2.0318725099601593e-21,-2.0119521912350596e-21,-1.9920318725099602e-21,-1.9721115537848605e-21,-1.952191235059761e-21,-1.932270916334661e-21,-1.912350597609562e-21,-1.892430278884462e-21,-1.8725099601593624e-21,-1.8525896414342627e-21,-1.8326693227091634e-21,-1.8127490039840637e-21,-1.792828685258964e-21,-1.7729083665338643e-21,-1.752988047808765e-21,-1.7330677290836653e-21,-1.7131474103585656e-21,-1.6932270916334661e-21,-1.6733067729083664e-21,-1.6533864541832669e-21,-1.6334661354581672e-21,-1.6135458167330677e-21,-1.593625498007968e-21,-1.5737051792828685e-21,-1.5537848605577688e-21,-1.5338645418326693e-21,-1.5139442231075696e-21,-1.49402390438247e-21,-1.4741035856573704e-21,-1.4541832669322709e-21,-1.4342629482071712e-21,-1.4143426294820717e-21,-1.394422310756972e-21,-1.3745019920318725e-21,-1.3545816733067728e-21,-1.3346613545816733e-21,-1.3147410358565736e-21,-1.294820717131474e-21,-1.2749003984063744e-21,-1.2549800796812749e-21,-1.2350597609561752e-21,-1.2151394422310757e-21,-1.195219123505976e-21,-1.1752988047808764e-21,-1.1553784860557767e-21,-1.1354581673306772e-21,-1.1155378486055775e-21,-1.095617529880478e-21,-1.0756972111553783e-21,-1.0557768924302788e-21,-1.0358565737051791e-21,-1.0159362549800796e-21,-9.960159362549801e-22,-9.760956175298804e-22,-9.56175298804781e-22,-9.362549800796812e-22,-9.163346613545817e-22,-8.96414342629482e-22,-8.764940239043825e-22,-8.565737051792828e-22,-8.366533864541832e-22,-8.167330677290836e-22,-7.96812749003984e-22,-7.768924302788844e-22,-7.569721115537848e-22,-7.370517928286852e-22,-7.171314741035856e-22,-6.97211155378486e-22,-6.772908366533864e-22,-6.573705179282868e-22,-6.374501992031872e-22,-6.175298804780876e-22,-5.97609561752988e-22,-5.776892430278884e-22,-5.577689243027888e-22,-5.378486055776892e-22,-5.179282868525896e-22,-4.980079681274901e-22,-4.780876494023905e-22,-4.581673306772909e-22,-4.3824701195219125e-22,-4.183266932270916e-22,-3.98406374501992e-22,-3.784860557768924e-22,-3.585657370517928e-22,-3.386454183266932e-22,-3.187250996015936e-22,-2.98804780876494e-22,-2.788844621513944e-22,-2.589641434262948e-22,-2.3904382470119523e-22,-2.1912350597609563e-22,-1.99203187250996e-22,-1.792828685258964e-22,-1.593625498007968e-22,-1.394422310756972e-22,-1.1952191235059761e-22,-9.9601593625498e-23,-7.96812749003984e-23,-5.976095617529881e-23,-3.98406374501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,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json new file mode 100644 index 000000000000..84597e40e5db --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json @@ -0,0 +1 @@ +{"expected":[1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0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1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0],"p":[0.0,1.99203187250996e-23,3.98406374501992e-23,5.976095617529881e-23,7.96812749003984e-23,9.9601593625498e-23,1.1952191235059761e-22,1.394422310756972e-22,1.593625498007968e-22,1.792828685258964e-22,1.99203187250996e-22,2.1912350597609563e-22,2.3904382470119523e-22,2.589641434262948e-22,2.788844621513944e-22,2.98804780876494e-22,3.187250996015936e-22,3.386454183266932e-22,3.585657370517928e-22,3.784860557768924e-22,3.98406374501992e-22,4.183266932270916e-22,4.3824701195219125e-22,4.581673306772909e-22,4.780876494023905e-22,4.980079681274901e-22,5.179282868525896e-22,5.378486055776892e-22,5.577689243027888e-22,5.776892430278884e-22,5.97609561752988e-22,6.175298804780876e-22,6.374501992031872e-22,6.573705179282868e-22,6.772908366533864e-22,6.97211155378486e-22,7.171314741035856e-22,7.370517928286852e-22,7.569721115537848e-22,7.768924302788844e-22,7.96812749003984e-22,8.167330677290836e-22,8.366533864541832e-22,8.565737051792828e-22,8.764940239043825e-22,8.96414342629482e-22,9.163346613545817e-22,9.362549800796812e-22,9.56175298804781e-22,9.760956175298804e-22,9.960159362549801e-22,1.0159362549800796e-21,1.0358565737051791e-21,1.0557768924302788e-21,1.0756972111553783e-21,1.095617529880478e-21,1.1155378486055775e-21,1.1354581673306772e-21,1.1553784860557767e-21,1.1752988047808764e-21,1.195219123505976e-21,1.2151394422310757e-21,1.2350597609561752e-21,1.2549800796812749e-21,1.2749003984063744e-21,1.294820717131474e-21,1.3147410358565736e-21,1.3346613545816733e-21,1.3545816733067728e-21,1.3745019920318725e-21,1.394422310756972e-21,1.4143426294820717e-21,1.4342629482071712e-21,1.4541832669322709e-21,1.4741035856573704e-21,1.49402390438247e-21,1.5139442231075696e-21,1.5338645418326693e-21,1.5537848605577688e-21,1.5737051792828685e-21,1.593625498007968e-21,1.6135458167330677e-21,1.6334661354581672e-21,1.6533864541832669e-21,1.6733067729083664e-21,1.6932270916334661e-21,1.7131474103585656e-21,1.7330677290836653e-21,1.752988047808765e-21,1.7729083665338643e-21,1.792828685258964e-21,1.8127490039840637e-21,1.8326693227091634e-21,1.8525896414342627e-21,1.8725099601593624e-21,1.892430278884462e-21,1.912350597609562e-21,1.932270916334661e-21,1.952191235059761e-21,1.9721115537848605e-21,1.9920318725099602e-21,2.0119521912350596e-21,2.0318725099601593e-21,2.051792828685259e-21,2.0717131474103583e-21,2.091633466135458e-21,2.1115537848605577e-21,2.1314741035856574e-21,2.1513944223107567e-21,2.1713147410358564e-21,2.191235059760956e-21,2.2111553784860558e-21,2.231075697211155e-21,2.2509960159362548e-21,2.2709163346613545e-21,2.290836653386454e-21,2.3107569721115535e-21,2.3306772908366532e-21,2.350597609561753e-21,2.3705179282868526e-21,2.390438247011952e-21,2.4103585657370516e-21,2.4302788844621513e-21,2.450199203187251e-21,2.4701195219123503e-21,2.49003984063745e-21,2.5099601593625497e-21,2.5298804780876494e-21,2.5498007968127487e-21,2.5697211155378484e-21,2.589641434262948e-21,2.609561752988048e-21,2.629482071713147e-21,2.649402390438247e-21,2.6693227091633465e-21,2.6892430278884462e-21,2.7091633466135455e-21,2.7290836653386452e-21,2.749003984063745e-21,2.7689243027888446e-21,2.788844621513944e-21,2.8087649402390437e-21,2.8286852589641433e-21,2.848605577689243e-21,2.8685258964143424e-21,2.888446215139442e-21,2.9083665338645418e-21,2.9282868525896415e-21,2.9482071713147408e-21,2.9681274900398405e-21,2.98804780876494e-21,3.0079681274900395e-21,3.027888446215139e-21,3.047808764940239e-21,3.0677290836653386e-21,3.087649402390438e-21,3.1075697211155376e-21,3.1274900398406373e-21,3.147410358565737e-21,3.1673306772908363e-21,3.187250996015936e-21,3.2071713147410357e-21,3.2270916334661354e-21,3.2470119521912347e-21,3.2669322709163344e-21,3.286852589641434e-21,3.3067729083665338e-21,3.326693227091633e-21,3.346613545816733e-21,3.3665338645418325e-21,3.3864541832669322e-21,3.4063745019920315e-21,3.426294820717131e-21,3.446215139442231e-21,3.466135458167331e-21,3.48605577689243e-21,3.50597609561753e-21,3.525896414342629e-21,3.545816733067729e-21,3.565737051792828e-21,3.585657370517928e-21,3.605577689243028e-21,3.6254980079681274e-21,3.645418326693227e-21,3.665338645418327e-21,3.685258964143426e-21,3.7051792828685255e-21,3.725099601593625e-21,3.745019920318725e-21,3.7649402390438246e-21,3.784860557768924e-21,3.804780876494024e-21,3.824701195219124e-21,3.8446215139442226e-21,3.864541832669322e-21,3.884462151394422e-21,3.904382470119522e-21,3.9243027888446214e-21,3.944223107569721e-21,3.964143426294821e-21,3.9840637450199205e-21,4.0039840637450194e-21,4.023904382470119e-21,4.043824701195219e-21,4.0637450199203185e-21,4.083665338645418e-21,4.103585657370518e-21,4.1235059760956176e-21,4.1434262948207165e-21,4.163346613545816e-21,4.183266932270916e-21,4.203187250996016e-21,4.223107569721115e-21,4.243027888446215e-21,4.262948207171315e-21,4.2828685258964144e-21,4.302788844621513e-21,4.322709163346613e-21,4.342629482071713e-21,4.3625498007968124e-21,4.382470119521912e-21,4.402390438247012e-21,4.4223107569721115e-21,4.442231075697211e-21,4.46215139442231e-21,4.48207171314741e-21,4.5019920318725096e-21,4.521912350597609e-21,4.541832669322709e-21,4.561752988047809e-21,4.581673306772908e-21,4.601593625498008e-21,4.621513944223107e-21,4.641434262948207e-21,4.6613545816733064e-21,4.681274900398406e-21,4.701195219123506e-21,4.7211155378486055e-21,4.741035856573705e-21,4.760956175298805e-21,4.780876494023904e-21,4.8007968127490035e-21,4.820717131474103e-21,4.840637450199203e-21,4.8605577689243026e-21,4.880478087649402e-21,4.900398406374502e-21,4.920318725099602e-21,4.940239043824701e-21,4.9601593625498e-21,4.9800796812749e-21,5.0e-21,5.0199203187250994e-21,5.039840637450199e-21,5.059760956175299e-21,5.079681274900398e-21,5.0996015936254975e-21,5.119521912350597e-21,5.139442231075697e-21,5.1593625498007965e-21,5.179282868525896e-21,5.199203187250996e-21,5.219123505976096e-21,5.2390438247011946e-21,5.258964143426294e-21,5.278884462151394e-21,5.298804780876494e-21,5.318725099601593e-21,5.338645418326693e-21,5.358565737051793e-21,5.3784860557768925e-21,5.3984063745019914e-21,5.418326693227091e-21,5.438247011952191e-21,5.4581673306772905e-21,5.47808764940239e-21,5.49800796812749e-21,5.5179282868525896e-21,5.537848605577689e-21,5.557768924302788e-21,5.577689243027888e-21,5.5976095617529876e-21,5.617529880478087e-21,5.637450199203187e-21,5.657370517928287e-21,5.6772908366533864e-21,5.697211155378486e-21,5.717131474103585e-21,5.737051792828685e-21,5.7569721115537844e-21,5.776892430278884e-21,5.796812749003984e-21,5.8167330677290835e-21,5.836653386454183e-21,5.856573705179283e-21,5.876494023904382e-21,5.8964143426294816e-21,5.916334661354581e-21,5.936254980079681e-21,5.956175298804781e-21,5.97609561752988e-21,5.99601593625498e-21,6.015936254980079e-21,6.035856573705179e-21,6.055776892430278e-21,6.075697211155378e-21,6.095617529880478e-21,6.1155378486055775e-21,6.135458167330677e-21,6.155378486055777e-21,6.175298804780876e-21,6.1952191235059755e-21,6.215139442231075e-21,6.235059760956175e-21,6.2549800796812746e-21,6.274900398406374e-21,6.294820717131474e-21,6.314741035856574e-21,6.3346613545816726e-21,6.354581673306772e-21,6.374501992031872e-21,6.394422310756972e-21,6.4143426294820714e-21,6.434262948207171e-21,6.454183266932271e-21,6.4741035856573705e-21,6.4940239043824694e-21,6.513944223107569e-21,6.533864541832669e-21,6.5537848605577685e-21,6.573705179282868e-21,6.593625498007968e-21,6.6135458167330676e-21,6.633466135458167e-21,6.653386454183266e-21,6.673306772908366e-21,6.693227091633466e-21,6.713147410358565e-21,6.733067729083665e-21,6.752988047808765e-21,6.7729083665338644e-21,6.792828685258964e-21,6.812749003984063e-21,6.832669322709164e-21,6.852589641434262e-21,6.872509960159363e-21,6.892430278884462e-21,6.912350597609561e-21,6.932270916334661e-21,6.95219123505976e-21,6.97211155378486e-21,6.99203187250996e-21,7.01195219123506e-21,7.031872509960159e-21,7.051792828685258e-21,7.071713147410358e-21,7.091633466135457e-21,7.111553784860558e-21,7.131474103585657e-21,7.151394422310757e-21,7.171314741035856e-21,7.191235059760955e-21,7.211155378486055e-21,7.231075697211154e-21,7.250996015936255e-21,7.270916334661354e-21,7.290836653386454e-21,7.310756972111553e-21,7.330677290836654e-21,7.350597609561753e-21,7.370517928286852e-21,7.390438247011952e-21,7.410358565737051e-21,7.430278884462151e-21,7.45019920318725e-21,7.470119521912351e-21,7.49003984063745e-21,7.509960159362549e-21,7.529880478087649e-21,7.549800796812748e-21,7.569721115537849e-21,7.589641434262947e-21,7.609561752988048e-21,7.629482071713147e-21,7.649402390438247e-21,7.669322709163346e-21,7.689243027888445e-21,7.709163346613546e-21,7.729083665338645e-21,7.749003984063745e-21,7.768924302788844e-21,7.788844621513944e-21,7.808764940239043e-21,7.828685258964142e-21,7.848605577689243e-21,7.868525896414342e-21,7.888446215139442e-21,7.908366533864541e-21,7.928286852589642e-21,7.94820717131474e-21,7.968127490039841e-21,7.98804780876494e-21,8.007968127490039e-21,8.02788844621514e-21,8.047808764940238e-21,8.067729083665339e-21,8.087649402390438e-21,8.107569721115538e-21,8.127490039840637e-21,8.147410358565736e-21,8.167330677290836e-21,8.187250996015935e-21,8.207171314741036e-21,8.227091633466135e-21,8.247011952191235e-21,8.266932270916334e-21,8.286852589641433e-21,8.306772908366534e-21,8.326693227091632e-21,8.346613545816733e-21,8.366533864541832e-21,8.386454183266932e-21,8.406374501992031e-21,8.426294820717132e-21,8.44621513944223e-21,8.46613545816733e-21,8.48605577689243e-21,8.505976095617529e-21,8.52589641434263e-21,8.545816733067728e-21,8.565737051792829e-21,8.585657370517928e-21,8.605577689243027e-21,8.625498007968127e-21,8.645418326693226e-21,8.665338645418327e-21,8.685258964143426e-21,8.705179282868526e-21,8.725099601593625e-21,8.745019920318725e-21,8.764940239043824e-21,8.784860557768923e-21,8.804780876494024e-21,8.824701195219123e-21,8.844621513944223e-21,8.864541832669322e-21,8.884462151394422e-21,8.904382470119521e-21,8.92430278884462e-21,8.944223107569721e-21,8.96414342629482e-21,8.98406374501992e-21,9.003984063745019e-21,9.02390438247012e-21,9.043824701195219e-21,9.063745019920317e-21,9.083665338645418e-21,9.103585657370517e-21,9.123505976095617e-21,9.143426294820716e-21,9.163346613545817e-21,9.183266932270916e-21,9.203187250996016e-21,9.223107569721115e-21,9.243027888446214e-21,9.262948207171314e-21,9.282868525896413e-21,9.302788844621514e-21,9.322709163346613e-21,9.342629482071713e-21,9.362549800796812e-21,9.382470119521911e-21,9.402390438247012e-21,9.42231075697211e-21,9.442231075697211e-21,9.46215139442231e-21,9.48207171314741e-21,9.50199203187251e-21,9.52191235059761e-21,9.541832669322709e-21,9.561752988047808e-21,9.581673306772908e-21,9.601593625498007e-21,9.621513944223107e-21,9.641434262948206e-21,9.661354581673307e-21,9.681274900398406e-21,9.701195219123505e-21,9.721115537848605e-21,9.741035856573704e-21,9.760956175298805e-21,9.780876494023904e-21,9.800796812749004e-21,9.820717131474103e-21,9.840637450199203e-21,9.860557768924302e-21,9.880478087649401e-21,9.900398406374502e-21,9.9203187250996e-21,9.940239043824701e-21,9.9601593625498e-21,9.9800796812749e-21,1.0e-20],"y":[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0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1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js new file mode 100644 index 000000000000..ef05f3232388 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js @@ -0,0 +1,147 @@ +/** +* @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 isnan = require( '@stdlib/math/base/assert/is-nan' ); +var isAlmostSameValue = require( '@stdlib/number/float64/base/assert/is-almost-same-value' ); +var hingeGradient = require( './../lib' ); + + +// FIXTURES // + +var tinyPositive = require( './fixtures/julia/tiny_positive.json' ); +var smallPositive = require( './fixtures/julia/small_positive.json' ); +var tinyNegative = require( './fixtures/julia/tiny_negative.json' ); +var smallNegative = require( './fixtures/julia/small_negative.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof hingeGradient, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for tiny positive values', function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = tinyPositive.x; + y = tinyPositive.y; + p = tinyPositive.p; + expected = tinyPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for small positive values', function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = smallPositive.x; + y = smallPositive.y; + p = smallPositive.p; + expected = smallPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for tiny negative values', function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = tinyNegative.x; + y = tinyNegative.y; + p = tinyNegative.p; + expected = tinyNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for small negative values', function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = smallNegative.x; + y = smallNegative.y; + p = smallNegative.p; + expected = smallNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided `NaN`', function test( t ) { + var v; + + v = hingeGradient( NaN, 1.0, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( 1.0, NaN, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( NaN, NaN, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( NaN, NaN, NaN ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `NaN` if y is not +1 or -1', function test( t ) { + var v; + + v = hingeGradient( 3.0, -0.9, 1.0 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( 2.4, 0.453, 0.76 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + t.end(); +}); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js new file mode 100644 index 000000000000..42bdad6a4dc8 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js @@ -0,0 +1,156 @@ +/** +* @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 isnan = require( '@stdlib/math/base/assert/is-nan' ); +var isAlmostSameValue = require( '@stdlib/number/float64/base/assert/is-almost-same-value' ); +var tryRequire = require( '@stdlib/utils/try-require' ); + + +// FIXTURES // + +var tinyPositive = require( './fixtures/julia/tiny_positive.json' ); +var smallPositive = require( './fixtures/julia/small_positive.json' ); +var tinyNegative = require( './fixtures/julia/tiny_negative.json' ); +var smallNegative = require( './fixtures/julia/small_negative.json' ); + + +// VARIABLES // + +var hingeGradient = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( hingeGradient instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof hingeGradient, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for tiny positive values', opts, function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = tinyPositive.x; + y = tinyPositive.y; + p = tinyPositive.p; + expected = tinyPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for small positive values', opts, function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = smallPositive.x; + y = smallPositive.y; + p = smallPositive.p; + expected = smallPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for tiny negative values', opts, function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = tinyNegative.x; + y = tinyNegative.y; + p = tinyNegative.p; + expected = tinyNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hinge loss gradient for small negative values', opts, function test( t ) { + var expected; + var x; + var y; + var p; + var v; + var i; + + x = smallNegative.x; + y = smallNegative.y; + p = smallNegative.p; + expected = smallNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) { + var v; + + v = hingeGradient( NaN, 1.0, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( 1.0, NaN, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( NaN, NaN, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( NaN, NaN, NaN ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `NaN` if y is not +1 or -1', opts, function test( t ) { + var v; + + v = hingeGradient( 3.0, -0.9, 1.0 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hingeGradient( 2.4, 0.453, 0.76 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + t.end(); +}); From d88b6cd28e1acf9679d15f6d1cb9a678bc654c02 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Wed, 20 May 2026 13:30:15 +0530 Subject: [PATCH 2/4] fix: update function desc and fix failing test cases --- 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: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../loss/float64/hinge-gradient/docs/types/index.d.ts | 2 +- .../include/stdlib/ml/base/loss/float64/hinge_gradient.h | 2 +- .../ml/base/loss/float64/hinge-gradient/lib/index.js | 2 +- .../ml/base/loss/float64/hinge-gradient/lib/main.js | 2 +- .../ml/base/loss/float64/hinge-gradient/lib/native.js | 2 +- .../ml/base/loss/float64/hinge-gradient/package.json | 2 +- .../ml/base/loss/float64/hinge-gradient/src/main.c | 2 +- .../test/fixtures/julia/small_negative.json | 2 +- .../test/fixtures/julia/small_positive.json | 2 +- .../hinge-gradient/test/fixtures/julia/tiny_negative.json | 2 +- .../hinge-gradient/test/fixtures/julia/tiny_positive.json | 2 +- .../ml/base/loss/float64/hinge-gradient/test/test.js | 8 ++++---- .../base/loss/float64/hinge-gradient/test/test.native.js | 8 ++++---- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts index c64dff038985..b7fa719c947d 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/types/index.d.ts @@ -19,7 +19,7 @@ // TypeScript Version: 4.1 /** -* Computes the hinge loss gradient between two double-precision floating-point numbers. +* Computes the hinge loss gradient with respect to a model parameter. * * ## Notes * diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include/stdlib/ml/base/loss/float64/hinge_gradient.h b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include/stdlib/ml/base/loss/float64/hinge_gradient.h index 102f7443dcc8..f36cf6df0c99 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include/stdlib/ml/base/loss/float64/hinge_gradient.h +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/include/stdlib/ml/base/loss/float64/hinge_gradient.h @@ -27,7 +27,7 @@ extern "C" { #endif /** -* Computes the hinge loss gradient between two double-precision floating-point numbers. +* Computes the hinge loss gradient with respect to a model parameter. */ double stdlib_base_float64_hinge_gradient( const double x, const double y, const double p ); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/index.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/index.js index 384806d61987..4f0607f9a170 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/index.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Compute the hinge loss gradient between two double-precision floating-point numbers. +* Compute the hinge loss gradient with respect to a model parameter. * * @module @stdlib/ml/base/loss/float64/hinge-gradient * diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/main.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/main.js index 538b6e6ecca2..df7e3af92631 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/main.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/main.js @@ -26,7 +26,7 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' ); // MAIN // /** -* Computes the hinge loss gradient between two double-precision floating-point numbers. +* Computes the hinge loss gradient with respect to a model parameter. * * @param {number} x - input value * @param {number} y - true target value diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/native.js index 3a6c798ad514..eb40dc3a49f9 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/native.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/lib/native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Computes the hinge loss gradient between two double-precision floating-point numbers. +* Computes the hinge loss gradient with respect to a model parameter. * * @private * @param {number} x - input value diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/package.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/package.json index c811958a6e34..2d9700b0439f 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/package.json +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/ml/base/loss/float64/hinge-gradient", "version": "0.0.0", - "description": "Compute the hinge loss gradient between two double-precision floating-point numbers.", + "description": "Compute the hinge loss gradient with respect to a model parameter.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c index 2d8c3a3419ab..5d6d54c04279 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/src/main.c @@ -21,7 +21,7 @@ #include "stdlib/constants/float64/nan.h" /** -* Computes the hinge loss gradient between two double-precision floating-point numbers. +* Computes the hinge loss gradient with respect to a model parameter. * * @param x input value * @param y true target value diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json index 2f43c34c9917..1968a8e69178 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_negative.json @@ -1 +1 @@ -{"expected":[-1.0,-1.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,0.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,-1.0,-1.0,-1.0,-1.0,0.0,-1.0,-1.0,0.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,-1.0,0.0,-1.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,-1.0,-1.0,0.0,-1.0,-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625498,-1.9920318725099602,-1.9880478087649402,-1.9840637450199203,-1.9800796812749004,-1.9760956175298805,-1.9721115537848606,-1.9681274900398407,-1.9641434262948207,-1.9601593625498008,-1.956175298804781,-1.952191235059761,-1.948207171314741,-1.9442231075697212,-1.9402390438247012,-1.9362549800796813,-1.9322709163346614,-1.9282868525896415,-1.9243027888446216,-1.9203187250996017,-1.9163346613545817,-1.9123505976095618,-1.908366533864542,-1.904382470119522,-1.900398406374502,-1.8964143426294822,-1.8924302788844622,-1.8884462151394423,-1.8844621513944224,-1.8804780876494025,-1.8764940239043826,-1.8725099601593624,-1.8685258964143425,-1.8645418326693226,-1.8605577689243027,-1.8565737051792828,-1.8525896414342629,-1.848605577689243,-1.844621513944223,-1.840637450199203,-1.8366533864541832,-1.8326693227091633,-1.8286852589641434,-1.8247011952191234,-1.8207171314741035,-1.8167330677290836,-1.8127490039840637,-1.8087649402390438,-1.8047808764940239,-1.800796812749004,-1.796812749003984,-1.792828685258964,-1.7888446215139442,-1.7848605577689243,-1.7808764940239044,-1.7768924302788844,-1.7729083665338645,-1.7689243027888446,-1.7649402390438247,-1.7609561752988048,-1.7569721115537849,-1.752988047808765,-1.749003984063745,-1.745019920318725,-1.7410358565737052,-1.7370517928286853,-1.7330677290836654,-1.7290836653386454,-1.7250996015936255,-1.7211155378486056,-1.7171314741035857,-1.7131474103585658,-1.7091633466135459,-1.705179282868526,-1.701195219123506,-1.697211155378486,-1.6932270916334662,-1.6892430278884463,-1.6852589641434264,-1.6812749003984064,-1.6772908366533865,-1.6733067729083666,-1.6693227091633467,-1.6653386454183268,-1.6613545816733069,-1.657370517928287,-1.653386454183267,-1.649402390438247,-1.6454183266932272,-1.6414342629482073,-1.6374501992031874,-1.6334661354581674,-1.6294820717131475,-1.6254980079681276,-1.6215139442231075,-1.6175298804780875,-1.6135458167330676,-1.6095617529880477,-1.6055776892430278,-1.6015936254980079,-1.597609561752988,-1.593625498007968,-1.5896414342629481,-1.5856573705179282,-1.5816733067729083,-1.5776892430278884,-1.5737051792828685,-1.5697211155378485,-1.5657370517928286,-1.5617529880478087,-1.5577689243027888,-1.5537848605577689,-1.549800796812749,-1.545816733067729,-1.5418326693227091,-1.5378486055776892,-1.5338645418326693,-1.5298804780876494,-1.5258964143426295,-1.5219123505976095,-1.5179282868525896,-1.5139442231075697,-1.5099601593625498,-1.5059760956175299,-1.50199203187251,-1.49800796812749,-1.4940239043824701,-1.4900398406374502,-1.4860557768924303,-1.4820717131474104,-1.4780876494023905,-1.4741035856573705,-1.4701195219123506,-1.4661354581673307,-1.4621513944223108,-1.4581673306772909,-1.454183266932271,-1.450199203187251,-1.4462151394422311,-1.4422310756972112,-1.4382470119521913,-1.4342629482071714,-1.4302788844621515,-1.4262948207171315,-1.4223107569721116,-1.4183266932270917,-1.4143426294820718,-1.4103585657370519,-1.406374501992032,-1.402390438247012,-1.3984063745019921,-1.3944223107569722,-1.3904382470119523,-1.3864541832669324,-1.3824701195219125,-1.3784860557768925,-1.3745019920318724,-1.3705179282868525,-1.3665338645418326,-1.3625498007968126,-1.3585657370517927,-1.3545816733067728,-1.350597609561753,-1.346613545816733,-1.342629482071713,-1.3386454183266931,-1.3346613545816732,-1.3306772908366533,-1.3266932270916334,-1.3227091633466135,-1.3187250996015936,-1.3147410358565736,-1.3107569721115537,-1.3067729083665338,-1.302788844621514,-1.298804780876494,-1.294820717131474,-1.2908366533864541,-1.2868525896414342,-1.2828685258964143,-1.2788844621513944,-1.2749003984063745,-1.2709163346613546,-1.2669322709163346,-1.2629482071713147,-1.2589641434262948,-1.254980079681275,-1.250996015936255,-1.247011952191235,-1.2430278884462151,-1.2390438247011952,-1.2350597609561753,-1.2310756972111554,-1.2270916334661355,-1.2231075697211156,-1.2191235059760956,-1.2151394422310757,-1.2111553784860558,-1.207171314741036,-1.203187250996016,-1.199203187250996,-1.1952191235059761,-1.1912350597609562,-1.1872509960159363,-1.1832669322709164,-1.1792828685258965,-1.1752988047808766,-1.1713147410358566,-1.1673306772908367,-1.1633466135458168,-1.159362549800797,-1.155378486055777,-1.151394422310757,-1.1474103585657371,-1.1434262948207172,-1.1394422310756973,-1.1354581673306774,-1.1314741035856575,-1.1274900398406376,-1.1235059760956174,-1.1195219123505975,-1.1155378486055776,-1.1115537848605577,-1.1075697211155378,-1.1035856573705178,-1.099601593625498,-1.095617529880478,-1.091633466135458,-1.0876494023904382,-1.0836653386454183,-1.0796812749003983,-1.0756972111553784,-1.0717131474103585,-1.0677290836653386,-1.0637450199203187,-1.0597609561752988,-1.0557768924302788,-1.051792828685259,-1.047808764940239,-1.043824701195219,-1.0398406374501992,-1.0358565737051793,-1.0318725099601593,-1.0278884462151394,-1.0239043824701195,-1.0199203187250996,-1.0159362549800797,-1.0119521912350598,-1.0079681274900398,-1.00398406374502,-1.0,-0.9960159362549801,-0.9920318725099602,-0.9880478087649402,-0.9840637450199203,-0.9800796812749004,-0.9760956175298805,-0.9721115537848606,-0.9681274900398407,-0.9641434262948207,-0.9601593625498008,-0.9561752988047809,-0.952191235059761,-0.9482071713147411,-0.9442231075697212,-0.9402390438247012,-0.9362549800796812,-0.9322709163346613,-0.9282868525896414,-0.9243027888446215,-0.9203187250996016,-0.9163346613545816,-0.9123505976095617,-0.9083665338645418,-0.9043824701195219,-0.900398406374502,-0.896414342629482,-0.8924302788844621,-0.8884462151394422,-0.8844621513944223,-0.8804780876494024,-0.8764940239043825,-0.8725099601593626,-0.8685258964143426,-0.8645418326693227,-0.8605577689243028,-0.8565737051792829,-0.852589641434263,-0.848605577689243,-0.8446215139442231,-0.8406374501992032,-0.8366533864541833,-0.8326693227091634,-0.8286852589641435,-0.8247011952191236,-0.8207171314741036,-0.8167330677290837,-0.8127490039840638,-0.8087649402390438,-0.8047808764940239,-0.8007968127490039,-0.796812749003984,-0.7928286852589641,-0.7888446215139442,-0.7848605577689243,-0.7808764940239044,-0.7768924302788844,-0.7729083665338645,-0.7689243027888446,-0.7649402390438247,-0.7609561752988048,-0.7569721115537849,-0.7529880478087649,-0.749003984063745,-0.7450199203187251,-0.7410358565737052,-0.7370517928286853,-0.7330677290836654,-0.7290836653386454,-0.7250996015936255,-0.7211155378486056,-0.7171314741035857,-0.7131474103585658,-0.7091633466135459,-0.7051792828685259,-0.701195219123506,-0.6972111553784861,-0.6932270916334662,-0.6892430278884463,-0.6852589641434262,-0.6812749003984063,-0.6772908366533864,-0.6733067729083665,-0.6693227091633466,-0.6653386454183267,-0.6613545816733067,-0.6573705179282868,-0.6533864541832669,-0.649402390438247,-0.6454183266932271,-0.6414342629482072,-0.6374501992031872,-0.6334661354581673,-0.6294820717131474,-0.6254980079681275,-0.6215139442231076,-0.6175298804780877,-0.6135458167330677,-0.6095617529880478,-0.6055776892430279,-0.601593625498008,-0.5976095617529881,-0.5936254980079682,-0.5896414342629482,-0.5856573705179283,-0.5816733067729084,-0.5776892430278885,-0.5737051792828686,-0.5697211155378487,-0.5657370517928287,-0.5617529880478087,-0.5577689243027888,-0.5537848605577689,-0.549800796812749,-0.545816733067729,-0.5418326693227091,-0.5378486055776892,-0.5338645418326693,-0.5298804780876494,-0.5258964143426295,-0.5219123505976095,-0.5179282868525896,-0.5139442231075697,-0.5099601593625498,-0.5059760956175299,-0.50199203187251,-0.49800796812749004,-0.4940239043824701,-0.4900398406374502,-0.4860557768924303,-0.4820717131474104,-0.47808764940239046,-0.47410358565737054,-0.4701195219123506,-0.46613545816733065,-0.46215139442231074,-0.4581673306772908,-0.4541832669322709,-0.450199203187251,-0.44621513944223107,-0.44223107569721115,-0.43824701195219123,-0.4342629482071713,-0.4302788844621514,-0.4262948207171315,-0.42231075697211157,-0.41832669322709165,-0.41434262948207173,-0.4103585657370518,-0.4063745019920319,-0.40239043824701193,-0.398406374501992,-0.3944223107569721,-0.3904382470119522,-0.38645418326693226,-0.38247011952191234,-0.3784860557768924,-0.3745019920318725,-0.3705179282868526,-0.3665338645418327,-0.36254980079681276,-0.35856573705179284,-0.3545816733067729,-0.350597609561753,-0.3466135458167331,-0.3426294820717131,-0.3386454183266932,-0.3346613545816733,-0.33067729083665337,-0.32669322709163345,-0.32270916334661354,-0.3187250996015936,-0.3147410358565737,-0.3107569721115538,-0.30677290836653387,-0.30278884462151395,-0.29880478087649404,-0.2948207171314741,-0.2908366533864542,-0.2868525896414343,-0.28286852589641437,-0.2788844621513944,-0.2749003984063745,-0.27091633466135456,-0.26693227091633465,-0.26294820717131473,-0.2589641434262948,-0.2549800796812749,-0.250996015936255,-0.24701195219123506,-0.24302788844621515,-0.23904382470119523,-0.2350597609561753,-0.23107569721115537,-0.22709163346613545,-0.22310756972111553,-0.21912350597609562,-0.2151394422310757,-0.21115537848605578,-0.20717131474103587,-0.20318725099601595,-0.199203187250996,-0.1952191235059761,-0.19123505976095617,-0.18725099601593626,-0.18326693227091634,-0.17928286852589642,-0.1752988047808765,-0.17131474103585656,-0.16733067729083664,-0.16334661354581673,-0.1593625498007968,-0.1553784860557769,-0.15139442231075698,-0.14741035856573706,-0.14342629482071714,-0.1394422310756972,-0.13545816733067728,-0.13147410358565736,-0.12749003984063745,-0.12350597609561753,-0.11952191235059761,-0.11553784860557768,-0.11155378486055777,-0.10756972111553785,-0.10358565737051793,-0.099601593625498,-0.09561752988047809,-0.09163346613545817,-0.08764940239043825,-0.08366533864541832,-0.0796812749003984,-0.07569721115537849,-0.07171314741035857,-0.06772908366533864,-0.06374501992031872,-0.05976095617529881,-0.055776892430278883,-0.05179282868525897,-0.04780876494023904,-0.043824701195219126,-0.0398406374501992,-0.035856573705179286,-0.03187250996015936,-0.027888446215139442,-0.02390438247011952,-0.0199203187250996,-0.01593625498007968,-0.01195219123505976,-0.00796812749003984,-0.00398406374501992,0.0],"y":[1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.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0,1.0,-1.0,1.0,-1.0,1.0,-1.0]} +{"expected":[0.0,0.099601593625498,0.0,0.29880478087649404,0.398406374501992,0.0,0.5976095617529881,0.0,0.0,0.0,0.9960159362549801,0.0,0.0,1.294820717131474,0.0,0.0,0.0,1.6932270916334662,0.0,0.0,0.0,2.091633466135458,0.0,0.0,0.0,2.49003984063745,0.0,0.0,2.7888446215139444,2.8884462151394423,0.0,0.0,3.187250996015936,3.2868525896414345,3.3864541832669324,3.4860557768924303,0.0,0.0,0.0,3.8844621513944224,0.0,4.083665338645418,4.183266932270916,0.0,0.0,4.48207171314741,4.581673306772909,0.0,4.780876494023905,4.8804780876494025,4.9800796812749,0.0,0.0,5.278884462151394,5.378486055776892,0.0,5.577689243027889,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,6.47410358565737,6.573705179282869,6.673306772908367,6.772908366533865,6.872509960159363,0.0,7.0717131474103585,7.171314741035856,0.0,7.370517928286852,7.47011952191235,7.569721115537849,0.0,0.0,0.0,7.968127490039841,0.0,0.0,0.0,0.0,0.0,8.565737051792828,0.0,0.0,0.0,0.0,9.063745019920319,0.0,9.262948207171315,0.0,0.0,9.56175298804781,9.661354581673306,9.760956175298805,0.0,0.0,10.0597609561753,0.0,0.0,10.358565737051793,0.0,0.0,10.657370517928287,0.0,10.856573705179283,0.0,11.055776892430279,0.0,0.0,0.0,0.0,0.0,0.0,11.752988047808765,0.0,0.0,0.0,0.0,12.250996015936256,0.0,12.450199203187251,0.0,12.649402390438247,12.749003984063744,0.0,0.0,0.0,13.147410358565738,13.247011952191235,13.346613545816734,13.44621513944223,0.0,0.0,13.745019920318725,0.0,0.0,14.04382470119522,0.0,14.243027888446216,14.342629482071713,0.0,0.0,0.0,14.741035856573705,14.840637450199203,14.9402390438247,0.0,0.0,15.239043824701195,15.338645418326694,15.43824701195219,15.53784860557769,15.637450199203187,0.0,0.0,0.0,0.0,0.0,0.0,16.334661354581673,16.43426294820717,0.0,0.0,16.733067729083665,16.83266932270916,0.0,17.03187250996016,17.131474103585656,0.0,0.0,17.43027888446215,0.0,17.62948207171315,0.0,0.0,17.92828685258964,18.02788844621514,0.0,0.0,18.326693227091635,0.0,0.0,0.0,18.725099601593627,18.824701195219124,0.0,19.02390438247012,0.0,0.0,0.0,19.422310756972113,19.52191235059761,0.0,0.0,19.820717131474105,19.9203187250996,20.0199203187251,0.0,20.219123505976096,20.318725099601593,20.41832669322709,20.51792828685259,0.0,0.0,20.816733067729082,20.916334661354583,21.01593625498008,0.0,0.0,21.314741035856574,21.41434262948207,21.51394422310757,0.0,0.0,0.0,21.91235059760956,22.01195219123506,22.111553784860558,22.211155378486055,0.0,0.0,0.0,22.609561752988046,22.709163346613547,0.0,0.0,0.0,23.10756972111554,0.0,23.306772908366533,23.406374501992033,23.50597609561753,0.0,23.705179282868524,0.0,23.904382470119522,0.0,0.0,24.203187250996017,24.302788844621514,24.40239043824701,24.50199203187251,24.60159362549801,24.701195219123505,24.800796812749002,24.900398406374503,0.0,-25.099601593625497,-25.199203187250998,-25.298804780876495,-25.39840637450199,-25.49800796812749,-25.59760956175299,-25.697211155378486,-25.796812749003983,-25.89641434262948,25.99601593625498,-26.095617529880478,26.195219123505975,26.294820717131476,-26.394422310756973,26.49402390438247,26.593625498007967,26.693227091633467,26.792828685258964,-26.89243027888446,26.99203187250996,27.09163346613546,27.191235059760956,-27.290836653386453,27.390438247011954,27.49003984063745,-27.589641434262948,-27.689243027888445,-27.788844621513945,27.888446215139442,27.98804780876494,-28.08764940239044,28.187250996015937,28.286852589641434,28.38645418326693,28.48605577689243,28.58565737051793,-28.685258964143426,-28.784860557768923,-28.884462151394423,28.98406374501992,29.083665338645417,-29.183266932270918,-29.282868525896415,-29.382470119521912,-29.48207171314741,29.58167330677291,29.681274900398407,29.780876494023904,29.8804780876494,29.9800796812749,30.0796812749004,-30.179282868525895,-30.278884462151396,-30.378486055776893,30.47808764940239,-30.577689243027887,-30.677290836653388,30.776892430278885,-30.87649402390438,-30.97609561752988,31.07569721115538,-31.175298804780876,31.274900398406373,31.374501992031874,-31.47410358565737,-31.573705179282868,31.673306772908365,-31.772908366533866,31.872509960159363,31.97211155378486,32.07171314741036,-32.17131474103586,-32.27091633466136,-32.37051792828685,-32.47011952191235,-32.569721115537845,32.669322709163346,-32.76892430278885,-32.86852589641434,-32.96812749003984,-33.06772908366534,-33.167330677290835,33.266932270916335,33.366533864541836,33.46613545816733,-33.56573705179283,33.66533864541832,-33.764940239043824,-33.864541832669325,33.96414342629482,34.06374501992032,34.16334661354582,34.26294820717131,34.36254980079681,-34.462151394422314,34.56175298804781,-34.66135458167331,34.7609561752988,-34.8605577689243,34.9601593625498,-35.059760956175296,-35.1593625498008,35.2589641434263,-35.35856573705179,-35.45816733067729,35.55776892430279,35.657370517928285,-35.756972111553786,35.85657370517928,-35.95617529880478,36.05577689243028,36.155378486055774,36.254980079681275,-36.354581673306775,36.45418326693227,-36.55378486055777,-36.65338645418327,36.75298804780876,36.852589641434264,36.95219123505976,37.05179282868526,37.15139442231076,37.25099601593625,-37.35059760956175,-37.45019920318725,37.54980079681275,37.64940239043825,37.74900398406375,-37.84860557768924,37.94820717131474,-38.04780876494024,-38.147410358565736,38.24701195219124,-38.34661354581673,-38.44621513944223,38.54581673306773,-38.645418326693225,-38.745019920318725,-38.844621513944226,-38.94422310756972,-39.04382470119522,-39.14342629482072,39.243027888446214,-39.342629482071715,-39.44223107569721,39.54183266932271,39.64143426294821,39.7410358565737,-39.8406374501992,39.940239043824704,40.0398406374502,-40.1394422310757,-40.2390438247012,-40.33864541832669,-40.43824701195219,-40.537848605577686,40.63745019920319,40.73705179282869,-40.83665338645418,40.93625498007968,41.03585657370518,41.135458167330675,41.235059760956176,-41.33466135458168,41.43426294820717,41.53386454183267,-41.633466135458164,41.733067729083665,41.832669322709165,41.93227091633466,42.03187250996016,-42.13147410358566,42.23107569721115,-42.330677290836654,42.430278884462155,42.52988047808765,42.62948207171315,-42.72908366533864,-42.82868525896414,-42.92828685258964,-43.02788844621514,-43.12749003984064,43.22709163346614,43.32669322709163,-43.42629482071713,43.52589641434263,-43.625498007968126,43.72509960159363,43.82470119521912,-43.92430278884462,44.02390438247012,44.123505976095615,44.223107569721115,-44.322709163346616,-44.42231075697211,44.52191235059761,-44.62151394422311,44.721115537848604,-44.820717131474105,44.9203187250996,-45.0199203187251,-45.1195219123506,45.21912350597609,45.31872509960159,45.418326693227094,45.51792828685259,-45.61752988047809,-45.71713147410359,-45.81673306772908,-45.91633466135458,-46.01593625498008,46.11553784860558,46.21513944223108,-46.31474103585657,-46.41434262948207,-46.51394422310757,-46.613545816733065,46.713147410358566,-46.81274900398407,-46.91235059760956,47.01195219123506,-47.11155378486056,-47.211155378486055,-47.310756972111555,-47.41035856573705,-47.50996015936255,-47.60956175298805,47.70916334661354,47.808764940239044,47.908366533864545,48.00796812749004,-48.10756972111554,-48.20717131474104,-48.30677290836653,-48.40637450199203,-48.50597609561753,48.60557768924303,-48.70517928286853,48.80478087649402,48.90438247011952,-49.00398406374502,49.103585657370516,-49.20318725099602,-49.30278884462152,-49.40239043824701,-49.50199203187251,-49.601593625498005,-49.701195219123505,-49.800796812749006,49.9003984063745,-50.0],"p":[-2.0,-1.99601593625498,-1.9920318725099602,-1.9880478087649402,-1.9840637450199203,-1.9800796812749004,-1.9760956175298805,-1.9721115537848606,-1.9681274900398407,-1.9641434262948207,-1.9601593625498008,-1.956175298804781,-1.952191235059761,-1.948207171314741,-1.9442231075697212,-1.9402390438247012,-1.9362549800796813,-1.9322709163346614,-1.9282868525896415,-1.9243027888446216,-1.9203187250996017,-1.9163346613545817,-1.9123505976095618,-1.908366533864542,-1.904382470119522,-1.900398406374502,-1.8964143426294822,-1.8924302788844622,-1.8884462151394423,-1.8844621513944224,-1.8804780876494025,-1.8764940239043826,-1.8725099601593624,-1.8685258964143425,-1.8645418326693226,-1.8605577689243027,-1.8565737051792828,-1.8525896414342629,-1.848605577689243,-1.844621513944223,-1.840637450199203,-1.8366533864541832,-1.8326693227091633,-1.8286852589641434,-1.8247011952191234,-1.8207171314741035,-1.8167330677290836,-1.8127490039840637,-1.8087649402390438,-1.8047808764940239,-1.800796812749004,-1.796812749003984,-1.792828685258964,-1.7888446215139442,-1.7848605577689243,-1.7808764940239044,-1.7768924302788844,-1.7729083665338645,-1.7689243027888446,-1.7649402390438247,-1.7609561752988048,-1.7569721115537849,-1.752988047808765,-1.749003984063745,-1.745019920318725,-1.7410358565737052,-1.7370517928286853,-1.7330677290836654,-1.7290836653386454,-1.7250996015936255,-1.7211155378486056,-1.7171314741035857,-1.7131474103585658,-1.7091633466135459,-1.705179282868526,-1.701195219123506,-1.697211155378486,-1.6932270916334662,-1.6892430278884463,-1.6852589641434264,-1.6812749003984064,-1.6772908366533865,-1.6733067729083666,-1.6693227091633467,-1.6653386454183268,-1.6613545816733069,-1.657370517928287,-1.653386454183267,-1.649402390438247,-1.6454183266932272,-1.6414342629482073,-1.6374501992031874,-1.6334661354581674,-1.6294820717131475,-1.6254980079681276,-1.6215139442231075,-1.6175298804780875,-1.6135458167330676,-1.6095617529880477,-1.6055776892430278,-1.6015936254980079,-1.597609561752988,-1.593625498007968,-1.5896414342629481,-1.5856573705179282,-1.5816733067729083,-1.5776892430278884,-1.5737051792828685,-1.5697211155378485,-1.5657370517928286,-1.5617529880478087,-1.5577689243027888,-1.5537848605577689,-1.549800796812749,-1.545816733067729,-1.5418326693227091,-1.5378486055776892,-1.5338645418326693,-1.5298804780876494,-1.5258964143426295,-1.5219123505976095,-1.5179282868525896,-1.5139442231075697,-1.5099601593625498,-1.5059760956175299,-1.50199203187251,-1.49800796812749,-1.4940239043824701,-1.4900398406374502,-1.4860557768924303,-1.4820717131474104,-1.4780876494023905,-1.4741035856573705,-1.4701195219123506,-1.4661354581673307,-1.4621513944223108,-1.4581673306772909,-1.454183266932271,-1.450199203187251,-1.4462151394422311,-1.4422310756972112,-1.4382470119521913,-1.4342629482071714,-1.4302788844621515,-1.4262948207171315,-1.4223107569721116,-1.4183266932270917,-1.4143426294820718,-1.4103585657370519,-1.406374501992032,-1.402390438247012,-1.3984063745019921,-1.3944223107569722,-1.3904382470119523,-1.3864541832669324,-1.3824701195219125,-1.3784860557768925,-1.3745019920318724,-1.3705179282868525,-1.3665338645418326,-1.3625498007968126,-1.3585657370517927,-1.3545816733067728,-1.350597609561753,-1.346613545816733,-1.342629482071713,-1.3386454183266931,-1.3346613545816732,-1.3306772908366533,-1.3266932270916334,-1.3227091633466135,-1.3187250996015936,-1.3147410358565736,-1.3107569721115537,-1.3067729083665338,-1.302788844621514,-1.298804780876494,-1.294820717131474,-1.2908366533864541,-1.2868525896414342,-1.2828685258964143,-1.2788844621513944,-1.2749003984063745,-1.2709163346613546,-1.2669322709163346,-1.2629482071713147,-1.2589641434262948,-1.254980079681275,-1.250996015936255,-1.247011952191235,-1.2430278884462151,-1.2390438247011952,-1.2350597609561753,-1.2310756972111554,-1.2270916334661355,-1.2231075697211156,-1.2191235059760956,-1.2151394422310757,-1.2111553784860558,-1.207171314741036,-1.203187250996016,-1.199203187250996,-1.1952191235059761,-1.1912350597609562,-1.1872509960159363,-1.1832669322709164,-1.1792828685258965,-1.1752988047808766,-1.1713147410358566,-1.1673306772908367,-1.1633466135458168,-1.159362549800797,-1.155378486055777,-1.151394422310757,-1.1474103585657371,-1.1434262948207172,-1.1394422310756973,-1.1354581673306774,-1.1314741035856575,-1.1274900398406376,-1.1235059760956174,-1.1195219123505975,-1.1155378486055776,-1.1115537848605577,-1.1075697211155378,-1.1035856573705178,-1.099601593625498,-1.095617529880478,-1.091633466135458,-1.0876494023904382,-1.0836653386454183,-1.0796812749003983,-1.0756972111553784,-1.0717131474103585,-1.0677290836653386,-1.0637450199203187,-1.0597609561752988,-1.0557768924302788,-1.051792828685259,-1.047808764940239,-1.043824701195219,-1.0398406374501992,-1.0358565737051793,-1.0318725099601593,-1.0278884462151394,-1.0239043824701195,-1.0199203187250996,-1.0159362549800797,-1.0119521912350598,-1.0079681274900398,-1.00398406374502,-1.0,-0.9960159362549801,-0.9920318725099602,-0.9880478087649402,-0.9840637450199203,-0.9800796812749004,-0.9760956175298805,-0.9721115537848606,-0.9681274900398407,-0.9641434262948207,-0.9601593625498008,-0.9561752988047809,-0.952191235059761,-0.9482071713147411,-0.9442231075697212,-0.9402390438247012,-0.9362549800796812,-0.9322709163346613,-0.9282868525896414,-0.9243027888446215,-0.9203187250996016,-0.9163346613545816,-0.9123505976095617,-0.9083665338645418,-0.9043824701195219,-0.900398406374502,-0.896414342629482,-0.8924302788844621,-0.8884462151394422,-0.8844621513944223,-0.8804780876494024,-0.8764940239043825,-0.8725099601593626,-0.8685258964143426,-0.8645418326693227,-0.8605577689243028,-0.8565737051792829,-0.852589641434263,-0.848605577689243,-0.8446215139442231,-0.8406374501992032,-0.8366533864541833,-0.8326693227091634,-0.8286852589641435,-0.8247011952191236,-0.8207171314741036,-0.8167330677290837,-0.8127490039840638,-0.8087649402390438,-0.8047808764940239,-0.8007968127490039,-0.796812749003984,-0.7928286852589641,-0.7888446215139442,-0.7848605577689243,-0.7808764940239044,-0.7768924302788844,-0.7729083665338645,-0.7689243027888446,-0.7649402390438247,-0.7609561752988048,-0.7569721115537849,-0.7529880478087649,-0.749003984063745,-0.7450199203187251,-0.7410358565737052,-0.7370517928286853,-0.7330677290836654,-0.7290836653386454,-0.7250996015936255,-0.7211155378486056,-0.7171314741035857,-0.7131474103585658,-0.7091633466135459,-0.7051792828685259,-0.701195219123506,-0.6972111553784861,-0.6932270916334662,-0.6892430278884463,-0.6852589641434262,-0.6812749003984063,-0.6772908366533864,-0.6733067729083665,-0.6693227091633466,-0.6653386454183267,-0.6613545816733067,-0.6573705179282868,-0.6533864541832669,-0.649402390438247,-0.6454183266932271,-0.6414342629482072,-0.6374501992031872,-0.6334661354581673,-0.6294820717131474,-0.6254980079681275,-0.6215139442231076,-0.6175298804780877,-0.6135458167330677,-0.6095617529880478,-0.6055776892430279,-0.601593625498008,-0.5976095617529881,-0.5936254980079682,-0.5896414342629482,-0.5856573705179283,-0.5816733067729084,-0.5776892430278885,-0.5737051792828686,-0.5697211155378487,-0.5657370517928287,-0.5617529880478087,-0.5577689243027888,-0.5537848605577689,-0.549800796812749,-0.545816733067729,-0.5418326693227091,-0.5378486055776892,-0.5338645418326693,-0.5298804780876494,-0.5258964143426295,-0.5219123505976095,-0.5179282868525896,-0.5139442231075697,-0.5099601593625498,-0.5059760956175299,-0.50199203187251,-0.49800796812749004,-0.4940239043824701,-0.4900398406374502,-0.4860557768924303,-0.4820717131474104,-0.47808764940239046,-0.47410358565737054,-0.4701195219123506,-0.46613545816733065,-0.46215139442231074,-0.4581673306772908,-0.4541832669322709,-0.450199203187251,-0.44621513944223107,-0.44223107569721115,-0.43824701195219123,-0.4342629482071713,-0.4302788844621514,-0.4262948207171315,-0.42231075697211157,-0.41832669322709165,-0.41434262948207173,-0.4103585657370518,-0.4063745019920319,-0.40239043824701193,-0.398406374501992,-0.3944223107569721,-0.3904382470119522,-0.38645418326693226,-0.38247011952191234,-0.3784860557768924,-0.3745019920318725,-0.3705179282868526,-0.3665338645418327,-0.36254980079681276,-0.35856573705179284,-0.3545816733067729,-0.350597609561753,-0.3466135458167331,-0.3426294820717131,-0.3386454183266932,-0.3346613545816733,-0.33067729083665337,-0.32669322709163345,-0.32270916334661354,-0.3187250996015936,-0.3147410358565737,-0.3107569721115538,-0.30677290836653387,-0.30278884462151395,-0.29880478087649404,-0.2948207171314741,-0.2908366533864542,-0.2868525896414343,-0.28286852589641437,-0.2788844621513944,-0.2749003984063745,-0.27091633466135456,-0.26693227091633465,-0.26294820717131473,-0.2589641434262948,-0.2549800796812749,-0.250996015936255,-0.24701195219123506,-0.24302788844621515,-0.23904382470119523,-0.2350597609561753,-0.23107569721115537,-0.22709163346613545,-0.22310756972111553,-0.21912350597609562,-0.2151394422310757,-0.21115537848605578,-0.20717131474103587,-0.20318725099601595,-0.199203187250996,-0.1952191235059761,-0.19123505976095617,-0.18725099601593626,-0.18326693227091634,-0.17928286852589642,-0.1752988047808765,-0.17131474103585656,-0.16733067729083664,-0.16334661354581673,-0.1593625498007968,-0.1553784860557769,-0.15139442231075698,-0.14741035856573706,-0.14342629482071714,-0.1394422310756972,-0.13545816733067728,-0.13147410358565736,-0.12749003984063745,-0.12350597609561753,-0.11952191235059761,-0.11553784860557768,-0.11155378486055777,-0.10756972111553785,-0.10358565737051793,-0.099601593625498,-0.09561752988047809,-0.09163346613545817,-0.08764940239043825,-0.08366533864541832,-0.0796812749003984,-0.07569721115537849,-0.07171314741035857,-0.06772908366533864,-0.06374501992031872,-0.05976095617529881,-0.055776892430278883,-0.05179282868525897,-0.04780876494023904,-0.043824701195219126,-0.0398406374501992,-0.035856573705179286,-0.03187250996015936,-0.027888446215139442,-0.02390438247011952,-0.0199203187250996,-0.01593625498007968,-0.01195219123505976,-0.00796812749003984,-0.00398406374501992,0.0],"x":[0.0,-0.099601593625498,-0.199203187250996,-0.29880478087649404,-0.398406374501992,-0.49800796812749004,-0.5976095617529881,-0.6972111553784861,-0.796812749003984,-0.896414342629482,-0.9960159362549801,-1.095617529880478,-1.1952191235059761,-1.294820717131474,-1.3944223107569722,-1.4940239043824701,-1.593625498007968,-1.6932270916334662,-1.792828685258964,-1.8924302788844622,-1.9920318725099602,-2.091633466135458,-2.191235059760956,-2.2908366533864544,-2.3904382470119523,-2.49003984063745,-2.589641434262948,-2.689243027888446,-2.7888446215139444,-2.8884462151394423,-2.9880478087649402,-3.087649402390438,-3.187250996015936,-3.2868525896414345,-3.3864541832669324,-3.4860557768924303,-3.585657370517928,-3.685258964143426,-3.7848605577689245,-3.8844621513944224,-3.9840637450199203,-4.083665338645418,-4.183266932270916,-4.282868525896414,-4.382470119521912,-4.48207171314741,-4.581673306772909,-4.681274900398407,-4.780876494023905,-4.8804780876494025,-4.9800796812749,-5.079681274900398,-5.179282868525896,-5.278884462151394,-5.378486055776892,-5.47808764940239,-5.577689243027889,-5.677290836653387,-5.776892430278885,-5.876494023904383,-5.9760956175298805,-6.075697211155378,-6.175298804780876,-6.274900398406374,-6.374501992031872,-6.47410358565737,-6.573705179282869,-6.673306772908367,-6.772908366533865,-6.872509960159363,-6.972111553784861,-7.0717131474103585,-7.171314741035856,-7.270916334661354,-7.370517928286852,-7.47011952191235,-7.569721115537849,-7.669322709163347,-7.768924302788845,-7.868525896414343,-7.968127490039841,-8.06772908366534,-8.167330677290837,-8.266932270916335,-8.366533864541832,-8.466135458167331,-8.565737051792828,-8.665338645418327,-8.764940239043824,-8.864541832669323,-8.96414342629482,-9.063745019920319,-9.163346613545817,-9.262948207171315,-9.362549800796813,-9.46215139442231,-9.56175298804781,-9.661354581673306,-9.760956175298805,-9.860557768924302,-9.9601593625498,-10.0597609561753,-10.159362549800797,-10.258964143426295,-10.358565737051793,-10.458167330677291,-10.557768924302788,-10.657370517928287,-10.756972111553784,-10.856573705179283,-10.95617529880478,-11.055776892430279,-11.155378486055778,-11.254980079681275,-11.354581673306773,-11.45418326693227,-11.55378486055777,-11.653386454183266,-11.752988047808765,-11.852589641434262,-11.952191235059761,-12.05179282868526,-12.151394422310757,-12.250996015936256,-12.350597609561753,-12.450199203187251,-12.549800796812749,-12.649402390438247,-12.749003984063744,-12.848605577689243,-12.94820717131474,-13.047808764940239,-13.147410358565738,-13.247011952191235,-13.346613545816734,-13.44621513944223,-13.54581673306773,-13.645418326693227,-13.745019920318725,-13.844621513944222,-13.944223107569721,-14.04382470119522,-14.143426294820717,-14.243027888446216,-14.342629482071713,-14.442231075697212,-14.541832669322709,-14.641434262948207,-14.741035856573705,-14.840637450199203,-14.9402390438247,-15.0398406374502,-15.139442231075698,-15.239043824701195,-15.338645418326694,-15.43824701195219,-15.53784860557769,-15.637450199203187,-15.737051792828685,-15.836653386454183,-15.936254980079681,-16.03585657370518,-16.13545816733068,-16.235059760956176,-16.334661354581673,-16.43426294820717,-16.53386454183267,-16.633466135458168,-16.733067729083665,-16.83266932270916,-16.932270916334662,-17.03187250996016,-17.131474103585656,-17.231075697211157,-17.330677290836654,-17.43027888446215,-17.529880478087648,-17.62948207171315,-17.729083665338646,-17.828685258964143,-17.92828685258964,-18.02788844621514,-18.127490039840637,-18.227091633466134,-18.326693227091635,-18.426294820717132,-18.52589641434263,-18.625498007968126,-18.725099601593627,-18.824701195219124,-18.92430278884462,-19.02390438247012,-19.12350597609562,-19.223107569721115,-19.322709163346612,-19.422310756972113,-19.52191235059761,-19.621513944223107,-19.721115537848604,-19.820717131474105,-19.9203187250996,-20.0199203187251,-20.1195219123506,-20.219123505976096,-20.318725099601593,-20.41832669322709,-20.51792828685259,-20.617529880478088,-20.717131474103585,-20.816733067729082,-20.916334661354583,-21.01593625498008,-21.115537848605577,-21.215139442231077,-21.314741035856574,-21.41434262948207,-21.51394422310757,-21.61354581673307,-21.713147410358566,-21.812749003984063,-21.91235059760956,-22.01195219123506,-22.111553784860558,-22.211155378486055,-22.310756972111555,-22.410358565737052,-22.50996015936255,-22.609561752988046,-22.709163346613547,-22.808764940239044,-22.90836653386454,-23.00796812749004,-23.10756972111554,-23.207171314741036,-23.306772908366533,-23.406374501992033,-23.50597609561753,-23.605577689243027,-23.705179282868524,-23.804780876494025,-23.904382470119522,-24.00398406374502,-24.10358565737052,-24.203187250996017,-24.302788844621514,-24.40239043824701,-24.50199203187251,-24.60159362549801,-24.701195219123505,-24.800796812749002,-24.900398406374503,-25.0,-25.099601593625497,-25.199203187250998,-25.298804780876495,-25.39840637450199,-25.49800796812749,-25.59760956175299,-25.697211155378486,-25.796812749003983,-25.89641434262948,-25.99601593625498,-26.095617529880478,-26.195219123505975,-26.294820717131476,-26.394422310756973,-26.49402390438247,-26.593625498007967,-26.693227091633467,-26.792828685258964,-26.89243027888446,-26.99203187250996,-27.09163346613546,-27.191235059760956,-27.290836653386453,-27.390438247011954,-27.49003984063745,-27.589641434262948,-27.689243027888445,-27.788844621513945,-27.888446215139442,-27.98804780876494,-28.08764940239044,-28.187250996015937,-28.286852589641434,-28.38645418326693,-28.48605577689243,-28.58565737051793,-28.685258964143426,-28.784860557768923,-28.884462151394423,-28.98406374501992,-29.083665338645417,-29.183266932270918,-29.282868525896415,-29.382470119521912,-29.48207171314741,-29.58167330677291,-29.681274900398407,-29.780876494023904,-29.8804780876494,-29.9800796812749,-30.0796812749004,-30.179282868525895,-30.278884462151396,-30.378486055776893,-30.47808764940239,-30.577689243027887,-30.677290836653388,-30.776892430278885,-30.87649402390438,-30.97609561752988,-31.07569721115538,-31.175298804780876,-31.274900398406373,-31.374501992031874,-31.47410358565737,-31.573705179282868,-31.673306772908365,-31.772908366533866,-31.872509960159363,-31.97211155378486,-32.07171314741036,-32.17131474103586,-32.27091633466136,-32.37051792828685,-32.47011952191235,-32.569721115537845,-32.669322709163346,-32.76892430278885,-32.86852589641434,-32.96812749003984,-33.06772908366534,-33.167330677290835,-33.266932270916335,-33.366533864541836,-33.46613545816733,-33.56573705179283,-33.66533864541832,-33.764940239043824,-33.864541832669325,-33.96414342629482,-34.06374501992032,-34.16334661354582,-34.26294820717131,-34.36254980079681,-34.462151394422314,-34.56175298804781,-34.66135458167331,-34.7609561752988,-34.8605577689243,-34.9601593625498,-35.059760956175296,-35.1593625498008,-35.2589641434263,-35.35856573705179,-35.45816733067729,-35.55776892430279,-35.657370517928285,-35.756972111553786,-35.85657370517928,-35.95617529880478,-36.05577689243028,-36.155378486055774,-36.254980079681275,-36.354581673306775,-36.45418326693227,-36.55378486055777,-36.65338645418327,-36.75298804780876,-36.852589641434264,-36.95219123505976,-37.05179282868526,-37.15139442231076,-37.25099601593625,-37.35059760956175,-37.45019920318725,-37.54980079681275,-37.64940239043825,-37.74900398406375,-37.84860557768924,-37.94820717131474,-38.04780876494024,-38.147410358565736,-38.24701195219124,-38.34661354581673,-38.44621513944223,-38.54581673306773,-38.645418326693225,-38.745019920318725,-38.844621513944226,-38.94422310756972,-39.04382470119522,-39.14342629482072,-39.243027888446214,-39.342629482071715,-39.44223107569721,-39.54183266932271,-39.64143426294821,-39.7410358565737,-39.8406374501992,-39.940239043824704,-40.0398406374502,-40.1394422310757,-40.2390438247012,-40.33864541832669,-40.43824701195219,-40.537848605577686,-40.63745019920319,-40.73705179282869,-40.83665338645418,-40.93625498007968,-41.03585657370518,-41.135458167330675,-41.235059760956176,-41.33466135458168,-41.43426294820717,-41.53386454183267,-41.633466135458164,-41.733067729083665,-41.832669322709165,-41.93227091633466,-42.03187250996016,-42.13147410358566,-42.23107569721115,-42.330677290836654,-42.430278884462155,-42.52988047808765,-42.62948207171315,-42.72908366533864,-42.82868525896414,-42.92828685258964,-43.02788844621514,-43.12749003984064,-43.22709163346614,-43.32669322709163,-43.42629482071713,-43.52589641434263,-43.625498007968126,-43.72509960159363,-43.82470119521912,-43.92430278884462,-44.02390438247012,-44.123505976095615,-44.223107569721115,-44.322709163346616,-44.42231075697211,-44.52191235059761,-44.62151394422311,-44.721115537848604,-44.820717131474105,-44.9203187250996,-45.0199203187251,-45.1195219123506,-45.21912350597609,-45.31872509960159,-45.418326693227094,-45.51792828685259,-45.61752988047809,-45.71713147410359,-45.81673306772908,-45.91633466135458,-46.01593625498008,-46.11553784860558,-46.21513944223108,-46.31474103585657,-46.41434262948207,-46.51394422310757,-46.613545816733065,-46.713147410358566,-46.81274900398407,-46.91235059760956,-47.01195219123506,-47.11155378486056,-47.211155378486055,-47.310756972111555,-47.41035856573705,-47.50996015936255,-47.60956175298805,-47.70916334661354,-47.808764940239044,-47.908366533864545,-48.00796812749004,-48.10756972111554,-48.20717131474104,-48.30677290836653,-48.40637450199203,-48.50597609561753,-48.60557768924303,-48.70517928286853,-48.80478087649402,-48.90438247011952,-49.00398406374502,-49.103585657370516,-49.20318725099602,-49.30278884462152,-49.40239043824701,-49.50199203187251,-49.601593625498005,-49.701195219123505,-49.800796812749006,-49.9003984063745,-50.0],"y":[1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0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1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json index 2b14bf356e3e..565bab03367d 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/small_positive.json @@ -1 +1 @@ -{"expected":[-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0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.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,1.0,0.0,1.0,0.0,0.0,1.0,0.0,1.0,1.0,1.0,1.0,0.0,0.0,0.0,1.0,1.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,1.0,1.0,1.0,0.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,1.0,1.0,0.0,1.0,0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0,1.0,0.0,0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0,1.0,1.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,0.0,0.0,1.0,1.0],"p":[0.0,0.00398406374501992,0.00796812749003984,0.01195219123505976,0.01593625498007968,0.0199203187250996,0.02390438247011952,0.027888446215139442,0.03187250996015936,0.035856573705179286,0.0398406374501992,0.043824701195219126,0.04780876494023904,0.05179282868525897,0.055776892430278883,0.05976095617529881,0.06374501992031872,0.06772908366533864,0.07171314741035857,0.07569721115537849,0.0796812749003984,0.08366533864541832,0.08764940239043825,0.09163346613545817,0.09561752988047809,0.099601593625498,0.10358565737051793,0.10756972111553785,0.11155378486055777,0.11553784860557768,0.11952191235059761,0.12350597609561753,0.12749003984063745,0.13147410358565736,0.13545816733067728,0.1394422310756972,0.14342629482071714,0.14741035856573706,0.15139442231075698,0.1553784860557769,0.1593625498007968,0.16334661354581673,0.16733067729083664,0.17131474103585656,0.1752988047808765,0.17928286852589642,0.18326693227091634,0.18725099601593626,0.19123505976095617,0.1952191235059761,0.199203187250996,0.20318725099601595,0.20717131474103587,0.21115537848605578,0.2151394422310757,0.21912350597609562,0.22310756972111553,0.22709163346613545,0.23107569721115537,0.2350597609561753,0.23904382470119523,0.24302788844621515,0.24701195219123506,0.250996015936255,0.2549800796812749,0.2589641434262948,0.26294820717131473,0.26693227091633465,0.27091633466135456,0.2749003984063745,0.2788844621513944,0.28286852589641437,0.2868525896414343,0.2908366533864542,0.2948207171314741,0.29880478087649404,0.30278884462151395,0.30677290836653387,0.3107569721115538,0.3147410358565737,0.3187250996015936,0.32270916334661354,0.32669322709163345,0.33067729083665337,0.3346613545816733,0.3386454183266932,0.3426294820717131,0.3466135458167331,0.350597609561753,0.3545816733067729,0.35856573705179284,0.36254980079681276,0.3665338645418327,0.3705179282868526,0.3745019920318725,0.3784860557768924,0.38247011952191234,0.38645418326693226,0.3904382470119522,0.3944223107569721,0.398406374501992,0.40239043824701193,0.4063745019920319,0.4103585657370518,0.41434262948207173,0.41832669322709165,0.42231075697211157,0.4262948207171315,0.4302788844621514,0.4342629482071713,0.43824701195219123,0.44223107569721115,0.44621513944223107,0.450199203187251,0.4541832669322709,0.4581673306772908,0.46215139442231074,0.46613545816733065,0.4701195219123506,0.47410358565737054,0.47808764940239046,0.4820717131474104,0.4860557768924303,0.4900398406374502,0.4940239043824701,0.49800796812749004,0.50199203187251,0.5059760956175299,0.5099601593625498,0.5139442231075697,0.5179282868525896,0.5219123505976095,0.5258964143426295,0.5298804780876494,0.5338645418326693,0.5378486055776892,0.5418326693227091,0.545816733067729,0.549800796812749,0.5537848605577689,0.5577689243027888,0.5617529880478087,0.5657370517928287,0.5697211155378487,0.5737051792828686,0.5776892430278885,0.5816733067729084,0.5856573705179283,0.5896414342629482,0.5936254980079682,0.5976095617529881,0.601593625498008,0.6055776892430279,0.6095617529880478,0.6135458167330677,0.6175298804780877,0.6215139442231076,0.6254980079681275,0.6294820717131474,0.6334661354581673,0.6374501992031872,0.6414342629482072,0.6454183266932271,0.649402390438247,0.6533864541832669,0.6573705179282868,0.6613545816733067,0.6653386454183267,0.6693227091633466,0.6733067729083665,0.6772908366533864,0.6812749003984063,0.6852589641434262,0.6892430278884463,0.6932270916334662,0.6972111553784861,0.701195219123506,0.7051792828685259,0.7091633466135459,0.7131474103585658,0.7171314741035857,0.7211155378486056,0.7250996015936255,0.7290836653386454,0.7330677290836654,0.7370517928286853,0.7410358565737052,0.7450199203187251,0.749003984063745,0.7529880478087649,0.7569721115537849,0.7609561752988048,0.7649402390438247,0.7689243027888446,0.7729083665338645,0.7768924302788844,0.7808764940239044,0.7848605577689243,0.7888446215139442,0.7928286852589641,0.796812749003984,0.8007968127490039,0.8047808764940239,0.8087649402390438,0.8127490039840638,0.8167330677290837,0.8207171314741036,0.8247011952191236,0.8286852589641435,0.8326693227091634,0.8366533864541833,0.8406374501992032,0.8446215139442231,0.848605577689243,0.852589641434263,0.8565737051792829,0.8605577689243028,0.8645418326693227,0.8685258964143426,0.8725099601593626,0.8764940239043825,0.8804780876494024,0.8844621513944223,0.8884462151394422,0.8924302788844621,0.896414342629482,0.900398406374502,0.9043824701195219,0.9083665338645418,0.9123505976095617,0.9163346613545816,0.9203187250996016,0.9243027888446215,0.9282868525896414,0.9322709163346613,0.9362549800796812,0.9402390438247012,0.9442231075697212,0.9482071713147411,0.952191235059761,0.9561752988047809,0.9601593625498008,0.9641434262948207,0.9681274900398407,0.9721115537848606,0.9760956175298805,0.9800796812749004,0.9840637450199203,0.9880478087649402,0.9920318725099602,0.9960159362549801,1.0,1.00398406374502,1.0079681274900398,1.0119521912350598,1.0159362549800797,1.0199203187250996,1.0239043824701195,1.0278884462151394,1.0318725099601593,1.0358565737051793,1.0398406374501992,1.043824701195219,1.047808764940239,1.051792828685259,1.0557768924302788,1.0597609561752988,1.0637450199203187,1.0677290836653386,1.0717131474103585,1.0756972111553784,1.0796812749003983,1.0836653386454183,1.0876494023904382,1.091633466135458,1.095617529880478,1.099601593625498,1.1035856573705178,1.1075697211155378,1.1115537848605577,1.1155378486055776,1.1195219123505975,1.1235059760956174,1.1274900398406376,1.1314741035856575,1.1354581673306774,1.1394422310756973,1.1434262948207172,1.1474103585657371,1.151394422310757,1.155378486055777,1.159362549800797,1.1633466135458168,1.1673306772908367,1.1713147410358566,1.1752988047808766,1.1792828685258965,1.1832669322709164,1.1872509960159363,1.1912350597609562,1.1952191235059761,1.199203187250996,1.203187250996016,1.207171314741036,1.2111553784860558,1.2151394422310757,1.2191235059760956,1.2231075697211156,1.2270916334661355,1.2310756972111554,1.2350597609561753,1.2390438247011952,1.2430278884462151,1.247011952191235,1.250996015936255,1.254980079681275,1.2589641434262948,1.2629482071713147,1.2669322709163346,1.2709163346613546,1.2749003984063745,1.2788844621513944,1.2828685258964143,1.2868525896414342,1.2908366533864541,1.294820717131474,1.298804780876494,1.302788844621514,1.3067729083665338,1.3107569721115537,1.3147410358565736,1.3187250996015936,1.3227091633466135,1.3266932270916334,1.3306772908366533,1.3346613545816732,1.3386454183266931,1.342629482071713,1.346613545816733,1.350597609561753,1.3545816733067728,1.3585657370517927,1.3625498007968126,1.3665338645418326,1.3705179282868525,1.3745019920318724,1.3784860557768925,1.3824701195219125,1.3864541832669324,1.3904382470119523,1.3944223107569722,1.3984063745019921,1.402390438247012,1.406374501992032,1.4103585657370519,1.4143426294820718,1.4183266932270917,1.4223107569721116,1.4262948207171315,1.4302788844621515,1.4342629482071714,1.4382470119521913,1.4422310756972112,1.4462151394422311,1.450199203187251,1.454183266932271,1.4581673306772909,1.4621513944223108,1.4661354581673307,1.4701195219123506,1.4741035856573705,1.4780876494023905,1.4820717131474104,1.4860557768924303,1.4900398406374502,1.4940239043824701,1.49800796812749,1.50199203187251,1.5059760956175299,1.5099601593625498,1.5139442231075697,1.5179282868525896,1.5219123505976095,1.5258964143426295,1.5298804780876494,1.5338645418326693,1.5378486055776892,1.5418326693227091,1.545816733067729,1.549800796812749,1.5537848605577689,1.5577689243027888,1.5617529880478087,1.5657370517928286,1.5697211155378485,1.5737051792828685,1.5776892430278884,1.5816733067729083,1.5856573705179282,1.5896414342629481,1.593625498007968,1.597609561752988,1.6015936254980079,1.6055776892430278,1.6095617529880477,1.6135458167330676,1.6175298804780875,1.6215139442231075,1.6254980079681276,1.6294820717131475,1.6334661354581674,1.6374501992031874,1.6414342629482073,1.6454183266932272,1.649402390438247,1.653386454183267,1.657370517928287,1.6613545816733069,1.6653386454183268,1.6693227091633467,1.6733067729083666,1.6772908366533865,1.6812749003984064,1.6852589641434264,1.6892430278884463,1.6932270916334662,1.697211155378486,1.701195219123506,1.705179282868526,1.7091633466135459,1.7131474103585658,1.7171314741035857,1.7211155378486056,1.7250996015936255,1.7290836653386454,1.7330677290836654,1.7370517928286853,1.7410358565737052,1.745019920318725,1.749003984063745,1.752988047808765,1.7569721115537849,1.7609561752988048,1.7649402390438247,1.7689243027888446,1.7729083665338645,1.7768924302788844,1.7808764940239044,1.7848605577689243,1.7888446215139442,1.792828685258964,1.796812749003984,1.800796812749004,1.8047808764940239,1.8087649402390438,1.8127490039840637,1.8167330677290836,1.8207171314741035,1.8247011952191234,1.8286852589641434,1.8326693227091633,1.8366533864541832,1.840637450199203,1.844621513944223,1.848605577689243,1.8525896414342629,1.8565737051792828,1.8605577689243027,1.8645418326693226,1.8685258964143425,1.8725099601593624,1.8764940239043826,1.8804780876494025,1.8844621513944224,1.8884462151394423,1.8924302788844622,1.8964143426294822,1.900398406374502,1.904382470119522,1.908366533864542,1.9123505976095618,1.9163346613545817,1.9203187250996017,1.9243027888446216,1.9282868525896415,1.9322709163346614,1.9362549800796813,1.9402390438247012,1.9442231075697212,1.948207171314741,1.952191235059761,1.956175298804781,1.9601593625498008,1.9641434262948207,1.9681274900398407,1.9721115537848606,1.9760956175298805,1.9800796812749004,1.9840637450199203,1.9880478087649402,1.9920318725099602,1.99601593625498,2.0],"y":[1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-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374501992,-0.49800796812749004,-0.5976095617529881,0.6972111553784861,0.796812749003984,-0.896414342629482,0.9960159362549801,1.095617529880478,1.1952191235059761,-1.294820717131474,1.3944223107569722,-1.4940239043824701,1.593625498007968,1.6932270916334662,-1.792828685258964,1.8924302788844622,-1.9920318725099602,2.091633466135458,-2.191235059760956,-2.2908366533864544,2.3904382470119523,2.49003984063745,2.589641434262948,2.689243027888446,-2.7888446215139444,-2.8884462151394423,2.9880478087649402,3.087649402390438,3.187250996015936,3.2868525896414345,-3.3864541832669324,3.4860557768924303,-3.585657370517928,3.685258964143426,-3.7848605577689245,-3.8844621513944224,3.9840637450199203,4.083665338645418,-4.183266932270916,4.282868525896414,4.382470119521912,4.48207171314741,4.581673306772909,4.681274900398407,4.780876494023905,-4.8804780876494025,4.9800796812749,-5.079681274900398,5.179282868525896,-5.278884462151394,5.378486055776892,5.47808764940239,5.577689243027889,-5.677290836653387,-5.776892430278885,-5.876494023904383,5.9760956175298805,6.075697211155378,-6.175298804780876,6.274900398406374,-6.374501992031872,6.47410358565737,6.573705179282869,-6.673306772908367,-6.772908366533865,-6.872509960159363,-6.972111553784861,7.0717131474103585,-7.171314741035856,7.270916334661354,7.370517928286852,-7.47011952191235,7.569721115537849,-7.669322709163347,-7.768924302788845,7.868525896414343,7.968127490039841,8.06772908366534,8.167330677290837,-8.266932270916335,-8.366533864541832,8.466135458167331,8.565737051792828,-8.665338645418327,8.764940239043824,8.864541832669323,8.96414342629482,-9.063745019920319,-9.163346613545817,9.262948207171315,-9.362549800796813,9.46215139442231,-9.56175298804781,9.661354581673306,-9.760956175298805,9.860557768924302,9.9601593625498,10.0597609561753,10.159362549800797,-10.258964143426295,-10.358565737051793,-10.458167330677291,-10.557768924302788,10.657370517928287,-10.756972111553784,-10.856573705179283,10.95617529880478,-11.055776892430279,11.155378486055778,11.254980079681275,11.354581673306773,-11.45418326693227,11.55378486055777,11.653386454183266,11.752988047808765,11.852589641434262,11.952191235059761,12.05179282868526,-12.151394422310757,12.250996015936256,12.350597609561753,-12.450199203187251,12.549800796812749,12.649402390438247,-12.749003984063744,-12.848605577689243,-12.94820717131474,13.047808764940239,-13.147410358565738,-13.247011952191235,13.346613545816734,-13.44621513944223,-13.54581673306773,13.645418326693227,13.745019920318725,13.844621513944222,-13.944223107569721,-14.04382470119522,14.143426294820717,14.243027888446216,14.342629482071713,14.442231075697212,14.541832669322709,-14.641434262948207,14.741035856573705,14.840637450199203,14.9402390438247,15.0398406374502,-15.139442231075698,-15.239043824701195,-15.338645418326694,15.43824701195219,-15.53784860557769,-15.637450199203187,-15.737051792828685,-15.836653386454183,-15.936254980079681,16.03585657370518,-16.13545816733068,-16.235059760956176,-16.334661354581673,16.43426294820717,-16.53386454183267,-16.633466135458168,16.733067729083665,16.83266932270916,-16.932270916334662,17.03187250996016,-17.131474103585656,17.231075697211157,17.330677290836654,17.43027888446215,-17.529880478087648,-17.62948207171315,17.729083665338646,17.828685258964143,17.92828685258964,-18.02788844621514,18.127490039840637,18.227091633466134,18.326693227091635,18.426294820717132,-18.52589641434263,-18.625498007968126,18.725099601593627,-18.824701195219124,18.92430278884462,19.02390438247012,-19.12350597609562,19.223107569721115,19.322709163346612,19.422310756972113,19.52191235059761,19.621513944223107,-19.721115537848604,-19.820717131474105,19.9203187250996,-20.0199203187251,-20.1195219123506,20.219123505976096,-20.318725099601593,20.41832669322709,-20.51792828685259,20.617529880478088,20.717131474103585,-20.816733067729082,20.916334661354583,-21.01593625498008,21.115537848605577,-21.215139442231077,21.314741035856574,21.41434262948207,21.51394422310757,-21.61354581673307,-21.713147410358566,21.812749003984063,-21.91235059760956,-22.01195219123506,-22.111553784860558,-22.211155378486055,22.310756972111555,22.410358565737052,22.50996015936255,22.609561752988046,-22.709163346613547,22.808764940239044,-22.90836653386454,23.00796812749004,23.10756972111554,-23.207171314741036,23.306772908366533,-23.406374501992033,-23.50597609561753,23.605577689243027,-23.705179282868524,23.804780876494025,-23.904382470119522,-24.00398406374502,24.10358565737052,24.203187250996017,-24.302788844621514,-24.40239043824701,24.50199203187251,24.60159362549801,-24.701195219123505,-24.800796812749002,24.900398406374503,25.0,0.0,0.0,0.0,0.0,0.0,25.59760956175299,0.0,25.796812749003983,25.89641434262948,25.99601593625498,26.095617529880478,26.195219123505975,26.294820717131476,0.0,0.0,0.0,26.693227091633467,0.0,26.89243027888446,0.0,0.0,0.0,27.290836653386453,0.0,0.0,27.589641434262948,27.689243027888445,27.788844621513945,27.888446215139442,0.0,28.08764940239044,28.187250996015937,0.0,0.0,0.0,28.58565737051793,28.685258964143426,0.0,0.0,28.98406374501992,0.0,29.183266932270918,0.0,29.382470119521912,29.48207171314741,0.0,0.0,29.780876494023904,0.0,29.9800796812749,30.0796812749004,30.179282868525895,0.0,0.0,0.0,30.577689243027887,0.0,30.776892430278885,0.0,30.97609561752988,31.07569721115538,0.0,31.274900398406373,31.374501992031874,31.47410358565737,0.0,31.673306772908365,0.0,0.0,31.97211155378486,0.0,0.0,32.27091633466136,0.0,32.47011952191235,0.0,0.0,0.0,32.86852589641434,0.0,33.06772908366534,33.167330677290835,0.0,33.366533864541836,0.0,33.56573705179283,0.0,0.0,0.0,33.96414342629482,34.06374501992032,0.0,0.0,34.36254980079681,0.0,0.0,0.0,34.7609561752988,34.8605577689243,34.9601593625498,0.0,0.0,0.0,0.0,0.0,35.55776892430279,0.0,35.756972111553786,0.0,35.95617529880478,36.05577689243028,36.155378486055774,36.254980079681275,36.354581673306775,36.45418326693227,36.55378486055777,36.65338645418327,0.0,36.852589641434264,0.0,0.0,0.0,37.25099601593625,37.35059760956175,37.45019920318725,37.54980079681275,0.0,37.74900398406375,0.0,37.94820717131474,0.0,38.147410358565736,38.24701195219124,38.34661354581673,0.0,38.54581673306773,38.645418326693225,0.0,0.0,0.0,0.0,0.0,39.243027888446214,39.342629482071715,0.0,0.0,39.64143426294821,39.7410358565737,0.0,0.0,0.0,0.0,40.2390438247012,40.33864541832669,0.0,40.537848605577686,40.63745019920319,40.73705179282869,40.83665338645418,40.93625498007968,0.0,0.0,41.235059760956176,0.0,0.0,0.0,41.633466135458164,41.733067729083665,41.832669322709165,0.0,0.0,0.0,0.0,42.330677290836654,42.430278884462155,0.0,0.0,0.0,42.82868525896414,42.92828685258964,0.0,0.0,43.22709163346614,0.0,43.42629482071713,0.0,0.0,43.72509960159363,43.82470119521912,0.0,44.02390438247012,44.123505976095615,44.223107569721115,0.0,0.0,0.0,44.62151394422311,0.0,44.820717131474105,44.9203187250996,45.0199203187251,0.0,45.21912350597609,45.31872509960159,0.0,0.0,45.61752988047809,45.71713147410359,0.0,45.91633466135458,0.0,46.11553784860558,46.21513944223108,0.0,0.0,0.0,0.0,0.0,46.81274900398407,0.0,47.01195219123506,47.11155378486056,0.0,0.0,0.0,47.50996015936255,0.0,0.0,47.808764940239044,0.0,0.0,48.10756972111554,48.20717131474104,0.0,0.0,48.50597609561753,0.0,48.70517928286853,0.0,48.90438247011952,49.00398406374502,49.103585657370516,0.0,49.30278884462152,0.0,0.0,49.601593625498005,0.0,0.0,0.0,0.0],"p":[0.0,0.00398406374501992,0.00796812749003984,0.01195219123505976,0.01593625498007968,0.0199203187250996,0.02390438247011952,0.027888446215139442,0.03187250996015936,0.035856573705179286,0.0398406374501992,0.043824701195219126,0.04780876494023904,0.05179282868525897,0.055776892430278883,0.05976095617529881,0.06374501992031872,0.06772908366533864,0.07171314741035857,0.07569721115537849,0.0796812749003984,0.08366533864541832,0.08764940239043825,0.09163346613545817,0.09561752988047809,0.099601593625498,0.10358565737051793,0.10756972111553785,0.11155378486055777,0.11553784860557768,0.11952191235059761,0.12350597609561753,0.12749003984063745,0.13147410358565736,0.13545816733067728,0.1394422310756972,0.14342629482071714,0.14741035856573706,0.15139442231075698,0.1553784860557769,0.1593625498007968,0.16334661354581673,0.16733067729083664,0.17131474103585656,0.1752988047808765,0.17928286852589642,0.18326693227091634,0.18725099601593626,0.19123505976095617,0.1952191235059761,0.199203187250996,0.20318725099601595,0.20717131474103587,0.21115537848605578,0.2151394422310757,0.21912350597609562,0.22310756972111553,0.22709163346613545,0.23107569721115537,0.2350597609561753,0.23904382470119523,0.24302788844621515,0.24701195219123506,0.250996015936255,0.2549800796812749,0.2589641434262948,0.26294820717131473,0.26693227091633465,0.27091633466135456,0.2749003984063745,0.2788844621513944,0.28286852589641437,0.2868525896414343,0.2908366533864542,0.2948207171314741,0.29880478087649404,0.30278884462151395,0.30677290836653387,0.3107569721115538,0.3147410358565737,0.3187250996015936,0.32270916334661354,0.32669322709163345,0.33067729083665337,0.3346613545816733,0.3386454183266932,0.3426294820717131,0.3466135458167331,0.350597609561753,0.3545816733067729,0.35856573705179284,0.36254980079681276,0.3665338645418327,0.3705179282868526,0.3745019920318725,0.3784860557768924,0.38247011952191234,0.38645418326693226,0.3904382470119522,0.3944223107569721,0.398406374501992,0.40239043824701193,0.4063745019920319,0.4103585657370518,0.41434262948207173,0.41832669322709165,0.42231075697211157,0.4262948207171315,0.4302788844621514,0.4342629482071713,0.43824701195219123,0.44223107569721115,0.44621513944223107,0.450199203187251,0.4541832669322709,0.4581673306772908,0.46215139442231074,0.46613545816733065,0.4701195219123506,0.47410358565737054,0.47808764940239046,0.4820717131474104,0.4860557768924303,0.4900398406374502,0.4940239043824701,0.49800796812749004,0.50199203187251,0.5059760956175299,0.5099601593625498,0.5139442231075697,0.5179282868525896,0.5219123505976095,0.5258964143426295,0.5298804780876494,0.5338645418326693,0.5378486055776892,0.5418326693227091,0.545816733067729,0.549800796812749,0.5537848605577689,0.5577689243027888,0.5617529880478087,0.5657370517928287,0.5697211155378487,0.5737051792828686,0.5776892430278885,0.5816733067729084,0.5856573705179283,0.5896414342629482,0.5936254980079682,0.5976095617529881,0.601593625498008,0.6055776892430279,0.6095617529880478,0.6135458167330677,0.6175298804780877,0.6215139442231076,0.6254980079681275,0.6294820717131474,0.6334661354581673,0.6374501992031872,0.6414342629482072,0.6454183266932271,0.649402390438247,0.6533864541832669,0.6573705179282868,0.6613545816733067,0.6653386454183267,0.6693227091633466,0.6733067729083665,0.6772908366533864,0.6812749003984063,0.6852589641434262,0.6892430278884463,0.6932270916334662,0.6972111553784861,0.701195219123506,0.7051792828685259,0.7091633466135459,0.7131474103585658,0.7171314741035857,0.7211155378486056,0.7250996015936255,0.7290836653386454,0.7330677290836654,0.7370517928286853,0.7410358565737052,0.7450199203187251,0.749003984063745,0.7529880478087649,0.7569721115537849,0.7609561752988048,0.7649402390438247,0.7689243027888446,0.7729083665338645,0.7768924302788844,0.7808764940239044,0.7848605577689243,0.7888446215139442,0.7928286852589641,0.796812749003984,0.8007968127490039,0.8047808764940239,0.8087649402390438,0.8127490039840638,0.8167330677290837,0.8207171314741036,0.8247011952191236,0.8286852589641435,0.8326693227091634,0.8366533864541833,0.8406374501992032,0.8446215139442231,0.848605577689243,0.852589641434263,0.8565737051792829,0.8605577689243028,0.8645418326693227,0.8685258964143426,0.8725099601593626,0.8764940239043825,0.8804780876494024,0.8844621513944223,0.8884462151394422,0.8924302788844621,0.896414342629482,0.900398406374502,0.9043824701195219,0.9083665338645418,0.9123505976095617,0.9163346613545816,0.9203187250996016,0.9243027888446215,0.9282868525896414,0.9322709163346613,0.9362549800796812,0.9402390438247012,0.9442231075697212,0.9482071713147411,0.952191235059761,0.9561752988047809,0.9601593625498008,0.9641434262948207,0.9681274900398407,0.9721115537848606,0.9760956175298805,0.9800796812749004,0.9840637450199203,0.9880478087649402,0.9920318725099602,0.9960159362549801,1.0,1.00398406374502,1.0079681274900398,1.0119521912350598,1.0159362549800797,1.0199203187250996,1.0239043824701195,1.0278884462151394,1.0318725099601593,1.0358565737051793,1.0398406374501992,1.043824701195219,1.047808764940239,1.051792828685259,1.0557768924302788,1.0597609561752988,1.0637450199203187,1.0677290836653386,1.0717131474103585,1.0756972111553784,1.0796812749003983,1.0836653386454183,1.0876494023904382,1.091633466135458,1.095617529880478,1.099601593625498,1.1035856573705178,1.1075697211155378,1.1115537848605577,1.1155378486055776,1.1195219123505975,1.1235059760956174,1.1274900398406376,1.1314741035856575,1.1354581673306774,1.1394422310756973,1.1434262948207172,1.1474103585657371,1.151394422310757,1.155378486055777,1.159362549800797,1.1633466135458168,1.1673306772908367,1.1713147410358566,1.1752988047808766,1.1792828685258965,1.1832669322709164,1.1872509960159363,1.1912350597609562,1.1952191235059761,1.199203187250996,1.203187250996016,1.207171314741036,1.2111553784860558,1.2151394422310757,1.2191235059760956,1.2231075697211156,1.2270916334661355,1.2310756972111554,1.2350597609561753,1.2390438247011952,1.2430278884462151,1.247011952191235,1.250996015936255,1.254980079681275,1.2589641434262948,1.2629482071713147,1.2669322709163346,1.2709163346613546,1.2749003984063745,1.2788844621513944,1.2828685258964143,1.2868525896414342,1.2908366533864541,1.294820717131474,1.298804780876494,1.302788844621514,1.3067729083665338,1.3107569721115537,1.3147410358565736,1.3187250996015936,1.3227091633466135,1.3266932270916334,1.3306772908366533,1.3346613545816732,1.3386454183266931,1.342629482071713,1.346613545816733,1.350597609561753,1.3545816733067728,1.3585657370517927,1.3625498007968126,1.3665338645418326,1.3705179282868525,1.3745019920318724,1.3784860557768925,1.3824701195219125,1.3864541832669324,1.3904382470119523,1.3944223107569722,1.3984063745019921,1.402390438247012,1.406374501992032,1.4103585657370519,1.4143426294820718,1.4183266932270917,1.4223107569721116,1.4262948207171315,1.4302788844621515,1.4342629482071714,1.4382470119521913,1.4422310756972112,1.4462151394422311,1.450199203187251,1.454183266932271,1.4581673306772909,1.4621513944223108,1.4661354581673307,1.4701195219123506,1.4741035856573705,1.4780876494023905,1.4820717131474104,1.4860557768924303,1.4900398406374502,1.4940239043824701,1.49800796812749,1.50199203187251,1.5059760956175299,1.5099601593625498,1.5139442231075697,1.5179282868525896,1.5219123505976095,1.5258964143426295,1.5298804780876494,1.5338645418326693,1.5378486055776892,1.5418326693227091,1.545816733067729,1.549800796812749,1.5537848605577689,1.5577689243027888,1.5617529880478087,1.5657370517928286,1.5697211155378485,1.5737051792828685,1.5776892430278884,1.5816733067729083,1.5856573705179282,1.5896414342629481,1.593625498007968,1.597609561752988,1.6015936254980079,1.6055776892430278,1.6095617529880477,1.6135458167330676,1.6175298804780875,1.6215139442231075,1.6254980079681276,1.6294820717131475,1.6334661354581674,1.6374501992031874,1.6414342629482073,1.6454183266932272,1.649402390438247,1.653386454183267,1.657370517928287,1.6613545816733069,1.6653386454183268,1.6693227091633467,1.6733067729083666,1.6772908366533865,1.6812749003984064,1.6852589641434264,1.6892430278884463,1.6932270916334662,1.697211155378486,1.701195219123506,1.705179282868526,1.7091633466135459,1.7131474103585658,1.7171314741035857,1.7211155378486056,1.7250996015936255,1.7290836653386454,1.7330677290836654,1.7370517928286853,1.7410358565737052,1.745019920318725,1.749003984063745,1.752988047808765,1.7569721115537849,1.7609561752988048,1.7649402390438247,1.7689243027888446,1.7729083665338645,1.7768924302788844,1.7808764940239044,1.7848605577689243,1.7888446215139442,1.792828685258964,1.796812749003984,1.800796812749004,1.8047808764940239,1.8087649402390438,1.8127490039840637,1.8167330677290836,1.8207171314741035,1.8247011952191234,1.8286852589641434,1.8326693227091633,1.8366533864541832,1.840637450199203,1.844621513944223,1.848605577689243,1.8525896414342629,1.8565737051792828,1.8605577689243027,1.8645418326693226,1.8685258964143425,1.8725099601593624,1.8764940239043826,1.8804780876494025,1.8844621513944224,1.8884462151394423,1.8924302788844622,1.8964143426294822,1.900398406374502,1.904382470119522,1.908366533864542,1.9123505976095618,1.9163346613545817,1.9203187250996017,1.9243027888446216,1.9282868525896415,1.9322709163346614,1.9362549800796813,1.9402390438247012,1.9442231075697212,1.948207171314741,1.952191235059761,1.956175298804781,1.9601593625498008,1.9641434262948207,1.9681274900398407,1.9721115537848606,1.9760956175298805,1.9800796812749004,1.9840637450199203,1.9880478087649402,1.9920318725099602,1.99601593625498,2.0],"x":[0.0,0.099601593625498,0.199203187250996,0.29880478087649404,0.398406374501992,0.49800796812749004,0.5976095617529881,0.6972111553784861,0.796812749003984,0.896414342629482,0.9960159362549801,1.095617529880478,1.1952191235059761,1.294820717131474,1.3944223107569722,1.4940239043824701,1.593625498007968,1.6932270916334662,1.792828685258964,1.8924302788844622,1.9920318725099602,2.091633466135458,2.191235059760956,2.2908366533864544,2.3904382470119523,2.49003984063745,2.589641434262948,2.689243027888446,2.7888446215139444,2.8884462151394423,2.9880478087649402,3.087649402390438,3.187250996015936,3.2868525896414345,3.3864541832669324,3.4860557768924303,3.585657370517928,3.685258964143426,3.7848605577689245,3.8844621513944224,3.9840637450199203,4.083665338645418,4.183266932270916,4.282868525896414,4.382470119521912,4.48207171314741,4.581673306772909,4.681274900398407,4.780876494023905,4.8804780876494025,4.9800796812749,5.079681274900398,5.179282868525896,5.278884462151394,5.378486055776892,5.47808764940239,5.577689243027889,5.677290836653387,5.776892430278885,5.876494023904383,5.9760956175298805,6.075697211155378,6.175298804780876,6.274900398406374,6.374501992031872,6.47410358565737,6.573705179282869,6.673306772908367,6.772908366533865,6.872509960159363,6.972111553784861,7.0717131474103585,7.171314741035856,7.270916334661354,7.370517928286852,7.47011952191235,7.569721115537849,7.669322709163347,7.768924302788845,7.868525896414343,7.968127490039841,8.06772908366534,8.167330677290837,8.266932270916335,8.366533864541832,8.466135458167331,8.565737051792828,8.665338645418327,8.764940239043824,8.864541832669323,8.96414342629482,9.063745019920319,9.163346613545817,9.262948207171315,9.362549800796813,9.46215139442231,9.56175298804781,9.661354581673306,9.760956175298805,9.860557768924302,9.9601593625498,10.0597609561753,10.159362549800797,10.258964143426295,10.358565737051793,10.458167330677291,10.557768924302788,10.657370517928287,10.756972111553784,10.856573705179283,10.95617529880478,11.055776892430279,11.155378486055778,11.254980079681275,11.354581673306773,11.45418326693227,11.55378486055777,11.653386454183266,11.752988047808765,11.852589641434262,11.952191235059761,12.05179282868526,12.151394422310757,12.250996015936256,12.350597609561753,12.450199203187251,12.549800796812749,12.649402390438247,12.749003984063744,12.848605577689243,12.94820717131474,13.047808764940239,13.147410358565738,13.247011952191235,13.346613545816734,13.44621513944223,13.54581673306773,13.645418326693227,13.745019920318725,13.844621513944222,13.944223107569721,14.04382470119522,14.143426294820717,14.243027888446216,14.342629482071713,14.442231075697212,14.541832669322709,14.641434262948207,14.741035856573705,14.840637450199203,14.9402390438247,15.0398406374502,15.139442231075698,15.239043824701195,15.338645418326694,15.43824701195219,15.53784860557769,15.637450199203187,15.737051792828685,15.836653386454183,15.936254980079681,16.03585657370518,16.13545816733068,16.235059760956176,16.334661354581673,16.43426294820717,16.53386454183267,16.633466135458168,16.733067729083665,16.83266932270916,16.932270916334662,17.03187250996016,17.131474103585656,17.231075697211157,17.330677290836654,17.43027888446215,17.529880478087648,17.62948207171315,17.729083665338646,17.828685258964143,17.92828685258964,18.02788844621514,18.127490039840637,18.227091633466134,18.326693227091635,18.426294820717132,18.52589641434263,18.625498007968126,18.725099601593627,18.824701195219124,18.92430278884462,19.02390438247012,19.12350597609562,19.223107569721115,19.322709163346612,19.422310756972113,19.52191235059761,19.621513944223107,19.721115537848604,19.820717131474105,19.9203187250996,20.0199203187251,20.1195219123506,20.219123505976096,20.318725099601593,20.41832669322709,20.51792828685259,20.617529880478088,20.717131474103585,20.816733067729082,20.916334661354583,21.01593625498008,21.115537848605577,21.215139442231077,21.314741035856574,21.41434262948207,21.51394422310757,21.61354581673307,21.713147410358566,21.812749003984063,21.91235059760956,22.01195219123506,22.111553784860558,22.211155378486055,22.310756972111555,22.410358565737052,22.50996015936255,22.609561752988046,22.709163346613547,22.808764940239044,22.90836653386454,23.00796812749004,23.10756972111554,23.207171314741036,23.306772908366533,23.406374501992033,23.50597609561753,23.605577689243027,23.705179282868524,23.804780876494025,23.904382470119522,24.00398406374502,24.10358565737052,24.203187250996017,24.302788844621514,24.40239043824701,24.50199203187251,24.60159362549801,24.701195219123505,24.800796812749002,24.900398406374503,25.0,25.099601593625497,25.199203187250998,25.298804780876495,25.39840637450199,25.49800796812749,25.59760956175299,25.697211155378486,25.796812749003983,25.89641434262948,25.99601593625498,26.095617529880478,26.195219123505975,26.294820717131476,26.394422310756973,26.49402390438247,26.593625498007967,26.693227091633467,26.792828685258964,26.89243027888446,26.99203187250996,27.09163346613546,27.191235059760956,27.290836653386453,27.390438247011954,27.49003984063745,27.589641434262948,27.689243027888445,27.788844621513945,27.888446215139442,27.98804780876494,28.08764940239044,28.187250996015937,28.286852589641434,28.38645418326693,28.48605577689243,28.58565737051793,28.685258964143426,28.784860557768923,28.884462151394423,28.98406374501992,29.083665338645417,29.183266932270918,29.282868525896415,29.382470119521912,29.48207171314741,29.58167330677291,29.681274900398407,29.780876494023904,29.8804780876494,29.9800796812749,30.0796812749004,30.179282868525895,30.278884462151396,30.378486055776893,30.47808764940239,30.577689243027887,30.677290836653388,30.776892430278885,30.87649402390438,30.97609561752988,31.07569721115538,31.175298804780876,31.274900398406373,31.374501992031874,31.47410358565737,31.573705179282868,31.673306772908365,31.772908366533866,31.872509960159363,31.97211155378486,32.07171314741036,32.17131474103586,32.27091633466136,32.37051792828685,32.47011952191235,32.569721115537845,32.669322709163346,32.76892430278885,32.86852589641434,32.96812749003984,33.06772908366534,33.167330677290835,33.266932270916335,33.366533864541836,33.46613545816733,33.56573705179283,33.66533864541832,33.764940239043824,33.864541832669325,33.96414342629482,34.06374501992032,34.16334661354582,34.26294820717131,34.36254980079681,34.462151394422314,34.56175298804781,34.66135458167331,34.7609561752988,34.8605577689243,34.9601593625498,35.059760956175296,35.1593625498008,35.2589641434263,35.35856573705179,35.45816733067729,35.55776892430279,35.657370517928285,35.756972111553786,35.85657370517928,35.95617529880478,36.05577689243028,36.155378486055774,36.254980079681275,36.354581673306775,36.45418326693227,36.55378486055777,36.65338645418327,36.75298804780876,36.852589641434264,36.95219123505976,37.05179282868526,37.15139442231076,37.25099601593625,37.35059760956175,37.45019920318725,37.54980079681275,37.64940239043825,37.74900398406375,37.84860557768924,37.94820717131474,38.04780876494024,38.147410358565736,38.24701195219124,38.34661354581673,38.44621513944223,38.54581673306773,38.645418326693225,38.745019920318725,38.844621513944226,38.94422310756972,39.04382470119522,39.14342629482072,39.243027888446214,39.342629482071715,39.44223107569721,39.54183266932271,39.64143426294821,39.7410358565737,39.8406374501992,39.940239043824704,40.0398406374502,40.1394422310757,40.2390438247012,40.33864541832669,40.43824701195219,40.537848605577686,40.63745019920319,40.73705179282869,40.83665338645418,40.93625498007968,41.03585657370518,41.135458167330675,41.235059760956176,41.33466135458168,41.43426294820717,41.53386454183267,41.633466135458164,41.733067729083665,41.832669322709165,41.93227091633466,42.03187250996016,42.13147410358566,42.23107569721115,42.330677290836654,42.430278884462155,42.52988047808765,42.62948207171315,42.72908366533864,42.82868525896414,42.92828685258964,43.02788844621514,43.12749003984064,43.22709163346614,43.32669322709163,43.42629482071713,43.52589641434263,43.625498007968126,43.72509960159363,43.82470119521912,43.92430278884462,44.02390438247012,44.123505976095615,44.223107569721115,44.322709163346616,44.42231075697211,44.52191235059761,44.62151394422311,44.721115537848604,44.820717131474105,44.9203187250996,45.0199203187251,45.1195219123506,45.21912350597609,45.31872509960159,45.418326693227094,45.51792828685259,45.61752988047809,45.71713147410359,45.81673306772908,45.91633466135458,46.01593625498008,46.11553784860558,46.21513944223108,46.31474103585657,46.41434262948207,46.51394422310757,46.613545816733065,46.713147410358566,46.81274900398407,46.91235059760956,47.01195219123506,47.11155378486056,47.211155378486055,47.310756972111555,47.41035856573705,47.50996015936255,47.60956175298805,47.70916334661354,47.808764940239044,47.908366533864545,48.00796812749004,48.10756972111554,48.20717131474104,48.30677290836653,48.40637450199203,48.50597609561753,48.60557768924303,48.70517928286853,48.80478087649402,48.90438247011952,49.00398406374502,49.103585657370516,49.20318725099602,49.30278884462152,49.40239043824701,49.50199203187251,49.601593625498005,49.701195219123505,49.800796812749006,49.9003984063745,50.0],"y":[1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1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,-1.0,1.0,1.0,1.0,1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json index 8d3253005119..7e4e9e0c860f 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_negative.json @@ -1 +1 @@ -{"expected":[1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,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0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0],"p":[-1.0e-20,-9.9800796812749e-21,-9.9601593625498e-21,-9.940239043824701e-21,-9.9203187250996e-21,-9.900398406374502e-21,-9.880478087649401e-21,-9.860557768924302e-21,-9.840637450199203e-21,-9.820717131474103e-21,-9.800796812749004e-21,-9.780876494023904e-21,-9.760956175298805e-21,-9.741035856573704e-21,-9.721115537848605e-21,-9.701195219123505e-21,-9.681274900398406e-21,-9.661354581673307e-21,-9.641434262948206e-21,-9.621513944223107e-21,-9.601593625498007e-21,-9.581673306772908e-21,-9.561752988047808e-21,-9.541832669322709e-21,-9.52191235059761e-21,-9.50199203187251e-21,-9.48207171314741e-21,-9.46215139442231e-21,-9.442231075697211e-21,-9.42231075697211e-21,-9.402390438247012e-21,-9.382470119521911e-21,-9.362549800796812e-21,-9.342629482071713e-21,-9.322709163346613e-21,-9.302788844621514e-21,-9.282868525896413e-21,-9.262948207171314e-21,-9.243027888446214e-21,-9.223107569721115e-21,-9.203187250996016e-21,-9.183266932270916e-21,-9.163346613545817e-21,-9.143426294820716e-21,-9.123505976095617e-21,-9.103585657370517e-21,-9.083665338645418e-21,-9.063745019920317e-21,-9.043824701195219e-21,-9.02390438247012e-21,-9.003984063745019e-21,-8.98406374501992e-21,-8.96414342629482e-21,-8.944223107569721e-21,-8.92430278884462e-21,-8.904382470119521e-21,-8.884462151394422e-21,-8.864541832669322e-21,-8.844621513944223e-21,-8.824701195219123e-21,-8.804780876494024e-21,-8.784860557768923e-21,-8.764940239043824e-21,-8.745019920318725e-21,-8.725099601593625e-21,-8.705179282868526e-21,-8.685258964143426e-21,-8.665338645418327e-21,-8.645418326693226e-21,-8.625498007968127e-21,-8.605577689243027e-21,-8.585657370517928e-21,-8.565737051792829e-21,-8.545816733067728e-21,-8.52589641434263e-21,-8.505976095617529e-21,-8.48605577689243e-21,-8.46613545816733e-21,-8.44621513944223e-21,-8.426294820717132e-21,-8.406374501992031e-21,-8.386454183266932e-21,-8.366533864541832e-21,-8.346613545816733e-21,-8.326693227091632e-21,-8.306772908366534e-21,-8.286852589641433e-21,-8.266932270916334e-21,-8.247011952191235e-21,-8.227091633466135e-21,-8.207171314741036e-21,-8.187250996015935e-21,-8.167330677290836e-21,-8.147410358565736e-21,-8.127490039840637e-21,-8.107569721115538e-21,-8.087649402390438e-21,-8.067729083665339e-21,-8.047808764940238e-21,-8.02788844621514e-21,-8.007968127490039e-21,-7.98804780876494e-21,-7.968127490039841e-21,-7.94820717131474e-21,-7.928286852589642e-21,-7.908366533864541e-21,-7.888446215139442e-21,-7.868525896414342e-21,-7.848605577689243e-21,-7.828685258964142e-21,-7.808764940239043e-21,-7.788844621513944e-21,-7.768924302788844e-21,-7.749003984063745e-21,-7.729083665338645e-21,-7.709163346613546e-21,-7.689243027888445e-21,-7.669322709163346e-21,-7.649402390438247e-21,-7.629482071713147e-21,-7.609561752988048e-21,-7.589641434262947e-21,-7.569721115537849e-21,-7.549800796812748e-21,-7.529880478087649e-21,-7.509960159362549e-21,-7.49003984063745e-21,-7.470119521912351e-21,-7.45019920318725e-21,-7.430278884462151e-21,-7.410358565737051e-21,-7.390438247011952e-21,-7.370517928286852e-21,-7.350597609561753e-21,-7.330677290836654e-21,-7.310756972111553e-21,-7.290836653386454e-21,-7.270916334661354e-21,-7.250996015936255e-21,-7.231075697211154e-21,-7.211155378486055e-21,-7.191235059760955e-21,-7.171314741035856e-21,-7.151394422310757e-21,-7.131474103585657e-21,-7.111553784860558e-21,-7.091633466135457e-21,-7.071713147410358e-21,-7.051792828685258e-21,-7.031872509960159e-21,-7.01195219123506e-21,-6.99203187250996e-21,-6.97211155378486e-21,-6.95219123505976e-21,-6.932270916334661e-21,-6.912350597609561e-21,-6.892430278884462e-21,-6.872509960159363e-21,-6.852589641434262e-21,-6.832669322709164e-21,-6.812749003984063e-21,-6.792828685258964e-21,-6.7729083665338644e-21,-6.752988047808765e-21,-6.733067729083665e-21,-6.713147410358565e-21,-6.693227091633466e-21,-6.673306772908366e-21,-6.653386454183266e-21,-6.633466135458167e-21,-6.6135458167330676e-21,-6.593625498007968e-21,-6.573705179282868e-21,-6.5537848605577685e-21,-6.533864541832669e-21,-6.513944223107569e-21,-6.4940239043824694e-21,-6.4741035856573705e-21,-6.454183266932271e-21,-6.434262948207171e-21,-6.4143426294820714e-21,-6.394422310756972e-21,-6.374501992031872e-21,-6.354581673306772e-21,-6.3346613545816726e-21,-6.314741035856574e-21,-6.294820717131474e-21,-6.274900398406374e-21,-6.2549800796812746e-21,-6.235059760956175e-21,-6.215139442231075e-21,-6.1952191235059755e-21,-6.175298804780876e-21,-6.155378486055777e-21,-6.135458167330677e-21,-6.1155378486055775e-21,-6.095617529880478e-21,-6.075697211155378e-21,-6.055776892430278e-21,-6.035856573705179e-21,-6.015936254980079e-21,-5.99601593625498e-21,-5.97609561752988e-21,-5.956175298804781e-21,-5.936254980079681e-21,-5.916334661354581e-21,-5.8964143426294816e-21,-5.876494023904382e-21,-5.856573705179283e-21,-5.836653386454183e-21,-5.8167330677290835e-21,-5.796812749003984e-21,-5.776892430278884e-21,-5.7569721115537844e-21,-5.737051792828685e-21,-5.717131474103585e-21,-5.697211155378486e-21,-5.6772908366533864e-21,-5.657370517928287e-21,-5.637450199203187e-21,-5.617529880478087e-21,-5.5976095617529876e-21,-5.577689243027888e-21,-5.557768924302788e-21,-5.537848605577689e-21,-5.5179282868525896e-21,-5.49800796812749e-21,-5.47808764940239e-21,-5.4581673306772905e-21,-5.438247011952191e-21,-5.418326693227091e-21,-5.3984063745019914e-21,-5.3784860557768925e-21,-5.358565737051793e-21,-5.338645418326693e-21,-5.318725099601593e-21,-5.298804780876494e-21,-5.278884462151394e-21,-5.258964143426294e-21,-5.2390438247011946e-21,-5.219123505976096e-21,-5.199203187250996e-21,-5.179282868525896e-21,-5.1593625498007965e-21,-5.139442231075697e-21,-5.119521912350597e-21,-5.0996015936254975e-21,-5.079681274900398e-21,-5.059760956175299e-21,-5.039840637450199e-21,-5.0199203187250994e-21,-5.0e-21,-4.9800796812749e-21,-4.9601593625498e-21,-4.940239043824701e-21,-4.920318725099602e-21,-4.900398406374502e-21,-4.880478087649402e-21,-4.8605577689243026e-21,-4.840637450199203e-21,-4.820717131474103e-21,-4.8007968127490035e-21,-4.780876494023904e-21,-4.760956175298805e-21,-4.741035856573705e-21,-4.7211155378486055e-21,-4.701195219123506e-21,-4.681274900398406e-21,-4.6613545816733064e-21,-4.641434262948207e-21,-4.621513944223107e-21,-4.601593625498008e-21,-4.581673306772908e-21,-4.561752988047809e-21,-4.541832669322709e-21,-4.521912350597609e-21,-4.5019920318725096e-21,-4.48207171314741e-21,-4.46215139442231e-21,-4.442231075697211e-21,-4.4223107569721115e-21,-4.402390438247012e-21,-4.382470119521912e-21,-4.3625498007968124e-21,-4.342629482071713e-21,-4.322709163346613e-21,-4.302788844621513e-21,-4.2828685258964144e-21,-4.262948207171315e-21,-4.243027888446215e-21,-4.223107569721115e-21,-4.203187250996016e-21,-4.183266932270916e-21,-4.163346613545816e-21,-4.1434262948207165e-21,-4.1235059760956176e-21,-4.103585657370518e-21,-4.083665338645418e-21,-4.0637450199203185e-21,-4.043824701195219e-21,-4.023904382470119e-21,-4.0039840637450194e-21,-3.9840637450199205e-21,-3.964143426294821e-21,-3.944223107569721e-21,-3.9243027888446214e-21,-3.904382470119522e-21,-3.884462151394422e-21,-3.864541832669322e-21,-3.8446215139442226e-21,-3.824701195219124e-21,-3.804780876494024e-21,-3.784860557768924e-21,-3.7649402390438246e-21,-3.745019920318725e-21,-3.725099601593625e-21,-3.7051792828685255e-21,-3.685258964143426e-21,-3.665338645418327e-21,-3.645418326693227e-21,-3.6254980079681274e-21,-3.605577689243028e-21,-3.585657370517928e-21,-3.565737051792828e-21,-3.545816733067729e-21,-3.525896414342629e-21,-3.50597609561753e-21,-3.48605577689243e-21,-3.466135458167331e-21,-3.446215139442231e-21,-3.426294820717131e-21,-3.4063745019920315e-21,-3.3864541832669322e-21,-3.3665338645418325e-21,-3.346613545816733e-21,-3.326693227091633e-21,-3.3067729083665338e-21,-3.286852589641434e-21,-3.2669322709163344e-21,-3.2470119521912347e-21,-3.2270916334661354e-21,-3.2071713147410357e-21,-3.187250996015936e-21,-3.1673306772908363e-21,-3.147410358565737e-21,-3.1274900398406373e-21,-3.1075697211155376e-21,-3.087649402390438e-21,-3.0677290836653386e-21,-3.047808764940239e-21,-3.027888446215139e-21,-3.0079681274900395e-21,-2.98804780876494e-21,-2.9681274900398405e-21,-2.9482071713147408e-21,-2.9282868525896415e-21,-2.9083665338645418e-21,-2.888446215139442e-21,-2.8685258964143424e-21,-2.848605577689243e-21,-2.8286852589641433e-21,-2.8087649402390437e-21,-2.788844621513944e-21,-2.7689243027888446e-21,-2.749003984063745e-21,-2.7290836653386452e-21,-2.7091633466135455e-21,-2.6892430278884462e-21,-2.6693227091633465e-21,-2.649402390438247e-21,-2.629482071713147e-21,-2.609561752988048e-21,-2.589641434262948e-21,-2.5697211155378484e-21,-2.5498007968127487e-21,-2.5298804780876494e-21,-2.5099601593625497e-21,-2.49003984063745e-21,-2.4701195219123503e-21,-2.450199203187251e-21,-2.4302788844621513e-21,-2.4103585657370516e-21,-2.390438247011952e-21,-2.3705179282868526e-21,-2.350597609561753e-21,-2.3306772908366532e-21,-2.3107569721115535e-21,-2.290836653386454e-21,-2.2709163346613545e-21,-2.2509960159362548e-21,-2.231075697211155e-21,-2.2111553784860558e-21,-2.191235059760956e-21,-2.1713147410358564e-21,-2.1513944223107567e-21,-2.1314741035856574e-21,-2.1115537848605577e-21,-2.091633466135458e-21,-2.0717131474103583e-21,-2.051792828685259e-21,-2.0318725099601593e-21,-2.0119521912350596e-21,-1.9920318725099602e-21,-1.9721115537848605e-21,-1.952191235059761e-21,-1.932270916334661e-21,-1.912350597609562e-21,-1.892430278884462e-21,-1.8725099601593624e-21,-1.8525896414342627e-21,-1.8326693227091634e-21,-1.8127490039840637e-21,-1.792828685258964e-21,-1.7729083665338643e-21,-1.752988047808765e-21,-1.7330677290836653e-21,-1.7131474103585656e-21,-1.6932270916334661e-21,-1.6733067729083664e-21,-1.6533864541832669e-21,-1.6334661354581672e-21,-1.6135458167330677e-21,-1.593625498007968e-21,-1.5737051792828685e-21,-1.5537848605577688e-21,-1.5338645418326693e-21,-1.5139442231075696e-21,-1.49402390438247e-21,-1.4741035856573704e-21,-1.4541832669322709e-21,-1.4342629482071712e-21,-1.4143426294820717e-21,-1.394422310756972e-21,-1.3745019920318725e-21,-1.3545816733067728e-21,-1.3346613545816733e-21,-1.3147410358565736e-21,-1.294820717131474e-21,-1.2749003984063744e-21,-1.2549800796812749e-21,-1.2350597609561752e-21,-1.2151394422310757e-21,-1.195219123505976e-21,-1.1752988047808764e-21,-1.1553784860557767e-21,-1.1354581673306772e-21,-1.1155378486055775e-21,-1.095617529880478e-21,-1.0756972111553783e-21,-1.0557768924302788e-21,-1.0358565737051791e-21,-1.0159362549800796e-21,-9.960159362549801e-22,-9.760956175298804e-22,-9.56175298804781e-22,-9.362549800796812e-22,-9.163346613545817e-22,-8.96414342629482e-22,-8.764940239043825e-22,-8.565737051792828e-22,-8.366533864541832e-22,-8.167330677290836e-22,-7.96812749003984e-22,-7.768924302788844e-22,-7.569721115537848e-22,-7.370517928286852e-22,-7.171314741035856e-22,-6.97211155378486e-22,-6.772908366533864e-22,-6.573705179282868e-22,-6.374501992031872e-22,-6.175298804780876e-22,-5.97609561752988e-22,-5.776892430278884e-22,-5.577689243027888e-22,-5.378486055776892e-22,-5.179282868525896e-22,-4.980079681274901e-22,-4.780876494023905e-22,-4.581673306772909e-22,-4.3824701195219125e-22,-4.183266932270916e-22,-3.98406374501992e-22,-3.784860557768924e-22,-3.585657370517928e-22,-3.386454183266932e-22,-3.187250996015936e-22,-2.98804780876494e-22,-2.788844621513944e-22,-2.589641434262948e-22,-2.3904382470119523e-22,-2.1912350597609563e-22,-1.99203187250996e-22,-1.792828685258964e-22,-1.593625498007968e-22,-1.394422310756972e-22,-1.1952191235059761e-22,-9.9601593625498e-23,-7.96812749003984e-23,-5.976095617529881e-23,-3.98406374501992e-23,-1.99203187250996e-23,0.0],"y":[-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,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.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0]} +{"expected":[0.0,-3.98406374501992e-22,7.96812749003984e-22,1.1952191235059761e-21,1.593625498007968e-21,-1.9920318725099602e-21,2.3904382470119523e-21,-2.7888446215139443e-21,-3.187250996015936e-21,3.585657370517928e-21,3.9840637450199205e-21,-4.382470119521912e-21,4.7808764940239046e-21,5.179282868525896e-21,5.577689243027889e-21,-5.97609561752988e-21,-6.374501992031872e-21,6.7729083665338644e-21,-7.171314741035856e-21,7.569721115537849e-21,-7.968127490039841e-21,-8.366533864541832e-21,8.764940239043824e-21,-9.163346613545817e-21,9.561752988047809e-21,-9.9601593625498e-21,-1.0358565737051792e-20,1.0756972111553785e-20,1.1155378486055777e-20,-1.1553784860557768e-20,1.195219123505976e-20,-1.2350597609561753e-20,1.2749003984063744e-20,-1.3147410358565736e-20,1.3545816733067729e-20,1.394422310756972e-20,-1.4342629482071712e-20,-1.4741035856573706e-20,1.5139442231075697e-20,1.5537848605577688e-20,1.5936254980079682e-20,1.6334661354581673e-20,-1.6733067729083664e-20,-1.7131474103585658e-20,1.752988047808765e-20,-1.792828685258964e-20,-1.8326693227091633e-20,1.8725099601593624e-20,1.9123505976095618e-20,1.952191235059761e-20,-1.99203187250996e-20,-2.0318725099601594e-20,2.0717131474103585e-20,2.1115537848605576e-20,2.151394422310757e-20,-2.191235059760956e-20,-2.2310756972111555e-20,-2.2709163346613546e-20,2.3107569721115536e-20,2.350597609561753e-20,-2.390438247011952e-20,-2.4302788844621512e-20,-2.4701195219123506e-20,-2.5099601593625497e-20,2.5498007968127488e-20,2.5896414342629482e-20,-2.6294820717131473e-20,2.6693227091633467e-20,-2.7091633466135458e-20,-2.749003984063745e-20,-2.788844621513944e-20,-2.8286852589641433e-20,-2.8685258964143424e-20,2.9083665338645415e-20,2.948207171314741e-20,2.9880478087649403e-20,-3.0278884462151394e-20,3.0677290836653385e-20,-3.1075697211155376e-20,-3.1474103585657367e-20,-3.1872509960159364e-20,-3.2270916334661355e-20,-3.2669322709163346e-20,-3.3067729083665337e-20,3.346613545816733e-20,3.3864541832669324e-20,3.4262948207171315e-20,-3.4661354581673306e-20,3.50597609561753e-20,-3.545816733067729e-20,-3.585657370517928e-20,3.6254980079681276e-20,-3.6653386454183267e-20,-3.705179282868526e-20,-3.745019920318725e-20,-3.784860557768924e-20,-3.8247011952191237e-20,-3.864541832669323e-20,-3.904382470119522e-20,-3.944223107569721e-20,-3.98406374501992e-20,4.02390438247012e-20,4.063745019920319e-20,-4.103585657370518e-20,4.143426294820717e-20,4.183266932270916e-20,-4.223107569721115e-20,-4.262948207171315e-20,-4.302788844621514e-20,4.342629482071713e-20,-4.382470119521912e-20,4.422310756972111e-20,4.462151394422311e-20,4.50199203187251e-20,4.541832669322709e-20,4.581673306772908e-20,4.621513944223107e-20,-4.6613545816733064e-20,-4.701195219123506e-20,-4.741035856573705e-20,4.780876494023904e-20,-4.8207171314741034e-20,4.8605577689243025e-20,4.900398406374502e-20,4.940239043824701e-20,-4.9800796812749003e-20,-5.0199203187250994e-20,5.0597609561752985e-20,5.0996015936254976e-20,-5.139442231075697e-20,5.1792828685258964e-20,-5.2191235059760955e-20,5.2589641434262946e-20,5.2988047808764937e-20,-5.3386454183266934e-20,5.3784860557768925e-20,5.4183266932270915e-20,5.458167330677291e-20,-5.49800796812749e-20,5.53784860557769e-20,5.577689243027889e-20,5.617529880478088e-20,-5.657370517928287e-20,5.697211155378486e-20,-5.737051792828685e-20,5.776892430278884e-20,5.816733067729083e-20,-5.856573705179282e-20,5.896414342629482e-20,5.936254980079682e-20,5.976095617529881e-20,6.01593625498008e-20,6.055776892430279e-20,-6.095617529880478e-20,-6.135458167330677e-20,6.175298804780876e-20,-6.215139442231075e-20,-6.254980079681274e-20,6.294820717131473e-20,6.334661354581674e-20,6.374501992031873e-20,-6.414342629482072e-20,6.454183266932271e-20,6.49402390438247e-20,6.533864541832669e-20,6.573705179282868e-20,-6.613545816733067e-20,6.653386454183266e-20,-6.693227091633465e-20,-6.733067729083665e-20,6.772908366533865e-20,6.812749003984064e-20,-6.852589641434263e-20,-6.892430278884462e-20,-6.932270916334661e-20,-6.97211155378486e-20,7.01195219123506e-20,7.051792828685259e-20,-7.091633466135458e-20,7.131474103585657e-20,-7.171314741035856e-20,-7.211155378486056e-20,-7.250996015936255e-20,7.290836653386454e-20,-7.330677290836653e-20,7.370517928286852e-20,-7.410358565737052e-20,-7.450199203187251e-20,7.49003984063745e-20,-7.529880478087649e-20,-7.569721115537848e-20,-7.609561752988048e-20,-7.649402390438247e-20,-7.689243027888446e-20,7.729083665338645e-20,-7.768924302788845e-20,-7.808764940239044e-20,-7.848605577689243e-20,7.888446215139442e-20,7.928286852589641e-20,-7.96812749003984e-20,-8.007968127490039e-20,8.04780876494024e-20,-8.087649402390439e-20,8.127490039840638e-20,8.167330677290837e-20,-8.207171314741036e-20,8.247011952191235e-20,8.286852589641434e-20,-8.326693227091633e-20,-8.366533864541832e-20,8.406374501992031e-20,-8.44621513944223e-20,8.486055776892431e-20,8.52589641434263e-20,-8.565737051792829e-20,-8.605577689243028e-20,8.645418326693227e-20,-8.685258964143426e-20,8.725099601593625e-20,-8.764940239043824e-20,8.804780876494023e-20,-8.844621513944222e-20,-8.884462151394422e-20,-8.924302788844622e-20,8.964143426294821e-20,-9.00398406374502e-20,9.043824701195219e-20,9.083665338645418e-20,-9.123505976095617e-20,-9.163346613545816e-20,-9.203187250996016e-20,-9.243027888446215e-20,-9.282868525896414e-20,9.322709163346613e-20,-9.362549800796813e-20,9.402390438247012e-20,-9.442231075697211e-20,-9.48207171314741e-20,-9.52191235059761e-20,9.561752988047809e-20,-9.601593625498008e-20,9.641434262948207e-20,9.681274900398406e-20,-9.721115537848605e-20,-9.760956175298804e-20,-9.800796812749004e-20,9.840637450199203e-20,-9.880478087649402e-20,-9.920318725099602e-20,9.960159362549801e-20,1.0e-19,-1.0039840637450199e-19,1.0079681274900398e-19,-1.0119521912350597e-19,-1.0159362549800796e-19,1.0199203187250995e-19,-1.0239043824701196e-19,-1.0278884462151395e-19,-1.0318725099601594e-19,-1.0358565737051793e-19,1.0398406374501992e-19,1.0438247011952191e-19,-1.047808764940239e-19,-1.0517928286852589e-19,-1.0557768924302788e-19,-1.0597609561752987e-19,1.0637450199203186e-19,1.0677290836653387e-19,-1.0717131474103586e-19,1.0756972111553785e-19,-1.0796812749003984e-19,-1.0836653386454183e-19,-1.0876494023904382e-19,-1.0916334661354582e-19,1.095617529880478e-19,-1.099601593625498e-19,-1.1035856573705179e-19,1.107569721115538e-19,1.1115537848605577e-19,1.1155378486055777e-19,1.1195219123505975e-19,-1.1235059760956175e-19,1.1274900398406373e-19,-1.1314741035856573e-19,1.1354581673306774e-19,1.1394422310756972e-19,-1.1434262948207172e-19,1.147410358565737e-19,1.151394422310757e-19,-1.1553784860557768e-19,-1.1593625498007968e-19,1.1633466135458166e-19,1.1673306772908366e-19,1.1713147410358564e-19,-1.1752988047808765e-19,-1.1792828685258965e-19,1.1832669322709163e-19,1.1872509960159363e-19,-1.191235059760956e-19,-1.1952191235059761e-19,-1.199203187250996e-19,-1.203187250996016e-19,-1.2071713147410357e-19,1.2111553784860558e-19,1.2151394422310756e-19,-1.2191235059760956e-19,1.2231075697211156e-19,-1.2270916334661354e-19,1.2310756972111554e-19,-1.2350597609561752e-19,1.2390438247011952e-19,1.243027888446215e-19,-1.247011952191235e-19,-1.2509960159362549e-19,-1.254980079681275e-19,1.2589641434262947e-19,-1.2629482071713147e-19,-1.2669322709163347e-19,1.2709163346613545e-19,1.2749003984063746e-19,1.2788844621513943e-19,-1.2828685258964144e-19,1.2868525896414342e-19,-1.2908366533864542e-19,-1.294820717131474e-19,-1.298804780876494e-19,-1.3027888446215138e-19,1.3067729083665338e-19,-1.3107569721115539e-19,-1.3147410358565736e-19,-1.3187250996015937e-19,1.3227091633466135e-19,1.3266932270916335e-19,-1.3306772908366533e-19,1.3346613545816733e-19,1.338645418326693e-19,-1.3426294820717131e-19,1.346613545816733e-19,-1.350597609561753e-19,-1.354581673306773e-19,1.3585657370517928e-19,1.3625498007968128e-19,1.3665338645418326e-19,-1.3705179282868526e-19,1.3745019920318724e-19,1.3784860557768924e-19,-1.3824701195219122e-19,-1.3864541832669323e-19,-1.390438247011952e-19,-1.394422310756972e-19,-1.398406374501992e-19,1.402390438247012e-19,1.406374501992032e-19,1.4103585657370517e-19,-1.4143426294820717e-19,1.4183266932270915e-19,1.4223107569721116e-19,-1.4262948207171313e-19,-1.4302788844621514e-19,-1.4342629482071712e-19,-1.4382470119521912e-19,1.4422310756972112e-19,1.446215139442231e-19,1.450199203187251e-19,-1.4541832669322708e-19,-1.4581673306772909e-19,1.4621513944223106e-19,1.4661354581673307e-19,-1.4701195219123505e-19,1.4741035856573705e-19,-1.4780876494023903e-19,-1.4820717131474103e-19,1.4860557768924303e-19,-1.4900398406374501e-19,-1.4940239043824702e-19,1.49800796812749e-19,1.50199203187251e-19,1.5059760956175298e-19,1.5099601593625498e-19,1.5139442231075696e-19,-1.5179282868525896e-19,-1.5219123505976096e-19,-1.5258964143426294e-19,-1.5298804780876495e-19,1.5338645418326693e-19,-1.5378486055776893e-19,1.541832669322709e-19,1.545816733067729e-19,1.549800796812749e-19,-1.553784860557769e-19,-1.5577689243027887e-19,1.5617529880478087e-19,1.5657370517928288e-19,1.5697211155378486e-19,-1.5737051792828686e-19,1.5776892430278884e-19,-1.5816733067729084e-19,-1.5856573705179282e-19,-1.5896414342629482e-19,-1.593625498007968e-19,1.597609561752988e-19,-1.6015936254980078e-19,1.6055776892430279e-19,1.609561752988048e-19,1.6135458167330677e-19,1.6175298804780877e-19,1.6215139442231075e-19,1.6254980079681275e-19,1.6294820717131473e-19,1.6334661354581673e-19,-1.6374501992031871e-19,-1.6414342629482072e-19,1.645418326693227e-19,-1.649402390438247e-19,-1.653386454183267e-19,1.6573705179282868e-19,-1.6613545816733068e-19,-1.6653386454183266e-19,-1.6693227091633466e-19,1.6733067729083664e-19,1.6772908366533865e-19,1.6812749003984063e-19,1.6852589641434263e-19,-1.689243027888446e-19,1.693227091633466e-19,-1.6972111553784861e-19,-1.701195219123506e-19,-1.705179282868526e-19,1.7091633466135457e-19,1.7131474103585658e-19,-1.7171314741035856e-19,-1.7211155378486056e-19,-1.7250996015936254e-19,-1.7290836653386454e-19,1.7330677290836652e-19,1.7370517928286852e-19,-1.7410358565737053e-19,-1.745019920318725e-19,-1.749003984063745e-19,1.7529880478087649e-19,-1.756972111553785e-19,1.7609561752988047e-19,-1.7649402390438247e-19,-1.7689243027888445e-19,-1.7729083665338645e-19,1.7768924302788843e-19,1.7808764940239043e-19,1.7848605577689244e-19,-1.7888446215139442e-19,1.7928286852589642e-19,-1.796812749003984e-19,1.800796812749004e-19,-1.8047808764940238e-19,1.8087649402390438e-19,1.8127490039840636e-19,-1.8167330677290836e-19,1.8207171314741034e-19,-1.8247011952191235e-19,1.8286852589641435e-19,-1.8326693227091633e-19,1.8366533864541833e-19,1.840637450199203e-19,1.8446215139442231e-19,1.848605577689243e-19,1.852589641434263e-19,-1.8565737051792827e-19,1.8605577689243028e-19,1.8645418326693226e-19,1.8685258964143426e-19,-1.8725099601593626e-19,1.8764940239043824e-19,1.8804780876494024e-19,-1.8844621513944222e-19,-1.8884462151394423e-19,1.892430278884462e-19,-1.896414342629482e-19,1.9003984063745019e-19,1.904382470119522e-19,-1.9083665338645417e-19,-1.9123505976095617e-19,1.9163346613545817e-19,1.9203187250996015e-19,-1.9243027888446216e-19,1.9282868525896413e-19,-1.9322709163346614e-19,-1.9362549800796812e-19,1.9402390438247012e-19,-1.944223107569721e-19,-1.948207171314741e-19,1.9521912350597608e-19,1.9561752988047808e-19,-1.9601593625498009e-19,-1.9641434262948206e-19,-1.9681274900398407e-19,1.9721115537848605e-19,-1.9760956175298805e-19,1.9800796812749003e-19,1.9840637450199203e-19,1.98804780876494e-19,1.9920318725099601e-19,1.99601593625498e-19,-2.0e-19],"p":[-1.0e-20,-9.9800796812749e-21,-9.9601593625498e-21,-9.940239043824701e-21,-9.9203187250996e-21,-9.900398406374502e-21,-9.880478087649401e-21,-9.860557768924302e-21,-9.840637450199203e-21,-9.820717131474103e-21,-9.800796812749004e-21,-9.780876494023904e-21,-9.760956175298805e-21,-9.741035856573704e-21,-9.721115537848605e-21,-9.701195219123505e-21,-9.681274900398406e-21,-9.661354581673307e-21,-9.641434262948206e-21,-9.621513944223107e-21,-9.601593625498007e-21,-9.581673306772908e-21,-9.561752988047808e-21,-9.541832669322709e-21,-9.52191235059761e-21,-9.50199203187251e-21,-9.48207171314741e-21,-9.46215139442231e-21,-9.442231075697211e-21,-9.42231075697211e-21,-9.402390438247012e-21,-9.382470119521911e-21,-9.362549800796812e-21,-9.342629482071713e-21,-9.322709163346613e-21,-9.302788844621514e-21,-9.282868525896413e-21,-9.262948207171314e-21,-9.243027888446214e-21,-9.223107569721115e-21,-9.203187250996016e-21,-9.183266932270916e-21,-9.163346613545817e-21,-9.143426294820716e-21,-9.123505976095617e-21,-9.103585657370517e-21,-9.083665338645418e-21,-9.063745019920317e-21,-9.043824701195219e-21,-9.02390438247012e-21,-9.003984063745019e-21,-8.98406374501992e-21,-8.96414342629482e-21,-8.944223107569721e-21,-8.92430278884462e-21,-8.904382470119521e-21,-8.884462151394422e-21,-8.864541832669322e-21,-8.844621513944223e-21,-8.824701195219123e-21,-8.804780876494024e-21,-8.784860557768923e-21,-8.764940239043824e-21,-8.745019920318725e-21,-8.725099601593625e-21,-8.705179282868526e-21,-8.685258964143426e-21,-8.665338645418327e-21,-8.645418326693226e-21,-8.625498007968127e-21,-8.605577689243027e-21,-8.585657370517928e-21,-8.565737051792829e-21,-8.545816733067728e-21,-8.52589641434263e-21,-8.505976095617529e-21,-8.48605577689243e-21,-8.46613545816733e-21,-8.44621513944223e-21,-8.426294820717132e-21,-8.406374501992031e-21,-8.386454183266932e-21,-8.366533864541832e-21,-8.346613545816733e-21,-8.326693227091632e-21,-8.306772908366534e-21,-8.286852589641433e-21,-8.266932270916334e-21,-8.247011952191235e-21,-8.227091633466135e-21,-8.207171314741036e-21,-8.187250996015935e-21,-8.167330677290836e-21,-8.147410358565736e-21,-8.127490039840637e-21,-8.107569721115538e-21,-8.087649402390438e-21,-8.067729083665339e-21,-8.047808764940238e-21,-8.02788844621514e-21,-8.007968127490039e-21,-7.98804780876494e-21,-7.968127490039841e-21,-7.94820717131474e-21,-7.928286852589642e-21,-7.908366533864541e-21,-7.888446215139442e-21,-7.868525896414342e-21,-7.848605577689243e-21,-7.828685258964142e-21,-7.808764940239043e-21,-7.788844621513944e-21,-7.768924302788844e-21,-7.749003984063745e-21,-7.729083665338645e-21,-7.709163346613546e-21,-7.689243027888445e-21,-7.669322709163346e-21,-7.649402390438247e-21,-7.629482071713147e-21,-7.609561752988048e-21,-7.589641434262947e-21,-7.569721115537849e-21,-7.549800796812748e-21,-7.529880478087649e-21,-7.509960159362549e-21,-7.49003984063745e-21,-7.470119521912351e-21,-7.45019920318725e-21,-7.430278884462151e-21,-7.410358565737051e-21,-7.390438247011952e-21,-7.370517928286852e-21,-7.350597609561753e-21,-7.330677290836654e-21,-7.310756972111553e-21,-7.290836653386454e-21,-7.270916334661354e-21,-7.250996015936255e-21,-7.231075697211154e-21,-7.211155378486055e-21,-7.191235059760955e-21,-7.171314741035856e-21,-7.151394422310757e-21,-7.131474103585657e-21,-7.111553784860558e-21,-7.091633466135457e-21,-7.071713147410358e-21,-7.051792828685258e-21,-7.031872509960159e-21,-7.01195219123506e-21,-6.99203187250996e-21,-6.97211155378486e-21,-6.95219123505976e-21,-6.932270916334661e-21,-6.912350597609561e-21,-6.892430278884462e-21,-6.872509960159363e-21,-6.852589641434262e-21,-6.832669322709164e-21,-6.812749003984063e-21,-6.792828685258964e-21,-6.7729083665338644e-21,-6.752988047808765e-21,-6.733067729083665e-21,-6.713147410358565e-21,-6.693227091633466e-21,-6.673306772908366e-21,-6.653386454183266e-21,-6.633466135458167e-21,-6.6135458167330676e-21,-6.593625498007968e-21,-6.573705179282868e-21,-6.5537848605577685e-21,-6.533864541832669e-21,-6.513944223107569e-21,-6.4940239043824694e-21,-6.4741035856573705e-21,-6.454183266932271e-21,-6.434262948207171e-21,-6.4143426294820714e-21,-6.394422310756972e-21,-6.374501992031872e-21,-6.354581673306772e-21,-6.3346613545816726e-21,-6.314741035856574e-21,-6.294820717131474e-21,-6.274900398406374e-21,-6.2549800796812746e-21,-6.235059760956175e-21,-6.215139442231075e-21,-6.1952191235059755e-21,-6.175298804780876e-21,-6.155378486055777e-21,-6.135458167330677e-21,-6.1155378486055775e-21,-6.095617529880478e-21,-6.075697211155378e-21,-6.055776892430278e-21,-6.035856573705179e-21,-6.015936254980079e-21,-5.99601593625498e-21,-5.97609561752988e-21,-5.956175298804781e-21,-5.936254980079681e-21,-5.916334661354581e-21,-5.8964143426294816e-21,-5.876494023904382e-21,-5.856573705179283e-21,-5.836653386454183e-21,-5.8167330677290835e-21,-5.796812749003984e-21,-5.776892430278884e-21,-5.7569721115537844e-21,-5.737051792828685e-21,-5.717131474103585e-21,-5.697211155378486e-21,-5.6772908366533864e-21,-5.657370517928287e-21,-5.637450199203187e-21,-5.617529880478087e-21,-5.5976095617529876e-21,-5.577689243027888e-21,-5.557768924302788e-21,-5.537848605577689e-21,-5.5179282868525896e-21,-5.49800796812749e-21,-5.47808764940239e-21,-5.4581673306772905e-21,-5.438247011952191e-21,-5.418326693227091e-21,-5.3984063745019914e-21,-5.3784860557768925e-21,-5.358565737051793e-21,-5.338645418326693e-21,-5.318725099601593e-21,-5.298804780876494e-21,-5.278884462151394e-21,-5.258964143426294e-21,-5.2390438247011946e-21,-5.219123505976096e-21,-5.199203187250996e-21,-5.179282868525896e-21,-5.1593625498007965e-21,-5.139442231075697e-21,-5.119521912350597e-21,-5.0996015936254975e-21,-5.079681274900398e-21,-5.059760956175299e-21,-5.039840637450199e-21,-5.0199203187250994e-21,-5.0e-21,-4.9800796812749e-21,-4.9601593625498e-21,-4.940239043824701e-21,-4.920318725099602e-21,-4.900398406374502e-21,-4.880478087649402e-21,-4.8605577689243026e-21,-4.840637450199203e-21,-4.820717131474103e-21,-4.8007968127490035e-21,-4.780876494023904e-21,-4.760956175298805e-21,-4.741035856573705e-21,-4.7211155378486055e-21,-4.701195219123506e-21,-4.681274900398406e-21,-4.6613545816733064e-21,-4.641434262948207e-21,-4.621513944223107e-21,-4.601593625498008e-21,-4.581673306772908e-21,-4.561752988047809e-21,-4.541832669322709e-21,-4.521912350597609e-21,-4.5019920318725096e-21,-4.48207171314741e-21,-4.46215139442231e-21,-4.442231075697211e-21,-4.4223107569721115e-21,-4.402390438247012e-21,-4.382470119521912e-21,-4.3625498007968124e-21,-4.342629482071713e-21,-4.322709163346613e-21,-4.302788844621513e-21,-4.2828685258964144e-21,-4.262948207171315e-21,-4.243027888446215e-21,-4.223107569721115e-21,-4.203187250996016e-21,-4.183266932270916e-21,-4.163346613545816e-21,-4.1434262948207165e-21,-4.1235059760956176e-21,-4.103585657370518e-21,-4.083665338645418e-21,-4.0637450199203185e-21,-4.043824701195219e-21,-4.023904382470119e-21,-4.0039840637450194e-21,-3.9840637450199205e-21,-3.964143426294821e-21,-3.944223107569721e-21,-3.9243027888446214e-21,-3.904382470119522e-21,-3.884462151394422e-21,-3.864541832669322e-21,-3.8446215139442226e-21,-3.824701195219124e-21,-3.804780876494024e-21,-3.784860557768924e-21,-3.7649402390438246e-21,-3.745019920318725e-21,-3.725099601593625e-21,-3.7051792828685255e-21,-3.685258964143426e-21,-3.665338645418327e-21,-3.645418326693227e-21,-3.6254980079681274e-21,-3.605577689243028e-21,-3.585657370517928e-21,-3.565737051792828e-21,-3.545816733067729e-21,-3.525896414342629e-21,-3.50597609561753e-21,-3.48605577689243e-21,-3.466135458167331e-21,-3.446215139442231e-21,-3.426294820717131e-21,-3.4063745019920315e-21,-3.3864541832669322e-21,-3.3665338645418325e-21,-3.346613545816733e-21,-3.326693227091633e-21,-3.3067729083665338e-21,-3.286852589641434e-21,-3.2669322709163344e-21,-3.2470119521912347e-21,-3.2270916334661354e-21,-3.2071713147410357e-21,-3.187250996015936e-21,-3.1673306772908363e-21,-3.147410358565737e-21,-3.1274900398406373e-21,-3.1075697211155376e-21,-3.087649402390438e-21,-3.0677290836653386e-21,-3.047808764940239e-21,-3.027888446215139e-21,-3.0079681274900395e-21,-2.98804780876494e-21,-2.9681274900398405e-21,-2.9482071713147408e-21,-2.9282868525896415e-21,-2.9083665338645418e-21,-2.888446215139442e-21,-2.8685258964143424e-21,-2.848605577689243e-21,-2.8286852589641433e-21,-2.8087649402390437e-21,-2.788844621513944e-21,-2.7689243027888446e-21,-2.749003984063745e-21,-2.7290836653386452e-21,-2.7091633466135455e-21,-2.6892430278884462e-21,-2.6693227091633465e-21,-2.649402390438247e-21,-2.629482071713147e-21,-2.609561752988048e-21,-2.589641434262948e-21,-2.5697211155378484e-21,-2.5498007968127487e-21,-2.5298804780876494e-21,-2.5099601593625497e-21,-2.49003984063745e-21,-2.4701195219123503e-21,-2.450199203187251e-21,-2.4302788844621513e-21,-2.4103585657370516e-21,-2.390438247011952e-21,-2.3705179282868526e-21,-2.350597609561753e-21,-2.3306772908366532e-21,-2.3107569721115535e-21,-2.290836653386454e-21,-2.2709163346613545e-21,-2.2509960159362548e-21,-2.231075697211155e-21,-2.2111553784860558e-21,-2.191235059760956e-21,-2.1713147410358564e-21,-2.1513944223107567e-21,-2.1314741035856574e-21,-2.1115537848605577e-21,-2.091633466135458e-21,-2.0717131474103583e-21,-2.051792828685259e-21,-2.0318725099601593e-21,-2.0119521912350596e-21,-1.9920318725099602e-21,-1.9721115537848605e-21,-1.952191235059761e-21,-1.932270916334661e-21,-1.912350597609562e-21,-1.892430278884462e-21,-1.8725099601593624e-21,-1.8525896414342627e-21,-1.8326693227091634e-21,-1.8127490039840637e-21,-1.792828685258964e-21,-1.7729083665338643e-21,-1.752988047808765e-21,-1.7330677290836653e-21,-1.7131474103585656e-21,-1.6932270916334661e-21,-1.6733067729083664e-21,-1.6533864541832669e-21,-1.6334661354581672e-21,-1.6135458167330677e-21,-1.593625498007968e-21,-1.5737051792828685e-21,-1.5537848605577688e-21,-1.5338645418326693e-21,-1.5139442231075696e-21,-1.49402390438247e-21,-1.4741035856573704e-21,-1.4541832669322709e-21,-1.4342629482071712e-21,-1.4143426294820717e-21,-1.394422310756972e-21,-1.3745019920318725e-21,-1.3545816733067728e-21,-1.3346613545816733e-21,-1.3147410358565736e-21,-1.294820717131474e-21,-1.2749003984063744e-21,-1.2549800796812749e-21,-1.2350597609561752e-21,-1.2151394422310757e-21,-1.195219123505976e-21,-1.1752988047808764e-21,-1.1553784860557767e-21,-1.1354581673306772e-21,-1.1155378486055775e-21,-1.095617529880478e-21,-1.0756972111553783e-21,-1.0557768924302788e-21,-1.0358565737051791e-21,-1.0159362549800796e-21,-9.960159362549801e-22,-9.760956175298804e-22,-9.56175298804781e-22,-9.362549800796812e-22,-9.163346613545817e-22,-8.96414342629482e-22,-8.764940239043825e-22,-8.565737051792828e-22,-8.366533864541832e-22,-8.167330677290836e-22,-7.96812749003984e-22,-7.768924302788844e-22,-7.569721115537848e-22,-7.370517928286852e-22,-7.171314741035856e-22,-6.97211155378486e-22,-6.772908366533864e-22,-6.573705179282868e-22,-6.374501992031872e-22,-6.175298804780876e-22,-5.97609561752988e-22,-5.776892430278884e-22,-5.577689243027888e-22,-5.378486055776892e-22,-5.179282868525896e-22,-4.980079681274901e-22,-4.780876494023905e-22,-4.581673306772909e-22,-4.3824701195219125e-22,-4.183266932270916e-22,-3.98406374501992e-22,-3.784860557768924e-22,-3.585657370517928e-22,-3.386454183266932e-22,-3.187250996015936e-22,-2.98804780876494e-22,-2.788844621513944e-22,-2.589641434262948e-22,-2.3904382470119523e-22,-2.1912350597609563e-22,-1.99203187250996e-22,-1.792828685258964e-22,-1.593625498007968e-22,-1.394422310756972e-22,-1.1952191235059761e-22,-9.9601593625498e-23,-7.96812749003984e-23,-5.976095617529881e-23,-3.98406374501992e-23,-1.99203187250996e-23,0.0],"x":[0.0,-3.98406374501992e-22,-7.96812749003984e-22,-1.1952191235059761e-21,-1.593625498007968e-21,-1.9920318725099602e-21,-2.3904382470119523e-21,-2.7888446215139443e-21,-3.187250996015936e-21,-3.585657370517928e-21,-3.9840637450199205e-21,-4.382470119521912e-21,-4.7808764940239046e-21,-5.179282868525896e-21,-5.577689243027889e-21,-5.97609561752988e-21,-6.374501992031872e-21,-6.7729083665338644e-21,-7.171314741035856e-21,-7.569721115537849e-21,-7.968127490039841e-21,-8.366533864541832e-21,-8.764940239043824e-21,-9.163346613545817e-21,-9.561752988047809e-21,-9.9601593625498e-21,-1.0358565737051792e-20,-1.0756972111553785e-20,-1.1155378486055777e-20,-1.1553784860557768e-20,-1.195219123505976e-20,-1.2350597609561753e-20,-1.2749003984063744e-20,-1.3147410358565736e-20,-1.3545816733067729e-20,-1.394422310756972e-20,-1.4342629482071712e-20,-1.4741035856573706e-20,-1.5139442231075697e-20,-1.5537848605577688e-20,-1.5936254980079682e-20,-1.6334661354581673e-20,-1.6733067729083664e-20,-1.7131474103585658e-20,-1.752988047808765e-20,-1.792828685258964e-20,-1.8326693227091633e-20,-1.8725099601593624e-20,-1.9123505976095618e-20,-1.952191235059761e-20,-1.99203187250996e-20,-2.0318725099601594e-20,-2.0717131474103585e-20,-2.1115537848605576e-20,-2.151394422310757e-20,-2.191235059760956e-20,-2.2310756972111555e-20,-2.2709163346613546e-20,-2.3107569721115536e-20,-2.350597609561753e-20,-2.390438247011952e-20,-2.4302788844621512e-20,-2.4701195219123506e-20,-2.5099601593625497e-20,-2.5498007968127488e-20,-2.5896414342629482e-20,-2.6294820717131473e-20,-2.6693227091633467e-20,-2.7091633466135458e-20,-2.749003984063745e-20,-2.788844621513944e-20,-2.8286852589641433e-20,-2.8685258964143424e-20,-2.9083665338645415e-20,-2.948207171314741e-20,-2.9880478087649403e-20,-3.0278884462151394e-20,-3.0677290836653385e-20,-3.1075697211155376e-20,-3.1474103585657367e-20,-3.1872509960159364e-20,-3.2270916334661355e-20,-3.2669322709163346e-20,-3.3067729083665337e-20,-3.346613545816733e-20,-3.3864541832669324e-20,-3.4262948207171315e-20,-3.4661354581673306e-20,-3.50597609561753e-20,-3.545816733067729e-20,-3.585657370517928e-20,-3.6254980079681276e-20,-3.6653386454183267e-20,-3.705179282868526e-20,-3.745019920318725e-20,-3.784860557768924e-20,-3.8247011952191237e-20,-3.864541832669323e-20,-3.904382470119522e-20,-3.944223107569721e-20,-3.98406374501992e-20,-4.02390438247012e-20,-4.063745019920319e-20,-4.103585657370518e-20,-4.143426294820717e-20,-4.183266932270916e-20,-4.223107569721115e-20,-4.262948207171315e-20,-4.302788844621514e-20,-4.342629482071713e-20,-4.382470119521912e-20,-4.422310756972111e-20,-4.462151394422311e-20,-4.50199203187251e-20,-4.541832669322709e-20,-4.581673306772908e-20,-4.621513944223107e-20,-4.6613545816733064e-20,-4.701195219123506e-20,-4.741035856573705e-20,-4.780876494023904e-20,-4.8207171314741034e-20,-4.8605577689243025e-20,-4.900398406374502e-20,-4.940239043824701e-20,-4.9800796812749003e-20,-5.0199203187250994e-20,-5.0597609561752985e-20,-5.0996015936254976e-20,-5.139442231075697e-20,-5.1792828685258964e-20,-5.2191235059760955e-20,-5.2589641434262946e-20,-5.2988047808764937e-20,-5.3386454183266934e-20,-5.3784860557768925e-20,-5.4183266932270915e-20,-5.458167330677291e-20,-5.49800796812749e-20,-5.53784860557769e-20,-5.577689243027889e-20,-5.617529880478088e-20,-5.657370517928287e-20,-5.697211155378486e-20,-5.737051792828685e-20,-5.776892430278884e-20,-5.816733067729083e-20,-5.856573705179282e-20,-5.896414342629482e-20,-5.936254980079682e-20,-5.976095617529881e-20,-6.01593625498008e-20,-6.055776892430279e-20,-6.095617529880478e-20,-6.135458167330677e-20,-6.175298804780876e-20,-6.215139442231075e-20,-6.254980079681274e-20,-6.294820717131473e-20,-6.334661354581674e-20,-6.374501992031873e-20,-6.414342629482072e-20,-6.454183266932271e-20,-6.49402390438247e-20,-6.533864541832669e-20,-6.573705179282868e-20,-6.613545816733067e-20,-6.653386454183266e-20,-6.693227091633465e-20,-6.733067729083665e-20,-6.772908366533865e-20,-6.812749003984064e-20,-6.852589641434263e-20,-6.892430278884462e-20,-6.932270916334661e-20,-6.97211155378486e-20,-7.01195219123506e-20,-7.051792828685259e-20,-7.091633466135458e-20,-7.131474103585657e-20,-7.171314741035856e-20,-7.211155378486056e-20,-7.250996015936255e-20,-7.290836653386454e-20,-7.330677290836653e-20,-7.370517928286852e-20,-7.410358565737052e-20,-7.450199203187251e-20,-7.49003984063745e-20,-7.529880478087649e-20,-7.569721115537848e-20,-7.609561752988048e-20,-7.649402390438247e-20,-7.689243027888446e-20,-7.729083665338645e-20,-7.768924302788845e-20,-7.808764940239044e-20,-7.848605577689243e-20,-7.888446215139442e-20,-7.928286852589641e-20,-7.96812749003984e-20,-8.007968127490039e-20,-8.04780876494024e-20,-8.087649402390439e-20,-8.127490039840638e-20,-8.167330677290837e-20,-8.207171314741036e-20,-8.247011952191235e-20,-8.286852589641434e-20,-8.326693227091633e-20,-8.366533864541832e-20,-8.406374501992031e-20,-8.44621513944223e-20,-8.486055776892431e-20,-8.52589641434263e-20,-8.565737051792829e-20,-8.605577689243028e-20,-8.645418326693227e-20,-8.685258964143426e-20,-8.725099601593625e-20,-8.764940239043824e-20,-8.804780876494023e-20,-8.844621513944222e-20,-8.884462151394422e-20,-8.924302788844622e-20,-8.964143426294821e-20,-9.00398406374502e-20,-9.043824701195219e-20,-9.083665338645418e-20,-9.123505976095617e-20,-9.163346613545816e-20,-9.203187250996016e-20,-9.243027888446215e-20,-9.282868525896414e-20,-9.322709163346613e-20,-9.362549800796813e-20,-9.402390438247012e-20,-9.442231075697211e-20,-9.48207171314741e-20,-9.52191235059761e-20,-9.561752988047809e-20,-9.601593625498008e-20,-9.641434262948207e-20,-9.681274900398406e-20,-9.721115537848605e-20,-9.760956175298804e-20,-9.800796812749004e-20,-9.840637450199203e-20,-9.880478087649402e-20,-9.920318725099602e-20,-9.960159362549801e-20,-1.0e-19,-1.0039840637450199e-19,-1.0079681274900398e-19,-1.0119521912350597e-19,-1.0159362549800796e-19,-1.0199203187250995e-19,-1.0239043824701196e-19,-1.0278884462151395e-19,-1.0318725099601594e-19,-1.0358565737051793e-19,-1.0398406374501992e-19,-1.0438247011952191e-19,-1.047808764940239e-19,-1.0517928286852589e-19,-1.0557768924302788e-19,-1.0597609561752987e-19,-1.0637450199203186e-19,-1.0677290836653387e-19,-1.0717131474103586e-19,-1.0756972111553785e-19,-1.0796812749003984e-19,-1.0836653386454183e-19,-1.0876494023904382e-19,-1.0916334661354582e-19,-1.095617529880478e-19,-1.099601593625498e-19,-1.1035856573705179e-19,-1.107569721115538e-19,-1.1115537848605577e-19,-1.1155378486055777e-19,-1.1195219123505975e-19,-1.1235059760956175e-19,-1.1274900398406373e-19,-1.1314741035856573e-19,-1.1354581673306774e-19,-1.1394422310756972e-19,-1.1434262948207172e-19,-1.147410358565737e-19,-1.151394422310757e-19,-1.1553784860557768e-19,-1.1593625498007968e-19,-1.1633466135458166e-19,-1.1673306772908366e-19,-1.1713147410358564e-19,-1.1752988047808765e-19,-1.1792828685258965e-19,-1.1832669322709163e-19,-1.1872509960159363e-19,-1.191235059760956e-19,-1.1952191235059761e-19,-1.199203187250996e-19,-1.203187250996016e-19,-1.2071713147410357e-19,-1.2111553784860558e-19,-1.2151394422310756e-19,-1.2191235059760956e-19,-1.2231075697211156e-19,-1.2270916334661354e-19,-1.2310756972111554e-19,-1.2350597609561752e-19,-1.2390438247011952e-19,-1.243027888446215e-19,-1.247011952191235e-19,-1.2509960159362549e-19,-1.254980079681275e-19,-1.2589641434262947e-19,-1.2629482071713147e-19,-1.2669322709163347e-19,-1.2709163346613545e-19,-1.2749003984063746e-19,-1.2788844621513943e-19,-1.2828685258964144e-19,-1.2868525896414342e-19,-1.2908366533864542e-19,-1.294820717131474e-19,-1.298804780876494e-19,-1.3027888446215138e-19,-1.3067729083665338e-19,-1.3107569721115539e-19,-1.3147410358565736e-19,-1.3187250996015937e-19,-1.3227091633466135e-19,-1.3266932270916335e-19,-1.3306772908366533e-19,-1.3346613545816733e-19,-1.338645418326693e-19,-1.3426294820717131e-19,-1.346613545816733e-19,-1.350597609561753e-19,-1.354581673306773e-19,-1.3585657370517928e-19,-1.3625498007968128e-19,-1.3665338645418326e-19,-1.3705179282868526e-19,-1.3745019920318724e-19,-1.3784860557768924e-19,-1.3824701195219122e-19,-1.3864541832669323e-19,-1.390438247011952e-19,-1.394422310756972e-19,-1.398406374501992e-19,-1.402390438247012e-19,-1.406374501992032e-19,-1.4103585657370517e-19,-1.4143426294820717e-19,-1.4183266932270915e-19,-1.4223107569721116e-19,-1.4262948207171313e-19,-1.4302788844621514e-19,-1.4342629482071712e-19,-1.4382470119521912e-19,-1.4422310756972112e-19,-1.446215139442231e-19,-1.450199203187251e-19,-1.4541832669322708e-19,-1.4581673306772909e-19,-1.4621513944223106e-19,-1.4661354581673307e-19,-1.4701195219123505e-19,-1.4741035856573705e-19,-1.4780876494023903e-19,-1.4820717131474103e-19,-1.4860557768924303e-19,-1.4900398406374501e-19,-1.4940239043824702e-19,-1.49800796812749e-19,-1.50199203187251e-19,-1.5059760956175298e-19,-1.5099601593625498e-19,-1.5139442231075696e-19,-1.5179282868525896e-19,-1.5219123505976096e-19,-1.5258964143426294e-19,-1.5298804780876495e-19,-1.5338645418326693e-19,-1.5378486055776893e-19,-1.541832669322709e-19,-1.545816733067729e-19,-1.549800796812749e-19,-1.553784860557769e-19,-1.5577689243027887e-19,-1.5617529880478087e-19,-1.5657370517928288e-19,-1.5697211155378486e-19,-1.5737051792828686e-19,-1.5776892430278884e-19,-1.5816733067729084e-19,-1.5856573705179282e-19,-1.5896414342629482e-19,-1.593625498007968e-19,-1.597609561752988e-19,-1.6015936254980078e-19,-1.6055776892430279e-19,-1.609561752988048e-19,-1.6135458167330677e-19,-1.6175298804780877e-19,-1.6215139442231075e-19,-1.6254980079681275e-19,-1.6294820717131473e-19,-1.6334661354581673e-19,-1.6374501992031871e-19,-1.6414342629482072e-19,-1.645418326693227e-19,-1.649402390438247e-19,-1.653386454183267e-19,-1.6573705179282868e-19,-1.6613545816733068e-19,-1.6653386454183266e-19,-1.6693227091633466e-19,-1.6733067729083664e-19,-1.6772908366533865e-19,-1.6812749003984063e-19,-1.6852589641434263e-19,-1.689243027888446e-19,-1.693227091633466e-19,-1.6972111553784861e-19,-1.701195219123506e-19,-1.705179282868526e-19,-1.7091633466135457e-19,-1.7131474103585658e-19,-1.7171314741035856e-19,-1.7211155378486056e-19,-1.7250996015936254e-19,-1.7290836653386454e-19,-1.7330677290836652e-19,-1.7370517928286852e-19,-1.7410358565737053e-19,-1.745019920318725e-19,-1.749003984063745e-19,-1.7529880478087649e-19,-1.756972111553785e-19,-1.7609561752988047e-19,-1.7649402390438247e-19,-1.7689243027888445e-19,-1.7729083665338645e-19,-1.7768924302788843e-19,-1.7808764940239043e-19,-1.7848605577689244e-19,-1.7888446215139442e-19,-1.7928286852589642e-19,-1.796812749003984e-19,-1.800796812749004e-19,-1.8047808764940238e-19,-1.8087649402390438e-19,-1.8127490039840636e-19,-1.8167330677290836e-19,-1.8207171314741034e-19,-1.8247011952191235e-19,-1.8286852589641435e-19,-1.8326693227091633e-19,-1.8366533864541833e-19,-1.840637450199203e-19,-1.8446215139442231e-19,-1.848605577689243e-19,-1.852589641434263e-19,-1.8565737051792827e-19,-1.8605577689243028e-19,-1.8645418326693226e-19,-1.8685258964143426e-19,-1.8725099601593626e-19,-1.8764940239043824e-19,-1.8804780876494024e-19,-1.8844621513944222e-19,-1.8884462151394423e-19,-1.892430278884462e-19,-1.896414342629482e-19,-1.9003984063745019e-19,-1.904382470119522e-19,-1.9083665338645417e-19,-1.9123505976095617e-19,-1.9163346613545817e-19,-1.9203187250996015e-19,-1.9243027888446216e-19,-1.9282868525896413e-19,-1.9322709163346614e-19,-1.9362549800796812e-19,-1.9402390438247012e-19,-1.944223107569721e-19,-1.948207171314741e-19,-1.9521912350597608e-19,-1.9561752988047808e-19,-1.9601593625498009e-19,-1.9641434262948206e-19,-1.9681274900398407e-19,-1.9721115537848605e-19,-1.9760956175298805e-19,-1.9800796812749003e-19,-1.9840637450199203e-19,-1.98804780876494e-19,-1.9920318725099601e-19,-1.99601593625498e-19,-2.0e-19],"y":[1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,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_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json index 84597e40e5db..e88533708f19 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/fixtures/julia/tiny_positive.json @@ -1 +1 @@ -{"expected":[1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.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1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0],"p":[0.0,1.99203187250996e-23,3.98406374501992e-23,5.976095617529881e-23,7.96812749003984e-23,9.9601593625498e-23,1.1952191235059761e-22,1.394422310756972e-22,1.593625498007968e-22,1.792828685258964e-22,1.99203187250996e-22,2.1912350597609563e-22,2.3904382470119523e-22,2.589641434262948e-22,2.788844621513944e-22,2.98804780876494e-22,3.187250996015936e-22,3.386454183266932e-22,3.585657370517928e-22,3.784860557768924e-22,3.98406374501992e-22,4.183266932270916e-22,4.3824701195219125e-22,4.581673306772909e-22,4.780876494023905e-22,4.980079681274901e-22,5.179282868525896e-22,5.378486055776892e-22,5.577689243027888e-22,5.776892430278884e-22,5.97609561752988e-22,6.175298804780876e-22,6.374501992031872e-22,6.573705179282868e-22,6.772908366533864e-22,6.97211155378486e-22,7.171314741035856e-22,7.370517928286852e-22,7.569721115537848e-22,7.768924302788844e-22,7.96812749003984e-22,8.167330677290836e-22,8.366533864541832e-22,8.565737051792828e-22,8.764940239043825e-22,8.96414342629482e-22,9.163346613545817e-22,9.362549800796812e-22,9.56175298804781e-22,9.760956175298804e-22,9.960159362549801e-22,1.0159362549800796e-21,1.0358565737051791e-21,1.0557768924302788e-21,1.0756972111553783e-21,1.095617529880478e-21,1.1155378486055775e-21,1.1354581673306772e-21,1.1553784860557767e-21,1.1752988047808764e-21,1.195219123505976e-21,1.2151394422310757e-21,1.2350597609561752e-21,1.2549800796812749e-21,1.2749003984063744e-21,1.294820717131474e-21,1.3147410358565736e-21,1.3346613545816733e-21,1.3545816733067728e-21,1.3745019920318725e-21,1.394422310756972e-21,1.4143426294820717e-21,1.4342629482071712e-21,1.4541832669322709e-21,1.4741035856573704e-21,1.49402390438247e-21,1.5139442231075696e-21,1.5338645418326693e-21,1.5537848605577688e-21,1.5737051792828685e-21,1.593625498007968e-21,1.6135458167330677e-21,1.6334661354581672e-21,1.6533864541832669e-21,1.6733067729083664e-21,1.6932270916334661e-21,1.7131474103585656e-21,1.7330677290836653e-21,1.752988047808765e-21,1.7729083665338643e-21,1.792828685258964e-21,1.8127490039840637e-21,1.8326693227091634e-21,1.8525896414342627e-21,1.8725099601593624e-21,1.892430278884462e-21,1.912350597609562e-21,1.932270916334661e-21,1.952191235059761e-21,1.9721115537848605e-21,1.9920318725099602e-21,2.0119521912350596e-21,2.0318725099601593e-21,2.051792828685259e-21,2.0717131474103583e-21,2.091633466135458e-21,2.1115537848605577e-21,2.1314741035856574e-21,2.1513944223107567e-21,2.1713147410358564e-21,2.191235059760956e-21,2.2111553784860558e-21,2.231075697211155e-21,2.2509960159362548e-21,2.2709163346613545e-21,2.290836653386454e-21,2.3107569721115535e-21,2.3306772908366532e-21,2.350597609561753e-21,2.3705179282868526e-21,2.390438247011952e-21,2.4103585657370516e-21,2.4302788844621513e-21,2.450199203187251e-21,2.4701195219123503e-21,2.49003984063745e-21,2.5099601593625497e-21,2.5298804780876494e-21,2.5498007968127487e-21,2.5697211155378484e-21,2.589641434262948e-21,2.609561752988048e-21,2.629482071713147e-21,2.649402390438247e-21,2.6693227091633465e-21,2.6892430278884462e-21,2.7091633466135455e-21,2.7290836653386452e-21,2.749003984063745e-21,2.7689243027888446e-21,2.788844621513944e-21,2.8087649402390437e-21,2.8286852589641433e-21,2.848605577689243e-21,2.8685258964143424e-21,2.888446215139442e-21,2.9083665338645418e-21,2.9282868525896415e-21,2.9482071713147408e-21,2.9681274900398405e-21,2.98804780876494e-21,3.0079681274900395e-21,3.027888446215139e-21,3.047808764940239e-21,3.0677290836653386e-21,3.087649402390438e-21,3.1075697211155376e-21,3.1274900398406373e-21,3.147410358565737e-21,3.1673306772908363e-21,3.187250996015936e-21,3.2071713147410357e-21,3.2270916334661354e-21,3.2470119521912347e-21,3.2669322709163344e-21,3.286852589641434e-21,3.3067729083665338e-21,3.326693227091633e-21,3.346613545816733e-21,3.3665338645418325e-21,3.3864541832669322e-21,3.4063745019920315e-21,3.426294820717131e-21,3.446215139442231e-21,3.466135458167331e-21,3.48605577689243e-21,3.50597609561753e-21,3.525896414342629e-21,3.545816733067729e-21,3.565737051792828e-21,3.585657370517928e-21,3.605577689243028e-21,3.6254980079681274e-21,3.645418326693227e-21,3.665338645418327e-21,3.685258964143426e-21,3.7051792828685255e-21,3.725099601593625e-21,3.745019920318725e-21,3.7649402390438246e-21,3.784860557768924e-21,3.804780876494024e-21,3.824701195219124e-21,3.8446215139442226e-21,3.864541832669322e-21,3.884462151394422e-21,3.904382470119522e-21,3.9243027888446214e-21,3.944223107569721e-21,3.964143426294821e-21,3.9840637450199205e-21,4.0039840637450194e-21,4.023904382470119e-21,4.043824701195219e-21,4.0637450199203185e-21,4.083665338645418e-21,4.103585657370518e-21,4.1235059760956176e-21,4.1434262948207165e-21,4.163346613545816e-21,4.183266932270916e-21,4.203187250996016e-21,4.223107569721115e-21,4.243027888446215e-21,4.262948207171315e-21,4.2828685258964144e-21,4.302788844621513e-21,4.322709163346613e-21,4.342629482071713e-21,4.3625498007968124e-21,4.382470119521912e-21,4.402390438247012e-21,4.4223107569721115e-21,4.442231075697211e-21,4.46215139442231e-21,4.48207171314741e-21,4.5019920318725096e-21,4.521912350597609e-21,4.541832669322709e-21,4.561752988047809e-21,4.581673306772908e-21,4.601593625498008e-21,4.621513944223107e-21,4.641434262948207e-21,4.6613545816733064e-21,4.681274900398406e-21,4.701195219123506e-21,4.7211155378486055e-21,4.741035856573705e-21,4.760956175298805e-21,4.780876494023904e-21,4.8007968127490035e-21,4.820717131474103e-21,4.840637450199203e-21,4.8605577689243026e-21,4.880478087649402e-21,4.900398406374502e-21,4.920318725099602e-21,4.940239043824701e-21,4.9601593625498e-21,4.9800796812749e-21,5.0e-21,5.0199203187250994e-21,5.039840637450199e-21,5.059760956175299e-21,5.079681274900398e-21,5.0996015936254975e-21,5.119521912350597e-21,5.139442231075697e-21,5.1593625498007965e-21,5.179282868525896e-21,5.199203187250996e-21,5.219123505976096e-21,5.2390438247011946e-21,5.258964143426294e-21,5.278884462151394e-21,5.298804780876494e-21,5.318725099601593e-21,5.338645418326693e-21,5.358565737051793e-21,5.3784860557768925e-21,5.3984063745019914e-21,5.418326693227091e-21,5.438247011952191e-21,5.4581673306772905e-21,5.47808764940239e-21,5.49800796812749e-21,5.5179282868525896e-21,5.537848605577689e-21,5.557768924302788e-21,5.577689243027888e-21,5.5976095617529876e-21,5.617529880478087e-21,5.637450199203187e-21,5.657370517928287e-21,5.6772908366533864e-21,5.697211155378486e-21,5.717131474103585e-21,5.737051792828685e-21,5.7569721115537844e-21,5.776892430278884e-21,5.796812749003984e-21,5.8167330677290835e-21,5.836653386454183e-21,5.856573705179283e-21,5.876494023904382e-21,5.8964143426294816e-21,5.916334661354581e-21,5.936254980079681e-21,5.956175298804781e-21,5.97609561752988e-21,5.99601593625498e-21,6.015936254980079e-21,6.035856573705179e-21,6.055776892430278e-21,6.075697211155378e-21,6.095617529880478e-21,6.1155378486055775e-21,6.135458167330677e-21,6.155378486055777e-21,6.175298804780876e-21,6.1952191235059755e-21,6.215139442231075e-21,6.235059760956175e-21,6.2549800796812746e-21,6.274900398406374e-21,6.294820717131474e-21,6.314741035856574e-21,6.3346613545816726e-21,6.354581673306772e-21,6.374501992031872e-21,6.394422310756972e-21,6.4143426294820714e-21,6.434262948207171e-21,6.454183266932271e-21,6.4741035856573705e-21,6.4940239043824694e-21,6.513944223107569e-21,6.533864541832669e-21,6.5537848605577685e-21,6.573705179282868e-21,6.593625498007968e-21,6.6135458167330676e-21,6.633466135458167e-21,6.653386454183266e-21,6.673306772908366e-21,6.693227091633466e-21,6.713147410358565e-21,6.733067729083665e-21,6.752988047808765e-21,6.7729083665338644e-21,6.792828685258964e-21,6.812749003984063e-21,6.832669322709164e-21,6.852589641434262e-21,6.872509960159363e-21,6.892430278884462e-21,6.912350597609561e-21,6.932270916334661e-21,6.95219123505976e-21,6.97211155378486e-21,6.99203187250996e-21,7.01195219123506e-21,7.031872509960159e-21,7.051792828685258e-21,7.071713147410358e-21,7.091633466135457e-21,7.111553784860558e-21,7.131474103585657e-21,7.151394422310757e-21,7.171314741035856e-21,7.191235059760955e-21,7.211155378486055e-21,7.231075697211154e-21,7.250996015936255e-21,7.270916334661354e-21,7.290836653386454e-21,7.310756972111553e-21,7.330677290836654e-21,7.350597609561753e-21,7.370517928286852e-21,7.390438247011952e-21,7.410358565737051e-21,7.430278884462151e-21,7.45019920318725e-21,7.470119521912351e-21,7.49003984063745e-21,7.509960159362549e-21,7.529880478087649e-21,7.549800796812748e-21,7.569721115537849e-21,7.589641434262947e-21,7.609561752988048e-21,7.629482071713147e-21,7.649402390438247e-21,7.669322709163346e-21,7.689243027888445e-21,7.709163346613546e-21,7.729083665338645e-21,7.749003984063745e-21,7.768924302788844e-21,7.788844621513944e-21,7.808764940239043e-21,7.828685258964142e-21,7.848605577689243e-21,7.868525896414342e-21,7.888446215139442e-21,7.908366533864541e-21,7.928286852589642e-21,7.94820717131474e-21,7.968127490039841e-21,7.98804780876494e-21,8.007968127490039e-21,8.02788844621514e-21,8.047808764940238e-21,8.067729083665339e-21,8.087649402390438e-21,8.107569721115538e-21,8.127490039840637e-21,8.147410358565736e-21,8.167330677290836e-21,8.187250996015935e-21,8.207171314741036e-21,8.227091633466135e-21,8.247011952191235e-21,8.266932270916334e-21,8.286852589641433e-21,8.306772908366534e-21,8.326693227091632e-21,8.346613545816733e-21,8.366533864541832e-21,8.386454183266932e-21,8.406374501992031e-21,8.426294820717132e-21,8.44621513944223e-21,8.46613545816733e-21,8.48605577689243e-21,8.505976095617529e-21,8.52589641434263e-21,8.545816733067728e-21,8.565737051792829e-21,8.585657370517928e-21,8.605577689243027e-21,8.625498007968127e-21,8.645418326693226e-21,8.665338645418327e-21,8.685258964143426e-21,8.705179282868526e-21,8.725099601593625e-21,8.745019920318725e-21,8.764940239043824e-21,8.784860557768923e-21,8.804780876494024e-21,8.824701195219123e-21,8.844621513944223e-21,8.864541832669322e-21,8.884462151394422e-21,8.904382470119521e-21,8.92430278884462e-21,8.944223107569721e-21,8.96414342629482e-21,8.98406374501992e-21,9.003984063745019e-21,9.02390438247012e-21,9.043824701195219e-21,9.063745019920317e-21,9.083665338645418e-21,9.103585657370517e-21,9.123505976095617e-21,9.143426294820716e-21,9.163346613545817e-21,9.183266932270916e-21,9.203187250996016e-21,9.223107569721115e-21,9.243027888446214e-21,9.262948207171314e-21,9.282868525896413e-21,9.302788844621514e-21,9.322709163346613e-21,9.342629482071713e-21,9.362549800796812e-21,9.382470119521911e-21,9.402390438247012e-21,9.42231075697211e-21,9.442231075697211e-21,9.46215139442231e-21,9.48207171314741e-21,9.50199203187251e-21,9.52191235059761e-21,9.541832669322709e-21,9.561752988047808e-21,9.581673306772908e-21,9.601593625498007e-21,9.621513944223107e-21,9.641434262948206e-21,9.661354581673307e-21,9.681274900398406e-21,9.701195219123505e-21,9.721115537848605e-21,9.741035856573704e-21,9.760956175298805e-21,9.780876494023904e-21,9.800796812749004e-21,9.820717131474103e-21,9.840637450199203e-21,9.860557768924302e-21,9.880478087649401e-21,9.900398406374502e-21,9.9203187250996e-21,9.940239043824701e-21,9.9601593625498e-21,9.9800796812749e-21,1.0e-20],"y":[-1.0,-1.0,1.0,1.0,-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1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0]} +{"expected":[0.0,-3.98406374501992e-22,7.96812749003984e-22,1.1952191235059761e-21,-1.593625498007968e-21,-1.9920318725099602e-21,-2.3904382470119523e-21,-2.7888446215139443e-21,3.187250996015936e-21,3.585657370517928e-21,-3.9840637450199205e-21,4.382470119521912e-21,4.7808764940239046e-21,-5.179282868525896e-21,-5.577689243027889e-21,-5.97609561752988e-21,6.374501992031872e-21,6.7729083665338644e-21,-7.171314741035856e-21,-7.569721115537849e-21,7.968127490039841e-21,8.366533864541832e-21,-8.764940239043824e-21,-9.163346613545817e-21,-9.561752988047809e-21,9.9601593625498e-21,1.0358565737051792e-20,-1.0756972111553785e-20,-1.1155378486055777e-20,1.1553784860557768e-20,-1.195219123505976e-20,1.2350597609561753e-20,-1.2749003984063744e-20,1.3147410358565736e-20,1.3545816733067729e-20,-1.394422310756972e-20,1.4342629482071712e-20,1.4741035856573706e-20,-1.5139442231075697e-20,1.5537848605577688e-20,1.5936254980079682e-20,-1.6334661354581673e-20,1.6733067729083664e-20,1.7131474103585658e-20,-1.752988047808765e-20,1.792828685258964e-20,-1.8326693227091633e-20,1.8725099601593624e-20,-1.9123505976095618e-20,-1.952191235059761e-20,1.99203187250996e-20,-2.0318725099601594e-20,-2.0717131474103585e-20,2.1115537848605576e-20,-2.151394422310757e-20,2.191235059760956e-20,-2.2310756972111555e-20,-2.2709163346613546e-20,2.3107569721115536e-20,2.350597609561753e-20,2.390438247011952e-20,-2.4302788844621512e-20,-2.4701195219123506e-20,2.5099601593625497e-20,2.5498007968127488e-20,-2.5896414342629482e-20,-2.6294820717131473e-20,2.6693227091633467e-20,-2.7091633466135458e-20,-2.749003984063745e-20,2.788844621513944e-20,2.8286852589641433e-20,2.8685258964143424e-20,2.9083665338645415e-20,-2.948207171314741e-20,-2.9880478087649403e-20,3.0278884462151394e-20,-3.0677290836653385e-20,-3.1075697211155376e-20,-3.1474103585657367e-20,3.1872509960159364e-20,3.2270916334661355e-20,-3.2669322709163346e-20,3.3067729083665337e-20,3.346613545816733e-20,-3.3864541832669324e-20,3.4262948207171315e-20,-3.4661354581673306e-20,3.50597609561753e-20,-3.545816733067729e-20,3.585657370517928e-20,-3.6254980079681276e-20,-3.6653386454183267e-20,-3.705179282868526e-20,3.745019920318725e-20,3.784860557768924e-20,-3.8247011952191237e-20,-3.864541832669323e-20,3.904382470119522e-20,3.944223107569721e-20,3.98406374501992e-20,-4.02390438247012e-20,-4.063745019920319e-20,4.103585657370518e-20,4.143426294820717e-20,-4.183266932270916e-20,-4.223107569721115e-20,4.262948207171315e-20,-4.302788844621514e-20,-4.342629482071713e-20,-4.382470119521912e-20,4.422310756972111e-20,-4.462151394422311e-20,-4.50199203187251e-20,4.541832669322709e-20,-4.581673306772908e-20,4.621513944223107e-20,4.6613545816733064e-20,-4.701195219123506e-20,4.741035856573705e-20,-4.780876494023904e-20,-4.8207171314741034e-20,4.8605577689243025e-20,-4.900398406374502e-20,-4.940239043824701e-20,-4.9800796812749003e-20,5.0199203187250994e-20,5.0597609561752985e-20,-5.0996015936254976e-20,-5.139442231075697e-20,5.1792828685258964e-20,5.2191235059760955e-20,-5.2589641434262946e-20,5.2988047808764937e-20,-5.3386454183266934e-20,-5.3784860557768925e-20,-5.4183266932270915e-20,5.458167330677291e-20,5.49800796812749e-20,-5.53784860557769e-20,5.577689243027889e-20,-5.617529880478088e-20,5.657370517928287e-20,5.697211155378486e-20,5.737051792828685e-20,-5.776892430278884e-20,-5.816733067729083e-20,-5.856573705179282e-20,-5.896414342629482e-20,5.936254980079682e-20,5.976095617529881e-20,-6.01593625498008e-20,-6.055776892430279e-20,-6.095617529880478e-20,6.135458167330677e-20,-6.175298804780876e-20,-6.215139442231075e-20,6.254980079681274e-20,6.294820717131473e-20,6.334661354581674e-20,-6.374501992031873e-20,6.414342629482072e-20,6.454183266932271e-20,6.49402390438247e-20,6.533864541832669e-20,-6.573705179282868e-20,6.613545816733067e-20,-6.653386454183266e-20,-6.693227091633465e-20,6.733067729083665e-20,6.772908366533865e-20,6.812749003984064e-20,-6.852589641434263e-20,-6.892430278884462e-20,6.932270916334661e-20,-6.97211155378486e-20,-7.01195219123506e-20,-7.051792828685259e-20,-7.091633466135458e-20,-7.131474103585657e-20,-7.171314741035856e-20,7.211155378486056e-20,-7.250996015936255e-20,7.290836653386454e-20,7.330677290836653e-20,-7.370517928286852e-20,7.410358565737052e-20,7.450199203187251e-20,7.49003984063745e-20,7.529880478087649e-20,7.569721115537848e-20,-7.609561752988048e-20,-7.649402390438247e-20,-7.689243027888446e-20,-7.729083665338645e-20,7.768924302788845e-20,-7.808764940239044e-20,7.848605577689243e-20,-7.888446215139442e-20,7.928286852589641e-20,-7.96812749003984e-20,8.007968127490039e-20,8.04780876494024e-20,-8.087649402390439e-20,8.127490039840638e-20,8.167330677290837e-20,-8.207171314741036e-20,-8.247011952191235e-20,-8.286852589641434e-20,-8.326693227091633e-20,8.366533864541832e-20,8.406374501992031e-20,-8.44621513944223e-20,-8.486055776892431e-20,8.52589641434263e-20,8.565737051792829e-20,8.605577689243028e-20,8.645418326693227e-20,-8.685258964143426e-20,-8.725099601593625e-20,8.764940239043824e-20,-8.804780876494023e-20,-8.844621513944222e-20,-8.884462151394422e-20,-8.924302788844622e-20,8.964143426294821e-20,-9.00398406374502e-20,9.043824701195219e-20,9.083665338645418e-20,-9.123505976095617e-20,9.163346613545816e-20,9.203187250996016e-20,9.243027888446215e-20,9.282868525896414e-20,-9.322709163346613e-20,9.362549800796813e-20,-9.402390438247012e-20,-9.442231075697211e-20,-9.48207171314741e-20,-9.52191235059761e-20,-9.561752988047809e-20,-9.601593625498008e-20,-9.641434262948207e-20,9.681274900398406e-20,-9.721115537848605e-20,9.760956175298804e-20,9.800796812749004e-20,9.840637450199203e-20,-9.880478087649402e-20,-9.920318725099602e-20,-9.960159362549801e-20,1.0e-19,1.0039840637450199e-19,1.0079681274900398e-19,1.0119521912350597e-19,1.0159362549800796e-19,1.0199203187250995e-19,1.0239043824701196e-19,-1.0278884462151395e-19,-1.0318725099601594e-19,-1.0358565737051793e-19,1.0398406374501992e-19,1.0438247011952191e-19,1.047808764940239e-19,1.0517928286852589e-19,1.0557768924302788e-19,1.0597609561752987e-19,1.0637450199203186e-19,-1.0677290836653387e-19,1.0717131474103586e-19,-1.0756972111553785e-19,-1.0796812749003984e-19,1.0836653386454183e-19,1.0876494023904382e-19,-1.0916334661354582e-19,-1.095617529880478e-19,-1.099601593625498e-19,-1.1035856573705179e-19,-1.107569721115538e-19,1.1115537848605577e-19,-1.1155378486055777e-19,1.1195219123505975e-19,1.1235059760956175e-19,-1.1274900398406373e-19,-1.1314741035856573e-19,1.1354581673306774e-19,1.1394422310756972e-19,-1.1434262948207172e-19,1.147410358565737e-19,1.151394422310757e-19,1.1553784860557768e-19,1.1593625498007968e-19,-1.1633466135458166e-19,1.1673306772908366e-19,1.1713147410358564e-19,1.1752988047808765e-19,1.1792828685258965e-19,-1.1832669322709163e-19,1.1872509960159363e-19,-1.191235059760956e-19,-1.1952191235059761e-19,1.199203187250996e-19,-1.203187250996016e-19,-1.2071713147410357e-19,-1.2111553784860558e-19,1.2151394422310756e-19,1.2191235059760956e-19,1.2231075697211156e-19,1.2270916334661354e-19,1.2310756972111554e-19,1.2350597609561752e-19,1.2390438247011952e-19,-1.243027888446215e-19,-1.247011952191235e-19,-1.2509960159362549e-19,-1.254980079681275e-19,-1.2589641434262947e-19,1.2629482071713147e-19,1.2669322709163347e-19,1.2709163346613545e-19,-1.2749003984063746e-19,-1.2788844621513943e-19,-1.2828685258964144e-19,-1.2868525896414342e-19,-1.2908366533864542e-19,1.294820717131474e-19,1.298804780876494e-19,1.3027888446215138e-19,1.3067729083665338e-19,-1.3107569721115539e-19,1.3147410358565736e-19,-1.3187250996015937e-19,1.3227091633466135e-19,-1.3266932270916335e-19,1.3306772908366533e-19,1.3346613545816733e-19,-1.338645418326693e-19,1.3426294820717131e-19,1.346613545816733e-19,-1.350597609561753e-19,-1.354581673306773e-19,-1.3585657370517928e-19,1.3625498007968128e-19,1.3665338645418326e-19,1.3705179282868526e-19,-1.3745019920318724e-19,-1.3784860557768924e-19,-1.3824701195219122e-19,-1.3864541832669323e-19,-1.390438247011952e-19,-1.394422310756972e-19,-1.398406374501992e-19,-1.402390438247012e-19,-1.406374501992032e-19,-1.4103585657370517e-19,-1.4143426294820717e-19,-1.4183266932270915e-19,-1.4223107569721116e-19,-1.4262948207171313e-19,1.4302788844621514e-19,1.4342629482071712e-19,1.4382470119521912e-19,1.4422310756972112e-19,1.446215139442231e-19,1.450199203187251e-19,1.4541832669322708e-19,1.4581673306772909e-19,1.4621513944223106e-19,1.4661354581673307e-19,1.4701195219123505e-19,1.4741035856573705e-19,1.4780876494023903e-19,1.4820717131474103e-19,1.4860557768924303e-19,1.4900398406374501e-19,-1.4940239043824702e-19,-1.49800796812749e-19,1.50199203187251e-19,-1.5059760956175298e-19,-1.5099601593625498e-19,-1.5139442231075696e-19,1.5179282868525896e-19,-1.5219123505976096e-19,1.5258964143426294e-19,1.5298804780876495e-19,1.5338645418326693e-19,-1.5378486055776893e-19,1.541832669322709e-19,1.545816733067729e-19,1.549800796812749e-19,-1.553784860557769e-19,-1.5577689243027887e-19,1.5617529880478087e-19,-1.5657370517928288e-19,1.5697211155378486e-19,-1.5737051792828686e-19,1.5776892430278884e-19,-1.5816733067729084e-19,1.5856573705179282e-19,-1.5896414342629482e-19,-1.593625498007968e-19,-1.597609561752988e-19,-1.6015936254980078e-19,1.6055776892430279e-19,-1.609561752988048e-19,-1.6135458167330677e-19,1.6175298804780877e-19,1.6215139442231075e-19,-1.6254980079681275e-19,1.6294820717131473e-19,-1.6334661354581673e-19,1.6374501992031871e-19,1.6414342629482072e-19,-1.645418326693227e-19,-1.649402390438247e-19,-1.653386454183267e-19,1.6573705179282868e-19,1.6613545816733068e-19,1.6653386454183266e-19,-1.6693227091633466e-19,1.6733067729083664e-19,1.6772908366533865e-19,-1.6812749003984063e-19,-1.6852589641434263e-19,-1.689243027888446e-19,-1.693227091633466e-19,-1.6972111553784861e-19,-1.701195219123506e-19,1.705179282868526e-19,-1.7091633466135457e-19,1.7131474103585658e-19,-1.7171314741035856e-19,1.7211155378486056e-19,1.7250996015936254e-19,1.7290836653386454e-19,1.7330677290836652e-19,-1.7370517928286852e-19,1.7410358565737053e-19,1.745019920318725e-19,1.749003984063745e-19,-1.7529880478087649e-19,-1.756972111553785e-19,1.7609561752988047e-19,1.7649402390438247e-19,-1.7689243027888445e-19,1.7729083665338645e-19,1.7768924302788843e-19,-1.7808764940239043e-19,1.7848605577689244e-19,-1.7888446215139442e-19,-1.7928286852589642e-19,1.796812749003984e-19,1.800796812749004e-19,-1.8047808764940238e-19,1.8087649402390438e-19,-1.8127490039840636e-19,-1.8167330677290836e-19,-1.8207171314741034e-19,-1.8247011952191235e-19,-1.8286852589641435e-19,-1.8326693227091633e-19,-1.8366533864541833e-19,1.840637450199203e-19,1.8446215139442231e-19,1.848605577689243e-19,1.852589641434263e-19,-1.8565737051792827e-19,1.8605577689243028e-19,-1.8645418326693226e-19,1.8685258964143426e-19,1.8725099601593626e-19,-1.8764940239043824e-19,1.8804780876494024e-19,1.8844621513944222e-19,-1.8884462151394423e-19,-1.892430278884462e-19,1.896414342629482e-19,-1.9003984063745019e-19,-1.904382470119522e-19,1.9083665338645417e-19,1.9123505976095617e-19,1.9163346613545817e-19,1.9203187250996015e-19,-1.9243027888446216e-19,1.9282868525896413e-19,-1.9322709163346614e-19,1.9362549800796812e-19,-1.9402390438247012e-19,-1.944223107569721e-19,-1.948207171314741e-19,1.9521912350597608e-19,1.9561752988047808e-19,-1.9601593625498009e-19,1.9641434262948206e-19,-1.9681274900398407e-19,-1.9721115537848605e-19,1.9760956175298805e-19,1.9800796812749003e-19,1.9840637450199203e-19,-1.98804780876494e-19,-1.9920318725099601e-19,-1.99601593625498e-19,2.0e-19],"p":[0.0,1.99203187250996e-23,3.98406374501992e-23,5.976095617529881e-23,7.96812749003984e-23,9.9601593625498e-23,1.1952191235059761e-22,1.394422310756972e-22,1.593625498007968e-22,1.792828685258964e-22,1.99203187250996e-22,2.1912350597609563e-22,2.3904382470119523e-22,2.589641434262948e-22,2.788844621513944e-22,2.98804780876494e-22,3.187250996015936e-22,3.386454183266932e-22,3.585657370517928e-22,3.784860557768924e-22,3.98406374501992e-22,4.183266932270916e-22,4.3824701195219125e-22,4.581673306772909e-22,4.780876494023905e-22,4.980079681274901e-22,5.179282868525896e-22,5.378486055776892e-22,5.577689243027888e-22,5.776892430278884e-22,5.97609561752988e-22,6.175298804780876e-22,6.374501992031872e-22,6.573705179282868e-22,6.772908366533864e-22,6.97211155378486e-22,7.171314741035856e-22,7.370517928286852e-22,7.569721115537848e-22,7.768924302788844e-22,7.96812749003984e-22,8.167330677290836e-22,8.366533864541832e-22,8.565737051792828e-22,8.764940239043825e-22,8.96414342629482e-22,9.163346613545817e-22,9.362549800796812e-22,9.56175298804781e-22,9.760956175298804e-22,9.960159362549801e-22,1.0159362549800796e-21,1.0358565737051791e-21,1.0557768924302788e-21,1.0756972111553783e-21,1.095617529880478e-21,1.1155378486055775e-21,1.1354581673306772e-21,1.1553784860557767e-21,1.1752988047808764e-21,1.195219123505976e-21,1.2151394422310757e-21,1.2350597609561752e-21,1.2549800796812749e-21,1.2749003984063744e-21,1.294820717131474e-21,1.3147410358565736e-21,1.3346613545816733e-21,1.3545816733067728e-21,1.3745019920318725e-21,1.394422310756972e-21,1.4143426294820717e-21,1.4342629482071712e-21,1.4541832669322709e-21,1.4741035856573704e-21,1.49402390438247e-21,1.5139442231075696e-21,1.5338645418326693e-21,1.5537848605577688e-21,1.5737051792828685e-21,1.593625498007968e-21,1.6135458167330677e-21,1.6334661354581672e-21,1.6533864541832669e-21,1.6733067729083664e-21,1.6932270916334661e-21,1.7131474103585656e-21,1.7330677290836653e-21,1.752988047808765e-21,1.7729083665338643e-21,1.792828685258964e-21,1.8127490039840637e-21,1.8326693227091634e-21,1.8525896414342627e-21,1.8725099601593624e-21,1.892430278884462e-21,1.912350597609562e-21,1.932270916334661e-21,1.952191235059761e-21,1.9721115537848605e-21,1.9920318725099602e-21,2.0119521912350596e-21,2.0318725099601593e-21,2.051792828685259e-21,2.0717131474103583e-21,2.091633466135458e-21,2.1115537848605577e-21,2.1314741035856574e-21,2.1513944223107567e-21,2.1713147410358564e-21,2.191235059760956e-21,2.2111553784860558e-21,2.231075697211155e-21,2.2509960159362548e-21,2.2709163346613545e-21,2.290836653386454e-21,2.3107569721115535e-21,2.3306772908366532e-21,2.350597609561753e-21,2.3705179282868526e-21,2.390438247011952e-21,2.4103585657370516e-21,2.4302788844621513e-21,2.450199203187251e-21,2.4701195219123503e-21,2.49003984063745e-21,2.5099601593625497e-21,2.5298804780876494e-21,2.5498007968127487e-21,2.5697211155378484e-21,2.589641434262948e-21,2.609561752988048e-21,2.629482071713147e-21,2.649402390438247e-21,2.6693227091633465e-21,2.6892430278884462e-21,2.7091633466135455e-21,2.7290836653386452e-21,2.749003984063745e-21,2.7689243027888446e-21,2.788844621513944e-21,2.8087649402390437e-21,2.8286852589641433e-21,2.848605577689243e-21,2.8685258964143424e-21,2.888446215139442e-21,2.9083665338645418e-21,2.9282868525896415e-21,2.9482071713147408e-21,2.9681274900398405e-21,2.98804780876494e-21,3.0079681274900395e-21,3.027888446215139e-21,3.047808764940239e-21,3.0677290836653386e-21,3.087649402390438e-21,3.1075697211155376e-21,3.1274900398406373e-21,3.147410358565737e-21,3.1673306772908363e-21,3.187250996015936e-21,3.2071713147410357e-21,3.2270916334661354e-21,3.2470119521912347e-21,3.2669322709163344e-21,3.286852589641434e-21,3.3067729083665338e-21,3.326693227091633e-21,3.346613545816733e-21,3.3665338645418325e-21,3.3864541832669322e-21,3.4063745019920315e-21,3.426294820717131e-21,3.446215139442231e-21,3.466135458167331e-21,3.48605577689243e-21,3.50597609561753e-21,3.525896414342629e-21,3.545816733067729e-21,3.565737051792828e-21,3.585657370517928e-21,3.605577689243028e-21,3.6254980079681274e-21,3.645418326693227e-21,3.665338645418327e-21,3.685258964143426e-21,3.7051792828685255e-21,3.725099601593625e-21,3.745019920318725e-21,3.7649402390438246e-21,3.784860557768924e-21,3.804780876494024e-21,3.824701195219124e-21,3.8446215139442226e-21,3.864541832669322e-21,3.884462151394422e-21,3.904382470119522e-21,3.9243027888446214e-21,3.944223107569721e-21,3.964143426294821e-21,3.9840637450199205e-21,4.0039840637450194e-21,4.023904382470119e-21,4.043824701195219e-21,4.0637450199203185e-21,4.083665338645418e-21,4.103585657370518e-21,4.1235059760956176e-21,4.1434262948207165e-21,4.163346613545816e-21,4.183266932270916e-21,4.203187250996016e-21,4.223107569721115e-21,4.243027888446215e-21,4.262948207171315e-21,4.2828685258964144e-21,4.302788844621513e-21,4.322709163346613e-21,4.342629482071713e-21,4.3625498007968124e-21,4.382470119521912e-21,4.402390438247012e-21,4.4223107569721115e-21,4.442231075697211e-21,4.46215139442231e-21,4.48207171314741e-21,4.5019920318725096e-21,4.521912350597609e-21,4.541832669322709e-21,4.561752988047809e-21,4.581673306772908e-21,4.601593625498008e-21,4.621513944223107e-21,4.641434262948207e-21,4.6613545816733064e-21,4.681274900398406e-21,4.701195219123506e-21,4.7211155378486055e-21,4.741035856573705e-21,4.760956175298805e-21,4.780876494023904e-21,4.8007968127490035e-21,4.820717131474103e-21,4.840637450199203e-21,4.8605577689243026e-21,4.880478087649402e-21,4.900398406374502e-21,4.920318725099602e-21,4.940239043824701e-21,4.9601593625498e-21,4.9800796812749e-21,5.0e-21,5.0199203187250994e-21,5.039840637450199e-21,5.059760956175299e-21,5.079681274900398e-21,5.0996015936254975e-21,5.119521912350597e-21,5.139442231075697e-21,5.1593625498007965e-21,5.179282868525896e-21,5.199203187250996e-21,5.219123505976096e-21,5.2390438247011946e-21,5.258964143426294e-21,5.278884462151394e-21,5.298804780876494e-21,5.318725099601593e-21,5.338645418326693e-21,5.358565737051793e-21,5.3784860557768925e-21,5.3984063745019914e-21,5.418326693227091e-21,5.438247011952191e-21,5.4581673306772905e-21,5.47808764940239e-21,5.49800796812749e-21,5.5179282868525896e-21,5.537848605577689e-21,5.557768924302788e-21,5.577689243027888e-21,5.5976095617529876e-21,5.617529880478087e-21,5.637450199203187e-21,5.657370517928287e-21,5.6772908366533864e-21,5.697211155378486e-21,5.717131474103585e-21,5.737051792828685e-21,5.7569721115537844e-21,5.776892430278884e-21,5.796812749003984e-21,5.8167330677290835e-21,5.836653386454183e-21,5.856573705179283e-21,5.876494023904382e-21,5.8964143426294816e-21,5.916334661354581e-21,5.936254980079681e-21,5.956175298804781e-21,5.97609561752988e-21,5.99601593625498e-21,6.015936254980079e-21,6.035856573705179e-21,6.055776892430278e-21,6.075697211155378e-21,6.095617529880478e-21,6.1155378486055775e-21,6.135458167330677e-21,6.155378486055777e-21,6.175298804780876e-21,6.1952191235059755e-21,6.215139442231075e-21,6.235059760956175e-21,6.2549800796812746e-21,6.274900398406374e-21,6.294820717131474e-21,6.314741035856574e-21,6.3346613545816726e-21,6.354581673306772e-21,6.374501992031872e-21,6.394422310756972e-21,6.4143426294820714e-21,6.434262948207171e-21,6.454183266932271e-21,6.4741035856573705e-21,6.4940239043824694e-21,6.513944223107569e-21,6.533864541832669e-21,6.5537848605577685e-21,6.573705179282868e-21,6.593625498007968e-21,6.6135458167330676e-21,6.633466135458167e-21,6.653386454183266e-21,6.673306772908366e-21,6.693227091633466e-21,6.713147410358565e-21,6.733067729083665e-21,6.752988047808765e-21,6.7729083665338644e-21,6.792828685258964e-21,6.812749003984063e-21,6.832669322709164e-21,6.852589641434262e-21,6.872509960159363e-21,6.892430278884462e-21,6.912350597609561e-21,6.932270916334661e-21,6.95219123505976e-21,6.97211155378486e-21,6.99203187250996e-21,7.01195219123506e-21,7.031872509960159e-21,7.051792828685258e-21,7.071713147410358e-21,7.091633466135457e-21,7.111553784860558e-21,7.131474103585657e-21,7.151394422310757e-21,7.171314741035856e-21,7.191235059760955e-21,7.211155378486055e-21,7.231075697211154e-21,7.250996015936255e-21,7.270916334661354e-21,7.290836653386454e-21,7.310756972111553e-21,7.330677290836654e-21,7.350597609561753e-21,7.370517928286852e-21,7.390438247011952e-21,7.410358565737051e-21,7.430278884462151e-21,7.45019920318725e-21,7.470119521912351e-21,7.49003984063745e-21,7.509960159362549e-21,7.529880478087649e-21,7.549800796812748e-21,7.569721115537849e-21,7.589641434262947e-21,7.609561752988048e-21,7.629482071713147e-21,7.649402390438247e-21,7.669322709163346e-21,7.689243027888445e-21,7.709163346613546e-21,7.729083665338645e-21,7.749003984063745e-21,7.768924302788844e-21,7.788844621513944e-21,7.808764940239043e-21,7.828685258964142e-21,7.848605577689243e-21,7.868525896414342e-21,7.888446215139442e-21,7.908366533864541e-21,7.928286852589642e-21,7.94820717131474e-21,7.968127490039841e-21,7.98804780876494e-21,8.007968127490039e-21,8.02788844621514e-21,8.047808764940238e-21,8.067729083665339e-21,8.087649402390438e-21,8.107569721115538e-21,8.127490039840637e-21,8.147410358565736e-21,8.167330677290836e-21,8.187250996015935e-21,8.207171314741036e-21,8.227091633466135e-21,8.247011952191235e-21,8.266932270916334e-21,8.286852589641433e-21,8.306772908366534e-21,8.326693227091632e-21,8.346613545816733e-21,8.366533864541832e-21,8.386454183266932e-21,8.406374501992031e-21,8.426294820717132e-21,8.44621513944223e-21,8.46613545816733e-21,8.48605577689243e-21,8.505976095617529e-21,8.52589641434263e-21,8.545816733067728e-21,8.565737051792829e-21,8.585657370517928e-21,8.605577689243027e-21,8.625498007968127e-21,8.645418326693226e-21,8.665338645418327e-21,8.685258964143426e-21,8.705179282868526e-21,8.725099601593625e-21,8.745019920318725e-21,8.764940239043824e-21,8.784860557768923e-21,8.804780876494024e-21,8.824701195219123e-21,8.844621513944223e-21,8.864541832669322e-21,8.884462151394422e-21,8.904382470119521e-21,8.92430278884462e-21,8.944223107569721e-21,8.96414342629482e-21,8.98406374501992e-21,9.003984063745019e-21,9.02390438247012e-21,9.043824701195219e-21,9.063745019920317e-21,9.083665338645418e-21,9.103585657370517e-21,9.123505976095617e-21,9.143426294820716e-21,9.163346613545817e-21,9.183266932270916e-21,9.203187250996016e-21,9.223107569721115e-21,9.243027888446214e-21,9.262948207171314e-21,9.282868525896413e-21,9.302788844621514e-21,9.322709163346613e-21,9.342629482071713e-21,9.362549800796812e-21,9.382470119521911e-21,9.402390438247012e-21,9.42231075697211e-21,9.442231075697211e-21,9.46215139442231e-21,9.48207171314741e-21,9.50199203187251e-21,9.52191235059761e-21,9.541832669322709e-21,9.561752988047808e-21,9.581673306772908e-21,9.601593625498007e-21,9.621513944223107e-21,9.641434262948206e-21,9.661354581673307e-21,9.681274900398406e-21,9.701195219123505e-21,9.721115537848605e-21,9.741035856573704e-21,9.760956175298805e-21,9.780876494023904e-21,9.800796812749004e-21,9.820717131474103e-21,9.840637450199203e-21,9.860557768924302e-21,9.880478087649401e-21,9.900398406374502e-21,9.9203187250996e-21,9.940239043824701e-21,9.9601593625498e-21,9.9800796812749e-21,1.0e-20],"x":[0.0,3.98406374501992e-22,7.96812749003984e-22,1.1952191235059761e-21,1.593625498007968e-21,1.9920318725099602e-21,2.3904382470119523e-21,2.7888446215139443e-21,3.187250996015936e-21,3.585657370517928e-21,3.9840637450199205e-21,4.382470119521912e-21,4.7808764940239046e-21,5.179282868525896e-21,5.577689243027889e-21,5.97609561752988e-21,6.374501992031872e-21,6.7729083665338644e-21,7.171314741035856e-21,7.569721115537849e-21,7.968127490039841e-21,8.366533864541832e-21,8.764940239043824e-21,9.163346613545817e-21,9.561752988047809e-21,9.9601593625498e-21,1.0358565737051792e-20,1.0756972111553785e-20,1.1155378486055777e-20,1.1553784860557768e-20,1.195219123505976e-20,1.2350597609561753e-20,1.2749003984063744e-20,1.3147410358565736e-20,1.3545816733067729e-20,1.394422310756972e-20,1.4342629482071712e-20,1.4741035856573706e-20,1.5139442231075697e-20,1.5537848605577688e-20,1.5936254980079682e-20,1.6334661354581673e-20,1.6733067729083664e-20,1.7131474103585658e-20,1.752988047808765e-20,1.792828685258964e-20,1.8326693227091633e-20,1.8725099601593624e-20,1.9123505976095618e-20,1.952191235059761e-20,1.99203187250996e-20,2.0318725099601594e-20,2.0717131474103585e-20,2.1115537848605576e-20,2.151394422310757e-20,2.191235059760956e-20,2.2310756972111555e-20,2.2709163346613546e-20,2.3107569721115536e-20,2.350597609561753e-20,2.390438247011952e-20,2.4302788844621512e-20,2.4701195219123506e-20,2.5099601593625497e-20,2.5498007968127488e-20,2.5896414342629482e-20,2.6294820717131473e-20,2.6693227091633467e-20,2.7091633466135458e-20,2.749003984063745e-20,2.788844621513944e-20,2.8286852589641433e-20,2.8685258964143424e-20,2.9083665338645415e-20,2.948207171314741e-20,2.9880478087649403e-20,3.0278884462151394e-20,3.0677290836653385e-20,3.1075697211155376e-20,3.1474103585657367e-20,3.1872509960159364e-20,3.2270916334661355e-20,3.2669322709163346e-20,3.3067729083665337e-20,3.346613545816733e-20,3.3864541832669324e-20,3.4262948207171315e-20,3.4661354581673306e-20,3.50597609561753e-20,3.545816733067729e-20,3.585657370517928e-20,3.6254980079681276e-20,3.6653386454183267e-20,3.705179282868526e-20,3.745019920318725e-20,3.784860557768924e-20,3.8247011952191237e-20,3.864541832669323e-20,3.904382470119522e-20,3.944223107569721e-20,3.98406374501992e-20,4.02390438247012e-20,4.063745019920319e-20,4.103585657370518e-20,4.143426294820717e-20,4.183266932270916e-20,4.223107569721115e-20,4.262948207171315e-20,4.302788844621514e-20,4.342629482071713e-20,4.382470119521912e-20,4.422310756972111e-20,4.462151394422311e-20,4.50199203187251e-20,4.541832669322709e-20,4.581673306772908e-20,4.621513944223107e-20,4.6613545816733064e-20,4.701195219123506e-20,4.741035856573705e-20,4.780876494023904e-20,4.8207171314741034e-20,4.8605577689243025e-20,4.900398406374502e-20,4.940239043824701e-20,4.9800796812749003e-20,5.0199203187250994e-20,5.0597609561752985e-20,5.0996015936254976e-20,5.139442231075697e-20,5.1792828685258964e-20,5.2191235059760955e-20,5.2589641434262946e-20,5.2988047808764937e-20,5.3386454183266934e-20,5.3784860557768925e-20,5.4183266932270915e-20,5.458167330677291e-20,5.49800796812749e-20,5.53784860557769e-20,5.577689243027889e-20,5.617529880478088e-20,5.657370517928287e-20,5.697211155378486e-20,5.737051792828685e-20,5.776892430278884e-20,5.816733067729083e-20,5.856573705179282e-20,5.896414342629482e-20,5.936254980079682e-20,5.976095617529881e-20,6.01593625498008e-20,6.055776892430279e-20,6.095617529880478e-20,6.135458167330677e-20,6.175298804780876e-20,6.215139442231075e-20,6.254980079681274e-20,6.294820717131473e-20,6.334661354581674e-20,6.374501992031873e-20,6.414342629482072e-20,6.454183266932271e-20,6.49402390438247e-20,6.533864541832669e-20,6.573705179282868e-20,6.613545816733067e-20,6.653386454183266e-20,6.693227091633465e-20,6.733067729083665e-20,6.772908366533865e-20,6.812749003984064e-20,6.852589641434263e-20,6.892430278884462e-20,6.932270916334661e-20,6.97211155378486e-20,7.01195219123506e-20,7.051792828685259e-20,7.091633466135458e-20,7.131474103585657e-20,7.171314741035856e-20,7.211155378486056e-20,7.250996015936255e-20,7.290836653386454e-20,7.330677290836653e-20,7.370517928286852e-20,7.410358565737052e-20,7.450199203187251e-20,7.49003984063745e-20,7.529880478087649e-20,7.569721115537848e-20,7.609561752988048e-20,7.649402390438247e-20,7.689243027888446e-20,7.729083665338645e-20,7.768924302788845e-20,7.808764940239044e-20,7.848605577689243e-20,7.888446215139442e-20,7.928286852589641e-20,7.96812749003984e-20,8.007968127490039e-20,8.04780876494024e-20,8.087649402390439e-20,8.127490039840638e-20,8.167330677290837e-20,8.207171314741036e-20,8.247011952191235e-20,8.286852589641434e-20,8.326693227091633e-20,8.366533864541832e-20,8.406374501992031e-20,8.44621513944223e-20,8.486055776892431e-20,8.52589641434263e-20,8.565737051792829e-20,8.605577689243028e-20,8.645418326693227e-20,8.685258964143426e-20,8.725099601593625e-20,8.764940239043824e-20,8.804780876494023e-20,8.844621513944222e-20,8.884462151394422e-20,8.924302788844622e-20,8.964143426294821e-20,9.00398406374502e-20,9.043824701195219e-20,9.083665338645418e-20,9.123505976095617e-20,9.163346613545816e-20,9.203187250996016e-20,9.243027888446215e-20,9.282868525896414e-20,9.322709163346613e-20,9.362549800796813e-20,9.402390438247012e-20,9.442231075697211e-20,9.48207171314741e-20,9.52191235059761e-20,9.561752988047809e-20,9.601593625498008e-20,9.641434262948207e-20,9.681274900398406e-20,9.721115537848605e-20,9.760956175298804e-20,9.800796812749004e-20,9.840637450199203e-20,9.880478087649402e-20,9.920318725099602e-20,9.960159362549801e-20,1.0e-19,1.0039840637450199e-19,1.0079681274900398e-19,1.0119521912350597e-19,1.0159362549800796e-19,1.0199203187250995e-19,1.0239043824701196e-19,1.0278884462151395e-19,1.0318725099601594e-19,1.0358565737051793e-19,1.0398406374501992e-19,1.0438247011952191e-19,1.047808764940239e-19,1.0517928286852589e-19,1.0557768924302788e-19,1.0597609561752987e-19,1.0637450199203186e-19,1.0677290836653387e-19,1.0717131474103586e-19,1.0756972111553785e-19,1.0796812749003984e-19,1.0836653386454183e-19,1.0876494023904382e-19,1.0916334661354582e-19,1.095617529880478e-19,1.099601593625498e-19,1.1035856573705179e-19,1.107569721115538e-19,1.1115537848605577e-19,1.1155378486055777e-19,1.1195219123505975e-19,1.1235059760956175e-19,1.1274900398406373e-19,1.1314741035856573e-19,1.1354581673306774e-19,1.1394422310756972e-19,1.1434262948207172e-19,1.147410358565737e-19,1.151394422310757e-19,1.1553784860557768e-19,1.1593625498007968e-19,1.1633466135458166e-19,1.1673306772908366e-19,1.1713147410358564e-19,1.1752988047808765e-19,1.1792828685258965e-19,1.1832669322709163e-19,1.1872509960159363e-19,1.191235059760956e-19,1.1952191235059761e-19,1.199203187250996e-19,1.203187250996016e-19,1.2071713147410357e-19,1.2111553784860558e-19,1.2151394422310756e-19,1.2191235059760956e-19,1.2231075697211156e-19,1.2270916334661354e-19,1.2310756972111554e-19,1.2350597609561752e-19,1.2390438247011952e-19,1.243027888446215e-19,1.247011952191235e-19,1.2509960159362549e-19,1.254980079681275e-19,1.2589641434262947e-19,1.2629482071713147e-19,1.2669322709163347e-19,1.2709163346613545e-19,1.2749003984063746e-19,1.2788844621513943e-19,1.2828685258964144e-19,1.2868525896414342e-19,1.2908366533864542e-19,1.294820717131474e-19,1.298804780876494e-19,1.3027888446215138e-19,1.3067729083665338e-19,1.3107569721115539e-19,1.3147410358565736e-19,1.3187250996015937e-19,1.3227091633466135e-19,1.3266932270916335e-19,1.3306772908366533e-19,1.3346613545816733e-19,1.338645418326693e-19,1.3426294820717131e-19,1.346613545816733e-19,1.350597609561753e-19,1.354581673306773e-19,1.3585657370517928e-19,1.3625498007968128e-19,1.3665338645418326e-19,1.3705179282868526e-19,1.3745019920318724e-19,1.3784860557768924e-19,1.3824701195219122e-19,1.3864541832669323e-19,1.390438247011952e-19,1.394422310756972e-19,1.398406374501992e-19,1.402390438247012e-19,1.406374501992032e-19,1.4103585657370517e-19,1.4143426294820717e-19,1.4183266932270915e-19,1.4223107569721116e-19,1.4262948207171313e-19,1.4302788844621514e-19,1.4342629482071712e-19,1.4382470119521912e-19,1.4422310756972112e-19,1.446215139442231e-19,1.450199203187251e-19,1.4541832669322708e-19,1.4581673306772909e-19,1.4621513944223106e-19,1.4661354581673307e-19,1.4701195219123505e-19,1.4741035856573705e-19,1.4780876494023903e-19,1.4820717131474103e-19,1.4860557768924303e-19,1.4900398406374501e-19,1.4940239043824702e-19,1.49800796812749e-19,1.50199203187251e-19,1.5059760956175298e-19,1.5099601593625498e-19,1.5139442231075696e-19,1.5179282868525896e-19,1.5219123505976096e-19,1.5258964143426294e-19,1.5298804780876495e-19,1.5338645418326693e-19,1.5378486055776893e-19,1.541832669322709e-19,1.545816733067729e-19,1.549800796812749e-19,1.553784860557769e-19,1.5577689243027887e-19,1.5617529880478087e-19,1.5657370517928288e-19,1.5697211155378486e-19,1.5737051792828686e-19,1.5776892430278884e-19,1.5816733067729084e-19,1.5856573705179282e-19,1.5896414342629482e-19,1.593625498007968e-19,1.597609561752988e-19,1.6015936254980078e-19,1.6055776892430279e-19,1.609561752988048e-19,1.6135458167330677e-19,1.6175298804780877e-19,1.6215139442231075e-19,1.6254980079681275e-19,1.6294820717131473e-19,1.6334661354581673e-19,1.6374501992031871e-19,1.6414342629482072e-19,1.645418326693227e-19,1.649402390438247e-19,1.653386454183267e-19,1.6573705179282868e-19,1.6613545816733068e-19,1.6653386454183266e-19,1.6693227091633466e-19,1.6733067729083664e-19,1.6772908366533865e-19,1.6812749003984063e-19,1.6852589641434263e-19,1.689243027888446e-19,1.693227091633466e-19,1.6972111553784861e-19,1.701195219123506e-19,1.705179282868526e-19,1.7091633466135457e-19,1.7131474103585658e-19,1.7171314741035856e-19,1.7211155378486056e-19,1.7250996015936254e-19,1.7290836653386454e-19,1.7330677290836652e-19,1.7370517928286852e-19,1.7410358565737053e-19,1.745019920318725e-19,1.749003984063745e-19,1.7529880478087649e-19,1.756972111553785e-19,1.7609561752988047e-19,1.7649402390438247e-19,1.7689243027888445e-19,1.7729083665338645e-19,1.7768924302788843e-19,1.7808764940239043e-19,1.7848605577689244e-19,1.7888446215139442e-19,1.7928286852589642e-19,1.796812749003984e-19,1.800796812749004e-19,1.8047808764940238e-19,1.8087649402390438e-19,1.8127490039840636e-19,1.8167330677290836e-19,1.8207171314741034e-19,1.8247011952191235e-19,1.8286852589641435e-19,1.8326693227091633e-19,1.8366533864541833e-19,1.840637450199203e-19,1.8446215139442231e-19,1.848605577689243e-19,1.852589641434263e-19,1.8565737051792827e-19,1.8605577689243028e-19,1.8645418326693226e-19,1.8685258964143426e-19,1.8725099601593626e-19,1.8764940239043824e-19,1.8804780876494024e-19,1.8844621513944222e-19,1.8884462151394423e-19,1.892430278884462e-19,1.896414342629482e-19,1.9003984063745019e-19,1.904382470119522e-19,1.9083665338645417e-19,1.9123505976095617e-19,1.9163346613545817e-19,1.9203187250996015e-19,1.9243027888446216e-19,1.9282868525896413e-19,1.9322709163346614e-19,1.9362549800796812e-19,1.9402390438247012e-19,1.944223107569721e-19,1.948207171314741e-19,1.9521912350597608e-19,1.9561752988047808e-19,1.9601593625498009e-19,1.9641434262948206e-19,1.9681274900398407e-19,1.9721115537848605e-19,1.9760956175298805e-19,1.9800796812749003e-19,1.9840637450199203e-19,1.98804780876494e-19,1.9920318725099601e-19,1.99601593625498e-19,2.0e-19],"y":[1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-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0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0]} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js index ef05f3232388..0e4e29f8f041 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js @@ -56,7 +56,7 @@ tape( 'the function computes the hinge loss gradient for tiny positive values', expected = tinyPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); @@ -75,7 +75,7 @@ tape( 'the function computes the hinge loss gradient for small positive values', expected = smallPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); @@ -94,7 +94,7 @@ tape( 'the function computes the hinge loss gradient for tiny negative values', expected = tinyNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); @@ -113,7 +113,7 @@ tape( 'the function computes the hinge loss gradient for small negative values', expected = smallNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js index 42bdad6a4dc8..71d80b88b079 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js @@ -65,7 +65,7 @@ tape( 'the function computes the hinge loss gradient for tiny positive values', expected = tinyPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); @@ -84,7 +84,7 @@ tape( 'the function computes the hinge loss gradient for small positive values', expected = smallPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); @@ -103,7 +103,7 @@ tape( 'the function computes the hinge loss gradient for tiny negative values', expected = tinyNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); @@ -122,7 +122,7 @@ tape( 'the function computes the hinge loss gradient for small negative values', expected = smallNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); - t.strictEqual( isAlmostSameValue( v, expected[ i ], 0 ), true, 'returns expected value' ); + t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); }); From 798bd967ef436e32bfaf9bfde9a0e478eb37ce4b Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Wed, 20 May 2026 14:23:17 +0530 Subject: [PATCH 3/4] docs: update function desc --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt index 135e28817cbc..13ff6394f973 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/docs/repl.txt @@ -1,7 +1,6 @@ {{alias}}( x, y, p ) - Computes the hinge loss gradient between two double-precision floating-point - numbers. + Computes the hinge loss gradient with respect to a model parameter. If any argument is `NaN`, the function returns `NaN`. From 7eccb374c5cd346de3a4f8b909bcee161331d28d Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Wed, 20 May 2026 16:29:00 +0530 Subject: [PATCH 4/4] docs: add test notes --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../ml/base/loss/float64/hinge-gradient/test/test.js | 8 ++++++++ .../base/loss/float64/hinge-gradient/test/test.native.js | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js index 0e4e29f8f041..6d84c1e1f841 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.js @@ -56,6 +56,8 @@ tape( 'the function computes the hinge loss gradient for tiny positive values', expected = tinyPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); @@ -75,6 +77,8 @@ tape( 'the function computes the hinge loss gradient for small positive values', expected = smallPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); @@ -94,6 +98,8 @@ tape( 'the function computes the hinge loss gradient for tiny negative values', expected = tinyNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); @@ -113,6 +119,8 @@ tape( 'the function computes the hinge loss gradient for small negative values', expected = smallNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js index 71d80b88b079..8e02c6feaca7 100644 --- a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge-gradient/test/test.native.js @@ -65,6 +65,8 @@ tape( 'the function computes the hinge loss gradient for tiny positive values', expected = tinyPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); @@ -84,6 +86,8 @@ tape( 'the function computes the hinge loss gradient for small positive values', expected = smallPositive.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); @@ -103,6 +107,8 @@ tape( 'the function computes the hinge loss gradient for tiny negative values', expected = tinyNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end(); @@ -122,6 +128,8 @@ tape( 'the function computes the hinge loss gradient for small negative values', expected = smallNegative.expected; for ( i = 0; i < y.length; i++ ) { v = hingeGradient( x[ i ], y[ i ], p[ i ] ); + + // Add 0.0 to normalize signed zero differences in failing test cases. t.strictEqual( isAlmostSameValue( v + 0.0, expected[ i ], 0 ), true, 'returns expected value' ); } t.end();