lgatr.primitives.bilinear
Geometric product.
Functions
|
Computes the geometric product |
- lgatr.primitives.bilinear.geometric_product(x, y)[source]
Computes the geometric product
f(x,y) = x*y
.- Parameters:
x (torch.Tensor) – First input multivector with shape (…, 16). Batch dimensions must be broadcastable between x and y.
y (torch.Tensor) – Second input multivector with shape (…, 16). Batch dimensions must be broadcastable between x and y.
- Returns:
outputs – Result with shape (…, 16). Batch dimensions are result of broadcasting between x, y, and coeffs.
- Return type:
torch.Tensor