versor: Computes the versor
Description
Given an n
-dimensional space, the k
-th versor is returned.
Usage
versor(k, n, simplify = TRUE)
Arguments
- k
order of the versor.
- n
dimension of the space.
- simplify
if TRUE
, a numeric
is returned, otherwise
versor
returns a column matrix.