Array#

array

An N-dimensional array object.

array.astype(self, dtype[, stream])

Cast the array to a specified type.

array.item(self)

Access the value of a scalar array.

array.tolist(self)

Convert the array to a Python list.

array.dtype

The array's Dtype.

array.ndim

The array's dimension.

array.shape

The shape of the array as a Python list.

array.size

Number of elments in the array.

Dtype

An object to hold the type of a array.

array.abs(self, *[, stream])

See abs().

array.all(self[, axis, keepdims, stream])

See all().

array.any(self[, axis, keepdims, stream])

See any().

array.argmax(self[, axis, keepdims, stream])

See argmax().

array.argmin(self[, axis, keepdims, stream])

See argmin().

array.cos(self, *[, stream])

See cos().

array.dtype

The array's Dtype.

array.exp(self, *[, stream])

See exp().

array.log(self, *[, stream])

See log().

array.log1p(self, *[, stream])

See log1p().

array.logsumexp(self[, axis, keepdims, stream])

See logsumexp().

array.max(self[, axis, keepdims, stream])

See max().

array.mean(self[, axis, keepdims, stream])

See mean().

array.min(self[, axis, keepdims, stream])

See min().

array.prod(self[, axis, keepdims, stream])

See prod().

array.reciprocal(self, *[, stream])

See reciprocal().

array.reshape(self, *args[, stream])

Equivalent to reshape() but the shape can be passed either as a tuple or as separate arguments.

array.rsqrt(self, *[, stream])

See rsqrt().

array.sin(self, *[, stream])

See sin().

array.split(self, indices_or_sections[, ...])

See split().

array.sqrt(self, *[, stream])

See sqrt().

array.square(self, *[, stream])

See square().

array.sum(self[, axis, keepdims, stream])

See sum().

array.transpose(self, *args[, stream])

Equivalent to transpose() but the axes can be passed either as a tuple or as separate arguments.

array.T

Equivalent to calling self.transpose() with no arguments.

array.var(self[, axis, keepdims, ddof, stream])

See var().