time-to-botec

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

README.md (2337B)


      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 # Apéry's Constant
     22 
     23 > [Apéry's constant][apery-constant].
     24 
     25 <section class="intro">
     26 
     27 [Apéry's constant][apery-constant] is defined as
     28 
     29 <!-- <equation class="equation" label="eq:apery_constant" align="center" raw="\zeta(3) = \sum_{n=1}^\infty \frac{1}{n^3} = \lim_{n\to\infty} \biggl(\frac{1}{1^3} + \frac{1}{2^3} + \cdots + \frac{1}{n^3}\biggr)" alt="Apéry's constant"> -->
     30 
     31 <div class="equation" align="center" data-raw-text="\zeta(3) = \sum_{n=1}^\infty \frac{1}{n^3} = \lim_{n\to\infty} \biggl(\frac{1}{1^3} + \frac{1}{2^3} + \cdots + \frac{1}{n^3}\biggr)" data-equation="eq:apery_constant">
     32     <img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@5d87cc7cb2c58aeb732872f89562d2c89571cc8a/lib/node_modules/@stdlib/constants/float64/apery/docs/img/equation_apery_constant.svg" alt="Apéry's constant">
     33     <br>
     34 </div>
     35 
     36 <!-- </equation> -->
     37 
     38 where `ζ(s)` is the [Riemann zeta function][@stdlib/math/base/special/riemann-zeta]
     39 
     40 </section>
     41 
     42 <!-- /.intro -->
     43 
     44 <section class="usage">
     45 
     46 ## Usage
     47 
     48 ```javascript
     49 var APERY = require( '@stdlib/constants/float64/apery' );
     50 ```
     51 
     52 #### APERY
     53 
     54 [Apéry's constant][apery-constant].
     55 
     56 ```javascript
     57 var bool = ( APERY === 1.2020569031595942 );
     58 // returns true
     59 ```
     60 
     61 </section>
     62 
     63 <!-- /.usage -->
     64 
     65 <section class="examples">
     66 
     67 ## Examples
     68 
     69 <!-- TODO: better example -->
     70 
     71 <!-- eslint no-undef: "error" -->
     72 
     73 ```javascript
     74 var APERY = require( '@stdlib/constants/float64/apery' );
     75 
     76 console.log( APERY );
     77 // => 1.2020569031595942
     78 ```
     79 
     80 </section>
     81 
     82 <!-- /.examples -->
     83 
     84 <section class="links">
     85 
     86 [apery-constant]: https://en.wikipedia.org/wiki/Ap%C3%A9ry%27s_constant
     87 
     88 [@stdlib/math/base/special/riemann-zeta]: https://www.npmjs.com/package/@stdlib/math-base-special-riemann-zeta
     89 
     90 </section>
     91 
     92 <!-- /.links -->