{{alias}}( x, slice, strict, writable ) Returns a view of an input ndarray. Parameters ---------- x: ndarray Input array. slice: MultiSlice Multi-slice object. strict: boolean Boolean indicating whether to enforce strict bounds checking. writable: boolean Boolean indicating whether a returned ndarray should be writable. This parameter only applies to ndarray constructors which support read-only instances. Returns ------- out: ndarray Output array view. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] ) > x.shape [ 2, 2 ] > var s = new {{alias:@stdlib/slice/multi}}( null, 1 ) > var y = {{alias}}( x, s, false, false ) > y.shape [ 2 ] > {{alias:@stdlib/ndarray/to-array}}( y ) [ 2, 4 ] See Also --------