You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,9 @@ In addition, the namespace contains the following multidimensional array utility
108
108
- <spanclass="signature">[`broadcastArray( x, shape )`][@stdlib/ndarray/broadcast-array]</span><spanclass="delimiter">: </span><spanclass="description">broadcast an ndarray to a specified shape.</span>
109
109
- <spanclass="signature">[`broadcastArrays( ...arrays )`][@stdlib/ndarray/broadcast-arrays]</span><spanclass="delimiter">: </span><spanclass="description">broadcast ndarrays to a common shape.</span>
110
110
- <spanclass="signature">[`castingModes()`][@stdlib/ndarray/casting-modes]</span><spanclass="delimiter">: </span><spanclass="description">list of ndarray casting modes.</span>
111
+
- <spanclass="signature">[`countFalsy( x[, options] )`][@stdlib/ndarray/count-falsy]</span><spanclass="delimiter">: </span><spanclass="description">count the number of falsy elements along one or more `ndarray` dimensions.</span>
112
+
- <spanclass="signature">[`countIf( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/count-if]</span><spanclass="delimiter">: </span><spanclass="description">count the number of truthy elements along one or more `ndarray` dimensions.</span>
113
+
- <spanclass="signature">[`countTruthy( x[, options] )`][@stdlib/ndarray/count-truthy]</span><spanclass="delimiter">: </span><spanclass="description">count the number of truthy elements along one or more `ndarray` dimensions.</span>
111
114
- <spanclass="signature">[`dataBuffer( x )`][@stdlib/ndarray/data-buffer]</span><spanclass="delimiter">: </span><spanclass="description">return the underlying data buffer of a provided ndarray.</span>
Copy file name to clipboardExpand all lines: base/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ var o = ns;
61
61
- <spanclass="signature">[`char2dtype( [ch] )`][@stdlib/ndarray/base/char2dtype]</span><spanclass="delimiter">: </span><spanclass="description">return the data type string associated with a provided single letter character abbreviation.</span>
62
62
- <spanclass="signature">[`clampIndex( idx, max )`][@stdlib/ndarray/base/clamp-index]</span><spanclass="delimiter">: </span><spanclass="description">restrict an index to the interval `[0,max]`.</span>
63
63
- <spanclass="signature">[`countFalsy( arrays )`][@stdlib/ndarray/base/count-falsy]</span><spanclass="delimiter">: </span><spanclass="description">count the number of falsy elements in an ndarray.</span>
64
+
- <spanclass="signature">[`countIf( arrays, predicate[, thisArg] )`][@stdlib/ndarray/base/count-if]</span><spanclass="delimiter">: </span><spanclass="description">count the number of elements in an ndarray which pass a test implemented by a predicate function.</span>
64
65
- <spanclass="signature">[`countTruthy( arrays )`][@stdlib/ndarray/base/count-truthy]</span><spanclass="delimiter">: </span><spanclass="description">count the number of truthy elements in an ndarray.</span>
65
66
- <spanclass="signature">[`ndarray( dtype, buffer, shape, strides, offset, order )`][@stdlib/ndarray/base/ctor]</span><spanclass="delimiter">: </span><spanclass="description">create a multidimensional array.</span>
66
67
- <spanclass="signature">[`data( x )`][@stdlib/ndarray/base/data-buffer]</span><spanclass="delimiter">: </span><spanclass="description">return the underlying data buffer of a provided ndarray.</span>
@@ -136,6 +137,7 @@ var o = ns;
136
137
- <spanclass="signature">[`sliceFrom( x, start, strict, writable )`][@stdlib/ndarray/base/slice-from]</span><spanclass="delimiter">: </span><spanclass="description">return a shifted view of an input ndarray.</span>
137
138
- <spanclass="signature">[`sliceTo( x, stop, strict, writable )`][@stdlib/ndarray/base/slice-to]</span><spanclass="delimiter">: </span><spanclass="description">return a truncated view of an input ndarray.</span>
138
139
- <spanclass="signature">[`slice( x, slice, strict, writable )`][@stdlib/ndarray/base/slice]</span><spanclass="delimiter">: </span><spanclass="description">return a view of an input ndarray.</span>
140
+
- <spanclass="signature">[`someBy( arrays, predicate[, thisArg ] )`][@stdlib/ndarray/base/some-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether at least `n` elements in an ndarray pass a test implemented by a predicate function.</span>
139
141
- <spanclass="signature">[`spreadDimensions( ndims, x, dims )`][@stdlib/ndarray/base/spread-dimensions]</span><spanclass="delimiter">: </span><spanclass="description">expand the shape of an array to a specified dimensionality by spreading its dimensions to specified dimension indices and inserting dimensions of size one for the remaining dimensions.</span>
140
142
- <spanclass="signature">[`stride( x, dim )`][@stdlib/ndarray/base/stride]</span><spanclass="delimiter">: </span><spanclass="description">return the stride along a specified dimension for a provided ndarray.</span>
141
143
- <spanclass="signature">[`strides( x, copy )`][@stdlib/ndarray/base/strides]</span><spanclass="delimiter">: </span><spanclass="description">return the strides of a provided ndarray.</span>
0 commit comments