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: lib/node_modules/@stdlib/blas/ext/last-index-of/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -89,11 +89,11 @@ var x = array( [ 1.0, 2.0, 3.0, 4.0, 2.0, 6.0 ] );
89
89
// returns <ndarray>
90
90
91
91
// Perform operation:
92
-
var out =lastIndexOf( x, 2.0, 3 );
92
+
var out =lastIndexOf( x, 1.0, 3 );
93
93
// returns <ndarray>
94
94
95
95
var idx =out.get();
96
-
// returns 4
96
+
// returns -1
97
97
```
98
98
99
99
By default, the function performs the operation over elements in the last dimension. To perform the operation over a different dimension, provide a `dim` option.
0 commit comments