Skip to content

Commit 7f72f33

Browse files
committed
Update copy
1 parent 82b778f commit 7f72f33

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/array/linspace

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/linspace/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ var arr = linspace.assign( 0.0, -100.0, out );
166166

167167
The function accepts the following `options`:
168168

169-
- **endpoint**: `boolean` indicating whether to include the `stop` value in the output array. This option is only applicable when output array length is greater than `1`. If `false`, the function generates `N + 1` linearly spaced values (where `N` is the length of the provided output array) over the interval `[start, stop]` and only writes `N` values to the output array, thus excluding `stop` from the output array. Accordingly, for a fixed `N`, the spacing between adjacent values in the output array changes depending on the value of `endpoint`. Default: `true`.
169+
- **endpoint**: `boolean` indicating whether to include the `stop` value in the output array. This option is only applicable when the output array length is greater than `1`. If `false`, the function generates `N + 1` linearly spaced values (where `N` is the length of the provided output array) over the interval `[start, stop]` and only writes `N` values to the output array, thus excluding `stop` from the output array. Accordingly, for a fixed `N`, the spacing between adjacent values in the output array changes depending on the value of `endpoint`. Default: `true`.
170170

171171
By default, the function generates a linearly spaced array over the closed interval `[start, stop]`. To generate linearly spaced values over the half-open interval `[start, stop)`, set the `endpoint` option to `false`.
172172

0 commit comments

Comments
 (0)