lgatr.interface.bivector

Embedding and extracting bivectors into multivectors.

Functions

embed_bivector(bivectors)

Embed Lorentz bivectors into multivectors.

extract_bivector(multivectors)

Extract Lorentz bivectors from multivectors.

lgatr.interface.bivector.embed_bivector(bivectors)[source]

Embed Lorentz bivectors into multivectors.

Parameters:

bivectors (Tensor) – Lorentz bivectors of shape (..., 6) using the convention (tx, ty, tz, xy, xz, yz).

Returns:

Multivectors of shape (..., 16).

Return type:

multivectors

lgatr.interface.bivector.extract_bivector(multivectors)[source]

Extract Lorentz bivectors from multivectors.

Parameters:

multivectors (Tensor) – Multivectors of shape (..., 16).

Returns:

Lorentz bivectors of shape (..., 6).

Return type:

bivectors