as.vector {clifford} | R Documentation |
Coerce a clifford vector to a numeric vector
Description
Given a clifford object with all terms of grade 1, return the corresponding numeric vector
Usage
## S3 method for class 'clifford'
as.vector(x,mode = "any")
Arguments
x |
Object of class clifford |
mode |
ignored |
Note
The awkward R idiom of this function is because the terms may be stored in any order; see the examples
Author(s)
Robin K. S. Hankin
See Also
Examples
x <- clifford(list(6,2,9),1:3)
as.vector(x)
as.1vector(as.vector(x)) == x # should be TRUE
[Package clifford version 1.0-8 Index]