@stdlib/math-base-special-rempio2
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -41,2 +41,3 @@ /** | ||
var ldexp = require( '@stdlib/math-base-special-ldexp' ); | ||
var zeros = require( '@stdlib/array-base-zeros' ); | ||
@@ -95,20 +96,2 @@ | ||
/** | ||
* Returns an array of zeros. | ||
* | ||
* @private | ||
* @param {NonNegativeInteger} len - array length | ||
* @returns {NonNegativeIntegerArray} output array | ||
*/ | ||
function zeros( len ) { | ||
var out; | ||
var i; | ||
out = []; | ||
for ( i = 0; i < len; i++ ) { | ||
out.push( 0.0 ); | ||
} | ||
return out; | ||
} | ||
/** | ||
* Performs the computation for `kernelRempio2()`. | ||
@@ -115,0 +98,0 @@ * |
{ | ||
"name": "@stdlib/math-base-special-rempio2", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Compute `x - nπ/2 = r`.", | ||
@@ -40,2 +40,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@stdlib/array-base-zeros": "^0.0.x", | ||
"@stdlib/math-base-special-floor": "^0.0.x", | ||
@@ -50,4 +51,4 @@ "@stdlib/math-base-special-ldexp": "^0.0.x", | ||
"devDependencies": { | ||
"@stdlib/array-incrspace": "^0.0.x", | ||
"@stdlib/array-linspace": "^0.0.x", | ||
"@stdlib/array-base-incrspace": "^0.0.x", | ||
"@stdlib/array-base-linspace": "^0.0.x", | ||
"@stdlib/assert-is-integer": "^0.0.x", | ||
@@ -54,0 +55,0 @@ "@stdlib/assert-is-number": "^0.0.x", |
@@ -23,3 +23,3 @@ <!-- | ||
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url] | ||
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] --> | ||
@@ -109,3 +109,3 @@ > Compute `x - nπ/2 = r`. | ||
```javascript | ||
var linspace = require( '@stdlib/array-linspace' ); | ||
var linspace = require( '@stdlib/array-base-linspace' ); | ||
var rempio2 = require( '@stdlib/math-base-special-rempio2' ); | ||
@@ -128,3 +128,13 @@ | ||
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. --> | ||
<section class="related"> | ||
</section> | ||
<!-- /.related --> | ||
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. --> | ||
<section class="main-repo" > | ||
@@ -153,3 +163,3 @@ | ||
Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors]. | ||
@@ -173,5 +183,16 @@ </section> | ||
<!-- | ||
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-rempio2.svg | ||
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-rempio2/main | ||
--> | ||
[umd]: https://github.com/umdjs/umd | ||
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules | ||
[deno-url]: https://github.com/stdlib-js/math-base-special-rempio2/tree/deno | ||
[umd-url]: https://github.com/stdlib-js/math-base-special-rempio2/tree/umd | ||
[esm-url]: https://github.com/stdlib-js/math-base-special-rempio2/tree/esm | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
@@ -178,0 +199,0 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56086
205
8
784
+ Added@stdlib/array-base-filled@0.0.2(transitive)
+ Added@stdlib/array-base-zeros@0.0.2(transitive)