@stdlib/math-iter-sequences-lucas 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 +49 -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
|
# iterLucasSeq
|
|
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 [Lucas sequence][lucas-number].
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ The [Lucas numbers][lucas-number] are the integer sequence
|
|
|
33
33
|
<!-- <equation class="equation" label="eq:lucas_sequence" align="center" raw="2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, 199, 322, \ldots" alt="Lucas sequence"> -->
|
|
34
34
|
|
|
35
35
|
<div class="equation" align="center" data-raw-text="2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, 199, 322, \ldots" data-equation="eq:lucas_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/lucas/docs/img/equation_lucas_sequence.svg" alt="Lucas 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:lucas_recurrence_relation" align="center" raw="L_n = \begin{cases}2 & \textrm{if}\ n = 0\\1 & \textrm{if}\ n = 1\\L_{n-1} + L_{n-2} & \textrm{if}\ n > 1\end{cases}" alt="Lucas sequence recurrence relation"> -->
|
|
45
45
|
|
|
46
46
|
<div class="equation" align="center" data-raw-text="L_n = \begin{cases}2 & \textrm{if}\ n = 0\\1 & \textrm{if}\ n = 1\\L_{n-1} + L_{n-2} & \textrm{if}\ n > 1\end{cases}" data-equation="eq:lucas_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/lucas/docs/img/equation_lucas_recurrence_relation.svg" alt="Lucas sequence recurrence relation">
|
|
48
48
|
<br>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
@@ -175,6 +175,22 @@ while ( true ) {
|
|
|
175
175
|
|
|
176
176
|
<!-- /.references -->
|
|
177
177
|
|
|
178
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
179
|
+
|
|
180
|
+
<section class="related">
|
|
181
|
+
|
|
182
|
+
* * *
|
|
183
|
+
|
|
184
|
+
## See Also
|
|
185
|
+
|
|
186
|
+
- <span class="package-name">[`@stdlib/math/base/special/lucas`][@stdlib/math/base/special/lucas]</span><span class="delimiter">: </span><span class="description">compute the nth Lucas number.</span>
|
|
187
|
+
- <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>
|
|
188
|
+
- <span class="package-name">[`@stdlib/math/iter/sequences/negalucas`][@stdlib/math/iter/sequences/negalucas]</span><span class="delimiter">: </span><span class="description">create an iterator which generates a negaLucas sequence.</span>
|
|
189
|
+
|
|
190
|
+
</section>
|
|
191
|
+
|
|
192
|
+
<!-- /.related -->
|
|
193
|
+
|
|
178
194
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
179
195
|
|
|
180
196
|
|
|
@@ -188,6 +204,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
188
204
|
|
|
189
205
|
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].
|
|
190
206
|
|
|
207
|
+
#### Community
|
|
208
|
+
|
|
209
|
+
[![Chat][chat-image]][chat-url]
|
|
210
|
+
|
|
191
211
|
---
|
|
192
212
|
|
|
193
213
|
## License
|
|
@@ -197,7 +217,7 @@ See [LICENSE][stdlib-license].
|
|
|
197
217
|
|
|
198
218
|
## Copyright
|
|
199
219
|
|
|
200
|
-
Copyright © 2016-
|
|
220
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
201
221
|
|
|
202
222
|
</section>
|
|
203
223
|
|
|
@@ -216,9 +236,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
216
236
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-iter-sequences-lucas/main.svg
|
|
217
237
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-iter-sequences-lucas?branch=main
|
|
218
238
|
|
|
219
|
-
|
|
239
|
+
<!--
|
|
240
|
+
|
|
241
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-iter-sequences-lucas.svg
|
|
220
242
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-iter-sequences-lucas/main
|
|
221
243
|
|
|
244
|
+
-->
|
|
245
|
+
|
|
246
|
+
[umd]: https://github.com/umdjs/umd
|
|
247
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
248
|
+
|
|
249
|
+
[deno-url]: https://github.com/stdlib-js/math-iter-sequences-lucas/tree/deno
|
|
250
|
+
[umd-url]: https://github.com/stdlib-js/math-iter-sequences-lucas/tree/umd
|
|
251
|
+
[esm-url]: https://github.com/stdlib-js/math-iter-sequences-lucas/tree/esm
|
|
252
|
+
|
|
253
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
254
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
255
|
+
|
|
222
256
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
223
257
|
|
|
224
258
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -229,6 +263,16 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
229
263
|
|
|
230
264
|
[ieee754]: https://en.wikipedia.org/wiki/IEEE_754-1985
|
|
231
265
|
|
|
266
|
+
<!-- <related-links> -->
|
|
267
|
+
|
|
268
|
+
[@stdlib/math/base/special/lucas]: https://www.npmjs.com/package/@stdlib/math-base-special-lucas
|
|
269
|
+
|
|
270
|
+
[@stdlib/math/iter/sequences/fibonacci]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-fibonacci
|
|
271
|
+
|
|
272
|
+
[@stdlib/math/iter/sequences/negalucas]: https://www.npmjs.com/package/@stdlib/math-iter-sequences-negalucas
|
|
273
|
+
|
|
274
|
+
<!-- </related-links> -->
|
|
275
|
+
|
|
232
276
|
</section>
|
|
233
277
|
|
|
234
278
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-iter-sequences-lucas",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Create an iterator which generates a Lucas 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-lucas.git"
|