zonopy.cross

Contents

zonopy.cross#

zonopy.cross(zono1: torch.Tensor | np.ndarray | PZType | BPZType, zono2: torch.Tensor | np.ndarray | PZType | BPZType) torch.Tensor | PZType | BPZType[source]#

Returns the cross product of two zonotopes.

Parameters:
  • zono1 (Union[torch.Tensor, np.ndarray, PZType, BPZType]) – The first zonotope.

  • zono2 (Union[torch.Tensor, np.ndarray, PZType, BPZType]) – The second zonotope.

Returns:

The cross product.

Return type:

Union[torch.Tensor, MPZType, BMPZType]