@stdlib/math-strided-special-abs2-by 0.0.3 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -22,7 +22,7 @@ limitations under the License.
22
22
 
23
23
  # abs2By
24
24
 
25
- [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
25
+ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
26
26
 
27
27
  > Compute the [squared absolute value][@stdlib/math/base/special/abs2] of each element retrieved from an input strided array via a callback function.
28
28
 
@@ -240,6 +240,23 @@ console.log( y );
240
240
 
241
241
  <!-- /.examples -->
242
242
 
243
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
244
+
245
+ <section class="related">
246
+
247
+ * * *
248
+
249
+ ## See Also
250
+
251
+ - <span class="package-name">[`@stdlib/math/strided/special/abs-by`][@stdlib/math/strided/special/abs-by]</span><span class="delimiter">: </span><span class="description">compute the absolute value of each element retrieved from a strided input array via a callback function and assign each result to an element in a strided output array.</span>
252
+ - <span class="package-name">[`@stdlib/math/strided/special/abs2`][@stdlib/math/strided/special/abs2]</span><span class="delimiter">: </span><span class="description">compute the squared absolute value for each element in a strided array.</span>
253
+
254
+ </section>
255
+
256
+ <!-- /.related -->
257
+
258
+ <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
259
+
243
260
 
244
261
  <section class="main-repo" >
245
262
 
@@ -251,6 +268,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
251
268
 
252
269
  For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
253
270
 
271
+ #### Community
272
+
273
+ [![Chat][chat-image]][chat-url]
274
+
254
275
  ---
255
276
 
256
277
  ## License
@@ -260,7 +281,7 @@ See [LICENSE][stdlib-license].
260
281
 
261
282
  ## Copyright
262
283
 
263
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
284
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
264
285
 
265
286
  </section>
266
287
 
@@ -279,9 +300,23 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
279
300
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-strided-special-abs2-by/main.svg
280
301
  [coverage-url]: https://codecov.io/github/stdlib-js/math-strided-special-abs2-by?branch=main
281
302
 
282
- [dependencies-image]: https://img.shields.io/david/stdlib-js/math-strided-special-abs2-by
303
+ <!--
304
+
305
+ [dependencies-image]: https://img.shields.io/david/stdlib-js/math-strided-special-abs2-by.svg
283
306
  [dependencies-url]: https://david-dm.org/stdlib-js/math-strided-special-abs2-by/main
284
307
 
308
+ -->
309
+
310
+ [umd]: https://github.com/umdjs/umd
311
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
312
+
313
+ [deno-url]: https://github.com/stdlib-js/math-strided-special-abs2-by/tree/deno
314
+ [umd-url]: https://github.com/stdlib-js/math-strided-special-abs2-by/tree/umd
315
+ [esm-url]: https://github.com/stdlib-js/math-strided-special-abs2-by/tree/esm
316
+
317
+ [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
318
+ [chat-url]: https://gitter.im/stdlib-js/stdlib/
319
+
285
320
  [stdlib]: https://github.com/stdlib-js/stdlib
286
321
 
287
322
  [stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
@@ -292,7 +327,15 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
292
327
 
293
328
  [mdn-typed-array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
294
329
 
295
- [@stdlib/math/base/special/abs2]: https://github.com/stdlib-js/math-base-special-abs2
330
+ [@stdlib/math/base/special/abs2]: https://www.npmjs.com/package/@stdlib/math-base-special-abs2
331
+
332
+ <!-- <related-links> -->
333
+
334
+ [@stdlib/math/strided/special/abs-by]: https://www.npmjs.com/package/@stdlib/math-strided-special-abs-by
335
+
336
+ [@stdlib/math/strided/special/abs2]: https://www.npmjs.com/package/@stdlib/math-strided-special-abs2
337
+
338
+ <!-- </related-links> -->
296
339
 
297
340
  </section>
298
341
 
@@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void;
54
54
  * @param xi - strided index (offsetX + idx*strideX)
55
55
  * @returns accessed value
56
56
  */
57
- type Tertiary = ( value: any, idx: number, xi: number ) => number | void;
57
+ type Ternary = ( value: any, idx: number, xi: number ) => number | void;
58
58
 
59
59
  /**
60
60
  * Returns an accessed value.
@@ -103,7 +103,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection,
103
103
  * @param y - output array
104
104
  * @returns accessed value
105
105
  */
106
- type Callback = Nullary | Unary | Binary | Tertiary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length
106
+ type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length
107
107
 
108
108
  /**
109
109
  * Interface describing `abs2By`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-strided-special-abs2-by",
3
- "version": "0.0.3",
3
+ "version": "0.0.7",
4
4
  "description": "Compute the squared absolute value of each element retrieved from an input strided array via a callback function.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -28,7 +28,7 @@
28
28
  "examples": "make examples",
29
29
  "benchmark": "make benchmark"
30
30
  },
31
- "homepage": "https://github.com/stdlib-js/stdlib",
31
+ "homepage": "https://stdlib.io",
32
32
  "repository": {
33
33
  "type": "git",
34
34
  "url": "git://github.com/stdlib-js/math-strided-special-abs2-by.git"
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # CHANGELOG
2
-
3
- > Package changelog.
4
-
5
- See [GitHub Releases](https://github.com/stdlib-js/math-strided-special-abs2-by/releases) for the changelog.