Skip to content

Commit 1a3044c

Browse files
committed
Examples fixed
1 parent 61dd8a5 commit 1a3044c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Cosecant
21+
# Secant
2222

2323
> Evaluate the [secant][trigonometric-functions] of a number.
2424
@@ -31,10 +31,10 @@ limitations under the License.
3131
## Usage
3232

3333
```javascript
34-
var csc = require( '@stdlib/math/base/special/sec' );
34+
var sec = require( '@stdlib/math/base/special/sec' );
3535
```
3636

37-
## csc( x )
37+
## sec( x )
3838

3939
Evaluates the [secant][trigonometric-functions] of `x` (in radians).
4040

@@ -195,7 +195,7 @@ int main( void ) {
195195

196196
[@stdlib/math/base/special/cot]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/cot
197197

198-
[@stdlib/math/base/special/sin]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/cos
198+
[@stdlib/math/base/special/cos]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/cos
199199

200200
<!-- </related-links> -->
201201

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
Examples
1616
--------
1717
> var y = {{alias}}( 0.0 )
18-
Infinity
18+
1
1919
> y = {{alias}}( {{alias:@stdlib/constants/float64/pi}}/2.0 )
20-
~1.0
20+
~Infinity
2121
> y = {{alias}}( -{{alias:@stdlib/constants/float64/pi}}/3.0 )
22-
~-2.0
22+
~2.0
2323
> y = {{alias}}( NaN )
2424
NaN
2525

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
// MODULES //
4646

47-
var main = require( '@stdlib/math/base/special/sec/lib/main.js' );
47+
var main = require( '../main.js' );
4848

4949

5050
// EXPORTS //

0 commit comments

Comments
 (0)