asym: Antisymmetric tensor part

asymR Documentation

Antisymmetric tensor part

Description

Takes the antisymmetric tensor part of a tensor x with respect to the specified indices .... An error is thrown if the specified indices do not exist.

Usage

asym(x, ...)

Arguments

x

A labeled tensor object, created by %_% or tensor().

...

Any number of index expressions. The indices need to occur in x.

Value

A modified tensor object.

See Also

Wikipedia: Ricci calculus - Symmetric and antisymmetric parts

Other tensor operations: Ops.tensor(), kron(), l(), r(), subst(), sym()

Examples

a <- array(1:4, dim = c(2, 2))
a %_% .(i, j) |> asym(i, j)

ricci documentation built on Sept. 9, 2025, 5:56 p.m.