@stdlib/math-base-special-gamma
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@stdlib/math-base-special-gamma", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Gamma function.", | ||
@@ -56,4 +56,4 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@stdlib/array-incrspace": "^0.0.x", | ||
"@stdlib/array-linspace": "^0.0.x", | ||
"@stdlib/array-base-incrspace": "^0.0.x", | ||
"@stdlib/array-base-linspace": "^0.0.x", | ||
"@stdlib/bench": "^0.0.x", | ||
@@ -60,0 +60,0 @@ "@stdlib/constants-float64-eps": "^0.0.x", |
@@ -23,3 +23,3 @@ <!-- | ||
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url] | ||
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] --> | ||
@@ -114,12 +114,10 @@ > [Gamma][gamma-function] function. | ||
```javascript | ||
var linspace = require( '@stdlib/array-linspace' ); | ||
var linspace = require( '@stdlib/array-base-linspace' ); | ||
var gamma = require( '@stdlib/math-base-special-gamma' ); | ||
var x = linspace( -10.0, 10.0, 100 ); | ||
var v; | ||
var i; | ||
for ( i = 0; i < x.length; i++ ) { | ||
v = gamma( x[ i ] ); | ||
console.log( 'x: %d, f(x): %d', x[ i ], v ); | ||
console.log( 'x: %d, f(x): %d', x[ i ], gamma( x[ i ] ) ); | ||
} | ||
@@ -132,3 +130,22 @@ ``` | ||
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. --> | ||
<section class="related"> | ||
* * * | ||
## See Also | ||
- <span class="package-name">[`@stdlib/math/base/special/gamma1pm1`][@stdlib/math/base/special/gamma1pm1]</span><span class="delimiter">: </span><span class="description">compute gamma(x+1) - 1.</span> | ||
- <span class="package-name">[`@stdlib/math/base/special/gammainc`][@stdlib/math/base/special/gammainc]</span><span class="delimiter">: </span><span class="description">incomplete gamma function.</span> | ||
- <span class="package-name">[`@stdlib/math/base/special/gammaincinv`][@stdlib/math/base/special/gammaincinv]</span><span class="delimiter">: </span><span class="description">inverse incomplete gamma function.</span> | ||
- <span class="package-name">[`@stdlib/math/base/special/gammaln`][@stdlib/math/base/special/gammaln]</span><span class="delimiter">: </span><span class="description">natural logarithm of the gamma function.</span> | ||
</section> | ||
<!-- /.related --> | ||
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. --> | ||
<section class="main-repo" > | ||
@@ -157,3 +174,3 @@ | ||
Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors]. | ||
@@ -177,5 +194,16 @@ </section> | ||
<!-- | ||
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-gamma.svg | ||
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-gamma/main | ||
--> | ||
[umd]: https://github.com/umdjs/umd | ||
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules | ||
[deno-url]: https://github.com/stdlib-js/math-base-special-gamma/tree/deno | ||
[umd-url]: https://github.com/stdlib-js/math-base-special-gamma/tree/umd | ||
[esm-url]: https://github.com/stdlib-js/math-base-special-gamma/tree/esm | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
@@ -200,4 +228,16 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
<!-- <related-links> --> | ||
[@stdlib/math/base/special/gamma1pm1]: https://www.npmjs.com/package/@stdlib/math-base-special-gamma1pm1 | ||
[@stdlib/math/base/special/gammainc]: https://www.npmjs.com/package/@stdlib/math-base-special-gammainc | ||
[@stdlib/math/base/special/gammaincinv]: https://www.npmjs.com/package/@stdlib/math-base-special-gammaincinv | ||
[@stdlib/math/base/special/gammaln]: https://www.npmjs.com/package/@stdlib/math-base-special-gammaln | ||
<!-- </related-links> --> | ||
</section> | ||
<!-- /.links --> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77780
238