pseudoscalar: Coercion from numeric to Clifford form

pseudoscalarR Documentation

Coercion from numeric to Clifford form

Description

Given a numeric value or vector, return a Clifford algebra element

Usage

pseudoscalar()
is.pseudoscalar(C)

Arguments

C

Object possibly of class Clifford

Details

Function pseudoscalar() returns the unit pseudoscalar of dimensionality option("maxdim") and function is.pseudoscalar() checks for a Clifford object being a pseudoscalar. Note that these functions require maxdim to be set; otherwise they are meaningless.

Usually, one will set option(maxdim) at the start of a session, together with the signature. Then one might define I <- pseudoscalar() in the interests of compactness and legibility.

Author(s)

Robin K. S. Hankin

See Also

getcoeffs,numeric_to_clifford,const

Examples


options(maxdim=6)
I <- pseudoscalar()
is.pseudoscalar(I)
options(maxdim=NULL) # restore default

clifford documentation built on June 8, 2025, 10:56 a.m.