Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

`@stdlib/ndarray-ind2sub` provides a utility for converting a flat (linear) index into the corresponding multidimensional subscript array for nd‑arrays. It supports row‑major or column‑major ordering and offers flexible out‑of‑bounds handling (throw, normalize, wrap, clamp), with an in‑place variant that writes results to a supplied output array. The package is aimed at JavaScript developers doing numerical or scientific computing who need to map linear offsets to array coordinates.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stdlib-js/ndarray-ind2sub

Account's avatar
stdlib-js/assert-has-own-property
Test if an object has a specified property.
Account's avatar
stdlib-js/assert-is-integer
Test if a value is a number having an integer value.
Account's avatar
stdlib-js/assert-is-nonnegative-integer-array
Test if a value is an array-like object containing only nonnegative integers.
Account's avatar
stdlib-js/assert-is-plain-object
Test if a value is a plain object.
Account's avatar
stdlib-js/ndarray-base-assert-is-index-mode
Test if an input value is a supported ndarray index mode.
Account's avatar
stdlib-js/ndarray-base-assert-is-order
Test if an input value is an ndarray order.
Account's avatar
stdlib-js/ndarray-base-ind2sub
Convert a linear index to an array of subscripts.
Account's avatar
stdlib-js/ndarray-base-shape2strides
Generate a stride array from an array shape.
Account's avatar
stdlib-js/string-format
Insert supplied variable values into a format string.
Account's avatar
stdlib-js/types
stdlib TypeScript type declarations.
Account's avatar
stdlib-js/utils-define-nonenumerable-read-only-property
Define a non-enumerable read-only property.
Account's avatar
stdlib-js/error-tools-fmtprodmsg
Format an error message for production.
Account's avatar
stdlib-js/array-uint8
Uint8Array.
Account's avatar
stdlib-js/assert-is-array
Test if a value is an array.
Account's avatar
stdlib-js/math-base-special-floor
Round a double-precision floating-point number toward negative infinity.
Account's avatar
stdlib-js/ndarray-base-numel
Return the number of elements in an array.
Account's avatar
stdlib-js/random-base-randu
Uniformly distributed pseudorandom numbers between 0 and 1.
Account's avatar
tape-testing/tape
tap-producing test harness for node and browsers
Account's avatar
gotwarlost/istanbul
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use ca
Account's avatar
Planeshifter/tap-min
Minimal TAP output formatter.
Account's avatar
stdlib-js/bench-harness
Benchmark harness.

Support the repos that depend on this repository

Top contributors

stdlib-bot's profile
stdlib-bot
66 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
stdlib-js

stdlib-js/ndarray-ind2sub

Convert a linear index to an array of subscripts.

JavaScript
1
0
Apache License 2.0