time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

README.md (1887B)


      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 # G for Lanczos Approximation
     22 
     23 > Arbitrary constant `g` to be used in Lanczos approximation functions.
     24 
     25 <section class="intro">
     26 
     27 </section>
     28 
     29 <!-- /.intro -->
     30 
     31 <section class="usage">
     32 
     33 ## Usage
     34 
     35 ```javascript
     36 var FLOAT64_GAMMA_LANCZOS_G = require( '@stdlib/constants/float64/gamma-lanczos-g' );
     37 ```
     38 
     39 #### FLOAT64_GAMMA_LANCZOS_G
     40 
     41 Arbitrary constant `g` to be used in [Lanczos approximation][lanczos-approximation] functions.
     42 
     43 ```javascript
     44 var bool = ( FLOAT64_GAMMA_LANCZOS_G === 10.900511 );
     45 // returns true
     46 ```
     47 
     48 </section>
     49 
     50 <!-- /.usage -->
     51 
     52 <section class="examples">
     53 
     54 ## Examples
     55 
     56 <!-- eslint no-undef: "error" -->
     57 
     58 ```javascript
     59 var FLOAT64_GAMMA_LANCZOS_G = require( '@stdlib/constants/float64/gamma-lanczos-g' );
     60 
     61 console.log( FLOAT64_GAMMA_LANCZOS_G );
     62 // => 10.900511
     63 ```
     64 
     65 </section>
     66 
     67 <!-- /.examples -->
     68 
     69 * * *
     70 
     71 <section class="references">
     72 
     73 ## References
     74 
     75 -   Pugh, Glendon R. 2004. "An analysis of the Lanczos gamma approximation." PhD thesis, University of British Columbia. [&lt;https://web.viu.ca/pughg/phdThesis/phdThesis.pdf>][@pugh:2004a].
     76 
     77 </section>
     78 
     79 <!-- /.references -->
     80 
     81 <section class="links">
     82 
     83 [lanczos-approximation]: https://en.wikipedia.org/wiki/Lanczos_approximation
     84 
     85 [@pugh:2004a]: https://web.viu.ca/pughg/phdThesis/phdThesis.pdf
     86 
     87 </section>
     88 
     89 <!-- /.links -->