@@ -178,8 +178,8 @@ Computes the sum of single-precision floating-point strided array elements using
178
178
``` c
179
179
const float x[] = { 1.0f, -2.0f, 2.0f };
180
180
181
- double v = stdlib_strided_ssumpw( 3, x, 1 );
182
- // returns 1.0
181
+ float v = stdlib_strided_ssumpw( 3, x, 1 );
182
+ // returns 1.0f
183
183
```
184
184
185
185
The function accepts the following arguments:
@@ -189,7 +189,7 @@ The function accepts the following arguments:
189
189
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
190
190
191
191
```c
192
- double stdlib_strided_ssumpw( const CBLAS_INT N, const float *X, const CBLAS_INT strideX );
192
+ float stdlib_strided_ssumpw( const CBLAS_INT N, const float *X, const CBLAS_INT strideX );
193
193
```
194
194
195
195
#### stdlib_strided_ssumpw_ndarray( N, \* X, strideX, offsetX )
@@ -199,8 +199,8 @@ Computes the sum of single-precision floating-point strided array elements using
199
199
``` c
200
200
const float x[] = { 1.0f, -2.0f, 2.0f };
201
201
202
- double v = stdlib_strided_ssumpw_ndarray( 3, x, 1, 0 );
203
- // returns 1.0
202
+ float v = stdlib_strided_ssumpw_ndarray( 3, x, 1, 0 );
203
+ // returns 1.0f
204
204
```
205
205
206
206
The function accepts the following arguments:
@@ -211,7 +211,7 @@ The function accepts the following arguments:
211
211
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
212
212
213
213
```c
214
- double stdlib_strided_ssumpw_ndarray( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
214
+ float stdlib_strided_ssumpw_ndarray( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
215
215
```
216
216
217
217
</section >
0 commit comments