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
The callback function is provided the following arguments:
98
+
99
+
-**value**: current [ndarray][@stdlib/ndarray/ctor] element.
100
+
-**indices**: current [ndarray][@stdlib/ndarray/ctor] element indices.
101
+
-**arr**: the input [ndarray][@stdlib/ndarray/ctor].
102
+
97
103
</section>
98
104
99
105
<!-- /.usage -->
@@ -102,8 +108,9 @@ var arr = ndarray2array( y );
102
108
103
109
## Notes
104
110
105
-
- An input [`ndarray`][@stdlib/ndarray/ctor]**must** be writable. If provided a **read-only**[`ndarray`][@stdlib/ndarray/ctor], the function throws an error.
106
-
- The function **mutates** the input [`ndarray`][@stdlib/ndarray/ctor].
111
+
- An input [ndarray][@stdlib/ndarray/ctor]**must** be writable. If provided a **read-only**[ndarray][@stdlib/ndarray/ctor], the function throws an error.
112
+
- The function **mutates** the input [ndarray][@stdlib/ndarray/ctor].
113
+
- The function assumes that each element in the underlying input [ndarray][@stdlib/ndarray/ctor] data buffer has one, and only one, corresponding element in input [ndarray][@stdlib/ndarray/ctor] view (i.e., a provided [ndarray][@stdlib/ndarray/ctor] is not a broadcasted [ndarray][@stdlib/ndarray/ctor] view).
0 commit comments