diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/README.md b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/README.md new file mode 100644 index 000000000000..ae8cc859375a --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/README.md @@ -0,0 +1,230 @@ + + +# hinge + +> Compute the [hinge loss][hinge-loss] between two double-precision floating-point numbers. + +
+ +The [hinge loss][hinge-loss] is defined as + + + +```math +{L(y,p)=\max(0,t-y\cdot p)} +``` + + + +
+ + + +
+ +## Usage + +```javascript +var hinge = require( '@stdlib/ml/base/loss/float64/hinge' ); +``` + +#### hinge( t, y, p ) + +Computes the [hinge loss][hinge-loss] between two double-precision floating-point numbers. + +```javascript +var v = hinge( 1.0, 1.0, 0.782 ); +// returns ~0.218 + +v = hinge( 2.0, 1.0, -0.9 ); +// returns 2.9 +``` + +The function accepts the following arguments: + +- **t**: margin threshold. +- **y**: true target value. +- **p**: predicted value. + + +If any argument is `NaN`, the function returns `NaN`. + +```javascript +var v = hinge( 1.0, NaN, 12.0 ); +// returns NaN + +v = hinge( 2.0, 5.0, NaN ); +// returns NaN +``` + +If `y` is not +1 or -1, the function returns `NaN`. + +```javascript +var v = hinge( 1.0, 2.3, 1.0 ); +// returns NaN + +v = hinge( 1.0, -1.3, 0.987 ); +// 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 hinge = require( '@stdlib/ml/base/loss/float64/hinge' ); + +var t = uniform( 100, 0.0, 10.0, { + 'dtype': 'float64' +}); +var y = sample( [ -1.0, 1.0 ], { + 'size': 100 +}); +var p = uniform( 100, -5.0, 5.0, { + 'dtype': 'float64' +}); + +logEachMap( 'hinge(%0.4f, %0.4f, %0.4f) = %0.4f', t, y, p, hinge ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/ml/base/loss/float64/hinge.h" +``` + +#### stdlib_base_float64_hinge( t, y, p ) + +Computes the [hinge loss][hinge-loss] between two double-precision floating-point numbers. + +```c +double out = stdlib_base_float64_hinge( 1.0, 1.0, 0.782 ); +// returns ~0.218 +``` + +The function accepts the following arguments: + +- **t**: `[in] double` threshold value. +- **y**: `[in] double` true target value. +- **p**: `[in] double` predicted value. + +```c +double stdlib_base_float64_hinge( const double t, const double y, const double p ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/ml/base/loss/float64/hinge.h" +#include + +int main( void ) { + const double t[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.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( t[ i ], y[ i ], p[ i ] ); + printf( "hinge(%lf, %lf, %lf) = %lf\n", t[ i ], y[ i ], p[ i ], v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.js new file mode 100644 index 000000000000..d3d1744f9923 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 hinge = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var len; + var t; + var y; + var p; + var v; + var i; + + len = 100; + y = sample( [ -1.0, 1.0 ], { + 'size': len + }); + p = uniform( len, -2.0, 2.0 ); + t = uniform( len, 0.0, 10.0 ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = hinge( t[ i % t.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/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/benchmark.native.js new file mode 100644 index 000000000000..c0a1668c298b --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 hinge = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( hinge instanceof Error ) +}; + + +// MAIN // + +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { + var len; + var t; + var y; + var p; + var v; + var i; + + len = 100; + y = sample( [ -1.0, 1.0 ], { + 'size': len + }); + p = uniform( len, -2.0, 2.0 ); + t = uniform( len, 0.0, 10.0 ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + v = hinge( t[ i % t.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/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/Makefile new file mode 100644 index 000000000000..979768abbcec --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..87d7f09e1426 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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.h" +#include +#include +#include +#include +#include + +#define NAME "hinge" +#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 *th; + double *p; + double *y; + double v; + double t; + int i; + + p = (double *) malloc( 100 * sizeof( double ) ); + y = (double *) malloc( 100 * sizeof( double ) ); + th = (double *) malloc( 100 * sizeof( double ) ); + for ( i = 0; i < 100; i++ ) { + y[ i ] = random_sample(); + p[ i ] = random_uniform( -2.0, 2.0 ); + th[ i ] = random_uniform( 0.0, 10.0 ); + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + v = stdlib_base_float64_hinge( th[ 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( y ); + free( p ); + free( th ); + 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/binding.gyp b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/binding.gyp new file mode 100644 index 000000000000..0d6508a12e99 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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/docs/repl.txt b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/repl.txt new file mode 100644 index 000000000000..063b07015f2a --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/repl.txt @@ -0,0 +1,40 @@ + +{{alias}}( t, y, p ) + Computes the hinge loss 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 + ---------- + t: number + Threshold value. + + y: number + True target value. + + p: number + Predicted value. + + Returns + ------- + v: number + Hinge loss. + + Examples + -------- + > var v = {{alias}}( 1.0, 1.0, 0.782 ) + ~0.218 + > v = {{alias}}( 2.4, 1.0, 0.202 ) + 2.198 + > v = {{alias}}( 1.1, 1.0, -0.999 ) + 2.099 + > v = {{alias}}( 0.0, -1.0, 0.2 ) + 0.2 + > v = {{alias}}( NaN, 1.0, 0.987 ) + NaN + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/index.d.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/index.d.ts new file mode 100644 index 000000000000..bcabd379aeff --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 between two double-precision floating-point numbers. +* +* ## Notes +* +* - If `y` is not +1 or -1, the function returns `NaN`. +* +* @param t - threshold value +* @param y - true target value +* @param p - predicted value +* @returns hinge loss +* +* @example +* var v = hinge( 1.0, 1.0, 0.782 ); +* // returns ~0.218 +* +* @example +* var v = hinge( 2.4, 1.0, 0.202 ); +* // returns 2.198 +* +* @example +* var v = hinge( 1.1, 1.0, -0.999 ); +* // returns 2.099 +* +* @example +* var v = hinge( 5.0, -1.0, 0.234 ); +* // returns 5.234 +* +* @example +* var v = hinge( 0.0, -1.0, 0.2 ); +* // returns 0.2 +* +* @example +* var v = hinge( 2.0, 1.0, -0.9 ); +* // returns 2.9 +*/ +declare function hinge( t: number, y: number, p: number ): number; + + +// EXPORTS // + +export = hinge; diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/test.ts b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/docs/types/test.ts new file mode 100644 index 000000000000..343be11abe05 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 hinge = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + hinge( 1.0, 0.44, 0.5869 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a first argument which is not a number... +{ + hinge( true, 0.44, 0.8975 ); // $ExpectError + hinge( false, 0.44, 0.8975 ); // $ExpectError + hinge( null, 0.44, 0.8975 ); // $ExpectError + hinge( undefined, 0.44, 0.8975 ); // $ExpectError + hinge( '5', 0.44, 0.8975 ); // $ExpectError + hinge( [], 0.44, 0.8975 ); // $ExpectError + hinge( {}, 0.44, 0.8975 ); // $ExpectError + hinge( ( x: number ): number => x, 0.44, 0.8975 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a second argument which is not a number... +{ + hinge( 1.0, true, 0.8975 ); // $ExpectError + hinge( 1.0, false, 0.8975 ); // $ExpectError + hinge( 1.0, null, 0.8975 ); // $ExpectError + hinge( 1.0, undefined, 0.8975 ); // $ExpectError + hinge( 1.0, '5', 0.8975 ); // $ExpectError + hinge( 1.0, [], 0.8975 ); // $ExpectError + hinge( 1.0, {}, 0.8975 ); // $ExpectError + hinge( 1.0, ( x: number ): number => x, 0.8975 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a third argument which is not a number... +{ + hinge( 1.0, 0.44, true ); // $ExpectError + hinge( 1.0, 0.44, false ); // $ExpectError + hinge( 1.0, 0.44, null ); // $ExpectError + hinge( 1.0, 0.44, undefined ); // $ExpectError + hinge( 1.0, 0.44, '5' ); // $ExpectError + hinge( 1.0, 0.44, [] ); // $ExpectError + hinge( 1.0, 0.44, {} ); // $ExpectError + hinge( 1.0, 0.44, ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + hinge(); // $ExpectError + hinge( 1.0 ); // $ExpectError + hinge( 1.0, 0.900 ); // $ExpectError + hinge( 1.0, 0.900, 0.787, 5.0 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/Makefile new file mode 100644 index 000000000000..c8f8e9a1517b --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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/examples/c/example.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/c/example.c new file mode 100644 index 000000000000..e43518d014f5 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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.h" +#include + +int main( void ) { + const double t[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.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( t[ i ], y[ i ], p[ i ] ); + printf( "hinge(%lf, %lf, %lf) = %lf\n", t[ i ], y[ i ], p[ i ], v ); + } +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/index.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/examples/index.js new file mode 100644 index 000000000000..22e5e351afc7 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 hinge = require( './../lib' ); + +var t = uniform( 100, 0.0, 10.0, { + 'dtype': 'float64' +}); +var y = sample( [ -1.0, 1.0 ], { + 'size': 100 +}); +var p = uniform( 100, -5.0, 5.0, { + 'dtype': 'float64' +}); + +logEachMap( 'hinge(%0.4f, %0.4f, %0.4f) = %0.4f', t, y, p, hinge ); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/include.gypi b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/include.gypi new file mode 100644 index 000000000000..bee8d41a2caf --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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", + "double-precision", + "double", + "dbl" + ], + "__stdlib__": {} +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/Makefile b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/Makefile new file mode 100644 index 000000000000..2caf905cedbe --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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/src/addon.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/addon.c new file mode 100644 index 000000000000..1ae310a93ff9 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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.h" +#include "stdlib/math/base/napi/ternary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_DDD_D( stdlib_base_float64_hinge ) diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/main.c b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/main.c new file mode 100644 index 000000000000..4c55d6ef5f26 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/src/main.c @@ -0,0 +1,41 @@ +/** +* @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.h" +#include "stdlib/math/base/assert/is_nan.h" +#include "stdlib/math/base/special/max.h" +#include "stdlib/constants/float64/nan.h" + +/** +* Computes the hinge loss between two double-precision floating-point numbers. +* +* @param t threshold value +* @param y true target value +* @param p predicted value +* @return hinge loss +* +* @example +* double out = stdlib_base_float64_hinge( 2.4, 1.0, 0.202 ); +* // returns 2.198 +*/ +double stdlib_base_float64_hinge( const double t, const double y, const double p ) { + if ( stdlib_base_is_nan( t ) || stdlib_base_is_nan( y ) || stdlib_base_is_nan( p ) || ( y != -1.0 && y != 1.0 ) ) { + return STDLIB_CONSTANT_FLOAT64_NAN; + } + return stdlib_base_max( 0.0, t - ( y*p ) ); +} diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..7c8193c06e65 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/runner.jl new file mode 100755 index 000000000000..ec048d558ab4 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/runner.jl @@ -0,0 +1,89 @@ +#!/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( t, y, p, name ) + +Generate fixture data and write to file. + +# Arguments + +* `t`: threshold domain +* `y`: response domain +* `p`: prediction domain +* `name::AbstractString`: output filename + +# Examples + +``` julia +julia> t = range( 0.0, 10.0, 2001 ); +julia> y = rand( [-1.0, 1.0], 2001 ) +julia> p = range( -1000.0, 1000.0, 2001 ); +julia> gen( t, y, p, "data.json" ); +``` +""" +function gen( t, y, p, name ) + v = max.( 0.0, t .- ( y .* p ) ); + + # Store data to be written to file as a collection: + data = Dict([ + ("t", t), + ("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); + +t = range( 0.0, stop=10.0, length=503 ); + +# Positive tiny values: +y = rand( [ -1.0, 1.0 ], 503 ) +p = range( 0.0, stop=1e-20, length=503 ); +gen( t, y, p, "tiny_positive.json" ); + +# Small positive values: +y = rand( [ -1.0, 1.0 ], 503 ) +p = range( 0.0, stop=2.0, length=503 ); +gen( t, y, p, "small_positive.json" ); + +# Negative tiny values: +y = rand( [ -1.0, 1.0 ], 503 ) +p = range( -1e-20, stop=0.0, length=503 ); +gen( t, y, p, "tiny_negative.json" ); + +# Small negative values: +y = rand( [ -1.0, 1.0 ], 503 ) +p = range( -2.0, stop=0.0, length=503 ); +gen( t, y, p, "small_negative.json" ); diff --git a/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_negative.json new file mode 100644 index 000000000000..308b787cedc8 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_negative.json @@ -0,0 +1 @@ +{"expected":[2.0,0.0,0.0,0.0,0.0,2.0796812749003983,0.0,0.0,0.0,0.0,0.0,2.1752988047808763,0.0,0.0,2.2231075697211153,0.0,0.0,0.0,0.0,2.302788844621514,2.318725099601594,0.0,2.350597609561753,2.366533864541833,0.0,0.0,0.0,2.4302788844621515,2.446215139442231,0.0,2.4780876494023905,2.49402390438247,2.50996015936255,0.0,0.0,2.557768924302789,2.5737051792828685,0.0,2.605577689243028,0.0,2.637450199203187,2.653386454183267,2.6693227091633465,0.0,2.701195219123506,0.0,2.733067729083665,2.749003984063745,2.764940239043825,0.0,0.0,2.812749003984064,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.9721115537848606,2.9880478087649402,0.0,3.0199203187250996,0.0,0.0,3.0677290836653386,3.0836653386454183,0.0,0.0,3.1314741035856573,0.0,0.0,3.1792828685258963,0.0,3.2111553784860556,3.2270916334661353,0.0,0.0,3.2749003984063743,3.290836653386454,0.0,3.3227091633466137,0.007968127490039834,3.354581673306773,0.055776892430278835,0.07968127490039834,3.402390438247012,0.12749003984063734,3.4342629482071714,3.450199203187251,3.4661354581673307,3.4820717131474104,0.24701195219123484,0.2709163346613548,3.5298804780876494,0.3187250996015938,0.3426294820717133,0.3665338645418328,3.593625498007968,0.4143426294820718,0.4382470119521913,0.4621513944223108,0.4860557768924303,0.5099601593625498,0.5338645418326693,0.5577689243027888,3.7211155378486054,0.6055776892430278,3.7529880478087647,0.6533864541832668,0.6772908366533863,3.800796812749004,3.816733067729084,3.8326693227091635,0.7729083665338647,3.864541832669323,3.8804780876494025,3.896414342629482,0.8685258964143427,0.8924302788844622,3.944223107569721,3.960159362549801,3.9760956175298805,3.99203187250996,1.0119521912350598,1.0358565737051793,1.0597609561752988,1.0836653386454183,1.1075697211155378,1.1314741035856573,4.103585657370518,1.1792828685258963,4.135458167330677,1.2270916334661353,4.1673306772908365,4.183266932270916,1.2988047808764938,4.2151394422310755,1.3466135458167332,1.3705179282868527,1.3944223107569722,4.278884462151394,1.4422310756972112,1.4661354581673307,1.4900398406374502,1.5139442231075697,4.3585657370517925,4.374501992031872,1.5856573705179282,1.6095617529880477,1.6334661354581672,1.6573705179282867,4.4541832669322705,4.47011952191235,1.7290836653386452,1.752988047808765,1.7768924302788844,1.800796812749004,4.5498007968127485,4.565737051792828,1.8725099601593624,4.5976095617529875,4.613545816733068,4.629482071713148,4.645418326693227,1.9920318725099604,4.677290836653387,4.693227091633466,2.0637450199203187,4.725099601593626,2.1115537848605577,4.756972111553785,2.1593625498007967,4.788844621513944,4.804780876494024,4.820717131474104,2.2549800796812747,4.852589641434263,4.868525896414343,4.884462151394422,2.3505976095617527,2.374501992031872,4.932270916334661,4.948207171314741,2.4462151394422307,2.47011952191235,2.4940239043824697,2.51792828685259,2.5418326693227096,5.043824701195219,5.059760956175299,5.075697211155378,2.6374501992031876,5.107569721115538,5.123505976095617,2.709163346613546,5.155378486055777,2.756972111553785,2.7808764940239046,2.804780876494024,2.8286852589641436,2.852589641434263,2.8764940239043826,2.900398406374502,2.9243027888446216,5.298804780876494,5.314741035856573,2.99601593625498,5.346613545816733,5.362549800796812,5.378486055776892,5.394422310756972,3.1155378486055776,3.139442231075697,3.1633466135458166,5.45816733067729,5.47410358565737,5.49003984063745,3.2589641434262946,5.521912350597609,5.537848605577689,5.553784860557768,5.569721115537848,5.585657370517928,3.4023904382470125,3.426294820717132,3.4501992031872515,5.649402390438247,5.665338645418327,3.52191235059761,3.5458167330677295,3.569721115537849,3.5936254980079685,3.617529880478088,3.6414342629482075,5.776892430278885,3.6892430278884465,3.713147410358566,5.824701195219124,3.760956175298805,5.856573705179283,5.872509960159363,3.8326693227091635,5.904382470119522,3.8804780876494025,5.936254980079681,5.952191235059761,3.952191235059761,5.98406374501992,4.0,4.0239043824701195,6.031872509960159,6.047808764940239,4.095617529880478,4.1195219123505975,6.095617529880478,6.111553784860558,4.191235059760956,4.2151394422310755,4.239043824701195,4.2629482071713145,4.286852589641434,4.3107569721115535,6.223107569721115,4.3585657370517925,4.382470119521912,6.270916334661354,4.430278884462151,6.302788844621514,4.47808764940239,6.334661354581673,4.525896414342629,4.5498007968127485,6.382470119521912,4.5976095617529875,6.414342629482072,6.430278884462152,4.669322709163347,4.693227091633466,6.478087649402391,4.741035856573705,4.764940239043825,4.788844621513944,4.812749003984064,6.557768924302789,4.860557768924303,4.884462151394422,6.605577689243028,6.621513944223108,6.637450199203188,4.9800796812749,6.669322709163347,5.027888446215139,6.701195219123506,5.075697211155378,6.733067729083666,5.123505976095617,6.764940239043825,6.780876494023905,6.796812749003984,6.812749003984064,6.828685258964144,5.266932270916334,6.860557768924303,6.876494023904383,5.338645418326693,6.908366533864542,6.924302788844622,5.410358565737051,6.956175298804781,6.972111553784861,6.98804780876494,5.505976095617529,7.0199203187251,5.553784860557768,5.577689243027888,7.067729083665339,5.625498007968127,7.099601593625498,7.115537848605578,5.697211155378485,7.147410358565737,5.745019920318724,7.179282868525896,5.792828685258963,7.2111553784860565,5.840637450199203,7.243027888446216,5.888446215139442,5.912350597609562,5.936254980079681,5.960159362549801,7.322709163346614,6.00796812749004,6.031872509960159,7.370517928286853,6.079681274900398,7.4023904382470125,7.418326693227092,6.151394422310757,7.4501992031872515,6.199203187250996,6.223107569721115,6.247011952191235,7.51394422310757,7.52988047808765,6.318725099601593,6.342629482071713,7.577689243027889,7.5936254980079685,7.609561752988048,6.438247011952191,6.46215139442231,7.657370517928287,6.509960159362549,7.6892430278884465,6.557768924302788,7.721115537848606,6.605577689243027,7.752988047808765,7.768924302788845,7.7848605577689245,6.701195219123505,7.816733067729084,6.749003984063744,6.772908366533864,7.864541832669323,7.8804780876494025,6.844621513944222,7.912350597609562,7.9282868525896415,7.944223107569721,6.9402390438247,6.96414342629482,6.988047808764939,7.011952191235061,8.02390438247012,7.0597609561753,7.083665338645419,8.071713147410359,8.087649402390438,8.103585657370518,8.119521912350598,8.135458167330677,8.151394422310757,8.167330677290837,8.183266932270916,8.199203187250996,7.322709163346614,7.346613545816734,7.370517928286853,8.262948207171315,7.418326693227092,8.294820717131474,7.466135458167331,7.490039840637451,7.51394422310757,7.53784860557769,7.561752988047809,7.585657370517929,8.406374501992032,8.422310756972113,7.657370517928287,8.454183266932272,7.705179282868526,7.7290836653386465,7.752988047808765,7.7768924302788855,7.800796812749004,7.8247011952191245,7.848605577689243,8.58167330677291,7.896414342629482,7.9203187250996026,7.944223107569721,8.645418326693228,8.661354581673306,8.01593625498008,8.0398406374502,8.709163346613547,8.725099601593625,8.111553784860558,8.135458167330677,8.772908366533866,8.788844621513944,8.207171314741036,8.820717131474103,8.254980079681275,8.852589641434262,8.868525896414344,8.326693227091633,8.900398406374503,8.91633466135458,8.932270916334662,8.94820717131474,8.44621513944223,8.9800796812749,8.49402390438247,8.51792828685259,8.541832669322709,8.565737051792828,8.589641434262948,8.613545816733067,8.637450199203187,8.661354581673306,9.123505976095618,9.139442231075696,9.155378486055778,9.171314741035856,9.187250996015937,9.203187250996017,9.219123505976096,8.852589641434264,9.250996015936256,8.900398406374503,9.282868525896415,9.298804780876495,8.97211155378486,9.330677290836654,9.019920318725099,9.04382470119522,9.378486055776893,9.091633466135459,9.115537848605577,9.426294820717132,9.163346613545816,9.458167330677291,9.474103585657371,9.49003984063745,9.258964143426294,9.282868525896415,9.306772908366533,9.330677290836654,9.354581673306772,9.585657370517929,9.601593625498008,9.426294820717132,9.45019920318725,9.474103585657371,9.665338645418327,9.52191235059761,9.545816733067728,9.569721115537849,9.729083665338646,9.745019920318725,9.641434262948206,9.776892430278885,9.792828685258964,9.808764940239044,9.824701195219124,9.840637450199203,9.856573705179283,9.808764940239044,9.888446215139442,9.904382470119522,9.8804780876494,9.936254980079681,9.92828685258964,9.952191235059761,9.976095617529879,10.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],"t":[0.0,0.0199203187250996,0.0398406374501992,0.05976095617529881,0.0796812749003984,0.099601593625498,0.11952191235059761,0.1394422310756972,0.1593625498007968,0.17928286852589642,0.199203187250996,0.21912350597609562,0.23904382470119523,0.2589641434262948,0.2788844621513944,0.29880478087649404,0.3187250996015936,0.3386454183266932,0.35856573705179284,0.3784860557768924,0.398406374501992,0.41832669322709165,0.43824701195219123,0.4581673306772908,0.47808764940239046,0.49800796812749004,0.5179282868525896,0.5378486055776892,0.5577689243027888,0.5776892430278885,0.5976095617529881,0.6175298804780877,0.6374501992031872,0.6573705179282868,0.6772908366533864,0.6972111553784861,0.7171314741035857,0.7370517928286853,0.7569721115537849,0.7768924302788844,0.796812749003984,0.8167330677290837,0.8366533864541833,0.8565737051792829,0.8764940239043825,0.896414342629482,0.9163346613545816,0.9362549800796812,0.9561752988047809,0.9760956175298805,0.9960159362549801,1.0159362549800797,1.0358565737051793,1.0557768924302788,1.0756972111553784,1.095617529880478,1.1155378486055776,1.1354581673306774,1.155378486055777,1.1752988047808766,1.1952191235059761,1.2151394422310757,1.2350597609561753,1.254980079681275,1.2749003984063745,1.294820717131474,1.3147410358565736,1.3346613545816732,1.3545816733067728,1.3745019920318724,1.3944223107569722,1.4143426294820718,1.4342629482071714,1.454183266932271,1.4741035856573705,1.4940239043824701,1.5139442231075697,1.5338645418326693,1.5537848605577689,1.5737051792828685,1.593625498007968,1.6135458167330676,1.6334661354581674,1.653386454183267,1.6733067729083666,1.6932270916334662,1.7131474103585658,1.7330677290836654,1.752988047808765,1.7729083665338645,1.792828685258964,1.8127490039840637,1.8326693227091633,1.8525896414342629,1.8725099601593624,1.8924302788844622,1.9123505976095618,1.9322709163346614,1.952191235059761,1.9721115537848606,1.9920318725099602,2.0119521912350598,2.0318725099601593,2.051792828685259,2.0717131474103585,2.091633466135458,2.1115537848605577,2.1314741035856573,2.151394422310757,2.1713147410358564,2.191235059760956,2.2111553784860556,2.231075697211155,2.250996015936255,2.270916334661355,2.2908366533864544,2.310756972111554,2.3306772908366535,2.350597609561753,2.3705179282868527,2.3904382470119523,2.410358565737052,2.4302788844621515,2.450199203187251,2.4701195219123506,2.49003984063745,2.50996015936255,2.5298804780876494,2.549800796812749,2.5697211155378485,2.589641434262948,2.6095617529880477,2.6294820717131473,2.649402390438247,2.6693227091633465,2.689243027888446,2.7091633466135456,2.729083665338645,2.749003984063745,2.768924302788845,2.7888446215139444,2.808764940239044,2.8286852589641436,2.848605577689243,2.8685258964143427,2.8884462151394423,2.908366533864542,2.9282868525896415,2.948207171314741,2.9681274900398407,2.9880478087649402,3.00796812749004,3.0278884462151394,3.047808764940239,3.0677290836653386,3.087649402390438,3.1075697211155378,3.1274900398406373,3.147410358565737,3.1673306772908365,3.187250996015936,3.2071713147410357,3.2270916334661353,3.247011952191235,3.266932270916335,3.2868525896414345,3.306772908366534,3.3266932270916336,3.346613545816733,3.366533864541833,3.3864541832669324,3.406374501992032,3.4262948207171315,3.446215139442231,3.4661354581673307,3.4860557768924303,3.50597609561753,3.5258964143426295,3.545816733067729,3.5657370517928286,3.585657370517928,3.605577689243028,3.6254980079681274,3.645418326693227,3.6653386454183265,3.685258964143426,3.7051792828685257,3.7250996015936253,3.745019920318725,3.764940239043825,3.7848605577689245,3.804780876494024,3.8247011952191237,3.8446215139442232,3.864541832669323,3.8844621513944224,3.904382470119522,3.9243027888446216,3.944223107569721,3.9641434262948207,3.9840637450199203,4.00398406374502,4.0239043824701195,4.043824701195219,4.063745019920319,4.083665338645418,4.103585657370518,4.123505976095617,4.143426294820717,4.163346613545817,4.183266932270916,4.203187250996016,4.223107569721115,4.243027888446215,4.2629482071713145,4.282868525896414,4.302788844621514,4.322709163346613,4.342629482071713,4.362549800796812,4.382470119521912,4.402390438247012,4.422310756972111,4.442231075697211,4.46215139442231,4.48207171314741,4.50199203187251,4.52191235059761,4.54183266932271,4.561752988047809,4.581673306772909,4.601593625498008,4.621513944223108,4.6414342629482075,4.661354581673307,4.681274900398407,4.701195219123506,4.721115537848606,4.741035856573705,4.760956175298805,4.780876494023905,4.800796812749004,4.820717131474104,4.840637450199203,4.860557768924303,4.8804780876494025,4.900398406374502,4.920318725099602,4.940239043824701,4.960159362549801,4.9800796812749,5.0,5.0199203187251,5.039840637450199,5.059760956175299,5.079681274900398,5.099601593625498,5.1195219123505975,5.139442231075697,5.159362549800797,5.179282868525896,5.199203187250996,5.219123505976095,5.239043824701195,5.258964143426295,5.278884462151394,5.298804780876494,5.318725099601593,5.338645418326693,5.3585657370517925,5.378486055776892,5.398406374501992,5.418326693227091,5.438247011952191,5.45816733067729,5.47808764940239,5.49800796812749,5.51792828685259,5.53784860557769,5.557768924302789,5.577689243027889,5.597609561752988,5.617529880478088,5.637450199203188,5.657370517928287,5.677290836653387,5.697211155378486,5.717131474103586,5.7370517928286855,5.756972111553785,5.776892430278885,5.796812749003984,5.816733067729084,5.836653386454183,5.856573705179283,5.876494023904383,5.896414342629482,5.916334661354582,5.936254980079681,5.956175298804781,5.9760956175298805,5.99601593625498,6.01593625498008,6.035856573705179,6.055776892430279,6.075697211155378,6.095617529880478,6.115537848605578,6.135458167330677,6.155378486055777,6.175298804780876,6.195219123505976,6.2151394422310755,6.235059760956175,6.254980079681275,6.274900398406374,6.294820717131474,6.314741035856573,6.334661354581673,6.354581673306773,6.374501992031872,6.394422310756972,6.414342629482071,6.434262948207171,6.4541832669322705,6.47410358565737,6.49402390438247,6.51394422310757,6.53386454183267,6.553784860557769,6.573705179282869,6.5936254980079685,6.613545816733068,6.633466135458168,6.653386454183267,6.673306772908367,6.693227091633466,6.713147410358566,6.733067729083666,6.752988047808765,6.772908366533865,6.792828685258964,6.812749003984064,6.8326693227091635,6.852589641434263,6.872509960159363,6.892430278884462,6.912350597609562,6.932270916334661,6.952191235059761,6.972111553784861,6.99203187250996,7.01195219123506,7.031872509960159,7.051792828685259,7.0717131474103585,7.091633466135458,7.111553784860558,7.131474103585657,7.151394422310757,7.171314741035856,7.191235059760956,7.211155378486056,7.231075697211155,7.250996015936255,7.270916334661354,7.290836653386454,7.3107569721115535,7.330677290836653,7.350597609561753,7.370517928286852,7.390438247011952,7.410358565737051,7.430278884462151,7.450199203187251,7.47011952191235,7.49003984063745,7.50996015936255,7.52988047808765,7.549800796812749,7.569721115537849,7.589641434262949,7.609561752988048,7.629482071713148,7.649402390438247,7.669322709163347,7.6892430278884465,7.709163346613546,7.729083665338646,7.749003984063745,7.768924302788845,7.788844621513944,7.808764940239044,7.828685258964144,7.848605577689243,7.868525896414343,7.888446215139442,7.908366533864542,7.9282868525896415,7.948207171314741,7.968127490039841,7.98804780876494,8.00796812749004,8.02788844621514,8.047808764940239,8.06772908366534,8.087649402390438,8.107569721115539,8.127490039840637,8.147410358565738,8.167330677290837,8.187250996015937,8.207171314741036,8.227091633466136,8.247011952191235,8.266932270916335,8.286852589641434,8.306772908366534,8.326693227091633,8.346613545816734,8.366533864541832,8.386454183266933,8.406374501992032,8.426294820717132,8.44621513944223,8.466135458167331,8.48605577689243,8.50597609561753,8.525896414342629,8.54581673306773,8.565737051792828,8.585657370517929,8.605577689243027,8.625498007968128,8.645418326693227,8.665338645418327,8.685258964143426,8.705179282868526,8.725099601593625,8.745019920318725,8.764940239043824,8.784860557768924,8.804780876494023,8.824701195219124,8.844621513944222,8.864541832669323,8.884462151394422,8.904382470119522,8.92430278884462,8.944223107569721,8.96414342629482,8.98406374501992,9.00398406374502,9.02390438247012,9.04382470119522,9.063745019920319,9.08366533864542,9.103585657370518,9.123505976095618,9.143426294820717,9.163346613545817,9.183266932270916,9.203187250996017,9.223107569721115,9.243027888446216,9.262948207171315,9.282868525896415,9.302788844621514,9.322709163346614,9.342629482071713,9.362549800796813,9.382470119521912,9.402390438247012,9.422310756972111,9.442231075697212,9.46215139442231,9.48207171314741,9.50199203187251,9.52191235059761,9.541832669322709,9.56175298804781,9.581673306772908,9.601593625498008,9.621513944223107,9.641434262948207,9.661354581673306,9.681274900398407,9.701195219123505,9.721115537848606,9.741035856573705,9.760956175298805,9.780876494023904,9.800796812749004,9.820717131474103,9.840637450199203,9.860557768924302,9.880478087649402,9.900398406374501,9.920318725099602,9.9402390438247,9.9601593625498,9.9800796812749,10.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.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,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/test/fixtures/julia/small_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_positive.json new file mode 100644 index 000000000000..360b1e55e3a6 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/small_positive.json @@ -0,0 +1 @@ +{"expected":[0.0,0.01593625498007968,0.03187250996015936,0.07171314741035857,0.09561752988047809,0.0796812749003984,0.14342629482071714,0.11155378486055775,0.19123505976095617,0.14342629482071714,0.2390438247011952,0.1752988047808765,0.2868525896414343,0.3107569721115538,0.2231075697211155,0.35856573705179284,0.38247011952191234,0.27091633466135456,0.2868525896414343,0.4541832669322709,0.3187250996015936,0.33466135458167334,0.350597609561753,0.3665338645418327,0.5737051792828686,0.5976095617529881,0.6215139442231076,0.43027888446215135,0.6693227091633466,0.4621513944223108,0.47808764940239046,0.7410358565737052,0.7649402390438247,0.7888446215139442,0.8127490039840637,0.8366533864541833,0.8605577689243028,0.5896414342629482,0.6055776892430279,0.9322709163346613,0.9561752988047808,0.9800796812749004,0.6693227091633467,0.6852589641434264,0.701195219123506,1.0756972111553784,0.7330677290836654,1.1235059760956174,0.7649402390438247,1.1713147410358566,0.796812749003984,1.2191235059760956,0.8286852589641434,0.844621513944223,0.8605577689243027,1.3147410358565736,1.3386454183266931,1.3625498007968129,0.9243027888446216,0.9402390438247012,1.4342629482071714,1.4581673306772909,1.4820717131474104,1.00398406374502,1.5298804780876494,1.5537848605577689,1.5776892430278884,1.6015936254980079,1.0836653386454183,1.099601593625498,1.6733067729083666,1.1314741035856575,1.1474103585657371,1.1633466135458168,1.7689243027888446,1.792828685258964,1.8167330677290836,1.2270916334661355,1.2430278884462151,1.888446215139442,1.9123505976095616,1.2908366533864541,1.306772908366534,1.3227091633466137,2.00796812749004,2.0318725099601593,1.3705179282868527,1.3864541832669324,1.402390438247012,1.4183266932270917,2.151394422310757,1.450199203187251,1.4661354581673307,1.4820717131474104,2.247011952191235,1.5139442231075697,1.5298804780876494,2.318725099601594,2.3426294820717133,2.366533864541833,1.593625498007968,2.414342629482072,2.4382470119521913,1.641434262948207,1.6573705179282867,1.6733067729083664,2.5338645418326693,1.7051792828685257,1.7211155378486054,1.737051792828685,2.6294820717131473,2.653386454183267,2.6772908366533863,1.8007968127490042,1.8167330677290838,1.8326693227091635,1.8486055776892432,2.7968127490039842,1.8804780876494025,2.8446215139442232,2.8685258964143427,1.9282868525896415,1.9442231075697212,1.9601593625498008,2.9641434262948207,2.9880478087649402,3.0119521912350598,2.0239043824701195,2.039840637450199,2.055776892430279,3.1075697211155378,3.1314741035856573,2.103585657370518,2.1195219123505975,3.2031872509960158,2.151394422310757,3.2509960159362548,2.183266932270916,3.2988047808764938,3.3227091633466137,3.346613545816733,3.3705179282868527,2.262948207171315,3.4183266932270917,2.2948207171314743,3.4661354581673307,3.49003984063745,3.5139442231075697,2.358565737051793,2.3745019920318726,3.585657370517928,3.6095617529880477,3.633466135458167,2.4382470119521913,3.681274900398406,3.7051792828685257,2.4860557768924303,2.50199203187251,2.5179282868525896,2.5338645418326693,3.824701195219123,3.8486055776892427,3.872509960159362,3.8964143426294817,2.613545816733068,2.6294820717131477,2.6454183266932274,3.99203187250996,4.01593625498008,4.039840637450199,2.709163346613546,4.087649402390438,4.111553784860558,2.756972111553785,4.159362549800797,2.7888446215139444,4.207171314741036,4.231075697211155,2.8366533864541834,2.852589641434263,4.302788844621514,2.8844621513944224,2.900398406374502,2.9163346613545817,2.9322709163346614,2.948207171314741,4.446215139442231,4.47011952191235,4.49402390438247,3.0119521912350598,3.0278884462151394,3.043824701195219,4.589641434262949,3.0756972111553784,3.091633466135458,4.661354581673307,4.685258964143427,3.139442231075697,3.1553784860557768,3.1713147410358564,3.187250996015936,4.804780876494024,3.2191235059760954,4.852589641434263,4.876494023904383,3.2669322709163344,3.282868525896414,4.948207171314741,4.972111553784861,4.99601593625498,5.0199203187251,5.043824701195219,5.067729083665339,3.3944223107569718,5.115537848605578,5.139442231075697,5.163346613545817,5.187250996015936,5.211155378486056,3.4900398406374498,5.258964143426295,3.521912350597609,3.5378486055776888,5.330677290836653,3.569721115537848,5.378486055776892,3.6015936254980083,3.617529880478088,5.4501992031872515,3.6494023904382473,3.665338645418327,3.6812749003984067,5.5458167330677295,3.713147410358566,5.5936254980079685,5.617529880478088,5.6414342629482075,3.7768924302788847,5.6892430278884465,5.713147410358566,5.7370517928286855,5.760956175298805,5.7848605577689245,3.8725099601593627,5.8326693227091635,3.904382470119522,3.9203187250996017,5.904382470119522,5.9282868525896415,5.952191235059761,3.9840637450199203,4.0,4.01593625498008,6.047808764940239,4.047808764940239,6.095617529880478,4.079681274900398,4.095617529880478,6.1673306772908365,4.127490039840637,4.143426294820717,6.239043824701195,6.2629482071713145,6.286852589641434,4.207171314741036,6.334661354581673,4.239043824701195,6.382470119521912,6.4063745019920315,6.430278884462151,6.4541832669322705,6.47808764940239,4.334661354581673,4.350597609561753,6.5498007968127485,6.573705179282868,4.398406374501992,4.414342629482072,4.430278884462152,6.669322709163347,6.693227091633466,6.717131474103586,4.494023904382471,6.764940239043825,6.788844621513944,4.54183266932271,6.836653386454183,6.860557768924303,4.589641434262949,6.908366533864542,6.932270916334661,4.637450199203188,6.9800796812749,7.00398406374502,7.027888446215139,4.701195219123506,7.075697211155378,7.099601593625498,7.123505976095617,4.764940239043825,7.171314741035856,7.195219123505976,4.812749003984064,7.243027888446215,7.266932270916334,4.860557768924303,7.314741035856573,4.892430278884462,4.908366533864542,7.386454183266932,4.940239043824701,7.434262948207171,4.972111553784861,7.48207171314741,5.00398406374502,5.0199203187251,7.553784860557768,5.051792828685259,5.067729083665339,7.625498007968127,5.099601593625498,7.673306772908366,7.697211155378485,5.147410358565737,5.163346613545817,5.179282868525896,7.792828685258963,5.2111553784860565,7.840637450199203,5.243027888446216,7.888446215139442,7.912350597609562,7.936254980079681,7.960159362549801,5.322709163346614,8.00796812749004,5.3545816733067735,8.055776892430279,8.079681274900398,5.4023904382470125,8.127490039840637,8.151394422310757,8.175298804780876,5.466135458167331,5.482071713147411,8.247011952191235,5.51394422310757,5.52988047808765,8.318725099601593,5.561752988047809,8.366533864541832,8.390438247011952,8.414342629482071,8.43824701195219,5.6414342629482075,8.48605577689243,5.673306772908367,5.6892430278884465,8.557768924302788,8.581673306772908,8.605577689243027,8.629482071713147,8.653386454183266,8.677290836653386,5.800796812749004,8.725099601593625,5.8326693227091635,5.848605577689243,8.796812749003983,5.8804780876494025,5.896414342629482,8.868525896414342,8.892430278884461,8.91633466135458,8.9402390438247,5.9760956175298805,5.99203187250996,6.00796812749004,9.03585657370518,9.0597609561753,9.08366533864542,6.0717131474103585,6.087649402390438,9.155378486055778,6.1195219123505975,9.203187250996017,9.227091633466136,9.250996015936256,9.274900398406375,9.298804780876495,9.322709163346614,9.346613545816734,6.247011952191235,9.394422310756973,9.418326693227092,9.442231075697212,9.466135458167331,9.49003984063745,9.51394422310757,6.3585657370517925,9.56175298804781,6.390438247011952,6.4063745019920315,6.422310756972113,6.438247011952191,9.681274900398407,9.705179282868526,6.486055776892432,9.752988047808765,6.51792828685259,9.800796812749004,6.549800796812749,6.565737051792828,6.581673306772909,9.896414342629482,6.613545816733068,9.944223107569721,6.645418326693227,9.99203187250996,6.677290836653387,10.0398406374502,6.709163346613546,10.087649402390438,6.741035856573705,6.756972111553784,10.159362549800797,6.7888446215139435,6.804780876494024,10.231075697211155,10.254980079681275,10.278884462151394,6.868525896414343,10.326693227091633,10.350597609561753,6.916334661354581,10.398406374501992,10.422310756972111,6.964143426294821,10.47011952191235,10.49402390438247,7.011952191235059,7.027888446215139,10.565737051792828,10.589641434262948,7.0756972111553775,10.637450199203187,7.107569721115537,7.123505976095617,7.139442231075696,10.733067729083665,10.756972111553784,7.187250996015936,10.804780876494025,7.219123505976095,10.852589641434264,10.876494023904382,7.266932270916335,10.92430278884462,10.948207171314742,10.97211155378486,7.330677290836654,7.346613545816733,11.04382470119522,7.378486055776892,7.394422310756973,7.410358565737051,11.139442231075698,7.442231075697211,11.187250996015937,7.47410358565737,7.490039840637451,7.505976095617529,7.52191235059761,7.537848605577689,11.330677290836654,11.354581673306772,7.585657370517929,11.40239043824701,7.617529880478088,7.633466135458167,11.474103585657371,11.498007968127489,7.681274900398407,11.545816733067728,7.713147410358566,11.593625498007967,7.745019920318725,11.641434262948206,7.776892430278885,11.689243027888445,11.713147410358566,11.737051792828684,7.840637450199203,7.856573705179282,11.808764940239044,7.888446215139441,7.904382470119522,11.8804780876494,11.904382470119522,7.95219123505976,11.952191235059761,11.976095617529879,8.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],"t":[0.0,0.0199203187250996,0.0398406374501992,0.05976095617529881,0.0796812749003984,0.099601593625498,0.11952191235059761,0.1394422310756972,0.1593625498007968,0.17928286852589642,0.199203187250996,0.21912350597609562,0.23904382470119523,0.2589641434262948,0.2788844621513944,0.29880478087649404,0.3187250996015936,0.3386454183266932,0.35856573705179284,0.3784860557768924,0.398406374501992,0.41832669322709165,0.43824701195219123,0.4581673306772908,0.47808764940239046,0.49800796812749004,0.5179282868525896,0.5378486055776892,0.5577689243027888,0.5776892430278885,0.5976095617529881,0.6175298804780877,0.6374501992031872,0.6573705179282868,0.6772908366533864,0.6972111553784861,0.7171314741035857,0.7370517928286853,0.7569721115537849,0.7768924302788844,0.796812749003984,0.8167330677290837,0.8366533864541833,0.8565737051792829,0.8764940239043825,0.896414342629482,0.9163346613545816,0.9362549800796812,0.9561752988047809,0.9760956175298805,0.9960159362549801,1.0159362549800797,1.0358565737051793,1.0557768924302788,1.0756972111553784,1.095617529880478,1.1155378486055776,1.1354581673306774,1.155378486055777,1.1752988047808766,1.1952191235059761,1.2151394422310757,1.2350597609561753,1.254980079681275,1.2749003984063745,1.294820717131474,1.3147410358565736,1.3346613545816732,1.3545816733067728,1.3745019920318724,1.3944223107569722,1.4143426294820718,1.4342629482071714,1.454183266932271,1.4741035856573705,1.4940239043824701,1.5139442231075697,1.5338645418326693,1.5537848605577689,1.5737051792828685,1.593625498007968,1.6135458167330676,1.6334661354581674,1.653386454183267,1.6733067729083666,1.6932270916334662,1.7131474103585658,1.7330677290836654,1.752988047808765,1.7729083665338645,1.792828685258964,1.8127490039840637,1.8326693227091633,1.8525896414342629,1.8725099601593624,1.8924302788844622,1.9123505976095618,1.9322709163346614,1.952191235059761,1.9721115537848606,1.9920318725099602,2.0119521912350598,2.0318725099601593,2.051792828685259,2.0717131474103585,2.091633466135458,2.1115537848605577,2.1314741035856573,2.151394422310757,2.1713147410358564,2.191235059760956,2.2111553784860556,2.231075697211155,2.250996015936255,2.270916334661355,2.2908366533864544,2.310756972111554,2.3306772908366535,2.350597609561753,2.3705179282868527,2.3904382470119523,2.410358565737052,2.4302788844621515,2.450199203187251,2.4701195219123506,2.49003984063745,2.50996015936255,2.5298804780876494,2.549800796812749,2.5697211155378485,2.589641434262948,2.6095617529880477,2.6294820717131473,2.649402390438247,2.6693227091633465,2.689243027888446,2.7091633466135456,2.729083665338645,2.749003984063745,2.768924302788845,2.7888446215139444,2.808764940239044,2.8286852589641436,2.848605577689243,2.8685258964143427,2.8884462151394423,2.908366533864542,2.9282868525896415,2.948207171314741,2.9681274900398407,2.9880478087649402,3.00796812749004,3.0278884462151394,3.047808764940239,3.0677290836653386,3.087649402390438,3.1075697211155378,3.1274900398406373,3.147410358565737,3.1673306772908365,3.187250996015936,3.2071713147410357,3.2270916334661353,3.247011952191235,3.266932270916335,3.2868525896414345,3.306772908366534,3.3266932270916336,3.346613545816733,3.366533864541833,3.3864541832669324,3.406374501992032,3.4262948207171315,3.446215139442231,3.4661354581673307,3.4860557768924303,3.50597609561753,3.5258964143426295,3.545816733067729,3.5657370517928286,3.585657370517928,3.605577689243028,3.6254980079681274,3.645418326693227,3.6653386454183265,3.685258964143426,3.7051792828685257,3.7250996015936253,3.745019920318725,3.764940239043825,3.7848605577689245,3.804780876494024,3.8247011952191237,3.8446215139442232,3.864541832669323,3.8844621513944224,3.904382470119522,3.9243027888446216,3.944223107569721,3.9641434262948207,3.9840637450199203,4.00398406374502,4.0239043824701195,4.043824701195219,4.063745019920319,4.083665338645418,4.103585657370518,4.123505976095617,4.143426294820717,4.163346613545817,4.183266932270916,4.203187250996016,4.223107569721115,4.243027888446215,4.2629482071713145,4.282868525896414,4.302788844621514,4.322709163346613,4.342629482071713,4.362549800796812,4.382470119521912,4.402390438247012,4.422310756972111,4.442231075697211,4.46215139442231,4.48207171314741,4.50199203187251,4.52191235059761,4.54183266932271,4.561752988047809,4.581673306772909,4.601593625498008,4.621513944223108,4.6414342629482075,4.661354581673307,4.681274900398407,4.701195219123506,4.721115537848606,4.741035856573705,4.760956175298805,4.780876494023905,4.800796812749004,4.820717131474104,4.840637450199203,4.860557768924303,4.8804780876494025,4.900398406374502,4.920318725099602,4.940239043824701,4.960159362549801,4.9800796812749,5.0,5.0199203187251,5.039840637450199,5.059760956175299,5.079681274900398,5.099601593625498,5.1195219123505975,5.139442231075697,5.159362549800797,5.179282868525896,5.199203187250996,5.219123505976095,5.239043824701195,5.258964143426295,5.278884462151394,5.298804780876494,5.318725099601593,5.338645418326693,5.3585657370517925,5.378486055776892,5.398406374501992,5.418326693227091,5.438247011952191,5.45816733067729,5.47808764940239,5.49800796812749,5.51792828685259,5.53784860557769,5.557768924302789,5.577689243027889,5.597609561752988,5.617529880478088,5.637450199203188,5.657370517928287,5.677290836653387,5.697211155378486,5.717131474103586,5.7370517928286855,5.756972111553785,5.776892430278885,5.796812749003984,5.816733067729084,5.836653386454183,5.856573705179283,5.876494023904383,5.896414342629482,5.916334661354582,5.936254980079681,5.956175298804781,5.9760956175298805,5.99601593625498,6.01593625498008,6.035856573705179,6.055776892430279,6.075697211155378,6.095617529880478,6.115537848605578,6.135458167330677,6.155378486055777,6.175298804780876,6.195219123505976,6.2151394422310755,6.235059760956175,6.254980079681275,6.274900398406374,6.294820717131474,6.314741035856573,6.334661354581673,6.354581673306773,6.374501992031872,6.394422310756972,6.414342629482071,6.434262948207171,6.4541832669322705,6.47410358565737,6.49402390438247,6.51394422310757,6.53386454183267,6.553784860557769,6.573705179282869,6.5936254980079685,6.613545816733068,6.633466135458168,6.653386454183267,6.673306772908367,6.693227091633466,6.713147410358566,6.733067729083666,6.752988047808765,6.772908366533865,6.792828685258964,6.812749003984064,6.8326693227091635,6.852589641434263,6.872509960159363,6.892430278884462,6.912350597609562,6.932270916334661,6.952191235059761,6.972111553784861,6.99203187250996,7.01195219123506,7.031872509960159,7.051792828685259,7.0717131474103585,7.091633466135458,7.111553784860558,7.131474103585657,7.151394422310757,7.171314741035856,7.191235059760956,7.211155378486056,7.231075697211155,7.250996015936255,7.270916334661354,7.290836653386454,7.3107569721115535,7.330677290836653,7.350597609561753,7.370517928286852,7.390438247011952,7.410358565737051,7.430278884462151,7.450199203187251,7.47011952191235,7.49003984063745,7.50996015936255,7.52988047808765,7.549800796812749,7.569721115537849,7.589641434262949,7.609561752988048,7.629482071713148,7.649402390438247,7.669322709163347,7.6892430278884465,7.709163346613546,7.729083665338646,7.749003984063745,7.768924302788845,7.788844621513944,7.808764940239044,7.828685258964144,7.848605577689243,7.868525896414343,7.888446215139442,7.908366533864542,7.9282868525896415,7.948207171314741,7.968127490039841,7.98804780876494,8.00796812749004,8.02788844621514,8.047808764940239,8.06772908366534,8.087649402390438,8.107569721115539,8.127490039840637,8.147410358565738,8.167330677290837,8.187250996015937,8.207171314741036,8.227091633466136,8.247011952191235,8.266932270916335,8.286852589641434,8.306772908366534,8.326693227091633,8.346613545816734,8.366533864541832,8.386454183266933,8.406374501992032,8.426294820717132,8.44621513944223,8.466135458167331,8.48605577689243,8.50597609561753,8.525896414342629,8.54581673306773,8.565737051792828,8.585657370517929,8.605577689243027,8.625498007968128,8.645418326693227,8.665338645418327,8.685258964143426,8.705179282868526,8.725099601593625,8.745019920318725,8.764940239043824,8.784860557768924,8.804780876494023,8.824701195219124,8.844621513944222,8.864541832669323,8.884462151394422,8.904382470119522,8.92430278884462,8.944223107569721,8.96414342629482,8.98406374501992,9.00398406374502,9.02390438247012,9.04382470119522,9.063745019920319,9.08366533864542,9.103585657370518,9.123505976095618,9.143426294820717,9.163346613545817,9.183266932270916,9.203187250996017,9.223107569721115,9.243027888446216,9.262948207171315,9.282868525896415,9.302788844621514,9.322709163346614,9.342629482071713,9.362549800796813,9.382470119521912,9.402390438247012,9.422310756972111,9.442231075697212,9.46215139442231,9.48207171314741,9.50199203187251,9.52191235059761,9.541832669322709,9.56175298804781,9.581673306772908,9.601593625498008,9.621513944223107,9.641434262948207,9.661354581673306,9.681274900398407,9.701195219123505,9.721115537848606,9.741035856573705,9.760956175298805,9.780876494023904,9.800796812749004,9.820717131474103,9.840637450199203,9.860557768924302,9.880478087649402,9.900398406374501,9.920318725099602,9.9402390438247,9.9601593625498,9.9800796812749,10.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.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-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/test/fixtures/julia/tiny_negative.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_negative.json new file mode 100644 index 000000000000..055532f6c774 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_negative.json @@ -0,0 +1 @@ +{"expected":[0.0,0.0199203187250996,0.0398406374501992,0.05976095617529881,0.0796812749003984,0.099601593625498,0.11952191235059761,0.1394422310756972,0.1593625498007968,0.17928286852589642,0.199203187250996,0.21912350597609562,0.23904382470119523,0.2589641434262948,0.2788844621513944,0.29880478087649404,0.3187250996015936,0.3386454183266932,0.35856573705179284,0.3784860557768924,0.398406374501992,0.41832669322709165,0.43824701195219123,0.4581673306772908,0.47808764940239046,0.49800796812749004,0.5179282868525896,0.5378486055776892,0.5577689243027888,0.5776892430278885,0.5976095617529881,0.6175298804780877,0.6374501992031872,0.6573705179282868,0.6772908366533864,0.6972111553784861,0.7171314741035857,0.7370517928286853,0.7569721115537849,0.7768924302788844,0.796812749003984,0.8167330677290837,0.8366533864541833,0.8565737051792829,0.8764940239043825,0.896414342629482,0.9163346613545816,0.9362549800796812,0.9561752988047809,0.9760956175298805,0.9960159362549801,1.0159362549800797,1.0358565737051793,1.0557768924302788,1.0756972111553784,1.095617529880478,1.1155378486055776,1.1354581673306774,1.155378486055777,1.1752988047808766,1.1952191235059761,1.2151394422310757,1.2350597609561753,1.254980079681275,1.2749003984063745,1.294820717131474,1.3147410358565736,1.3346613545816732,1.3545816733067728,1.3745019920318724,1.3944223107569722,1.4143426294820718,1.4342629482071714,1.454183266932271,1.4741035856573705,1.4940239043824701,1.5139442231075697,1.5338645418326693,1.5537848605577689,1.5737051792828685,1.593625498007968,1.6135458167330676,1.6334661354581674,1.653386454183267,1.6733067729083666,1.6932270916334662,1.7131474103585658,1.7330677290836654,1.752988047808765,1.7729083665338645,1.792828685258964,1.8127490039840637,1.8326693227091633,1.8525896414342629,1.8725099601593624,1.8924302788844622,1.9123505976095618,1.9322709163346614,1.952191235059761,1.9721115537848606,1.9920318725099602,2.0119521912350598,2.0318725099601593,2.051792828685259,2.0717131474103585,2.091633466135458,2.1115537848605577,2.1314741035856573,2.151394422310757,2.1713147410358564,2.191235059760956,2.2111553784860556,2.231075697211155,2.250996015936255,2.270916334661355,2.2908366533864544,2.310756972111554,2.3306772908366535,2.350597609561753,2.3705179282868527,2.3904382470119523,2.410358565737052,2.4302788844621515,2.450199203187251,2.4701195219123506,2.49003984063745,2.50996015936255,2.5298804780876494,2.549800796812749,2.5697211155378485,2.589641434262948,2.6095617529880477,2.6294820717131473,2.649402390438247,2.6693227091633465,2.689243027888446,2.7091633466135456,2.729083665338645,2.749003984063745,2.768924302788845,2.7888446215139444,2.808764940239044,2.8286852589641436,2.848605577689243,2.8685258964143427,2.8884462151394423,2.908366533864542,2.9282868525896415,2.948207171314741,2.9681274900398407,2.9880478087649402,3.00796812749004,3.0278884462151394,3.047808764940239,3.0677290836653386,3.087649402390438,3.1075697211155378,3.1274900398406373,3.147410358565737,3.1673306772908365,3.187250996015936,3.2071713147410357,3.2270916334661353,3.247011952191235,3.266932270916335,3.2868525896414345,3.306772908366534,3.3266932270916336,3.346613545816733,3.366533864541833,3.3864541832669324,3.406374501992032,3.4262948207171315,3.446215139442231,3.4661354581673307,3.4860557768924303,3.50597609561753,3.5258964143426295,3.545816733067729,3.5657370517928286,3.585657370517928,3.605577689243028,3.6254980079681274,3.645418326693227,3.6653386454183265,3.685258964143426,3.7051792828685257,3.7250996015936253,3.745019920318725,3.764940239043825,3.7848605577689245,3.804780876494024,3.8247011952191237,3.8446215139442232,3.864541832669323,3.8844621513944224,3.904382470119522,3.9243027888446216,3.944223107569721,3.9641434262948207,3.9840637450199203,4.00398406374502,4.0239043824701195,4.043824701195219,4.063745019920319,4.083665338645418,4.103585657370518,4.123505976095617,4.143426294820717,4.163346613545817,4.183266932270916,4.203187250996016,4.223107569721115,4.243027888446215,4.2629482071713145,4.282868525896414,4.302788844621514,4.322709163346613,4.342629482071713,4.362549800796812,4.382470119521912,4.402390438247012,4.422310756972111,4.442231075697211,4.46215139442231,4.48207171314741,4.50199203187251,4.52191235059761,4.54183266932271,4.561752988047809,4.581673306772909,4.601593625498008,4.621513944223108,4.6414342629482075,4.661354581673307,4.681274900398407,4.701195219123506,4.721115537848606,4.741035856573705,4.760956175298805,4.780876494023905,4.800796812749004,4.820717131474104,4.840637450199203,4.860557768924303,4.8804780876494025,4.900398406374502,4.920318725099602,4.940239043824701,4.960159362549801,4.9800796812749,5.0,5.0199203187251,5.039840637450199,5.059760956175299,5.079681274900398,5.099601593625498,5.1195219123505975,5.139442231075697,5.159362549800797,5.179282868525896,5.199203187250996,5.219123505976095,5.239043824701195,5.258964143426295,5.278884462151394,5.298804780876494,5.318725099601593,5.338645418326693,5.3585657370517925,5.378486055776892,5.398406374501992,5.418326693227091,5.438247011952191,5.45816733067729,5.47808764940239,5.49800796812749,5.51792828685259,5.53784860557769,5.557768924302789,5.577689243027889,5.597609561752988,5.617529880478088,5.637450199203188,5.657370517928287,5.677290836653387,5.697211155378486,5.717131474103586,5.7370517928286855,5.756972111553785,5.776892430278885,5.796812749003984,5.816733067729084,5.836653386454183,5.856573705179283,5.876494023904383,5.896414342629482,5.916334661354582,5.936254980079681,5.956175298804781,5.9760956175298805,5.99601593625498,6.01593625498008,6.035856573705179,6.055776892430279,6.075697211155378,6.095617529880478,6.115537848605578,6.135458167330677,6.155378486055777,6.175298804780876,6.195219123505976,6.2151394422310755,6.235059760956175,6.254980079681275,6.274900398406374,6.294820717131474,6.314741035856573,6.334661354581673,6.354581673306773,6.374501992031872,6.394422310756972,6.414342629482071,6.434262948207171,6.4541832669322705,6.47410358565737,6.49402390438247,6.51394422310757,6.53386454183267,6.553784860557769,6.573705179282869,6.5936254980079685,6.613545816733068,6.633466135458168,6.653386454183267,6.673306772908367,6.693227091633466,6.713147410358566,6.733067729083666,6.752988047808765,6.772908366533865,6.792828685258964,6.812749003984064,6.8326693227091635,6.852589641434263,6.872509960159363,6.892430278884462,6.912350597609562,6.932270916334661,6.952191235059761,6.972111553784861,6.99203187250996,7.01195219123506,7.031872509960159,7.051792828685259,7.0717131474103585,7.091633466135458,7.111553784860558,7.131474103585657,7.151394422310757,7.171314741035856,7.191235059760956,7.211155378486056,7.231075697211155,7.250996015936255,7.270916334661354,7.290836653386454,7.3107569721115535,7.330677290836653,7.350597609561753,7.370517928286852,7.390438247011952,7.410358565737051,7.430278884462151,7.450199203187251,7.47011952191235,7.49003984063745,7.50996015936255,7.52988047808765,7.549800796812749,7.569721115537849,7.589641434262949,7.609561752988048,7.629482071713148,7.649402390438247,7.669322709163347,7.6892430278884465,7.709163346613546,7.729083665338646,7.749003984063745,7.768924302788845,7.788844621513944,7.808764940239044,7.828685258964144,7.848605577689243,7.868525896414343,7.888446215139442,7.908366533864542,7.9282868525896415,7.948207171314741,7.968127490039841,7.98804780876494,8.00796812749004,8.02788844621514,8.047808764940239,8.06772908366534,8.087649402390438,8.107569721115539,8.127490039840637,8.147410358565738,8.167330677290837,8.187250996015937,8.207171314741036,8.227091633466136,8.247011952191235,8.266932270916335,8.286852589641434,8.306772908366534,8.326693227091633,8.346613545816734,8.366533864541832,8.386454183266933,8.406374501992032,8.426294820717132,8.44621513944223,8.466135458167331,8.48605577689243,8.50597609561753,8.525896414342629,8.54581673306773,8.565737051792828,8.585657370517929,8.605577689243027,8.625498007968128,8.645418326693227,8.665338645418327,8.685258964143426,8.705179282868526,8.725099601593625,8.745019920318725,8.764940239043824,8.784860557768924,8.804780876494023,8.824701195219124,8.844621513944222,8.864541832669323,8.884462151394422,8.904382470119522,8.92430278884462,8.944223107569721,8.96414342629482,8.98406374501992,9.00398406374502,9.02390438247012,9.04382470119522,9.063745019920319,9.08366533864542,9.103585657370518,9.123505976095618,9.143426294820717,9.163346613545817,9.183266932270916,9.203187250996017,9.223107569721115,9.243027888446216,9.262948207171315,9.282868525896415,9.302788844621514,9.322709163346614,9.342629482071713,9.362549800796813,9.382470119521912,9.402390438247012,9.422310756972111,9.442231075697212,9.46215139442231,9.48207171314741,9.50199203187251,9.52191235059761,9.541832669322709,9.56175298804781,9.581673306772908,9.601593625498008,9.621513944223107,9.641434262948207,9.661354581673306,9.681274900398407,9.701195219123505,9.721115537848606,9.741035856573705,9.760956175298805,9.780876494023904,9.800796812749004,9.820717131474103,9.840637450199203,9.860557768924302,9.880478087649402,9.900398406374501,9.920318725099602,9.9402390438247,9.9601593625498,9.9800796812749,10.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],"t":[0.0,0.0199203187250996,0.0398406374501992,0.05976095617529881,0.0796812749003984,0.099601593625498,0.11952191235059761,0.1394422310756972,0.1593625498007968,0.17928286852589642,0.199203187250996,0.21912350597609562,0.23904382470119523,0.2589641434262948,0.2788844621513944,0.29880478087649404,0.3187250996015936,0.3386454183266932,0.35856573705179284,0.3784860557768924,0.398406374501992,0.41832669322709165,0.43824701195219123,0.4581673306772908,0.47808764940239046,0.49800796812749004,0.5179282868525896,0.5378486055776892,0.5577689243027888,0.5776892430278885,0.5976095617529881,0.6175298804780877,0.6374501992031872,0.6573705179282868,0.6772908366533864,0.6972111553784861,0.7171314741035857,0.7370517928286853,0.7569721115537849,0.7768924302788844,0.796812749003984,0.8167330677290837,0.8366533864541833,0.8565737051792829,0.8764940239043825,0.896414342629482,0.9163346613545816,0.9362549800796812,0.9561752988047809,0.9760956175298805,0.9960159362549801,1.0159362549800797,1.0358565737051793,1.0557768924302788,1.0756972111553784,1.095617529880478,1.1155378486055776,1.1354581673306774,1.155378486055777,1.1752988047808766,1.1952191235059761,1.2151394422310757,1.2350597609561753,1.254980079681275,1.2749003984063745,1.294820717131474,1.3147410358565736,1.3346613545816732,1.3545816733067728,1.3745019920318724,1.3944223107569722,1.4143426294820718,1.4342629482071714,1.454183266932271,1.4741035856573705,1.4940239043824701,1.5139442231075697,1.5338645418326693,1.5537848605577689,1.5737051792828685,1.593625498007968,1.6135458167330676,1.6334661354581674,1.653386454183267,1.6733067729083666,1.6932270916334662,1.7131474103585658,1.7330677290836654,1.752988047808765,1.7729083665338645,1.792828685258964,1.8127490039840637,1.8326693227091633,1.8525896414342629,1.8725099601593624,1.8924302788844622,1.9123505976095618,1.9322709163346614,1.952191235059761,1.9721115537848606,1.9920318725099602,2.0119521912350598,2.0318725099601593,2.051792828685259,2.0717131474103585,2.091633466135458,2.1115537848605577,2.1314741035856573,2.151394422310757,2.1713147410358564,2.191235059760956,2.2111553784860556,2.231075697211155,2.250996015936255,2.270916334661355,2.2908366533864544,2.310756972111554,2.3306772908366535,2.350597609561753,2.3705179282868527,2.3904382470119523,2.410358565737052,2.4302788844621515,2.450199203187251,2.4701195219123506,2.49003984063745,2.50996015936255,2.5298804780876494,2.549800796812749,2.5697211155378485,2.589641434262948,2.6095617529880477,2.6294820717131473,2.649402390438247,2.6693227091633465,2.689243027888446,2.7091633466135456,2.729083665338645,2.749003984063745,2.768924302788845,2.7888446215139444,2.808764940239044,2.8286852589641436,2.848605577689243,2.8685258964143427,2.8884462151394423,2.908366533864542,2.9282868525896415,2.948207171314741,2.9681274900398407,2.9880478087649402,3.00796812749004,3.0278884462151394,3.047808764940239,3.0677290836653386,3.087649402390438,3.1075697211155378,3.1274900398406373,3.147410358565737,3.1673306772908365,3.187250996015936,3.2071713147410357,3.2270916334661353,3.247011952191235,3.266932270916335,3.2868525896414345,3.306772908366534,3.3266932270916336,3.346613545816733,3.366533864541833,3.3864541832669324,3.406374501992032,3.4262948207171315,3.446215139442231,3.4661354581673307,3.4860557768924303,3.50597609561753,3.5258964143426295,3.545816733067729,3.5657370517928286,3.585657370517928,3.605577689243028,3.6254980079681274,3.645418326693227,3.6653386454183265,3.685258964143426,3.7051792828685257,3.7250996015936253,3.745019920318725,3.764940239043825,3.7848605577689245,3.804780876494024,3.8247011952191237,3.8446215139442232,3.864541832669323,3.8844621513944224,3.904382470119522,3.9243027888446216,3.944223107569721,3.9641434262948207,3.9840637450199203,4.00398406374502,4.0239043824701195,4.043824701195219,4.063745019920319,4.083665338645418,4.103585657370518,4.123505976095617,4.143426294820717,4.163346613545817,4.183266932270916,4.203187250996016,4.223107569721115,4.243027888446215,4.2629482071713145,4.282868525896414,4.302788844621514,4.322709163346613,4.342629482071713,4.362549800796812,4.382470119521912,4.402390438247012,4.422310756972111,4.442231075697211,4.46215139442231,4.48207171314741,4.50199203187251,4.52191235059761,4.54183266932271,4.561752988047809,4.581673306772909,4.601593625498008,4.621513944223108,4.6414342629482075,4.661354581673307,4.681274900398407,4.701195219123506,4.721115537848606,4.741035856573705,4.760956175298805,4.780876494023905,4.800796812749004,4.820717131474104,4.840637450199203,4.860557768924303,4.8804780876494025,4.900398406374502,4.920318725099602,4.940239043824701,4.960159362549801,4.9800796812749,5.0,5.0199203187251,5.039840637450199,5.059760956175299,5.079681274900398,5.099601593625498,5.1195219123505975,5.139442231075697,5.159362549800797,5.179282868525896,5.199203187250996,5.219123505976095,5.239043824701195,5.258964143426295,5.278884462151394,5.298804780876494,5.318725099601593,5.338645418326693,5.3585657370517925,5.378486055776892,5.398406374501992,5.418326693227091,5.438247011952191,5.45816733067729,5.47808764940239,5.49800796812749,5.51792828685259,5.53784860557769,5.557768924302789,5.577689243027889,5.597609561752988,5.617529880478088,5.637450199203188,5.657370517928287,5.677290836653387,5.697211155378486,5.717131474103586,5.7370517928286855,5.756972111553785,5.776892430278885,5.796812749003984,5.816733067729084,5.836653386454183,5.856573705179283,5.876494023904383,5.896414342629482,5.916334661354582,5.936254980079681,5.956175298804781,5.9760956175298805,5.99601593625498,6.01593625498008,6.035856573705179,6.055776892430279,6.075697211155378,6.095617529880478,6.115537848605578,6.135458167330677,6.155378486055777,6.175298804780876,6.195219123505976,6.2151394422310755,6.235059760956175,6.254980079681275,6.274900398406374,6.294820717131474,6.314741035856573,6.334661354581673,6.354581673306773,6.374501992031872,6.394422310756972,6.414342629482071,6.434262948207171,6.4541832669322705,6.47410358565737,6.49402390438247,6.51394422310757,6.53386454183267,6.553784860557769,6.573705179282869,6.5936254980079685,6.613545816733068,6.633466135458168,6.653386454183267,6.673306772908367,6.693227091633466,6.713147410358566,6.733067729083666,6.752988047808765,6.772908366533865,6.792828685258964,6.812749003984064,6.8326693227091635,6.852589641434263,6.872509960159363,6.892430278884462,6.912350597609562,6.932270916334661,6.952191235059761,6.972111553784861,6.99203187250996,7.01195219123506,7.031872509960159,7.051792828685259,7.0717131474103585,7.091633466135458,7.111553784860558,7.131474103585657,7.151394422310757,7.171314741035856,7.191235059760956,7.211155378486056,7.231075697211155,7.250996015936255,7.270916334661354,7.290836653386454,7.3107569721115535,7.330677290836653,7.350597609561753,7.370517928286852,7.390438247011952,7.410358565737051,7.430278884462151,7.450199203187251,7.47011952191235,7.49003984063745,7.50996015936255,7.52988047808765,7.549800796812749,7.569721115537849,7.589641434262949,7.609561752988048,7.629482071713148,7.649402390438247,7.669322709163347,7.6892430278884465,7.709163346613546,7.729083665338646,7.749003984063745,7.768924302788845,7.788844621513944,7.808764940239044,7.828685258964144,7.848605577689243,7.868525896414343,7.888446215139442,7.908366533864542,7.9282868525896415,7.948207171314741,7.968127490039841,7.98804780876494,8.00796812749004,8.02788844621514,8.047808764940239,8.06772908366534,8.087649402390438,8.107569721115539,8.127490039840637,8.147410358565738,8.167330677290837,8.187250996015937,8.207171314741036,8.227091633466136,8.247011952191235,8.266932270916335,8.286852589641434,8.306772908366534,8.326693227091633,8.346613545816734,8.366533864541832,8.386454183266933,8.406374501992032,8.426294820717132,8.44621513944223,8.466135458167331,8.48605577689243,8.50597609561753,8.525896414342629,8.54581673306773,8.565737051792828,8.585657370517929,8.605577689243027,8.625498007968128,8.645418326693227,8.665338645418327,8.685258964143426,8.705179282868526,8.725099601593625,8.745019920318725,8.764940239043824,8.784860557768924,8.804780876494023,8.824701195219124,8.844621513944222,8.864541832669323,8.884462151394422,8.904382470119522,8.92430278884462,8.944223107569721,8.96414342629482,8.98406374501992,9.00398406374502,9.02390438247012,9.04382470119522,9.063745019920319,9.08366533864542,9.103585657370518,9.123505976095618,9.143426294820717,9.163346613545817,9.183266932270916,9.203187250996017,9.223107569721115,9.243027888446216,9.262948207171315,9.282868525896415,9.302788844621514,9.322709163346614,9.342629482071713,9.362549800796813,9.382470119521912,9.402390438247012,9.422310756972111,9.442231075697212,9.46215139442231,9.48207171314741,9.50199203187251,9.52191235059761,9.541832669322709,9.56175298804781,9.581673306772908,9.601593625498008,9.621513944223107,9.641434262948207,9.661354581673306,9.681274900398407,9.701195219123505,9.721115537848606,9.741035856573705,9.760956175298805,9.780876494023904,9.800796812749004,9.820717131474103,9.840637450199203,9.860557768924302,9.880478087649402,9.900398406374501,9.920318725099602,9.9402390438247,9.9601593625498,9.9800796812749,10.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.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-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/test/fixtures/julia/tiny_positive.json b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_positive.json new file mode 100644 index 000000000000..8c01d2b81bc6 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/fixtures/julia/tiny_positive.json @@ -0,0 +1 @@ +{"expected":[0.0,0.0199203187250996,0.0398406374501992,0.05976095617529881,0.0796812749003984,0.099601593625498,0.11952191235059761,0.1394422310756972,0.1593625498007968,0.17928286852589642,0.199203187250996,0.21912350597609562,0.23904382470119523,0.2589641434262948,0.2788844621513944,0.29880478087649404,0.3187250996015936,0.3386454183266932,0.35856573705179284,0.3784860557768924,0.398406374501992,0.41832669322709165,0.43824701195219123,0.4581673306772908,0.47808764940239046,0.49800796812749004,0.5179282868525896,0.5378486055776892,0.5577689243027888,0.5776892430278885,0.5976095617529881,0.6175298804780877,0.6374501992031872,0.6573705179282868,0.6772908366533864,0.6972111553784861,0.7171314741035857,0.7370517928286853,0.7569721115537849,0.7768924302788844,0.796812749003984,0.8167330677290837,0.8366533864541833,0.8565737051792829,0.8764940239043825,0.896414342629482,0.9163346613545816,0.9362549800796812,0.9561752988047809,0.9760956175298805,0.9960159362549801,1.0159362549800797,1.0358565737051793,1.0557768924302788,1.0756972111553784,1.095617529880478,1.1155378486055776,1.1354581673306774,1.155378486055777,1.1752988047808766,1.1952191235059761,1.2151394422310757,1.2350597609561753,1.254980079681275,1.2749003984063745,1.294820717131474,1.3147410358565736,1.3346613545816732,1.3545816733067728,1.3745019920318724,1.3944223107569722,1.4143426294820718,1.4342629482071714,1.454183266932271,1.4741035856573705,1.4940239043824701,1.5139442231075697,1.5338645418326693,1.5537848605577689,1.5737051792828685,1.593625498007968,1.6135458167330676,1.6334661354581674,1.653386454183267,1.6733067729083666,1.6932270916334662,1.7131474103585658,1.7330677290836654,1.752988047808765,1.7729083665338645,1.792828685258964,1.8127490039840637,1.8326693227091633,1.8525896414342629,1.8725099601593624,1.8924302788844622,1.9123505976095618,1.9322709163346614,1.952191235059761,1.9721115537848606,1.9920318725099602,2.0119521912350598,2.0318725099601593,2.051792828685259,2.0717131474103585,2.091633466135458,2.1115537848605577,2.1314741035856573,2.151394422310757,2.1713147410358564,2.191235059760956,2.2111553784860556,2.231075697211155,2.250996015936255,2.270916334661355,2.2908366533864544,2.310756972111554,2.3306772908366535,2.350597609561753,2.3705179282868527,2.3904382470119523,2.410358565737052,2.4302788844621515,2.450199203187251,2.4701195219123506,2.49003984063745,2.50996015936255,2.5298804780876494,2.549800796812749,2.5697211155378485,2.589641434262948,2.6095617529880477,2.6294820717131473,2.649402390438247,2.6693227091633465,2.689243027888446,2.7091633466135456,2.729083665338645,2.749003984063745,2.768924302788845,2.7888446215139444,2.808764940239044,2.8286852589641436,2.848605577689243,2.8685258964143427,2.8884462151394423,2.908366533864542,2.9282868525896415,2.948207171314741,2.9681274900398407,2.9880478087649402,3.00796812749004,3.0278884462151394,3.047808764940239,3.0677290836653386,3.087649402390438,3.1075697211155378,3.1274900398406373,3.147410358565737,3.1673306772908365,3.187250996015936,3.2071713147410357,3.2270916334661353,3.247011952191235,3.266932270916335,3.2868525896414345,3.306772908366534,3.3266932270916336,3.346613545816733,3.366533864541833,3.3864541832669324,3.406374501992032,3.4262948207171315,3.446215139442231,3.4661354581673307,3.4860557768924303,3.50597609561753,3.5258964143426295,3.545816733067729,3.5657370517928286,3.585657370517928,3.605577689243028,3.6254980079681274,3.645418326693227,3.6653386454183265,3.685258964143426,3.7051792828685257,3.7250996015936253,3.745019920318725,3.764940239043825,3.7848605577689245,3.804780876494024,3.8247011952191237,3.8446215139442232,3.864541832669323,3.8844621513944224,3.904382470119522,3.9243027888446216,3.944223107569721,3.9641434262948207,3.9840637450199203,4.00398406374502,4.0239043824701195,4.043824701195219,4.063745019920319,4.083665338645418,4.103585657370518,4.123505976095617,4.143426294820717,4.163346613545817,4.183266932270916,4.203187250996016,4.223107569721115,4.243027888446215,4.2629482071713145,4.282868525896414,4.302788844621514,4.322709163346613,4.342629482071713,4.362549800796812,4.382470119521912,4.402390438247012,4.422310756972111,4.442231075697211,4.46215139442231,4.48207171314741,4.50199203187251,4.52191235059761,4.54183266932271,4.561752988047809,4.581673306772909,4.601593625498008,4.621513944223108,4.6414342629482075,4.661354581673307,4.681274900398407,4.701195219123506,4.721115537848606,4.741035856573705,4.760956175298805,4.780876494023905,4.800796812749004,4.820717131474104,4.840637450199203,4.860557768924303,4.8804780876494025,4.900398406374502,4.920318725099602,4.940239043824701,4.960159362549801,4.9800796812749,5.0,5.0199203187251,5.039840637450199,5.059760956175299,5.079681274900398,5.099601593625498,5.1195219123505975,5.139442231075697,5.159362549800797,5.179282868525896,5.199203187250996,5.219123505976095,5.239043824701195,5.258964143426295,5.278884462151394,5.298804780876494,5.318725099601593,5.338645418326693,5.3585657370517925,5.378486055776892,5.398406374501992,5.418326693227091,5.438247011952191,5.45816733067729,5.47808764940239,5.49800796812749,5.51792828685259,5.53784860557769,5.557768924302789,5.577689243027889,5.597609561752988,5.617529880478088,5.637450199203188,5.657370517928287,5.677290836653387,5.697211155378486,5.717131474103586,5.7370517928286855,5.756972111553785,5.776892430278885,5.796812749003984,5.816733067729084,5.836653386454183,5.856573705179283,5.876494023904383,5.896414342629482,5.916334661354582,5.936254980079681,5.956175298804781,5.9760956175298805,5.99601593625498,6.01593625498008,6.035856573705179,6.055776892430279,6.075697211155378,6.095617529880478,6.115537848605578,6.135458167330677,6.155378486055777,6.175298804780876,6.195219123505976,6.2151394422310755,6.235059760956175,6.254980079681275,6.274900398406374,6.294820717131474,6.314741035856573,6.334661354581673,6.354581673306773,6.374501992031872,6.394422310756972,6.414342629482071,6.434262948207171,6.4541832669322705,6.47410358565737,6.49402390438247,6.51394422310757,6.53386454183267,6.553784860557769,6.573705179282869,6.5936254980079685,6.613545816733068,6.633466135458168,6.653386454183267,6.673306772908367,6.693227091633466,6.713147410358566,6.733067729083666,6.752988047808765,6.772908366533865,6.792828685258964,6.812749003984064,6.8326693227091635,6.852589641434263,6.872509960159363,6.892430278884462,6.912350597609562,6.932270916334661,6.952191235059761,6.972111553784861,6.99203187250996,7.01195219123506,7.031872509960159,7.051792828685259,7.0717131474103585,7.091633466135458,7.111553784860558,7.131474103585657,7.151394422310757,7.171314741035856,7.191235059760956,7.211155378486056,7.231075697211155,7.250996015936255,7.270916334661354,7.290836653386454,7.3107569721115535,7.330677290836653,7.350597609561753,7.370517928286852,7.390438247011952,7.410358565737051,7.430278884462151,7.450199203187251,7.47011952191235,7.49003984063745,7.50996015936255,7.52988047808765,7.549800796812749,7.569721115537849,7.589641434262949,7.609561752988048,7.629482071713148,7.649402390438247,7.669322709163347,7.6892430278884465,7.709163346613546,7.729083665338646,7.749003984063745,7.768924302788845,7.788844621513944,7.808764940239044,7.828685258964144,7.848605577689243,7.868525896414343,7.888446215139442,7.908366533864542,7.9282868525896415,7.948207171314741,7.968127490039841,7.98804780876494,8.00796812749004,8.02788844621514,8.047808764940239,8.06772908366534,8.087649402390438,8.107569721115539,8.127490039840637,8.147410358565738,8.167330677290837,8.187250996015937,8.207171314741036,8.227091633466136,8.247011952191235,8.266932270916335,8.286852589641434,8.306772908366534,8.326693227091633,8.346613545816734,8.366533864541832,8.386454183266933,8.406374501992032,8.426294820717132,8.44621513944223,8.466135458167331,8.48605577689243,8.50597609561753,8.525896414342629,8.54581673306773,8.565737051792828,8.585657370517929,8.605577689243027,8.625498007968128,8.645418326693227,8.665338645418327,8.685258964143426,8.705179282868526,8.725099601593625,8.745019920318725,8.764940239043824,8.784860557768924,8.804780876494023,8.824701195219124,8.844621513944222,8.864541832669323,8.884462151394422,8.904382470119522,8.92430278884462,8.944223107569721,8.96414342629482,8.98406374501992,9.00398406374502,9.02390438247012,9.04382470119522,9.063745019920319,9.08366533864542,9.103585657370518,9.123505976095618,9.143426294820717,9.163346613545817,9.183266932270916,9.203187250996017,9.223107569721115,9.243027888446216,9.262948207171315,9.282868525896415,9.302788844621514,9.322709163346614,9.342629482071713,9.362549800796813,9.382470119521912,9.402390438247012,9.422310756972111,9.442231075697212,9.46215139442231,9.48207171314741,9.50199203187251,9.52191235059761,9.541832669322709,9.56175298804781,9.581673306772908,9.601593625498008,9.621513944223107,9.641434262948207,9.661354581673306,9.681274900398407,9.701195219123505,9.721115537848606,9.741035856573705,9.760956175298805,9.780876494023904,9.800796812749004,9.820717131474103,9.840637450199203,9.860557768924302,9.880478087649402,9.900398406374501,9.920318725099602,9.9402390438247,9.9601593625498,9.9800796812749,10.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],"t":[0.0,0.0199203187250996,0.0398406374501992,0.05976095617529881,0.0796812749003984,0.099601593625498,0.11952191235059761,0.1394422310756972,0.1593625498007968,0.17928286852589642,0.199203187250996,0.21912350597609562,0.23904382470119523,0.2589641434262948,0.2788844621513944,0.29880478087649404,0.3187250996015936,0.3386454183266932,0.35856573705179284,0.3784860557768924,0.398406374501992,0.41832669322709165,0.43824701195219123,0.4581673306772908,0.47808764940239046,0.49800796812749004,0.5179282868525896,0.5378486055776892,0.5577689243027888,0.5776892430278885,0.5976095617529881,0.6175298804780877,0.6374501992031872,0.6573705179282868,0.6772908366533864,0.6972111553784861,0.7171314741035857,0.7370517928286853,0.7569721115537849,0.7768924302788844,0.796812749003984,0.8167330677290837,0.8366533864541833,0.8565737051792829,0.8764940239043825,0.896414342629482,0.9163346613545816,0.9362549800796812,0.9561752988047809,0.9760956175298805,0.9960159362549801,1.0159362549800797,1.0358565737051793,1.0557768924302788,1.0756972111553784,1.095617529880478,1.1155378486055776,1.1354581673306774,1.155378486055777,1.1752988047808766,1.1952191235059761,1.2151394422310757,1.2350597609561753,1.254980079681275,1.2749003984063745,1.294820717131474,1.3147410358565736,1.3346613545816732,1.3545816733067728,1.3745019920318724,1.3944223107569722,1.4143426294820718,1.4342629482071714,1.454183266932271,1.4741035856573705,1.4940239043824701,1.5139442231075697,1.5338645418326693,1.5537848605577689,1.5737051792828685,1.593625498007968,1.6135458167330676,1.6334661354581674,1.653386454183267,1.6733067729083666,1.6932270916334662,1.7131474103585658,1.7330677290836654,1.752988047808765,1.7729083665338645,1.792828685258964,1.8127490039840637,1.8326693227091633,1.8525896414342629,1.8725099601593624,1.8924302788844622,1.9123505976095618,1.9322709163346614,1.952191235059761,1.9721115537848606,1.9920318725099602,2.0119521912350598,2.0318725099601593,2.051792828685259,2.0717131474103585,2.091633466135458,2.1115537848605577,2.1314741035856573,2.151394422310757,2.1713147410358564,2.191235059760956,2.2111553784860556,2.231075697211155,2.250996015936255,2.270916334661355,2.2908366533864544,2.310756972111554,2.3306772908366535,2.350597609561753,2.3705179282868527,2.3904382470119523,2.410358565737052,2.4302788844621515,2.450199203187251,2.4701195219123506,2.49003984063745,2.50996015936255,2.5298804780876494,2.549800796812749,2.5697211155378485,2.589641434262948,2.6095617529880477,2.6294820717131473,2.649402390438247,2.6693227091633465,2.689243027888446,2.7091633466135456,2.729083665338645,2.749003984063745,2.768924302788845,2.7888446215139444,2.808764940239044,2.8286852589641436,2.848605577689243,2.8685258964143427,2.8884462151394423,2.908366533864542,2.9282868525896415,2.948207171314741,2.9681274900398407,2.9880478087649402,3.00796812749004,3.0278884462151394,3.047808764940239,3.0677290836653386,3.087649402390438,3.1075697211155378,3.1274900398406373,3.147410358565737,3.1673306772908365,3.187250996015936,3.2071713147410357,3.2270916334661353,3.247011952191235,3.266932270916335,3.2868525896414345,3.306772908366534,3.3266932270916336,3.346613545816733,3.366533864541833,3.3864541832669324,3.406374501992032,3.4262948207171315,3.446215139442231,3.4661354581673307,3.4860557768924303,3.50597609561753,3.5258964143426295,3.545816733067729,3.5657370517928286,3.585657370517928,3.605577689243028,3.6254980079681274,3.645418326693227,3.6653386454183265,3.685258964143426,3.7051792828685257,3.7250996015936253,3.745019920318725,3.764940239043825,3.7848605577689245,3.804780876494024,3.8247011952191237,3.8446215139442232,3.864541832669323,3.8844621513944224,3.904382470119522,3.9243027888446216,3.944223107569721,3.9641434262948207,3.9840637450199203,4.00398406374502,4.0239043824701195,4.043824701195219,4.063745019920319,4.083665338645418,4.103585657370518,4.123505976095617,4.143426294820717,4.163346613545817,4.183266932270916,4.203187250996016,4.223107569721115,4.243027888446215,4.2629482071713145,4.282868525896414,4.302788844621514,4.322709163346613,4.342629482071713,4.362549800796812,4.382470119521912,4.402390438247012,4.422310756972111,4.442231075697211,4.46215139442231,4.48207171314741,4.50199203187251,4.52191235059761,4.54183266932271,4.561752988047809,4.581673306772909,4.601593625498008,4.621513944223108,4.6414342629482075,4.661354581673307,4.681274900398407,4.701195219123506,4.721115537848606,4.741035856573705,4.760956175298805,4.780876494023905,4.800796812749004,4.820717131474104,4.840637450199203,4.860557768924303,4.8804780876494025,4.900398406374502,4.920318725099602,4.940239043824701,4.960159362549801,4.9800796812749,5.0,5.0199203187251,5.039840637450199,5.059760956175299,5.079681274900398,5.099601593625498,5.1195219123505975,5.139442231075697,5.159362549800797,5.179282868525896,5.199203187250996,5.219123505976095,5.239043824701195,5.258964143426295,5.278884462151394,5.298804780876494,5.318725099601593,5.338645418326693,5.3585657370517925,5.378486055776892,5.398406374501992,5.418326693227091,5.438247011952191,5.45816733067729,5.47808764940239,5.49800796812749,5.51792828685259,5.53784860557769,5.557768924302789,5.577689243027889,5.597609561752988,5.617529880478088,5.637450199203188,5.657370517928287,5.677290836653387,5.697211155378486,5.717131474103586,5.7370517928286855,5.756972111553785,5.776892430278885,5.796812749003984,5.816733067729084,5.836653386454183,5.856573705179283,5.876494023904383,5.896414342629482,5.916334661354582,5.936254980079681,5.956175298804781,5.9760956175298805,5.99601593625498,6.01593625498008,6.035856573705179,6.055776892430279,6.075697211155378,6.095617529880478,6.115537848605578,6.135458167330677,6.155378486055777,6.175298804780876,6.195219123505976,6.2151394422310755,6.235059760956175,6.254980079681275,6.274900398406374,6.294820717131474,6.314741035856573,6.334661354581673,6.354581673306773,6.374501992031872,6.394422310756972,6.414342629482071,6.434262948207171,6.4541832669322705,6.47410358565737,6.49402390438247,6.51394422310757,6.53386454183267,6.553784860557769,6.573705179282869,6.5936254980079685,6.613545816733068,6.633466135458168,6.653386454183267,6.673306772908367,6.693227091633466,6.713147410358566,6.733067729083666,6.752988047808765,6.772908366533865,6.792828685258964,6.812749003984064,6.8326693227091635,6.852589641434263,6.872509960159363,6.892430278884462,6.912350597609562,6.932270916334661,6.952191235059761,6.972111553784861,6.99203187250996,7.01195219123506,7.031872509960159,7.051792828685259,7.0717131474103585,7.091633466135458,7.111553784860558,7.131474103585657,7.151394422310757,7.171314741035856,7.191235059760956,7.211155378486056,7.231075697211155,7.250996015936255,7.270916334661354,7.290836653386454,7.3107569721115535,7.330677290836653,7.350597609561753,7.370517928286852,7.390438247011952,7.410358565737051,7.430278884462151,7.450199203187251,7.47011952191235,7.49003984063745,7.50996015936255,7.52988047808765,7.549800796812749,7.569721115537849,7.589641434262949,7.609561752988048,7.629482071713148,7.649402390438247,7.669322709163347,7.6892430278884465,7.709163346613546,7.729083665338646,7.749003984063745,7.768924302788845,7.788844621513944,7.808764940239044,7.828685258964144,7.848605577689243,7.868525896414343,7.888446215139442,7.908366533864542,7.9282868525896415,7.948207171314741,7.968127490039841,7.98804780876494,8.00796812749004,8.02788844621514,8.047808764940239,8.06772908366534,8.087649402390438,8.107569721115539,8.127490039840637,8.147410358565738,8.167330677290837,8.187250996015937,8.207171314741036,8.227091633466136,8.247011952191235,8.266932270916335,8.286852589641434,8.306772908366534,8.326693227091633,8.346613545816734,8.366533864541832,8.386454183266933,8.406374501992032,8.426294820717132,8.44621513944223,8.466135458167331,8.48605577689243,8.50597609561753,8.525896414342629,8.54581673306773,8.565737051792828,8.585657370517929,8.605577689243027,8.625498007968128,8.645418326693227,8.665338645418327,8.685258964143426,8.705179282868526,8.725099601593625,8.745019920318725,8.764940239043824,8.784860557768924,8.804780876494023,8.824701195219124,8.844621513944222,8.864541832669323,8.884462151394422,8.904382470119522,8.92430278884462,8.944223107569721,8.96414342629482,8.98406374501992,9.00398406374502,9.02390438247012,9.04382470119522,9.063745019920319,9.08366533864542,9.103585657370518,9.123505976095618,9.143426294820717,9.163346613545817,9.183266932270916,9.203187250996017,9.223107569721115,9.243027888446216,9.262948207171315,9.282868525896415,9.302788844621514,9.322709163346614,9.342629482071713,9.362549800796813,9.382470119521912,9.402390438247012,9.422310756972111,9.442231075697212,9.46215139442231,9.48207171314741,9.50199203187251,9.52191235059761,9.541832669322709,9.56175298804781,9.581673306772908,9.601593625498008,9.621513944223107,9.641434262948207,9.661354581673306,9.681274900398407,9.701195219123505,9.721115537848606,9.741035856573705,9.760956175298805,9.780876494023904,9.800796812749004,9.820717131474103,9.840637450199203,9.860557768924302,9.880478087649402,9.900398406374501,9.920318725099602,9.9402390438247,9.9601593625498,9.9800796812749,10.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.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,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/test/test.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.js new file mode 100644 index 000000000000..bc8e375729a8 --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 hinge = 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 hinge, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hinge loss for tiny positive values', function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = tinyPositive.t; + y = tinyPositive.y; + p = tinyPositive.p; + expected = tinyPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 for small positive values', function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = smallPositive.t; + y = smallPositive.y; + p = smallPositive.p; + expected = smallPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 for tiny negative values', function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = tinyNegative.t; + y = tinyNegative.y; + p = tinyNegative.p; + expected = tinyNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 for small negative values', function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = smallNegative.t; + y = smallNegative.y; + p = smallNegative.p; + expected = smallNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 = hinge( NaN, 1.0, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 1.0, NaN, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 1.0, 1.0, NaN ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 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 = hinge( 2.0, -0.9, 1.0 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 4.2, 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/test/test.native.js b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/test/test.native.js new file mode 100644 index 000000000000..c1bac72c26eb --- /dev/null +++ b/lib/node_modules/@stdlib/ml/base/loss/float64/hinge/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 hinge = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( hinge instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof hinge, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hinge loss for tiny positive values', opts, function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = tinyPositive.t; + y = tinyPositive.y; + p = tinyPositive.p; + expected = tinyPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 for small positive values', opts, function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = smallPositive.t; + y = smallPositive.y; + p = smallPositive.p; + expected = smallPositive.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 for tiny negative values', opts, function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = tinyNegative.t; + y = tinyNegative.y; + p = tinyNegative.p; + expected = tinyNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 for small negative values', opts, function test( t ) { + var expected; + var th; + var y; + var p; + var v; + var i; + + th = smallNegative.t; + y = smallNegative.y; + p = smallNegative.p; + expected = smallNegative.expected; + for ( i = 0; i < y.length; i++ ) { + v = hinge( th[ 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 = hinge( NaN, 1.0, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 1.0, NaN, 0.782 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 1.0, 1.0, NaN ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 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 = hinge( 2.0, -0.9, 1.0 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + + v = hinge( 4.2, 0.453, 0.76 ); + t.strictEqual( isnan( v ), true, 'returns expected value' ); + t.end(); +});