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 Dec. 1, 2025, 5:09 p.m.