lgatr.primitives.bilinear

Geometric product.

Functions

geometric_product(x, y, *, config)

Compute the geometric product f(x, y) = x * y.

lgatr.primitives.bilinear.geometric_product(x, y, *, config)[source]

Compute the geometric product f(x, y) = x * y.

Parameters:
  • x (Tensor) – First input multivector of shape (..., 16). Batch dimensions must be broadcastable between x and y.

  • y (Tensor) – Second input multivector of shape (..., 16). Batch dimensions must be broadcastable between x and y.

  • config (PrimitivesConfig) – LGATr primitives configuration.

Returns:

Result of shape (..., 16). Batch dimensions are the broadcast of x and y.

Return type:

outputs