npy_tensors

NumPy implementation of tensor spaces.

Classes

NumpyTensor(space, data)

Representation of a NumpyTensorSpace element.

NumpyTensorSpace(shape[, dtype])

Set of tensors of arbitrary data type, implemented with NumPy.

NumpyTensorSpaceArrayWeighting(array[, exponent])

Weighting of a NumpyTensorSpace by an array.

NumpyTensorSpaceConstWeighting(const[, exponent])

Weighting of a NumpyTensorSpace by a constant.

NumpyTensorSpaceCustomDist(dist)

Class for handling a user-specified distance in TensorSpace.

NumpyTensorSpaceCustomInner(inner)

Class for handling a user-specified inner product.

NumpyTensorSpaceCustomNorm(norm)

Class for handling a user-specified norm.

Functions

npy_weighted_dist(weights[, exponent])

Weighted distance on TensorSpace’s as free function.

npy_weighted_inner(weights)

Weighted inner product on TensorSpace’s as free function.

npy_weighted_norm(weights[, exponent])

Weighted norm on TensorSpace’s as free function.