README.md (2793B)
1 <!-- 2 3 @license Apache-2.0 4 5 Copyright (c) 2018 The Stdlib Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 19 --> 20 21 # Glaisher-Kinkelin Constant 22 23 > [Glaisher-Kinkelin][glaisher-constant] constant. 24 25 <section class="intro"> 26 27 [Glaisher-Kinkelin][glaisher-constant] constant is defined as 28 29 <!-- <equation class="equation" label="eq:glaisher_kinkelin_constant" align="center" raw="A = \lim_{n\to\infty} \frac{K(n + 1)}{n^{n^2/2 + n/2 + 1/12}e^{-n^2/4}}" alt="Glaisher-Kinkelin constant"> --> 30 31 <div class="equation" align="center" data-raw-text="A = \lim_{n\to\infty} \frac{K(n + 1)}{n^{n^2/2 + n/2 + 1/12}e^{-n^2/4}}" data-equation="eq:glaisher_kinkelin_constant"> 32 <img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@5d87cc7cb2c58aeb732872f89562d2c89571cc8a/lib/node_modules/@stdlib/constants/float64/glaisher-kinkelin/docs/img/equation_glaisher_kinkelin_constant.svg" alt="Glaisher-Kinkelin constant"> 33 <br> 34 </div> 35 36 <!-- </equation> --> 37 38 where 39 40 <!-- <equation class="equation" label="eq:k_function" align="center" raw="K(n) = \prod_{k=1}^{n-1} k^k" alt="K-function"> --> 41 42 <div class="equation" align="center" data-raw-text="K(n) = \prod_{k=1}^{n-1} k^k" data-equation="eq:k_function"> 43 <img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@5d87cc7cb2c58aeb732872f89562d2c89571cc8a/lib/node_modules/@stdlib/constants/float64/glaisher-kinkelin/docs/img/equation_k_function.svg" alt="K-function"> 44 <br> 45 </div> 46 47 <!-- </equation> --> 48 49 is the [K-function][k-function]. 50 51 </section> 52 53 <!-- /.intro --> 54 55 <section class="usage"> 56 57 ## Usage 58 59 ```javascript 60 var A = require( '@stdlib/constants/float64/glaisher-kinkelin' ); 61 ``` 62 63 #### A 64 65 The [Glaisher-Kinkelin][glaisher-constant] constant. 66 67 ```javascript 68 var bool = ( A === 1.2824271291006226 ); 69 // returns true 70 ``` 71 72 </section> 73 74 <!-- /.usage --> 75 76 <section class="examples"> 77 78 ## Examples 79 80 <!-- TODO: better example --> 81 82 <!-- eslint no-undef: "error" --> 83 84 ```javascript 85 var A = require( '@stdlib/constants/float64/glaisher-kinkelin' ); 86 87 console.log( 'Glaisher\'s constant: %d', A ); 88 // => 'Glaisher\'s constant: 1.2824271291006226' 89 ``` 90 91 </section> 92 93 <!-- /.examples --> 94 95 <section class="links"> 96 97 [glaisher-constant]: https://en.wikipedia.org/wiki/Glaisher%E2%80%93Kinkelin_constant 98 99 [k-function]: https://en.wikipedia.org/wiki/K-function 100 101 </section> 102 103 <!-- /.links -->