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
- <spanclass="signature">[`linspace( start, stop, length[, options] )`][@stdlib/array/linspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced array over a specified interval.</span>
98
98
- <spanclass="signature">[`logspace( a, b[, length] )`][@stdlib/array/logspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a logarithmically spaced numeric array.</span>
99
99
100
100
</div>
@@ -108,8 +108,14 @@ You can use the following functions to retrieve a list of available data types:
108
108
<divclass="namespace-toc">
109
109
110
110
- <spanclass="signature">[`arrayDataTypes()`][@stdlib/array/dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of array data types.</span>
111
-
- <spanclass="signature">[`typedarrayComplexDataTypes()`][@stdlib/array/typed-complex-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of complex typed array data types.</span>
111
+
- <spanclass="signature">[`complexarrayDataTypes()`][@stdlib/array/typed-complex-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of complex typed array data types.</span>
112
112
- <spanclass="signature">[`typedarrayDataTypes()`][@stdlib/array/typed-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array data types.</span>
113
+
- <spanclass="signature">[`floatarrayDataTypes()`][@stdlib/array/typed-float-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array floating-point data types.</span>
114
+
- <spanclass="signature">[`intarrayDataTypes()`][@stdlib/array/typed-integer-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array integer data types.</span>
115
+
- <spanclass="signature">[`realarrayDataTypes()`][@stdlib/array/typed-real-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array data types.</span>
116
+
- <spanclass="signature">[`realarrayFloatDataTypes()`][@stdlib/array/typed-real-float-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array real-valued floating-point data types.</span>
117
+
- <spanclass="signature">[`intarraySignedDataTypes()`][@stdlib/array/typed-signed-integer-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array signed integer data types.</span>
118
+
- <spanclass="signature">[`intarrayUnsignedDataTypes()`][@stdlib/array/typed-unsigned-integer-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">list of typed array unsigned integer data types.</span>
113
119
114
120
</div>
115
121
@@ -127,8 +133,14 @@ Furthermore, the namespace contains utility functions to retrieve a given constr
- <spanclass="signature">[`Complex128Array()`][@stdlib/array/complex128]</span><spanclass="delimiter">: </span><spanclass="description">128-bit complex number array.</span>
152
165
- <spanclass="signature">[`Complex64Array()`][@stdlib/array/complex64]</span><spanclass="delimiter">: </span><spanclass="description">64-bit complex number array.</span>
153
166
- <spanclass="signature">[`convertArraySame( x, y )`][@stdlib/array/convert-same]</span><spanclass="delimiter">: </span><spanclass="description">convert an array to the same data type as a second input array.</span>
@@ -157,8 +170,12 @@ Lastly, the namespace contains various other functions for dealing with arrays,
157
170
- <spanclass="signature">[`filledarrayBy()`][@stdlib/array/filled-by]</span><spanclass="delimiter">: </span><spanclass="description">create a filled array according to a provided callback function.</span>
158
171
- <spanclass="signature">[`filledarray()`][@stdlib/array/filled]</span><spanclass="delimiter">: </span><spanclass="description">create a filled array.</span>
159
172
- <spanclass="signature">[`iterator2array( iterator[, out][, mapFcn[, thisArg]] )`][@stdlib/array/from-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create (or fill) an array from an iterator.</span>
173
+
- <spanclass="signature">[`afullLike( x, value[, dtype] )`][@stdlib/array/full-like]</span><spanclass="delimiter">: </span><spanclass="description">create a filled array having the same length and data type as a provided array.</span>
174
+
- <spanclass="signature">[`afull( length, value[, dtype] )`][@stdlib/array/full]</span><spanclass="delimiter">: </span><spanclass="description">create a filled array having a specified length.</span>
160
175
- <spanclass="signature">[`arrayMinDataType( value )`][@stdlib/array/min-dtype]</span><spanclass="delimiter">: </span><spanclass="description">determine the minimum array data type of the closest "kind" necessary for storing a provided scalar value.</span>
161
176
- <spanclass="signature">[`arrayNextDataType( [dtype] )`][@stdlib/array/next-dtype]</span><spanclass="delimiter">: </span><spanclass="description">return the next larger array data type of the same kind.</span>
177
+
- <spanclass="signature">[`aonesLike( x[, dtype] )`][@stdlib/array/ones-like]</span><spanclass="delimiter">: </span><spanclass="description">create an array filled with ones and having the same length and data type as a provided array.</span>
178
+
- <spanclass="signature">[`aones( length[, dtype] )`][@stdlib/array/ones]</span><spanclass="delimiter">: </span><spanclass="description">create an array filled with ones and having a specified length.</span>
162
179
- <spanclass="signature">[`typedarraypool()`][@stdlib/array/pool]</span><spanclass="delimiter">: </span><spanclass="description">allocate typed arrays from a typed array memory pool.</span>
163
180
- <spanclass="signature">[`arrayPromotionRules( [dtype1, dtype2] )`][@stdlib/array/promotion-rules]</span><spanclass="delimiter">: </span><spanclass="description">return the array data type with the smallest size and closest "kind" to which array data types can be **safely** cast.</span>
164
181
- <spanclass="signature">[`reviveTypedArray( key, value )`][@stdlib/array/reviver]</span><spanclass="delimiter">: </span><spanclass="description">revive a JSON-serialized typed array.</span>
@@ -174,6 +191,10 @@ Lastly, the namespace contains various other functions for dealing with arrays,
174
191
- <spanclass="signature">[`stridedarray2iterator( N, src, stride, offset[, mapFcn[, thisArg]] )`][@stdlib/array/to-strided-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from a strided array-like object.</span>
175
192
- <spanclass="signature">[`arrayview2iteratorRight( src[, begin[, end]][, mapFcn[, thisArg]] )`][@stdlib/array/to-view-iterator-right]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from an array-like object view, iterating from right to left.</span>
176
193
- <spanclass="signature">[`arrayview2iterator( src[, begin[, end]][, mapFcn[, thisArg]] )`][@stdlib/array/to-view-iterator]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator from an array-like object view.</span>
194
+
- <spanclass="signature">[`complexarray()`][@stdlib/array/typed-complex]</span><spanclass="delimiter">: </span><spanclass="description">create a complex number typed array.</span>
195
+
- <spanclass="signature">[`realarray()`][@stdlib/array/typed-real]</span><spanclass="delimiter">: </span><spanclass="description">create a typed array.</span>
196
+
- <spanclass="signature">[`azerosLike( x[, dtype] )`][@stdlib/array/zeros-like]</span><spanclass="delimiter">: </span><spanclass="description">create a zero-filled array having the same length and data type as a provided array.</span>
197
+
- <spanclass="signature">[`azeros( length[, dtype] )`][@stdlib/array/zeros]</span><spanclass="delimiter">: </span><spanclass="description">create a zero-filled array having a specified length.</span>
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/array/base/README.md
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,21 @@ The namespace exports the following:
43
43
44
44
<!-- <toc pattern="*"> -->
45
45
46
+
<divclass="namespace-toc">
47
+
48
+
- <spanclass="signature">[`arraylike2object( x )`][@stdlib/array/base/arraylike2object]</span><spanclass="delimiter">: </span><spanclass="description">convert an array-like object to an object likely to have the same "shape".</span>
49
+
- <spanclass="signature">[`copy( x )`][@stdlib/array/base/copy]</span><spanclass="delimiter">: </span><spanclass="description">copy the elements of an array-like object to a new "generic" array.</span>
50
+
- <spanclass="signature">[`filledBy( len, clbk[, thisArg] )`][@stdlib/array/base/filled-by]</span><spanclass="delimiter">: </span><spanclass="description">create a filled "generic" array according to a provided callback function.</span>
51
+
- <spanclass="signature">[`filled( value, len )`][@stdlib/array/base/filled]</span><spanclass="delimiter">: </span><spanclass="description">create a filled "generic" array.</span>
52
+
- <spanclass="signature">[`incrspace( start, stop, increment )`][@stdlib/array/base/incrspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced numeric array according to a provided increment.</span>
- <spanclass="signature">[`logspace( a, b, length )`][@stdlib/array/base/logspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a logarithmically spaced numeric array.</span>
55
+
- <spanclass="signature">[`ones( len )`][@stdlib/array/base/ones]</span><spanclass="delimiter">: </span><spanclass="description">create a "generic" array filled with ones.</span>
56
+
- <spanclass="signature">[`unitspace( start, stop, increment )`][@stdlib/array/base/unitspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced numeric array whose elements increment by 1.</span>
57
+
- <spanclass="signature">[`zeros( len )`][@stdlib/array/base/zeros]</span><spanclass="delimiter">: </span><spanclass="description">create a zero-filled "generic" array.</span>
0 commit comments