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
-**strides**: array strides which are index offsets specifying how to access along corresponding dimensions.
@@ -212,7 +212,7 @@ var bool = ( d === buffer );
212
212
213
213
#### ndarray.prototype.dtype
214
214
215
-
Underlying data type.
215
+
Underlying [data type][@stdlib/ndarray/dtypes].
216
216
217
217
```javascript
218
218
varUint8Array=require( '@stdlib/array/uint8' );
@@ -563,8 +563,14 @@ The method does **not** serialize data outside of the buffer region defined by t
563
563
564
564
<!-- Package usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
565
565
566
+
* * *
567
+
566
568
<sectionclass="notes">
567
569
570
+
## Notes
571
+
572
+
- A data buffer must be an array-like object (i.e., have a `length` property). For data buffers which are not indexed collections (i.e., collections which cannot support direct index access, such as `buffer[ index ]`; e.g., [`Complex64Array`][@stdlib/array/complex64], [`Complex128Array`][@stdlib/array/complex128], etc), a data buffer should provide `#.get( idx )` and `#.set( v, idx )` methods. Note that, for `set` methods, the value to set should be the first argument, followed by the linear index, similar to the native typed array `set` method.
// The approach which follows is to resolve a view index to its subscripts and then plug the subscripts into the standard formula for computing the linear index in the underlying data buffer...
0 commit comments