New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stdlib/math-base-special-gamma-lanczos-sum-expg-scaled

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/math-base-special-gamma-lanczos-sum-expg-scaled - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

package.json
{
"name": "@stdlib/math-base-special-gamma-lanczos-sum-expg-scaled",
"version": "0.0.6",
"version": "0.0.7",
"description": "Calculate a scaled Lanczos sum for the approximation of the gamma function.",

@@ -42,3 +42,3 @@ "license": "Apache-2.0 AND BSL-1.0",

"devDependencies": {
"@stdlib/array-linspace": "^0.0.x",
"@stdlib/array-base-linspace": "^0.0.x",
"@stdlib/bench": "^0.0.x",

@@ -45,0 +45,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] -->

@@ -109,12 +109,10 @@ > Calculate a scaled Lanczos sum for the approximation of the [gamma function][gamma-function].

```javascript
var linspace = require( '@stdlib/array-linspace' );
var linspace = require( '@stdlib/array-base-linspace' );
var gammaLanczosSumExpGScaled = require( '@stdlib/math-base-special-gamma-lanczos-sum-expg-scaled' );
var x = linspace( -10.0, 10.0, 100 );
var v;
var i;
for ( i = 0; i < x.length; i++ ) {
v = gammaLanczosSumExpGScaled( x[ i ] );
console.log( 'x: %d, f(x): %d', x[ i ], v );
console.log( 'x: %d, f(x): %d', x[ i ], gammaLanczosSumExpGScaled( x[ i ] ) );
}

@@ -127,3 +125,20 @@ ```

<!-- 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/gamma-lanczos-sum`][@stdlib/math/base/special/gamma-lanczos-sum]</span><span class="delimiter">: </span><span class="description">calculate the Lanczos sum for the approximation 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" >

@@ -147,3 +162,3 @@

Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].

@@ -167,5 +182,16 @@ </section>

<!--
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-gamma-lanczos-sum-expg-scaled.svg
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-gamma-lanczos-sum-expg-scaled/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-lanczos-sum-expg-scaled/tree/deno
[umd-url]: https://github.com/stdlib-js/math-base-special-gamma-lanczos-sum-expg-scaled/tree/umd
[esm-url]: https://github.com/stdlib-js/math-base-special-gamma-lanczos-sum-expg-scaled/tree/esm
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg

@@ -184,4 +210,12 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/

<!-- <related-links> -->
[@stdlib/math/base/special/gamma]: https://www.npmjs.com/package/@stdlib/math-base-special-gamma
[@stdlib/math/base/special/gamma-lanczos-sum]: https://www.npmjs.com/package/@stdlib/math-base-special-gamma-lanczos-sum
<!-- </related-links> -->
</section>
<!-- /.links -->

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc