Generic function to apply an operation to an array. It can be used to apply unary, binary or assignment operations.
const A = np.arange(10).op("+", 1);A.index('::2').op("=", 0);console.log(A.tolist()); Copy
const A = np.arange(10).op("+", 1);A.index('::2').op("=", 0);console.log(A.tolist());
Generated using TypeDoc
Generic function to apply an operation to an array. It can be used to apply unary, binary or assignment operations.