The grade \(r\) negation operation applied to Clifford multivector
\(A\) changes the sign of the grade \(r\) component of \(A\). It
is formally defined as \(A-2\left<A\right>_r\).
Usage
neg(C, n)
Arguments
C
Clifford object
n
Integer vector indicating grades to negate
Details
The function is algebraically equivalent to
function(C,n){C-2*grade(C,n)} but uses faster and more efficient idiom.
References
A. Acus and A. Dargys 2018. “The inverse of a multivector:
beyond the threshold \(p+q=5\)”. Advances in applied Clifford
Algebras, 28:65