Skip to content

Commit 3e798cc

Browse files
committed
Auto-generated commit
1 parent 8847a87 commit 3e798cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1877
-288
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ indent_style = tab
121121
[*.{md,md.txt}]
122122
indent_style = space
123123
indent_size = 4
124-
trim_trailing_whitespace = false
124+
trim_trailing_whitespace = true # Note: this disables using two spaces to force a hard line break, which is permitted in Markdown. As we don't typically follow that practice (TMK), we should be safe to automatically trim.
125125
126126
# Set properties for `usage.txt` files:
127127
[usage.txt]

.github/workflows/test_install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
env:
5151
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
5252

53-
# Run workflow job if `publish` workflow run is successful or when the workflow is manually run:
54-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
53+
# Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule:
54+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
5555

5656
# Define the sequence of job steps...
5757
steps:

.github/workflows/test_published_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
env:
4848
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
4949

50-
# Run workflow job if `publish` workflow run is successful or when the workflow is manually run:
51-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
50+
# Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule:
51+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
5252

5353
# Define the job's steps:
5454
steps:

CHANGELOG.md

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

7-
## Unreleased (2024-12-15)
7+
## Unreleased (2024-12-31)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`259b682`](https://github.com/stdlib-js/stdlib/commit/259b682b2fb67d03e2987ca02b57d0cbc631ae8e) - add support for specifying an array index cache and add support for linear indexing
1314
- [`fb1ca76`](https://github.com/stdlib-js/stdlib/commit/fb1ca76ccf2f324c45b24411aa3fd1088a7a7b6e) - add `ndarray/to-fancy`
1415

1516
</section>
@@ -22,6 +23,7 @@
2223

2324
<details>
2425

26+
- [`259b682`](https://github.com/stdlib-js/stdlib/commit/259b682b2fb67d03e2987ca02b57d0cbc631ae8e) - **feat:** add support for specifying an array index cache and add support for linear indexing _(by Athan Reines)_
2527
- [`0546f39`](https://github.com/stdlib-js/stdlib/commit/0546f395abecb502fd703aa364e758bd733cd18e) - **docs:** disable lint rule _(by Athan Reines)_
2628
- [`5079aa3`](https://github.com/stdlib-js/stdlib/commit/5079aa30f3aa11908c78aac6750b4272852dbb4d) - **docs:** disable lint rule _(by Athan Reines)_
2729
- [`fb1ca76`](https://github.com/stdlib-js/stdlib/commit/fb1ca76ccf2f324c45b24411aa3fd1088a7a7b6e) - **feat:** add `ndarray/to-fancy` _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
#
33
# Contributors listed in alphabetical order.
44

5+
Aadish Jain <jain.aadishj@gmail.com>
56
Aayush Khanna <aayushiitbhu23@gmail.com>
67
Abhijit Raut <abhijitmraut8010@gmail.com>
78
Adarsh Palaskar <adarshpalaskar99@gmail.com>
89
Aditya Sapra <adityaework@gmail.com>
910
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1011
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
12+
Ahmed Khaled <kahmd1444@gmail.com>
1113
Aleksandr <112382387+alextes90@users.noreply.github.com>
1214
Ali Salesi <ali_sal1381@yahoo.com>
1315
Aman Bhansali <bhansali.1@iitj.ac.in>
@@ -24,6 +26,8 @@ Dan Rose <danoftheroses@gmail.com>
2426
Daniel Killenberger <daniel.killenberger@gmail.com>
2527
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2628
Debashis Maharana <debashismaharana7854@gmail.com>
29+
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
30+
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
2731
Dominic Lim <46486515+domlimm@users.noreply.github.com>
2832
Dominik Moritz <domoritz@gmail.com>
2933
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
@@ -46,11 +50,10 @@ Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
4650
Joris Labie <joris.labie1@gmail.com>
4751
Justin Dennison <justin1dennison@gmail.com>
4852
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
49-
Khaldon <kahmd1444@gmail.com>
5053
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
5154
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
5255
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
53-
Lovelin <100030865+lovelindhoni@users.noreply.github.com>
56+
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
5457
Manik Sharma <maniksharma.rke@gmail.com>
5558
Manvith M <148960168+manvith2003@users.noreply.github.com>
5659
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -61,6 +64,7 @@ Mohammad Kaif <mdkaifprofession@gmail.com>
6164
Momtchil Momtchev <momtchil@momtchev.com>
6265
Muhammad Haris <harriskhan047@outlook.com>
6366
Naresh Jagadeesan <naresh.naresh000@gmail.com>
67+
Naveen Kumar <stupiddint@gmail.com>
6468
Neeraj Pathak <neerajrpathak710@gmail.com>
6569
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
6670
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
@@ -71,10 +75,11 @@ Ori Miles <97595296+orimiles5@users.noreply.github.com>
7175
Philipp Burckhardt <pburckhardt@outlook.com>
7276
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
7377
Pranav Goswami <goswami.4@iitj.ac.in>
74-
Praneki <97080887+PraneGIT@users.noreply.github.com>
75-
Pratik <97464067+Pratik772846@users.noreply.github.com>
78+
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
79+
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
80+
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
7681
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
77-
Priyansh <88396544+itsspriyansh@users.noreply.github.com>
82+
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
7883
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
7984
Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
8085
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
@@ -93,7 +98,7 @@ Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
9398
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
9499
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
95100
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
96-
Shivam <11shivam00@gmail.com>
101+
Shivam Ahir <11shivam00@gmail.com>
97102
Shraddheya Shendre <shendreshraddheya@gmail.com>
98103
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
99104
Shubham Mishra <shubh622005@gmail.com>
@@ -116,7 +121,6 @@ Vivek maurya <155618190+vivekmaurya001@users.noreply.github.com>
116121
Xiaochuan Ye <tap91624@gmail.com>
117122
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
118123
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
119-
naveen <stupiddint@gmail.com>
120124
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
121125
rainn <88160429+AmCodesLame@users.noreply.github.com>
122126
rei2hu <reimu@reimu.ws>

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ The function supports the following options:
125125

126126
- **data**: the underlying index ndarray.
127127
- **type**: the index type. Must be either `'mask'`, `'bool'`, or `'int'`.
128+
- **kind**: the index kind. Must be either `''`, `'cartesian'`, or `'linear'`.
128129
- **dtype**: the [data type][@stdlib/ndarray/dtypes] of the underlying ndarray.
129130

130131
If an ndarray index is not associated with a provided identifier, the `get` method should return `null`.
@@ -165,6 +166,7 @@ The function supports the following options:
165166

166167
- **data**: the underlying index ndarray.
167168
- **type**: the index type. Must be either `'mask'`, `'bool'`, or `'int'`.
169+
- **kind**: the index kind. Must be either `''`, `'cartesian'`, or `'linear'`.
168170
- **dtype**: the [data type][@stdlib/ndarray/dtypes] of the underlying ndarray.
169171

170172
If an ndarray index is not associated with a provided identifier, the `get` method should return `null`.
@@ -228,6 +230,10 @@ For documentation and usage, see [`ndindex`][@stdlib/ndarray/index].
228230

229231
// TODO: see array/to-fancy
230232

233+
### Linear Indexing
234+
235+
// TODO: only applies to non-zero-dimensional ndarrays. In non-strict mode, out-of-bounds indices return `undefined` and fail to assign.
236+
231237
### Broadcasting
232238

233239
// TODO: see array/to-fancy

0 commit comments

Comments
 (0)