0.2.1 • Published 3 months ago
@stdlib/constants-float64-gamma-lanczos-g v0.2.1
GAMMA_LANCZOS_G
Arbitrary constant
g
to be used in Lanczos approximation functions.
Installation
npm install @stdlib/constants-float64-gamma-lanczos-g
Usage
var GAMMA_LANCZOS_G = require( '@stdlib/constants-float64-gamma-lanczos-g' );
GAMMA_LANCZOS_G
Arbitrary constant g
to be used in Lanczos approximation functions.
var bool = ( GAMMA_LANCZOS_G === 10.900511 );
// returns true
Examples
var GAMMA_LANCZOS_G = require( '@stdlib/constants-float64-gamma-lanczos-g' );
console.log( GAMMA_LANCZOS_G );
// => 10.900511
C APIs
Usage
#include "stdlib/constants/float64/gamma_lanczos_g.h"
STDLIB_CONSTANT_FLOAT64_GAMMA_LANCZOS_G
Macro for the arbitrary constant g
to be used in Lanczos approximation functions.
References
- Pugh, Glendon R. 2004. "An analysis of the Lanczos gamma approximation." PhD thesis, University of British Columbia. <https://web.viu.ca/pughg/phdThesis/phdThesis.pdf>.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.