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 <60700731+abdelrahman04@users.noreply.github.com>
99
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
1010
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
1111
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1213
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1314
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1415
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1517
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1618
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1719
Ahmed Khaled <kahmd1444@gmail.com>
@@ -27,6 +29,7 @@ Anmol Sah <113588714+anmolsah@users.noreply.github.com>
2729
Annamalai Prabu <apfossdev@gmail.com>
2830
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2931
Anshu Kumar <contact.anshukumar@protonmail.com>
32+
Anshumancanrock <109489361+Anshumancanrock@users.noreply.github.com>
3033
Anudeep Sanapala <anudeep0306@gmail.com>
3134
Arihant Pal <arihant0pal@gmail.com>
3235
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
@@ -40,6 +43,7 @@ Bruno Fenzl <brunofenzl@gmail.com>
4043
Bryan Elee <rxbryn@gmail.com>
4144
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
4245
Christopher Dambamuromo <chridam@gmail.com>
46+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
4347
Dan Rose <danoftheroses@gmail.com>
4448
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4549
Daniel Killenberger <daniel.killenberger@gmail.com>
@@ -63,6 +67,7 @@ Frank Kovacs <fran70kk@gmail.com>
6367
GK Bishnoi <gkishan1kyt@gmail.com>
6468
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6569
Gaurav <gaurav70380@gmail.com>
70+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
6671
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6772
Gautam sharma <gautamkrishnasharma1@gmail.com>
6873
GeoDaoyu <geodaoyu@foxmail.com>
@@ -119,6 +124,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
119124
Muhammad Haris <harriskhan047@outlook.com>
120125
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
121126
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
127+
NEEKUorAAYUSH <aayush10072004@gmail.com>
128+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
122129
Naresh Jagadeesan <naresh.naresh000@gmail.com>
123130
Naveen Kumar <stupiddint@gmail.com>
124131
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -162,6 +169,7 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
162169
Ryan Seal <splrk@users.noreply.github.com>
163170
Rylan Yang <137365285+rylany27@users.noreply.github.com>
164171
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
172+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
165173
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
166174
Sachin Raj <120590207+schnrj@users.noreply.github.com>
167175
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
@@ -174,6 +182,7 @@ Saurabh Singh <saurabhsraghuvanshi@gmail.com>
174182
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
175183
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
176184
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
185+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
177186
Shivam Ahir <11shivam00@gmail.com>
178187
Shivansh <114570926+shiv343@users.noreply.github.com>
179188
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -184,6 +193,7 @@ Sivam Das <100067002+Sivam2313@users.noreply.github.com>
184193
Snehil Shah <snehilshah.989@gmail.com>
185194
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
186195
Spandan Barve <contact@marsian.dev>
196+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
187197
Stephannie Jiménez Gacha <steff456@hotmail.com>
188198
Suhaib Ilahi <suhaib.elahi87@gmail.com>
189199
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -193,16 +203,19 @@ Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
193203
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
194204
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
195205
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
206+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
196207
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
197208
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
198209
Utkarsh <http://utkarsh11105@gmail.com>
199210
Utkarsh Raj <rajutkarsh2505@gmail.com>
200211
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
201212
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
213+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
202214
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
203215
Varad Gupta <varadgupta21@gmail.com>
204216
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
205217
Vivek Maurya <vm8118134@gmail.com>
218+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
206219
Xiaochuan Ye <tap91624@gmail.com>
207220
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
208221
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>

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)