runifSphere: Generate uniform random variables on the unit sphere

View source: R/SphereManifold.R

runifSphereR 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


manifold documentation built on Oct. 4, 2022, 5:06 p.m.