diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index 80f3fca..0000000
--- a/.editorconfig
+++ /dev/null
@@ -1,189 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2017 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# EditorConfig configuration file (see ).
-
-# Indicate that this file is a root-level configuration file:
-root = true
-
-# Set properties for all files:
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-# Set properties for JavaScript files:
-[*.{js,js.txt}]
-indent_style = tab
-
-# Set properties for JavaScript ES module files:
-[*.{mjs,mjs.txt}]
-indent_style = tab
-
-# Set properties for JavaScript CommonJS files:
-[*.{cjs,cjs.txt}]
-indent_style = tab
-
-# Set properties for JSON files:
-[*.{json,json.txt}]
-indent_style = space
-indent_size = 2
-
-# Set properties for `cli_opts.json` files:
-[cli_opts.json]
-indent_style = tab
-
-# Set properties for TypeScript files:
-[*.ts]
-indent_style = tab
-
-# Set properties for Python files:
-[*.{py,py.txt}]
-indent_style = space
-indent_size = 4
-
-# Set properties for Julia files:
-[*.{jl,jl.txt}]
-indent_style = tab
-
-# Set properties for R files:
-[*.{R,R.txt}]
-indent_style = tab
-
-# Set properties for C files:
-[*.{c,c.txt}]
-indent_style = tab
-
-# Set properties for C header files:
-[*.{h,h.txt}]
-indent_style = tab
-
-# Set properties for C++ files:
-[*.{cpp,cpp.txt}]
-indent_style = tab
-
-# Set properties for C++ header files:
-[*.{hpp,hpp.txt}]
-indent_style = tab
-
-# Set properties for Fortran files:
-[*.{f,f.txt}]
-indent_style = space
-indent_size = 2
-
-# Set properties for shell files:
-[*.{sh,sh.txt}]
-indent_style = tab
-
-# Set properties for AWK files:
-[*.{awk,awk.txt}]
-indent_style = tab
-
-# Set properties for HTML files:
-[*.{html,html.txt}]
-indent_style = tab
-tab_width = 2
-
-# Set properties for XML files:
-[*.{xml,xml.txt}]
-indent_style = tab
-tab_width = 2
-
-# Set properties for CSS files:
-[*.{css,css.txt}]
-indent_style = tab
-
-# Set properties for Makefiles:
-[Makefile]
-indent_style = tab
-
-[*.{mk,mk.txt}]
-indent_style = tab
-
-# Set properties for Markdown files:
-[*.{md,md.txt}]
-indent_style = space
-indent_size = 4
-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.
-
-# Set properties for `usage.txt` files:
-[usage.txt]
-indent_style = space
-indent_size = 2
-
-# Set properties for `repl.txt` files:
-[repl.txt]
-indent_style = space
-indent_size = 4
-
-# Set properties for `package.json` files:
-[package.{json,json.txt}]
-indent_style = space
-indent_size = 2
-
-# Set properties for `datapackage.json` files:
-[datapackage.json]
-indent_style = space
-indent_size = 2
-
-# Set properties for `manifest.json` files:
-[manifest.json]
-indent_style = space
-indent_size = 2
-
-# Set properties for `tsconfig.json` files:
-[tsconfig.json]
-indent_style = space
-indent_size = 2
-
-# Set properties for LaTeX files:
-[*.{tex,tex.txt}]
-indent_style = tab
-
-# Set properties for LaTeX Bibliography files:
-[*.{bib,bib.txt}]
-indent_style = tab
-
-# Set properties for YAML files:
-[*.{yml,yml.txt}]
-indent_style = space
-indent_size = 2
-
-# Ignore generated lock files for GitHub Agentic Workflows:
-[*.lock.yml]
-charset = unset
-end_of_line = unset
-indent_style = unset
-indent_size = unset
-trim_trailing_whitespace = unset
-insert_final_newline = unset
-
-# Set properties for GYP files:
-[binding.gyp]
-indent_style = space
-indent_size = 2
-
-[*.gypi]
-indent_style = space
-indent_size = 2
-
-# Set properties for citation files:
-[*.{cff,cff.txt}]
-indent_style = space
-indent_size = 2
diff --git a/.eslintrc.js b/.eslintrc.js
deleted file mode 100644
index 5f30286..0000000
--- a/.eslintrc.js
+++ /dev/null
@@ -1 +0,0 @@
-/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */
diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index 24b327f..0000000
--- a/.gitattributes
+++ /dev/null
@@ -1,68 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2017 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Configuration file which assigns attributes to pathnames.
-#
-# [1]: https://git-scm.com/docs/gitattributes
-
-# Automatically normalize the line endings of any committed text files:
-* text=auto
-
-# Override line endings for certain files on checkout:
-*.crlf.csv text eol=crlf
-
-# Denote that certain files are binary and should not be modified:
-*.png binary
-*.jpg binary
-*.jpeg binary
-*.gif binary
-*.ico binary
-*.gz binary
-*.zip binary
-*.7z binary
-*.mp3 binary
-*.mp4 binary
-*.mov binary
-
-# Override what is considered "vendored" by GitHub's linguist:
-/lib/node_modules/** -linguist-vendored -linguist-generated
-
-# Configure directories which should *not* be included in GitHub language statistics:
-/deps/** linguist-vendored
-/dist/** linguist-generated
-/workshops/** linguist-vendored
-
-benchmark/** linguist-vendored
-docs/* linguist-documentation
-etc/** linguist-vendored
-examples/** linguist-documentation
-scripts/** linguist-vendored
-test/** linguist-vendored
-tools/** linguist-vendored
-
-# Configure files which should *not* be included in GitHub language statistics:
-Makefile linguist-vendored
-*.mk linguist-vendored
-*.jl linguist-vendored
-*.py linguist-vendored
-*.R linguist-vendored
-
-# Configure files which should be included in GitHub language statistics:
-docs/types/*.d.ts -linguist-documentation
-
-.github/workflows/*.lock.yml linguist-generated=true merge=ours
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index 562de40..0000000
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base) of the main repository where we’ll review and provide feedback.
-
-If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
-
-We look forward to receiving your contribution! :smiley:
\ No newline at end of file
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
deleted file mode 100644
index e4f10fe..0000000
--- a/.github/workflows/benchmark.yml
+++ /dev/null
@@ -1,64 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2021 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Workflow name:
-name: benchmark
-
-# Workflow triggers:
-on:
- # Allow the workflow to be manually run:
- workflow_dispatch:
-
-# Workflow jobs:
-jobs:
-
- # Define a job to run benchmarks:
- benchmark:
-
- # Define a display name:
- name: 'Run benchmarks'
-
- # Define the type of virtual host machine:
- runs-on: 'ubuntu-latest'
-
- # Define the sequence of job steps...
- steps:
-
- # Checkout the repository:
- - name: 'Checkout repository'
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
-
- # Install Node.js:
- - name: 'Install Node.js'
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Install dependencies:
- - name: 'Install production and development dependencies'
- run: |
- npm install || npm install || npm install
- timeout-minutes: 15
-
- # Run benchmarks:
- - name: 'Run benchmarks'
- run: |
- npm run benchmark
diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml
deleted file mode 100644
index b5291db..0000000
--- a/.github/workflows/cancel.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2021 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Workflow name:
-name: cancel
-
-# Workflow triggers:
-on:
- # Allow the workflow to be manually run:
- workflow_dispatch:
-
-# Workflow jobs:
-jobs:
-
- # Define a job to cancel existing workflow runs:
- cancel:
-
- # Define a display name:
- name: 'Cancel workflow runs'
-
- # Define the type of virtual host machine:
- runs-on: 'ubuntu-latest'
-
- # Time limit:
- timeout-minutes: 3
-
- # Define the sequence of job steps...
- steps:
-
- # Cancel existing workflow runs:
- - name: 'Cancel existing workflow runs'
- # Pin action to full length commit SHA
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
- with:
- workflow_id: >-
- benchmark.yml,
- examples.yml,
- test.yml,
- test_coverage.yml,
- test_install.yml,
- publish.yml
- access_token: ${{ github.token }}
diff --git a/.github/workflows/close_pull_requests.yml b/.github/workflows/close_pull_requests.yml
deleted file mode 100644
index b51aba4..0000000
--- a/.github/workflows/close_pull_requests.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2021 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Workflow name:
-name: close_pull_requests
-
-# Workflow triggers:
-on:
- pull_request_target:
- types: [opened]
-
-# Workflow jobs:
-jobs:
-
- # Define job to close all pull requests:
- run:
-
- # Define the type of virtual host machine on which to run the job:
- runs-on: ubuntu-latest
-
- # Define the sequence of job steps...
- steps:
-
- # Close pull request
- - name: 'Close pull request'
- # Pin action to full length commit SHA corresponding to v3.1.2
- uses: superbrothers/close-pull-request@9c18513d320d7b2c7185fb93396d0c664d5d8448
- with:
- comment: |
- Thank you for submitting a pull request. :raised_hands:
-
- We greatly appreciate your willingness to submit a contribution. However, we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib).
-
- We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base) of the main repository where we’ll review and provide feedback. If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions.
-
- Thank you again, and we look forward to receiving your contribution! :smiley:
-
- Best,
- The stdlib team
\ No newline at end of file
diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml
deleted file mode 100644
index 2984901..0000000
--- a/.github/workflows/examples.yml
+++ /dev/null
@@ -1,64 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2021 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Workflow name:
-name: examples
-
-# Workflow triggers:
-on:
- # Allow the workflow to be manually run:
- workflow_dispatch:
-
-# Workflow jobs:
-jobs:
-
- # Define a job to run the package examples...
- examples:
-
- # Define display name:
- name: 'Run examples'
-
- # Define the type of virtual host machine on which to run the job:
- runs-on: ubuntu-latest
-
- # Define the sequence of job steps...
- steps:
-
- # Checkout repository:
- - name: 'Checkout repository'
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
-
- # Install Node.js:
- - name: 'Install Node.js'
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Install dependencies:
- - name: 'Install production and development dependencies'
- run: |
- npm install || npm install || npm install
- timeout-minutes: 15
-
- # Run examples:
- - name: 'Run examples'
- run: |
- npm run examples
diff --git a/.github/workflows/npm_downloads.yml b/.github/workflows/npm_downloads.yml
deleted file mode 100644
index 99f9850..0000000
--- a/.github/workflows/npm_downloads.yml
+++ /dev/null
@@ -1,112 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2022 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Workflow name:
-name: npm_downloads
-
-# Workflow triggers:
-on:
- # Run this workflow weekly:
- schedule:
- # cron: ' '
- - cron: '12 12 * * 1'
-
- # Allow the workflow to be manually run:
- workflow_dispatch:
-
-# Workflow jobs:
-jobs:
-
- # Define a job for retrieving npm download counts...
- npm_downloads:
-
- # Define display name:
- name: 'Retrieve npm download counts'
-
- # Define the type of virtual host machine on which to run the job:
- runs-on: ubuntu-latest
-
- # Define the sequence of job steps...
- steps:
- # Checkout the repository:
- - name: 'Checkout repository'
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- timeout-minutes: 10
-
- # Install Node.js:
- - name: 'Install Node.js'
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Resolve package name:
- - name: 'Resolve package name'
- id: package_name
- run: |
- name=`node -e 'console.log(require("./package.json").name)' | tr -d '\n'`
- echo "package_name=$name" >> $GITHUB_OUTPUT
- timeout-minutes: 5
-
- # Fetch download data:
- - name: 'Fetch data'
- id: download_data
- run: |
- url="https://api.npmjs.org/downloads/range/$(date --date='1 year ago' '+%Y-%m-%d'):$(date '+%Y-%m-%d')/${{ steps.package_name.outputs.package_name }}"
- echo "$url"
- data=$(curl "$url")
- mkdir ./tmp
- echo "$data" > ./tmp/npm_downloads.json
- echo "data=$data" >> $GITHUB_OUTPUT
- timeout-minutes: 5
-
- # Print summary of download data:
- - name: 'Print summary'
- run: |
- echo "| Date | Downloads |" >> $GITHUB_STEP_SUMMARY
- echo "|------|------------|" >> $GITHUB_STEP_SUMMARY
- cat ./tmp/npm_downloads.json | jq -r ".downloads | .[-14:] | to_entries | map(\"| \(.value.day) | \(.value.downloads) |\") |.[]" >> $GITHUB_STEP_SUMMARY
-
- # Upload the download data:
- - name: 'Upload data'
- # Pin action to full length commit SHA
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
- with:
- # Define a name for the uploaded artifact (ensuring a unique name for each job):
- name: npm_downloads
-
- # Specify the path to the file to upload:
- path: ./tmp/npm_downloads.json
-
- # Specify the number of days to retain the artifact (default is 90 days):
- retention-days: 90
- timeout-minutes: 10
- if: success()
-
- # Send data to events server:
- - name: 'Post data'
- # Pin action to full length commit SHA
- uses: distributhor/workflow-webhook@48a40b380ce4593b6a6676528cd005986ae56629 # v3.0.3
- env:
- webhook_url: ${{ secrets.STDLIB_NPM_DOWNLOADS_URL }}
- webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
- data: '{ "downloads": ${{ steps.download_data.outputs.data }} }'
- timeout-minutes: 5
- if: success()
diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml
deleted file mode 100644
index 83d50c4..0000000
--- a/.github/workflows/productionize.yml
+++ /dev/null
@@ -1,821 +0,0 @@
-#/
-# @license Apache-2.0
-#
-# Copyright (c) 2022 The Stdlib Authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#/
-
-# Workflow name:
-name: productionize
-
-# Workflow triggers:
-on:
- # Run workflow when a new commit is pushed to the main branch:
- push:
- branches:
- - main
-
- # Allow the workflow to be manually run:
- workflow_dispatch:
- inputs:
- require-passing-tests:
- description: 'Require passing tests for creating bundles'
- type: boolean
- default: true
-
- # Run workflow upon completion of `publish` workflow run:
- workflow_run:
- workflows: ["publish"]
- types: [completed]
-
-
-# Concurrency group to prevent multiple concurrent executions:
-concurrency:
- group: productionize
- cancel-in-progress: true
-
-# Workflow jobs:
-jobs:
-
- # Define a job to create a production build...
- productionize:
-
- # Define display name:
- name: 'Productionize'
-
- # Define the type of virtual host machine:
- runs-on: 'ubuntu-latest'
-
- # Define the sequence of job steps...
- steps:
- # Checkout main branch of repository:
- - name: 'Checkout main branch'
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- with:
- ref: main
-
- # Install Node.js:
- - name: 'Install Node.js'
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Create production branch:
- - name: 'Create production branch'
- run: |
- git checkout -b production
-
- # Transform error messages:
- - name: 'Transform error messages'
- id: transform-error-messages
- uses: stdlib-js/transform-errors-action@main
-
- # Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
- - name: 'Update dependencies in package.json'
- run: |
- PKG_VERSION=$(npm view @stdlib/error-tools-fmtprodmsg version)
- if grep -q '"@stdlib/string-format"' package.json; then
- sed -i "s/\"@stdlib\/string-format\": \"^.*\"/\"@stdlib\/error-tools-fmtprodmsg\": \"^$PKG_VERSION\"/g" package.json
- else
- node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
- fi
-
- # Configure Git:
- - name: 'Configure Git'
- run: |
- git config --local user.email "noreply@stdlib.io"
- git config --local user.name "stdlib-bot"
-
- # Commit changes:
- - name: 'Commit changes'
- run: |
- git add -A
- git commit -m "Transform error messages"
-
- # Push changes:
- - name: 'Push changes'
- run: |
- SLUG=${{ github.repository }}
- echo "Pushing changes to $SLUG..."
- git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" production --force
-
- # Define a job for running tests of the productionized code...
- test:
-
- # Define a display name:
- name: 'Run Tests'
-
- # Define the type of virtual host machine:
- runs-on: 'ubuntu-latest'
-
- # Indicate that this job depends on the prior job finishing:
- needs: productionize
-
- # Run this job regardless of the outcome of the prior job:
- if: always()
-
- # Define the sequence of job steps...
- steps:
-
- # Checkout the repository:
- - name: 'Checkout repository'
- if: ${{ github.event.inputs.require-passing-tests == 'true' }}
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- with:
- # Use the `production` branch:
- ref: production
-
- # Install Node.js:
- - name: 'Install Node.js'
- if: ${{ github.event.inputs.require-passing-tests == 'true' }}
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Install dependencies:
- - name: 'Install production and development dependencies'
- if: ${{ github.event.inputs.require-passing-tests == 'true' }}
- id: install
- run: |
- npm install || npm install || npm install
- timeout-minutes: 15
-
- # Build native add-on if present:
- - name: 'Build native add-on (if present)'
- if: ${{ github.event.inputs.require-passing-tests == 'true' }}
- run: |
- if [ -f "binding.gyp" ]; then
- npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
- fi
-
- # Run tests:
- - name: 'Run tests'
- if: ${{ github.event.inputs.require-passing-tests == 'true' }}
- id: tests
- run: |
- npm test || npm test || npm test
-
- # Define job to create a bundle for use in Deno...
- deno:
-
- # Define display name:
- name: 'Create Deno bundle'
-
- # Define the type of virtual host machine on which to run the job:
- runs-on: ubuntu-latest
-
- # Indicate that this job depends on the test job finishing:
- needs: test
-
- # Define the sequence of job steps...
- steps:
- # Checkout the repository:
- - name: 'Checkout repository'
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
-
- # Configure Git:
- - name: 'Configure Git'
- run: |
- git config --local user.email "noreply@stdlib.io"
- git config --local user.name "stdlib-bot"
-
- # Check if remote `deno` branch exists:
- - name: 'Check if remote `deno` branch exists'
- id: deno-branch-exists
- continue-on-error: true
- run: |
- git fetch --all
- git ls-remote --exit-code --heads origin deno
- if [ $? -eq 0 ]; then
- echo "remote-exists=true" >> $GITHUB_OUTPUT
- else
- echo "remote-exists=false" >> $GITHUB_OUTPUT
- fi
-
- # If `deno` exists, delete everything in branch and merge `production` into it
- - name: 'If `deno` exists, delete everything in branch and merge `production` into it'
- if: steps.deno-branch-exists.outputs.remote-exists
- run: |
- git checkout -b deno origin/deno
-
- find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs -r rm
- find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs -r rm -rf
-
- git add -A
- git commit -m "Remove files" --allow-empty
-
- git config merge.theirs.name 'simulate `-s theirs`'
- git config merge.theirs.driver 'cat %B > %A'
- GIT_CONFIG_PARAMETERS="'merge.default=theirs'" git merge origin/production --allow-unrelated-histories
-
- # Copy files from `production` branch if necessary:
- git checkout origin/production -- .
- if [ -n "$(git status --porcelain)" ]; then
- git add -A
- git commit -m "Auto-generated commit"
- fi
-
- # If `deno` does not exist, create `deno` branch:
- - name: 'If `deno` does not exist, create `deno` branch'
- if: ${{ steps.deno-branch-exists.outputs.remote-exists == false }}
- run: |
- git checkout production
- git checkout -b deno
-
- # Copy files to deno directory:
- - name: 'Copy files to deno directory'
- run: |
- mkdir -p deno
- cp README.md LICENSE CONTRIBUTORS NOTICE ./deno
-
- # Copy TypeScript definitions to deno directory:
- if [ -d index.d.ts ]; then
- cp index.d.ts ./deno/index.d.ts
- fi
- if [ -e ./docs/types/index.d.ts ]; then
- cp ./docs/types/index.d.ts ./deno/mod.d.ts
- fi
-
- # Install Node.js:
- - name: 'Install Node.js'
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Install dependencies:
- - name: Install production and development dependencies
- id: install
- run: |
- npm install || npm install || npm install
- timeout-minutes: 15
-
- # Bundle package for use in Deno:
- - name: 'Bundle package for Deno'
- id: deno-bundle
- uses: stdlib-js/bundle-action@main
- with:
- target: 'deno'
-
- # Rewrite file contents:
- - name: 'Rewrite file contents'
- run: |
- # Replace links to other packages with links to the deno branch:
- find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "/\/tree\/main/b; /^\[@stdlib[^:]+: https:\/\/github.com\/stdlib-js\// s/(.*)/\\1\/tree\/deno/";
-
- # Replace reference to `@stdlib/types` with CDN link:
- find ./deno -type f -name '*.ts' -print0 | xargs -0 -r sed -Ei "s/\/\/\/ /\/\/\/ /g"
-
- # Change wording of project description to avoid reference to JavaScript and Node.js:
- find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/a standard library for JavaScript and Node.js, /a standard library /g"
-
- # Rewrite all `require()`s to use jsDelivr links:
- find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "/require\( '@stdlib\// {
- s/(var|let|const)\s+([a-z0-9_]+)\s+=\s*require\( '([^']+)' \);/import \2 from \'\3\';/i
- s/@stdlib/https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js/
- s/';/@deno\/mod.js';/
- }"
-
- # Rewrite first `import` to show importing of named exports if available:
- exports=$(cat lib/index.js | \
- grep -E 'setReadOnly\(.*,.*,.*\)' | \
- sed -E 's/setReadOnly\((.*),(.*),(.*)\);/\2/' | \
- sed -E "s/'//g" | \
- sort)
- if [ -n "$exports" ]; then
- find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/\`\`\`javascript\nimport\s+([a-zA-Z0-9_]+)\s+from\s*'([^']+)';\n\`\`\`/\`\`\`javascript\nimport \1 from '\2';\n\`\`\`\n\nYou can also import the following named exports from the package:\n\n\`\`\`javascript\nimport { $(echo $exports | sed -E 's/ /, /g') } from '\2';\n\`\`\`/"
- fi
-
- # Remove `installation`, `cli`, and `c` sections:
- find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/[^<]+<\/section>//g;"
- find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?[\s\S]+<\!\-\- \/.cli \-\->//g"
- find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?[\s\S]+<\!\-\- \/.c \-\->//g"
-
- # Create package.json file for deno branch:
- jq --indent 2 '{"name": .name, "version": .version, "description": .description, "license": .license, "type": "module", "main": "./mod.js", "homepage": .homepage, "repository": .repository, "bugs": .bugs, "keywords": .keywords, "funding": .funding}' package.json > ./deno/package.json
-
- # Delete everything in current directory aside from deno folder:
- - name: 'Delete everything in current directory aside from deno folder'
- run: |
- find . -type 'f' | grep -v -e "deno" -e ".git/" | xargs -r rm
- find . -mindepth 1 -type 'd' | grep -v -e "deno" -e ".git" | xargs -r rm -rf
-
- # Move deno directory to root:
- - name: 'Move deno directory to root'
- run: |
- mv ./deno/* .
- rmdir ./deno
-
- # Commit changes:
- - name: 'Commit changes'
- run: |
- git add -A
- git commit -m "Auto-generated commit"
-
- # Push changes to `deno` branch:
- - name: 'Push changes to `deno` branch'
- run: |
- SLUG=${{ github.repository }}
- echo "Pushing changes to $SLUG..."
- git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$SLUG.git" deno
-
- # Send notification to Zulip if job fails:
- - name: 'Send notification to Zulip in case of failure'
- # Pin action to full length commit SHA
- uses: zulip/github-actions-zulip/send-message@e4c8f27c732ba9bd98ac6be0583096dea82feea5 # v1.0.2
- if: failure()
- with:
- api-key: ${{ secrets.ZULIP_API_KEY }}
- email: 'github-actions-bot@stdlib.zulipchat.com'
- organization-url: 'https://stdlib.zulipchat.com'
- to: 'workflows-standalone'
- type: 'stream'
- topic: ${{ github.event.repository.name }}
- content: |
- :cross_mark: **${{ github.workflow }}** workflow failed
-
- **Repository:** [${{ github.repository }}](${{ github.server_url }}/${{ github.repository }})
- **Run:** [View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
-
- # Define job to create a UMD bundle...
- umd:
-
- # Define display name:
- name: 'Create UMD bundle'
-
- # Define the type of virtual host machine on which to run the job:
- runs-on: ubuntu-latest
-
- # Indicate that this job depends on the test job finishing:
- needs: test
-
- # Define the sequence of job steps...
- steps:
- # Checkout the repository:
- - name: 'Checkout repository'
- # Pin action to full length commit SHA
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
-
- # Configure Git:
- - name: 'Configure Git'
- run: |
- git config --local user.email "noreply@stdlib.io"
- git config --local user.name "stdlib-bot"
-
- # Check if remote `umd` branch exists:
- - name: 'Check if remote `umd` branch exists'
- id: umd-branch-exists
- continue-on-error: true
- run: |
- git fetch --all
- git ls-remote --exit-code --heads origin umd
- if [ $? -eq 0 ]; then
- echo "remote-exists=true" >> $GITHUB_OUTPUT
- else
- echo "remote-exists=false" >> $GITHUB_OUTPUT
- fi
-
- # If `umd` exists, delete everything in branch and merge `production` into it
- - name: 'If `umd` exists, delete everything in branch and merge `production` into it'
- if: steps.umd-branch-exists.outputs.remote-exists
- run: |
- git checkout -b umd origin/umd
-
- find . -type 'f' | grep -v -e ".git/" -e "package.json" -e "README.md" -e "LICENSE" -e "CONTRIBUTORS" -e "NOTICE" | xargs -r rm
- find . -mindepth 1 -type 'd' | grep -v -e ".git" | xargs -r rm -rf
-
- git add -A
- git commit -m "Remove files" --allow-empty
-
- git config merge.theirs.name 'simulate `-s theirs`'
- git config merge.theirs.driver 'cat %B > %A'
- GIT_CONFIG_PARAMETERS="'merge.default=theirs'" git merge origin/production --allow-unrelated-histories
-
- # Copy files from `production` branch if necessary:
- git checkout origin/production -- .
- if [ -n "$(git status --porcelain)" ]; then
- git add -A
- git commit -m "Auto-generated commit"
- fi
-
- # If `umd` does not exist, create `umd` branch:
- - name: 'If `umd` does not exist, create `umd` branch'
- if: ${{ steps.umd-branch-exists.outputs.remote-exists == false }}
- run: |
- git checkout production
- git checkout -b umd
-
- # Copy files to umd directory:
- - name: 'Copy files to umd directory'
- run: |
- mkdir -p umd
- cp README.md LICENSE CONTRIBUTORS NOTICE ./umd
-
- # Install Node.js
- - name: 'Install Node.js'
- # Pin action to full length commit SHA
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
- with:
- node-version: 20
- timeout-minutes: 5
-
- # Install dependencies:
- - name: 'Install production and development dependencies'
- id: install
- run: |
- npm install || npm install || npm install
- timeout-minutes: 15
-
- # Extract alias:
- - name: 'Extract alias'
- id: extract-alias
- run: |
- alias=$(grep -E 'require\(' README.md | head -n 1 | sed -E 's/^var ([a-zA-Z0-9_]+) = .+/\1/')
- echo "alias=${alias}" >> $GITHUB_OUTPUT
-
- # Create Universal Module Definition (UMD) Node.js bundle:
- - name: 'Create Universal Module Definition (UMD) Node.js bundle'
- id: umd-bundle-node
- uses: stdlib-js/bundle-action@main
- with:
- target: 'umd-node'
- alias: ${{ steps.extract-alias.outputs.alias }}
-
- # Create Universal Module Definition (UMD) browser bundle:
- - name: 'Create Universal Module Definition (UMD) browser bundle'
- id: umd-bundle-browser
- uses: stdlib-js/bundle-action@main
- with:
- target: 'umd-browser'
- alias: ${{ steps.extract-alias.outputs.alias }}
-
- # Rewrite file contents:
- - name: 'Rewrite file contents'
- run: |
-
- # Replace links to other packages with links to the umd branch:
- find ./umd -type f -name '*.md' -print0 | xargs -0 sed -Ei "/\/tree\/main/b; /^\[@stdlib[^:]+: https:\/\/github.com\/stdlib-js\// s/(.*)/\\1\/tree\/umd/";
-
- # Remove `installation`, `cli`, and `c` sections:
- find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/[^<]+<\/section>//g;"
- find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?[\s\S]+<\!\-\- \/.cli \-\->//g"
- find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?[\s\S]+<\!\-\- \/.c \-\->//g"
-
- # Rewrite first `require()` to show consumption of the UMD bundle in Observable and via a `script` tag:
- find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/\`\`\`javascript\n(var|let|const)\s+([a-zA-Z0-9_]+)\s+=\s*require\( '\@stdlib\/([^']+)' \);\n\`\`\`/To use in Observable,\n\n\`\`\`javascript\n\2 = require\( 'https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js\/\3\@umd\/browser.js' \)\n\`\`\`\n\nTo vendor stdlib functionality and avoid installing dependency trees for Node.js, you can use the UMD server build:\n\n\`\`\`javascript\nvar \2 = require\( 'path\/to\/vendor\/umd\/\3\/index.js' \)\n\`\`\`\n\nTo include the bundle in a webpage,\n\n\`\`\`html\n
+```
-```javascript
-var ns = require( '@stdlib/ndarray-base' );
+If no recognized module system is present, access bundle contents via the global scope:
+
+```html
+
```
#### ns
@@ -324,11 +330,21 @@ The namespace contains the following sub-namespaces:
-```javascript
-var objectKeys = require( '@stdlib/utils-keys' );
-var ns = require( '@stdlib/ndarray-base' );
+```html
+
+
+
+
+
+
+
+
```
@@ -417,445 +433,445 @@ Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
-[@stdlib/ndarray/base/assert]: https://github.com/stdlib-js/ndarray-base-assert
+[@stdlib/ndarray/base/assert]: https://github.com/stdlib-js/ndarray-base-assert/tree/umd
-[@stdlib/ndarray/base/any-by]: https://github.com/stdlib-js/ndarray-base-any-by
+[@stdlib/ndarray/base/any-by]: https://github.com/stdlib-js/ndarray-base-any-by/tree/umd
-[@stdlib/ndarray/base/any]: https://github.com/stdlib-js/ndarray-base-any
+[@stdlib/ndarray/base/any]: https://github.com/stdlib-js/ndarray-base-any/tree/umd
-[@stdlib/ndarray/base/append-singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-append-singleton-dimensions
+[@stdlib/ndarray/base/append-singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-append-singleton-dimensions/tree/umd
-[@stdlib/ndarray/base/assign-diagonal]: https://github.com/stdlib-js/ndarray-base-assign-diagonal
+[@stdlib/ndarray/base/assign-diagonal]: https://github.com/stdlib-js/ndarray-base-assign-diagonal/tree/umd
-[@stdlib/ndarray/base/assign-scalar]: https://github.com/stdlib-js/ndarray-base-assign-scalar
+[@stdlib/ndarray/base/assign-scalar]: https://github.com/stdlib-js/ndarray-base-assign-scalar/tree/umd
-[@stdlib/ndarray/base/assign]: https://github.com/stdlib-js/ndarray-base-assign
+[@stdlib/ndarray/base/assign]: https://github.com/stdlib-js/ndarray-base-assign/tree/umd
-[@stdlib/ndarray/base/atleast1d]: https://github.com/stdlib-js/ndarray-base-atleast1d
+[@stdlib/ndarray/base/atleast1d]: https://github.com/stdlib-js/ndarray-base-atleast1d/tree/umd
-[@stdlib/ndarray/base/atleast2d]: https://github.com/stdlib-js/ndarray-base-atleast2d
+[@stdlib/ndarray/base/atleast2d]: https://github.com/stdlib-js/ndarray-base-atleast2d/tree/umd
-[@stdlib/ndarray/base/atleast3d]: https://github.com/stdlib-js/ndarray-base-atleast3d
+[@stdlib/ndarray/base/atleast3d]: https://github.com/stdlib-js/ndarray-base-atleast3d/tree/umd
-[@stdlib/ndarray/base/atleastnd]: https://github.com/stdlib-js/ndarray-base-atleastnd
+[@stdlib/ndarray/base/atleastnd]: https://github.com/stdlib-js/ndarray-base-atleastnd/tree/umd
-[@stdlib/ndarray/base/binary-input-casting-dtype]: https://github.com/stdlib-js/ndarray-base-binary-input-casting-dtype
+[@stdlib/ndarray/base/binary-input-casting-dtype]: https://github.com/stdlib-js/ndarray-base-binary-input-casting-dtype/tree/umd
-[@stdlib/ndarray/base/binary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-binary-loop-interchange-order
+[@stdlib/ndarray/base/binary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-binary-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/binary-output-dtype]: https://github.com/stdlib-js/ndarray-base-binary-output-dtype
+[@stdlib/ndarray/base/binary-output-dtype]: https://github.com/stdlib-js/ndarray-base-binary-output-dtype/tree/umd
-[@stdlib/ndarray/base/binary-reduce-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-binary-reduce-strided1d-dispatch-factory
+[@stdlib/ndarray/base/binary-reduce-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-binary-reduce-strided1d-dispatch-factory/tree/umd
-[@stdlib/ndarray/base/binary-reduce-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-binary-reduce-strided1d-dispatch
+[@stdlib/ndarray/base/binary-reduce-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-binary-reduce-strided1d-dispatch/tree/umd
-[@stdlib/ndarray/base/binary-reduce-strided1d]: https://github.com/stdlib-js/ndarray-base-binary-reduce-strided1d
+[@stdlib/ndarray/base/binary-reduce-strided1d]: https://github.com/stdlib-js/ndarray-base-binary-reduce-strided1d/tree/umd
-[@stdlib/ndarray/base/binary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-binary-tiling-block-size
+[@stdlib/ndarray/base/binary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-binary-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/binary]: https://github.com/stdlib-js/ndarray-base-binary
+[@stdlib/ndarray/base/binary]: https://github.com/stdlib-js/ndarray-base-binary/tree/umd
-[@stdlib/ndarray/base/bind2vind]: https://github.com/stdlib-js/ndarray-base-bind2vind
+[@stdlib/ndarray/base/bind2vind]: https://github.com/stdlib-js/ndarray-base-bind2vind/tree/umd
-[@stdlib/ndarray/base/broadcast-array-except-dimensions]: https://github.com/stdlib-js/ndarray-base-broadcast-array-except-dimensions
+[@stdlib/ndarray/base/broadcast-array-except-dimensions]: https://github.com/stdlib-js/ndarray-base-broadcast-array-except-dimensions/tree/umd
-[@stdlib/ndarray/base/broadcast-array]: https://github.com/stdlib-js/ndarray-base-broadcast-array
+[@stdlib/ndarray/base/broadcast-array]: https://github.com/stdlib-js/ndarray-base-broadcast-array/tree/umd
-[@stdlib/ndarray/base/broadcast-arrays]: https://github.com/stdlib-js/ndarray-base-broadcast-arrays
+[@stdlib/ndarray/base/broadcast-arrays]: https://github.com/stdlib-js/ndarray-base-broadcast-arrays/tree/umd
-[@stdlib/ndarray/base/broadcast-scalar-like]: https://github.com/stdlib-js/ndarray-base-broadcast-scalar-like
+[@stdlib/ndarray/base/broadcast-scalar-like]: https://github.com/stdlib-js/ndarray-base-broadcast-scalar-like/tree/umd
-[@stdlib/ndarray/base/broadcast-scalar]: https://github.com/stdlib-js/ndarray-base-broadcast-scalar
+[@stdlib/ndarray/base/broadcast-scalar]: https://github.com/stdlib-js/ndarray-base-broadcast-scalar/tree/umd
-[@stdlib/ndarray/base/broadcast-shapes]: https://github.com/stdlib-js/ndarray-base-broadcast-shapes
+[@stdlib/ndarray/base/broadcast-shapes]: https://github.com/stdlib-js/ndarray-base-broadcast-shapes/tree/umd
-[@stdlib/ndarray/base/buffer-ctors]: https://github.com/stdlib-js/ndarray-base-buffer-ctors
+[@stdlib/ndarray/base/buffer-ctors]: https://github.com/stdlib-js/ndarray-base-buffer-ctors/tree/umd
-[@stdlib/ndarray/base/buffer-dtype-enum]: https://github.com/stdlib-js/ndarray-base-buffer-dtype-enum
+[@stdlib/ndarray/base/buffer-dtype-enum]: https://github.com/stdlib-js/ndarray-base-buffer-dtype-enum/tree/umd
-[@stdlib/ndarray/base/buffer-dtype]: https://github.com/stdlib-js/ndarray-base-buffer-dtype
+[@stdlib/ndarray/base/buffer-dtype]: https://github.com/stdlib-js/ndarray-base-buffer-dtype/tree/umd
-[@stdlib/ndarray/base/buffer]: https://github.com/stdlib-js/ndarray-base-buffer
+[@stdlib/ndarray/base/buffer]: https://github.com/stdlib-js/ndarray-base-buffer/tree/umd
-[@stdlib/ndarray/base/bytes-per-element]: https://github.com/stdlib-js/ndarray-base-bytes-per-element
+[@stdlib/ndarray/base/bytes-per-element]: https://github.com/stdlib-js/ndarray-base-bytes-per-element/tree/umd
-[@stdlib/ndarray/base/char2dtype]: https://github.com/stdlib-js/ndarray-base-char2dtype
+[@stdlib/ndarray/base/char2dtype]: https://github.com/stdlib-js/ndarray-base-char2dtype/tree/umd
-[@stdlib/ndarray/base/clamp-index]: https://github.com/stdlib-js/ndarray-base-clamp-index
+[@stdlib/ndarray/base/clamp-index]: https://github.com/stdlib-js/ndarray-base-clamp-index/tree/umd
-[@stdlib/ndarray/base/clip-index]: https://github.com/stdlib-js/ndarray-base-clip-index
+[@stdlib/ndarray/base/clip-index]: https://github.com/stdlib-js/ndarray-base-clip-index/tree/umd
-[@stdlib/ndarray/base/complement-shape]: https://github.com/stdlib-js/ndarray-base-complement-shape
+[@stdlib/ndarray/base/complement-shape]: https://github.com/stdlib-js/ndarray-base-complement-shape/tree/umd
-[@stdlib/ndarray/base/consensus-order]: https://github.com/stdlib-js/ndarray-base-consensus-order
+[@stdlib/ndarray/base/consensus-order]: https://github.com/stdlib-js/ndarray-base-consensus-order/tree/umd
-[@stdlib/ndarray/base/copy]: https://github.com/stdlib-js/ndarray-base-copy
+[@stdlib/ndarray/base/copy]: https://github.com/stdlib-js/ndarray-base-copy/tree/umd
-[@stdlib/ndarray/base/count-falsy]: https://github.com/stdlib-js/ndarray-base-count-falsy
+[@stdlib/ndarray/base/count-falsy]: https://github.com/stdlib-js/ndarray-base-count-falsy/tree/umd
-[@stdlib/ndarray/base/count-if]: https://github.com/stdlib-js/ndarray-base-count-if
+[@stdlib/ndarray/base/count-if]: https://github.com/stdlib-js/ndarray-base-count-if/tree/umd
-[@stdlib/ndarray/base/count-truthy]: https://github.com/stdlib-js/ndarray-base-count-truthy
+[@stdlib/ndarray/base/count-truthy]: https://github.com/stdlib-js/ndarray-base-count-truthy/tree/umd
-[@stdlib/ndarray/base/ctor]: https://github.com/stdlib-js/ndarray-base-ctor
+[@stdlib/ndarray/base/ctor]: https://github.com/stdlib-js/ndarray-base-ctor/tree/umd
-[@stdlib/ndarray/base/data-buffer]: https://github.com/stdlib-js/ndarray-base-data-buffer
+[@stdlib/ndarray/base/data-buffer]: https://github.com/stdlib-js/ndarray-base-data-buffer/tree/umd
-[@stdlib/ndarray/base/descriptor]: https://github.com/stdlib-js/ndarray-base-descriptor
+[@stdlib/ndarray/base/descriptor]: https://github.com/stdlib-js/ndarray-base-descriptor/tree/umd
-[@stdlib/ndarray/base/diagonal]: https://github.com/stdlib-js/ndarray-base-diagonal
+[@stdlib/ndarray/base/diagonal]: https://github.com/stdlib-js/ndarray-base-diagonal/tree/umd
-[@stdlib/ndarray/base/dtype-alignment]: https://github.com/stdlib-js/ndarray-base-dtype-alignment
+[@stdlib/ndarray/base/dtype-alignment]: https://github.com/stdlib-js/ndarray-base-dtype-alignment/tree/umd
-[@stdlib/ndarray/base/dtype-char]: https://github.com/stdlib-js/ndarray-base-dtype-char
+[@stdlib/ndarray/base/dtype-char]: https://github.com/stdlib-js/ndarray-base-dtype-char/tree/umd
-[@stdlib/ndarray/base/dtype-chars]: https://github.com/stdlib-js/ndarray-base-dtype-chars
+[@stdlib/ndarray/base/dtype-chars]: https://github.com/stdlib-js/ndarray-base-dtype-chars/tree/umd
-[@stdlib/ndarray/base/dtype-desc]: https://github.com/stdlib-js/ndarray-base-dtype-desc
+[@stdlib/ndarray/base/dtype-desc]: https://github.com/stdlib-js/ndarray-base-dtype-desc/tree/umd
-[@stdlib/ndarray/base/dtype-enum2str]: https://github.com/stdlib-js/ndarray-base-dtype-enum2str
+[@stdlib/ndarray/base/dtype-enum2str]: https://github.com/stdlib-js/ndarray-base-dtype-enum2str/tree/umd
-[@stdlib/ndarray/base/dtype-enums]: https://github.com/stdlib-js/ndarray-base-dtype-enums
+[@stdlib/ndarray/base/dtype-enums]: https://github.com/stdlib-js/ndarray-base-dtype-enums/tree/umd
-[@stdlib/ndarray/base/dtype-objects]: https://github.com/stdlib-js/ndarray-base-dtype-objects
+[@stdlib/ndarray/base/dtype-objects]: https://github.com/stdlib-js/ndarray-base-dtype-objects/tree/umd
-[@stdlib/ndarray/base/dtype-resolve-enum]: https://github.com/stdlib-js/ndarray-base-dtype-resolve-enum
+[@stdlib/ndarray/base/dtype-resolve-enum]: https://github.com/stdlib-js/ndarray-base-dtype-resolve-enum/tree/umd
-[@stdlib/ndarray/base/dtype-resolve-str]: https://github.com/stdlib-js/ndarray-base-dtype-resolve-str
+[@stdlib/ndarray/base/dtype-resolve-str]: https://github.com/stdlib-js/ndarray-base-dtype-resolve-str/tree/umd
-[@stdlib/ndarray/base/dtype-str2enum]: https://github.com/stdlib-js/ndarray-base-dtype-str2enum
+[@stdlib/ndarray/base/dtype-str2enum]: https://github.com/stdlib-js/ndarray-base-dtype-str2enum/tree/umd
-[@stdlib/ndarray/base/dtype-strings]: https://github.com/stdlib-js/ndarray-base-dtype-strings
+[@stdlib/ndarray/base/dtype-strings]: https://github.com/stdlib-js/ndarray-base-dtype-strings/tree/umd
-[@stdlib/ndarray/base/dtype]: https://github.com/stdlib-js/ndarray-base-dtype
+[@stdlib/ndarray/base/dtype]: https://github.com/stdlib-js/ndarray-base-dtype/tree/umd
-[@stdlib/ndarray/base/dtype2c]: https://github.com/stdlib-js/ndarray-base-dtype2c
+[@stdlib/ndarray/base/dtype2c]: https://github.com/stdlib-js/ndarray-base-dtype2c/tree/umd
-[@stdlib/ndarray/base/dtypes2enums]: https://github.com/stdlib-js/ndarray-base-dtypes2enums
+[@stdlib/ndarray/base/dtypes2enums]: https://github.com/stdlib-js/ndarray-base-dtypes2enums/tree/umd
-[@stdlib/ndarray/base/dtypes2signatures]: https://github.com/stdlib-js/ndarray-base-dtypes2signatures
+[@stdlib/ndarray/base/dtypes2signatures]: https://github.com/stdlib-js/ndarray-base-dtypes2signatures/tree/umd
-[@stdlib/ndarray/base/dtypes2strings]: https://github.com/stdlib-js/ndarray-base-dtypes2strings
+[@stdlib/ndarray/base/dtypes2strings]: https://github.com/stdlib-js/ndarray-base-dtypes2strings/tree/umd
-[@stdlib/ndarray/base/empty-like]: https://github.com/stdlib-js/ndarray-base-empty-like
+[@stdlib/ndarray/base/empty-like]: https://github.com/stdlib-js/ndarray-base-empty-like/tree/umd
-[@stdlib/ndarray/base/empty]: https://github.com/stdlib-js/ndarray-base-empty
+[@stdlib/ndarray/base/empty]: https://github.com/stdlib-js/ndarray-base-empty/tree/umd
-[@stdlib/ndarray/base/every-by]: https://github.com/stdlib-js/ndarray-base-every-by
+[@stdlib/ndarray/base/every-by]: https://github.com/stdlib-js/ndarray-base-every-by/tree/umd
-[@stdlib/ndarray/base/every]: https://github.com/stdlib-js/ndarray-base-every
+[@stdlib/ndarray/base/every]: https://github.com/stdlib-js/ndarray-base-every/tree/umd
-[@stdlib/ndarray/base/expand-dimensions]: https://github.com/stdlib-js/ndarray-base-expand-dimensions
+[@stdlib/ndarray/base/expand-dimensions]: https://github.com/stdlib-js/ndarray-base-expand-dimensions/tree/umd
-[@stdlib/ndarray/base/falses-like]: https://github.com/stdlib-js/ndarray-base-falses-like
+[@stdlib/ndarray/base/falses-like]: https://github.com/stdlib-js/ndarray-base-falses-like/tree/umd
-[@stdlib/ndarray/base/falses]: https://github.com/stdlib-js/ndarray-base-falses
+[@stdlib/ndarray/base/falses]: https://github.com/stdlib-js/ndarray-base-falses/tree/umd
-[@stdlib/ndarray/base/fill-by]: https://github.com/stdlib-js/ndarray-base-fill-by
+[@stdlib/ndarray/base/fill-by]: https://github.com/stdlib-js/ndarray-base-fill-by/tree/umd
-[@stdlib/ndarray/base/fill-diagonal]: https://github.com/stdlib-js/ndarray-base-fill-diagonal
+[@stdlib/ndarray/base/fill-diagonal]: https://github.com/stdlib-js/ndarray-base-fill-diagonal/tree/umd
-[@stdlib/ndarray/base/fill]: https://github.com/stdlib-js/ndarray-base-fill
+[@stdlib/ndarray/base/fill]: https://github.com/stdlib-js/ndarray-base-fill/tree/umd
-[@stdlib/ndarray/base/find]: https://github.com/stdlib-js/ndarray-base-find
+[@stdlib/ndarray/base/find]: https://github.com/stdlib-js/ndarray-base-find/tree/umd
-[@stdlib/ndarray/base/flag]: https://github.com/stdlib-js/ndarray-base-flag
+[@stdlib/ndarray/base/flag]: https://github.com/stdlib-js/ndarray-base-flag/tree/umd
-[@stdlib/ndarray/base/flags]: https://github.com/stdlib-js/ndarray-base-flags
+[@stdlib/ndarray/base/flags]: https://github.com/stdlib-js/ndarray-base-flags/tree/umd
-[@stdlib/ndarray/base/flatten-shape-from]: https://github.com/stdlib-js/ndarray-base-flatten-shape-from
+[@stdlib/ndarray/base/flatten-shape-from]: https://github.com/stdlib-js/ndarray-base-flatten-shape-from/tree/umd
-[@stdlib/ndarray/base/flatten-shape]: https://github.com/stdlib-js/ndarray-base-flatten-shape
+[@stdlib/ndarray/base/flatten-shape]: https://github.com/stdlib-js/ndarray-base-flatten-shape/tree/umd
-[@stdlib/ndarray/base/fliplr]: https://github.com/stdlib-js/ndarray-base-fliplr
+[@stdlib/ndarray/base/fliplr]: https://github.com/stdlib-js/ndarray-base-fliplr/tree/umd
-[@stdlib/ndarray/base/flipud]: https://github.com/stdlib-js/ndarray-base-flipud
+[@stdlib/ndarray/base/flipud]: https://github.com/stdlib-js/ndarray-base-flipud/tree/umd
-[@stdlib/ndarray/base/for-each]: https://github.com/stdlib-js/ndarray-base-for-each
+[@stdlib/ndarray/base/for-each]: https://github.com/stdlib-js/ndarray-base-for-each/tree/umd
-[@stdlib/ndarray/base/from-array]: https://github.com/stdlib-js/ndarray-base-from-array
+[@stdlib/ndarray/base/from-array]: https://github.com/stdlib-js/ndarray-base-from-array/tree/umd
-[@stdlib/ndarray/base/from-scalar-like]: https://github.com/stdlib-js/ndarray-base-from-scalar-like
+[@stdlib/ndarray/base/from-scalar-like]: https://github.com/stdlib-js/ndarray-base-from-scalar-like/tree/umd
-[@stdlib/ndarray/base/from-scalar]: https://github.com/stdlib-js/ndarray-base-from-scalar
+[@stdlib/ndarray/base/from-scalar]: https://github.com/stdlib-js/ndarray-base-from-scalar/tree/umd
-[@stdlib/ndarray/base/full-by]: https://github.com/stdlib-js/ndarray-base-full-by
+[@stdlib/ndarray/base/full-by]: https://github.com/stdlib-js/ndarray-base-full-by/tree/umd
-[@stdlib/ndarray/base/full]: https://github.com/stdlib-js/ndarray-base-full
+[@stdlib/ndarray/base/full]: https://github.com/stdlib-js/ndarray-base-full/tree/umd
-[@stdlib/ndarray/base/includes]: https://github.com/stdlib-js/ndarray-base-includes
+[@stdlib/ndarray/base/includes]: https://github.com/stdlib-js/ndarray-base-includes/tree/umd
-[@stdlib/ndarray/base/ind]: https://github.com/stdlib-js/ndarray-base-ind
+[@stdlib/ndarray/base/ind]: https://github.com/stdlib-js/ndarray-base-ind/tree/umd
-[@stdlib/ndarray/base/ind2sub]: https://github.com/stdlib-js/ndarray-base-ind2sub
+[@stdlib/ndarray/base/ind2sub]: https://github.com/stdlib-js/ndarray-base-ind2sub/tree/umd
-[@stdlib/ndarray/base/iteration-order]: https://github.com/stdlib-js/ndarray-base-iteration-order
+[@stdlib/ndarray/base/iteration-order]: https://github.com/stdlib-js/ndarray-base-iteration-order/tree/umd
-[@stdlib/ndarray/base/loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-loop-interchange-order
+[@stdlib/ndarray/base/loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/map]: https://github.com/stdlib-js/ndarray-base-map
+[@stdlib/ndarray/base/map]: https://github.com/stdlib-js/ndarray-base-map/tree/umd
-[@stdlib/ndarray/base/max-view-buffer-index]: https://github.com/stdlib-js/ndarray-base-max-view-buffer-index
+[@stdlib/ndarray/base/max-view-buffer-index]: https://github.com/stdlib-js/ndarray-base-max-view-buffer-index/tree/umd
-[@stdlib/ndarray/base/maybe-broadcast-array-except-dimensions]: https://github.com/stdlib-js/ndarray-base-maybe-broadcast-array-except-dimensions
+[@stdlib/ndarray/base/maybe-broadcast-array-except-dimensions]: https://github.com/stdlib-js/ndarray-base-maybe-broadcast-array-except-dimensions/tree/umd
-[@stdlib/ndarray/base/maybe-broadcast-array]: https://github.com/stdlib-js/ndarray-base-maybe-broadcast-array
+[@stdlib/ndarray/base/maybe-broadcast-array]: https://github.com/stdlib-js/ndarray-base-maybe-broadcast-array/tree/umd
-[@stdlib/ndarray/base/maybe-broadcast-arrays]: https://github.com/stdlib-js/ndarray-base-maybe-broadcast-arrays
+[@stdlib/ndarray/base/maybe-broadcast-arrays]: https://github.com/stdlib-js/ndarray-base-maybe-broadcast-arrays/tree/umd
-[@stdlib/ndarray/base/meta-data-props]: https://github.com/stdlib-js/ndarray-base-meta-data-props
+[@stdlib/ndarray/base/meta-data-props]: https://github.com/stdlib-js/ndarray-base-meta-data-props/tree/umd
-[@stdlib/ndarray/base/min-signed-integer-dtype]: https://github.com/stdlib-js/ndarray-base-min-signed-integer-dtype
+[@stdlib/ndarray/base/min-signed-integer-dtype]: https://github.com/stdlib-js/ndarray-base-min-signed-integer-dtype/tree/umd
-[@stdlib/ndarray/base/min-unsigned-integer-dtype]: https://github.com/stdlib-js/ndarray-base-min-unsigned-integer-dtype
+[@stdlib/ndarray/base/min-unsigned-integer-dtype]: https://github.com/stdlib-js/ndarray-base-min-unsigned-integer-dtype/tree/umd
-[@stdlib/ndarray/base/min-view-buffer-index]: https://github.com/stdlib-js/ndarray-base-min-view-buffer-index
+[@stdlib/ndarray/base/min-view-buffer-index]: https://github.com/stdlib-js/ndarray-base-min-view-buffer-index/tree/umd
-[@stdlib/ndarray/base/minmax-view-buffer-index]: https://github.com/stdlib-js/ndarray-base-minmax-view-buffer-index
+[@stdlib/ndarray/base/minmax-view-buffer-index]: https://github.com/stdlib-js/ndarray-base-minmax-view-buffer-index/tree/umd
-[@stdlib/ndarray/base/nans-like]: https://github.com/stdlib-js/ndarray-base-nans-like
+[@stdlib/ndarray/base/nans-like]: https://github.com/stdlib-js/ndarray-base-nans-like/tree/umd
-[@stdlib/ndarray/base/nans]: https://github.com/stdlib-js/ndarray-base-nans
+[@stdlib/ndarray/base/nans]: https://github.com/stdlib-js/ndarray-base-nans/tree/umd
-[@stdlib/ndarray/base/ndarraylike2descriptor]: https://github.com/stdlib-js/ndarray-base-ndarraylike2descriptor
+[@stdlib/ndarray/base/ndarraylike2descriptor]: https://github.com/stdlib-js/ndarray-base-ndarraylike2descriptor/tree/umd
-[@stdlib/ndarray/base/ndarraylike2ndarray]: https://github.com/stdlib-js/ndarray-base-ndarraylike2ndarray
+[@stdlib/ndarray/base/ndarraylike2ndarray]: https://github.com/stdlib-js/ndarray-base-ndarraylike2ndarray/tree/umd
-[@stdlib/ndarray/base/ndarraylike2object]: https://github.com/stdlib-js/ndarray-base-ndarraylike2object
+[@stdlib/ndarray/base/ndarraylike2object]: https://github.com/stdlib-js/ndarray-base-ndarraylike2object/tree/umd
-[@stdlib/ndarray/base/ndarraylike2scalar]: https://github.com/stdlib-js/ndarray-base-ndarraylike2scalar
+[@stdlib/ndarray/base/ndarraylike2scalar]: https://github.com/stdlib-js/ndarray-base-ndarraylike2scalar/tree/umd
-[@stdlib/ndarray/base/ndims]: https://github.com/stdlib-js/ndarray-base-ndims
+[@stdlib/ndarray/base/ndims]: https://github.com/stdlib-js/ndarray-base-ndims/tree/umd
-[@stdlib/ndarray/base/next-cartesian-index]: https://github.com/stdlib-js/ndarray-base-next-cartesian-index
+[@stdlib/ndarray/base/next-cartesian-index]: https://github.com/stdlib-js/ndarray-base-next-cartesian-index/tree/umd
-[@stdlib/ndarray/base/nonsingleton-dimensions]: https://github.com/stdlib-js/ndarray-base-nonsingleton-dimensions
+[@stdlib/ndarray/base/nonsingleton-dimensions]: https://github.com/stdlib-js/ndarray-base-nonsingleton-dimensions/tree/umd
-[@stdlib/ndarray/base/normalize-index]: https://github.com/stdlib-js/ndarray-base-normalize-index
+[@stdlib/ndarray/base/normalize-index]: https://github.com/stdlib-js/ndarray-base-normalize-index/tree/umd
-[@stdlib/ndarray/base/normalize-indices]: https://github.com/stdlib-js/ndarray-base-normalize-indices
+[@stdlib/ndarray/base/normalize-indices]: https://github.com/stdlib-js/ndarray-base-normalize-indices/tree/umd
-[@stdlib/ndarray/base/nullary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-nullary-loop-interchange-order
+[@stdlib/ndarray/base/nullary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-nullary-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/nullary-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-nullary-strided1d-dispatch-factory
+[@stdlib/ndarray/base/nullary-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-nullary-strided1d-dispatch-factory/tree/umd
-[@stdlib/ndarray/base/nullary-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-nullary-strided1d-dispatch
+[@stdlib/ndarray/base/nullary-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-nullary-strided1d-dispatch/tree/umd
-[@stdlib/ndarray/base/nullary-strided1d]: https://github.com/stdlib-js/ndarray-base-nullary-strided1d
+[@stdlib/ndarray/base/nullary-strided1d]: https://github.com/stdlib-js/ndarray-base-nullary-strided1d/tree/umd
-[@stdlib/ndarray/base/nullary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-nullary-tiling-block-size
+[@stdlib/ndarray/base/nullary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-nullary-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/nullary]: https://github.com/stdlib-js/ndarray-base-nullary
+[@stdlib/ndarray/base/nullary]: https://github.com/stdlib-js/ndarray-base-nullary/tree/umd
-[@stdlib/ndarray/base/nulls-like]: https://github.com/stdlib-js/ndarray-base-nulls-like
+[@stdlib/ndarray/base/nulls-like]: https://github.com/stdlib-js/ndarray-base-nulls-like/tree/umd
-[@stdlib/ndarray/base/nulls]: https://github.com/stdlib-js/ndarray-base-nulls
+[@stdlib/ndarray/base/nulls]: https://github.com/stdlib-js/ndarray-base-nulls/tree/umd
-[@stdlib/ndarray/base/numel-dimension]: https://github.com/stdlib-js/ndarray-base-numel-dimension
+[@stdlib/ndarray/base/numel-dimension]: https://github.com/stdlib-js/ndarray-base-numel-dimension/tree/umd
-[@stdlib/ndarray/base/numel]: https://github.com/stdlib-js/ndarray-base-numel
+[@stdlib/ndarray/base/numel]: https://github.com/stdlib-js/ndarray-base-numel/tree/umd
-[@stdlib/ndarray/base/offset]: https://github.com/stdlib-js/ndarray-base-offset
+[@stdlib/ndarray/base/offset]: https://github.com/stdlib-js/ndarray-base-offset/tree/umd
-[@stdlib/ndarray/base/offsets]: https://github.com/stdlib-js/ndarray-base-offsets
+[@stdlib/ndarray/base/offsets]: https://github.com/stdlib-js/ndarray-base-offsets/tree/umd
-[@stdlib/ndarray/base/ones-like]: https://github.com/stdlib-js/ndarray-base-ones-like
+[@stdlib/ndarray/base/ones-like]: https://github.com/stdlib-js/ndarray-base-ones-like/tree/umd
-[@stdlib/ndarray/base/ones]: https://github.com/stdlib-js/ndarray-base-ones
+[@stdlib/ndarray/base/ones]: https://github.com/stdlib-js/ndarray-base-ones/tree/umd
-[@stdlib/ndarray/base/order]: https://github.com/stdlib-js/ndarray-base-order
+[@stdlib/ndarray/base/order]: https://github.com/stdlib-js/ndarray-base-order/tree/umd
-[@stdlib/ndarray/base/output-dtype]: https://github.com/stdlib-js/ndarray-base-output-dtype
+[@stdlib/ndarray/base/output-dtype]: https://github.com/stdlib-js/ndarray-base-output-dtype/tree/umd
-[@stdlib/ndarray/base/output-order]: https://github.com/stdlib-js/ndarray-base-output-order
+[@stdlib/ndarray/base/output-order]: https://github.com/stdlib-js/ndarray-base-output-order/tree/umd
-[@stdlib/ndarray/base/output-policy-enum2str]: https://github.com/stdlib-js/ndarray-base-output-policy-enum2str
+[@stdlib/ndarray/base/output-policy-enum2str]: https://github.com/stdlib-js/ndarray-base-output-policy-enum2str/tree/umd
-[@stdlib/ndarray/base/output-policy-resolve-enum]: https://github.com/stdlib-js/ndarray-base-output-policy-resolve-enum
+[@stdlib/ndarray/base/output-policy-resolve-enum]: https://github.com/stdlib-js/ndarray-base-output-policy-resolve-enum/tree/umd
-[@stdlib/ndarray/base/output-policy-resolve-str]: https://github.com/stdlib-js/ndarray-base-output-policy-resolve-str
+[@stdlib/ndarray/base/output-policy-resolve-str]: https://github.com/stdlib-js/ndarray-base-output-policy-resolve-str/tree/umd
-[@stdlib/ndarray/base/output-policy-str2enum]: https://github.com/stdlib-js/ndarray-base-output-policy-str2enum
+[@stdlib/ndarray/base/output-policy-str2enum]: https://github.com/stdlib-js/ndarray-base-output-policy-str2enum/tree/umd
-[@stdlib/ndarray/base/pop]: https://github.com/stdlib-js/ndarray-base-pop
+[@stdlib/ndarray/base/pop]: https://github.com/stdlib-js/ndarray-base-pop/tree/umd
-[@stdlib/ndarray/base/prepend-singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-prepend-singleton-dimensions
+[@stdlib/ndarray/base/prepend-singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-prepend-singleton-dimensions/tree/umd
-[@stdlib/ndarray/base/promote-dtypes]: https://github.com/stdlib-js/ndarray-base-promote-dtypes
+[@stdlib/ndarray/base/promote-dtypes]: https://github.com/stdlib-js/ndarray-base-promote-dtypes/tree/umd
-[@stdlib/ndarray/base/quaternary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-quaternary-loop-interchange-order
+[@stdlib/ndarray/base/quaternary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-quaternary-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/quaternary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-quaternary-tiling-block-size
+[@stdlib/ndarray/base/quaternary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-quaternary-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/quinary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-quinary-loop-interchange-order
+[@stdlib/ndarray/base/quinary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-quinary-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/quinary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-quinary-tiling-block-size
+[@stdlib/ndarray/base/quinary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-quinary-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/reinterpret-boolean]: https://github.com/stdlib-js/ndarray-base-reinterpret-boolean
+[@stdlib/ndarray/base/reinterpret-boolean]: https://github.com/stdlib-js/ndarray-base-reinterpret-boolean/tree/umd
-[@stdlib/ndarray/base/reinterpret-complex]: https://github.com/stdlib-js/ndarray-base-reinterpret-complex
+[@stdlib/ndarray/base/reinterpret-complex]: https://github.com/stdlib-js/ndarray-base-reinterpret-complex/tree/umd
-[@stdlib/ndarray/base/reinterpret-complex128]: https://github.com/stdlib-js/ndarray-base-reinterpret-complex128
+[@stdlib/ndarray/base/reinterpret-complex128]: https://github.com/stdlib-js/ndarray-base-reinterpret-complex128/tree/umd
-[@stdlib/ndarray/base/reinterpret-complex64]: https://github.com/stdlib-js/ndarray-base-reinterpret-complex64
+[@stdlib/ndarray/base/reinterpret-complex64]: https://github.com/stdlib-js/ndarray-base-reinterpret-complex64/tree/umd
-[@stdlib/ndarray/base/remove-singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-remove-singleton-dimensions
+[@stdlib/ndarray/base/remove-singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-remove-singleton-dimensions/tree/umd
-[@stdlib/ndarray/base/reverse-dimension]: https://github.com/stdlib-js/ndarray-base-reverse-dimension
+[@stdlib/ndarray/base/reverse-dimension]: https://github.com/stdlib-js/ndarray-base-reverse-dimension/tree/umd
-[@stdlib/ndarray/base/reverse-dimensions]: https://github.com/stdlib-js/ndarray-base-reverse-dimensions
+[@stdlib/ndarray/base/reverse-dimensions]: https://github.com/stdlib-js/ndarray-base-reverse-dimensions/tree/umd
-[@stdlib/ndarray/base/reverse]: https://github.com/stdlib-js/ndarray-base-reverse
+[@stdlib/ndarray/base/reverse]: https://github.com/stdlib-js/ndarray-base-reverse/tree/umd
-[@stdlib/ndarray/base/rot180]: https://github.com/stdlib-js/ndarray-base-rot180
+[@stdlib/ndarray/base/rot180]: https://github.com/stdlib-js/ndarray-base-rot180/tree/umd
-[@stdlib/ndarray/base/rot90]: https://github.com/stdlib-js/ndarray-base-rot90
+[@stdlib/ndarray/base/rot90]: https://github.com/stdlib-js/ndarray-base-rot90/tree/umd
-[@stdlib/ndarray/base/rotl90]: https://github.com/stdlib-js/ndarray-base-rotl90
+[@stdlib/ndarray/base/rotl90]: https://github.com/stdlib-js/ndarray-base-rotl90/tree/umd
-[@stdlib/ndarray/base/rotr90]: https://github.com/stdlib-js/ndarray-base-rotr90
+[@stdlib/ndarray/base/rotr90]: https://github.com/stdlib-js/ndarray-base-rotr90/tree/umd
-[@stdlib/ndarray/base/serialize-meta-data]: https://github.com/stdlib-js/ndarray-base-serialize-meta-data
+[@stdlib/ndarray/base/serialize-meta-data]: https://github.com/stdlib-js/ndarray-base-serialize-meta-data/tree/umd
-[@stdlib/ndarray/base/set-descriptor-offsets]: https://github.com/stdlib-js/ndarray-base-set-descriptor-offsets
+[@stdlib/ndarray/base/set-descriptor-offsets]: https://github.com/stdlib-js/ndarray-base-set-descriptor-offsets/tree/umd
-[@stdlib/ndarray/base/shape]: https://github.com/stdlib-js/ndarray-base-shape
+[@stdlib/ndarray/base/shape]: https://github.com/stdlib-js/ndarray-base-shape/tree/umd
-[@stdlib/ndarray/base/shape2strides]: https://github.com/stdlib-js/ndarray-base-shape2strides
+[@stdlib/ndarray/base/shape2strides]: https://github.com/stdlib-js/ndarray-base-shape2strides/tree/umd
-[@stdlib/ndarray/base/shift]: https://github.com/stdlib-js/ndarray-base-shift
+[@stdlib/ndarray/base/shift]: https://github.com/stdlib-js/ndarray-base-shift/tree/umd
-[@stdlib/ndarray/base/singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-singleton-dimensions
+[@stdlib/ndarray/base/singleton-dimensions]: https://github.com/stdlib-js/ndarray-base-singleton-dimensions/tree/umd
-[@stdlib/ndarray/base/slice-assign]: https://github.com/stdlib-js/ndarray-base-slice-assign
+[@stdlib/ndarray/base/slice-assign]: https://github.com/stdlib-js/ndarray-base-slice-assign/tree/umd
-[@stdlib/ndarray/base/slice-dimension-from]: https://github.com/stdlib-js/ndarray-base-slice-dimension-from
+[@stdlib/ndarray/base/slice-dimension-from]: https://github.com/stdlib-js/ndarray-base-slice-dimension-from/tree/umd
-[@stdlib/ndarray/base/slice-dimension-to]: https://github.com/stdlib-js/ndarray-base-slice-dimension-to
+[@stdlib/ndarray/base/slice-dimension-to]: https://github.com/stdlib-js/ndarray-base-slice-dimension-to/tree/umd
-[@stdlib/ndarray/base/slice-dimension]: https://github.com/stdlib-js/ndarray-base-slice-dimension
+[@stdlib/ndarray/base/slice-dimension]: https://github.com/stdlib-js/ndarray-base-slice-dimension/tree/umd
-[@stdlib/ndarray/base/slice-from]: https://github.com/stdlib-js/ndarray-base-slice-from
+[@stdlib/ndarray/base/slice-from]: https://github.com/stdlib-js/ndarray-base-slice-from/tree/umd
-[@stdlib/ndarray/base/slice-to]: https://github.com/stdlib-js/ndarray-base-slice-to
+[@stdlib/ndarray/base/slice-to]: https://github.com/stdlib-js/ndarray-base-slice-to/tree/umd
-[@stdlib/ndarray/base/slice]: https://github.com/stdlib-js/ndarray-base-slice
+[@stdlib/ndarray/base/slice]: https://github.com/stdlib-js/ndarray-base-slice/tree/umd
-[@stdlib/ndarray/base/some-by]: https://github.com/stdlib-js/ndarray-base-some-by
+[@stdlib/ndarray/base/some-by]: https://github.com/stdlib-js/ndarray-base-some-by/tree/umd
-[@stdlib/ndarray/base/some]: https://github.com/stdlib-js/ndarray-base-some
+[@stdlib/ndarray/base/some]: https://github.com/stdlib-js/ndarray-base-some/tree/umd
-[@stdlib/ndarray/base/spread-dimensions]: https://github.com/stdlib-js/ndarray-base-spread-dimensions
+[@stdlib/ndarray/base/spread-dimensions]: https://github.com/stdlib-js/ndarray-base-spread-dimensions/tree/umd
-[@stdlib/ndarray/base/stride]: https://github.com/stdlib-js/ndarray-base-stride
+[@stdlib/ndarray/base/stride]: https://github.com/stdlib-js/ndarray-base-stride/tree/umd
-[@stdlib/ndarray/base/strides]: https://github.com/stdlib-js/ndarray-base-strides
+[@stdlib/ndarray/base/strides]: https://github.com/stdlib-js/ndarray-base-strides/tree/umd
-[@stdlib/ndarray/base/strides2offset]: https://github.com/stdlib-js/ndarray-base-strides2offset
+[@stdlib/ndarray/base/strides2offset]: https://github.com/stdlib-js/ndarray-base-strides2offset/tree/umd
-[@stdlib/ndarray/base/strides2order]: https://github.com/stdlib-js/ndarray-base-strides2order
+[@stdlib/ndarray/base/strides2order]: https://github.com/stdlib-js/ndarray-base-strides2order/tree/umd
-[@stdlib/ndarray/base/sub2ind]: https://github.com/stdlib-js/ndarray-base-sub2ind
+[@stdlib/ndarray/base/sub2ind]: https://github.com/stdlib-js/ndarray-base-sub2ind/tree/umd
-[@stdlib/ndarray/base/ternary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-ternary-loop-interchange-order
+[@stdlib/ndarray/base/ternary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-ternary-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/ternary-output-dtype]: https://github.com/stdlib-js/ndarray-base-ternary-output-dtype
+[@stdlib/ndarray/base/ternary-output-dtype]: https://github.com/stdlib-js/ndarray-base-ternary-output-dtype/tree/umd
-[@stdlib/ndarray/base/ternary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-ternary-tiling-block-size
+[@stdlib/ndarray/base/ternary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-ternary-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/ternary]: https://github.com/stdlib-js/ndarray-base-ternary
+[@stdlib/ndarray/base/ternary]: https://github.com/stdlib-js/ndarray-base-ternary/tree/umd
-[@stdlib/ndarray/base/tile]: https://github.com/stdlib-js/ndarray-base-tile
+[@stdlib/ndarray/base/tile]: https://github.com/stdlib-js/ndarray-base-tile/tree/umd
-[@stdlib/ndarray/base/tiling-block-size]: https://github.com/stdlib-js/ndarray-base-tiling-block-size
+[@stdlib/ndarray/base/tiling-block-size]: https://github.com/stdlib-js/ndarray-base-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/to-array]: https://github.com/stdlib-js/ndarray-base-to-array
+[@stdlib/ndarray/base/to-array]: https://github.com/stdlib-js/ndarray-base-to-array/tree/umd
-[@stdlib/ndarray/base/to-flippedlr]: https://github.com/stdlib-js/ndarray-base-to-flippedlr
+[@stdlib/ndarray/base/to-flippedlr]: https://github.com/stdlib-js/ndarray-base-to-flippedlr/tree/umd
-[@stdlib/ndarray/base/to-flippedud]: https://github.com/stdlib-js/ndarray-base-to-flippedud
+[@stdlib/ndarray/base/to-flippedud]: https://github.com/stdlib-js/ndarray-base-to-flippedud/tree/umd
-[@stdlib/ndarray/base/to-normalized-indices]: https://github.com/stdlib-js/ndarray-base-to-normalized-indices
+[@stdlib/ndarray/base/to-normalized-indices]: https://github.com/stdlib-js/ndarray-base-to-normalized-indices/tree/umd
-[@stdlib/ndarray/base/to-reversed-dimension]: https://github.com/stdlib-js/ndarray-base-to-reversed-dimension
+[@stdlib/ndarray/base/to-reversed-dimension]: https://github.com/stdlib-js/ndarray-base-to-reversed-dimension/tree/umd
-[@stdlib/ndarray/base/to-reversed-dimensions]: https://github.com/stdlib-js/ndarray-base-to-reversed-dimensions
+[@stdlib/ndarray/base/to-reversed-dimensions]: https://github.com/stdlib-js/ndarray-base-to-reversed-dimensions/tree/umd
-[@stdlib/ndarray/base/to-reversed]: https://github.com/stdlib-js/ndarray-base-to-reversed
+[@stdlib/ndarray/base/to-reversed]: https://github.com/stdlib-js/ndarray-base-to-reversed/tree/umd
-[@stdlib/ndarray/base/to-rot180]: https://github.com/stdlib-js/ndarray-base-to-rot180
+[@stdlib/ndarray/base/to-rot180]: https://github.com/stdlib-js/ndarray-base-to-rot180/tree/umd
-[@stdlib/ndarray/base/to-rot90]: https://github.com/stdlib-js/ndarray-base-to-rot90
+[@stdlib/ndarray/base/to-rot90]: https://github.com/stdlib-js/ndarray-base-to-rot90/tree/umd
-[@stdlib/ndarray/base/to-rotl90]: https://github.com/stdlib-js/ndarray-base-to-rotl90
+[@stdlib/ndarray/base/to-rotl90]: https://github.com/stdlib-js/ndarray-base-to-rotl90/tree/umd
-[@stdlib/ndarray/base/to-rotr90]: https://github.com/stdlib-js/ndarray-base-to-rotr90
+[@stdlib/ndarray/base/to-rotr90]: https://github.com/stdlib-js/ndarray-base-to-rotr90/tree/umd
-[@stdlib/ndarray/base/to-transposed]: https://github.com/stdlib-js/ndarray-base-to-transposed
+[@stdlib/ndarray/base/to-transposed]: https://github.com/stdlib-js/ndarray-base-to-transposed/tree/umd
-[@stdlib/ndarray/base/to-unflattened]: https://github.com/stdlib-js/ndarray-base-to-unflattened
+[@stdlib/ndarray/base/to-unflattened]: https://github.com/stdlib-js/ndarray-base-to-unflattened/tree/umd
-[@stdlib/ndarray/base/to-unique-normalized-indices]: https://github.com/stdlib-js/ndarray-base-to-unique-normalized-indices
+[@stdlib/ndarray/base/to-unique-normalized-indices]: https://github.com/stdlib-js/ndarray-base-to-unique-normalized-indices/tree/umd
-[@stdlib/ndarray/base/transpose]: https://github.com/stdlib-js/ndarray-base-transpose
+[@stdlib/ndarray/base/transpose]: https://github.com/stdlib-js/ndarray-base-transpose/tree/umd
-[@stdlib/ndarray/base/trues-like]: https://github.com/stdlib-js/ndarray-base-trues-like
+[@stdlib/ndarray/base/trues-like]: https://github.com/stdlib-js/ndarray-base-trues-like/tree/umd
-[@stdlib/ndarray/base/trues]: https://github.com/stdlib-js/ndarray-base-trues
+[@stdlib/ndarray/base/trues]: https://github.com/stdlib-js/ndarray-base-trues/tree/umd
-[@stdlib/ndarray/base/unary-accumulate]: https://github.com/stdlib-js/ndarray-base-unary-accumulate
+[@stdlib/ndarray/base/unary-accumulate]: https://github.com/stdlib-js/ndarray-base-unary-accumulate/tree/umd
-[@stdlib/ndarray/base/unary-addon-dispatch]: https://github.com/stdlib-js/ndarray-base-unary-addon-dispatch
+[@stdlib/ndarray/base/unary-addon-dispatch]: https://github.com/stdlib-js/ndarray-base-unary-addon-dispatch/tree/umd
-[@stdlib/ndarray/base/unary-by]: https://github.com/stdlib-js/ndarray-base-unary-by
+[@stdlib/ndarray/base/unary-by]: https://github.com/stdlib-js/ndarray-base-unary-by/tree/umd
-[@stdlib/ndarray/base/unary-input-casting-dtype]: https://github.com/stdlib-js/ndarray-base-unary-input-casting-dtype
+[@stdlib/ndarray/base/unary-input-casting-dtype]: https://github.com/stdlib-js/ndarray-base-unary-input-casting-dtype/tree/umd
-[@stdlib/ndarray/base/unary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-unary-loop-interchange-order
+[@stdlib/ndarray/base/unary-loop-interchange-order]: https://github.com/stdlib-js/ndarray-base-unary-loop-interchange-order/tree/umd
-[@stdlib/ndarray/base/unary-output-dtype]: https://github.com/stdlib-js/ndarray-base-unary-output-dtype
+[@stdlib/ndarray/base/unary-output-dtype]: https://github.com/stdlib-js/ndarray-base-unary-output-dtype/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-assign-struct
+[@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-assign-struct/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d-by]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-by
+[@stdlib/ndarray/base/unary-reduce-strided1d-by]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-by/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch-by-factory
+[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch-by-factory/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch-by
+[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch-by/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch-factory
+[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch-factory/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch
+[@stdlib/ndarray/base/unary-reduce-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d-dispatch/tree/umd
-[@stdlib/ndarray/base/unary-reduce-strided1d]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d
+[@stdlib/ndarray/base/unary-reduce-strided1d]: https://github.com/stdlib-js/ndarray-base-unary-reduce-strided1d/tree/umd
-[@stdlib/ndarray/base/unary-reduce-subarray-by]: https://github.com/stdlib-js/ndarray-base-unary-reduce-subarray-by
+[@stdlib/ndarray/base/unary-reduce-subarray-by]: https://github.com/stdlib-js/ndarray-base-unary-reduce-subarray-by/tree/umd
-[@stdlib/ndarray/base/unary-reduce-subarray]: https://github.com/stdlib-js/ndarray-base-unary-reduce-subarray
+[@stdlib/ndarray/base/unary-reduce-subarray]: https://github.com/stdlib-js/ndarray-base-unary-reduce-subarray/tree/umd
-[@stdlib/ndarray/base/unary-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-unary-strided1d-dispatch-factory
+[@stdlib/ndarray/base/unary-strided1d-dispatch-factory]: https://github.com/stdlib-js/ndarray-base-unary-strided1d-dispatch-factory/tree/umd
-[@stdlib/ndarray/base/unary-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-unary-strided1d-dispatch
+[@stdlib/ndarray/base/unary-strided1d-dispatch]: https://github.com/stdlib-js/ndarray-base-unary-strided1d-dispatch/tree/umd
-[@stdlib/ndarray/base/unary-strided1d]: https://github.com/stdlib-js/ndarray-base-unary-strided1d
+[@stdlib/ndarray/base/unary-strided1d]: https://github.com/stdlib-js/ndarray-base-unary-strided1d/tree/umd
-[@stdlib/ndarray/base/unary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-unary-tiling-block-size
+[@stdlib/ndarray/base/unary-tiling-block-size]: https://github.com/stdlib-js/ndarray-base-unary-tiling-block-size/tree/umd
-[@stdlib/ndarray/base/unary]: https://github.com/stdlib-js/ndarray-base-unary
+[@stdlib/ndarray/base/unary]: https://github.com/stdlib-js/ndarray-base-unary/tree/umd
-[@stdlib/ndarray/base/unflatten-shape]: https://github.com/stdlib-js/ndarray-base-unflatten-shape
+[@stdlib/ndarray/base/unflatten-shape]: https://github.com/stdlib-js/ndarray-base-unflatten-shape/tree/umd
-[@stdlib/ndarray/base/unflatten]: https://github.com/stdlib-js/ndarray-base-unflatten
+[@stdlib/ndarray/base/unflatten]: https://github.com/stdlib-js/ndarray-base-unflatten/tree/umd
-[@stdlib/ndarray/base/vind2bind]: https://github.com/stdlib-js/ndarray-base-vind2bind
+[@stdlib/ndarray/base/vind2bind]: https://github.com/stdlib-js/ndarray-base-vind2bind/tree/umd
-[@stdlib/ndarray/base/wrap-index]: https://github.com/stdlib-js/ndarray-base-wrap-index
+[@stdlib/ndarray/base/wrap-index]: https://github.com/stdlib-js/ndarray-base-wrap-index/tree/umd
-[@stdlib/ndarray/base/zeros-like]: https://github.com/stdlib-js/ndarray-base-zeros-like
+[@stdlib/ndarray/base/zeros-like]: https://github.com/stdlib-js/ndarray-base-zeros-like/tree/umd
-[@stdlib/ndarray/base/zeros]: https://github.com/stdlib-js/ndarray-base-zeros
+[@stdlib/ndarray/base/zeros]: https://github.com/stdlib-js/ndarray-base-zeros/tree/umd
-[@stdlib/ndarray/base/zip2views1d]: https://github.com/stdlib-js/ndarray-base-zip2views1d
+[@stdlib/ndarray/base/zip2views1d]: https://github.com/stdlib-js/ndarray-base-zip2views1d/tree/umd
diff --git a/SECURITY.md b/SECURITY.md
deleted file mode 100644
index 9702d4c..0000000
--- a/SECURITY.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Security
-
-> Policy for reporting security vulnerabilities.
-
-See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
diff --git a/branches.md b/branches.md
deleted file mode 100644
index 555cd35..0000000
--- a/branches.md
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-# Branches
-
-This repository has the following branches:
-
-- **main**: default branch generated from the [stdlib project][stdlib-url], where all development takes place.
-- **production**: [production build][production-url] of the package (e.g., reformatted error messages to reduce bundle sizes and thus the number of bytes transmitted over a network).
-- **esm**: [ES Module][esm-url] branch for use via a `script` tag without the need for installation and bundlers (see [README][esm-readme]).
-- **deno**: [Deno][deno-url] branch for use in Deno (see [README][deno-readme]).
-- **umd**: [UMD][umd-url] branch for use in Observable, or in dual browser/Node.js environments (see [README][umd-readme]).
-
-The following diagram illustrates the relationships among the above branches:
-
-```mermaid
-graph TD;
-A[stdlib]-->|generate standalone package|B;
-B[main] -->|productionize| C[production];
-C -->|bundle| D[esm];
-C -->|bundle| E[deno];
-C -->|bundle| F[umd];
-
-%% click A href "https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base"
-%% click B href "https://github.com/stdlib-js/ndarray-base/tree/main"
-%% click C href "https://github.com/stdlib-js/ndarray-base/tree/production"
-%% click D href "https://github.com/stdlib-js/ndarray-base/tree/esm"
-%% click E href "https://github.com/stdlib-js/ndarray-base/tree/deno"
-%% click F href "https://github.com/stdlib-js/ndarray-base/tree/umd"
-```
-
-[stdlib-url]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base
-[production-url]: https://github.com/stdlib-js/ndarray-base/tree/production
-[deno-url]: https://github.com/stdlib-js/ndarray-base/tree/deno
-[deno-readme]: https://github.com/stdlib-js/ndarray-base/blob/deno/README.md
-[umd-url]: https://github.com/stdlib-js/ndarray-base/tree/umd
-[umd-readme]: https://github.com/stdlib-js/ndarray-base/blob/umd/README.md
-[esm-url]: https://github.com/stdlib-js/ndarray-base/tree/esm
-[esm-readme]: https://github.com/stdlib-js/ndarray-base/blob/esm/README.md
\ No newline at end of file
diff --git a/browser.js b/browser.js
new file mode 100644
index 0000000..e591adc
--- /dev/null
+++ b/browser.js
@@ -0,0 +1,3 @@
+// Copyright (c) 2026 The Stdlib Authors. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
+!function(r,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(r="undefined"!=typeof globalThis?globalThis:r||self).ns=o()}(this,(function(){"use strict";var r="function"==typeof Object.defineProperty?Object.defineProperty:null;var o=Object.defineProperty;function t(r){return"number"==typeof r}function e(r){var o,t="";for(o=0;o0&&(t-=1),e=r.toExponential(t)):e=r.toPrecision(o.precision),o.alternate||(e=c.call(e,m,"$1e"),e=c.call(e,v,"e"),e=c.call(e,y,""));break;default:throw new Error("invalid double notation. Value: "+o.specifier)}return e=c.call(e,h,"e+0$1"),e=c.call(e,p,"e-0$1"),o.alternate&&(e=c.call(e,l,"$1."),e=c.call(e,g,"$1.e")),r>=0&&o.sign&&(e=o.sign+e),e=o.specifier===d.call(o.specifier)?d.call(e):u.call(e)}function b(r){var o,t="";for(o=0;o127)throw new Error("invalid character code. Value: "+s.arg);s.arg=E(i)?String(s.arg):x(i)}break;case"e":case"E":case"f":case"F":case"g":case"G":if(o||(s.precision=6),c=parseFloat(s.arg),!isFinite(c)){if(!t(s.arg))throw new Error("invalid floating-point number. Value: "+u);c=s.arg,s.padZeros=!1}s.arg=w(c,s);break;default:throw new Error("invalid specifier: "+s.specifier)}s.maxWidth>=0&&s.arg.length>s.maxWidth&&(s.arg=s.arg.substring(0,s.maxWidth)),s.padZeros?s.arg=f(s.arg,s.width||s.precision,s.padRight):s.width&&(s.arg=(l=s.arg,g=s.width,y=s.padRight,v=void 0,(v=g-l.length)<0?l:l=y?l+b(v):b(v)+l)),u+=s.arg||"",d+=1}return u}var j=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function A(r){var o={mapping:r[1]?parseInt(r[1],10):void 0,flags:r[2],width:r[3],precision:r[5],specifier:r[6]};return"."===r[4]&&void 0===r[5]&&(o.precision="1"),o}function O(r){var o,t,e,f;for(t=[],f=0,e=j.exec(r);e;)(o=r.slice(f,j.lastIndex-e[0].length)).length&&t.push(o),"%"===e[6]?t.push("%"):t.push(A(e)),f=j.lastIndex,e=j.exec(r);return(o=r.slice(f)).length&&t.push(o),t}function S(r){var o,t;if("string"!=typeof r)throw new TypeError(S("invalid argument. First argument must be a string. Value: `%s`.",r));for(o=[O(r)],t=1;t0?s+=n*(r[a]-1):n<0&&(f+=n*(r[a]-1))}return[f,s]}function W(r,o,t,e){var f,s,n,a,i;for(f=r.length,s=t,n=t,i=0;i0?n+=a*(r[i]-1):a<0&&(s+=a*(r[i]-1))}return e[0]=s,e[1]=n,e}J($,"assign",W);var G="function";function Z(r){return typeof r.get===G&&typeof r.set===G}var K={complex128:function(r,o){return r.get(o)},complex64:function(r,o){return r.get(o)},default:function(r,o){return r.get(o)}};function X(r){var o=K[r];return"function"==typeof o?o:K.default}var H={complex128:function(r,o,t){r.set(t,o)},complex64:function(r,o,t){r.set(t,o)},default:function(r,o,t){r.set(t,o)}};function Q(r){var o=H[r];return"function"==typeof o?o:H.default}var rr={float64:function(r,o){return r[o]},float32:function(r,o){return r[o]},int32:function(r,o){return r[o]},int16:function(r,o){return r[o]},int8:function(r,o){return r[o]},uint32:function(r,o){return r[o]},uint16:function(r,o){return r[o]},uint8:function(r,o){return r[o]},uint8c:function(r,o){return r[o]},generic:function(r,o){return r[o]},default:function(r,o){return r[o]}};function or(r){var o=rr[r];return"function"==typeof o?o:rr.default}var tr={float64:function(r,o,t){r[o]=t},float32:function(r,o,t){r[o]=t},int32:function(r,o,t){r[o]=t},int16:function(r,o,t){r[o]=t},int8:function(r,o,t){r[o]=t},uint32:function(r,o,t){r[o]=t},uint16:function(r,o,t){r[o]=t},uint8:function(r,o,t){r[o]=t},uint8c:function(r,o,t){r[o]=t},generic:function(r,o,t){r[o]=t},default:function(r,o,t){r[o]=t}};function er(r){var o=tr[r];return"function"==typeof o?o:tr.default}function fr(r){var o,t,e;if(0===(o=r.length))return 0;for(t=1,e=0;e=0;f--)t[f]=e,e*=r[f];return t}(r)}J(br,"isPrimitive",ir),J(br,"isObject",wr),J(_r,"assign",(function(r,o,t){return xr(o)?function(r,o){var t,e;for(t=1,e=0;e=0;e--)o[e]=t,t*=r[e];return o}(r,t)}));var Er="row-major";function Tr(r,o){var t,e,f;return"object"!=typeof(f=r.strides)||null===f?0===(e=r.shape).length?[0]:(ir(t=r.order)||(t=Er),_r(e,t)):o?nr(f):f}function Vr(r){return"number"==typeof r}var jr=Number,Ar=jr.prototype.toString;var Or=dr();function Sr(r){return"object"==typeof r&&(r instanceof jr||(Or?function(r){try{return Ar.call(r),!0}catch(r){return!1}}(r):"[object Number]"===yr(r)))}function Pr(r){return Vr(r)||Sr(r)}function Rr(r,o){var t,e,f;for(e=r.length,t=0,f=0;ff&&(e=!1),!e&&!o)return 0;f=s}return e&&o?3:e?1:2}J(Pr,"isPrimitive",Vr),J(Pr,"isObject",Sr);var Lr="row-major",Br="column-major";function Nr(r){var o,t;return ir(t=r.order)?t:"object"!=typeof(o=r.strides)||null===o||1===(t=Ir(o))||3===t?Lr:2===t?Br:0===r.shape.length?Lr:null}function Dr(r){return r.data}function Mr(r){var o,t,e,f;return o=Dr(r),e=ar(r,!0),f=sr(r),t=Z(o),{ref:r,dtype:f,data:o,length:fr(e),shape:e,strides:Tr(r,!0),offset:Fr(r),order:Nr(r),accessorProtocol:t,accessors:t?[X(f),Q(f)]:[or(f),er(f)]}}var Ur=16;function Cr(r){return"object"==typeof r&&null!==r&&"Complex128Array"===r.constructor.name&&r.BYTES_PER_ELEMENT===Ur}var zr=8;function Yr(r){return"object"==typeof r&&null!==r&&"Complex64Array"===r.constructor.name&&r.BYTES_PER_ELEMENT===zr}var qr="function"==typeof Float64Array;var Jr="function"==typeof Float64Array?Float64Array:null;function $r(){var r,o,t;if("function"!=typeof Jr)return!1;try{o=new Jr([1,3.14,-3.14,NaN]),t=o,r=(qr&&t instanceof Float64Array||"[object Float64Array]"===yr(t))&&1===o[0]&&3.14===o[1]&&-3.14===o[2]&&o[3]!=o[3]}catch(o){r=!1}return r}var Wr="function"==typeof Float64Array?Float64Array:void 0;var Gr=$r()?Wr:function(){throw new Error("not implemented")};function Zr(r,o){return new Gr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*o,2*(r.length-o))}var Kr="function"==typeof Float32Array;var Xr=Number.POSITIVE_INFINITY,Hr="function"==typeof Float32Array?Float32Array:null;var Qr,ro="function"==typeof Float32Array?Float32Array:void 0;Qr=function(){var r,o,t;if("function"!=typeof Hr)return!1;try{o=new Hr([1,3.14,-3.14,5e40]),t=o,r=(Kr&&t instanceof Float32Array||"[object Float32Array]"===yr(t))&&1===o[0]&&3.140000104904175===o[1]&&-3.140000104904175===o[2]&&o[3]===Xr}catch(o){r=!1}return r}()?ro:function(){throw new Error("not implemented")};var oo=Qr;function to(r,o){return new oo(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*o,2*(r.length-o))}function eo(r,o){if(Cr(r))return Zr(r,o);if(Yr(r))return to(r,o);throw new TypeError(S("invalid argument. First argument must be a complex-valued floating-point array. Value: `%s`.",r))}var fo="function"==typeof Uint8Array;var so=255,no="function"==typeof Uint8Array?Uint8Array:null;var ao,io="function"==typeof Uint8Array?Uint8Array:void 0;ao=function(){var r,o,t;if("function"!=typeof no)return!1;try{o=new no(o=[1,3.14,-3.14,so+1,so+2]),t=o,r=(fo&&t instanceof Uint8Array||"[object Uint8Array]"===yr(t))&&1===o[0]&&3===o[1]&&o[2]===so-2&&0===o[3]&&1===o[4]}catch(o){r=!1}return r}()?io:function(){throw new Error("not implemented")};var uo=ao;function co(r,o){return new uo(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*o,r.length-o)}function ho(r,o){return o>0?0:(1-r)*o}var po=Array.isArray?Array.isArray:function(r){return"[object Array]"===yr(r)};function lo(r){if("function"!=typeof r)throw new TypeError(S("invalid argument. Must provide a function. Value: `%s`.",r));return function(o){var t,e;if(!po(o))return!1;if(t=o.length,0===t)return!1;for(e=0;est&&at(r)}function ut(r){return Vr(r)&&it(r)}function dt(r){return Sr(r)&&it(r.valueOf())}function ct(r){return ut(r)||dt(r)}function ht(r){return ut(r)&&r>=0}function pt(r){return dt(r)&&r.valueOf()>=0}function lt(r){return ht(r)||pt(r)}J(ct,"isPrimitive",ut),J(ct,"isObject",dt),J(lt,"isPrimitive",ht),J(lt,"isObject",pt);var gt=4294967295;function yt(r){return"object"==typeof r&&null!==r&&"number"==typeof r.length&&at(r.length)&&r.length>=0&&r.length<=gt}var vt=9007199254740991;function mt(r){return"object"==typeof r&&null!==r&&"number"==typeof r.length&&at(r.length)&&r.length>=0&&r.length<=vt}var wt="function"==typeof ArrayBuffer;function bt(r){return wt&&r instanceof ArrayBuffer||"[object ArrayBuffer]"===yr(r)}function xt(r){return"object"==typeof r&&null!==r&&!po(r)}var _t=lo(br.isPrimitive),Et=lo(br.isObject),Tt=lo(br);J(Tt,"primitives",_t),J(Tt,"objects",Et);var Vt=/./;function jt(r){return"boolean"==typeof r}var At=Boolean,Ot=Boolean.prototype.toString;var St=dr();function Pt(r){return"object"==typeof r&&(r instanceof At||(St?function(r){try{return Ot.call(r),!0}catch(r){return!1}}(r):"[object Boolean]"===yr(r)))}function Rt(r){return jt(r)||Pt(r)}J(Rt,"isPrimitive",jt),J(Rt,"isObject",Pt);var Ft="object"==typeof self?self:null,kt="object"==typeof window?window:null,It="object"==typeof globalThis?globalThis:null;function Lt(r){if(arguments.length){if(!jt(r))throw new TypeError(S("invalid argument. Must provide a boolean. Value: `%s`.",r));if(r)return new Function("return this;")()}if(It)return It;if(Ft)return Ft;if(kt)return kt;throw new Error("unexpected error. Unable to resolve global object.")}var Bt=Lt(),Nt=Bt.document&&Bt.document.childNodes,Dt=Int8Array;var Mt="function"==typeof Vt||"object"==typeof Dt||"function"==typeof Nt?function(r){return wo(r).toLowerCase()}:function(r){var o;return null===r?"null":"object"===(o=typeof r)?wo(r).toLowerCase():o};function Ut(r){return"function"===Mt(r)}function Ct(r,o){if(!(this instanceof Ct))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Vr(r))throw new TypeError(S("invalid argument. Real component must be a number. Value: `%s`.",r));if(!Vr(o))throw new TypeError(S("invalid argument. Imaginary component must be a number. Value: `%s`.",o));return D(this,"re",r),D(this,"im",o),this}J(Ct,"name","Complex128"),J(Ct,"BYTES_PER_ELEMENT",8),J(Ct.prototype,"BYTES_PER_ELEMENT",8),J(Ct.prototype,"byteLength",16),J(Ct.prototype,"toString",(function(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i"})),J(Ct.prototype,"toJSON",(function(){var r={type:"Complex128"};return r.re=this.re,r.im=this.im,r}));var zt="function"==typeof Math.fround?Math.fround:null,Yt=new oo(1);var qt="function"==typeof zt?zt:function(r){return Yt[0]=r,Yt[0]};function Jt(r,o){if(!(this instanceof Jt))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Vr(r))throw new TypeError(S("invalid argument. Real component must be a number. Value: `%s`.",r));if(!Vr(o))throw new TypeError(S("invalid argument. Imaginary component must be a number. Value: `%s`.",o));return D(this,"re",qt(r)),D(this,"im",qt(o)),this}function $t(r){return r instanceof Ct||r instanceof Jt||"object"==typeof r&&null!==r&&"number"==typeof r.re&&"number"==typeof r.im}function Wt(r){return at(r/2)}function Gt(){return"function"==typeof lr&&"symbol"==typeof lr("foo")&&pr(lr,"iterator")&&"symbol"==typeof lr.iterator}J(Jt,"name","Complex64"),J(Jt,"BYTES_PER_ELEMENT",4),J(Jt.prototype,"BYTES_PER_ELEMENT",4),J(Jt.prototype,"byteLength",8),J(Jt.prototype,"toString",(function(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i"})),J(Jt.prototype,"toJSON",(function(){var r={type:"Complex64"};return r.re=this.re,r.im=this.im,r}));var Zt=Gt()?Symbol.iterator:null;function Kt(r,o,t){N(r,o,{configurable:!1,enumerable:!1,get:t})}function Xt(r){return r.re}function Ht(r){return r.im}function Qt(r){var o,t,e;for(o=[];!(t=r.next()).done;)if(yt(e=t.value)&&e.length>=2)o.push(e[0],e[1]);else{if(!$t(e))return new TypeError(S("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",e));o.push(Xt(e),Ht(e))}return o}var re=2*oo.BYTES_PER_ELEMENT,oe=Gt();function te(r){return r instanceof se||"object"==typeof r&&null!==r&&("Complex64Array"===r.constructor.name||"Complex128Array"===r.constructor.name)&&"number"==typeof r._length&&"object"==typeof r._buffer}function ee(r){return r===se||"Complex128Array"===r.name}function fe(r,o){return new Jt(r[o*=2],r[o+1])}function se(){var r,o,t,e;if(o=arguments.length,!(this instanceof se))return 0===o?new se:1===o?new se(arguments[0]):2===o?new se(arguments[0],arguments[1]):new se(arguments[0],arguments[1],arguments[2]);if(0===o)t=new oo(0);else if(1===o)if(ht(arguments[0]))t=new oo(2*arguments[0]);else if(mt(arguments[0]))if((e=(t=arguments[0]).length)&&po(t)&&$t(t[0])){if(t=function(r,o){var t,e,f,s;for(t=o.length,s=0,f=0;ft.byteLength-r)throw new RangeError(S("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",e*re));t=new oo(t,r,2*e)}}return J(this,"_buffer",t),J(this,"_length",t.length/2),this}function ne(r){return r.re}function ae(r){return r.im}function ie(r){var o,t,e;for(o=[];!(t=r.next()).done;)if(yt(e=t.value)&&e.length>=2)o.push(e[0],e[1]);else{if(!$t(e))return new TypeError(S("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",e));o.push(ne(e),ae(e))}return o}J(se,"BYTES_PER_ELEMENT",re),J(se,"name","Complex64Array"),J(se,"from",(function(r){var o,t,e,f,s,n,a,i,u,d,c,h;if(!Ut(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if((t=arguments.length)>1){if(!Ut(e=arguments[1]))throw new TypeError(S("invalid argument. Second argument must be a function. Value: `%s`.",e));t>2&&(o=arguments[2])}if(te(r)){if(i=r.length,e){for(s=(f=new this(i))._buffer,h=0,c=0;c=2))throw new TypeError(S("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",d));s[h]=d[0],s[h+1]=d[1]}h+=2}return f}return new this(r)}if(mt(r)){if(e){for(i=r.length,a=r.get&&r.set?X("default"):or("default"),c=0;c=2))throw new TypeError(S("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",d));s[h]=d[0],s[h+1]=d[1]}h+=2}return f}return new this(r)}if(xt(r)&&oe&&Ut(r[Zt])){if(!Ut((s=r[Zt]()).next))throw new TypeError(S("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));if(n=e?function(r,o,t){var e,f,s,n;for(e=[],n=-1;!(f=r.next()).done;)if(n+=1,yt(s=o.call(t,f.value,n))&&s.length>=2)e.push(s[0],s[1]);else{if(!$t(s))return new TypeError(S("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));e.push(Xt(s),Ht(s))}return e}(s,e,o):Qt(s),n instanceof Error)throw n;for(s=(f=new this(i=n.length/2))._buffer,c=0;c=this._length))return fe(this._buffer,r)})),Kt(se.prototype,"buffer",(function(){return this._buffer.buffer})),Kt(se.prototype,"byteLength",(function(){return this._buffer.byteLength})),Kt(se.prototype,"byteOffset",(function(){return this._buffer.byteOffset})),J(se.prototype,"BYTES_PER_ELEMENT",se.BYTES_PER_ELEMENT),J(se.prototype,"copyWithin",(function(r,o){if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return 2===arguments.length?this._buffer.copyWithin(2*r,2*o):this._buffer.copyWithin(2*r,2*o,2*arguments[2]),this})),J(se.prototype,"entries",(function(){var r,o,t,e,f,s;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,e=this._buffer,t=this._length,s=-1,J(o={},"next",(function(){if(s+=1,f||s>=t)return{done:!0};return{value:[s,fe(e,s)],done:!1}})),J(o,"return",(function(r){if(f=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(o,Zt,(function(){return r.entries()})),o})),J(se.prototype,"every",(function(r,o){var t,e;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=0;e1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));if(o<0&&(o+=f)<0&&(o=0),arguments.length>2){if(!at(t))throw new TypeError(S("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=f)<0&&(t=0),t>f&&(t=f)}else t=f}else o=0,t=f;for(n=Xt(r),a=Ht(r),i=o;i=0;e--)if(f=fe(t,e),r.call(o,f,e,this))return f})),J(se.prototype,"findLastIndex",(function(r,o){var t,e,f;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=this._length-1;e>=0;e--)if(f=fe(t,e),r.call(o,f,e,this))return e;return-1})),J(se.prototype,"forEach",(function(r,o){var t,e,f;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=0;e=this._length))return fe(this._buffer,r)})),J(se.prototype,"includes",(function(r,o){var t,e,f,s,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$t(r))throw new TypeError(S("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0&&(o+=this._length)<0&&(o=0)}else o=0;for(f=Xt(r),s=Ht(r),t=this._buffer,n=o;n1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0&&(o+=this._length)<0&&(o=0)}else o=0;for(f=Xt(r),s=Ht(r),t=this._buffer,n=o;n=t)return{done:!0};return{value:f,done:!1}})),J(o,"return",(function(r){if(e=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(o,Zt,(function(){return r.keys()})),o})),J(se.prototype,"lastIndexOf",(function(r,o){var t,e,f,s,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$t(r))throw new TypeError(S("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o>=this._length?o=this._length-1:o<0&&(o+=this._length)}else o=this._length-1;for(f=Xt(r),s=Ht(r),t=this._buffer,n=o;n>=0;n--)if(f===t[e=2*n]&&s===t[e+1])return n;return-1})),Kt(se.prototype,"length",(function(){return this._length})),J(se.prototype,"map",(function(r,o){var t,e,f,s,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(e=this._buffer,t=(f=new this.constructor(this._length))._buffer,s=0;s1)e=o,s=0;else{if(0===f)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");e=fe(t,0),s=1}for(;s1)e=o,s=f-1;else{if(0===f)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");e=fe(t,f-1),s=f-2}for(;s>=0;s--)e=r(e,fe(t,s),s,this);return e})),J(se.prototype,"reverse",(function(){var r,o,t,e,f,s;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,r=this._buffer,e=nt(t/2),f=0;f1){if(!ht(t=arguments[1]))throw new TypeError(S("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if($t(r)){if(t>=this._length)throw new RangeError(S("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));return e[t*=2]=Xt(r),void(e[t+1]=Ht(r))}if(te(r)){if(t+(n=r._length)>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(o=r._buffer,u=e.byteOffset+t*re,o.buffer===e.buffer&&o.byteOffsetu){for(f=new oo(o.length),i=0;ithis._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(o=r,u=e.byteOffset+t*re,o.buffer===e.buffer&&o.byteOffsetu){for(f=new oo(n),i=0;ithis._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,i=0;ia&&(o=a)}}for(t=rf&&(o=f)}}return r>=f?(f=0,t=e.byteLength):r>=o?(f=0,t=e.byteOffset+r*re):(f=o-r,t=e.byteOffset+r*re),new this.constructor(e.buffer,t,f<0?0:f)})),J(se.prototype,"toLocaleString",(function(r,o){var t,e,f,s,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(0===arguments.length)e=[];else{if(!ir(r)&&!_t(r))throw new TypeError(S("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));e=r}if(arguments.length<2)t={};else{if(!xt(o))throw new TypeError(S("invalid argument. Options argument must be an object. Value: `%s`.",o));t=o}for(s=this._buffer,f=[],n=0;n=t)return{done:!0};return{value:fe(f,s),done:!1}})),J(r,"return",(function(r){if(e=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(r,Zt,(function(){return o.values()})),r})),J(se.prototype,"with",(function(r,o){var t,e,f;if(!te(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!at(r))throw new TypeError(S("invalid argument. First argument must be an integer. Value: `%s`.",r));if(f=this._length,r<0&&(r+=f),r<0||r>=f)throw new RangeError(S("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!$t(o))throw new TypeError(S("invalid argument. Second argument must be a complex number. Value: `%s`.",o));return(t=(e=new this.constructor(this._buffer))._buffer)[2*r]=Xt(o),t[2*r+1]=Ht(o),e}));var ue=2*Gr.BYTES_PER_ELEMENT,de=Gt();function ce(r){return r instanceof le||"object"==typeof r&&null!==r&&("Complex64Array"===r.constructor.name||"Complex128Array"===r.constructor.name)&&"number"==typeof r._length&&"object"==typeof r._buffer}function he(r){return r===le||"Complex64Array"===r.name}function pe(r,o){return new Ct(r[o*=2],r[o+1])}function le(){var r,o,t,e;if(o=arguments.length,!(this instanceof le))return 0===o?new le:1===o?new le(arguments[0]):2===o?new le(arguments[0],arguments[1]):new le(arguments[0],arguments[1],arguments[2]);if(0===o)t=new Gr(0);else if(1===o)if(ht(arguments[0]))t=new Gr(2*arguments[0]);else if(mt(arguments[0]))if((e=(t=arguments[0]).length)&&po(t)&&$t(t[0])){if(t=function(r,o){var t,e,f,s;for(t=o.length,s=0,f=0;ft.byteLength-r)throw new RangeError(S("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",e*ue));t=new Gr(t,r,2*e)}}return J(this,"_buffer",t),J(this,"_length",t.length/2),this}function ge(r){var o,t;for(o=[];!(t=r.next()).done;)o.push(At(t.value));return o}J(le,"BYTES_PER_ELEMENT",ue),J(le,"name","Complex128Array"),J(le,"from",(function(r){var o,t,e,f,s,n,a,i,u,d,c,h;if(!Ut(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!he(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if((t=arguments.length)>1){if(!Ut(e=arguments[1]))throw new TypeError(S("invalid argument. Second argument must be a function. Value: `%s`.",e));t>2&&(o=arguments[2])}if(ce(r)){if(i=r.length,e){for(s=(f=new this(i))._buffer,h=0,c=0;c=2))throw new TypeError(S("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",d));s[h]=d[0],s[h+1]=d[1]}h+=2}return f}return new this(r)}if(mt(r)){if(e){for(i=r.length,a=r.get&&r.set?X("default"):or("default"),c=0;c=2))throw new TypeError(S("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",d));s[h]=d[0],s[h+1]=d[1]}h+=2}return f}return new this(r)}if(xt(r)&&de&&Ut(r[Zt])){if(!Ut((s=r[Zt]()).next))throw new TypeError(S("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));if(n=e?function(r,o,t){var e,f,s,n;for(e=[],n=-1;!(f=r.next()).done;)if(n+=1,yt(s=o.call(t,f.value,n))&&s.length>=2)e.push(s[0],s[1]);else{if(!$t(s))return new TypeError(S("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));e.push(ne(s),ae(s))}return e}(s,e,o):ie(s),n instanceof Error)throw n;for(s=(f=new this(i=n.length/2))._buffer,c=0;c=this._length))return pe(this._buffer,r)})),Kt(le.prototype,"buffer",(function(){return this._buffer.buffer})),Kt(le.prototype,"byteLength",(function(){return this._buffer.byteLength})),Kt(le.prototype,"byteOffset",(function(){return this._buffer.byteOffset})),J(le.prototype,"BYTES_PER_ELEMENT",le.BYTES_PER_ELEMENT),J(le.prototype,"copyWithin",(function(r,o){if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return 2===arguments.length?this._buffer.copyWithin(2*r,2*o):this._buffer.copyWithin(2*r,2*o,2*arguments[2]),this})),J(le.prototype,"entries",(function(){var r,o,t,e,f,s,n;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return o=this,r=this._buffer,e=this._length,s=-1,n=-2,J(t={},"next",(function(){var o;if(s+=1,f||s>=e)return{done:!0};return o=new Ct(r[n+=2],r[n+1]),{value:[s,o],done:!1}})),J(t,"return",(function(r){if(f=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(t,Zt,(function(){return o.entries()})),t})),J(le.prototype,"every",(function(r,o){var t,e;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=0;e1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));if(o<0&&(o+=f)<0&&(o=0),arguments.length>2){if(!at(t))throw new TypeError(S("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=f)<0&&(t=0),t>f&&(t=f)}else t=f}else o=0,t=f;for(n=ne(r),a=ae(r),i=o;i=0;e--)if(f=pe(t,e),r.call(o,f,e,this))return f})),J(le.prototype,"findLastIndex",(function(r,o){var t,e,f;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=this._length-1;e>=0;e--)if(f=pe(t,e),r.call(o,f,e,this))return e;return-1})),J(le.prototype,"forEach",(function(r,o){var t,e,f;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=0;e=this._length))return pe(this._buffer,r)})),Kt(le.prototype,"length",(function(){return this._length})),J(le.prototype,"includes",(function(r,o){var t,e,f,s,n;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$t(r))throw new TypeError(S("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0&&(o+=this._length)<0&&(o=0)}else o=0;for(f=ne(r),s=ae(r),t=this._buffer,n=o;n1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0&&(o+=this._length)<0&&(o=0)}else o=0;for(f=ne(r),s=ae(r),t=this._buffer,n=o;n=t)return{done:!0};return{value:f,done:!1}})),J(o,"return",(function(r){if(e=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(o,Zt,(function(){return r.keys()})),o})),J(le.prototype,"lastIndexOf",(function(r,o){var t,e,f,s,n;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$t(r))throw new TypeError(S("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!at(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o>=this._length?o=this._length-1:o<0&&(o+=this._length)}else o=this._length-1;for(f=ne(r),s=ae(r),t=this._buffer,n=o;n>=0;n--)if(f===t[e=2*n]&&s===t[e+1])return n;return-1})),J(le.prototype,"map",(function(r,o){var t,e,f,s,n;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(e=this._buffer,t=(f=new this.constructor(this._length))._buffer,s=0;s1)e=o,s=0;else{if(0===f)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");e=pe(t,0),s=1}for(;s1)e=o,s=f-1;else{if(0===f)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");e=pe(t,f-1),s=f-2}for(;s>=0;s--)e=r(e,pe(t,s),s,this);return e})),J(le.prototype,"reverse",(function(){var r,o,t,e,f,s;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,r=this._buffer,e=nt(t/2),f=0;f1){if(!ht(t=arguments[1]))throw new TypeError(S("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if($t(r)){if(t>=this._length)throw new RangeError(S("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));return e[t*=2]=ne(r),void(e[t+1]=ae(r))}if(ce(r)){if(t+(n=r._length)>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(o=r._buffer,u=e.byteOffset+t*ue,o.buffer===e.buffer&&o.byteOffsetu){for(f=new Gr(o.length),i=0;ithis._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(o=r,u=e.byteOffset+t*ue,o.buffer===e.buffer&&o.byteOffsetu){for(f=new Gr(n),i=0;ithis._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,i=0;ia&&(o=a)}}for(t=rf&&(o=f)}}return r>=f?(f=0,t=e.byteLength):r>=o?(f=0,t=e.byteOffset+r*ue):(f=o-r,t=e.byteOffset+r*ue),new this.constructor(e.buffer,t,f<0?0:f)})),J(le.prototype,"toLocaleString",(function(r,o){var t,e,f,s,n;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(0===arguments.length)e=[];else{if(!br(r)&&!_t(r))throw new TypeError(S("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));e=r}if(arguments.length<2)t={};else{if(!xt(o))throw new TypeError(S("invalid argument. Options argument must be an object. Value: `%s`.",o));t=o}for(s=this._buffer,f=[],n=0;n=t)return{done:!0};return{value:pe(f,s),done:!1}})),J(r,"return",(function(r){if(e=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(r,Zt,(function(){return o.values()})),r})),J(le.prototype,"with",(function(r,o){var t,e,f;if(!ce(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!at(r))throw new TypeError(S("invalid argument. First argument must be an integer. Value: `%s`.",r));if(f=this._length,r<0&&(r+=f),r<0||r>=f)throw new RangeError(S("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!$t(o))throw new TypeError(S("invalid argument. Second argument must be a complex number. Value: `%s`.",o));return(t=(e=new this.constructor(this._buffer))._buffer)[2*r]=ne(o),t[2*r+1]=ae(o),e}));var ye=uo.BYTES_PER_ELEMENT,ve=Gt();function me(r){return"object"==typeof r&&null!==r&&"BooleanArray"===r.constructor.name&&r.BYTES_PER_ELEMENT===ye}function we(r){return r===be}function be(){var r,o,t,e,f;if(o=arguments.length,!(this instanceof be))return 0===o?new be:1===o?new be(arguments[0]):2===o?new be(arguments[0],arguments[1]):new be(arguments[0],arguments[1],arguments[2]);if(0===o)t=new uo(0);else if(1===o)if(ht(f=arguments[0]))t=new uo(f);else if(mt(f))t=function(r,o){var t,e;for(t=o.length,e=0;et.byteLength-r)throw new RangeError(S("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",e*ye));t=new uo(t,r,e)}}return J(this,"_buffer",t),J(this,"_length",t.length),this}J(be,"BYTES_PER_ELEMENT",ye),J(be,"name","BooleanArray"),J(be,"from",(function(r){var o,t,e,f,s,n,a,i,u;if(!Ut(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!we(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if((t=arguments.length)>1){if(!Ut(e=arguments[1]))throw new TypeError(S("invalid argument. Second argument must be a function. Value: `%s`.",e));t>2&&(o=arguments[2])}if(mt(r)){if(e){for(i=r.length,a=r.get&&r.set?X("default"):or("default"),s=(f=new this(i))._buffer,u=0;u=t))return At(o[r])})),Kt(be.prototype,"buffer",(function(){return this._buffer.buffer})),Kt(be.prototype,"byteLength",(function(){return this._buffer.byteLength})),Kt(be.prototype,"byteOffset",(function(){return this._buffer.byteOffset})),J(be.prototype,"BYTES_PER_ELEMENT",be.BYTES_PER_ELEMENT),J(be.prototype,"copyWithin",(function(r,o){if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return 2===arguments.length?this._buffer.copyWithin(r,o):this._buffer.copyWithin(r,o,arguments[2]),this})),J(be.prototype,"entries",(function(){var r,o,t,e,f,s;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return r=this,e=this._buffer,t=this._length,s=-1,J(o={},"next",(function(){if(s+=1,f||s>=t)return{done:!0};return{value:[s,At(e[s])],done:!1}})),J(o,"return",(function(r){if(f=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(o,Zt,(function(){return r.entries()})),o})),J(be.prototype,"every",(function(r,o){var t,e;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=0;e1){if(!ut(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));if(o<0&&(o+=f)<0&&(o=0),arguments.length>2){if(!ut(t))throw new TypeError(S("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=f)<0&&(t=0),t>f&&(t=f)}else t=f}else o=0,t=f;for(s=r?1:0,n=o;n=0;f--)if(e=At(t[f]),r.call(o,e,f,this))return e})),J(be.prototype,"findLastIndex",(function(r,o){var t,e,f;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,f=this._length-1;f>=0;f--)if(e=At(t[f]),r.call(o,e,f,this))return f;return-1})),J(be.prototype,"forEach",(function(r,o){var t,e;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ut(r))throw new TypeError(S("invalid argument. First argument must be a function. Value: `%s`.",r));for(t=this._buffer,e=0;e=this._length))return At(this._buffer[r])})),J(be.prototype,"includes",(function(r,o){var t,e;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!jt(r))throw new TypeError(S("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!ut(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0&&(o+=this._length)<0&&(o=0)}else o=0;for(t=this._buffer,e=o;e1){if(!ut(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0&&(o+=this._length)<0&&(o=0)}else o=0;for(t=this._buffer,e=o;e0){if(!ir(r))throw new TypeError(S("invalid argument. First argument must be a string. Value: `%s`.",r))}else r=",";for(o=this._buffer,t=[],e=0;e=t)return{done:!0};return{value:f,done:!1}})),J(o,"return",(function(r){if(e=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(o,Zt,(function(){return r.keys()})),o})),J(be.prototype,"lastIndexOf",(function(r,o){var t,e;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!jt(r))throw new TypeError(S("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!ut(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o>=this._length?o=this._length-1:o<0&&(o+=this._length)}else o=this._length-1;for(t=this._buffer,e=o;e>=0;e--)if(r===At(t[e]))return e;return-1})),Kt(be.prototype,"length",(function(){return this._length})),J(be.prototype,"map",(function(r,o){var t,e,f,s;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Ut(r))throw new TypeError("invalid argument. First argument must be a function. Value: `%s`.",r);for(f=this._buffer,t=(e=new this.constructor(this._length))._buffer,s=0;s1)f=o,s=0;else{if(0===e)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");f=At(t[0]),s=1}for(;s1)f=o,s=e-1;else{if(0===e)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");f=At(t[e-1]),s=e-2}for(;s>=0;s--)f=r(f,At(t[s]),s,this);return f})),J(be.prototype,"reverse",(function(){var r,o,t,e,f,s;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=this._buffer,t=this._length,e=nt(t/2),f=0;f1){if(!ht(t=arguments[1]))throw new TypeError(S("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(mt(r)){if(t+(s=r.length)>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(o=me(r)?r._buffer:r,a=e.byteOffset+t*ye,o.buffer===e.buffer&&o.byteOffseta){for(f=new uo(o.length),n=0;n=this._length)throw new RangeError(S("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));e[t]=r?1:0}})),J(be.prototype,"slice",(function(r,o){var t,e,f,s,n,a;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(s=this._buffer,n=this._length,0===arguments.length)r=0,o=n;else{if(!ut(r))throw new TypeError(S("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=n)<0&&(r=0),1===arguments.length)o=n;else{if(!ut(o))throw new TypeError(S("invalid argument. Second argument must be an integer. Value: `%s`.",o));o<0?(o+=n)<0&&(o=0):o>n&&(o=n)}}for(t=rf&&(o=f)}}return r>=f?(f=0,t=e.byteLength):r>=o?(f=0,t=e.byteOffset+r*ye):(f=o-r,t=e.byteOffset+r*ye),new this.constructor(e.buffer,t,f<0?0:f)})),J(be.prototype,"toLocaleString",(function(r,o){var t,e,f,s,n;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(0===arguments.length)e=[];else{if(!ir(r)&&!_t(r))throw new TypeError(S("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));e=r}if(arguments.length<2)t={};else{if(!xt(o))throw new TypeError(S("invalid argument. Options argument must be an object. Value: `%s`.",o));t=o}for(s=this._buffer,f=[],n=0;n=t)return{done:!0};return{value:At(f[s]),done:!1}})),J(r,"return",(function(r){if(e=!0,arguments.length)return{value:r,done:!0};return{done:!0}})),Zt&&J(r,Zt,(function(){return o.values()})),r})),J(be.prototype,"with",(function(r,o){var t,e;if(!me(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!ut(r))throw new TypeError(S("invalid argument. First argument must be an integer. Value: `%s`.",r));if(e=this._length,r<0&&(r+=e),r<0||r>=e)throw new RangeError(S("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!jt(o))throw new TypeError(S("invalid argument. Second argument must be a boolean. Value: `%s`.",o));return(t=new this.constructor(this._buffer))._buffer[r]=o?1:0,t}));var xe=[Gr,oo,ko,jo,$o,Mo,ft,uo,Xo,se,le,be],_e=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"],Ee=_e.length;function Te(r){var o;if(po(r))return"generic";if(yo(r))return null;for(o=0;o0)for(d=0;d0)for(i=0;i=0&&n=0&&!(((u=r[s])<0?-u:u)<=t);)r[s+1]=u,o[n+1]=o[n],s-=1,n-=1;r[s+1]=a,o[n+1]=i,e+=1,f+=1}}(o=nr(o),t),{sh:r=Fe(r,t),sx:o,idx:t}}function Ie(r){return ut(r)&&r>0}function Le(r){return dt(r)&&r.valueOf()>0}function Be(r){return Ie(r)||Le(r)}function Ne(r){return Object.keys(Object(r))}J(Se,"ndarray",Oe),J(Pe,"assign",(function(r,o,t){var e=Ve(r);return e.accessorProtocol?"complex128"===e.dtype?Re(r,Zr(r,0),o,t):"complex64"===e.dtype?Re(r,to(r,0),o,t):function(r,o,t){var e,f,s,n;for(e=r.data,f=r.accessors[1],n=t,s=0;n>=0&&n=0&&f=0&&o=0&&r.length<=_o&&pr(r,"callee")&&!Ge(r,"callee")},Ke=Array.prototype.slice;var Xe=Ge((function(){}),"prototype"),He=!Ge({toString:null},"toString");function Qe(r,o,t){var e,f;if(!mt(r)&&!ir(r))throw new TypeError(S("invalid argument. First argument must be an array-like object. Value: `%s`.",r));if(0===(e=r.length))return-1;if(3===arguments.length){if(!ut(t))throw new TypeError(S("invalid argument. Third argument must be an integer. Value: `%s`.",t));if(t>=0){if(t>=e)return-1;f=t}else(f=e+t)<0&&(f=0)}else f=0;if(Je(o)){for(;f0&&!pr(r,"0"))for(a=0;a1){if(!gf(o))throw new TypeError(S("invalid argument. Options argument must be an object. Value: `%s`.",o));if(pr(o,"duplicates")&&!jt(u=o.duplicates))throw new TypeError(S("invalid option. `%s` option must be a boolean. Option: `%s`.","duplicates",u))}if(e=(t=uf(r)).length,n={},u)for(i=0;io&&(o=e)}return(e=_f.BLOCK_SIZE_IN_BYTES/o|0)>0?e:1}function Tf(r){return Ef([r])}function Vf(r,o,t,e,f,s){var n,a,i,u,d;for(n=r.length,a=1,d=0;d=a&&(f=a-1);else if("wrap"===s)f<0?(f+=a)<0&&0!==(f%=a)&&(f+=a):f>=a&&(f-=a)>=a&&(f%=a);else if("normalize"===s&&f<0&&(f+=a),f<0||f>=a)throw new RangeError(S("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",a,f));if(i=t,xr(e)){for(d=0;d=0;d--)f-=u=f%r[d],f/=r[d],i+=u*o[d];return i}var jf="throw";var Af="throw";var Of="throw";var Sf=[function(r){return!!r.data[r.offset]},function(r){var o,t,e,f,s;for(e=r.shape[0],t=r.strides[0],f=r.offset,o=r.data,s=0;s0;)for(g0;)for(l0;)for(b0;)for(w0;)for(m0;)for(V0;)for(T0;)for(E0;)for(_0;)for(P0;)for(S0;)for(O0;)for(A0;)for(j0;)for(L0;)for(I0;)for(k0;)for(F0;)for(R0;)for(P0;)for(U0;)for(M0;)for(D0;)for(N0;)for(B0;)for(L0;)for(I0;)for(J0;)for(q0;)for(Y0;)for(z0;)for(C0;)for(U0;)for(M0;)for(D0;)for(K0;)for(Z0;)for(G0;)for(W0;)for($0;)for(J0;)for(q0;)for(Y0;)for(z0;)for(or0;)for(rr0;)for(Q0;)for(H0;)for(X0;)for(K0;)for(Z0;)for(G0;)for(W0;)for($0;)for(y0;)for(g0;)for(x0;)for(b0;)for(w0;)for(j0;)for(V0;)for(T0;)for(E0;)for(R0;)for(P0;)for(S0;)for(O0;)for(A0;)for(B0;)for(L0;)for(I0;)for(k0;)for(F0;)for(R0;)for(C0;)for(U0;)for(M0;)for(D0;)for(N0;)for(B0;)for(L0;)for($0;)for(J0;)for(q0;)for(Y0;)for(z0;)for(C0;)for(U0;)for(M0;)for(X0;)for(K0;)for(Z0;)for(G0;)for(W0;)for($0;)for(J0;)for(q0;)for(Y0;)for(tr0;)for(or0;)for(rr0;)for(Q0;)for(H0;)for(X0;)for(K0;)for(Z0;)for(G0;)for(W0;)for(g0;)for(l0;)for(b0;)for(w0;)for(m0;)for(V0;)for(T0;)for(E0;)for(_0;)for(P0;)for(S0;)for(O0;)for(A0;)for(j0;)for(L0;)for(I0;)for(k0;)for(F0;)for(R0;)for(P0;)for(U0;)for(M0;)for(D0;)for(N0;)for(B0;)for(L0;)for(I0;)for(J0;)for(q0;)for(Y0;)for(z0;)for(C0;)for(U0;)for(M0;)for(D0;)for(K0;)for(Z0;)for(G0;)for(W0;)for($0;)for(J0;)for(q0;)for(Y0;)for(z0;)for(or0;)for(rr0;)for(Q0;)for(H0;)for(X0;)for(K0;)for(Z0;)for(G0;)for(W0;)for($=i&&(f=i-1);else if("wrap"===s)f<0?(f+=i)<0&&0!==(f%=i)&&(f+=i):f>=i&&(f-=i)>=i&&(f%=i);else if("normalize"===s&&f<0&&(f+=i),f<0||f>=i)throw new RangeError(S("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",i,f));if(0===t){if(xr(e)){for(c=0;c=0;c--)f-=d=f%r[c],f/=r[c],n[c]=d;return n}if(xr(e)){for(c=a-1;c>=0;c--)(d=o[c])<0?(f-=(u=Uf(f/d))*d,n[c]=r[c]-1+u):(f-=(u=Uf(f/d))*d,n[c]=u);return n}for(c=0;c0;)for(m0;)for(v0;)for(E0;)for(_0;)for(x0;)for(O