120 lines
2.3 KiB
Markdown
120 lines
2.3 KiB
Markdown
<!--
|
|
|
|
@license Apache-2.0
|
|
|
|
Copyright (c) 2020 The Stdlib Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
# Special Functions
|
|
|
|
> Standard library special math functions.
|
|
|
|
<section class="usage">
|
|
|
|
## Usage
|
|
|
|
```javascript
|
|
var ns = require( '@stdlib/math/special' );
|
|
```
|
|
|
|
#### ns
|
|
|
|
Standard library special math functions.
|
|
|
|
```javascript
|
|
var o = ns;
|
|
// returns {...}
|
|
```
|
|
|
|
### Exponential & Logarithmic Functions
|
|
|
|
<!-- <toc pattern="+(*log*|ln|exp*|*pow*)" ignore="logit" > -->
|
|
|
|
|
|
|
|
<!-- </toc> -->
|
|
|
|
### Trigonometric Functions
|
|
|
|
<!-- <toc pattern="*+(sin|cos|tan)*" ignore="+(kernel-sin|kernel-cos|kernel-tan)"> -->
|
|
|
|
|
|
|
|
<!-- </toc> -->
|
|
|
|
### Bessel Functions
|
|
|
|
<!-- <toc pattern="*bessel*" > -->
|
|
|
|
|
|
|
|
<!-- </toc> -->
|
|
|
|
### Absolute Value and Rounding Functions
|
|
|
|
<!-- <toc pattern="*+(abs|ceil|floor|clamp|trunc|round|signum)*" > -->
|
|
|
|
<div class="namespace-toc">
|
|
|
|
- <span class="signature">[`abs( x[, options] )`][@stdlib/math/special/abs]</span><span class="delimiter">: </span><span class="description">compute the absolute value.</span>
|
|
|
|
</div>
|
|
|
|
<!-- </toc> -->
|
|
|
|
### Other Special Functions
|
|
|
|
<!-- <toc ignore="*bessel*" ignore="*+(sin|cos|tan)*" ignore="+(*log*|ln|exp*|*pow*)" ignore="*+(abs|ceil|floor|clamp|trunc|round|signum)*" ignore="+(gamma-delta-ratio|gamma-lanczos-sum*|rempio2|kernel-*)" > -->
|
|
|
|
|
|
|
|
<!-- </toc> -->
|
|
|
|
</section>
|
|
|
|
<!-- /.usage -->
|
|
|
|
<section class="examples">
|
|
|
|
## Examples
|
|
|
|
<!-- TODO: better examples -->
|
|
|
|
<!-- eslint no-undef: "error" -->
|
|
|
|
```javascript
|
|
var objectKeys = require( '@stdlib/utils/keys' );
|
|
var ns = require( '@stdlib/math/special' );
|
|
|
|
console.log( objectKeys( ns ) );
|
|
```
|
|
|
|
</section>
|
|
|
|
<!-- /.examples -->
|
|
|
|
<section class="links">
|
|
|
|
<!-- <toc-links> -->
|
|
|
|
[@stdlib/math/special/abs]: https://www.npmjs.com/package/@stdlib/math/tree/main/special/abs
|
|
|
|
<!-- </toc-links> -->
|
|
|
|
</section>
|
|
|
|
<!-- /.links -->
|