Skip to content

Commit 5e70c83

Browse files
feat: add math/base/special/cotd
1 parent 1f07de8 commit 5e70c83

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

lib/node_modules/@stdlib/math/base/special/cotd/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# cotd
2222

23-
> Evaluate the [cotangent][trigonometric-functions] of a degree.
23+
> Computes the [cotangent][trigonometric-functions] of an angle measured in degrees..
2424
2525
<section class="intro">
2626

@@ -36,7 +36,7 @@ var cotd = require( '@stdlib/math/base/special/cotd' );
3636

3737
#### cotd( x )
3838

39-
Evaluates the [cotangent][trigonometric-functions] of `x` (in degree).
39+
Evaluates the [cotangent][trigonometric-functions] of `x` (in degrees).
4040

4141
```javascript
4242
var v = cotd( 0.0 );

lib/node_modules/@stdlib/math/base/special/cotd/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
{{alias}}( x )
3-
Computes the cotangent of a degree.
3+
Computes the cotangent of a degrees.
44

55
Parameters
66
----------
77
x: number
8-
Input value (in degree).
8+
Input value (in degrees).
99

1010
Returns
1111
-------

lib/node_modules/@stdlib/math/base/special/cotd/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
// TypeScript Version: 4.1
2020

2121
/**
22-
* Evaluates the cotangent of a degree.
22+
* Computes the cotangent of an angle measured in degrees
2323
*
24-
* @param x - input value (in degree)
24+
* @param x - input value (in degrees)
2525
* @returns cotangent
2626
*
2727
* @example

lib/node_modules/@stdlib/math/base/special/cotd/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Evaluate the cotangent of a degree.
22+
* Compute the cotangent of an angle measured in degrees.
2323
*
2424
* @module @stdlib/math/base/special/cotd
2525
*

lib/node_modules/@stdlib/math/base/special/cotd/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ var deg2rad = require('@stdlib/math/base/special/deg2rad');
2828
// MAIN //
2929

3030
/**
31-
* Evaluates the cotangent of a degree.
31+
* Computes the cotangent of an angle measured in degrees.
3232
*
33-
* @param {number} x - input value (in degree)
33+
* @param {number} x - input value (in degrees)
3434
* @returns {number} cotangent
3535
*
3636
* @example

lib/node_modules/@stdlib/math/base/special/cotd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/math/base/special/cotd",
33
"version": "0.0.0",
4-
"description": "Evaluate the cotangent of a degree.",
4+
"description": "Computes the cotangent of an angle measured in degrees",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

lib/node_modules/@stdlib/math/base/special/cotd/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ tape( 'if provided a `NaN`, the function returns `NaN`', function test( t ) {
4949
t.end();
5050
});
5151

52-
tape( 'the function computes the cotangent (negative values)', function test( t ) {
52+
tape( 'the function computes the cotangent of an angle measured in degrees (negative values)', function test( t ) {
5353
var expected;
5454
var delta;
5555
var tol;
@@ -73,7 +73,7 @@ tape( 'the function computes the cotangent (negative values)', function test( t
7373
t.end();
7474
});
7575

76-
tape( 'the function computes the cotangent (positive values)', function test( t ) {
76+
tape( 'the function computes the cotangent of an angle measured in degrees (positive values)', function test( t ) {
7777
var expected;
7878
var delta;
7979
var tol;

0 commit comments

Comments
 (0)