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: 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
@@ -81,7 +81,7 @@ The function has the following parameters:
81
81
-**N**: number of indexed elements.
82
82
-**start**: start of interval.
83
83
-**stop**: end of interval.
84
-
-**endpoint**: boolean indicating whether to include the `stop` value when writing values to the input array.
84
+
-**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)`.
151
152
- If `N <= 0`, both functions return `x` unchanged.
152
153
153
154
</section>
@@ -220,7 +221,7 @@ The function accepts the following arguments:
220
221
- **N**: `[in] CBLAS_INT` number of indexed elements.
221
222
- **start**: `[in] double` start of interval.
222
223
- **stop**: `[in] double` end of interval.
223
-
- **endpoint**: `[in] bool` boolean indicating whether to include the `stop` value when writing values to the input array.
224
+
- **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)`.
224
225
- **X**: `[out] double*` input array.
225
226
- **strideX**: `[in] CBLAS_INT` stride length.
226
227
@@ -245,7 +246,7 @@ The function accepts the following arguments:
245
246
- **N**: `[in] CBLAS_INT` number of indexed elements.
246
247
- **start**: `[in] double` start of interval.
247
248
- **stop**: `[in] double` end of interval.
248
-
- **endpoint**: `[in] bool` boolean indicating whether to include the `stop` value when writing values to the input array.
249
+
- **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