@@ -57,10 +57,10 @@ The function has the following parameters:
5757- ** k** : number of times to recursively compute differences.
5858- ** x** : input [ ` Float64Array ` ] [ @stdlib/array/float64 ] .
5959- ** strideX** : stride length for ` x ` .
60- - ** N1** : number of elements to ` prepend ` .
60+ - ** N1** : number of indexed elements to ` prepend ` .
6161- ** prepend** : a [ ` Float64Array ` ] [ @stdlib/array/float64 ] containing values to prepend prior to computing differences.
6262- ** strideP** : stride length for ` prepend ` .
63- - ** N2** : number of elements to ` append ` .
63+ - ** N2** : number of indexed elements to ` append ` .
6464- ** append** : a [ ` Float64Array ` ] [ @stdlib/array/float64 ] containing values to append prior to computing differences.
6565- ** strideA** : stride length for ` append ` .
6666- ** out** : output [ ` Float64Array ` ] [ @stdlib/array/float64 ] . Must have ` N + N1 + N2 - k ` elements.
@@ -136,7 +136,7 @@ The function has the following additional parameters:
136136- ** offsetOut** : starting index for ` out ` .
137137- ** offsetW** : starting index for ` workspace ` .
138138
139- While [ ` typed array ` ] [ mdn-typed-array ] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index . For example, to access only the last three elements:
139+ While [ ` typed array ` ] [ mdn-typed-array ] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices . For example, to access only the last three elements:
140140
141141``` javascript
142142var Float64Array = require ( ' @stdlib/array/float64' );
@@ -232,7 +232,7 @@ console.log( 'Output: ', out );
232232
233233<!-- lint disable maximum-heading-length -->
234234
235- #### stdlib_strided_ddiff( N, k, \* X, strideX, N1, \* Prepend , strideP, N2, \* Append , strideA, \* Out , strideOut, \* Workspace , strideW )
235+ #### stdlib_strided_ddiff( N, k, \* X, strideX, N1, \* prepend , strideP, N2, \* append , strideA, \* out , strideOut, \* workspace , strideW )
236236
237237Calculates the k-th discrete forward differences of a double-precision floating-point strided array.
238238
@@ -252,24 +252,24 @@ The function accepts the following arguments:
252252- **k**: `[in] CBLAS_INT` number of times to recursively compute differences.
253253- **X**: `[in] double*` input array.
254254- **strideX**: `[in] CBLAS_INT` stride length for `X`.
255- - **N1**: `[in] CBLAS_INT` number of elements in `Prepend `.
256- - **Prepend **: `[in] double*` array containing values to prepend prior to computing differences.
257- - **strideP**: `[in] CBLAS_INT` stride length for `Prepend `.
258- - **N2**: `[in] CBLAS_INT` number of elements in `Append `.
259- - **Append **: `[in] double*` array containing values to append prior to computing differences.
260- - **strideA**: `[in] CBLAS_INT` stride length for `Append `.
261- - **Out **: `[inout] double*` output array. Must have `N + N1 + N2 - k` elements.
262- - **strideOut**: `[in] CBLAS_INT` stride length for `Out `.
263- - **Workspace **: `[inout] double*` workspace array. Must have `N + N1 + N2 - 1` elements.
264- - **strideW**: `[in] CBLAS_INT` stride length for `Workspace `.
255+ - **N1**: `[in] CBLAS_INT` number of indexed elements for `prepend `.
256+ - **prepend **: `[in] double*` array containing values to prepend prior to computing differences.
257+ - **strideP**: `[in] CBLAS_INT` stride length for `prepend `.
258+ - **N2**: `[in] CBLAS_INT` number of indexed elements for `append `.
259+ - **append **: `[in] double*` array containing values to append prior to computing differences.
260+ - **strideA**: `[in] CBLAS_INT` stride length for `append `.
261+ - **out **: `[inout] double*` output array. Must have `N + N1 + N2 - k` elements.
262+ - **strideOut**: `[in] CBLAS_INT` stride length for `out `.
263+ - **workspace **: `[inout] double*` workspace array. Must have `N + N1 + N2 - 1` elements.
264+ - **strideW**: `[in] CBLAS_INT` stride length for `workspace `.
265265
266266```c
267- void stdlib_strided_ddiff( const CBLAS_INT N, const CBLAS_INT k, const double *X, const CBLAS_INT strideX, const CBLAS_INT N1, const double *Prepend , const CBLAS_INT strideP, const CBLAS_INT N2, const double *Append , const CBLAS_INT strideA, double *Out , const CBLAS_INT strideOut, double *Workspace , const CBLAS_INT strideW );
267+ void stdlib_strided_ddiff( const CBLAS_INT N, const CBLAS_INT k, const double *X, const CBLAS_INT strideX, const CBLAS_INT N1, const double *prepend , const CBLAS_INT strideP, const CBLAS_INT N2, const double *append , const CBLAS_INT strideA, double *out , const CBLAS_INT strideOut, double *workspace , const CBLAS_INT strideW );
268268```
269269
270270<!-- lint disable maximum-heading-length -->
271271
272- #### stdlib_strided_ddiff_ndarray( N, k, \* X, strideX, offsetX, N1, \* Prepend , strideP, offsetP, N2, \* Append , strideA, offsetA, \* Out , strideOut, offsetOut, \* W , strideW, offsetW )
272+ #### stdlib_strided_ddiff_ndarray( N, k, \* X, strideX, offsetX, N1, \* prepend , strideP, offsetP, N2, \* append , strideA, offsetA, \* out , strideOut, offsetOut, \* workspace , strideW, offsetW )
273273
274274Calculates the k-th discrete forward differences of a double-precision floating-point strided array using alternative indexing semantics.
275275
@@ -290,23 +290,23 @@ The function accepts the following arguments:
290290- **X**: `[in] double*` input array.
291291- **strideX**: `[in] CBLAS_INT` stride length for `X`.
292292- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
293- - **N1**: `[in] CBLAS_INT` number of elements in `Prepend `.
294- - **Prepend **: `[in] double*` array containing values to prepend prior to computing differences.
295- - **strideP**: `[in] CBLAS_INT` stride length for `Prepend `.
296- - **offsetP**: `[in] CBLAS_INT` starting index for `Prepend `.
297- - **N2**: `[in] CBLAS_INT` number of elements in `Append `.
298- - **Append **: `[in] double*` array containing values to append prior to computing differences.
299- - **strideA**: `[in] CBLAS_INT` stride length for `Append `.
300- - **offsetA**: `[in] CBLAS_INT` starting index for `Append `.
301- - **Out **: `[inout] double*` output array. Must have `N + N1 + N2 - k` elements.
302- - **strideOut**: `[in] CBLAS_INT` stride length for `Out `.
303- - **offsetOut**: `[in] CBLAS_INT` starting index for `Out `.
304- - **Workspace **: `[inout] double*` workspace array. Must have `N + N1 + N2 - 1` elements.
305- - **strideW**: `[in] CBLAS_INT` stride length for `Workspace `.
306- - **offsetW**: `[in] CBLAS_INT` starting index for `Workspace `.
293+ - **N1**: `[in] CBLAS_INT` number of indexed elements for `prepend `.
294+ - **prepend **: `[in] double*` array containing values to prepend prior to computing differences.
295+ - **strideP**: `[in] CBLAS_INT` stride length for `prepend `.
296+ - **offsetP**: `[in] CBLAS_INT` starting index for `prepend `.
297+ - **N2**: `[in] CBLAS_INT` number of indexed elements for `append `.
298+ - **append **: `[in] double*` array containing values to append prior to computing differences.
299+ - **strideA**: `[in] CBLAS_INT` stride length for `append `.
300+ - **offsetA**: `[in] CBLAS_INT` starting index for `append `.
301+ - **out **: `[inout] double*` output array. Must have `N + N1 + N2 - k` elements.
302+ - **strideOut**: `[in] CBLAS_INT` stride length for `out `.
303+ - **offsetOut**: `[in] CBLAS_INT` starting index for `out `.
304+ - **workspace **: `[inout] double*` workspace array. Must have `N + N1 + N2 - 1` elements.
305+ - **strideW**: `[in] CBLAS_INT` stride length for `workspace `.
306+ - **offsetW**: `[in] CBLAS_INT` starting index for `workspace `.
307307
308308```c
309- void stdlib_strided_ddiff_ndarray( const CBLAS_INT N, const CBLAS_INT k, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, const CBLAS_INT N1, const double *Prepend , const CBLAS_INT strideP, const CBLAS_INT offsetP, const CBLAS_INT N2, const double *Append , const CBLAS_INT strideA, const CBLAS_INT offsetA, double *Out , const CBLAS_INT strideOut, const CBLAS_INT offsetOut, double *Workspace , const CBLAS_INT strideW, const CBLAS_INT offsetW );
309+ void stdlib_strided_ddiff_ndarray( const CBLAS_INT N, const CBLAS_INT k, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, const CBLAS_INT N1, const double *prepend , const CBLAS_INT strideP, const CBLAS_INT offsetP, const CBLAS_INT N2, const double *append , const CBLAS_INT strideA, const CBLAS_INT offsetA, double *out , const CBLAS_INT strideOut, const CBLAS_INT offsetOut, double *workspace , const CBLAS_INT strideW, const CBLAS_INT offsetW );
310310```
311311
312312</section >
@@ -335,10 +335,10 @@ int main( void ) {
335335 // Create a strided array:
336336 const double x[ ] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 };
337337
338- // Define prepend values:
338+ // Define a list of values to prepend :
339339 const double p[] = { -1.0 };
340340
341- // Define append values:
341+ // Define a list of values to append :
342342 const double a[] = { 10.0 };
343343
344344 // Define an output array:
0 commit comments