@stdlib/math-base-special-binomcoefln 0.0.3 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +26 -5
- package/package.json +1 -1
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# Logarithm of Binomial Coefficient
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Compute the natural logarithm of the [binomial coefficient][binomial-coefficient].
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The natural logarithm of the [binomial coefficient][binomial-coefficient] is
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:binomcoefln_function" align="center" raw="f(n,k) = \ln {n \choose k}" alt="Natural logarithm of the binomial coefficient."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="f(n,k) = \ln {n \choose k}" data-equation="eq:binomcoefln_function">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@bb29798906e119fcb2af99e94b60407a270c9b32/lib/node_modules/@stdlib/math/base/special/binomcoefln/docs/img/equation_binomcoefln_function.svg" alt="Natural logarithm of the binomial coefficient.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -42,7 +42,7 @@ The [binomial coefficient][binomial-coefficient] of two nonnegative integers `n`
|
|
|
42
42
|
<!-- <equation class="equation" label="eq:binomial_coefficient" align="center" raw="\binom {n}{k} = \frac{n!}{k!\,(n-k)!} \quad \text{for }\ 0\leq k\leq n" alt="Factorial formula for the Binomial coefficient."> -->
|
|
43
43
|
|
|
44
44
|
<div class="equation" align="center" data-raw-text="\binom {n}{k} = \frac{n!}{k!\,(n-k)!} \quad \text{for }\ 0\leq k\leq n" data-equation="eq:binomial_coefficient">
|
|
45
|
-
<img src="https://cdn.
|
|
45
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@bb29798906e119fcb2af99e94b60407a270c9b32/lib/node_modules/@stdlib/math/base/special/binomcoefln/docs/img/equation_binomial_coefficient.svg" alt="Factorial formula for the Binomial coefficient.">
|
|
46
46
|
<br>
|
|
47
47
|
</div>
|
|
48
48
|
|
|
@@ -53,7 +53,7 @@ The [binomial coefficient][binomial-coefficient] can be generalized to negative
|
|
|
53
53
|
<!-- <equation class="equation" label="eq:binomial_coefficient_negative_integers" align="center" raw="\binom {-n}{k} = (-1)^{k} \binom{n + k - 1}{k} = (-1)^{k} \left(\!\!{\binom {n}{k}}\!\!\right)" alt="Generalization of the binomial coefficient to negative n."> -->
|
|
54
54
|
|
|
55
55
|
<div class="equation" align="center" data-raw-text="\binom {-n}{k} = (-1)^{k} \binom{n + k - 1}{k} = (-1)^{k} \left(\!\!{\binom {n}{k}}\!\!\right)" data-equation="eq:binomial_coefficient_negative_integers">
|
|
56
|
-
<img src="https://cdn.
|
|
56
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@591cf9d5c3a0cd3c1ceec961e5c49d73a68374cb/lib/node_modules/@stdlib/math/base/special/binomcoefln/docs/img/equation_binomial_coefficient_negative_integers.svg" alt="Generalization of the binomial coefficient to negative n.">
|
|
57
57
|
<br>
|
|
58
58
|
</div>
|
|
59
59
|
|
|
@@ -158,6 +158,16 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
158
158
|
|
|
159
159
|
<!-- /.examples -->
|
|
160
160
|
|
|
161
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
162
|
+
|
|
163
|
+
<section class="related">
|
|
164
|
+
|
|
165
|
+
</section>
|
|
166
|
+
|
|
167
|
+
<!-- /.related -->
|
|
168
|
+
|
|
169
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
170
|
+
|
|
161
171
|
|
|
162
172
|
<section class="main-repo" >
|
|
163
173
|
|
|
@@ -182,7 +192,7 @@ See [LICENSE][stdlib-license].
|
|
|
182
192
|
|
|
183
193
|
## Copyright
|
|
184
194
|
|
|
185
|
-
Copyright © 2016-
|
|
195
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
186
196
|
|
|
187
197
|
</section>
|
|
188
198
|
|
|
@@ -201,9 +211,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
201
211
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-binomcoefln/main.svg
|
|
202
212
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-binomcoefln?branch=main
|
|
203
213
|
|
|
214
|
+
<!--
|
|
215
|
+
|
|
204
216
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-binomcoefln.svg
|
|
205
217
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-binomcoefln/main
|
|
206
218
|
|
|
219
|
+
-->
|
|
220
|
+
|
|
221
|
+
[umd]: https://github.com/umdjs/umd
|
|
222
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
223
|
+
|
|
224
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-binomcoefln/tree/deno
|
|
225
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-binomcoefln/tree/umd
|
|
226
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-binomcoefln/tree/esm
|
|
227
|
+
|
|
207
228
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
208
229
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
209
230
|
|
package/package.json
CHANGED