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
@@ -39,29 +37,6 @@ var idtypes = dtypes( 'numeric_and_generic' );
39
37
varodtypes=dtypes('real_and_generic');
40
38
41
39
42
-
// FUNCTIONS //
43
-
44
-
/**
45
-
* Applies a unary function to an input ndarray and assigns results to an output ndarray.
46
-
*
47
-
* @private
48
-
* @param {ndarray} x - input array
49
-
* @param {ndarray} y - output array
50
-
* @returns {ndarray} output array
51
-
*/
52
-
functionunary(x,y){// FIXME: move to separate package
53
-
varxdata=getData(x);
54
-
varydata=getData(y);
55
-
56
-
// WARNING: we assume that, if we're provided something which has a data buffer resembling a typed array, we're provided a typed ndarray buffer; however, this can lead to potential unintended errors as the native add-on cannot work with non-typed array objects (e.g., generic arrays)...
0 commit comments