lib/ops.js
function zeros(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 });
    }
    A.fill(0);
    return A;
}
function zeros(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 });
    }
    A.fill(0);
    return A;
}
function zeros ( 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 } ) ; } A . fill ( 0 ) ; return A ; }
Creates NDArray filled with zeros

```
zeros(2) // Creates array of zeros of length 2
zeros([2,2,2]) // Create 2x2x2 matrix of zeros
zeros(2,'i16') // Creates array of 2 16-bit integers filled with zeros
```
Creates NDArray filled with zeros