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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ v = y[ ':' ];
206
206
// returns [ 6, 6, 6, 6 ]
207
207
```
208
208
209
-
Fancy array broadcasting follows the[same rules][@stdlib/ndarray/base/broadcast-shapes] as for[ndarrays][@stdlib/ndarray/ctor]. Consequently, when assigning arrays to slices, the array on the right-hand-side must be broadcast-compatible with number of elements in the slice. For example,
209
+
Fancy array broadcasting follows the[same rules][@stdlib/ndarray/base/broadcast-shapes] as for[ndarrays][@stdlib/ndarray/ctor]. Consequently, when assigning arrays to slices, the array on the right-hand-side must be broadcast-compatible with number of elements in the slice. For example, each assignment expression in the following example follows broadcast rules and is thus valid.
210
210
211
211
```javascript
212
212
var y=array2fancy( [1,2,3,4 ] );
@@ -241,7 +241,7 @@ v = y[ ':' ];
241
241
// returns [ 5, 12, 7, 12 ]
242
242
```
243
243
244
-
areall valid. However,
244
+
However, the following assignment expressionsarenot valid.