@stdlib/math-base-special-gammaln
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@stdlib/math-base-special-gammaln", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Natural logarithm of the gamma function.", | ||
@@ -51,3 +51,3 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@stdlib/array-linspace": "^0.0.x", | ||
"@stdlib/array-base-linspace": "^0.0.x", | ||
"@stdlib/bench": "^0.0.x", | ||
@@ -54,0 +54,0 @@ "@stdlib/constants-float64-ninf": "^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] --> | ||
@@ -84,12 +84,10 @@ > [Natural logarithm][@stdlib/math/base/special/ln] of the [gamma][@stdlib/math/base/special/gamma] function. | ||
```javascript | ||
var linspace = require( '@stdlib/array-linspace' ); | ||
var linspace = require( '@stdlib/array-base-linspace' ); | ||
var gammaln = require( '@stdlib/math-base-special-gammaln' ); | ||
var x = linspace( -10.0, 10.0, 100 ); | ||
var v; | ||
var i; | ||
for ( i = 0; i < x.length; i++ ) { | ||
v = gammaln( x[ i ] ); | ||
console.log( 'x: %d, f(x): %d', x[ i ], v ); | ||
console.log( 'x: %d, f(x): %d', x[ i ], gammaln( x[ i ] ) ); | ||
} | ||
@@ -102,3 +100,21 @@ ``` | ||
<!-- 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/gamma`][@stdlib/math/base/special/gamma]</span><span class="delimiter">: </span><span class="description">gamma function.</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> | ||
</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" > | ||
@@ -127,3 +143,3 @@ | ||
Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors]. | ||
@@ -147,5 +163,16 @@ </section> | ||
<!-- | ||
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-gammaln.svg | ||
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-gammaln/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-gammaln/tree/deno | ||
[umd-url]: https://github.com/stdlib-js/math-base-special-gammaln/tree/umd | ||
[esm-url]: https://github.com/stdlib-js/math-base-special-gammaln/tree/esm | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
@@ -160,8 +187,16 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
[@stdlib/math/base/special/ln]: https://www.npmjs.com/package/@stdlib/math-base-special-ln | ||
<!-- <related-links> --> | ||
[@stdlib/math/base/special/gamma]: https://www.npmjs.com/package/@stdlib/math-base-special-gamma | ||
[@stdlib/math/base/special/ln]: https://www.npmjs.com/package/@stdlib/math-base-special-ln | ||
[@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 | ||
<!-- </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
60002
197