@@ -0,0 +1,382 @@
+package gpu.matrix;%0Aimport java.nio.ByteBuffer;%0A%0Apublic class NDArray %7B%0A    // Static methods%0A    static %7B%0A        System.loadLibrary(%22gpu-matrix-ndarray%22);%0A        init();%0A    %7D%0A    public native static NDArray sample();%0A    private native static void init();%0A%0A    // instance%0A    private ByteBuffer bb;%0A%0A    public native NDArray add(NDArray y);%0A    public native void print();%0A%7D%0A

Add java native frame