Socket
Socket
Sign inDemoInstall

@stdlib/math-base-special-cos

Package Overview
Dependencies
119
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

4

package.json
{
"name": "@stdlib/math-base-special-cos",
"version": "0.0.5",
"version": "0.0.6",
"description": "Compute the cosine of a number.",

@@ -47,3 +47,3 @@ "license": "Apache-2.0",

"devDependencies": {
"@stdlib/array-linspace": "^0.0.x",
"@stdlib/array-base-linspace": "^0.0.x",
"@stdlib/bench": "^0.0.x",

@@ -50,0 +50,0 @@ "@stdlib/constants-float64-eps": "^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] -->

@@ -75,3 +75,3 @@ > Compute the [cosine][cosine] of a number.

```javascript
var linspace = require( '@stdlib/array-linspace' );
var linspace = require( '@stdlib/array-base-linspace' );
var TWO_PI = require( '@stdlib/constants-float64-two-pi' );

@@ -81,4 +81,4 @@ var cos = require( '@stdlib/math-base-special-cos' );

var x = linspace( 0.0, TWO_PI, 100 );
var i;
for ( i = 0; i < x.length; i++ ) {

@@ -93,3 +93,22 @@ console.log( cos( x[ i ] ) );

<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
<section class="related">
* * *
## See Also
- <span class="package-name">[`@stdlib/math/base/special/cospi`][@stdlib/math/base/special/cospi]</span><span class="delimiter">: </span><span class="description">compute cos(πx).</span>
- <span class="package-name">[`@stdlib/math/base/special/cosm1`][@stdlib/math/base/special/cosm1]</span><span class="delimiter">: </span><span class="description">compute the cosine of a number minus one.</span>
- <span class="package-name">[`@stdlib/math/base/special/sin`][@stdlib/math/base/special/sin]</span><span class="delimiter">: </span><span class="description">compute the sine of a number.</span>
- <span class="package-name">[`@stdlib/math/base/special/tan`][@stdlib/math/base/special/tan]</span><span class="delimiter">: </span><span class="description">evaluate the tangent of a number.</span>
</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" >

@@ -118,3 +137,3 @@

Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].

@@ -138,5 +157,16 @@ </section>

<!--
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-cos.svg
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-cos/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-cos/tree/deno
[umd-url]: https://github.com/stdlib-js/math-base-special-cos/tree/umd
[esm-url]: https://github.com/stdlib-js/math-base-special-cos/tree/esm
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg

@@ -153,4 +183,16 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/

<!-- <related-links> -->
[@stdlib/math/base/special/cospi]: https://www.npmjs.com/package/@stdlib/math-base-special-cospi
[@stdlib/math/base/special/cosm1]: https://www.npmjs.com/package/@stdlib/math-base-special-cosm1
[@stdlib/math/base/special/sin]: https://www.npmjs.com/package/@stdlib/math-base-special-sin
[@stdlib/math/base/special/tan]: https://www.npmjs.com/package/@stdlib/math-base-special-tan
<!-- </related-links> -->
</section>
<!-- /.links -->

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc