tensor_outer#

Miller.tensor_outer(other: Vector3d) → ndarray[source]#

Return the outer tensor product of a vector with another vector.

Differs from tensor() in that the product is taken for every axis regardless of size.

Parameters:
other

Another vector.

Returns:
tensor_product

Array of tensor products, always with shape shape + shape of other + (3, 3).

See also

tensor
numpy.einsum