{{alias}}( x, n, writable ) Returns an array with a specified number of appended singleton dimensions. Parameters ---------- x: ndarray Input array. n: integer Number of singleton dimensions to append. writable: boolean Boolean indicating whether a returned array should be writable. Returns ------- out: ndarray Output array. Examples -------- > var x = {{alias:@stdlib/ndarray/array}}( [ [ 1, 2 ], [ 3, 4 ] ] ) [ [ 1, 2 ], [ 3, 4 ] ] > var y = {{alias}}( x, 1, false ) [ [ [ 1 ], [ 2 ] ], [ [ 3 ], [ 4 ] ] ] See Also --------