@stdlib/ndarray-base-numel
Return the number of elements in an array.
Found 469 results for stdtypes
Return the number of elements in an array.
BLAS matrix triangles.
BooleanArray.
Determine (nested) array dimensions.
Determine the index offset which specifies the location of the first indexed value in a strided array.
Wrap an index on the interval [0,max].
Multidimensional array constructor.
Errors.
BLAS diagonal element types.
Return the data type of a complex number.
BLAS operation sides.
BLAS transpose operations.
Complex number constructors.
Determine the index offset which specifies the location of the first indexed value in a multidimensional array based on a stride array.
Generate a stride array from an array shape.
Allocate a buffer having a specified number of bytes.
Return the underlying data buffer of a provided ndarray.
Return the index offset specifying the underlying buffer index of the first iterated ndarray element.
Copy the elements of an indexed array-like object to a new generic array.
Return the number of ndarray dimensions.
Floating-point typed array constructors.
List of complex number data types.
Return the strides of a provided ndarray.
Create a contiguous linear ndarray data buffer.
Create a minimal array-like object supporting the accessor protocol from another array-like object.
ndarray data buffer constructors.
Return the layout order of a provided ndarray.
Create a filled array according to a provided callback function.
Return the shape of a provided ndarray.
Return the underlying data buffer of a provided ndarray.
Return the size (i.e., number of elements) of a specified dimension for a provided ndarray.
Return a string created by joining array elements using a specified separator.
Create a zero-filled array having a specified length.
Return the shape of a provided ndarray.
Return the stride along a specified dimension for a provided ndarray.
Return the strides of a provided ndarray.
Convert an array-like object to a minimal array-like object supporting the accessor protocol.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast.
Return the index offset specifying the underlying buffer index of the first iterated ndarray element.
Convert an ndarray to a generic array.
Determine if an ndarray data type can be safely cast to another ndarray data type.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast or cast within the same kind.
Typed array constructors.
List of ndarray casting modes.
Return the number of ndarray dimensions.
Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.
Test if an input value is a supported array complex-valued floating-point data type.
Return the data type of a provided ndarray.
Return the data type of a provided ndarray.
Convert an ndarray-like object to an object likely to have the same "shape".
List of strided array data types.
Return the layout order of a provided ndarray.
Return a boolean indicating if the sign bit for a double-precision floating-point number is on (true) or off (false).
Test if an input value is a supported array boolean data type.
Determine if an ndarray data type can be cast to another ndarray data type according to a specified casting mode.
Return the data type of an ndarray data buffer.
Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast and, for floating-point data types, can be downcast.
Create a typed array.
Create an uninitialized array having a specified length.
Wrap a function and casts a function's return value to a complex number.
Test if an input value is a supported ndarray casting mode.
Reorder ndarray dimensions and associated strides for loop interchange.
Multidimensional arrays.
Determine the minimum array data type for storing a provided signed integer value.
Test if an input value is a supported ndarray complex-valued floating-point data type.
Test if an input value is a supported array real-valued data type.
Resolve a loop block size for multi-dimensional array tiled loops.
Test if an input value is a supported ndarray floating-point data type.
Test if an input value is a supported array real-valued floating-point data type.
Test if an input value is a supported array signed integer data type.
Test if two arrays have the same values.
Generate a linearly spaced numeric array whose elements increment by 1 starting from one.
Test if an input value is a supported ndarray unsigned integer data type.
Test if an input value is a supported ndarray real-valued data type.
Return the index of the first element which equals a provided search element.
Return the ndarray data type with the smallest size and closest kind to which ndarray data types can be safely cast.
Copy the elements of an array-like object to a new generic array.
Create an uninitialized ndarray having the same shape and data type as a provided ndarray.
Return a specified flag for a provided ndarray.
Test if an input value is a supported ndarray signed integer data type.
Test if an ndarray is read-only.
List of output ndarray data type policies.
Test if an input value is a supported ndarray real-valued floating-point data type.
Convert a scalar value to a zero-dimensional ndarray.
Test whether all elements in an array pass a test implemented by a predicate function.
Determine the minimum array data type of the closest kind necessary for storing a provided scalar value.
Return the flags of a provided ndarray.
Create a complex number.
Create an uninitialized ndarray having a specified shape and data type.
Create a zero-filled ndarray having a specified shape and data type.
Return the enumeration constant associated with a supported ndarray data type value.
Create an uninitialized ndarray having a specified shape and data type.
Create an iterator from an array-like object.
Test if an input value is a supported ndarray integer data type.
Test if an input value is a supported ndarray numeric data type.
Resolve the output ndarray data type for a unary function.
Create a generic array filled with ones.
Create a single-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation.
Allocate a buffer using an octet array.
Slice constructor.
Convert a scalar value to a zero-dimensional ndarray.
Create a filled array.
Bitwise rotation to the right.
Broadcast an ndarray to a specified shape.
Convert a signed 32-bit integer to an unsigned 32-bit integer.
Reorder ndarray dimensions and associated strides for loop interchange.
Return the enumeration constant associated with a strided array data type string.
Create a filled array having a specified length.
Resolve a loop block size for multi-dimensional array tiled loops.
Create a zero-filled ndarray having the same shape and data type as a provided ndarray.
Convert a linear index to an array of subscripts.
Multi-slice constructor.
Create an array filled with ones and having a specified length.
Return the data type string associated with a strided array data type enumeration constant.
Reverse an array in-place.
Create an uninitialized ndarray having the same shape and data type as a provided ndarray.
Return the data type string associated with a supported strided array data type value.
Return a string giving the literal bit representation of a double-precision floating-point number.
Given a stride array, determine whether an array is row-major.
Return the enumeration constant associated with a supported strided array data type value.
Return a view of an input ndarray.
Transform a list of array argument data types into a list of signatures.
Broadcast an ndarray to a specified shape if and only if the specified shape differs from the provided ndarray's shape.
C API for returning the ndarray data type corresponding to a Node-API typed array type.
Create a filled two-dimensional nested array.
Create a filled two-dimensional nested array according to a provided callback function.
Return the next Cartesian index (i.e., set of subscripts/dimension indices).
Create a filled four-dimensional nested array.
Broadcast a scalar value to an ndarray having a specified shape.
Create a filled three-dimensional nested array.
Test if an input value is a BLAS memory layout.
Return a read-only view of an input ndarray.
Create a zero-filled two-dimensional nested array.
Create a filled five-dimensional nested array.
Create a zero-filled three-dimensional nested array.
Return a boolean indicating if the sign bit for a single-precision floating-point number is on (true) or off (false).
Create a filled four-dimensional nested array according to a provided callback function.
Create a filled three-dimensional nested array according to a provided callback function.
Create a zero-filled five-dimensional nested array.
Create a filled five-dimensional nested array according to a provided callback function.
Group elements as arrays associated with distinct keys.
Complex typed array constructors.
Create a zero-filled four-dimensional nested array.
Group element indices as arrays associated with distinct keys.
Resolve a loop block size for multi-dimensional array tiled loops.
Group element entries as arrays associated with distinct keys.
Create a zero-filled ndarray having a specified shape and data type.
Generate a linearly spaced numeric array whose elements increment by 1 starting from zero.
Return a list of array data types to which a provided array data type can be safely cast and, for floating-point data types, can be downcast.
Reorder ndarray dimensions and associated strides for loop interchange.
Determine if an array data type can be safely cast or, for floating-point data types, downcast to another array data type.
Convert an array to an array of a different data type.
Test if an input value is a supported ndarray boolean data type.
Return the data type string associated with a provided single letter abbreviation.
Determine if an array is row-major contiguous.
Create an array filled with NaNs and having a specified length.
Return the C data type associated with a provided data type value.
Return a string giving the literal bit representation of a single-precision floating-point number.
Return the description for a provided data type.
Determine the minimum ndarray data type of the closest kind necessary for storing a provided scalar value.
Return a list of array data types to which a provided array data type can be safely cast.
Determine if an array data type can be safely cast to another array data type.
Serialize ndarray meta data.
Determine if an array is column-major contiguous.
Convert a single-precision floating-point number to an unsigned 32-bit integer.
Return a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.
Define non-enumerable read-only properties which expose ndarray function meta data.
Generate a list of binary interface signatures from strided array data types.
Return an integer corresponding to the unbiased exponent of a single-precision floating-point number.
Assign callbacks to binary interfaces according to type promotion rules.
List of typed array real-valued floating-point data types.
Assign element values from a broadcasted input array to corresponding elements in an output array.
Return an integer corresponding to the significand of a single-precision floating-point number.
Determine if an array is compatible with a single memory segment.
Determine if an array is contiguous.
Create a single-precision floating-point number from a literal bit representation.
Return the number of elements in an ndarray.
Count the number of falsy elements in an array.
Count the number of truthy elements in an array.
Broadcast array shapes to a single shape.
Wrap a function accepting complex number arguments to support providing both real and complex numbers.
Given a stride array, determine whether an array is column-major.
Convert an array to an object supporting fancy indexing.
Remove singleton dimensions.
Return a shallow copy of a portion of an array.
Create a filled n-dimensional nested array.
Test if an input value is a supported array unsigned integer data type.
Compute the maximum linear index in an underlying data buffer accessible to an array view.
Return a string giving the literal bit representation of an unsigned 8-bit integer.
Broadcast ndarrays to a common shape.
List of typed array real-valued data types.
Convert a single-precision floating-point number to a signed 32-bit integer.
Typed array constructors.
Array index constructor.
Compute the minimum linear index in an underlying data buffer accessible to an array view.
Base double-precision floating-point number assert functions.
Convert a signed 64-bit integer byte array to a double-precision floating-point number.
Create a single-element array containing a provided scalar value.
Base ndarray assertion utilities.
Determine if a buffer length is compatible with a provided shape array.
Return a shifted view of an input ndarray along a specific dimension.
Prepend singleton dimensions.
Count the number of elements in an array that are equal to a specified value.
Create a zero-filled ndarray having the same shape and data type as a provided ndarray.
Transpose a matrix (or a stack of matrices).
Return the number of non-singleton dimensions.
Return a view of an input ndarray in which the order of elements along a specified dimension is reversed.
Return a shifted view of an input ndarray.
Assign element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
Return a view of an input ndarray in which the order of elements along each dimension is reversed.
Allocate a buffer from an ArrayBuffer.
Convert a double-precision floating-point number to a signed 32-bit integer.
Return a truncated view of an input ndarray along a specific dimension.
Return the data type string associated with an ndarray data type enumeration constant.
Convert a linear index in an underlying data buffer to a linear index in an array view.
Convert subscripts to a linear index.
Utilities for signed 32-bit integers.
Return the number of singleton dimensions.
Expand the shape of an array by inserting a new dimension of size one at a specified axis.
Return a string giving the literal bit representation of an unsigned 32-bit integer.
Test if an input value is a BLAS matrix triangle.
Return the data type enumeration constant of an ndarray data buffer.
Return a view of an input ndarray when sliced along a specified dimension.
Convert a double-precision floating-point number to an unsigned 32-bit integer.
Base (i.e., lower-level) single-precision complex number assertion functions.
Return the enumeration constant associated with an output ndarray data type policy string.
Return a truncated view of an input ndarray.
Return a view of an input ndarray in which the order of elements along the second-to-last dimension is reversed.
Return the enumeration constant associated with a supported ndarray data type policy value.
List of typed array data types.
Return the enumeration constant associated with a BLAS matrix triangle.
Broadcast ndarrays to a common shape.
Return the policy string associated with a supported ndarray data type policy value.
Create a zero-filled n-dimensional nested array.
Create an uninitialized array having the same length and data type as a provided array.
Generate a list of masked unary interface signatures from strided array data types.
Count the number of elements in an array which pass a test implemented by a predicate function.
Return a view of an input ndarray in which the order of elements along the last dimension is reversed.
Create an unsigned 8-bit integer from a literal bit representation.
Create a double-precision floating-point number from a literal bit representation.
Base utilities for single-precision floating-point numbers.
Create an iterator which returns [index, matrix] pairs for each matrix in a stack of matrices.
Split element values into two groups according to a predicate function.
Create a three-dimensional nested array filled with ones.
Return a list of array data types to which a provided array data type can be safely cast or cast within the same kind.
Return a shallow copy of an array containing only those elements which pass a test implemented by a predicate function.
Bitwise rotation to the left.
Create an iterator which repeatedly iterates over the elements of an array-like object.
Base (i.e., lower-level) single-precision complex number functions.