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. 18, 2024, 5:57 p.m.