JSPM

Found 469 results for stdtypes

@stdlib/ndarray-same-kind-casts

Return a list of ndarray data types to which a provided ndarray data type can be safely cast or cast within the same kind.

  • v0.3.0
  • 33.60
  • Published

@stdlib/number-float64-base-signbit

Return a boolean indicating if the sign bit for a double-precision floating-point number is on (true) or off (false).

  • v0.2.3
  • 32.41
  • Published

@stdlib/ndarray-mostly-safe-casts

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.

  • v0.3.0
  • 30.89
  • Published

@stdlib/array-empty

Create an uninitialized array having a specified length.

  • v0.3.0
  • 30.57
  • Published

@stdlib/array-one-to

Generate a linearly spaced numeric array whose elements increment by 1 starting from one.

  • v0.2.2
  • 28.95
  • Published

@stdlib/array-base-copy

Copy the elements of an array-like object to a new generic array.

  • v0.2.2
  • 28.87
  • Published

@stdlib/ndarray-promotion-rules

Return the ndarray data type with the smallest size and closest kind to which ndarray data types can be safely cast.

  • v0.3.0
  • 28.64
  • Published

@stdlib/array-base-every-by

Test whether all elements in an array pass a test implemented by a predicate function.

  • v0.2.2
  • 28.24
  • Published

@stdlib/array-min-dtype

Determine the minimum array data type of the closest kind necessary for storing a provided scalar value.

  • v0.3.0
  • 28.16
  • Published

@stdlib/ndarray-empty

Create an uninitialized ndarray having a specified shape and data type.

  • v0.3.0
  • 28.07
  • Published

@stdlib/ndarray-zeros

Create a zero-filled ndarray having a specified shape and data type.

  • v0.3.0
  • 27.61
  • Published

@stdlib/number-float32-base-from-word

Create a single-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation.

  • v0.2.2
  • 26.15
  • Published

@stdlib/array-full

Create a filled array having a specified length.

  • v0.2.1
  • 24.50
  • Published

@stdlib/ndarray-zeros-like

Create a zero-filled ndarray having the same shape and data type as a provided ndarray.

  • v0.3.0
  • 24.26
  • Published

@stdlib/array-ones

Create an array filled with ones and having a specified length.

  • v0.2.1
  • 23.37
  • Published

@stdlib/ndarray-empty-like

Create an uninitialized ndarray having the same shape and data type as a provided ndarray.

  • v0.3.0
  • 23.29
  • Published

@stdlib/number-float32-base-signbit

Return a boolean indicating if the sign bit for a single-precision floating-point number is on (true) or off (false).

  • v0.2.2
  • 19.59
  • Published

@stdlib/array-zero-to

Generate a linearly spaced numeric array whose elements increment by 1 starting from zero.

  • v0.2.2
  • 18.23
  • Published

@stdlib/array-mostly-safe-casts

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.

  • v0.4.0
  • 17.97
  • Published

@stdlib/array-nans

Create an array filled with NaNs and having a specified length.

  • v0.2.1
  • 17.38
  • Published

@stdlib/ndarray-min-dtype

Determine the minimum ndarray data type of the closest kind necessary for storing a provided scalar value.

  • v0.3.0
  • 16.49
  • Published

@stdlib/array-safe-casts

Return a list of array data types to which a provided array data type can be safely cast.

  • v0.3.0
  • 16.36
  • Published

@stdlib/ndarray-base-slice-assign

Assign element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.

  • v0.2.1
  • 12.85
  • Published

@stdlib/ndarray-base-reverse

Return a view of an input ndarray in which the order of elements along each dimension is reversed.

  • v0.2.2
  • 12.85
  • Published

@stdlib/ndarray-base-flipud

Return a view of an input ndarray in which the order of elements along the second-to-last dimension is reversed.

  • v0.2.2
  • 11.83
  • Published

@stdlib/array-empty-like

Create an uninitialized array having the same length and data type as a provided array.

  • v0.3.0
  • 11.36
  • Published

@stdlib/array-base-count-if

Count the number of elements in an array which pass a test implemented by a predicate function.

  • v0.1.1
  • 11.16
  • Published

@stdlib/ndarray-base-fliplr

Return a view of an input ndarray in which the order of elements along the last dimension is reversed.

  • v0.2.2
  • 11.08
  • Published

@stdlib/array-same-kind-casts

Return a list of array data types to which a provided array data type can be safely cast or cast within the same kind.

  • v0.3.0
  • 10.58
  • Published

@stdlib/array-base-filter

Return a shallow copy of an array containing only those elements which pass a test implemented by a predicate function.

  • v0.2.2
  • 10.44
  • Published

@stdlib/ndarray-iter-entries

Create an iterator which returns [index, value] pairs for each element in a provided ndarray.

  • v0.2.2
  • 10.07
  • Published

@stdlib/ndarray-iter-indices

Create an iterator which returns indices for use indexing into an ndarray having a specified shape.

  • v0.2.2
  • 9.88
  • Published

@stdlib/array-base-reject

Return a shallow copy of an array containing only those elements which fail a test implemented by a predicate function.

  • v0.2.2
  • 9.69
  • Published

@stdlib/array-promotion-rules

Return the array data type with the smallest size and closest kind to which array data types can be safely cast.

  • v0.3.0
  • 8.57
  • Published

@stdlib/array-base-every-by-right

Test whether all elements in an array pass a test implemented by a predicate function, iterating from right to left.

  • v0.2.2
  • 8.57
  • Published