You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/dlinspace/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The function has the following parameters:
48
48
-**N**: number of indexed elements.
49
49
-**start**: start of interval.
50
50
-**stop**: end of interval.
51
-
-**endpoint**: boolean indicating whether to include the `stop` value when writing values to the input array.
51
+
-**endpoint**: boolean indicating whether to include the `stop` value when writing values to the input array. If `true`, the input array is filled with evenly spaced values over the closed interval `[start, stop]`. If `false`, the input array is filled with evenly spaced values over the half-open interval `[start, stop)`.
- Let `M` be the number of generated values (which is either `N` or `N+1` depending on whether `endpoint` is `true` or `false`, respectively). The spacing between values is thus given by `Δ = (stop-start)/(M-1)`.
118
119
- If `N <= 0`, both functions return `x` unchanged.
119
120
120
121
</section>
@@ -187,7 +188,7 @@ The function accepts the following arguments:
187
188
- **N**: `[in] CBLAS_INT` number of indexed elements.
188
189
- **start**: `[in] double` start of interval.
189
190
- **stop**: `[in] double` end of interval.
190
-
- **endpoint**: `[in] bool` boolean indicating whether to include the `stop` value when writing values to the input array.
191
+
- **endpoint**: `[in] bool` boolean indicating whether to include the `stop` value when writing values to the input array. If `true`, the input array is filled with evenly spaced values over the closed interval `[start, stop]`. If `false`, the input array is filled with evenly spaced values over the half-open interval `[start, stop)`.
191
192
- **X**: `[out] double*` input array.
192
193
- **strideX**: `[in] CBLAS_INT` stride length.
193
194
@@ -212,7 +213,7 @@ The function accepts the following arguments:
212
213
- **N**: `[in] CBLAS_INT` number of indexed elements.
213
214
- **start**: `[in] double` start of interval.
214
215
- **stop**: `[in] double` end of interval.
215
-
- **endpoint**: `[in] bool` boolean indicating whether to include the `stop` value when writing values to the input array.
216
+
- **endpoint**: `[in] bool` boolean indicating whether to include the `stop` value when writing values to the input array. If `true`, the input array is filled with evenly spaced values over the closed interval `[start, stop]`. If `false`, the input array is filled with evenly spaced values over the half-open interval `[start, stop)`.
0 commit comments