drop {clifford} | R Documentation |
Drop redundant information
Description
Coerce scalar Clifford objects to numeric
Usage
drop(x)
drop_clifford(x)
Arguments
x |
Clifford object |
Details
If its argument is a pure scalar clifford object, or the pseudoscalar,
coerce to numeric. Scalar or pseudoscalar clifford objects are
coerced to an unnamed numeric vector (of length 1). Checking
for being the pseudoscalar requires that option maxdim
be set.
Function drop()
is generic, dispatching to helper function
drop_clifford()
for clifford objects. The logic of
drop_clifford()
prevents is.pseudoscalar()
being called
if maxdim
is NULL
.
Note
Many functions in the package take drop
as an argument
which, if TRUE
, means that the function returns a
drop
ped value.
Author(s)
Robin K. S. Hankin
See Also
Examples
drop(as.clifford(5))
const(rcliff())
const(rcliff(),drop=FALSE)
[Package clifford version 1.1-1 Index]