{{alias}}( x ) Returns a null-filled ndarray having the same shape and data type as a provided input ndarray. Along with data type, shape, and order, the function infers the "class" of the returned ndarray from the provided ndarray. For example, if provided a "base" ndarray, the function returns a base ndarray. If provided a non-base ndarray, the function returns a non-base ndarray. Parameters ---------- x: ndarray Input array. Returns ------- out: ndarray Output array. Examples -------- > var opts = { 'dtype': 'generic' }; > var x = {{alias:@stdlib/ndarray/empty}}( [ 2, 2 ], opts ) > var y = {{alias}}( x ) [ [ null, null ], [ null, null ] ] See Also --------