JSPM

Found 469 results for stdtypes

@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.57
  • 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
  • 9.99
  • 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.61
  • 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.56
  • 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.56
  • Published

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

Test whether at least one element in an array passes a test implemented by a predicate function, while iterating from right to left.

  • v0.2.2
  • 7.65
  • Published

@stdlib/array-base-cuany

Cumulatively test whether at least one element in a provided array is truthy.

  • v0.1.0
  • 7.32
  • Published

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

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

  • v0.2.2
  • 7.29
  • Published

@stdlib/array-ones-like

Create an array filled with ones and having the same length and data type as a provided array.

  • v0.2.1
  • 6.67
  • Published

@stdlib/array-zeros-like

Create a zero-filled array having the same length and data type as a provided array.

  • v0.2.2
  • 6.59
  • Published

@stdlib/complex-promotion-rules

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

  • v0.2.2
  • 6.43
  • Published

@stdlib/array-base-any-by

Test whether at least one element in an array passes a test implemented by a predicate function.

  • v0.2.2
  • 6.37
  • Published

@stdlib/array-base-none-by

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

  • v0.2.2
  • 6.37
  • Published

@stdlib/ndarray-slice-assign

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

  • v0.2.1
  • 5.85
  • Published

@stdlib/array-zero-to-like

Generate a linearly spaced numeric array whose elements increment by 1 starting from zero and having the same length and data type as a provided input array.

  • v0.2.2
  • 5.78
  • Published

@stdlib/ndarray-iter-columns

Create an iterator which iterates over each column in a matrix (or stack of matrices).

  • v0.2.2
  • 3.69
  • Published

@stdlib/array-full-like

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

  • v0.2.1
  • 2.21
  • Published

@stdlib/ndarray-iter-rows

Create an iterator which iterates over each row in a matrix (or stack of matrices).

  • v0.2.2
  • 2.14
  • Published

@stdlib/ndarray-stride

Return the stride along a specified dimension for a provided ndarray.

  • v0.2.2
  • 2.08
  • Published

@stdlib/array-nans-like

Create an array filled with NaNs and having the same length and data type as a provided array.

  • v0.2.1
  • 0.00
  • Published

@stdlib/array-one-to-like

Generate a linearly spaced numeric array whose elements increment by 1 starting from one and having the same length and data type as a provided input array.

  • v0.2.2
  • 0.00
  • Published