@stdlib/math-base-special-acscf 0.1.0 → 0.1.2

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-2024 The Stdlib Authors.
1
+ Copyright (c) 2016-2026 The Stdlib Authors.
package/README.md CHANGED
@@ -86,15 +86,15 @@ var v = acscf( 0.5 );
86
86
  <!-- eslint no-undef: "error" -->
87
87
 
88
88
  ```javascript
89
- var linspace = require( '@stdlib/array-base-linspace' );
89
+ var uniform = require( '@stdlib/random-array-uniform' );
90
+ var logEachMap = require( '@stdlib/console-log-each-map' );
90
91
  var acscf = require( '@stdlib/math-base-special-acscf' );
91
92
 
92
- var x = linspace( 1.1, 5.1, 100 );
93
+ var x = uniform( 100, 1.1, 5.1, {
94
+ 'dtype': 'float32'
95
+ });
93
96
 
94
- var i;
95
- for ( i = 0; i < x.length; i++ ) {
96
- console.log( acscf( x[ i ] ) );
97
- }
97
+ logEachMap( 'acscf(%0.4f) = %0.4f', x, acscf );
98
98
  ```
99
99
 
100
100
  </section>
@@ -168,7 +168,7 @@ float stdlib_base_acscf( const float x );
168
168
 
169
169
  int main( void ) {
170
170
  const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f };
171
-
171
+
172
172
  float v;
173
173
  int i;
174
174
  for ( i = 0; i < 10; i++ ) {
@@ -190,6 +190,15 @@ int main( void ) {
190
190
 
191
191
  <section class="related">
192
192
 
193
+ * * *
194
+
195
+ ## See Also
196
+
197
+ - <span class="package-name">[`@stdlib/math-base/special/acsc`][@stdlib/math/base/special/acsc]</span><span class="delimiter">: </span><span class="description">compute the arccosecant of a number.</span>
198
+ - <span class="package-name">[`@stdlib/math-base/special/acsch`][@stdlib/math/base/special/acsch]</span><span class="delimiter">: </span><span class="description">compute the hyperbolic arccosecant of a number.</span>
199
+ - <span class="package-name">[`@stdlib/math-base/special/asecf`][@stdlib/math/base/special/asecf]</span><span class="delimiter">: </span><span class="description">compute the inverse (arc) secant of a single-precision floating-point number.</span>
200
+ - <span class="package-name">[`@stdlib/math-base/special/asinf`][@stdlib/math/base/special/asinf]</span><span class="delimiter">: </span><span class="description">compute the arcsine of a single-precision floating-point number.</span>
201
+
193
202
  </section>
194
203
 
195
204
  <!-- /.related -->
@@ -220,7 +229,7 @@ See [LICENSE][stdlib-license].
220
229
 
221
230
  ## Copyright
222
231
 
223
- Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
232
+ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
224
233
 
225
234
  </section>
226
235
 
@@ -233,8 +242,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
233
242
  [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-acscf.svg
234
243
  [npm-url]: https://npmjs.org/package/@stdlib/math-base-special-acscf
235
244
 
236
- [test-image]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml/badge.svg?branch=v0.1.0
237
- [test-url]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml?query=branch:v0.1.0
245
+ [test-image]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml/badge.svg?branch=v0.1.2
246
+ [test-url]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml?query=branch:v0.1.2
238
247
 
239
248
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-acscf/main.svg
240
249
  [coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-acscf?branch=main
@@ -246,8 +255,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
246
255
 
247
256
  -->
248
257
 
249
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
250
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
258
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
259
+ [chat-url]: https://stdlib.zulipchat.com
251
260
 
252
261
  [stdlib]: https://github.com/stdlib-js/stdlib
253
262
 
@@ -268,6 +277,18 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
268
277
 
269
278
  [arccosecant]: https://en.wikipedia.org/wiki/Inverse_trigonometric_functions
270
279
 
280
+ <!-- <related-links> -->
281
+
282
+ [@stdlib/math/base/special/acsc]: https://www.npmjs.com/package/@stdlib/math-base-special-acsc
283
+
284
+ [@stdlib/math/base/special/acsch]: https://www.npmjs.com/package/@stdlib/math-base-special-acsch
285
+
286
+ [@stdlib/math/base/special/asecf]: https://www.npmjs.com/package/@stdlib/math-base-special-asecf
287
+
288
+ [@stdlib/math/base/special/asinf]: https://www.npmjs.com/package/@stdlib/math-base-special-asinf
289
+
290
+ <!-- </related-links> -->
291
+
271
292
  </section>
272
293
 
273
294
  <!-- /.links -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-special-acscf",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Compute the arccosecant of a single-precision floating-point number.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -33,10 +33,10 @@
33
33
  "url": "https://github.com/stdlib-js/stdlib/issues"
34
34
  },
35
35
  "dependencies": {
36
- "@stdlib/math-base-napi-unary": "^0.2.1",
37
- "@stdlib/math-base-special-asinf": "^0.1.0",
38
- "@stdlib/number-float64-base-to-float32": "^0.2.1",
39
- "@stdlib/utils-library-manifest": "^0.2.1"
36
+ "@stdlib/math-base-napi-unary": "^0.2.7",
37
+ "@stdlib/math-base-special-asinf": "^0.1.1",
38
+ "@stdlib/number-float64-base-to-float32": "^0.2.2",
39
+ "@stdlib/utils-library-manifest": "^0.2.4"
40
40
  },
41
41
  "devDependencies": {},
42
42
  "engines": {
package/src/addon.c CHANGED
@@ -19,5 +19,4 @@
19
19
  #include "stdlib/math/base/special/acscf.h"
20
20
  #include "stdlib/math/base/napi/unary.h"
21
21
 
22
- // cppcheck-suppress shadowFunction
23
22
  STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_acscf )