stdlib-js

stdlib-js/ndarray-base-count-truthy

Count the number of truthy elements in an ndarray.

C
0
0
Apache License 2.0

This repository contains a JavaScript library for counting the number of truthy elements in an ndarray, which is a multidimensional array. It is part of the stdlib project, a standard library for numerical and scientific computation in JavaScript. The library is designed for developers working with ndarrays, particularly those who need to efficiently count truthy values in their data structures.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stdlib-js/ndarray-base-count-truthy

Account's avatar
Test if a value is a BooleanArray.
Account's avatar
Test if a value is a complex typed array.
Account's avatar
Multiply a vector by a scalar constant.
Account's avatar
64-bit complex number.
Account's avatar
Return the imaginary component of a single-precision complex floating-point number.
Account's avatar
Return the real component of a single-precision complex floating-point number.
Account's avatar
128-bit complex number.
Account's avatar
Return the imaginary component of a double-precision complex floating-point number.
Account's avatar
Return the real component of a double-precision complex floating-point number.
Account's avatar
Return the number of bytes per element for a provided underlying ndarray data type.
Account's avatar
Given a stride array, determine array iteration order.
Account's avatar
Compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.
Account's avatar
Convert an ndarray-like object to an object likely to have the same "shape".
Account's avatar
Reorder ndarray dimensions and associated strides for loop interchange.
Account's avatar
Resolve a loop block size for multi-dimensional array tiled loops.
Account's avatar
Return the number of elements in an array.
Account's avatar
Determine the order of a multidimensional array based on a provided stride array.
Account's avatar
Convert a linear index in an array view to a linear index in an underlying data buffer.
Account's avatar
Multidimensional array constructor.
Account's avatar
List of ndarray index modes.
Account's avatar
List of ndarray orders.
Account's avatar
Reinterpret a BooleanArray as a Uint8Array.
Account's avatar
Reinterpret a complex-valued floating-point array as a real-valued floating-point array having the same precision.
Account's avatar
stdlib TypeScript type declarations.
Account's avatar
Load a manifest for compiling source files.
Account's avatar
Return the Cartesian product.
Account's avatar
Convert an array-like object to a minimal array-like object supporting the accessor protocol.
Account's avatar
Create a filled array.
Account's avatar
Create an array filled with ones and having a specified length.
Account's avatar
Complex typed array constructors.
Account's avatar
Create a zero-filled array having a specified length.
Account's avatar
Test if a value is a number.
Account's avatar
Read the entire contents of a directory.
Account's avatar
Read the entire contents of a file.
Account's avatar
Read a file as JSON.
Account's avatar
Remove a directory entry.
Account's avatar
Write data to a file.
Account's avatar
Compute the cube root of a double-precision floating-point number.
Account's avatar
Round a double-precision floating-point number toward negative infinity.
Account's avatar
Exponential function.
Account's avatar
Compute the principal square root of a double-precision floating-point number.
Account's avatar
Return the data type string associated with a provided single letter abbreviation.
Account's avatar
Return the single letter character abbreviation for an underlying array data type.
Account's avatar
Return the description for a provided data type.
Account's avatar
Return the C data type associated with a provided data type value.
Account's avatar
Resolve a list of data type strings.
Account's avatar
Generate a stride array from an array shape.
Account's avatar
Determine the index offset which specifies the location of the first indexed value in a multidimensional array based on a stride array.
Account's avatar
Convert an ndarray buffer to a generic array.

Support the repos that depend on stdlib-js/ndarray-base-count-truthy

Top contributors

No contributors yet

Recent events

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

No events yet