can print Array to ostream with non-default shapes.