versor: Computes the versor

View source: R/utils.R

versorR Documentation

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.

Examples

plot3logit:::versor(1, 3)
plot3logit:::versor(3, 6)
plot3logit:::versor(3, 6, FALSE)


plot3logit documentation built on July 19, 2022, 9:07 a.m.