Cosine
===

> Compute the [cosine][cosine] of a number.

<!-- <usage> -->
## Usage

``` javascript
var cos = require( '@stdlib/math/base/special/cos' );
```

#### cos( x )

Computes the [cosine][cosine] of a `number` (in radians).

``` javascript
var v = cos( 0.0 );
// returns 1.0

v = cos( Math.PI/4.0 );
// returns ~0.707

v = cos( -Math.PI/6.0 );
// returns ~0.866

v = cos( NaN );
// returns NaN
```

<!-- </usage> -->

<!-- <examples> -->
## Examples

``` javascript
var linspace = require( '@stdlib/math/generics/utils/linspace' );
var cos = require( '@stdlib/math/base/special/cos' );

var x = linspace( 0.0, 2.0*Math.PI, 100 );
var i;

for ( i = 0; i < x.length; i++ ) {
    console.log( cos( x[ i ] ) );
}
```

<!-- </examples> -->

<!-- <links> -->
[cosine]: https://en.wikipedia.org/wiki/Cosine
<!-- </links> -->

Cosine
===

> Compute the [cosine][cosine] of a number.

<!-- <usage> -->

## Usage

``` javascript
var cos = require( '@stdlib/math/base/special/cos' );
```

#### cos( x )

Computes the [cosine][cosine] of a `number` (in radians).

``` javascript
var v = cos( 0.0 );
// returns 1.0

v = cos( Math.PI/4.0 );
// returns ~0.707

v = cos( -Math.PI/6.0 );
// returns ~0.866

v = cos( NaN );
// returns NaN
```

<!-- </usage> -->


<!-- <examples> -->

## Examples

``` javascript
var linspace = require( '@stdlib/math/generics/utils/linspace' );
var cos = require( '@stdlib/math/base/special/cos' );

var x = linspace( 0.0, 2.0*Math.PI, 100 );
var i;

for ( i = 0; i < x.length; i++ ) {
    console.log( cos( x[ i ] ) );
}
```

<!-- </examples> -->


<!-- <links> -->

[cosine]: https://en.wikipedia.org/wiki/Cosine

<!-- </links> -->

Add linebreaks to optimize AST parsing
Add linebreaks to optimize AST parsing
