Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/math/base/special/sincos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# sincos

> Simultaneously compute the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of a number.
> Simultaneously compute the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of an angle measured in radians.

<section class="usage">

Expand All @@ -32,7 +32,7 @@ var sincos = require( '@stdlib/math/base/special/sincos' );

#### sincos( x )

Simultaneously computes the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of a `number` (in radians).
Simultaneously computes the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of an angle measured in radians.

```javascript
var v = sincos( 0.0 );
Expand All @@ -47,7 +47,7 @@ v = sincos( -3.141592653589793/6.0 );

#### sincos.assign( x, out, stride, offset )

Simultaneously computes the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of a `number` (in radians) and assigns results to a provided output array.
Simultaneously computes the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of an angle measured in radians and assigns the results to a provided output array.

```javascript
var Float64Array = require( '@stdlib/array/float64' );
Expand Down Expand Up @@ -116,7 +116,7 @@ for ( i = 0; i < x.length; i++ ) {

#### stdlib_base_sincos( x, &sine, &cosine )

Simultaneously computes the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of a `number` (in radians).
Simultaneously computes the [sine][@stdlib/math/base/special/sin] and [cosine][@stdlib/math/base/special/cos] of an angle measured in radians.

```c
double cosine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{{alias}}( x )
Simultaneously computes the sine and cosine of a number.
Simultaneously computes the sine and cosine of an angle measured in radians.

Parameters
----------
Expand All @@ -24,9 +24,9 @@
[ NaN, NaN ]


{{alias}}( x, out, stride, offset )
Simultaneously computes the sine and cosine of a number and assigns
results to a provided output array.
{{alias}}.assign( x, out, stride, offset )
Simultaneously computes the sine and cosine of an angle measured in radians
and assigns the results to a provided output array.

Parameters
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Collection } from '@stdlib/types/array';

interface SinCos {
/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians.
*
* @param x - input value (in radians)
* @returns sine and cosine
Expand All @@ -48,7 +48,7 @@ interface SinCos {
( x: number ): Array<number>;

/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians and assigns the results to a provided output array.
*
* @param x - input value (in radians)
* @param out - output array
Expand All @@ -71,7 +71,7 @@ interface SinCos {
}

/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians.
*
* @param x - input value (in radians)
* @returns sine and cosine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern "C" {
#endif

/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians.
*/
void stdlib_base_sincos( const double x, double *sine, double *cosine );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var Y = [ 0.0, 0.0 ];
// MAIN //

/**
* Simultaneously computes the sine and cosine of a number and assigns results to a provided output array.
* Simultaneously computes the sine and cosine of an angle measured in radians and assigns the results to a provided output array.
*
* ## Method
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'use strict';

/**
* Simultaneously compute the sine and cosine of a number.
* Simultaneously compute the sine and cosine of an angle measured in radians.
*
* @module @stdlib/math/base/special/sincos
*
Expand All @@ -43,7 +43,7 @@
*
* var out = new Float64Array( 2 );
*
* var v = sincos( out, 0.0 );
* var v = sincos.assign( 0.0, out, 1, 0 );
* // return <Float64Array>[ ~0.0, ~1.0 ]
*
* var bool = ( v === out );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var assign = require( './assign.js' );
// MAIN //

/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians.
*
* @param {number} x - input value (in radians)
* @returns {Array<number>} sine and cosine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var addon = require( './../src/addon.node' );
// MAIN //

/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians.
*
* @private
* @param {number} x - input value (in radians)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/math/base/special/sincos",
"version": "0.0.0",
"description": "Simultaneously compute the sine and cosine of a number.",
"description": "Simultaneously compute the sine and cosine of an angle measured in radians.",
"license": "Apache-2.0 AND BSL-1.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void kernelSincos( const double x, const double y, double* sine, double*
}

/**
* Simultaneously computes the sine and cosine of a number.
* Simultaneously computes the sine and cosine of an angle measured in radians.
*
* ## Method
*
Expand Down