Skip to content

Commit faeba69

Browse files
committed
Auto-generated commit
1 parent 81d6b57 commit faeba69

File tree

12 files changed

+31
-30
lines changed

12 files changed

+31
-30
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-12-23)
7+
## Unreleased (2025-01-14)
88

99
<section class="features">
1010

@@ -32,6 +32,7 @@
3232

3333
<details>
3434

35+
- [`02cbff3`](https://github.com/stdlib-js/stdlib/commit/02cbff35d876dcea7efd41794f414c7df5eddca4) - **refactor:** update `blas/ext/base/dapx` to follow current project conventions [(#4737)](https://github.com/stdlib-js/stdlib/pull/4737) _(by Muhammad Haris)_
3536
- [`62364f6`](https://github.com/stdlib-js/stdlib/commit/62364f62ea823a3b52c2ad25660ecd80c71f8f36) - **style:** fix C comment alignment _(by Philipp Burckhardt)_
3637
- [`ff25e13`](https://github.com/stdlib-js/stdlib/commit/ff25e1324e1507cc076078e82badce7fdf7915f6) - **docs:** remove excess whitespace _(by Philipp Burckhardt)_
3738
- [`1ea5a78`](https://github.com/stdlib-js/stdlib/commit/1ea5a786066c959ee3560a58ca884ffe1fa6a4de) - **docs:** remove stray character in `blas/ext/base/dapx` documentation [(#3250)](https://github.com/stdlib-js/stdlib/pull/3250) _(by Muhammad Haris)_

CONTRIBUTORS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
2727
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2828
Debashis Maharana <debashismaharana7854@gmail.com>
2929
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
30+
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
3031
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
3132
Dominic Lim <46486515+domlimm@users.noreply.github.com>
3233
Dominik Moritz <domoritz@gmail.com>
@@ -49,6 +50,7 @@ Joey Reed <joeyrreed@gmail.com>
4950
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
5051
Joris Labie <joris.labie1@gmail.com>
5152
Justin Dennison <justin1dennison@gmail.com>
53+
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
5254
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
5355
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
5456
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
@@ -117,7 +119,7 @@ UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
117119
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
118120
Varad Gupta <varadgupta21@gmail.com>
119121
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
120-
Vivek maurya <155618190+vivekmaurya001@users.noreply.github.com>
122+
Vivek Maurya <vm8118134@gmail.com>
121123
Xiaochuan Ye <tap91624@gmail.com>
122124
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
123125
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2024 The Stdlib Authors.
1+
Copyright (c) 2016-2025 The Stdlib Authors.

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The function has the following parameters:
8181
- **N**: number of indexed elements.
8282
- **alpha**: scalar constant.
8383
- **x**: input [`Float64Array`][@stdlib/array/float64].
84-
- **strideX**: stride length for `x`.
84+
- **strideX**: stride length.
8585

8686
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to add a constant to every other element:
8787

@@ -201,14 +201,14 @@ console.log( x );
201201
#include "stdlib/blas/ext/base/dapx.h"
202202
```
203203

204-
#### c_dapx( N, alpha, \*X, strideX )
204+
#### stdlib_strided_dapx( N, alpha, \*X, strideX )
205205

206206
Adds a scalar constant to each element in a double-precision floating-point strided array.
207207

208208
```c
209209
double x[] = { 1.0, 2.0, 3.0, 4.0 };
210210

211-
c_dapx( 4, 5.0, x, 1 );
211+
stdlib_strided_dapx( 4, 5.0, x, 1 );
212212

213213
```
214214
@@ -220,29 +220,29 @@ The function accepts the following arguments:
220220
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
221221
222222
```c
223-
void c_dapx( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX );
223+
void stdlib_strided_dapx( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX );
224224
```
225225

226-
#### c_dapx_ndarray( N, alpha, \*X, strideX, offsetX )
226+
#### stdlib_strided_dapx_ndarray( N, alpha, \*X, strideX, offsetX )
227227

228228
Adds a scalar constant to each element in a double-precision floating-point strided array using alternative indexing semantics.
229229

230230
```c
231231
double x[] = { 1.0, 2.0, 3.0, 4.0 };
232232

233-
c_dapx_ndarray( 4, 5.0, x, 1, 0 );
233+
stdlib_strided_dapx_ndarray( 4, 5.0, x, 1, 0 );
234234
```
235235
236236
The function accepts the following arguments:
237237
238238
- **N**: `[in] CBLAS_INT` number of indexed elements.
239239
- **alpha**: `[in] double` scalar constant.
240240
- **X**: `[inout] double*` input array.
241-
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
242-
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
241+
- **strideX**: `[in] CBLAS_INT` stride length.
242+
- **offsetX**: `[in] CBLAS_INT` starting index.
243243
244244
```c
245-
void c_dapx_ndarray( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
245+
void stdlib_strided_dapx_ndarray( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
246246
```
247247

248248
</section>
@@ -278,7 +278,7 @@ int main( void ) {
278278
const int strideX = 1;
279279

280280
// Fill the array:
281-
c_dapx( N, 5.0, x, strideX );
281+
stdlib_strided_dapx( N, 5.0, x, strideX );
282282

283283
// Print the result:
284284
for ( int i = 0; i < 8; i++ ) {
@@ -336,7 +336,7 @@ See [LICENSE][stdlib-license].
336336
337337
## Copyright
338338
339-
Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
339+
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
340340
341341
</section>
342342

benchmark/c/benchmark.length.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static double benchmark1( int iterations, int len ) {
106106
t = tic();
107107
for ( i = 0; i < iterations; i++ ) {
108108
// cppcheck-suppress uninitvar
109-
c_dapx( len, 5.0, x, 1 );
109+
stdlib_strided_dapx( len, 5.0, x, 1 );
110110
if ( x[ 0 ] != x[ 0 ] ) {
111111
printf( "should not return NaN\n" );
112112
break;
@@ -131,7 +131,7 @@ static double benchmark2( int iterations, int len ) {
131131
t = tic();
132132
for ( i = 0; i < iterations; i++ ) {
133133
// cppcheck-suppress uninitvar
134-
c_dapx_ndarray( len, 5.0, x, 1, 0 );
134+
stdlib_strided_dapx_ndarray( len, 5.0, x, 1, 0 );
135135
if ( x[ 0 ] != x[ 0 ] ) {
136136
printf( "should not return NaN\n" );
137137
break;

0 commit comments

Comments
 (0)