@stdlib/math-iter-sequences-negafibonacci 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 +50 -6
- 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
|
# iterNegaFibonacciSeq
|
|
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 [negaFibonacci sequence][fibonacci-number].
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ The [negaFibonacci numbers][fibonacci-number] are the integer sequence
|
|
|
33
33
|
<!-- <equation class="equation" label="eq:negafibonacci_sequence" align="center" raw="0, 1, -1, 2, -3, 5, -8, 13, -21, 34, -55, 89, -144, \ldots" alt="NegaFibonacci 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:negafibonacci_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/negafibonacci/docs/img/equation_negafibonacci_sequence.svg" alt="NegaFibonacci 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:negafibonacci_recurrence_relation" align="center" raw="F_{n-2} = F_{n} - F_{n-1}" alt="NegaFibonacci sequence recurrence relation"> -->
|
|
45
45
|
|
|
46
46
|
<div class="equation" align="center" data-raw-text="F_{n-2} = F_{n} - F_{n-1}" data-equation="eq:negafibonacci_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/negafibonacci/docs/img/equation_negafibonacci_recurrence_relation.svg" alt="NegaFibonacci sequence recurrence relation">
|
|
48
48
|
<br>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@ which yields
|
|
|
55
55
|
<!-- <equation class="equation" label="eq:negafibonacci_fibonacci" align="center" raw="F_{-n} = (-1)^{n+1} F_n" alt="NegaFibonacci relationship to Fibonacci numbers"> -->
|
|
56
56
|
|
|
57
57
|
<div class="equation" align="center" data-raw-text="F_{-n} = (-1)^{n+1} F_n" data-equation="eq:negafibonacci_fibonacci">
|
|
58
|
-
<img src="https://cdn.
|
|
58
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@aa77a2f6e76d2e9da5b49bffa45ee5167d6c16e1/lib/node_modules/@stdlib/math/iter/sequences/negafibonacci/docs/img/equation_negafibonacci_fibonacci.svg" alt="NegaFibonacci relationship to Fibonacci numbers">
|
|
59
59
|
<br>
|
|
60
60
|
</div>
|
|
61
61
|
|
|
@@ -188,6 +188,22 @@ while ( true ) {
|
|
|
188
188
|
|
|
189
189
|
<!-- /.references -->
|
|
190
190
|
|
|
191
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
192
|
+
|
|
193
|
+
<section class="related">
|
|
194
|
+
|
|
195
|
+
* * *
|
|
196
|
+
|
|
197
|
+
## See Also
|
|
198
|
+
|
|
199
|
+
- <span class="package-name">[`@stdlib/math/base/special/negafibonacci`][@stdlib/math/base/special/negafibonacci]</span><span class="delimiter">: </span><span class="description">compute the nth negaFibonacci number.</span>
|
|
200
|
+
- <span class="package-name">[`@stdlib/math/iter/sequences/fibonacci`][@stdlib/math/iter/sequences/fibonacci]</span><span class="delimiter">: </span><span class="description">create an iterator which generates a Fibonacci sequence.</span>
|
|
201
|
+
- <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>
|
|
202
|
+
|
|
203
|
+
</section>
|
|
204
|
+
|
|
205
|
+
<!-- /.related -->
|
|
206
|
+
|
|
191
207
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
192
208
|
|
|
193
209
|
|
|
@@ -201,6 +217,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
201
217
|
|
|
202
218
|
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].
|
|
203
219
|
|
|
220
|
+
#### Community
|
|
221
|
+
|
|
222
|
+
[![Chat][chat-image]][chat-url]
|
|
223
|
+
|
|
204
224
|
---
|
|
205
225
|
|
|
206
226
|
## License
|
|
@@ -210,7 +230,7 @@ See [LICENSE][stdlib-license].
|
|
|
210
230
|
|
|
211
231
|
## Copyright
|
|
212
232
|
|
|
213
|
-
Copyright © 2016-
|
|
233
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
214
234
|
|
|
215
235
|
</section>
|
|
216
236
|
|
|
@@ -229,9 +249,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
229
249
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-iter-sequences-negafibonacci/main.svg
|
|
230
250
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-iter-sequences-negafibonacci?branch=main
|
|
231
251
|
|
|
232
|
-
|
|
252
|
+
<!--
|
|
253
|
+
|
|
254
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-iter-sequences-negafibonacci.svg
|
|
233
255
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-iter-sequences-negafibonacci/main
|
|
234
256
|
|
|
257
|
+
-->
|
|
258
|
+
|
|
259
|
+
[umd]: https://github.com/umdjs/umd
|
|
260
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
261
|
+
|
|
262
|
+
[deno-url]: https://github.com/stdlib-js/math-iter-sequences-negafibonacci/tree/deno
|
|
263
|
+
[umd-url]: https://github.com/stdlib-js/math-iter-sequences-negafibonacci/tree/umd
|
|
264
|
+
[esm-url]: https://github.com/stdlib-js/math-iter-sequences-negafibonacci/tree/esm
|
|
265
|
+
|
|
266
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
267
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
268
|
+
|
|
235
269
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
236
270
|
|
|
237
271
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -242,6 +276,16 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
242
276
|
|
|
243
277
|
[ieee754]: https://en.wikipedia.org/wiki/IEEE_754-1985
|
|
244
278
|
|
|
279
|
+
<!-- <related-links> -->
|
|
280
|
+
|
|
281
|
+
[@stdlib/math/base/special/negafibonacci]: https://www.npmjs.com/package/@stdlib/math-base-special-negafibonacci
|
|
282
|
+
|
|
283
|
+
[@stdlib/math/iter/sequences/fibonacci]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-fibonacci
|
|
284
|
+
|
|
285
|
+
[@stdlib/math/iter/sequences/nonfibonacci]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-nonfibonacci
|
|
286
|
+
|
|
287
|
+
<!-- </related-links> -->
|
|
288
|
+
|
|
245
289
|
</section>
|
|
246
290
|
|
|
247
291
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-iter-sequences-negafibonacci",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Create an iterator which generates a negaFibonacci 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-negafibonacci.git"
|