{{alias}}( shape[, options] ) Returns a zero-filled ndarray having a specified shape and data type. Parameters ---------- shape: ArrayLikeObject|integer Array shape. options: Object (optional) Options. options.dtype: string|DataType (optional) Underlying data type. Must be a numeric or "generic" data type. Default: 'float64'. options.order: string (optional) Specifies whether an array is row-major (C-style) or column-major (Fortran-style). Default: 'row-major'. options.mode: string (optional) Specifies how to handle indices which exceed array dimensions. If equal to 'throw', an ndarray instance throws an error when an index exceeds array dimensions. If equal to 'normalize', an ndarray instance normalizes negative indices and throws an error when an index exceeds array dimensions. If equal to 'wrap', an ndarray instance wraps around indices exceeding array dimensions using modulo arithmetic. If equal to 'clamp', an ndarray instance sets an index exceeding array dimensions to either `0` (minimum index) or the maximum index. Default: 'throw'. options.submode: Array (optional) Specifies how to handle subscripts which exceed array dimensions. If a mode for a corresponding dimension is equal to 'throw', an ndarray instance throws an error when a subscript exceeds array dimensions. If equal to 'normalize', an ndarray instance normalizes negative subscripts and throws an error when a subscript exceeds array dimensions. If equal to 'wrap', an ndarray instance wraps around subscripts exceeding array dimensions using modulo arithmetic. If equal to 'clamp', an ndarray instance sets a subscript exceeding array dimensions to either `0` (minimum index) or the maximum index. If the number of modes is fewer than the number of dimensions, the function recycles modes using modulo arithmetic. Default: [ options.mode ]. options.readonly: boolean (optional) Boolean indicating whether an array should be read-only. Default: false. Returns ------- out: ndarray Output array. Examples -------- > var arr = {{alias}}( [ 2, 2 ] ) [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] See Also --------