lib/ops.js
/**
 * Creates empty NDArray of given shape or of given length if argument is
 * a number
 */
Creates empty NDArray of given shape or of given length if argument is
a number
Creates empty NDArray of given shape or of given length if argument is a number
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;
}
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 ; }
Creates empty NDArray of given shape or of given length if argument is
 a number
Creates empty NDArray of given shape or of given length if argument is a number