generateRandomUnitVector: Generate random unit vector.

Description Usage Arguments Value Examples

View source: R/TrajectoryGeometry.R

Description

This function generates a random unit vector in in dimension d.

Usage

1

Arguments

d

- The dimension.

Value

A unit vector in dimension d.

Examples

1
randomUnitVector = generateRandomUnitVector(5)

AnnaLaddach/TrajectoryGeometry documentation built on Jan. 28, 2021, 10:41 a.m.