Learn R Programming

clifford (version 1.0-8)

as.vector: 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 clifford
as.vector(x,mode = "any")

Arguments

x

Object of class clifford

mode

ignored

Author

Robin K. S. Hankin

See Also

numeric_to_clifford

Examples

Run this code
x <- clifford(list(6,2,9),1:3)
as.vector(x)

as.1vector(as.vector(x)) == x  # should be TRUE

Run the code above in your browser using DataLab