max(iterable[, key=func[, axis=(axis0, axis1, ...)]]) –> value max(a, b, c, ...[, key=func[, axis=(axis0, axis1, ...)]]) –> value
With a single iterable argument, return its largest item. With two or more arguments, return the largest argument. If the iterable argument is an Array instance, returns the largest component of iterable. If axis are specified will return an Array of element-wise max(x) for x in a.axisiter(*axis).
>>> A = Array([[6,3,4],[1,5,0.5]])
>>> print A.formated()
[[6, 3, 4],
[1, 5, 0.5]]
>>> max(A)
6
>>> max(A, axis=(0, 1))
6
>>> max(A, axis=0)
Array([6, 5, 4])
>>> max(A, axis=1)
Array([6, 5])