code: function empty(arg0, datatype) {
      var A;
      if (Array.isArray(arg0)) {
          A = new ndarray_1.NDArray({ shape: arg0, datatype: datatype });
      }
      else {
          A = new ndarray_1.NDArray({ shape: [arg0], datatype: datatype });
      }
      return A;
  }
docs: Creates empty NDArray of given shape or of given length if argument is
  a number