Skip to content

Commit 17f1cea

Browse files
committed
Auto-generated commit
1 parent b69d04f commit 17f1cea

File tree

8 files changed

+98
-75
lines changed

8 files changed

+98
-75
lines changed

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

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

7-
## Unreleased (2025-07-29)
7+
## Unreleased (2025-09-18)
88

99
<section class="bug-fixes">
1010

@@ -34,6 +34,10 @@ This release closes the following issue:
3434

3535
<details>
3636

37+
- [`a3e7978`](https://github.com/stdlib-js/stdlib/commit/a3e79786217bf1c9a84875203251af82cc93a222) - **docs:** update markup _(by Athan Reines)_
38+
- [`7add020`](https://github.com/stdlib-js/stdlib/commit/7add0201c13e56a0381926ccfd4073c84eaf2ed4) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
39+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
40+
- [`6eee151`](https://github.com/stdlib-js/stdlib/commit/6eee15199727d04e3757e66f38384e97b8a333da) - **style:** fix indentation in JSON files _(by Philipp Burckhardt)_
3741
- [`fd9f8d2`](https://github.com/stdlib-js/stdlib/commit/fd9f8d2b7cb5d4a8c7f2a9cef97e7a0b246523f6) - **chore:** fix C lint errors [(#7769)](https://github.com/stdlib-js/stdlib/pull/7769) _(by GeoDaoyu)_
3842
- [`7536870`](https://github.com/stdlib-js/stdlib/commit/75368709f4bdeb91221d08492b5a0bc9c94f5b71) - **docs:** fix example and update docs _(by Athan Reines)_
3943
- [`f22a9ab`](https://github.com/stdlib-js/stdlib/commit/f22a9ab1c1c50aacc3529b77401469c915f79aaf) - **fix:** ensure support for allocating zero-dimensional ndarrays _(by Athan Reines)_
@@ -49,10 +53,11 @@ This release closes the following issue:
4953

5054
### Contributors
5155

52-
A total of 2 people contributed to this release. Thank you to the following contributors:
56+
A total of 3 people contributed to this release. Thank you to the following contributors:
5357

5458
- Athan Reines
5559
- GeoDaoyu
60+
- Philipp Burckhardt
5661

5762
</section>
5863

CONTRIBUTORS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <[email protected]>
99
Abdul Kaium <[email protected]>
1010
Abhay Punia <[email protected]>
1111
Abhijit Raut <[email protected]>
12+
Abhishek G <[email protected]>
1213
Abhishek Jain <[email protected]>
1314
Adarsh Palaskar <[email protected]>
1415
Aditya Sapra <[email protected]>
16+
Aditya Singh <[email protected]>
1517
Ahmed Atwa <[email protected]>
1618
Ahmed Kashkoush <[email protected]>
1719
Ahmed Khaled <[email protected]>
@@ -27,6 +29,7 @@ Anmol Sah <[email protected]>
2729
Annamalai Prabu <[email protected]>
2830
Anshu Kumar <[email protected]>
2931
Anshu Kumar <[email protected]>
32+
Anshumancanrock <[email protected]>
3033
Anudeep Sanapala <[email protected]>
3134
Arihant Pal <[email protected]>
3235
Aryan Bhirud <[email protected]>
@@ -40,6 +43,7 @@ Bruno Fenzl <[email protected]>
4043
Bryan Elee <[email protected]>
4144
Chinmay Joshi <[email protected]>
4245
Christopher Dambamuromo <[email protected]>
46+
DUDHAT HEMIL PRAVINKUMAR <[email protected]>
4347
4448
Daniel Hernandez Gomez <[email protected]>
4549
Daniel Killenberger <[email protected]>
@@ -63,6 +67,7 @@ Frank Kovacs <[email protected]>
6367
GK Bishnoi <[email protected]>
6468
GURU PRASAD SHARMA <[email protected]>
6569
70+
Gaurav Kaushik <[email protected]>
6671
Gautam Kaushik <[email protected]>
6772
Gautam sharma <[email protected]>
6873
@@ -119,6 +124,8 @@ Momtchil Momtchev <[email protected]>
119124
Muhammad Haris <[email protected]>
120125
Muhammad Taaha Tariq <[email protected]>
121126
Muhmmad Saad <[email protected]>
127+
NEEKUorAAYUSH <[email protected]>
128+
Nakul Krishnakumar <[email protected]>
122129
Naresh Jagadeesan <[email protected]>
123130
Naveen Kumar <[email protected]>
124131
Neeraj Pathak <[email protected]>
@@ -162,6 +169,7 @@ Ruthwik Chikoti <[email protected]>
162169
Ryan Seal <[email protected]>
163170
Rylan Yang <[email protected]>
164171
SAHIL KUMAR <[email protected]>
172+
SAUJANYA MAGARDE <[email protected]>
165173
SHIVAM YADAV <[email protected]>
166174
Sachin Raj <[email protected]>
167175
Sahil Goyal <[email protected]>
@@ -174,6 +182,7 @@ Saurabh Singh <[email protected]>
174182
Seyyed Parsa Neshaei <[email protected]>
175183
Shabareesh Shetty <[email protected]>
176184
Shashank Shekhar Singh <[email protected]>
185+
Shaswata Panda <[email protected]>
177186
Shivam Ahir <[email protected]>
178187
179188
Shraddheya Shendre <[email protected]>
@@ -184,6 +193,7 @@ Sivam Das <[email protected]>
184193
Snehil Shah <[email protected]>
185194
Soumajit Chatterjee <[email protected]>
186195
Spandan Barve <[email protected]>
196+
Srinivas Batthula <[email protected]>
187197
Stephannie Jiménez Gacha <[email protected]>
188198
Suhaib Ilahi <[email protected]>
189199
Suraj Kumar <[email protected]>
@@ -193,16 +203,19 @@ Tirtadwipa Manunggal <[email protected]>
193203
Tudor Pagu <[email protected]>
194204
Tufailahmed Bargir <[email protected]>
195205
Tushar Bhardwaj <[email protected]>
206+
Tyson Cung <[email protected]>
196207
Uday Kakade <[email protected]>
197208
Ujjwal Kirti <[email protected]>
198209
Utkarsh <http://[email protected]>
199210
Utkarsh Raj <[email protected]>
200211
UtkershBasnet <[email protected]>
201212
Vaibhav Patel <[email protected]>
213+
Vansh Choudhary <[email protected]>
202214
Vara Rahul Rajana <[email protected]>
203215
Varad Gupta <[email protected]>
204216
Vinit Pandit <[email protected]>
205217
Vivek Maurya <[email protected]>
218+
Wendy Yuchen Sun <[email protected]>
206219
Xiaochuan Ye <[email protected]>
207220
Yaswanth Kosuru <[email protected]>
208221
Yernar Yergaziyev <[email protected]>

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,11 @@ var dtype = arr.dtype;
316316

317317
#### ndarray.prototype.flags
318318

319-
Meta information, such as information regarding the memory layout of the array. The returned `object` has the following properties:
319+
Meta information, such as information regarding the memory layout of the array. The returned object has the following properties:
320320

321-
- **ROW_MAJOR_CONTIGUOUS**: `boolean` indicating if an array is row-major contiguous.
322-
- **COLUMN_MAJOR_CONTIGUOUS**: `boolean` indicating if an array is column-major contiguous.
323-
- **READONLY**: `boolean` indicating whether an array is **read-only**.
321+
- **ROW_MAJOR_CONTIGUOUS**: boolean indicating if an array is row-major contiguous.
322+
- **COLUMN_MAJOR_CONTIGUOUS**: boolean indicating if an array is column-major contiguous.
323+
- **READONLY**: boolean indicating whether an array is **read-only**.
324324

325325
An array is contiguous if (1) an array is compatible with being stored in a single memory segment and (2) each array element is adjacent to the next array element. Note that an array can be both row-major contiguous and column-major contiguous at the same time (e.g., if an array is a 1-dimensional ndarray with `strides = [1]`).
326326

manifest.json

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
{
2-
"options": {},
3-
"fields": [
4-
{
5-
"field": "src",
6-
"resolve": true,
7-
"relative": true
8-
},
9-
{
10-
"field": "include",
11-
"resolve": true,
12-
"relative": true
13-
},
14-
{
15-
"field": "libraries",
16-
"resolve": false,
17-
"relative": false
18-
},
19-
{
20-
"field": "libpath",
21-
"resolve": true,
22-
"relative": false
23-
}
24-
],
25-
"confs": [
26-
{
27-
"src": [
28-
"./src/get.c",
29-
"./src/get_ptr.c",
30-
"./src/iget.c",
31-
"./src/iget_ptr.c",
32-
"./src/iset.c",
33-
"./src/main.c",
34-
"./src/set.c",
35-
"./src/set_ptr.c"
36-
],
37-
"include": [
38-
"./include"
39-
],
40-
"libraries": [],
41-
"libpath": [],
42-
"dependencies": [
2+
"options": {},
3+
"fields": [
4+
{
5+
"field": "src",
6+
"resolve": true,
7+
"relative": true
8+
},
9+
{
10+
"field": "include",
11+
"resolve": true,
12+
"relative": true
13+
},
14+
{
15+
"field": "libraries",
16+
"resolve": false,
17+
"relative": false
18+
},
19+
{
20+
"field": "libpath",
21+
"resolve": true,
22+
"relative": false
23+
}
24+
],
25+
"confs": [
26+
{
27+
"src": [
28+
"./src/get.c",
29+
"./src/get_ptr.c",
30+
"./src/iget.c",
31+
"./src/iget_ptr.c",
32+
"./src/iset.c",
33+
"./src/main.c",
34+
"./src/set.c",
35+
"./src/set_ptr.c"
36+
],
37+
"include": [
38+
"./include"
39+
],
40+
"libraries": [],
41+
"libpath": [],
42+
"dependencies": [
4343
"@stdlib/complex-float32-ctor",
4444
"@stdlib/complex-float64-ctor",
45-
"@stdlib/ndarray-base-bytes-per-element",
46-
"@stdlib/ndarray-base-dtype-char",
47-
"@stdlib/ndarray-base-ind",
48-
"@stdlib/ndarray-base-iteration-order",
49-
"@stdlib/ndarray-base-minmax-view-buffer-index",
50-
"@stdlib/ndarray-base-numel",
51-
"@stdlib/ndarray-base-strides2order",
52-
"@stdlib/ndarray-dtypes",
53-
"@stdlib/ndarray-index-modes",
54-
"@stdlib/ndarray-orders"
55-
]
56-
}
57-
]
45+
"@stdlib/ndarray-base-bytes-per-element",
46+
"@stdlib/ndarray-base-dtype-char",
47+
"@stdlib/ndarray-base-ind",
48+
"@stdlib/ndarray-base-iteration-order",
49+
"@stdlib/ndarray-base-minmax-view-buffer-index",
50+
"@stdlib/ndarray-base-numel",
51+
"@stdlib/ndarray-base-strides2order",
52+
"@stdlib/ndarray-dtypes",
53+
"@stdlib/ndarray-index-modes",
54+
"@stdlib/ndarray-orders"
55+
]
56+
}
57+
]
5858
}

test/test.copy_array.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tape( 'the function copies the elements of an array-like input value and returns
4040
arr = [ 1.0, 2.0, 3.0 ];
4141
out = copy( arr, arr.length );
4242

43-
t.strictEqual( isArray( out ), true, 'returns an array' );
43+
t.strictEqual( isArray( out ), true, 'returns expected value' );
4444
t.notEqual( out, arr, 'returns a new instance' );
4545
t.deepEqual( arr, out, 'returns expected value' );
4646

@@ -58,7 +58,7 @@ tape( 'the function copies the elements of an array-like input value and returns
5858
}
5959
out = copy( arr, arr.length );
6060

61-
t.strictEqual( isArray( out ), true, 'returns an array' );
61+
t.strictEqual( isArray( out ), true, 'returns expected value' );
6262
t.notEqual( out, arr, 'returns a new instance' );
6363
t.deepEqual( arr, out, 'returns expected value' );
6464

test/test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ tape( 'the function is an ndarray constructor', function test( t ) {
5252

5353
arr = new ndarray( dtype, buffer, shape, strides, offset, order );
5454

55-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
55+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
5656
t.end();
5757
});
5858

@@ -74,7 +74,7 @@ tape( 'the function is an ndarray constructor (complex dtype)', function test( t
7474

7575
arr = new ndarray( dtype, buffer, shape, strides, offset, order );
7676

77-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
77+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
7878
t.end();
7979
});
8080

@@ -96,7 +96,7 @@ tape( 'the function is an ndarray constructor (0d)', function test( t ) {
9696

9797
arr = new ndarray( dtype, buffer, shape, strides, offset, order );
9898

99-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
99+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
100100
t.end();
101101
});
102102

@@ -118,7 +118,7 @@ tape( 'the function is an ndarray constructor (0d; complex dtype)', function tes
118118

119119
arr = new ndarray( dtype, buffer, shape, strides, offset, order );
120120

121-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
121+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
122122
t.end();
123123
});
124124

@@ -140,7 +140,7 @@ tape( 'the function is an ndarray constructor (options)', function test( t ) {
140140

141141
arr = new ndarray( dtype, buffer, shape, strides, offset, order, {} );
142142

143-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
143+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
144144
t.end();
145145
});
146146

@@ -162,7 +162,7 @@ tape( 'the function is an ndarray constructor (0d; options)', function test( t )
162162

163163
arr = new ndarray( dtype, buffer, shape, strides, offset, order, {} );
164164

165-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
165+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
166166
t.end();
167167
});
168168

@@ -184,7 +184,7 @@ tape( 'the constructor does not require the `new` keyword', function test( t ) {
184184

185185
arr = ndarray( dtype, buffer, shape, strides, offset, order );
186186

187-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
187+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
188188
t.end();
189189
});
190190

@@ -206,6 +206,6 @@ tape( 'the constructor does not require the `new` keyword (options)', function t
206206

207207
arr = ndarray( dtype, buffer, shape, strides, offset, order, {} );
208208

209-
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns an instance' );
209+
t.strictEqual( instanceOf( arr, ndarray ), true, 'returns expected value' );
210210
t.end();
211211
});

test/test.validate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ tape( 'the function returns `null` if all options are valid', function test( t )
178178
};
179179

180180
err = validate( opts, options );
181-
t.strictEqual( err, null, 'returns null' );
181+
t.strictEqual( err, null, 'returns expected value' );
182182
t.deepEqual( opts, options, 'sets options' );
183183

184184
t.end();
@@ -196,7 +196,7 @@ tape( 'the function will ignore unrecognized options', function test( t ) {
196196
};
197197

198198
err = validate( opts, options );
199-
t.strictEqual( err, null, 'returns null' );
199+
t.strictEqual( err, null, 'returns expected value' );
200200
t.deepEqual( opts, {}, 'ignores unrecognized options' );
201201

202202
t.end();

0 commit comments

Comments
 (0)