Array#

array

An N-dimensional array object.

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

Cast the array to a specified type.

array.at

Used to apply updates at the given indices.

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.itemsize

The size of the array's datatype in bytes.

array.nbytes

The number of bytes in the array.

array.ndim

The array's dimension.

array.shape

The shape of the array as a Python tuple.

array.size

Number of elements in the 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.cummax(self[, axis, reverse, ...])

See cummax().

array.cummin(self[, axis, reverse, ...])

See cummin().

array.cumprod(self[, axis, reverse, ...])

See cumprod().

array.cumsum(self[, axis, reverse, ...])

See cumsum().

array.diag(self[, k, stream])

Extract a diagonal or construct a diagonal matrix.

array.diagonal(self[, offset, axis1, axis2, ...])

See diagonal().

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

See exp().

array.flatten(self[, start_axis, end_axis, ...])

See flatten().

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

See log().

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

See log10().

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

See log1p().

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

See log2().

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.moveaxis(self, source, destination, *)

See moveaxis().

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

See prod().

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

See reciprocal().

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

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

array.round(self[, decimals, stream])

See round().

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.squeeze(self[, axis, stream])

See squeeze().

array.swapaxes(self, axis1, axis2, *[, stream])

See swapaxes().

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

See sum().

array.transpose(self, *axes[, 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().