From 30fc7774aab4a077df8db7101c71a744a142c118 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Thu, 21 Mar 2024 03:24:50 +0000 Subject: [PATCH] Update artifacts --- blas/ext/base/sapxsum/coverage.ndjson | 1 + blas/ext/base/sapxsum/index.html | 206 +++++++++++++ blas/ext/base/sapxsum/index.js.html | 292 +++++++++++++++++++ blas/ext/base/sapxsum/main.js.html | 190 ++++++++++++ blas/ext/base/sapxsum/native.js.html | 190 ++++++++++++ blas/ext/base/sapxsum/ndarray.js.html | 244 ++++++++++++++++ blas/ext/base/sapxsum/ndarray.native.js.html | 259 ++++++++++++++++ blas/ext/base/sapxsum/sapxsum.js.html | 244 ++++++++++++++++ blas/ext/base/sapxsum/sapxsum.native.js.html | 244 ++++++++++++++++ 9 files changed, 1870 insertions(+) create mode 100644 blas/ext/base/sapxsum/coverage.ndjson create mode 100644 blas/ext/base/sapxsum/index.html create mode 100644 blas/ext/base/sapxsum/index.js.html create mode 100644 blas/ext/base/sapxsum/main.js.html create mode 100644 blas/ext/base/sapxsum/native.js.html create mode 100644 blas/ext/base/sapxsum/ndarray.js.html create mode 100644 blas/ext/base/sapxsum/ndarray.native.js.html create mode 100644 blas/ext/base/sapxsum/sapxsum.js.html create mode 100644 blas/ext/base/sapxsum/sapxsum.native.js.html diff --git a/blas/ext/base/sapxsum/coverage.ndjson b/blas/ext/base/sapxsum/coverage.ndjson new file mode 100644 index 000000000..9c1d2f0bc --- /dev/null +++ b/blas/ext/base/sapxsum/coverage.ndjson @@ -0,0 +1 @@ +[347,356,97.4719,11,11,100,2,4,50,347,356,97.4719,"1c4fd83fa51544ade218820397796afb02f8c1f0","2024-03-20 20:23:00 -0700"] diff --git a/blas/ext/base/sapxsum/index.html b/blas/ext/base/sapxsum/index.html new file mode 100644 index 000000000..971fbea28 --- /dev/null +++ b/blas/ext/base/sapxsum/index.html @@ -0,0 +1,206 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib + + + + + + + + + +
+
+

All files blas/ext/base/sapxsum/lib

+
+ +
+ 97.47% + Statements + 347/356 +
+ + +
+ 100% + Branches + 11/11 +
+ + +
+ 50% + Functions + 2/4 +
+ + +
+ 97.47% + Lines + 347/356 +
+ + +
+

+ 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%53/53100%2/2100%1/1100%53/53
ndarray.native.js +
+
89.65%52/58100%1/10%0/189.65%52/58
sapxsum.js +
+
100%53/53100%2/2100%1/1100%53/53
sapxsum.native.js +
+
94.33%50/53100%1/10%0/194.33%50/53
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/index.js.html b/blas/ext/base/sapxsum/index.js.html new file mode 100644 index 000000000..1730f2388 --- /dev/null +++ b/blas/ext/base/sapxsum/index.js.html @@ -0,0 +1,292 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/index.js + + + + + + + + + +
+
+

All files / blas/ext/base/sapxsum/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 +2x +3x +1x +1x +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';
+ 
+/**
+* Add a constant to each single-precision floating-point strided array element and compute the sum.
+*
+* @module @stdlib/blas/ext/base/sapxsum
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+* var sapxsum = require( '@stdlib/blas/ext/base/sapxsum' );
+*
+* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
+* var N = x.length;
+*
+* var v = sapxsum( N, 5.0, x, 1 );
+* // returns 16.0
+*
+* @example
+* var Float32Array = require( '@stdlib/array/float32' );
+* var sapxsum = require( '@stdlib/blas/ext/base/sapxsum' );
+*
+* var x = new Float32Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0 ] );
+*
+* var v = sapxsum.ndarray( 4, 5.0, x, 2, 1 );
+* // returns 25.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 sapxsum;
+var tmp = tryRequire( join( __dirname, './native.js' ) );
+if ( isError( tmp ) ) {
+	sapxsum = main;
+} else {
+	sapxsum = tmp;
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+// exports: { "ndarray": "sapxsum.ndarray" }
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/main.js.html b/blas/ext/base/sapxsum/main.js.html new file mode 100644 index 000000000..a3c0fd1bb --- /dev/null +++ b/blas/ext/base/sapxsum/main.js.html @@ -0,0 +1,190 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/main.js + + + + + + + + + +
+
+

All files / blas/ext/base/sapxsum/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 sapxsum = require( './sapxsum.js' );
+var ndarray = require( './ndarray.js' );
+ 
+ 
+// MAIN //
+ 
+setReadOnly( sapxsum, 'ndarray', ndarray );
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/native.js.html b/blas/ext/base/sapxsum/native.js.html new file mode 100644 index 000000000..930e874d2 --- /dev/null +++ b/blas/ext/base/sapxsum/native.js.html @@ -0,0 +1,190 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/native.js + + + + + + + + + +
+
+

All files / blas/ext/base/sapxsum/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 sapxsum = require( './sapxsum.native.js' );
+var ndarray = require( './ndarray.native.js' );
+ 
+ 
+// MAIN //
+ 
+setReadOnly( sapxsum, 'ndarray', ndarray );
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/ndarray.js.html b/blas/ext/base/sapxsum/ndarray.js.html new file mode 100644 index 000000000..2a2e21f00 --- /dev/null +++ b/blas/ext/base/sapxsum/ndarray.js.html @@ -0,0 +1,244 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/ndarray.js + + + + + + + + + +
+
+

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

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

+ 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 +542x +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 +12x +12x +12x +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 sapxsumkbn = require( '@stdlib/blas/ext/base/sapxsumkbn' ).ndarray;
+ 
+ 
+// MAIN //
+ 
+/**
+* Adds a constant to each single-precision floating-point strided array element and computes the sum.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {number} alpha - constant
+* @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 ] );
+*
+* var v = sapxsum( 4, 5.0, x, 2, 1 );
+* // returns 25.0
+*/
+function sapxsum( N, alpha, x, stride, offset ) {
+	return sapxsumkbn( N, alpha, x, stride, offset );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/ndarray.native.js.html b/blas/ext/base/sapxsum/ndarray.native.js.html new file mode 100644 index 000000000..5e0a377fd --- /dev/null +++ b/blas/ext/base/sapxsum/ndarray.native.js.html @@ -0,0 +1,259 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/ndarray.native.js + + + + + + + + + +
+
+

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

+
+ +
+ 89.65% + Statements + 52/58 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 0% + Functions + 0/1 +
+ + +
+ 89.65% + Lines + 52/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 +591x +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 +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 minViewBufferIndex = require( '@stdlib/strided/base/min-view-buffer-index' );
+var offsetView = require( '@stdlib/strided/base/offset-view' );
+var addon = require( './sapxsum.native.js' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Adds a constant to each single-precision floating-point strided array element and computes the sum.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {number} alpha - constant
+* @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 ] );
+*
+* var v = sapxsum( 4, 5.0, x, 2, 1 );
+* // returns 25.0
+*/
+function sapxsum( N, alpha, x, stride, offset ) {
+	var view;
+	offset = minViewBufferIndex( N, stride, offset );
+	view = offsetView( x, offset );
+	return addon( N, alpha, view, stride );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/sapxsum.js.html b/blas/ext/base/sapxsum/sapxsum.js.html new file mode 100644 index 000000000..ea9f83a59 --- /dev/null +++ b/blas/ext/base/sapxsum/sapxsum.js.html @@ -0,0 +1,244 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/sapxsum.js + + + + + + + + + +
+
+

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

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

+ 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 +542x +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 +12x +12x +12x +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 sapxsumkbn = require( '@stdlib/blas/ext/base/sapxsumkbn' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Adds a constant to each single-precision floating-point strided array element and computes the sum.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {number} alpha - constant
+* @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, 2.0 ] );
+* var N = x.length;
+*
+* var v = sapxsum( N, 5.0, x, 1 );
+* // returns 16.0
+*/
+function sapxsum( N, alpha, x, stride ) {
+	return sapxsumkbn( N, alpha, x, stride );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/blas/ext/base/sapxsum/sapxsum.native.js.html b/blas/ext/base/sapxsum/sapxsum.native.js.html new file mode 100644 index 000000000..dd94e6737 --- /dev/null +++ b/blas/ext/base/sapxsum/sapxsum.native.js.html @@ -0,0 +1,244 @@ + + + + + + Code coverage report for blas/ext/base/sapxsum/lib/sapxsum.native.js + + + + + + + + + +
+
+

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

+
+ +
+ 94.33% + Statements + 50/53 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 0% + Functions + 0/1 +
+ + +
+ 94.33% + Lines + 50/53 +
+ + +
+

+ 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 +543x +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 + 
/**
+* @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 //
+ 
+/**
+* Adds a constant to each single-precision floating-point strided array element and computes the sum.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {number} alpha - constant
+* @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, 2.0 ] );
+* var N = x.length;
+*
+* var v = sapxsum( N, 5.0, x, 1 );
+* // returns 16.0
+*/
+function sapxsum( N, alpha, x, stride ) {
+	return addon( N, alpha, x, stride );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = sapxsum;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file