generateRandomUnitVector: Generate random unit vector.

View source: R/TrajectoryGeometry.R

generateRandomUnitVectorR Documentation

Generate random unit vector.

Description

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

Usage

generateRandomUnitVector(d)

Arguments

d

- The dimension.

Value

A unit vector in dimension d.

Examples

randomUnitVector = generateRandomUnitVector(5)

AnnaLaddach/TrajectoryGeometry documentation built on Oct. 14, 2022, 10:27 a.m.