From 096cdc94a054eac3993559b1dd72afb6c44b6eda Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Wed, 17 Apr 2024 00:59:35 +0000 Subject: [PATCH] Update artifacts --- blas/ext/base/snansumors/coverage.ndjson | 1 + blas/ext/base/snansumors/index.html | 206 +++++++++++ blas/ext/base/snansumors/index.js.html | 292 ++++++++++++++++ blas/ext/base/snansumors/main.js.html | 190 +++++++++++ blas/ext/base/snansumors/native.js.html | 190 +++++++++++ blas/ext/base/snansumors/ndarray.js.html | 307 +++++++++++++++++ .../base/snansumors/ndarray.native.js.html | 259 ++++++++++++++ blas/ext/base/snansumors/snansumors.js.html | 319 ++++++++++++++++++ .../base/snansumors/snansumors.native.js.html | 241 +++++++++++++ 9 files changed, 2005 insertions(+) create mode 100644 blas/ext/base/snansumors/coverage.ndjson create mode 100644 blas/ext/base/snansumors/index.html create mode 100644 blas/ext/base/snansumors/index.js.html create mode 100644 blas/ext/base/snansumors/main.js.html create mode 100644 blas/ext/base/snansumors/native.js.html create mode 100644 blas/ext/base/snansumors/ndarray.js.html create mode 100644 blas/ext/base/snansumors/ndarray.native.js.html create mode 100644 blas/ext/base/snansumors/snansumors.js.html create mode 100644 blas/ext/base/snansumors/snansumors.native.js.html diff --git a/blas/ext/base/snansumors/coverage.ndjson b/blas/ext/base/snansumors/coverage.ndjson new file mode 100644 index 000000000..d503b739e --- /dev/null +++ b/blas/ext/base/snansumors/coverage.ndjson @@ -0,0 +1 @@ +[401,401,100,37,37,100,4,4,100,401,401,100,"326479a0533ad89929eac59ad1b122cd8cd9cc5f","2024-04-16 20:57:17 -0400"] diff --git a/blas/ext/base/snansumors/index.html b/blas/ext/base/snansumors/index.html new file mode 100644 index 000000000..f40d9f421 --- /dev/null +++ b/blas/ext/base/snansumors/index.html @@ -0,0 +1,206 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib + + + + + + + + + +
+
+

All files blas/ext/base/snansumors/lib

+
+ +
+ 100% + Statements + 401/401 +
+ + +
+ 100% + Branches + 37/37 +
+ + +
+ 100% + Functions + 4/4 +
+ + +
+ 100% + Lines + 401/401 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
index.js +
+
100%69/69100%3/3100%0/0100%69/69
main.js +
+
100%35/35100%1/1100%0/0100%35/35
native.js +
+
100%35/35100%1/1100%0/0100%35/35
ndarray.js +
+
100%74/74100%12/12100%1/1100%74/74
ndarray.native.js +
+
100%58/58100%3/3100%1/1100%58/58
snansumors.js +
+
100%78/78100%15/15100%1/1100%78/78
snansumors.native.js +
+
100%52/52100%2/2100%1/1100%52/52
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/index.js.html b/blas/ext/base/snansumors/index.js.html new file mode 100644 index 000000000..eda290df2 --- /dev/null +++ b/blas/ext/base/snansumors/index.js.html @@ -0,0 +1,292 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/index.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib index.js

+
+ +
+ 100% + Statements + 69/69 +
+ + +
+ 100% + Branches + 3/3 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 69/69 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +703x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +1x +3x +2x +2x +3x +3x +3x +3x +3x +3x +3x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 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';
+ 
+/**
+* Compute the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation.
+*
+* @module @stdlib/blas/ext/base/snansumors
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+* var snansumors = require( '@stdlib/blas/ext/base/snansumors' );
+*
+* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
+* var N = x.length;
+*
+* var v = snansumors( N, x, 1 );
+* // returns 1.0
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+* var snansumors = require( '@stdlib/blas/ext/base/snansumors' );
+*
+* var x = new Float32Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0, NaN, NaN ] );
+*
+* var v = snansumors.ndarray( 5, x, 2, 1 );
+* // returns 5.0
+*/
+ 
+// MODULES //
+ 
+var join = require( 'path' ).join;
+var tryRequire = require( '@stdlib/utils/try-require' );
+var isError = require( '@stdlib/assert/is-error' );
+var main = require( './main.js' );
+ 
+ 
+// MAIN //
+ 
+var snansumors;
+var tmp = tryRequire( join( __dirname, './native.js' ) );
+if ( isError( tmp ) ) {
+	snansumors = main;
+} else {
+	snansumors = tmp;
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+// exports: { "ndarray": "snansumors.ndarray" }
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/main.js.html b/blas/ext/base/snansumors/main.js.html new file mode 100644 index 000000000..ddee733c7 --- /dev/null +++ b/blas/ext/base/snansumors/main.js.html @@ -0,0 +1,190 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/main.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib main.js

+
+ +
+ 100% + Statements + 35/35 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 35/35 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +361x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 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 setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var snansumors = require( './snansumors.js' );
+var ndarray = require( './ndarray.js' );
+ 
+ 
+// MAIN //
+ 
+setReadOnly( snansumors, 'ndarray', ndarray );
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/native.js.html b/blas/ext/base/snansumors/native.js.html new file mode 100644 index 000000000..325ed7a85 --- /dev/null +++ b/blas/ext/base/snansumors/native.js.html @@ -0,0 +1,190 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/native.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib native.js

+
+ +
+ 100% + Statements + 35/35 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 35/35 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +361x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 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 setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var snansumors = require( './snansumors.native.js' );
+var ndarray = require( './ndarray.native.js' );
+ 
+ 
+// MAIN //
+ 
+setReadOnly( snansumors, 'ndarray', ndarray );
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/ndarray.js.html b/blas/ext/base/snansumors/ndarray.js.html new file mode 100644 index 000000000..e06628f64 --- /dev/null +++ b/blas/ext/base/snansumors/ndarray.js.html @@ -0,0 +1,307 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/ndarray.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib ndarray.js

+
+ +
+ 100% + Statements + 74/74 +
+ + +
+ 100% + Branches + 12/12 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 74/74 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +752x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +15x +15x +15x +15x +15x +15x +15x +2x +2x +15x +4x +1x +1x +3x +3x +9x +15x +42x +34x +34x +42x +42x +9x +15x +2x +2x +2x +2x +2x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 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 float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
+var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Computes the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {Float32Array} x - input array
+* @param {integer} stride - stride length
+* @param {NonNegativeInteger} offset - starting index
+* @returns {number} sum
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+*
+* var x = new Float32Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0, NaN, NaN ] );
+*
+* var v = snansumors( 5, x, 2, 1 );
+* // returns 5.0
+*/
+function snansumors( N, x, stride, offset ) {
+	var sum;
+	var ix;
+	var i;
+ 
+	sum = 0.0;
+	if ( N <= 0 ) {
+		return sum;
+	}
+	if ( N === 1 || stride === 0 ) {
+		if ( isnanf( x[ offset ] ) ) {
+			return sum;
+		}
+		return x[ offset ];
+	}
+	ix = offset;
+	for ( i = 0; i < N; i++ ) {
+		if ( isnanf( x[ ix ] ) === false ) {
+			sum = float64ToFloat32( sum + x[ ix ] );
+		}
+		ix += stride;
+	}
+	return sum;
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/ndarray.native.js.html b/blas/ext/base/snansumors/ndarray.native.js.html new file mode 100644 index 000000000..8af84d1ab --- /dev/null +++ b/blas/ext/base/snansumors/ndarray.native.js.html @@ -0,0 +1,259 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/ndarray.native.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib ndarray.native.js

+
+ +
+ 100% + Statements + 58/58 +
+ + +
+ 100% + Branches + 3/3 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 58/58 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +592x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +15x +15x +15x +1x +1x +15x +15x +15x +2x +2x +2x +2x +2x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 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 Float32Array = require( '@stdlib/array/float32' );
+var addon = require( './snansumors.native.js' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Computes the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {Float32Array} x - input array
+* @param {integer} stride - stride length
+* @param {NonNegativeInteger} offset - starting index
+* @returns {number} sum
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+*
+* var x = new Float32Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0, NaN, NaN ] );
+*
+* var v = snansumors( 5, x, 2, 1 );
+* // returns 5.0
+*/
+function snansumors( N, x, stride, offset ) {
+	var view;
+	if ( stride < 0 ) {
+		offset += (N-1) * stride;
+	}
+	view = new Float32Array( x.buffer, x.byteOffset+(x.BYTES_PER_ELEMENT*offset), x.length-offset ); // eslint-disable-line max-len
+	return addon( N, view, stride );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/snansumors.js.html b/blas/ext/base/snansumors/snansumors.js.html new file mode 100644 index 000000000..8686ae76a --- /dev/null +++ b/blas/ext/base/snansumors/snansumors.js.html @@ -0,0 +1,319 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/snansumors.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib snansumors.js

+
+ +
+ 100% + Statements + 78/78 +
+ + +
+ 100% + Branches + 15/15 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 78/78 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +792x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +2x +15x +15x +15x +15x +15x +15x +15x +2x +2x +15x +4x +1x +1x +3x +3x +15x +1x +15x +8x +8x +15x +45x +34x +34x +45x +45x +9x +15x +2x +2x +2x +2x +2x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 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 float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
+var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Computes the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {Float32Array} x - input array
+* @param {integer} stride - stride length
+* @returns {number} sum
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+*
+* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
+* var N = x.length;
+*
+* var v = snansumors( N, x, 1 );
+* // returns 1.0
+*/
+function snansumors( N, x, stride ) {
+	var sum;
+	var ix;
+	var i;
+ 
+	sum = 0.0;
+	if ( N <= 0 ) {
+		return sum;
+	}
+	if ( N === 1 || stride === 0 ) {
+		if ( isnanf( x[ 0 ] ) ) {
+			return sum;
+		}
+		return x[ 0 ];
+	}
+	if ( stride < 0 ) {
+		ix = (1-N) * stride;
+	} else {
+		ix = 0;
+	}
+	for ( i = 0; i < N; i++ ) {
+		if ( isnanf( x[ ix ] ) === false ) {
+			sum = float64ToFloat32( sum + x[ ix ] );
+		}
+		ix += stride;
+	}
+	return sum;
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/snansumors/snansumors.native.js.html b/blas/ext/base/snansumors/snansumors.native.js.html new file mode 100644 index 000000000..2d3c3329b --- /dev/null +++ b/blas/ext/base/snansumors/snansumors.native.js.html @@ -0,0 +1,241 @@ + + + + + + Code coverage report for blas/ext/base/snansumors/lib/snansumors.native.js + + + + + + + + + +
+
+

All files / blas/ext/base/snansumors/lib snansumors.native.js

+
+ +
+ 100% + Statements + 52/52 +
+ + +
+ 100% + Branches + 2/2 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 52/52 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +533x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +3x +55x +55x +55x +3x +3x +3x +3x +3x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2020 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+ 
+'use strict';
+ 
+// MODULES //
+ 
+var addon = require( './../src/addon.node' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Computes the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {Float32Array} x - input array
+* @param {integer} stride - stride length
+* @returns {number} sum
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+*
+* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
+* var N = x.length;
+*
+* var v = snansumors( N, x, 1 );
+* // returns 1.0
+*/
+function snansumors( N, x, stride ) {
+	return addon( N, x, stride );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = snansumors;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file