@stdlib/math-iter-sequences-fibonacci 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 +52 -5
- package/package.json +2 -2
- 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
|
# iterFibonacciSeq
|
|
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
|
> Create an iterator which generates a [Fibonacci sequence][fibonacci-number].
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ The [Fibonacci numbers][fibonacci-number] are the integer sequence
|
|
|
33
33
|
<!-- <equation class="equation" label="eq:fibonacci_sequence" align="center" raw="0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, \ldots" alt="Fibonacci sequence"> -->
|
|
34
34
|
|
|
35
35
|
<div class="equation" align="center" data-raw-text="0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, \ldots" data-equation="eq:fibonacci_sequence">
|
|
36
|
-
<img src="https://cdn.
|
|
36
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@aa77a2f6e76d2e9da5b49bffa45ee5167d6c16e1/lib/node_modules/@stdlib/math/iter/sequences/fibonacci/docs/img/equation_fibonacci_sequence.svg" alt="Fibonacci sequence">
|
|
37
37
|
<br>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
@@ -44,7 +44,7 @@ The sequence is defined by the recurrence relation
|
|
|
44
44
|
<!-- <equation class="equation" label="eq:fibonacci_recurrence_relation" align="center" raw="F_n = F_{n-1} + F_{n-2}" alt="Fibonacci sequence recurrence relation"> -->
|
|
45
45
|
|
|
46
46
|
<div class="equation" align="center" data-raw-text="F_n = F_{n-1} + F_{n-2}" data-equation="eq:fibonacci_recurrence_relation">
|
|
47
|
-
<img src="https://cdn.
|
|
47
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@aa77a2f6e76d2e9da5b49bffa45ee5167d6c16e1/lib/node_modules/@stdlib/math/iter/sequences/fibonacci/docs/img/equation_fibonacci_recurrence_relation.svg" alt="Fibonacci sequence recurrence relation">
|
|
48
48
|
<br>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
@@ -177,6 +177,23 @@ while ( true ) {
|
|
|
177
177
|
|
|
178
178
|
<!-- /.references -->
|
|
179
179
|
|
|
180
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
181
|
+
|
|
182
|
+
<section class="related">
|
|
183
|
+
|
|
184
|
+
* * *
|
|
185
|
+
|
|
186
|
+
## See Also
|
|
187
|
+
|
|
188
|
+
- <span class="package-name">[`@stdlib/math/base/special/fibonacci`][@stdlib/math/base/special/fibonacci]</span><span class="delimiter">: </span><span class="description">compute the nth Fibonacci number.</span>
|
|
189
|
+
- <span class="package-name">[`@stdlib/math/iter/sequences/lucas`][@stdlib/math/iter/sequences/lucas]</span><span class="delimiter">: </span><span class="description">create an iterator which generates a Lucas sequence.</span>
|
|
190
|
+
- <span class="package-name">[`@stdlib/math/iter/sequences/negafibonacci`][@stdlib/math/iter/sequences/negafibonacci]</span><span class="delimiter">: </span><span class="description">create an iterator which generates a negaFibonacci sequence.</span>
|
|
191
|
+
- <span class="package-name">[`@stdlib/math/iter/sequences/nonfibonacci`][@stdlib/math/iter/sequences/nonfibonacci]</span><span class="delimiter">: </span><span class="description">create an iterator which generates a non-Fibonacci integer sequence.</span>
|
|
192
|
+
|
|
193
|
+
</section>
|
|
194
|
+
|
|
195
|
+
<!-- /.related -->
|
|
196
|
+
|
|
180
197
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
181
198
|
|
|
182
199
|
|
|
@@ -190,6 +207,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
190
207
|
|
|
191
208
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
192
209
|
|
|
210
|
+
#### Community
|
|
211
|
+
|
|
212
|
+
[![Chat][chat-image]][chat-url]
|
|
213
|
+
|
|
193
214
|
---
|
|
194
215
|
|
|
195
216
|
## License
|
|
@@ -199,7 +220,7 @@ See [LICENSE][stdlib-license].
|
|
|
199
220
|
|
|
200
221
|
## Copyright
|
|
201
222
|
|
|
202
|
-
Copyright © 2016-
|
|
223
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
203
224
|
|
|
204
225
|
</section>
|
|
205
226
|
|
|
@@ -218,9 +239,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
218
239
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-iter-sequences-fibonacci/main.svg
|
|
219
240
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-iter-sequences-fibonacci?branch=main
|
|
220
241
|
|
|
221
|
-
|
|
242
|
+
<!--
|
|
243
|
+
|
|
244
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-iter-sequences-fibonacci.svg
|
|
222
245
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-iter-sequences-fibonacci/main
|
|
223
246
|
|
|
247
|
+
-->
|
|
248
|
+
|
|
249
|
+
[umd]: https://github.com/umdjs/umd
|
|
250
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
251
|
+
|
|
252
|
+
[deno-url]: https://github.com/stdlib-js/math-iter-sequences-fibonacci/tree/deno
|
|
253
|
+
[umd-url]: https://github.com/stdlib-js/math-iter-sequences-fibonacci/tree/umd
|
|
254
|
+
[esm-url]: https://github.com/stdlib-js/math-iter-sequences-fibonacci/tree/esm
|
|
255
|
+
|
|
256
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
257
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
258
|
+
|
|
224
259
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
225
260
|
|
|
226
261
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -231,6 +266,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
231
266
|
|
|
232
267
|
[ieee754]: https://en.wikipedia.org/wiki/IEEE_754-1985
|
|
233
268
|
|
|
269
|
+
<!-- <related-links> -->
|
|
270
|
+
|
|
271
|
+
[@stdlib/math/base/special/fibonacci]: https://www.npmjs.com/package/@stdlib/math-base-special-fibonacci
|
|
272
|
+
|
|
273
|
+
[@stdlib/math/iter/sequences/lucas]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-lucas
|
|
274
|
+
|
|
275
|
+
[@stdlib/math/iter/sequences/negafibonacci]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-negafibonacci
|
|
276
|
+
|
|
277
|
+
[@stdlib/math/iter/sequences/nonfibonacci]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-nonfibonacci
|
|
278
|
+
|
|
279
|
+
<!-- </related-links> -->
|
|
280
|
+
|
|
234
281
|
</section>
|
|
235
282
|
|
|
236
283
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-iter-sequences-fibonacci",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Create an iterator which generates a Fibonacci sequence.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"examples": "make examples",
|
|
29
29
|
"benchmark": "make benchmark"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git://github.com/stdlib-js/math-iter-sequences-fibonacci.git"
|