runifSphere {manifold}R Documentation

Generate uniform random variables on the unit sphere

Description

Generate uniform random variables on the unit sphere

Usage

runifSphere(n, dimAmbient)

Arguments

n

Sample size

dimAmbient

The dimension of the ambient space

Value

A 'dimAmbient' by 'n' matrix. Each column is a random observation


[Package manifold version 0.1.1 Index]