Skip to content

Commit 4ab6e46

Browse files
committed
Add notes
1 parent 65638ed commit 4ab6e46

File tree

14 files changed

+60
-0
lines changed

14 files changed

+60
-0
lines changed

lib/node_modules/@stdlib/math/iter/sequences/cubes/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ var MAX_ITER = 208063; // floor(cbrt(FLOAT64_MAX_SAFE_INTEGER))
3535
/**
3636
* Returns an iterator which generates a sequence of cubes.
3737
*
38+
* ## Notes
39+
*
40+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
41+
*
3842
* @param {Options} [options] - function options
3943
* @param {NonNegativeInteger} [options.iter=208063] - number of iterations
4044
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/factorials/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ var MAX_ITER = 1e308;
3636
/**
3737
* Returns an iterator which generates a sequence of factorials.
3838
*
39+
* ## Notes
40+
*
41+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
42+
*
3943
* @param {Options} [options] - function options
4044
* @param {NonNegativeInteger} [options.iter=1e308] - number of iterations
4145
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/fibonacci/lib/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ var F1 = 1;
3636
/**
3737
* Returns an iterator which generates a Fibonacci sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - The returned iterator can only generate the first `79` Fibonacci numbers, as larger Fibonacci numbers cannot be safely represented in double-precision floating-point format.
42+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
43+
*
3944
* @param {Options} [options] - function options
4045
* @param {NonNegativeInteger} [options.iter=79] - number of iterations
4146
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/integers/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ var MAX_ITER = FLOAT64_MAX_SAFE_INTEGER * 2;
3636
/**
3737
* Returns an iterator which generates an interleaved integer sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
42+
*
3943
* @param {Options} [options] - function options
4044
* @param {NonNegativeInteger} [options.iter=18014398509481984] - number of iterations
4145
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/lucas/lib/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ var L1 = 1;
3636
/**
3737
* Returns an iterator which generates a Lucas sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - The returned iterator can only generate the first `77` Lucas numbers, as larger Lucas numbers cannot be safely represented in double-precision floating-point format.
42+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
43+
*
3944
* @param {Options} [options] - function options
4045
* @param {NonNegativeInteger} [options.iter=77] - number of iterations
4146
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/negafibonacci/lib/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ var F1 = 1;
3636
/**
3737
* Returns an iterator which generates a negaFibonacci sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - The returned iterator can only generate the first `79` negaFibonacci numbers, as larger negaFibonacci numbers cannot be safely represented in double-precision floating-point format.
42+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
43+
*
3944
* @param {Options} [options] - function options
4045
* @param {NonNegativeInteger} [options.iter=79] - number of iterations
4146
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/negalucas/lib/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ var L1 = -1;
3636
/**
3737
* Returns an iterator which generates a negaLucas sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - The returned iterator can only generate the first `77` negaLucas numbers, as larger negaLucas numbers cannot be safely represented in double-precision floating-point format.
42+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
43+
*
3944
* @param {Options} [options] - function options
4045
* @param {NonNegativeInteger} [options.iter=77] - number of iterations
4146
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/negative-integers/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ var validate = require( './validate.js' );
3131
/**
3232
* Returns an iterator which generates a negative integer sequence.
3333
*
34+
* ## Notes
35+
*
36+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
37+
*
3438
* @param {Options} [options] - function options
3539
* @param {NonNegativeInteger} [options.iter=9007199254740991] - number of iterations
3640
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/nonfibonacci/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ var validate = require( './validate.js' );
3131
/**
3232
* Returns an iterator which generates a non-Fibonacci integer sequence.
3333
*
34+
* ## Notes
35+
*
36+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
37+
*
3438
* @param {Options} [options] - function options
3539
* @param {NonNegativeInteger} [options.iter=1e308] - number of iterations
3640
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/nonnegative-integers/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ var MAX_ITER = FLOAT64_MAX_SAFE_INTEGER + 1;
3636
/**
3737
* Returns an iterator which generates a nonnegative integer sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
42+
*
3943
* @param {Options} [options] - function options
4044
* @param {NonNegativeInteger} [options.iter=9007199254740992] - number of iterations
4145
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/nonpositive-integers/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ var MAX_ITER = FLOAT64_MAX_SAFE_INTEGER + 1;
3636
/**
3737
* Returns an iterator which generates a nonpositive integer sequence.
3838
*
39+
* ## Notes
40+
*
41+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
42+
*
3943
* @param {Options} [options] - function options
4044
* @param {NonNegativeInteger} [options.iter=9007199254740992] - number of iterations
4145
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/nonsquares/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ var MAX_ITER = 9007199349647256; // FLOAT64_MAX_SAFE_INTEGER + floor(sqrt(FLOAT6
3737
/**
3838
* Returns an iterator which generates a sequence of nonsquares.
3939
*
40+
* ## Notes
41+
*
42+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
43+
*
4044
* @param {Options} [options] - function options
4145
* @param {NonNegativeInteger} [options.iter=9007199349647256] - number of iterations
4246
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/positive-integers/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ var validate = require( './validate.js' );
3131
/**
3232
* Returns an iterator which generates a positive integer sequence.
3333
*
34+
* ## Notes
35+
*
36+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
37+
*
3438
* @param {Options} [options] - function options
3539
* @param {NonNegativeInteger} [options.iter=9007199254740991] - number of iterations
3640
* @throws {TypeError} options argument must be an object

lib/node_modules/@stdlib/math/iter/sequences/squares/lib/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ var MAX_ITER = 94906265; // floor(sqrt(FLOAT64_MAX_SAFE_INTEGER))
3535
/**
3636
* Returns an iterator which generates a sequence of squares.
3737
*
38+
* ## Notes
39+
*
40+
* - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
41+
*
3842
* @param {Options} [options] - function options
3943
* @param {NonNegativeInteger} [options.iter=94906265] - number of iterations
4044
* @throws {TypeError} options argument must be an object

0 commit comments

Comments
 (0)